From 03ac3c17720f0167be97c518a846967971b0838e Mon Sep 17 00:00:00 2001 From: mahdi-torabi <94733135+mahdi-torabi@users.noreply.github.com> Date: Wed, 8 May 2024 10:33:20 -0700 Subject: [PATCH] AWS V3 API build (#12) --- dist/index.js | 214999 +++++++++++++++++++++++++++++------------------ 1 file changed, 134336 insertions(+), 80663 deletions(-) diff --git a/dist/index.js b/dist/index.js index 613c6e2..83504f7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,7 +1,7 @@ /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ -/***/ 29903: +/***/ 9903: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -31,8 +31,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.ActionConfig = void 0; -const core = __importStar(__nccwpck_require__(42186)); -const github = __importStar(__nccwpck_require__(95438)); +const core = __importStar(__nccwpck_require__(2186)); +const github = __importStar(__nccwpck_require__(5438)); class ActionConfig { constructor() { // AWS account and credentials params @@ -103,25 +103,23 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Ec2Instance = void 0; -const _ = __importStar(__nccwpck_require__(90250)); -const aws_sdk_1 = __importDefault(__nccwpck_require__(71786)); -const core = __importStar(__nccwpck_require__(42186)); -const userdata_1 = __nccwpck_require__(24214); -const pricing_1 = __nccwpck_require__(60646); +const _ = __importStar(__nccwpck_require__(250)); +const client_ec2_1 = __nccwpck_require__(3802); +const client_sts_1 = __nccwpck_require__(2209); +const core = __importStar(__nccwpck_require__(2186)); +const userdata_1 = __nccwpck_require__(4214); +const pricing_1 = __nccwpck_require__(646); class Ec2Instance { constructor(config) { this.assumedRole = false; this.config = config; - this.credentials = new aws_sdk_1.default.Credentials({ + this.credentials = { accessKeyId: this.config.awsAccessKeyId, secretAccessKey: this.config.awsSecretAccessKey, - }); - this.client = new aws_sdk_1.default.EC2({ + }; + this.client = new client_ec2_1.EC2({ credentials: this.credentials, region: this.config.awsRegion, }); @@ -132,7 +130,7 @@ class Ec2Instance { if (!this.assumedRole && this.config.awsAssumeRole) { this.assumedRole = !this.assumedRole; const credentials = yield this.getCrossAccountCredentials(); - this.client = new aws_sdk_1.default.EC2({ + this.client = new client_ec2_1.EC2({ credentials: credentials, region: this.config.awsRegion, }); @@ -172,7 +170,7 @@ class Ec2Instance { } getCrossAccountCredentials() { return __awaiter(this, void 0, void 0, function* () { - const stsClient = new aws_sdk_1.default.STS({ + const stsClient = new client_sts_1.STS({ credentials: this.credentials, region: this.config.awsRegion, }); @@ -182,8 +180,8 @@ class Ec2Instance { RoleSessionName: `ec2-action-builder-${this.config.githubJobId}-${timestamp}`, }; try { - const data = yield stsClient.assumeRole(params).promise(); - if (data.Credentials) + const data = yield stsClient.assumeRole(params); + if (data.Credentials && data.Credentials.AccessKeyId && data.Credentials.SecretAccessKey) return { accessKeyId: data.Credentials.AccessKeyId, secretAccessKey: data.Credentials.SecretAccessKey, @@ -202,7 +200,7 @@ class Ec2Instance { return __awaiter(this, void 0, void 0, function* () { const client = yield this.getEc2Client(); try { - return (yield client.runInstances(params).promise()).Instances; + return (yield client.runInstances(params)).Instances; } catch (error) { core.error(`Failed to create instance(s)`); @@ -218,8 +216,7 @@ class Ec2Instance { const subnets = (yield client .describeSubnets({ SubnetIds: [this.config.ec2SubnetId], - }) - .promise()).Subnets; + })).Subnets; return (_a = subnets === null || subnets === void 0 ? void 0 : subnets.at(0)) === null || _a === void 0 ? void 0 : _a.AvailabilityZone; } catch (error) { @@ -236,7 +233,7 @@ class Ec2Instance { AvailabilityZone: yield this.getSubnetAz(), //EndTime: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789, InstanceTypes: [ - instanceType ? instanceType : this.config.ec2InstanceType, + (instanceType ? instanceType : this.config.ec2InstanceType), ], ProductDescriptions: [ "Linux/UNIX", @@ -247,7 +244,7 @@ class Ec2Instance { StartTime: new Date(), }; try { - const spotPriceHistory = (yield client.describeSpotPriceHistory(params).promise()).SpotPriceHistory; + const spotPriceHistory = (yield client.describeSpotPriceHistory(params)).SpotPriceHistory; return Number((_a = spotPriceHistory === null || spotPriceHistory === void 0 ? void 0 : spotPriceHistory.at(0)) === null || _a === void 0 ? void 0 : _a.SpotPrice); } catch (error) { @@ -276,7 +273,7 @@ class Ec2Instance { var instanceTypesList = []; var nextToken = ""; do { - const response = yield client.describeInstanceTypes(params).promise(); + const response = yield client.describeInstanceTypes(params); (_a = response.InstanceTypes) === null || _a === void 0 ? void 0 : _a.forEach(function (item) { var _a, _b; if (item.InstanceType && ((_a = item.VCpuInfo) === null || _a === void 0 ? void 0 : _a.DefaultCores)) @@ -312,7 +309,7 @@ class Ec2Instance { bestSpotSizeForOnDemandPrice(instanceType) { return __awaiter(this, void 0, void 0, function* () { const ec2Pricing = new pricing_1.Ec2Pricing(this.config); - const currentOnDemandPrice = yield ec2Pricing.getPriceForInstanceTypeUSD(this.config.ec2InstanceType); + const currentOnDemandPrice = yield ec2Pricing.getPriceForInstanceTypeUSD(instanceType ? instanceType : this.config.ec2InstanceType); var previousInstanceType = this.config.ec2InstanceType; var bestInstanceType = this.config.ec2InstanceType; do { @@ -376,7 +373,7 @@ class Ec2Instance { break; } case "maxperformance": { - params.InstanceType = yield this.bestSpotSizeForOnDemandPrice(this.config.ec2InstanceType); + params.InstanceType = (yield this.bestSpotSizeForOnDemandPrice(this.config.ec2InstanceType)); params.InstanceMarketOptions = { MarketType: "spot", SpotOptions: { @@ -403,8 +400,7 @@ class Ec2Instance { const client = yield this.getEc2Client(); try { const instanceList = (yield client - .describeInstanceStatus({ InstanceIds: [instanceId] }) - .promise()).InstanceStatuses; + .describeInstanceStatus({ InstanceIds: [instanceId] })).InstanceStatuses; return instanceList === null || instanceList === void 0 ? void 0 : instanceList.at(0); } catch (error) { @@ -429,7 +425,7 @@ class Ec2Instance { Filters: filters, MaxResults: 99, }; - const reservation = (_a = (yield client.describeInstances(params).promise()).Reservations) === null || _a === void 0 ? void 0 : _a.at(0); + const reservation = (_a = (yield client.describeInstances(params)).Reservations) === null || _a === void 0 ? void 0 : _a.at(0); return (_b = reservation === null || reservation === void 0 ? void 0 : reservation.Instances) === null || _b === void 0 ? void 0 : _b.at(0); } catch (error) { @@ -442,9 +438,10 @@ class Ec2Instance { return __awaiter(this, void 0, void 0, function* () { const client = yield this.getEc2Client(); try { - yield client - .waitFor("instanceRunning", { InstanceIds: [instanceId] }) - .promise(); + yield (0, client_ec2_1.waitUntilInstanceRunning)({ + client, + maxWaitTime: 200, + }, { InstanceIds: [instanceId] }); core.info(`AWS EC2 instance ${instanceId} is up and running`); return; } @@ -458,7 +455,7 @@ class Ec2Instance { return __awaiter(this, void 0, void 0, function* () { const client = yield this.getEc2Client(); try { - yield client.terminateInstances({ InstanceIds: [instanceId] }).promise(); + yield client.terminateInstances({ InstanceIds: [instanceId] }); core.info(`AWS EC2 instance ${instanceId} is terminated`); return; } @@ -474,7 +471,7 @@ exports.Ec2Instance = Ec2Instance; /***/ }), -/***/ 60646: +/***/ 646: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -511,23 +508,21 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -var __importDefault = (this && this.__importDefault) || function (mod) { - return (mod && mod.__esModule) ? mod : { "default": mod }; -}; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Ec2Pricing = void 0; -const aws_sdk_1 = __importDefault(__nccwpck_require__(71786)); -const utils_1 = __nccwpck_require__(91316); -const core = __importStar(__nccwpck_require__(42186)); +const client_pricing_1 = __nccwpck_require__(7816); +const client_sts_1 = __nccwpck_require__(2209); +const utils_1 = __nccwpck_require__(1316); +const core = __importStar(__nccwpck_require__(2186)); class Ec2Pricing { constructor(config) { this.assumedRole = false; this.config = config; - this.credentials = new aws_sdk_1.default.Credentials({ + this.credentials = { accessKeyId: this.config.awsAccessKeyId, secretAccessKey: this.config.awsSecretAccessKey, - }); - this.client = new aws_sdk_1.default.Pricing({ + }; + this.client = new client_pricing_1.Pricing({ credentials: this.credentials, region: "us-east-1", }); @@ -537,7 +532,7 @@ class Ec2Pricing { if (!this.assumedRole && this.config.awsAssumeRole) { this.assumedRole = !this.assumedRole; const credentials = yield this.getCrossAccountCredentials(); - this.client = new aws_sdk_1.default.Pricing({ + this.client = new client_pricing_1.Pricing({ credentials: credentials, region: "us-east-1", }); @@ -547,7 +542,7 @@ class Ec2Pricing { } getCrossAccountCredentials() { return __awaiter(this, void 0, void 0, function* () { - const stsClient = new aws_sdk_1.default.STS({ + const stsClient = new client_sts_1.STS({ credentials: this.credentials, region: this.config.awsRegion, }); @@ -557,8 +552,8 @@ class Ec2Pricing { RoleSessionName: `ec2-action-builder-${this.config.githubJobId}-${timestamp}`, }; try { - const data = yield stsClient.assumeRole(params).promise(); - if (data.Credentials) + const data = yield stsClient.assumeRole(params); + if (data.Credentials && data.Credentials.AccessKeyId && data.Credentials.SecretAccessKey) return { accessKeyId: data.Credentials.AccessKeyId, secretAccessKey: data.Credentials.SecretAccessKey, @@ -623,8 +618,12 @@ class Ec2Pricing { if (err) { return reject(err); } + if (data == undefined) { + return reject("getProducts returned undefined data"); + } if (data.PriceList) { - let searchResult = (0, utils_1.findValuesHelper)(data.PriceList[0]["terms"]["OnDemand"], "USD"); + const priceList = JSON.parse(data.PriceList[0]); + let searchResult = (0, utils_1.findValuesHelper)(priceList["terms"]["OnDemand"], "USD"); resolve(Number(searchResult[0])); } else @@ -639,7 +638,7 @@ exports.Ec2Pricing = Ec2Pricing; /***/ }), -/***/ 24214: +/***/ 4214: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -678,8 +677,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.UserData = void 0; -const github = __importStar(__nccwpck_require__(95438)); -const github_1 = __nccwpck_require__(51294); +const github = __importStar(__nccwpck_require__(5438)); +const github_1 = __nccwpck_require__(1294); class UserData { constructor(config) { this.config = config; @@ -719,7 +718,7 @@ exports.UserData = UserData; /***/ }), -/***/ 51294: +/***/ 1294: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -758,10 +757,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.GithubClient = void 0; -const github = __importStar(__nccwpck_require__(95438)); -const http_client_1 = __nccwpck_require__(96255); -const _ = __importStar(__nccwpck_require__(90250)); -const core = __importStar(__nccwpck_require__(42186)); +const github = __importStar(__nccwpck_require__(5438)); +const http_client_1 = __nccwpck_require__(6255); +const _ = __importStar(__nccwpck_require__(250)); +const core = __importStar(__nccwpck_require__(2186)); class GithubClient { constructor(config) { this.config = config; @@ -946,11 +945,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }); }; Object.defineProperty(exports, "__esModule", ({ value: true })); -const config_1 = __nccwpck_require__(29903); +const config_1 = __nccwpck_require__(9903); const ec2_1 = __nccwpck_require__(2886); -const core = __importStar(__nccwpck_require__(42186)); -const github_1 = __nccwpck_require__(51294); -const utils_1 = __nccwpck_require__(91316); +const core = __importStar(__nccwpck_require__(2186)); +const github_1 = __nccwpck_require__(1294); +const utils_1 = __nccwpck_require__(1316); function setOutput(label, ec2InstanceId) { core.setOutput("label", label); core.setOutput("ec2-instance-id", ec2InstanceId); @@ -1049,7 +1048,7 @@ function stop() { /***/ }), -/***/ 91316: +/***/ 1316: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -1089,7 +1088,7 @@ exports.assertIsError = assertIsError; /***/ }), -/***/ 87351: +/***/ 7351: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1115,7 +1114,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.issue = exports.issueCommand = void 0; -const os = __importStar(__nccwpck_require__(22037)); +const os = __importStar(__nccwpck_require__(2037)); const utils_1 = __nccwpck_require__(5278); /** * Commands @@ -1188,7 +1187,7 @@ function escapeProperty(s) { /***/ }), -/***/ 42186: +/***/ 2186: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1223,12 +1222,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0; -const command_1 = __nccwpck_require__(87351); +const command_1 = __nccwpck_require__(7351); const file_command_1 = __nccwpck_require__(717); const utils_1 = __nccwpck_require__(5278); -const os = __importStar(__nccwpck_require__(22037)); -const path = __importStar(__nccwpck_require__(71017)); -const oidc_utils_1 = __nccwpck_require__(98041); +const os = __importStar(__nccwpck_require__(2037)); +const path = __importStar(__nccwpck_require__(1017)); +const oidc_utils_1 = __nccwpck_require__(8041); /** * The code to exit an action */ @@ -1513,12 +1512,12 @@ exports.getIDToken = getIDToken; /** * Summary exports */ -var summary_1 = __nccwpck_require__(81327); +var summary_1 = __nccwpck_require__(1327); Object.defineProperty(exports, "summary", ({ enumerable: true, get: function () { return summary_1.summary; } })); /** * @deprecated use core.summary */ -var summary_2 = __nccwpck_require__(81327); +var summary_2 = __nccwpck_require__(1327); Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); /** * Path exports @@ -1560,9 +1559,9 @@ Object.defineProperty(exports, "__esModule", ({ value: true })); exports.prepareKeyValueMessage = exports.issueFileCommand = void 0; // We use any as a valid input type /* eslint-disable @typescript-eslint/no-explicit-any */ -const fs = __importStar(__nccwpck_require__(57147)); -const os = __importStar(__nccwpck_require__(22037)); -const uuid_1 = __nccwpck_require__(75840); +const fs = __importStar(__nccwpck_require__(7147)); +const os = __importStar(__nccwpck_require__(2037)); +const uuid_1 = __nccwpck_require__(5840); const utils_1 = __nccwpck_require__(5278); function issueFileCommand(command, message) { const filePath = process.env[`GITHUB_${command}`]; @@ -1596,7 +1595,7 @@ exports.prepareKeyValueMessage = prepareKeyValueMessage; /***/ }), -/***/ 98041: +/***/ 8041: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1612,9 +1611,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.OidcClient = void 0; -const http_client_1 = __nccwpck_require__(96255); -const auth_1 = __nccwpck_require__(35526); -const core_1 = __nccwpck_require__(42186); +const http_client_1 = __nccwpck_require__(6255); +const auth_1 = __nccwpck_require__(5526); +const core_1 = __nccwpck_require__(2186); class OidcClient { static createHttpClient(allowRetry = true, maxRetry = 10) { const requestOptions = { @@ -1706,7 +1705,7 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; -const path = __importStar(__nccwpck_require__(71017)); +const path = __importStar(__nccwpck_require__(1017)); /** * toPosixPath converts the given path to the posix form. On Windows, \\ will be * replaced with /. @@ -1745,7 +1744,7 @@ exports.toPlatformPath = toPlatformPath; /***/ }), -/***/ 81327: +/***/ 1327: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -1761,8 +1760,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0; -const os_1 = __nccwpck_require__(22037); -const fs_1 = __nccwpck_require__(57147); +const os_1 = __nccwpck_require__(2037); +const fs_1 = __nccwpck_require__(7147); const { access, appendFile, writeFile } = fs_1.promises; exports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY'; exports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary'; @@ -2082,15 +2081,15 @@ exports.toCommandProperties = toCommandProperties; /***/ }), -/***/ 74087: +/***/ 4087: /***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.Context = void 0; -const fs_1 = __nccwpck_require__(57147); -const os_1 = __nccwpck_require__(22037); +const fs_1 = __nccwpck_require__(7147); +const os_1 = __nccwpck_require__(2037); class Context { /** * Hydrate the context from the environment @@ -2144,7 +2143,7 @@ exports.Context = Context; /***/ }), -/***/ 95438: +/***/ 5438: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2174,8 +2173,8 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokit = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(74087)); -const utils_1 = __nccwpck_require__(73030); +const Context = __importStar(__nccwpck_require__(4087)); +const utils_1 = __nccwpck_require__(3030); exports.context = new Context.Context(); /** * Returns a hydrated octokit ready to use for GitHub Actions @@ -2192,7 +2191,7 @@ exports.getOctokit = getOctokit; /***/ }), -/***/ 47914: +/***/ 7914: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2231,8 +2230,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getApiBaseUrl = exports.getProxyFetch = exports.getProxyAgentDispatcher = exports.getProxyAgent = exports.getAuthString = void 0; -const httpClient = __importStar(__nccwpck_require__(96255)); -const undici_1 = __nccwpck_require__(41773); +const httpClient = __importStar(__nccwpck_require__(6255)); +const undici_1 = __nccwpck_require__(1773); function getAuthString(token, options) { if (!token && !options.auth) { throw new Error('Parameter token or opts.auth is required'); @@ -2269,7 +2268,7 @@ exports.getApiBaseUrl = getApiBaseUrl; /***/ }), -/***/ 73030: +/***/ 3030: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2299,12 +2298,12 @@ var __importStar = (this && this.__importStar) || function (mod) { }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0; -const Context = __importStar(__nccwpck_require__(74087)); -const Utils = __importStar(__nccwpck_require__(47914)); +const Context = __importStar(__nccwpck_require__(4087)); +const Utils = __importStar(__nccwpck_require__(7914)); // octokit + plugins -const core_1 = __nccwpck_require__(76762); -const plugin_rest_endpoint_methods_1 = __nccwpck_require__(83044); -const plugin_paginate_rest_1 = __nccwpck_require__(64193); +const core_1 = __nccwpck_require__(6762); +const plugin_rest_endpoint_methods_1 = __nccwpck_require__(3044); +const plugin_paginate_rest_1 = __nccwpck_require__(4193); exports.context = new Context.Context(); const baseUrl = Utils.getApiBaseUrl(); exports.defaults = { @@ -2335,7 +2334,7 @@ exports.getOctokitOptions = getOctokitOptions; /***/ }), -/***/ 35526: +/***/ 5526: /***/ (function(__unused_webpack_module, exports) { "use strict"; @@ -2423,7 +2422,7 @@ exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHand /***/ }), -/***/ 96255: +/***/ 6255: /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { "use strict"; @@ -2463,11 +2462,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge }; Object.defineProperty(exports, "__esModule", ({ value: true })); exports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0; -const http = __importStar(__nccwpck_require__(13685)); -const https = __importStar(__nccwpck_require__(95687)); -const pm = __importStar(__nccwpck_require__(19835)); -const tunnel = __importStar(__nccwpck_require__(74294)); -const undici_1 = __nccwpck_require__(41773); +const http = __importStar(__nccwpck_require__(3685)); +const https = __importStar(__nccwpck_require__(5687)); +const pm = __importStar(__nccwpck_require__(9835)); +const tunnel = __importStar(__nccwpck_require__(4294)); +const undici_1 = __nccwpck_require__(1773); var HttpCodes; (function (HttpCodes) { HttpCodes[HttpCodes["OK"] = 200] = "OK"; @@ -3086,7 +3085,7 @@ const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCa /***/ }), -/***/ 19835: +/***/ 9835: /***/ ((__unused_webpack_module, exports) => { "use strict"; @@ -3175,261 +3174,99 @@ function isLoopbackAddress(host) { /***/ }), -/***/ 40334: -/***/ ((module) => { +/***/ 6874: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { "use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __export = (target, all) => { - for (var name in all) - __defProp(target, name, { get: all[name], enumerable: true }); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultEC2HttpAuthSchemeProvider = exports.defaultEC2HttpAuthSchemeParametersProvider = void 0; +const core_1 = __nccwpck_require__(9963); +const util_middleware_1 = __nccwpck_require__(2390); +const defaultEC2HttpAuthSchemeParametersProvider = async (config, context, input) => { + return { + operation: (0, util_middleware_1.getSmithyContext)(context).operation, + region: (await (0, util_middleware_1.normalizeProvider)(config.region)()) || + (() => { + throw new Error("expected `region` to be configured for `aws.auth#sigv4`"); + })(), + }; }; -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; +exports.defaultEC2HttpAuthSchemeParametersProvider = defaultEC2HttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "ec2", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +const defaultEC2HttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; }; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); +exports.defaultEC2HttpAuthSchemeProvider = defaultEC2HttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); + return { + ...config_0, + }; +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - createTokenAuth: () => createTokenAuth -}); -module.exports = __toCommonJS(dist_src_exports); -// pkg/dist-src/auth.js -var REGEX_IS_INSTALLATION_LEGACY = /^v1\./; -var REGEX_IS_INSTALLATION = /^ghs_/; -var REGEX_IS_USER_TO_SERVER = /^ghu_/; -async function auth(token) { - const isApp = token.split(/\./).length === 3; - const isInstallation = REGEX_IS_INSTALLATION_LEGACY.test(token) || REGEX_IS_INSTALLATION.test(token); - const isUserToServer = REGEX_IS_USER_TO_SERVER.test(token); - const tokenType = isApp ? "app" : isInstallation ? "installation" : isUserToServer ? "user-to-server" : "oauth"; - return { - type: "token", - token, - tokenType - }; -} +/***/ }), -// pkg/dist-src/with-authorization-prefix.js -function withAuthorizationPrefix(token) { - if (token.split(/\./).length === 3) { - return `bearer ${token}`; - } - return `token ${token}`; -} +/***/ 6305: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -// pkg/dist-src/hook.js -async function hook(token, request, route, parameters) { - const endpoint = request.endpoint.merge( - route, - parameters - ); - endpoint.headers.authorization = withAuthorizationPrefix(token); - return request(endpoint); -} +"use strict"; -// pkg/dist-src/index.js -var createTokenAuth = function createTokenAuth2(token) { - if (!token) { - throw new Error("[@octokit/auth-token] No token passed to createTokenAuth"); - } - if (typeof token !== "string") { - throw new Error( - "[@octokit/auth-token] Token passed to createTokenAuth is not a string" - ); - } - token = token.replace(/^(token|bearer) +/i, ""); - return Object.assign(auth.bind(null, token), { - hook: hook.bind(null, token) - }); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.defaultEndpointResolver = void 0; +const util_endpoints_1 = __nccwpck_require__(3350); +const util_endpoints_2 = __nccwpck_require__(5473); +const ruleset_1 = __nccwpck_require__(9599); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + }); }; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; /***/ }), -/***/ 76762: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +/***/ 9599: +/***/ ((__unused_webpack_module, exports) => { "use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - Octokit: () => Octokit -}); -module.exports = __toCommonJS(dist_src_exports); -var import_universal_user_agent = __nccwpck_require__(45030); -var import_before_after_hook = __nccwpck_require__(83682); -var import_request = __nccwpck_require__(36234); -var import_graphql = __nccwpck_require__(88467); -var import_auth_token = __nccwpck_require__(40334); - -// pkg/dist-src/version.js -var VERSION = "5.0.2"; - -// pkg/dist-src/index.js -var noop = () => { -}; -var consoleWarn = console.warn.bind(console); -var consoleError = console.error.bind(console); -var userAgentTrail = `octokit-core.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`; -var Octokit = class { - static { - this.VERSION = VERSION; - } - static defaults(defaults) { - const OctokitWithDefaults = class extends this { - constructor(...args) { - const options = args[0] || {}; - if (typeof defaults === "function") { - super(defaults(options)); - return; - } - super( - Object.assign( - {}, - defaults, - options, - options.userAgent && defaults.userAgent ? { - userAgent: `${options.userAgent} ${defaults.userAgent}` - } : null - ) - ); - } - }; - return OctokitWithDefaults; - } - static { - this.plugins = []; - } - /** - * Attach a plugin (or many) to your Octokit instance. - * - * @example - * const API = Octokit.plugin(plugin1, plugin2, plugin3, ...) - */ - static plugin(...newPlugins) { - const currentPlugins = this.plugins; - const NewOctokit = class extends this { - static { - this.plugins = currentPlugins.concat( - newPlugins.filter((plugin) => !currentPlugins.includes(plugin)) - ); - } - }; - return NewOctokit; - } - constructor(options = {}) { - const hook = new import_before_after_hook.Collection(); - const requestDefaults = { - baseUrl: import_request.request.endpoint.DEFAULTS.baseUrl, - headers: {}, - request: Object.assign({}, options.request, { - // @ts-ignore internal usage only, no need to type - hook: hook.bind(null, "request") - }), - mediaType: { - previews: [], - format: "" - } - }; - requestDefaults.headers["user-agent"] = options.userAgent ? `${options.userAgent} ${userAgentTrail}` : userAgentTrail; - if (options.baseUrl) { - requestDefaults.baseUrl = options.baseUrl; - } - if (options.previews) { - requestDefaults.mediaType.previews = options.previews; - } - if (options.timeZone) { - requestDefaults.headers["time-zone"] = options.timeZone; - } - this.request = import_request.request.defaults(requestDefaults); - this.graphql = (0, import_graphql.withCustomRequest)(this.request).defaults(requestDefaults); - this.log = Object.assign( - { - debug: noop, - info: noop, - warn: consoleWarn, - error: consoleError - }, - options.log - ); - this.hook = hook; - if (!options.authStrategy) { - if (!options.auth) { - this.auth = async () => ({ - type: "unauthenticated" - }); - } else { - const auth = (0, import_auth_token.createTokenAuth)(options.auth); - hook.wrap("request", auth.hook); - this.auth = auth; - } - } else { - const { authStrategy, ...otherOptions } = options; - const auth = authStrategy( - Object.assign( - { - request: this.request, - log: this.log, - // we pass the current octokit instance as well as its constructor options - // to allow for authentication strategies that return a new octokit instance - // that shares the same internal state as the current one. The original - // requirement for this was the "event-octokit" authentication strategy - // of https://github.com/probot/octokit-auth-probot. - octokit: this, - octokitOptions: otherOptions - }, - options.auth - ) - ); - hook.wrap("request", auth.hook); - this.auth = auth; - } - const classConstructor = this.constructor; - for (let i = 0; i < classConstructor.plugins.length; ++i) { - Object.assign(this, classConstructor.plugins[i](this, options)); - } - } -}; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ruleSet = void 0; +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ec2.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ec2-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ec2.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ec2.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; +exports.ruleSet = _data; /***/ }), -/***/ 59440: +/***/ 3802: /***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { "use strict"; @@ -3438,6 +3275,7 @@ 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 }); @@ -3452,91657 +3290,145492 @@ var __copyProps = (to, from, except, desc) => { }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - endpoint: () => endpoint +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AcceleratorManufacturer: () => AcceleratorManufacturer, + AcceleratorName: () => AcceleratorName, + AcceleratorType: () => AcceleratorType, + AcceptAddressTransferCommand: () => AcceptAddressTransferCommand, + AcceptReservedInstancesExchangeQuoteCommand: () => AcceptReservedInstancesExchangeQuoteCommand, + AcceptTransitGatewayMulticastDomainAssociationsCommand: () => AcceptTransitGatewayMulticastDomainAssociationsCommand, + AcceptTransitGatewayPeeringAttachmentCommand: () => AcceptTransitGatewayPeeringAttachmentCommand, + AcceptTransitGatewayVpcAttachmentCommand: () => AcceptTransitGatewayVpcAttachmentCommand, + AcceptVpcEndpointConnectionsCommand: () => AcceptVpcEndpointConnectionsCommand, + AcceptVpcPeeringConnectionCommand: () => AcceptVpcPeeringConnectionCommand, + AccountAttributeName: () => AccountAttributeName, + ActivityStatus: () => ActivityStatus, + AddressAttributeName: () => AddressAttributeName, + AddressFamily: () => AddressFamily, + AddressTransferStatus: () => AddressTransferStatus, + AdvertiseByoipCidrCommand: () => AdvertiseByoipCidrCommand, + Affinity: () => Affinity, + AllocateAddressCommand: () => AllocateAddressCommand, + AllocateHostsCommand: () => AllocateHostsCommand, + AllocateIpamPoolCidrCommand: () => AllocateIpamPoolCidrCommand, + AllocationState: () => AllocationState, + AllocationStrategy: () => AllocationStrategy, + AllocationType: () => AllocationType, + AllowsMultipleInstanceTypes: () => AllowsMultipleInstanceTypes, + AmdSevSnpSpecification: () => AmdSevSnpSpecification, + AnalysisStatus: () => AnalysisStatus, + ApplianceModeSupportValue: () => ApplianceModeSupportValue, + ApplySecurityGroupsToClientVpnTargetNetworkCommand: () => ApplySecurityGroupsToClientVpnTargetNetworkCommand, + ArchitectureType: () => ArchitectureType, + ArchitectureValues: () => ArchitectureValues, + AsnAssociationState: () => AsnAssociationState, + AsnState: () => AsnState, + AssignIpv6AddressesCommand: () => AssignIpv6AddressesCommand, + AssignPrivateIpAddressesCommand: () => AssignPrivateIpAddressesCommand, + AssignPrivateNatGatewayAddressCommand: () => AssignPrivateNatGatewayAddressCommand, + AssociateAddressCommand: () => AssociateAddressCommand, + AssociateClientVpnTargetNetworkCommand: () => AssociateClientVpnTargetNetworkCommand, + AssociateDhcpOptionsCommand: () => AssociateDhcpOptionsCommand, + AssociateEnclaveCertificateIamRoleCommand: () => AssociateEnclaveCertificateIamRoleCommand, + AssociateIamInstanceProfileCommand: () => AssociateIamInstanceProfileCommand, + AssociateInstanceEventWindowCommand: () => AssociateInstanceEventWindowCommand, + AssociateIpamByoasnCommand: () => AssociateIpamByoasnCommand, + AssociateIpamResourceDiscoveryCommand: () => AssociateIpamResourceDiscoveryCommand, + AssociateNatGatewayAddressCommand: () => AssociateNatGatewayAddressCommand, + AssociateRouteTableCommand: () => AssociateRouteTableCommand, + AssociateSubnetCidrBlockCommand: () => AssociateSubnetCidrBlockCommand, + AssociateTransitGatewayMulticastDomainCommand: () => AssociateTransitGatewayMulticastDomainCommand, + AssociateTransitGatewayPolicyTableCommand: () => AssociateTransitGatewayPolicyTableCommand, + AssociateTransitGatewayRouteTableCommand: () => AssociateTransitGatewayRouteTableCommand, + AssociateTrunkInterfaceCommand: () => AssociateTrunkInterfaceCommand, + AssociateVpcCidrBlockCommand: () => AssociateVpcCidrBlockCommand, + AssociatedNetworkType: () => AssociatedNetworkType, + AssociationStatusCode: () => AssociationStatusCode, + AttachClassicLinkVpcCommand: () => AttachClassicLinkVpcCommand, + AttachInternetGatewayCommand: () => AttachInternetGatewayCommand, + AttachNetworkInterfaceCommand: () => AttachNetworkInterfaceCommand, + AttachVerifiedAccessTrustProviderCommand: () => AttachVerifiedAccessTrustProviderCommand, + AttachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => AttachVerifiedAccessTrustProviderResultFilterSensitiveLog, + AttachVolumeCommand: () => AttachVolumeCommand, + AttachVpnGatewayCommand: () => AttachVpnGatewayCommand, + AttachmentStatus: () => AttachmentStatus, + AuthorizeClientVpnIngressCommand: () => AuthorizeClientVpnIngressCommand, + AuthorizeSecurityGroupEgressCommand: () => AuthorizeSecurityGroupEgressCommand, + AuthorizeSecurityGroupIngressCommand: () => AuthorizeSecurityGroupIngressCommand, + AutoAcceptSharedAssociationsValue: () => AutoAcceptSharedAssociationsValue, + AutoAcceptSharedAttachmentsValue: () => AutoAcceptSharedAttachmentsValue, + AutoPlacement: () => AutoPlacement, + AvailabilityZoneOptInStatus: () => AvailabilityZoneOptInStatus, + AvailabilityZoneState: () => AvailabilityZoneState, + BareMetal: () => BareMetal, + BatchState: () => BatchState, + BgpStatus: () => BgpStatus, + BootModeType: () => BootModeType, + BootModeValues: () => BootModeValues, + BundleInstanceCommand: () => BundleInstanceCommand, + BundleInstanceRequestFilterSensitiveLog: () => BundleInstanceRequestFilterSensitiveLog, + BundleInstanceResultFilterSensitiveLog: () => BundleInstanceResultFilterSensitiveLog, + BundleTaskFilterSensitiveLog: () => BundleTaskFilterSensitiveLog, + BundleTaskState: () => BundleTaskState, + BurstablePerformance: () => BurstablePerformance, + ByoipCidrState: () => ByoipCidrState, + CancelBatchErrorCode: () => CancelBatchErrorCode, + CancelBundleTaskCommand: () => CancelBundleTaskCommand, + CancelBundleTaskResultFilterSensitiveLog: () => CancelBundleTaskResultFilterSensitiveLog, + CancelCapacityReservationCommand: () => CancelCapacityReservationCommand, + CancelCapacityReservationFleetsCommand: () => CancelCapacityReservationFleetsCommand, + CancelConversionTaskCommand: () => CancelConversionTaskCommand, + CancelExportTaskCommand: () => CancelExportTaskCommand, + CancelImageLaunchPermissionCommand: () => CancelImageLaunchPermissionCommand, + CancelImportTaskCommand: () => CancelImportTaskCommand, + CancelReservedInstancesListingCommand: () => CancelReservedInstancesListingCommand, + CancelSpotFleetRequestsCommand: () => CancelSpotFleetRequestsCommand, + CancelSpotInstanceRequestState: () => CancelSpotInstanceRequestState, + CancelSpotInstanceRequestsCommand: () => CancelSpotInstanceRequestsCommand, + CapacityReservationFleetState: () => CapacityReservationFleetState, + CapacityReservationInstancePlatform: () => CapacityReservationInstancePlatform, + CapacityReservationPreference: () => CapacityReservationPreference, + CapacityReservationState: () => CapacityReservationState, + CapacityReservationTenancy: () => CapacityReservationTenancy, + CapacityReservationType: () => CapacityReservationType, + CarrierGatewayState: () => CarrierGatewayState, + ClientCertificateRevocationListStatusCode: () => ClientCertificateRevocationListStatusCode, + ClientVpnAuthenticationType: () => ClientVpnAuthenticationType, + ClientVpnAuthorizationRuleStatusCode: () => ClientVpnAuthorizationRuleStatusCode, + ClientVpnConnectionStatusCode: () => ClientVpnConnectionStatusCode, + ClientVpnEndpointAttributeStatusCode: () => ClientVpnEndpointAttributeStatusCode, + ClientVpnEndpointStatusCode: () => ClientVpnEndpointStatusCode, + ClientVpnRouteStatusCode: () => ClientVpnRouteStatusCode, + ConfirmProductInstanceCommand: () => ConfirmProductInstanceCommand, + ConnectionNotificationState: () => ConnectionNotificationState, + ConnectionNotificationType: () => ConnectionNotificationType, + ConnectivityType: () => ConnectivityType, + ContainerFormat: () => ContainerFormat, + ConversionTaskFilterSensitiveLog: () => ConversionTaskFilterSensitiveLog, + ConversionTaskState: () => ConversionTaskState, + CopyFpgaImageCommand: () => CopyFpgaImageCommand, + CopyImageCommand: () => CopyImageCommand, + CopySnapshotCommand: () => CopySnapshotCommand, + CopySnapshotRequestFilterSensitiveLog: () => CopySnapshotRequestFilterSensitiveLog, + CopyTagsFromSource: () => CopyTagsFromSource, + CpuManufacturer: () => CpuManufacturer, + CreateCapacityReservationCommand: () => CreateCapacityReservationCommand, + CreateCapacityReservationFleetCommand: () => CreateCapacityReservationFleetCommand, + CreateCarrierGatewayCommand: () => CreateCarrierGatewayCommand, + CreateClientVpnEndpointCommand: () => CreateClientVpnEndpointCommand, + CreateClientVpnRouteCommand: () => CreateClientVpnRouteCommand, + CreateCoipCidrCommand: () => CreateCoipCidrCommand, + CreateCoipPoolCommand: () => CreateCoipPoolCommand, + CreateCustomerGatewayCommand: () => CreateCustomerGatewayCommand, + CreateDefaultSubnetCommand: () => CreateDefaultSubnetCommand, + CreateDefaultVpcCommand: () => CreateDefaultVpcCommand, + CreateDhcpOptionsCommand: () => CreateDhcpOptionsCommand, + CreateEgressOnlyInternetGatewayCommand: () => CreateEgressOnlyInternetGatewayCommand, + CreateFleetCommand: () => CreateFleetCommand, + CreateFlowLogsCommand: () => CreateFlowLogsCommand, + CreateFpgaImageCommand: () => CreateFpgaImageCommand, + CreateImageCommand: () => CreateImageCommand, + CreateInstanceConnectEndpointCommand: () => CreateInstanceConnectEndpointCommand, + CreateInstanceEventWindowCommand: () => CreateInstanceEventWindowCommand, + CreateInstanceExportTaskCommand: () => CreateInstanceExportTaskCommand, + CreateInternetGatewayCommand: () => CreateInternetGatewayCommand, + CreateIpamCommand: () => CreateIpamCommand, + CreateIpamPoolCommand: () => CreateIpamPoolCommand, + CreateIpamResourceDiscoveryCommand: () => CreateIpamResourceDiscoveryCommand, + CreateIpamScopeCommand: () => CreateIpamScopeCommand, + CreateKeyPairCommand: () => CreateKeyPairCommand, + CreateLaunchTemplateCommand: () => CreateLaunchTemplateCommand, + CreateLaunchTemplateRequestFilterSensitiveLog: () => CreateLaunchTemplateRequestFilterSensitiveLog, + CreateLaunchTemplateVersionCommand: () => CreateLaunchTemplateVersionCommand, + CreateLaunchTemplateVersionRequestFilterSensitiveLog: () => CreateLaunchTemplateVersionRequestFilterSensitiveLog, + CreateLaunchTemplateVersionResultFilterSensitiveLog: () => CreateLaunchTemplateVersionResultFilterSensitiveLog, + CreateLocalGatewayRouteCommand: () => CreateLocalGatewayRouteCommand, + CreateLocalGatewayRouteTableCommand: () => CreateLocalGatewayRouteTableCommand, + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + CreateLocalGatewayRouteTableVpcAssociationCommand: () => CreateLocalGatewayRouteTableVpcAssociationCommand, + CreateManagedPrefixListCommand: () => CreateManagedPrefixListCommand, + CreateNatGatewayCommand: () => CreateNatGatewayCommand, + CreateNetworkAclCommand: () => CreateNetworkAclCommand, + CreateNetworkAclEntryCommand: () => CreateNetworkAclEntryCommand, + CreateNetworkInsightsAccessScopeCommand: () => CreateNetworkInsightsAccessScopeCommand, + CreateNetworkInsightsPathCommand: () => CreateNetworkInsightsPathCommand, + CreateNetworkInterfaceCommand: () => CreateNetworkInterfaceCommand, + CreateNetworkInterfacePermissionCommand: () => CreateNetworkInterfacePermissionCommand, + CreatePlacementGroupCommand: () => CreatePlacementGroupCommand, + CreatePublicIpv4PoolCommand: () => CreatePublicIpv4PoolCommand, + CreateReplaceRootVolumeTaskCommand: () => CreateReplaceRootVolumeTaskCommand, + CreateReservedInstancesListingCommand: () => CreateReservedInstancesListingCommand, + CreateRestoreImageTaskCommand: () => CreateRestoreImageTaskCommand, + CreateRouteCommand: () => CreateRouteCommand, + CreateRouteTableCommand: () => CreateRouteTableCommand, + CreateSecurityGroupCommand: () => CreateSecurityGroupCommand, + CreateSnapshotCommand: () => CreateSnapshotCommand, + CreateSnapshotsCommand: () => CreateSnapshotsCommand, + CreateSpotDatafeedSubscriptionCommand: () => CreateSpotDatafeedSubscriptionCommand, + CreateStoreImageTaskCommand: () => CreateStoreImageTaskCommand, + CreateSubnetCidrReservationCommand: () => CreateSubnetCidrReservationCommand, + CreateSubnetCommand: () => CreateSubnetCommand, + CreateTagsCommand: () => CreateTagsCommand, + CreateTrafficMirrorFilterCommand: () => CreateTrafficMirrorFilterCommand, + CreateTrafficMirrorFilterRuleCommand: () => CreateTrafficMirrorFilterRuleCommand, + CreateTrafficMirrorSessionCommand: () => CreateTrafficMirrorSessionCommand, + CreateTrafficMirrorTargetCommand: () => CreateTrafficMirrorTargetCommand, + CreateTransitGatewayCommand: () => CreateTransitGatewayCommand, + CreateTransitGatewayConnectCommand: () => CreateTransitGatewayConnectCommand, + CreateTransitGatewayConnectPeerCommand: () => CreateTransitGatewayConnectPeerCommand, + CreateTransitGatewayMulticastDomainCommand: () => CreateTransitGatewayMulticastDomainCommand, + CreateTransitGatewayPeeringAttachmentCommand: () => CreateTransitGatewayPeeringAttachmentCommand, + CreateTransitGatewayPolicyTableCommand: () => CreateTransitGatewayPolicyTableCommand, + CreateTransitGatewayPrefixListReferenceCommand: () => CreateTransitGatewayPrefixListReferenceCommand, + CreateTransitGatewayRouteCommand: () => CreateTransitGatewayRouteCommand, + CreateTransitGatewayRouteTableAnnouncementCommand: () => CreateTransitGatewayRouteTableAnnouncementCommand, + CreateTransitGatewayRouteTableCommand: () => CreateTransitGatewayRouteTableCommand, + CreateTransitGatewayVpcAttachmentCommand: () => CreateTransitGatewayVpcAttachmentCommand, + CreateVerifiedAccessEndpointCommand: () => CreateVerifiedAccessEndpointCommand, + CreateVerifiedAccessGroupCommand: () => CreateVerifiedAccessGroupCommand, + CreateVerifiedAccessInstanceCommand: () => CreateVerifiedAccessInstanceCommand, + CreateVerifiedAccessTrustProviderCommand: () => CreateVerifiedAccessTrustProviderCommand, + CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, + CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog, + CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderResultFilterSensitiveLog, + CreateVolumeCommand: () => CreateVolumeCommand, + CreateVpcCommand: () => CreateVpcCommand, + CreateVpcEndpointCommand: () => CreateVpcEndpointCommand, + CreateVpcEndpointConnectionNotificationCommand: () => CreateVpcEndpointConnectionNotificationCommand, + CreateVpcEndpointServiceConfigurationCommand: () => CreateVpcEndpointServiceConfigurationCommand, + CreateVpcPeeringConnectionCommand: () => CreateVpcPeeringConnectionCommand, + CreateVpnConnectionCommand: () => CreateVpnConnectionCommand, + CreateVpnConnectionRequestFilterSensitiveLog: () => CreateVpnConnectionRequestFilterSensitiveLog, + CreateVpnConnectionResultFilterSensitiveLog: () => CreateVpnConnectionResultFilterSensitiveLog, + CreateVpnConnectionRouteCommand: () => CreateVpnConnectionRouteCommand, + CreateVpnGatewayCommand: () => CreateVpnGatewayCommand, + CurrencyCodeValues: () => CurrencyCodeValues, + DatafeedSubscriptionState: () => DatafeedSubscriptionState, + DefaultInstanceMetadataEndpointState: () => DefaultInstanceMetadataEndpointState, + DefaultInstanceMetadataTagsState: () => DefaultInstanceMetadataTagsState, + DefaultRouteTableAssociationValue: () => DefaultRouteTableAssociationValue, + DefaultRouteTablePropagationValue: () => DefaultRouteTablePropagationValue, + DefaultTargetCapacityType: () => DefaultTargetCapacityType, + DeleteCarrierGatewayCommand: () => DeleteCarrierGatewayCommand, + DeleteClientVpnEndpointCommand: () => DeleteClientVpnEndpointCommand, + DeleteClientVpnRouteCommand: () => DeleteClientVpnRouteCommand, + DeleteCoipCidrCommand: () => DeleteCoipCidrCommand, + DeleteCoipPoolCommand: () => DeleteCoipPoolCommand, + DeleteCustomerGatewayCommand: () => DeleteCustomerGatewayCommand, + DeleteDhcpOptionsCommand: () => DeleteDhcpOptionsCommand, + DeleteEgressOnlyInternetGatewayCommand: () => DeleteEgressOnlyInternetGatewayCommand, + DeleteFleetErrorCode: () => DeleteFleetErrorCode, + DeleteFleetsCommand: () => DeleteFleetsCommand, + DeleteFlowLogsCommand: () => DeleteFlowLogsCommand, + DeleteFpgaImageCommand: () => DeleteFpgaImageCommand, + DeleteInstanceConnectEndpointCommand: () => DeleteInstanceConnectEndpointCommand, + DeleteInstanceEventWindowCommand: () => DeleteInstanceEventWindowCommand, + DeleteInternetGatewayCommand: () => DeleteInternetGatewayCommand, + DeleteIpamCommand: () => DeleteIpamCommand, + DeleteIpamPoolCommand: () => DeleteIpamPoolCommand, + DeleteIpamResourceDiscoveryCommand: () => DeleteIpamResourceDiscoveryCommand, + DeleteIpamScopeCommand: () => DeleteIpamScopeCommand, + DeleteKeyPairCommand: () => DeleteKeyPairCommand, + DeleteLaunchTemplateCommand: () => DeleteLaunchTemplateCommand, + DeleteLaunchTemplateVersionsCommand: () => DeleteLaunchTemplateVersionsCommand, + DeleteLocalGatewayRouteCommand: () => DeleteLocalGatewayRouteCommand, + DeleteLocalGatewayRouteTableCommand: () => DeleteLocalGatewayRouteTableCommand, + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand: () => DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + DeleteLocalGatewayRouteTableVpcAssociationCommand: () => DeleteLocalGatewayRouteTableVpcAssociationCommand, + DeleteManagedPrefixListCommand: () => DeleteManagedPrefixListCommand, + DeleteNatGatewayCommand: () => DeleteNatGatewayCommand, + DeleteNetworkAclCommand: () => DeleteNetworkAclCommand, + DeleteNetworkAclEntryCommand: () => DeleteNetworkAclEntryCommand, + DeleteNetworkInsightsAccessScopeAnalysisCommand: () => DeleteNetworkInsightsAccessScopeAnalysisCommand, + DeleteNetworkInsightsAccessScopeCommand: () => DeleteNetworkInsightsAccessScopeCommand, + DeleteNetworkInsightsAnalysisCommand: () => DeleteNetworkInsightsAnalysisCommand, + DeleteNetworkInsightsPathCommand: () => DeleteNetworkInsightsPathCommand, + DeleteNetworkInterfaceCommand: () => DeleteNetworkInterfaceCommand, + DeleteNetworkInterfacePermissionCommand: () => DeleteNetworkInterfacePermissionCommand, + DeletePlacementGroupCommand: () => DeletePlacementGroupCommand, + DeletePublicIpv4PoolCommand: () => DeletePublicIpv4PoolCommand, + DeleteQueuedReservedInstancesCommand: () => DeleteQueuedReservedInstancesCommand, + DeleteQueuedReservedInstancesErrorCode: () => DeleteQueuedReservedInstancesErrorCode, + DeleteRouteCommand: () => DeleteRouteCommand, + DeleteRouteTableCommand: () => DeleteRouteTableCommand, + DeleteSecurityGroupCommand: () => DeleteSecurityGroupCommand, + DeleteSnapshotCommand: () => DeleteSnapshotCommand, + DeleteSpotDatafeedSubscriptionCommand: () => DeleteSpotDatafeedSubscriptionCommand, + DeleteSubnetCidrReservationCommand: () => DeleteSubnetCidrReservationCommand, + DeleteSubnetCommand: () => DeleteSubnetCommand, + DeleteTagsCommand: () => DeleteTagsCommand, + DeleteTrafficMirrorFilterCommand: () => DeleteTrafficMirrorFilterCommand, + DeleteTrafficMirrorFilterRuleCommand: () => DeleteTrafficMirrorFilterRuleCommand, + DeleteTrafficMirrorSessionCommand: () => DeleteTrafficMirrorSessionCommand, + DeleteTrafficMirrorTargetCommand: () => DeleteTrafficMirrorTargetCommand, + DeleteTransitGatewayCommand: () => DeleteTransitGatewayCommand, + DeleteTransitGatewayConnectCommand: () => DeleteTransitGatewayConnectCommand, + DeleteTransitGatewayConnectPeerCommand: () => DeleteTransitGatewayConnectPeerCommand, + DeleteTransitGatewayMulticastDomainCommand: () => DeleteTransitGatewayMulticastDomainCommand, + DeleteTransitGatewayPeeringAttachmentCommand: () => DeleteTransitGatewayPeeringAttachmentCommand, + DeleteTransitGatewayPolicyTableCommand: () => DeleteTransitGatewayPolicyTableCommand, + DeleteTransitGatewayPrefixListReferenceCommand: () => DeleteTransitGatewayPrefixListReferenceCommand, + DeleteTransitGatewayRouteCommand: () => DeleteTransitGatewayRouteCommand, + DeleteTransitGatewayRouteTableAnnouncementCommand: () => DeleteTransitGatewayRouteTableAnnouncementCommand, + DeleteTransitGatewayRouteTableCommand: () => DeleteTransitGatewayRouteTableCommand, + DeleteTransitGatewayVpcAttachmentCommand: () => DeleteTransitGatewayVpcAttachmentCommand, + DeleteVerifiedAccessEndpointCommand: () => DeleteVerifiedAccessEndpointCommand, + DeleteVerifiedAccessGroupCommand: () => DeleteVerifiedAccessGroupCommand, + DeleteVerifiedAccessInstanceCommand: () => DeleteVerifiedAccessInstanceCommand, + DeleteVerifiedAccessTrustProviderCommand: () => DeleteVerifiedAccessTrustProviderCommand, + DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog, + DeleteVolumeCommand: () => DeleteVolumeCommand, + DeleteVpcCommand: () => DeleteVpcCommand, + DeleteVpcEndpointConnectionNotificationsCommand: () => DeleteVpcEndpointConnectionNotificationsCommand, + DeleteVpcEndpointServiceConfigurationsCommand: () => DeleteVpcEndpointServiceConfigurationsCommand, + DeleteVpcEndpointsCommand: () => DeleteVpcEndpointsCommand, + DeleteVpcPeeringConnectionCommand: () => DeleteVpcPeeringConnectionCommand, + DeleteVpnConnectionCommand: () => DeleteVpnConnectionCommand, + DeleteVpnConnectionRouteCommand: () => DeleteVpnConnectionRouteCommand, + DeleteVpnGatewayCommand: () => DeleteVpnGatewayCommand, + DeprovisionByoipCidrCommand: () => DeprovisionByoipCidrCommand, + DeprovisionIpamByoasnCommand: () => DeprovisionIpamByoasnCommand, + DeprovisionIpamPoolCidrCommand: () => DeprovisionIpamPoolCidrCommand, + DeprovisionPublicIpv4PoolCidrCommand: () => DeprovisionPublicIpv4PoolCidrCommand, + DeregisterImageCommand: () => DeregisterImageCommand, + DeregisterInstanceEventNotificationAttributesCommand: () => DeregisterInstanceEventNotificationAttributesCommand, + DeregisterTransitGatewayMulticastGroupMembersCommand: () => DeregisterTransitGatewayMulticastGroupMembersCommand, + DeregisterTransitGatewayMulticastGroupSourcesCommand: () => DeregisterTransitGatewayMulticastGroupSourcesCommand, + DescribeAccountAttributesCommand: () => DescribeAccountAttributesCommand, + DescribeAddressTransfersCommand: () => DescribeAddressTransfersCommand, + DescribeAddressesAttributeCommand: () => DescribeAddressesAttributeCommand, + DescribeAddressesCommand: () => DescribeAddressesCommand, + DescribeAggregateIdFormatCommand: () => DescribeAggregateIdFormatCommand, + DescribeAvailabilityZonesCommand: () => DescribeAvailabilityZonesCommand, + DescribeAwsNetworkPerformanceMetricSubscriptionsCommand: () => DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, + DescribeBundleTasksCommand: () => DescribeBundleTasksCommand, + DescribeBundleTasksResultFilterSensitiveLog: () => DescribeBundleTasksResultFilterSensitiveLog, + DescribeByoipCidrsCommand: () => DescribeByoipCidrsCommand, + DescribeCapacityBlockOfferingsCommand: () => DescribeCapacityBlockOfferingsCommand, + DescribeCapacityReservationFleetsCommand: () => DescribeCapacityReservationFleetsCommand, + DescribeCapacityReservationsCommand: () => DescribeCapacityReservationsCommand, + DescribeCarrierGatewaysCommand: () => DescribeCarrierGatewaysCommand, + DescribeClassicLinkInstancesCommand: () => DescribeClassicLinkInstancesCommand, + DescribeClientVpnAuthorizationRulesCommand: () => DescribeClientVpnAuthorizationRulesCommand, + DescribeClientVpnConnectionsCommand: () => DescribeClientVpnConnectionsCommand, + DescribeClientVpnEndpointsCommand: () => DescribeClientVpnEndpointsCommand, + DescribeClientVpnRoutesCommand: () => DescribeClientVpnRoutesCommand, + DescribeClientVpnTargetNetworksCommand: () => DescribeClientVpnTargetNetworksCommand, + DescribeCoipPoolsCommand: () => DescribeCoipPoolsCommand, + DescribeConversionTasksCommand: () => DescribeConversionTasksCommand, + DescribeConversionTasksResultFilterSensitiveLog: () => DescribeConversionTasksResultFilterSensitiveLog, + DescribeCustomerGatewaysCommand: () => DescribeCustomerGatewaysCommand, + DescribeDhcpOptionsCommand: () => DescribeDhcpOptionsCommand, + DescribeEgressOnlyInternetGatewaysCommand: () => DescribeEgressOnlyInternetGatewaysCommand, + DescribeElasticGpusCommand: () => DescribeElasticGpusCommand, + DescribeExportImageTasksCommand: () => DescribeExportImageTasksCommand, + DescribeExportTasksCommand: () => DescribeExportTasksCommand, + DescribeFastLaunchImagesCommand: () => DescribeFastLaunchImagesCommand, + DescribeFastSnapshotRestoresCommand: () => DescribeFastSnapshotRestoresCommand, + DescribeFleetHistoryCommand: () => DescribeFleetHistoryCommand, + DescribeFleetInstancesCommand: () => DescribeFleetInstancesCommand, + DescribeFleetsCommand: () => DescribeFleetsCommand, + DescribeFlowLogsCommand: () => DescribeFlowLogsCommand, + DescribeFpgaImageAttributeCommand: () => DescribeFpgaImageAttributeCommand, + DescribeFpgaImagesCommand: () => DescribeFpgaImagesCommand, + DescribeHostReservationOfferingsCommand: () => DescribeHostReservationOfferingsCommand, + DescribeHostReservationsCommand: () => DescribeHostReservationsCommand, + DescribeHostsCommand: () => DescribeHostsCommand, + DescribeIamInstanceProfileAssociationsCommand: () => DescribeIamInstanceProfileAssociationsCommand, + DescribeIdFormatCommand: () => DescribeIdFormatCommand, + DescribeIdentityIdFormatCommand: () => DescribeIdentityIdFormatCommand, + DescribeImageAttributeCommand: () => DescribeImageAttributeCommand, + DescribeImagesCommand: () => DescribeImagesCommand, + DescribeImportImageTasksCommand: () => DescribeImportImageTasksCommand, + DescribeImportImageTasksResultFilterSensitiveLog: () => DescribeImportImageTasksResultFilterSensitiveLog, + DescribeImportSnapshotTasksCommand: () => DescribeImportSnapshotTasksCommand, + DescribeImportSnapshotTasksResultFilterSensitiveLog: () => DescribeImportSnapshotTasksResultFilterSensitiveLog, + DescribeInstanceAttributeCommand: () => DescribeInstanceAttributeCommand, + DescribeInstanceConnectEndpointsCommand: () => DescribeInstanceConnectEndpointsCommand, + DescribeInstanceCreditSpecificationsCommand: () => DescribeInstanceCreditSpecificationsCommand, + DescribeInstanceEventNotificationAttributesCommand: () => DescribeInstanceEventNotificationAttributesCommand, + DescribeInstanceEventWindowsCommand: () => DescribeInstanceEventWindowsCommand, + DescribeInstanceStatusCommand: () => DescribeInstanceStatusCommand, + DescribeInstanceTopologyCommand: () => DescribeInstanceTopologyCommand, + DescribeInstanceTypeOfferingsCommand: () => DescribeInstanceTypeOfferingsCommand, + DescribeInstanceTypesCommand: () => DescribeInstanceTypesCommand, + DescribeInstancesCommand: () => DescribeInstancesCommand, + DescribeInternetGatewaysCommand: () => DescribeInternetGatewaysCommand, + DescribeIpamByoasnCommand: () => DescribeIpamByoasnCommand, + DescribeIpamPoolsCommand: () => DescribeIpamPoolsCommand, + DescribeIpamResourceDiscoveriesCommand: () => DescribeIpamResourceDiscoveriesCommand, + DescribeIpamResourceDiscoveryAssociationsCommand: () => DescribeIpamResourceDiscoveryAssociationsCommand, + DescribeIpamScopesCommand: () => DescribeIpamScopesCommand, + DescribeIpamsCommand: () => DescribeIpamsCommand, + DescribeIpv6PoolsCommand: () => DescribeIpv6PoolsCommand, + DescribeKeyPairsCommand: () => DescribeKeyPairsCommand, + DescribeLaunchTemplateVersionsCommand: () => DescribeLaunchTemplateVersionsCommand, + DescribeLaunchTemplateVersionsResultFilterSensitiveLog: () => DescribeLaunchTemplateVersionsResultFilterSensitiveLog, + DescribeLaunchTemplatesCommand: () => DescribeLaunchTemplatesCommand, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand: () => DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, + DescribeLocalGatewayRouteTableVpcAssociationsCommand: () => DescribeLocalGatewayRouteTableVpcAssociationsCommand, + DescribeLocalGatewayRouteTablesCommand: () => DescribeLocalGatewayRouteTablesCommand, + DescribeLocalGatewayVirtualInterfaceGroupsCommand: () => DescribeLocalGatewayVirtualInterfaceGroupsCommand, + DescribeLocalGatewayVirtualInterfacesCommand: () => DescribeLocalGatewayVirtualInterfacesCommand, + DescribeLocalGatewaysCommand: () => DescribeLocalGatewaysCommand, + DescribeLockedSnapshotsCommand: () => DescribeLockedSnapshotsCommand, + DescribeMacHostsCommand: () => DescribeMacHostsCommand, + DescribeManagedPrefixListsCommand: () => DescribeManagedPrefixListsCommand, + DescribeMovingAddressesCommand: () => DescribeMovingAddressesCommand, + DescribeNatGatewaysCommand: () => DescribeNatGatewaysCommand, + DescribeNetworkAclsCommand: () => DescribeNetworkAclsCommand, + DescribeNetworkInsightsAccessScopeAnalysesCommand: () => DescribeNetworkInsightsAccessScopeAnalysesCommand, + DescribeNetworkInsightsAccessScopesCommand: () => DescribeNetworkInsightsAccessScopesCommand, + DescribeNetworkInsightsAnalysesCommand: () => DescribeNetworkInsightsAnalysesCommand, + DescribeNetworkInsightsPathsCommand: () => DescribeNetworkInsightsPathsCommand, + DescribeNetworkInterfaceAttributeCommand: () => DescribeNetworkInterfaceAttributeCommand, + DescribeNetworkInterfacePermissionsCommand: () => DescribeNetworkInterfacePermissionsCommand, + DescribeNetworkInterfacesCommand: () => DescribeNetworkInterfacesCommand, + DescribePlacementGroupsCommand: () => DescribePlacementGroupsCommand, + DescribePrefixListsCommand: () => DescribePrefixListsCommand, + DescribePrincipalIdFormatCommand: () => DescribePrincipalIdFormatCommand, + DescribePublicIpv4PoolsCommand: () => DescribePublicIpv4PoolsCommand, + DescribeRegionsCommand: () => DescribeRegionsCommand, + DescribeReplaceRootVolumeTasksCommand: () => DescribeReplaceRootVolumeTasksCommand, + DescribeReservedInstancesCommand: () => DescribeReservedInstancesCommand, + DescribeReservedInstancesListingsCommand: () => DescribeReservedInstancesListingsCommand, + DescribeReservedInstancesModificationsCommand: () => DescribeReservedInstancesModificationsCommand, + DescribeReservedInstancesOfferingsCommand: () => DescribeReservedInstancesOfferingsCommand, + DescribeRouteTablesCommand: () => DescribeRouteTablesCommand, + DescribeScheduledInstanceAvailabilityCommand: () => DescribeScheduledInstanceAvailabilityCommand, + DescribeScheduledInstancesCommand: () => DescribeScheduledInstancesCommand, + DescribeSecurityGroupReferencesCommand: () => DescribeSecurityGroupReferencesCommand, + DescribeSecurityGroupRulesCommand: () => DescribeSecurityGroupRulesCommand, + DescribeSecurityGroupsCommand: () => DescribeSecurityGroupsCommand, + DescribeSnapshotAttributeCommand: () => DescribeSnapshotAttributeCommand, + DescribeSnapshotTierStatusCommand: () => DescribeSnapshotTierStatusCommand, + DescribeSnapshotsCommand: () => DescribeSnapshotsCommand, + DescribeSpotDatafeedSubscriptionCommand: () => DescribeSpotDatafeedSubscriptionCommand, + DescribeSpotFleetInstancesCommand: () => DescribeSpotFleetInstancesCommand, + DescribeSpotFleetRequestHistoryCommand: () => DescribeSpotFleetRequestHistoryCommand, + DescribeSpotFleetRequestsCommand: () => DescribeSpotFleetRequestsCommand, + DescribeSpotFleetRequestsResponseFilterSensitiveLog: () => DescribeSpotFleetRequestsResponseFilterSensitiveLog, + DescribeSpotInstanceRequestsCommand: () => DescribeSpotInstanceRequestsCommand, + DescribeSpotInstanceRequestsResultFilterSensitiveLog: () => DescribeSpotInstanceRequestsResultFilterSensitiveLog, + DescribeSpotPriceHistoryCommand: () => DescribeSpotPriceHistoryCommand, + DescribeStaleSecurityGroupsCommand: () => DescribeStaleSecurityGroupsCommand, + DescribeStoreImageTasksCommand: () => DescribeStoreImageTasksCommand, + DescribeSubnetsCommand: () => DescribeSubnetsCommand, + DescribeTagsCommand: () => DescribeTagsCommand, + DescribeTrafficMirrorFiltersCommand: () => DescribeTrafficMirrorFiltersCommand, + DescribeTrafficMirrorSessionsCommand: () => DescribeTrafficMirrorSessionsCommand, + DescribeTrafficMirrorTargetsCommand: () => DescribeTrafficMirrorTargetsCommand, + DescribeTransitGatewayAttachmentsCommand: () => DescribeTransitGatewayAttachmentsCommand, + DescribeTransitGatewayConnectPeersCommand: () => DescribeTransitGatewayConnectPeersCommand, + DescribeTransitGatewayConnectsCommand: () => DescribeTransitGatewayConnectsCommand, + DescribeTransitGatewayMulticastDomainsCommand: () => DescribeTransitGatewayMulticastDomainsCommand, + DescribeTransitGatewayPeeringAttachmentsCommand: () => DescribeTransitGatewayPeeringAttachmentsCommand, + DescribeTransitGatewayPolicyTablesCommand: () => DescribeTransitGatewayPolicyTablesCommand, + DescribeTransitGatewayRouteTableAnnouncementsCommand: () => DescribeTransitGatewayRouteTableAnnouncementsCommand, + DescribeTransitGatewayRouteTablesCommand: () => DescribeTransitGatewayRouteTablesCommand, + DescribeTransitGatewayVpcAttachmentsCommand: () => DescribeTransitGatewayVpcAttachmentsCommand, + DescribeTransitGatewaysCommand: () => DescribeTransitGatewaysCommand, + DescribeTrunkInterfaceAssociationsCommand: () => DescribeTrunkInterfaceAssociationsCommand, + DescribeVerifiedAccessEndpointsCommand: () => DescribeVerifiedAccessEndpointsCommand, + DescribeVerifiedAccessGroupsCommand: () => DescribeVerifiedAccessGroupsCommand, + DescribeVerifiedAccessInstanceLoggingConfigurationsCommand: () => DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, + DescribeVerifiedAccessInstancesCommand: () => DescribeVerifiedAccessInstancesCommand, + DescribeVerifiedAccessTrustProvidersCommand: () => DescribeVerifiedAccessTrustProvidersCommand, + DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog: () => DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog, + DescribeVolumeAttributeCommand: () => DescribeVolumeAttributeCommand, + DescribeVolumeStatusCommand: () => DescribeVolumeStatusCommand, + DescribeVolumesCommand: () => DescribeVolumesCommand, + DescribeVolumesModificationsCommand: () => DescribeVolumesModificationsCommand, + DescribeVpcAttributeCommand: () => DescribeVpcAttributeCommand, + DescribeVpcClassicLinkCommand: () => DescribeVpcClassicLinkCommand, + DescribeVpcClassicLinkDnsSupportCommand: () => DescribeVpcClassicLinkDnsSupportCommand, + DescribeVpcEndpointConnectionNotificationsCommand: () => DescribeVpcEndpointConnectionNotificationsCommand, + DescribeVpcEndpointConnectionsCommand: () => DescribeVpcEndpointConnectionsCommand, + DescribeVpcEndpointServiceConfigurationsCommand: () => DescribeVpcEndpointServiceConfigurationsCommand, + DescribeVpcEndpointServicePermissionsCommand: () => DescribeVpcEndpointServicePermissionsCommand, + DescribeVpcEndpointServicesCommand: () => DescribeVpcEndpointServicesCommand, + DescribeVpcEndpointsCommand: () => DescribeVpcEndpointsCommand, + DescribeVpcPeeringConnectionsCommand: () => DescribeVpcPeeringConnectionsCommand, + DescribeVpcsCommand: () => DescribeVpcsCommand, + DescribeVpnConnectionsCommand: () => DescribeVpnConnectionsCommand, + DescribeVpnConnectionsResultFilterSensitiveLog: () => DescribeVpnConnectionsResultFilterSensitiveLog, + DescribeVpnGatewaysCommand: () => DescribeVpnGatewaysCommand, + DestinationFileFormat: () => DestinationFileFormat, + DetachClassicLinkVpcCommand: () => DetachClassicLinkVpcCommand, + DetachInternetGatewayCommand: () => DetachInternetGatewayCommand, + DetachNetworkInterfaceCommand: () => DetachNetworkInterfaceCommand, + DetachVerifiedAccessTrustProviderCommand: () => DetachVerifiedAccessTrustProviderCommand, + DetachVerifiedAccessTrustProviderResultFilterSensitiveLog: () => DetachVerifiedAccessTrustProviderResultFilterSensitiveLog, + DetachVolumeCommand: () => DetachVolumeCommand, + DetachVpnGatewayCommand: () => DetachVpnGatewayCommand, + DeviceTrustProviderType: () => DeviceTrustProviderType, + DeviceType: () => DeviceType, + DisableAddressTransferCommand: () => DisableAddressTransferCommand, + DisableAwsNetworkPerformanceMetricSubscriptionCommand: () => DisableAwsNetworkPerformanceMetricSubscriptionCommand, + DisableEbsEncryptionByDefaultCommand: () => DisableEbsEncryptionByDefaultCommand, + DisableFastLaunchCommand: () => DisableFastLaunchCommand, + DisableFastSnapshotRestoresCommand: () => DisableFastSnapshotRestoresCommand, + DisableImageBlockPublicAccessCommand: () => DisableImageBlockPublicAccessCommand, + DisableImageCommand: () => DisableImageCommand, + DisableImageDeprecationCommand: () => DisableImageDeprecationCommand, + DisableImageDeregistrationProtectionCommand: () => DisableImageDeregistrationProtectionCommand, + DisableIpamOrganizationAdminAccountCommand: () => DisableIpamOrganizationAdminAccountCommand, + DisableSerialConsoleAccessCommand: () => DisableSerialConsoleAccessCommand, + DisableSnapshotBlockPublicAccessCommand: () => DisableSnapshotBlockPublicAccessCommand, + DisableTransitGatewayRouteTablePropagationCommand: () => DisableTransitGatewayRouteTablePropagationCommand, + DisableVgwRoutePropagationCommand: () => DisableVgwRoutePropagationCommand, + DisableVpcClassicLinkCommand: () => DisableVpcClassicLinkCommand, + DisableVpcClassicLinkDnsSupportCommand: () => DisableVpcClassicLinkDnsSupportCommand, + DisassociateAddressCommand: () => DisassociateAddressCommand, + DisassociateClientVpnTargetNetworkCommand: () => DisassociateClientVpnTargetNetworkCommand, + DisassociateEnclaveCertificateIamRoleCommand: () => DisassociateEnclaveCertificateIamRoleCommand, + DisassociateIamInstanceProfileCommand: () => DisassociateIamInstanceProfileCommand, + DisassociateInstanceEventWindowCommand: () => DisassociateInstanceEventWindowCommand, + DisassociateIpamByoasnCommand: () => DisassociateIpamByoasnCommand, + DisassociateIpamResourceDiscoveryCommand: () => DisassociateIpamResourceDiscoveryCommand, + DisassociateNatGatewayAddressCommand: () => DisassociateNatGatewayAddressCommand, + DisassociateRouteTableCommand: () => DisassociateRouteTableCommand, + DisassociateSubnetCidrBlockCommand: () => DisassociateSubnetCidrBlockCommand, + DisassociateTransitGatewayMulticastDomainCommand: () => DisassociateTransitGatewayMulticastDomainCommand, + DisassociateTransitGatewayPolicyTableCommand: () => DisassociateTransitGatewayPolicyTableCommand, + DisassociateTransitGatewayRouteTableCommand: () => DisassociateTransitGatewayRouteTableCommand, + DisassociateTrunkInterfaceCommand: () => DisassociateTrunkInterfaceCommand, + DisassociateVpcCidrBlockCommand: () => DisassociateVpcCidrBlockCommand, + DiskImageDescriptionFilterSensitiveLog: () => DiskImageDescriptionFilterSensitiveLog, + DiskImageDetailFilterSensitiveLog: () => DiskImageDetailFilterSensitiveLog, + DiskImageFilterSensitiveLog: () => DiskImageFilterSensitiveLog, + DiskImageFormat: () => DiskImageFormat, + DiskType: () => DiskType, + DnsNameState: () => DnsNameState, + DnsRecordIpType: () => DnsRecordIpType, + DnsSupportValue: () => DnsSupportValue, + DomainType: () => DomainType, + DynamicRoutingValue: () => DynamicRoutingValue, + EC2: () => EC2, + EC2Client: () => EC2Client, + EC2ServiceException: () => EC2ServiceException, + EbsEncryptionSupport: () => EbsEncryptionSupport, + EbsNvmeSupport: () => EbsNvmeSupport, + EbsOptimizedSupport: () => EbsOptimizedSupport, + Ec2InstanceConnectEndpointState: () => Ec2InstanceConnectEndpointState, + EkPubKeyFormat: () => EkPubKeyFormat, + EkPubKeyType: () => EkPubKeyType, + ElasticGpuState: () => ElasticGpuState, + ElasticGpuStatus: () => ElasticGpuStatus, + EnaSupport: () => EnaSupport, + EnableAddressTransferCommand: () => EnableAddressTransferCommand, + EnableAwsNetworkPerformanceMetricSubscriptionCommand: () => EnableAwsNetworkPerformanceMetricSubscriptionCommand, + EnableEbsEncryptionByDefaultCommand: () => EnableEbsEncryptionByDefaultCommand, + EnableFastLaunchCommand: () => EnableFastLaunchCommand, + EnableFastSnapshotRestoresCommand: () => EnableFastSnapshotRestoresCommand, + EnableImageBlockPublicAccessCommand: () => EnableImageBlockPublicAccessCommand, + EnableImageCommand: () => EnableImageCommand, + EnableImageDeprecationCommand: () => EnableImageDeprecationCommand, + EnableImageDeregistrationProtectionCommand: () => EnableImageDeregistrationProtectionCommand, + EnableIpamOrganizationAdminAccountCommand: () => EnableIpamOrganizationAdminAccountCommand, + EnableReachabilityAnalyzerOrganizationSharingCommand: () => EnableReachabilityAnalyzerOrganizationSharingCommand, + EnableSerialConsoleAccessCommand: () => EnableSerialConsoleAccessCommand, + EnableSnapshotBlockPublicAccessCommand: () => EnableSnapshotBlockPublicAccessCommand, + EnableTransitGatewayRouteTablePropagationCommand: () => EnableTransitGatewayRouteTablePropagationCommand, + EnableVgwRoutePropagationCommand: () => EnableVgwRoutePropagationCommand, + EnableVolumeIOCommand: () => EnableVolumeIOCommand, + EnableVpcClassicLinkCommand: () => EnableVpcClassicLinkCommand, + EnableVpcClassicLinkDnsSupportCommand: () => EnableVpcClassicLinkDnsSupportCommand, + EndDateType: () => EndDateType, + EphemeralNvmeSupport: () => EphemeralNvmeSupport, + EventCode: () => EventCode, + EventType: () => EventType, + ExcessCapacityTerminationPolicy: () => ExcessCapacityTerminationPolicy, + ExportClientVpnClientCertificateRevocationListCommand: () => ExportClientVpnClientCertificateRevocationListCommand, + ExportClientVpnClientConfigurationCommand: () => ExportClientVpnClientConfigurationCommand, + ExportEnvironment: () => ExportEnvironment, + ExportImageCommand: () => ExportImageCommand, + ExportTaskState: () => ExportTaskState, + ExportTransitGatewayRoutesCommand: () => ExportTransitGatewayRoutesCommand, + FastLaunchResourceType: () => FastLaunchResourceType, + FastLaunchStateCode: () => FastLaunchStateCode, + FastSnapshotRestoreStateCode: () => FastSnapshotRestoreStateCode, + FindingsFound: () => FindingsFound, + FleetActivityStatus: () => FleetActivityStatus, + FleetCapacityReservationTenancy: () => FleetCapacityReservationTenancy, + FleetCapacityReservationUsageStrategy: () => FleetCapacityReservationUsageStrategy, + FleetEventType: () => FleetEventType, + FleetExcessCapacityTerminationPolicy: () => FleetExcessCapacityTerminationPolicy, + FleetInstanceMatchCriteria: () => FleetInstanceMatchCriteria, + FleetOnDemandAllocationStrategy: () => FleetOnDemandAllocationStrategy, + FleetReplacementStrategy: () => FleetReplacementStrategy, + FleetStateCode: () => FleetStateCode, + FleetType: () => FleetType, + FlowLogsResourceType: () => FlowLogsResourceType, + FpgaImageAttributeName: () => FpgaImageAttributeName, + FpgaImageStateCode: () => FpgaImageStateCode, + GatewayAssociationState: () => GatewayAssociationState, + GatewayType: () => GatewayType, + GetAssociatedEnclaveCertificateIamRolesCommand: () => GetAssociatedEnclaveCertificateIamRolesCommand, + GetAssociatedIpv6PoolCidrsCommand: () => GetAssociatedIpv6PoolCidrsCommand, + GetAwsNetworkPerformanceDataCommand: () => GetAwsNetworkPerformanceDataCommand, + GetCapacityReservationUsageCommand: () => GetCapacityReservationUsageCommand, + GetCoipPoolUsageCommand: () => GetCoipPoolUsageCommand, + GetConsoleOutputCommand: () => GetConsoleOutputCommand, + GetConsoleScreenshotCommand: () => GetConsoleScreenshotCommand, + GetDefaultCreditSpecificationCommand: () => GetDefaultCreditSpecificationCommand, + GetEbsDefaultKmsKeyIdCommand: () => GetEbsDefaultKmsKeyIdCommand, + GetEbsEncryptionByDefaultCommand: () => GetEbsEncryptionByDefaultCommand, + GetFlowLogsIntegrationTemplateCommand: () => GetFlowLogsIntegrationTemplateCommand, + GetGroupsForCapacityReservationCommand: () => GetGroupsForCapacityReservationCommand, + GetHostReservationPurchasePreviewCommand: () => GetHostReservationPurchasePreviewCommand, + GetImageBlockPublicAccessStateCommand: () => GetImageBlockPublicAccessStateCommand, + GetInstanceMetadataDefaultsCommand: () => GetInstanceMetadataDefaultsCommand, + GetInstanceTpmEkPubCommand: () => GetInstanceTpmEkPubCommand, + GetInstanceTpmEkPubResultFilterSensitiveLog: () => GetInstanceTpmEkPubResultFilterSensitiveLog, + GetInstanceTypesFromInstanceRequirementsCommand: () => GetInstanceTypesFromInstanceRequirementsCommand, + GetInstanceUefiDataCommand: () => GetInstanceUefiDataCommand, + GetIpamAddressHistoryCommand: () => GetIpamAddressHistoryCommand, + GetIpamDiscoveredAccountsCommand: () => GetIpamDiscoveredAccountsCommand, + GetIpamDiscoveredPublicAddressesCommand: () => GetIpamDiscoveredPublicAddressesCommand, + GetIpamDiscoveredResourceCidrsCommand: () => GetIpamDiscoveredResourceCidrsCommand, + GetIpamPoolAllocationsCommand: () => GetIpamPoolAllocationsCommand, + GetIpamPoolCidrsCommand: () => GetIpamPoolCidrsCommand, + GetIpamResourceCidrsCommand: () => GetIpamResourceCidrsCommand, + GetLaunchTemplateDataCommand: () => GetLaunchTemplateDataCommand, + GetLaunchTemplateDataResultFilterSensitiveLog: () => GetLaunchTemplateDataResultFilterSensitiveLog, + GetManagedPrefixListAssociationsCommand: () => GetManagedPrefixListAssociationsCommand, + GetManagedPrefixListEntriesCommand: () => GetManagedPrefixListEntriesCommand, + GetNetworkInsightsAccessScopeAnalysisFindingsCommand: () => GetNetworkInsightsAccessScopeAnalysisFindingsCommand, + GetNetworkInsightsAccessScopeContentCommand: () => GetNetworkInsightsAccessScopeContentCommand, + GetPasswordDataCommand: () => GetPasswordDataCommand, + GetPasswordDataResultFilterSensitiveLog: () => GetPasswordDataResultFilterSensitiveLog, + GetReservedInstancesExchangeQuoteCommand: () => GetReservedInstancesExchangeQuoteCommand, + GetSecurityGroupsForVpcCommand: () => GetSecurityGroupsForVpcCommand, + GetSerialConsoleAccessStatusCommand: () => GetSerialConsoleAccessStatusCommand, + GetSnapshotBlockPublicAccessStateCommand: () => GetSnapshotBlockPublicAccessStateCommand, + GetSpotPlacementScoresCommand: () => GetSpotPlacementScoresCommand, + GetSubnetCidrReservationsCommand: () => GetSubnetCidrReservationsCommand, + GetTransitGatewayAttachmentPropagationsCommand: () => GetTransitGatewayAttachmentPropagationsCommand, + GetTransitGatewayMulticastDomainAssociationsCommand: () => GetTransitGatewayMulticastDomainAssociationsCommand, + GetTransitGatewayPolicyTableAssociationsCommand: () => GetTransitGatewayPolicyTableAssociationsCommand, + GetTransitGatewayPolicyTableEntriesCommand: () => GetTransitGatewayPolicyTableEntriesCommand, + GetTransitGatewayPrefixListReferencesCommand: () => GetTransitGatewayPrefixListReferencesCommand, + GetTransitGatewayRouteTableAssociationsCommand: () => GetTransitGatewayRouteTableAssociationsCommand, + GetTransitGatewayRouteTablePropagationsCommand: () => GetTransitGatewayRouteTablePropagationsCommand, + GetVerifiedAccessEndpointPolicyCommand: () => GetVerifiedAccessEndpointPolicyCommand, + GetVerifiedAccessGroupPolicyCommand: () => GetVerifiedAccessGroupPolicyCommand, + GetVpnConnectionDeviceSampleConfigurationCommand: () => GetVpnConnectionDeviceSampleConfigurationCommand, + GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: () => GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog, + GetVpnConnectionDeviceTypesCommand: () => GetVpnConnectionDeviceTypesCommand, + GetVpnTunnelReplacementStatusCommand: () => GetVpnTunnelReplacementStatusCommand, + HostMaintenance: () => HostMaintenance, + HostRecovery: () => HostRecovery, + HostTenancy: () => HostTenancy, + HostnameType: () => HostnameType, + HttpTokensState: () => HttpTokensState, + HypervisorType: () => HypervisorType, + IamInstanceProfileAssociationState: () => IamInstanceProfileAssociationState, + Igmpv2SupportValue: () => Igmpv2SupportValue, + ImageAttributeName: () => ImageAttributeName, + ImageBlockPublicAccessDisabledState: () => ImageBlockPublicAccessDisabledState, + ImageBlockPublicAccessEnabledState: () => ImageBlockPublicAccessEnabledState, + ImageDiskContainerFilterSensitiveLog: () => ImageDiskContainerFilterSensitiveLog, + ImageState: () => ImageState, + ImageTypeValues: () => ImageTypeValues, + ImdsSupportValues: () => ImdsSupportValues, + ImportClientVpnClientCertificateRevocationListCommand: () => ImportClientVpnClientCertificateRevocationListCommand, + ImportImageCommand: () => ImportImageCommand, + ImportImageRequestFilterSensitiveLog: () => ImportImageRequestFilterSensitiveLog, + ImportImageResultFilterSensitiveLog: () => ImportImageResultFilterSensitiveLog, + ImportImageTaskFilterSensitiveLog: () => ImportImageTaskFilterSensitiveLog, + ImportInstanceCommand: () => ImportInstanceCommand, + ImportInstanceLaunchSpecificationFilterSensitiveLog: () => ImportInstanceLaunchSpecificationFilterSensitiveLog, + ImportInstanceRequestFilterSensitiveLog: () => ImportInstanceRequestFilterSensitiveLog, + ImportInstanceResultFilterSensitiveLog: () => ImportInstanceResultFilterSensitiveLog, + ImportInstanceTaskDetailsFilterSensitiveLog: () => ImportInstanceTaskDetailsFilterSensitiveLog, + ImportInstanceVolumeDetailItemFilterSensitiveLog: () => ImportInstanceVolumeDetailItemFilterSensitiveLog, + ImportKeyPairCommand: () => ImportKeyPairCommand, + ImportSnapshotCommand: () => ImportSnapshotCommand, + ImportSnapshotRequestFilterSensitiveLog: () => ImportSnapshotRequestFilterSensitiveLog, + ImportSnapshotResultFilterSensitiveLog: () => ImportSnapshotResultFilterSensitiveLog, + ImportSnapshotTaskFilterSensitiveLog: () => ImportSnapshotTaskFilterSensitiveLog, + ImportVolumeCommand: () => ImportVolumeCommand, + ImportVolumeRequestFilterSensitiveLog: () => ImportVolumeRequestFilterSensitiveLog, + ImportVolumeResultFilterSensitiveLog: () => ImportVolumeResultFilterSensitiveLog, + ImportVolumeTaskDetailsFilterSensitiveLog: () => ImportVolumeTaskDetailsFilterSensitiveLog, + InstanceAttributeName: () => InstanceAttributeName, + InstanceAutoRecoveryState: () => InstanceAutoRecoveryState, + InstanceBootModeValues: () => InstanceBootModeValues, + InstanceEventWindowState: () => InstanceEventWindowState, + InstanceGeneration: () => InstanceGeneration, + InstanceHealthStatus: () => InstanceHealthStatus, + InstanceInterruptionBehavior: () => InstanceInterruptionBehavior, + InstanceLifecycle: () => InstanceLifecycle, + InstanceLifecycleType: () => InstanceLifecycleType, + InstanceMatchCriteria: () => InstanceMatchCriteria, + InstanceMetadataEndpointState: () => InstanceMetadataEndpointState, + InstanceMetadataOptionsState: () => InstanceMetadataOptionsState, + InstanceMetadataProtocolState: () => InstanceMetadataProtocolState, + InstanceMetadataTagsState: () => InstanceMetadataTagsState, + InstanceStateName: () => InstanceStateName, + InstanceStorageEncryptionSupport: () => InstanceStorageEncryptionSupport, + InstanceTypeHypervisor: () => InstanceTypeHypervisor, + InterfacePermissionType: () => InterfacePermissionType, + InterfaceProtocolType: () => InterfaceProtocolType, + IpAddressType: () => IpAddressType, + IpamAddressHistoryResourceType: () => IpamAddressHistoryResourceType, + IpamAssociatedResourceDiscoveryStatus: () => IpamAssociatedResourceDiscoveryStatus, + IpamComplianceStatus: () => IpamComplianceStatus, + IpamDiscoveryFailureCode: () => IpamDiscoveryFailureCode, + IpamManagementState: () => IpamManagementState, + IpamOverlapStatus: () => IpamOverlapStatus, + IpamPoolAllocationResourceType: () => IpamPoolAllocationResourceType, + IpamPoolAwsService: () => IpamPoolAwsService, + IpamPoolCidrFailureCode: () => IpamPoolCidrFailureCode, + IpamPoolCidrState: () => IpamPoolCidrState, + IpamPoolPublicIpSource: () => IpamPoolPublicIpSource, + IpamPoolSourceResourceType: () => IpamPoolSourceResourceType, + IpamPoolState: () => IpamPoolState, + IpamPublicAddressAssociationStatus: () => IpamPublicAddressAssociationStatus, + IpamPublicAddressAwsService: () => IpamPublicAddressAwsService, + IpamPublicAddressType: () => IpamPublicAddressType, + IpamResourceDiscoveryAssociationState: () => IpamResourceDiscoveryAssociationState, + IpamResourceDiscoveryState: () => IpamResourceDiscoveryState, + IpamResourceType: () => IpamResourceType, + IpamScopeState: () => IpamScopeState, + IpamScopeType: () => IpamScopeType, + IpamState: () => IpamState, + IpamTier: () => IpamTier, + Ipv6SupportValue: () => Ipv6SupportValue, + KeyFormat: () => KeyFormat, + KeyPairFilterSensitiveLog: () => KeyPairFilterSensitiveLog, + KeyType: () => KeyType, + LaunchSpecificationFilterSensitiveLog: () => LaunchSpecificationFilterSensitiveLog, + LaunchTemplateAutoRecoveryState: () => LaunchTemplateAutoRecoveryState, + LaunchTemplateErrorCode: () => LaunchTemplateErrorCode, + LaunchTemplateHttpTokensState: () => LaunchTemplateHttpTokensState, + LaunchTemplateInstanceMetadataEndpointState: () => LaunchTemplateInstanceMetadataEndpointState, + LaunchTemplateInstanceMetadataOptionsState: () => LaunchTemplateInstanceMetadataOptionsState, + LaunchTemplateInstanceMetadataProtocolIpv6: () => LaunchTemplateInstanceMetadataProtocolIpv6, + LaunchTemplateInstanceMetadataTagsState: () => LaunchTemplateInstanceMetadataTagsState, + LaunchTemplateVersionFilterSensitiveLog: () => LaunchTemplateVersionFilterSensitiveLog, + ListImagesInRecycleBinCommand: () => ListImagesInRecycleBinCommand, + ListSnapshotsInRecycleBinCommand: () => ListSnapshotsInRecycleBinCommand, + ListingState: () => ListingState, + ListingStatus: () => ListingStatus, + LocalGatewayRouteState: () => LocalGatewayRouteState, + LocalGatewayRouteTableMode: () => LocalGatewayRouteTableMode, + LocalGatewayRouteType: () => LocalGatewayRouteType, + LocalStorage: () => LocalStorage, + LocalStorageType: () => LocalStorageType, + LocationType: () => LocationType, + LockMode: () => LockMode, + LockSnapshotCommand: () => LockSnapshotCommand, + LockState: () => LockState, + LogDestinationType: () => LogDestinationType, + MarketType: () => MarketType, + MembershipType: () => MembershipType, + MetadataDefaultHttpTokensState: () => MetadataDefaultHttpTokensState, + MetricType: () => MetricType, + ModifyAddressAttributeCommand: () => ModifyAddressAttributeCommand, + ModifyAvailabilityZoneGroupCommand: () => ModifyAvailabilityZoneGroupCommand, + ModifyAvailabilityZoneOptInStatus: () => ModifyAvailabilityZoneOptInStatus, + ModifyCapacityReservationCommand: () => ModifyCapacityReservationCommand, + ModifyCapacityReservationFleetCommand: () => ModifyCapacityReservationFleetCommand, + ModifyClientVpnEndpointCommand: () => ModifyClientVpnEndpointCommand, + ModifyDefaultCreditSpecificationCommand: () => ModifyDefaultCreditSpecificationCommand, + ModifyEbsDefaultKmsKeyIdCommand: () => ModifyEbsDefaultKmsKeyIdCommand, + ModifyFleetCommand: () => ModifyFleetCommand, + ModifyFpgaImageAttributeCommand: () => ModifyFpgaImageAttributeCommand, + ModifyHostsCommand: () => ModifyHostsCommand, + ModifyIdFormatCommand: () => ModifyIdFormatCommand, + ModifyIdentityIdFormatCommand: () => ModifyIdentityIdFormatCommand, + ModifyImageAttributeCommand: () => ModifyImageAttributeCommand, + ModifyInstanceAttributeCommand: () => ModifyInstanceAttributeCommand, + ModifyInstanceCapacityReservationAttributesCommand: () => ModifyInstanceCapacityReservationAttributesCommand, + ModifyInstanceCreditSpecificationCommand: () => ModifyInstanceCreditSpecificationCommand, + ModifyInstanceEventStartTimeCommand: () => ModifyInstanceEventStartTimeCommand, + ModifyInstanceEventWindowCommand: () => ModifyInstanceEventWindowCommand, + ModifyInstanceMaintenanceOptionsCommand: () => ModifyInstanceMaintenanceOptionsCommand, + ModifyInstanceMetadataDefaultsCommand: () => ModifyInstanceMetadataDefaultsCommand, + ModifyInstanceMetadataOptionsCommand: () => ModifyInstanceMetadataOptionsCommand, + ModifyInstancePlacementCommand: () => ModifyInstancePlacementCommand, + ModifyIpamCommand: () => ModifyIpamCommand, + ModifyIpamPoolCommand: () => ModifyIpamPoolCommand, + ModifyIpamResourceCidrCommand: () => ModifyIpamResourceCidrCommand, + ModifyIpamResourceDiscoveryCommand: () => ModifyIpamResourceDiscoveryCommand, + ModifyIpamScopeCommand: () => ModifyIpamScopeCommand, + ModifyLaunchTemplateCommand: () => ModifyLaunchTemplateCommand, + ModifyLocalGatewayRouteCommand: () => ModifyLocalGatewayRouteCommand, + ModifyManagedPrefixListCommand: () => ModifyManagedPrefixListCommand, + ModifyNetworkInterfaceAttributeCommand: () => ModifyNetworkInterfaceAttributeCommand, + ModifyPrivateDnsNameOptionsCommand: () => ModifyPrivateDnsNameOptionsCommand, + ModifyReservedInstancesCommand: () => ModifyReservedInstancesCommand, + ModifySecurityGroupRulesCommand: () => ModifySecurityGroupRulesCommand, + ModifySnapshotAttributeCommand: () => ModifySnapshotAttributeCommand, + ModifySnapshotTierCommand: () => ModifySnapshotTierCommand, + ModifySpotFleetRequestCommand: () => ModifySpotFleetRequestCommand, + ModifySubnetAttributeCommand: () => ModifySubnetAttributeCommand, + ModifyTrafficMirrorFilterNetworkServicesCommand: () => ModifyTrafficMirrorFilterNetworkServicesCommand, + ModifyTrafficMirrorFilterRuleCommand: () => ModifyTrafficMirrorFilterRuleCommand, + ModifyTrafficMirrorSessionCommand: () => ModifyTrafficMirrorSessionCommand, + ModifyTransitGatewayCommand: () => ModifyTransitGatewayCommand, + ModifyTransitGatewayPrefixListReferenceCommand: () => ModifyTransitGatewayPrefixListReferenceCommand, + ModifyTransitGatewayVpcAttachmentCommand: () => ModifyTransitGatewayVpcAttachmentCommand, + ModifyVerifiedAccessEndpointCommand: () => ModifyVerifiedAccessEndpointCommand, + ModifyVerifiedAccessEndpointPolicyCommand: () => ModifyVerifiedAccessEndpointPolicyCommand, + ModifyVerifiedAccessGroupCommand: () => ModifyVerifiedAccessGroupCommand, + ModifyVerifiedAccessGroupPolicyCommand: () => ModifyVerifiedAccessGroupPolicyCommand, + ModifyVerifiedAccessInstanceCommand: () => ModifyVerifiedAccessInstanceCommand, + ModifyVerifiedAccessInstanceLoggingConfigurationCommand: () => ModifyVerifiedAccessInstanceLoggingConfigurationCommand, + ModifyVerifiedAccessTrustProviderCommand: () => ModifyVerifiedAccessTrustProviderCommand, + ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog, + ModifyVolumeAttributeCommand: () => ModifyVolumeAttributeCommand, + ModifyVolumeCommand: () => ModifyVolumeCommand, + ModifyVpcAttributeCommand: () => ModifyVpcAttributeCommand, + ModifyVpcEndpointCommand: () => ModifyVpcEndpointCommand, + ModifyVpcEndpointConnectionNotificationCommand: () => ModifyVpcEndpointConnectionNotificationCommand, + ModifyVpcEndpointServiceConfigurationCommand: () => ModifyVpcEndpointServiceConfigurationCommand, + ModifyVpcEndpointServicePayerResponsibilityCommand: () => ModifyVpcEndpointServicePayerResponsibilityCommand, + ModifyVpcEndpointServicePermissionsCommand: () => ModifyVpcEndpointServicePermissionsCommand, + ModifyVpcPeeringConnectionOptionsCommand: () => ModifyVpcPeeringConnectionOptionsCommand, + ModifyVpcTenancyCommand: () => ModifyVpcTenancyCommand, + ModifyVpnConnectionCommand: () => ModifyVpnConnectionCommand, + ModifyVpnConnectionOptionsCommand: () => ModifyVpnConnectionOptionsCommand, + ModifyVpnConnectionOptionsResultFilterSensitiveLog: () => ModifyVpnConnectionOptionsResultFilterSensitiveLog, + ModifyVpnConnectionResultFilterSensitiveLog: () => ModifyVpnConnectionResultFilterSensitiveLog, + ModifyVpnTunnelCertificateCommand: () => ModifyVpnTunnelCertificateCommand, + ModifyVpnTunnelCertificateResultFilterSensitiveLog: () => ModifyVpnTunnelCertificateResultFilterSensitiveLog, + ModifyVpnTunnelOptionsCommand: () => ModifyVpnTunnelOptionsCommand, + ModifyVpnTunnelOptionsRequestFilterSensitiveLog: () => ModifyVpnTunnelOptionsRequestFilterSensitiveLog, + ModifyVpnTunnelOptionsResultFilterSensitiveLog: () => ModifyVpnTunnelOptionsResultFilterSensitiveLog, + ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog: () => ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog, + MonitorInstancesCommand: () => MonitorInstancesCommand, + MonitoringState: () => MonitoringState, + MoveAddressToVpcCommand: () => MoveAddressToVpcCommand, + MoveByoipCidrToIpamCommand: () => MoveByoipCidrToIpamCommand, + MoveStatus: () => MoveStatus, + MulticastSupportValue: () => MulticastSupportValue, + NatGatewayAddressStatus: () => NatGatewayAddressStatus, + NatGatewayState: () => NatGatewayState, + NetworkInterfaceAttribute: () => NetworkInterfaceAttribute, + NetworkInterfaceCreationType: () => NetworkInterfaceCreationType, + NetworkInterfacePermissionStateCode: () => NetworkInterfacePermissionStateCode, + NetworkInterfaceStatus: () => NetworkInterfaceStatus, + NetworkInterfaceType: () => NetworkInterfaceType, + NitroEnclavesSupport: () => NitroEnclavesSupport, + NitroTpmSupport: () => NitroTpmSupport, + OfferingClassType: () => OfferingClassType, + OfferingTypeValues: () => OfferingTypeValues, + OidcOptionsFilterSensitiveLog: () => OidcOptionsFilterSensitiveLog, + OnDemandAllocationStrategy: () => OnDemandAllocationStrategy, + OperationType: () => OperationType, + PartitionLoadFrequency: () => PartitionLoadFrequency, + PayerResponsibility: () => PayerResponsibility, + PaymentOption: () => PaymentOption, + PeriodType: () => PeriodType, + PermissionGroup: () => PermissionGroup, + PlacementGroupState: () => PlacementGroupState, + PlacementGroupStrategy: () => PlacementGroupStrategy, + PlacementStrategy: () => PlacementStrategy, + PlatformValues: () => PlatformValues, + PrefixListState: () => PrefixListState, + PrincipalType: () => PrincipalType, + ProductCodeValues: () => ProductCodeValues, + Protocol: () => Protocol, + ProtocolValue: () => ProtocolValue, + ProvisionByoipCidrCommand: () => ProvisionByoipCidrCommand, + ProvisionIpamByoasnCommand: () => ProvisionIpamByoasnCommand, + ProvisionIpamPoolCidrCommand: () => ProvisionIpamPoolCidrCommand, + ProvisionPublicIpv4PoolCidrCommand: () => ProvisionPublicIpv4PoolCidrCommand, + PurchaseCapacityBlockCommand: () => PurchaseCapacityBlockCommand, + PurchaseHostReservationCommand: () => PurchaseHostReservationCommand, + PurchaseReservedInstancesOfferingCommand: () => PurchaseReservedInstancesOfferingCommand, + PurchaseScheduledInstancesCommand: () => PurchaseScheduledInstancesCommand, + RIProductDescription: () => RIProductDescription, + RebootInstancesCommand: () => RebootInstancesCommand, + RecurringChargeFrequency: () => RecurringChargeFrequency, + RegisterImageCommand: () => RegisterImageCommand, + RegisterInstanceEventNotificationAttributesCommand: () => RegisterInstanceEventNotificationAttributesCommand, + RegisterTransitGatewayMulticastGroupMembersCommand: () => RegisterTransitGatewayMulticastGroupMembersCommand, + RegisterTransitGatewayMulticastGroupSourcesCommand: () => RegisterTransitGatewayMulticastGroupSourcesCommand, + RejectTransitGatewayMulticastDomainAssociationsCommand: () => RejectTransitGatewayMulticastDomainAssociationsCommand, + RejectTransitGatewayPeeringAttachmentCommand: () => RejectTransitGatewayPeeringAttachmentCommand, + RejectTransitGatewayVpcAttachmentCommand: () => RejectTransitGatewayVpcAttachmentCommand, + RejectVpcEndpointConnectionsCommand: () => RejectVpcEndpointConnectionsCommand, + RejectVpcPeeringConnectionCommand: () => RejectVpcPeeringConnectionCommand, + ReleaseAddressCommand: () => ReleaseAddressCommand, + ReleaseHostsCommand: () => ReleaseHostsCommand, + ReleaseIpamPoolAllocationCommand: () => ReleaseIpamPoolAllocationCommand, + ReplaceIamInstanceProfileAssociationCommand: () => ReplaceIamInstanceProfileAssociationCommand, + ReplaceNetworkAclAssociationCommand: () => ReplaceNetworkAclAssociationCommand, + ReplaceNetworkAclEntryCommand: () => ReplaceNetworkAclEntryCommand, + ReplaceRootVolumeTaskState: () => ReplaceRootVolumeTaskState, + ReplaceRouteCommand: () => ReplaceRouteCommand, + ReplaceRouteTableAssociationCommand: () => ReplaceRouteTableAssociationCommand, + ReplaceTransitGatewayRouteCommand: () => ReplaceTransitGatewayRouteCommand, + ReplaceVpnTunnelCommand: () => ReplaceVpnTunnelCommand, + ReplacementStrategy: () => ReplacementStrategy, + ReportInstanceReasonCodes: () => ReportInstanceReasonCodes, + ReportInstanceStatusCommand: () => ReportInstanceStatusCommand, + ReportStatusType: () => ReportStatusType, + RequestLaunchTemplateDataFilterSensitiveLog: () => RequestLaunchTemplateDataFilterSensitiveLog, + RequestSpotFleetCommand: () => RequestSpotFleetCommand, + RequestSpotFleetRequestFilterSensitiveLog: () => RequestSpotFleetRequestFilterSensitiveLog, + RequestSpotInstancesCommand: () => RequestSpotInstancesCommand, + RequestSpotInstancesRequestFilterSensitiveLog: () => RequestSpotInstancesRequestFilterSensitiveLog, + RequestSpotInstancesResultFilterSensitiveLog: () => RequestSpotInstancesResultFilterSensitiveLog, + RequestSpotLaunchSpecificationFilterSensitiveLog: () => RequestSpotLaunchSpecificationFilterSensitiveLog, + ReservationState: () => ReservationState, + ReservedInstanceState: () => ReservedInstanceState, + ResetAddressAttributeCommand: () => ResetAddressAttributeCommand, + ResetEbsDefaultKmsKeyIdCommand: () => ResetEbsDefaultKmsKeyIdCommand, + ResetFpgaImageAttributeCommand: () => ResetFpgaImageAttributeCommand, + ResetFpgaImageAttributeName: () => ResetFpgaImageAttributeName, + ResetImageAttributeCommand: () => ResetImageAttributeCommand, + ResetImageAttributeName: () => ResetImageAttributeName, + ResetInstanceAttributeCommand: () => ResetInstanceAttributeCommand, + ResetNetworkInterfaceAttributeCommand: () => ResetNetworkInterfaceAttributeCommand, + ResetSnapshotAttributeCommand: () => ResetSnapshotAttributeCommand, + ResourceType: () => ResourceType, + ResponseLaunchTemplateDataFilterSensitiveLog: () => ResponseLaunchTemplateDataFilterSensitiveLog, + RestoreAddressToClassicCommand: () => RestoreAddressToClassicCommand, + RestoreImageFromRecycleBinCommand: () => RestoreImageFromRecycleBinCommand, + RestoreManagedPrefixListVersionCommand: () => RestoreManagedPrefixListVersionCommand, + RestoreSnapshotFromRecycleBinCommand: () => RestoreSnapshotFromRecycleBinCommand, + RestoreSnapshotTierCommand: () => RestoreSnapshotTierCommand, + RevokeClientVpnIngressCommand: () => RevokeClientVpnIngressCommand, + RevokeSecurityGroupEgressCommand: () => RevokeSecurityGroupEgressCommand, + RevokeSecurityGroupIngressCommand: () => RevokeSecurityGroupIngressCommand, + RootDeviceType: () => RootDeviceType, + RouteOrigin: () => RouteOrigin, + RouteState: () => RouteState, + RouteTableAssociationStateCode: () => RouteTableAssociationStateCode, + RuleAction: () => RuleAction, + RunInstancesCommand: () => RunInstancesCommand, + RunInstancesRequestFilterSensitiveLog: () => RunInstancesRequestFilterSensitiveLog, + RunScheduledInstancesCommand: () => RunScheduledInstancesCommand, + RunScheduledInstancesRequestFilterSensitiveLog: () => RunScheduledInstancesRequestFilterSensitiveLog, + S3StorageFilterSensitiveLog: () => S3StorageFilterSensitiveLog, + SSEType: () => SSEType, + ScheduledInstancesLaunchSpecificationFilterSensitiveLog: () => ScheduledInstancesLaunchSpecificationFilterSensitiveLog, + Scope: () => Scope, + SearchLocalGatewayRoutesCommand: () => SearchLocalGatewayRoutesCommand, + SearchTransitGatewayMulticastGroupsCommand: () => SearchTransitGatewayMulticastGroupsCommand, + SearchTransitGatewayRoutesCommand: () => SearchTransitGatewayRoutesCommand, + SecurityGroupReferencingSupportValue: () => SecurityGroupReferencingSupportValue, + SelfServicePortal: () => SelfServicePortal, + SendDiagnosticInterruptCommand: () => SendDiagnosticInterruptCommand, + ServiceConnectivityType: () => ServiceConnectivityType, + ServiceState: () => ServiceState, + ServiceType: () => ServiceType, + ShutdownBehavior: () => ShutdownBehavior, + SnapshotAttributeName: () => SnapshotAttributeName, + SnapshotBlockPublicAccessState: () => SnapshotBlockPublicAccessState, + SnapshotDetailFilterSensitiveLog: () => SnapshotDetailFilterSensitiveLog, + SnapshotDiskContainerFilterSensitiveLog: () => SnapshotDiskContainerFilterSensitiveLog, + SnapshotState: () => SnapshotState, + SnapshotTaskDetailFilterSensitiveLog: () => SnapshotTaskDetailFilterSensitiveLog, + SpotAllocationStrategy: () => SpotAllocationStrategy, + SpotFleetLaunchSpecificationFilterSensitiveLog: () => SpotFleetLaunchSpecificationFilterSensitiveLog, + SpotFleetRequestConfigDataFilterSensitiveLog: () => SpotFleetRequestConfigDataFilterSensitiveLog, + SpotFleetRequestConfigFilterSensitiveLog: () => SpotFleetRequestConfigFilterSensitiveLog, + SpotInstanceInterruptionBehavior: () => SpotInstanceInterruptionBehavior, + SpotInstanceRequestFilterSensitiveLog: () => SpotInstanceRequestFilterSensitiveLog, + SpotInstanceState: () => SpotInstanceState, + SpotInstanceType: () => SpotInstanceType, + SpreadLevel: () => SpreadLevel, + StartInstancesCommand: () => StartInstancesCommand, + StartNetworkInsightsAccessScopeAnalysisCommand: () => StartNetworkInsightsAccessScopeAnalysisCommand, + StartNetworkInsightsAnalysisCommand: () => StartNetworkInsightsAnalysisCommand, + StartVpcEndpointServicePrivateDnsVerificationCommand: () => StartVpcEndpointServicePrivateDnsVerificationCommand, + State: () => State, + StaticSourcesSupportValue: () => StaticSourcesSupportValue, + StatisticType: () => StatisticType, + Status: () => Status, + StatusName: () => StatusName, + StatusType: () => StatusType, + StopInstancesCommand: () => StopInstancesCommand, + StorageFilterSensitiveLog: () => StorageFilterSensitiveLog, + StorageTier: () => StorageTier, + SubnetCidrBlockStateCode: () => SubnetCidrBlockStateCode, + SubnetCidrReservationType: () => SubnetCidrReservationType, + SubnetState: () => SubnetState, + SummaryStatus: () => SummaryStatus, + SupportedAdditionalProcessorFeature: () => SupportedAdditionalProcessorFeature, + TargetCapacityUnitType: () => TargetCapacityUnitType, + TargetStorageTier: () => TargetStorageTier, + TelemetryStatus: () => TelemetryStatus, + Tenancy: () => Tenancy, + TerminateClientVpnConnectionsCommand: () => TerminateClientVpnConnectionsCommand, + TerminateInstancesCommand: () => TerminateInstancesCommand, + TieringOperationStatus: () => TieringOperationStatus, + TpmSupportValues: () => TpmSupportValues, + TrafficDirection: () => TrafficDirection, + TrafficMirrorFilterRuleField: () => TrafficMirrorFilterRuleField, + TrafficMirrorNetworkService: () => TrafficMirrorNetworkService, + TrafficMirrorRuleAction: () => TrafficMirrorRuleAction, + TrafficMirrorSessionField: () => TrafficMirrorSessionField, + TrafficMirrorTargetType: () => TrafficMirrorTargetType, + TrafficType: () => TrafficType, + TransitGatewayAssociationState: () => TransitGatewayAssociationState, + TransitGatewayAttachmentResourceType: () => TransitGatewayAttachmentResourceType, + TransitGatewayAttachmentState: () => TransitGatewayAttachmentState, + TransitGatewayConnectPeerState: () => TransitGatewayConnectPeerState, + TransitGatewayMulitcastDomainAssociationState: () => TransitGatewayMulitcastDomainAssociationState, + TransitGatewayMulticastDomainState: () => TransitGatewayMulticastDomainState, + TransitGatewayPolicyTableState: () => TransitGatewayPolicyTableState, + TransitGatewayPrefixListReferenceState: () => TransitGatewayPrefixListReferenceState, + TransitGatewayPropagationState: () => TransitGatewayPropagationState, + TransitGatewayRouteState: () => TransitGatewayRouteState, + TransitGatewayRouteTableAnnouncementDirection: () => TransitGatewayRouteTableAnnouncementDirection, + TransitGatewayRouteTableAnnouncementState: () => TransitGatewayRouteTableAnnouncementState, + TransitGatewayRouteTableState: () => TransitGatewayRouteTableState, + TransitGatewayRouteType: () => TransitGatewayRouteType, + TransitGatewayState: () => TransitGatewayState, + TransportProtocol: () => TransportProtocol, + TrustProviderType: () => TrustProviderType, + TunnelInsideIpVersion: () => TunnelInsideIpVersion, + TunnelOptionFilterSensitiveLog: () => TunnelOptionFilterSensitiveLog, + UnassignIpv6AddressesCommand: () => UnassignIpv6AddressesCommand, + UnassignPrivateIpAddressesCommand: () => UnassignPrivateIpAddressesCommand, + UnassignPrivateNatGatewayAddressCommand: () => UnassignPrivateNatGatewayAddressCommand, + UnlimitedSupportedInstanceFamily: () => UnlimitedSupportedInstanceFamily, + UnlockSnapshotCommand: () => UnlockSnapshotCommand, + UnmonitorInstancesCommand: () => UnmonitorInstancesCommand, + UnsuccessfulInstanceCreditSpecificationErrorCode: () => UnsuccessfulInstanceCreditSpecificationErrorCode, + UpdateSecurityGroupRuleDescriptionsEgressCommand: () => UpdateSecurityGroupRuleDescriptionsEgressCommand, + UpdateSecurityGroupRuleDescriptionsIngressCommand: () => UpdateSecurityGroupRuleDescriptionsIngressCommand, + UsageClassType: () => UsageClassType, + UserDataFilterSensitiveLog: () => UserDataFilterSensitiveLog, + UserTrustProviderType: () => UserTrustProviderType, + VerifiedAccessEndpointAttachmentType: () => VerifiedAccessEndpointAttachmentType, + VerifiedAccessEndpointProtocol: () => VerifiedAccessEndpointProtocol, + VerifiedAccessEndpointStatusCode: () => VerifiedAccessEndpointStatusCode, + VerifiedAccessEndpointType: () => VerifiedAccessEndpointType, + VerifiedAccessLogDeliveryStatusCode: () => VerifiedAccessLogDeliveryStatusCode, + VerifiedAccessTrustProviderFilterSensitiveLog: () => VerifiedAccessTrustProviderFilterSensitiveLog, + VirtualizationType: () => VirtualizationType, + VolumeAttachmentState: () => VolumeAttachmentState, + VolumeAttributeName: () => VolumeAttributeName, + VolumeModificationState: () => VolumeModificationState, + VolumeState: () => VolumeState, + VolumeStatusInfoStatus: () => VolumeStatusInfoStatus, + VolumeStatusName: () => VolumeStatusName, + VolumeType: () => VolumeType, + VpcAttributeName: () => VpcAttributeName, + VpcCidrBlockStateCode: () => VpcCidrBlockStateCode, + VpcEndpointType: () => VpcEndpointType, + VpcPeeringConnectionStateReasonCode: () => VpcPeeringConnectionStateReasonCode, + VpcState: () => VpcState, + VpcTenancy: () => VpcTenancy, + VpnConnectionFilterSensitiveLog: () => VpnConnectionFilterSensitiveLog, + VpnConnectionOptionsFilterSensitiveLog: () => VpnConnectionOptionsFilterSensitiveLog, + VpnConnectionOptionsSpecificationFilterSensitiveLog: () => VpnConnectionOptionsSpecificationFilterSensitiveLog, + VpnEcmpSupportValue: () => VpnEcmpSupportValue, + VpnProtocol: () => VpnProtocol, + VpnState: () => VpnState, + VpnStaticRouteSource: () => VpnStaticRouteSource, + VpnTunnelOptionsSpecificationFilterSensitiveLog: () => VpnTunnelOptionsSpecificationFilterSensitiveLog, + WeekDay: () => WeekDay, + WithdrawByoipCidrCommand: () => WithdrawByoipCidrCommand, + _InstanceType: () => _InstanceType, + __Client: () => import_smithy_client.Client, + paginateDescribeAddressTransfers: () => paginateDescribeAddressTransfers, + paginateDescribeAddressesAttribute: () => paginateDescribeAddressesAttribute, + paginateDescribeAwsNetworkPerformanceMetricSubscriptions: () => paginateDescribeAwsNetworkPerformanceMetricSubscriptions, + paginateDescribeByoipCidrs: () => paginateDescribeByoipCidrs, + paginateDescribeCapacityBlockOfferings: () => paginateDescribeCapacityBlockOfferings, + paginateDescribeCapacityReservationFleets: () => paginateDescribeCapacityReservationFleets, + paginateDescribeCapacityReservations: () => paginateDescribeCapacityReservations, + paginateDescribeCarrierGateways: () => paginateDescribeCarrierGateways, + paginateDescribeClassicLinkInstances: () => paginateDescribeClassicLinkInstances, + paginateDescribeClientVpnAuthorizationRules: () => paginateDescribeClientVpnAuthorizationRules, + paginateDescribeClientVpnConnections: () => paginateDescribeClientVpnConnections, + paginateDescribeClientVpnEndpoints: () => paginateDescribeClientVpnEndpoints, + paginateDescribeClientVpnRoutes: () => paginateDescribeClientVpnRoutes, + paginateDescribeClientVpnTargetNetworks: () => paginateDescribeClientVpnTargetNetworks, + paginateDescribeCoipPools: () => paginateDescribeCoipPools, + paginateDescribeDhcpOptions: () => paginateDescribeDhcpOptions, + paginateDescribeEgressOnlyInternetGateways: () => paginateDescribeEgressOnlyInternetGateways, + paginateDescribeExportImageTasks: () => paginateDescribeExportImageTasks, + paginateDescribeFastLaunchImages: () => paginateDescribeFastLaunchImages, + paginateDescribeFastSnapshotRestores: () => paginateDescribeFastSnapshotRestores, + paginateDescribeFleets: () => paginateDescribeFleets, + paginateDescribeFlowLogs: () => paginateDescribeFlowLogs, + paginateDescribeFpgaImages: () => paginateDescribeFpgaImages, + paginateDescribeHostReservationOfferings: () => paginateDescribeHostReservationOfferings, + paginateDescribeHostReservations: () => paginateDescribeHostReservations, + paginateDescribeHosts: () => paginateDescribeHosts, + paginateDescribeIamInstanceProfileAssociations: () => paginateDescribeIamInstanceProfileAssociations, + paginateDescribeImages: () => paginateDescribeImages, + paginateDescribeImportImageTasks: () => paginateDescribeImportImageTasks, + paginateDescribeImportSnapshotTasks: () => paginateDescribeImportSnapshotTasks, + paginateDescribeInstanceConnectEndpoints: () => paginateDescribeInstanceConnectEndpoints, + paginateDescribeInstanceCreditSpecifications: () => paginateDescribeInstanceCreditSpecifications, + paginateDescribeInstanceEventWindows: () => paginateDescribeInstanceEventWindows, + paginateDescribeInstanceStatus: () => paginateDescribeInstanceStatus, + paginateDescribeInstanceTopology: () => paginateDescribeInstanceTopology, + paginateDescribeInstanceTypeOfferings: () => paginateDescribeInstanceTypeOfferings, + paginateDescribeInstanceTypes: () => paginateDescribeInstanceTypes, + paginateDescribeInstances: () => paginateDescribeInstances, + paginateDescribeInternetGateways: () => paginateDescribeInternetGateways, + paginateDescribeIpamPools: () => paginateDescribeIpamPools, + paginateDescribeIpamResourceDiscoveries: () => paginateDescribeIpamResourceDiscoveries, + paginateDescribeIpamResourceDiscoveryAssociations: () => paginateDescribeIpamResourceDiscoveryAssociations, + paginateDescribeIpamScopes: () => paginateDescribeIpamScopes, + paginateDescribeIpams: () => paginateDescribeIpams, + paginateDescribeIpv6Pools: () => paginateDescribeIpv6Pools, + paginateDescribeLaunchTemplateVersions: () => paginateDescribeLaunchTemplateVersions, + paginateDescribeLaunchTemplates: () => paginateDescribeLaunchTemplates, + paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations: () => paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations, + paginateDescribeLocalGatewayRouteTableVpcAssociations: () => paginateDescribeLocalGatewayRouteTableVpcAssociations, + paginateDescribeLocalGatewayRouteTables: () => paginateDescribeLocalGatewayRouteTables, + paginateDescribeLocalGatewayVirtualInterfaceGroups: () => paginateDescribeLocalGatewayVirtualInterfaceGroups, + paginateDescribeLocalGatewayVirtualInterfaces: () => paginateDescribeLocalGatewayVirtualInterfaces, + paginateDescribeLocalGateways: () => paginateDescribeLocalGateways, + paginateDescribeMacHosts: () => paginateDescribeMacHosts, + paginateDescribeManagedPrefixLists: () => paginateDescribeManagedPrefixLists, + paginateDescribeMovingAddresses: () => paginateDescribeMovingAddresses, + paginateDescribeNatGateways: () => paginateDescribeNatGateways, + paginateDescribeNetworkAcls: () => paginateDescribeNetworkAcls, + paginateDescribeNetworkInsightsAccessScopeAnalyses: () => paginateDescribeNetworkInsightsAccessScopeAnalyses, + paginateDescribeNetworkInsightsAccessScopes: () => paginateDescribeNetworkInsightsAccessScopes, + paginateDescribeNetworkInsightsAnalyses: () => paginateDescribeNetworkInsightsAnalyses, + paginateDescribeNetworkInsightsPaths: () => paginateDescribeNetworkInsightsPaths, + paginateDescribeNetworkInterfacePermissions: () => paginateDescribeNetworkInterfacePermissions, + paginateDescribeNetworkInterfaces: () => paginateDescribeNetworkInterfaces, + paginateDescribePrefixLists: () => paginateDescribePrefixLists, + paginateDescribePrincipalIdFormat: () => paginateDescribePrincipalIdFormat, + paginateDescribePublicIpv4Pools: () => paginateDescribePublicIpv4Pools, + paginateDescribeReplaceRootVolumeTasks: () => paginateDescribeReplaceRootVolumeTasks, + paginateDescribeReservedInstancesModifications: () => paginateDescribeReservedInstancesModifications, + paginateDescribeReservedInstancesOfferings: () => paginateDescribeReservedInstancesOfferings, + paginateDescribeRouteTables: () => paginateDescribeRouteTables, + paginateDescribeScheduledInstanceAvailability: () => paginateDescribeScheduledInstanceAvailability, + paginateDescribeScheduledInstances: () => paginateDescribeScheduledInstances, + paginateDescribeSecurityGroupRules: () => paginateDescribeSecurityGroupRules, + paginateDescribeSecurityGroups: () => paginateDescribeSecurityGroups, + paginateDescribeSnapshotTierStatus: () => paginateDescribeSnapshotTierStatus, + paginateDescribeSnapshots: () => paginateDescribeSnapshots, + paginateDescribeSpotFleetRequests: () => paginateDescribeSpotFleetRequests, + paginateDescribeSpotInstanceRequests: () => paginateDescribeSpotInstanceRequests, + paginateDescribeSpotPriceHistory: () => paginateDescribeSpotPriceHistory, + paginateDescribeStaleSecurityGroups: () => paginateDescribeStaleSecurityGroups, + paginateDescribeStoreImageTasks: () => paginateDescribeStoreImageTasks, + paginateDescribeSubnets: () => paginateDescribeSubnets, + paginateDescribeTags: () => paginateDescribeTags, + paginateDescribeTrafficMirrorFilters: () => paginateDescribeTrafficMirrorFilters, + paginateDescribeTrafficMirrorSessions: () => paginateDescribeTrafficMirrorSessions, + paginateDescribeTrafficMirrorTargets: () => paginateDescribeTrafficMirrorTargets, + paginateDescribeTransitGatewayAttachments: () => paginateDescribeTransitGatewayAttachments, + paginateDescribeTransitGatewayConnectPeers: () => paginateDescribeTransitGatewayConnectPeers, + paginateDescribeTransitGatewayConnects: () => paginateDescribeTransitGatewayConnects, + paginateDescribeTransitGatewayMulticastDomains: () => paginateDescribeTransitGatewayMulticastDomains, + paginateDescribeTransitGatewayPeeringAttachments: () => paginateDescribeTransitGatewayPeeringAttachments, + paginateDescribeTransitGatewayPolicyTables: () => paginateDescribeTransitGatewayPolicyTables, + paginateDescribeTransitGatewayRouteTableAnnouncements: () => paginateDescribeTransitGatewayRouteTableAnnouncements, + paginateDescribeTransitGatewayRouteTables: () => paginateDescribeTransitGatewayRouteTables, + paginateDescribeTransitGatewayVpcAttachments: () => paginateDescribeTransitGatewayVpcAttachments, + paginateDescribeTransitGateways: () => paginateDescribeTransitGateways, + paginateDescribeTrunkInterfaceAssociations: () => paginateDescribeTrunkInterfaceAssociations, + paginateDescribeVerifiedAccessEndpoints: () => paginateDescribeVerifiedAccessEndpoints, + paginateDescribeVerifiedAccessGroups: () => paginateDescribeVerifiedAccessGroups, + paginateDescribeVerifiedAccessInstanceLoggingConfigurations: () => paginateDescribeVerifiedAccessInstanceLoggingConfigurations, + paginateDescribeVerifiedAccessInstances: () => paginateDescribeVerifiedAccessInstances, + paginateDescribeVerifiedAccessTrustProviders: () => paginateDescribeVerifiedAccessTrustProviders, + paginateDescribeVolumeStatus: () => paginateDescribeVolumeStatus, + paginateDescribeVolumes: () => paginateDescribeVolumes, + paginateDescribeVolumesModifications: () => paginateDescribeVolumesModifications, + paginateDescribeVpcClassicLinkDnsSupport: () => paginateDescribeVpcClassicLinkDnsSupport, + paginateDescribeVpcEndpointConnectionNotifications: () => paginateDescribeVpcEndpointConnectionNotifications, + paginateDescribeVpcEndpointConnections: () => paginateDescribeVpcEndpointConnections, + paginateDescribeVpcEndpointServiceConfigurations: () => paginateDescribeVpcEndpointServiceConfigurations, + paginateDescribeVpcEndpointServicePermissions: () => paginateDescribeVpcEndpointServicePermissions, + paginateDescribeVpcEndpoints: () => paginateDescribeVpcEndpoints, + paginateDescribeVpcPeeringConnections: () => paginateDescribeVpcPeeringConnections, + paginateDescribeVpcs: () => paginateDescribeVpcs, + paginateGetAssociatedIpv6PoolCidrs: () => paginateGetAssociatedIpv6PoolCidrs, + paginateGetAwsNetworkPerformanceData: () => paginateGetAwsNetworkPerformanceData, + paginateGetGroupsForCapacityReservation: () => paginateGetGroupsForCapacityReservation, + paginateGetInstanceTypesFromInstanceRequirements: () => paginateGetInstanceTypesFromInstanceRequirements, + paginateGetIpamAddressHistory: () => paginateGetIpamAddressHistory, + paginateGetIpamDiscoveredAccounts: () => paginateGetIpamDiscoveredAccounts, + paginateGetIpamDiscoveredResourceCidrs: () => paginateGetIpamDiscoveredResourceCidrs, + paginateGetIpamPoolAllocations: () => paginateGetIpamPoolAllocations, + paginateGetIpamPoolCidrs: () => paginateGetIpamPoolCidrs, + paginateGetIpamResourceCidrs: () => paginateGetIpamResourceCidrs, + paginateGetManagedPrefixListAssociations: () => paginateGetManagedPrefixListAssociations, + paginateGetManagedPrefixListEntries: () => paginateGetManagedPrefixListEntries, + paginateGetNetworkInsightsAccessScopeAnalysisFindings: () => paginateGetNetworkInsightsAccessScopeAnalysisFindings, + paginateGetSecurityGroupsForVpc: () => paginateGetSecurityGroupsForVpc, + paginateGetSpotPlacementScores: () => paginateGetSpotPlacementScores, + paginateGetTransitGatewayAttachmentPropagations: () => paginateGetTransitGatewayAttachmentPropagations, + paginateGetTransitGatewayMulticastDomainAssociations: () => paginateGetTransitGatewayMulticastDomainAssociations, + paginateGetTransitGatewayPolicyTableAssociations: () => paginateGetTransitGatewayPolicyTableAssociations, + paginateGetTransitGatewayPrefixListReferences: () => paginateGetTransitGatewayPrefixListReferences, + paginateGetTransitGatewayRouteTableAssociations: () => paginateGetTransitGatewayRouteTableAssociations, + paginateGetTransitGatewayRouteTablePropagations: () => paginateGetTransitGatewayRouteTablePropagations, + paginateGetVpnConnectionDeviceTypes: () => paginateGetVpnConnectionDeviceTypes, + paginateListImagesInRecycleBin: () => paginateListImagesInRecycleBin, + paginateListSnapshotsInRecycleBin: () => paginateListSnapshotsInRecycleBin, + paginateSearchLocalGatewayRoutes: () => paginateSearchLocalGatewayRoutes, + paginateSearchTransitGatewayMulticastGroups: () => paginateSearchTransitGatewayMulticastGroups, + waitForBundleTaskComplete: () => waitForBundleTaskComplete, + waitForConversionTaskCancelled: () => waitForConversionTaskCancelled, + waitForConversionTaskCompleted: () => waitForConversionTaskCompleted, + waitForConversionTaskDeleted: () => waitForConversionTaskDeleted, + waitForCustomerGatewayAvailable: () => waitForCustomerGatewayAvailable, + waitForExportTaskCancelled: () => waitForExportTaskCancelled, + waitForExportTaskCompleted: () => waitForExportTaskCompleted, + waitForImageAvailable: () => waitForImageAvailable, + waitForImageExists: () => waitForImageExists, + waitForInstanceExists: () => waitForInstanceExists, + waitForInstanceRunning: () => waitForInstanceRunning, + waitForInstanceStatusOk: () => waitForInstanceStatusOk, + waitForInstanceStopped: () => waitForInstanceStopped, + waitForInstanceTerminated: () => waitForInstanceTerminated, + waitForInternetGatewayExists: () => waitForInternetGatewayExists, + waitForKeyPairExists: () => waitForKeyPairExists, + waitForNatGatewayAvailable: () => waitForNatGatewayAvailable, + waitForNatGatewayDeleted: () => waitForNatGatewayDeleted, + waitForNetworkInterfaceAvailable: () => waitForNetworkInterfaceAvailable, + waitForPasswordDataAvailable: () => waitForPasswordDataAvailable, + waitForSecurityGroupExists: () => waitForSecurityGroupExists, + waitForSnapshotCompleted: () => waitForSnapshotCompleted, + waitForSnapshotImported: () => waitForSnapshotImported, + waitForSpotInstanceRequestFulfilled: () => waitForSpotInstanceRequestFulfilled, + waitForStoreImageTaskComplete: () => waitForStoreImageTaskComplete, + waitForSubnetAvailable: () => waitForSubnetAvailable, + waitForSystemStatusOk: () => waitForSystemStatusOk, + waitForVolumeAvailable: () => waitForVolumeAvailable, + waitForVolumeDeleted: () => waitForVolumeDeleted, + waitForVolumeInUse: () => waitForVolumeInUse, + waitForVpcAvailable: () => waitForVpcAvailable, + waitForVpcExists: () => waitForVpcExists, + waitForVpcPeeringConnectionDeleted: () => waitForVpcPeeringConnectionDeleted, + waitForVpcPeeringConnectionExists: () => waitForVpcPeeringConnectionExists, + waitForVpnConnectionAvailable: () => waitForVpnConnectionAvailable, + waitForVpnConnectionDeleted: () => waitForVpnConnectionDeleted, + waitUntilBundleTaskComplete: () => waitUntilBundleTaskComplete, + waitUntilConversionTaskCancelled: () => waitUntilConversionTaskCancelled, + waitUntilConversionTaskCompleted: () => waitUntilConversionTaskCompleted, + waitUntilConversionTaskDeleted: () => waitUntilConversionTaskDeleted, + waitUntilCustomerGatewayAvailable: () => waitUntilCustomerGatewayAvailable, + waitUntilExportTaskCancelled: () => waitUntilExportTaskCancelled, + waitUntilExportTaskCompleted: () => waitUntilExportTaskCompleted, + waitUntilImageAvailable: () => waitUntilImageAvailable, + waitUntilImageExists: () => waitUntilImageExists, + waitUntilInstanceExists: () => waitUntilInstanceExists, + waitUntilInstanceRunning: () => waitUntilInstanceRunning, + waitUntilInstanceStatusOk: () => waitUntilInstanceStatusOk, + waitUntilInstanceStopped: () => waitUntilInstanceStopped, + waitUntilInstanceTerminated: () => waitUntilInstanceTerminated, + waitUntilInternetGatewayExists: () => waitUntilInternetGatewayExists, + waitUntilKeyPairExists: () => waitUntilKeyPairExists, + waitUntilNatGatewayAvailable: () => waitUntilNatGatewayAvailable, + waitUntilNatGatewayDeleted: () => waitUntilNatGatewayDeleted, + waitUntilNetworkInterfaceAvailable: () => waitUntilNetworkInterfaceAvailable, + waitUntilPasswordDataAvailable: () => waitUntilPasswordDataAvailable, + waitUntilSecurityGroupExists: () => waitUntilSecurityGroupExists, + waitUntilSnapshotCompleted: () => waitUntilSnapshotCompleted, + waitUntilSnapshotImported: () => waitUntilSnapshotImported, + waitUntilSpotInstanceRequestFulfilled: () => waitUntilSpotInstanceRequestFulfilled, + waitUntilStoreImageTaskComplete: () => waitUntilStoreImageTaskComplete, + waitUntilSubnetAvailable: () => waitUntilSubnetAvailable, + waitUntilSystemStatusOk: () => waitUntilSystemStatusOk, + waitUntilVolumeAvailable: () => waitUntilVolumeAvailable, + waitUntilVolumeDeleted: () => waitUntilVolumeDeleted, + waitUntilVolumeInUse: () => waitUntilVolumeInUse, + waitUntilVpcAvailable: () => waitUntilVpcAvailable, + waitUntilVpcExists: () => waitUntilVpcExists, + waitUntilVpcPeeringConnectionDeleted: () => waitUntilVpcPeeringConnectionDeleted, + waitUntilVpcPeeringConnectionExists: () => waitUntilVpcPeeringConnectionExists, + waitUntilVpnConnectionAvailable: () => waitUntilVpnConnectionAvailable, + waitUntilVpnConnectionDeleted: () => waitUntilVpnConnectionDeleted }); -module.exports = __toCommonJS(dist_src_exports); +module.exports = __toCommonJS(src_exports); + +// src/EC2Client.ts +var import_middleware_host_header = __nccwpck_require__(2545); +var import_middleware_logger = __nccwpck_require__(14); +var import_middleware_recursion_detection = __nccwpck_require__(5525); +var import_middleware_user_agent = __nccwpck_require__(4688); +var import_config_resolver = __nccwpck_require__(3098); +var import_core = __nccwpck_require__(5829); +var import_middleware_content_length = __nccwpck_require__(2800); +var import_middleware_endpoint = __nccwpck_require__(2918); +var import_middleware_retry = __nccwpck_require__(6039); + +var import_httpAuthSchemeProvider = __nccwpck_require__(6874); + +// src/endpoint/EndpointParameters.ts +var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "ec2" + }; +}, "resolveClientEndpointParameters"); +var commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } +}; -// pkg/dist-src/defaults.js -var import_universal_user_agent = __nccwpck_require__(45030); +// src/EC2Client.ts +var import_runtimeConfig = __nccwpck_require__(4689); -// pkg/dist-src/version.js -var VERSION = "9.0.4"; +// src/runtimeExtensions.ts +var import_region_config_resolver = __nccwpck_require__(8156); +var import_protocol_http = __nccwpck_require__(4418); +var import_smithy_client = __nccwpck_require__(3570); -// pkg/dist-src/defaults.js -var userAgent = `octokit-endpoint.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}`; -var DEFAULTS = { - method: "GET", - baseUrl: "https://api.github.com", - headers: { - accept: "application/vnd.github.v3+json", - "user-agent": userAgent - }, - mediaType: { - format: "" +// src/auth/httpAuthExtensionConfiguration.ts +var 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.ts +var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial"); +var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => { + const extensionConfiguration = { + ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)), + ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)) + }; + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return { + ...runtimeConfig, + ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), + ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration), + ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), + ...resolveHttpAuthRuntimeConfig(extensionConfiguration) + }; +}, "resolveRuntimeExtensions"); + +// src/EC2Client.ts +var _EC2Client = class _EC2Client extends import_smithy_client.Client { + constructor(...[configuration]) { + const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {}); + const _config_1 = resolveClientEndpointParameters(_config_0); + const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1); + const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2); + const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3); + const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5); + const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); + super(_config_8); + this.config = _config_8; + 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_middleware_user_agent.getUserAgentPlugin)(this.config)); + this.middlewareStack.use( + (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(), + identityProviderConfigProvider: this.getIdentityProviderConfigProvider() + }) + ); + 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(); + } + getDefaultHttpAuthSchemeParametersProvider() { + return import_httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider; + } + getIdentityProviderConfigProvider() { + return async (config) => new import_core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials + }); } }; +__name(_EC2Client, "EC2Client"); +var EC2Client = _EC2Client; -// pkg/dist-src/util/lowercase-keys.js -function lowercaseKeys(object) { - if (!object) { - return {}; - } - return Object.keys(object).reduce((newObj, key) => { - newObj[key.toLowerCase()] = object[key]; - return newObj; - }, {}); -} +// src/EC2.ts -// pkg/dist-src/util/is-plain-object.js -function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; - const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; - const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; - return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); -} -// pkg/dist-src/util/merge-deep.js -function mergeDeep(defaults, options) { - const result = Object.assign({}, defaults); - Object.keys(options).forEach((key) => { - if (isPlainObject(options[key])) { - if (!(key in defaults)) - Object.assign(result, { [key]: options[key] }); - else - result[key] = mergeDeep(defaults[key], options[key]); - } else { - Object.assign(result, { [key]: options[key] }); - } - }); - return result; -} +// src/commands/AcceptAddressTransferCommand.ts -// pkg/dist-src/util/remove-undefined-properties.js -function removeUndefinedProperties(obj) { - for (const key in obj) { - if (obj[key] === void 0) { - delete obj[key]; - } - } - return obj; -} +var import_middleware_serde = __nccwpck_require__(1238); -// pkg/dist-src/merge.js -function merge(defaults, route, options) { - if (typeof route === "string") { - let [method, url] = route.split(" "); - options = Object.assign(url ? { method, url } : { url: method }, options); - } else { - options = Object.assign({}, route); - } - options.headers = lowercaseKeys(options.headers); - removeUndefinedProperties(options); - removeUndefinedProperties(options.headers); - const mergedOptions = mergeDeep(defaults || {}, options); - if (options.url === "/graphql") { - if (defaults && defaults.mediaType.previews?.length) { - mergedOptions.mediaType.previews = defaults.mediaType.previews.filter( - (preview) => !mergedOptions.mediaType.previews.includes(preview) - ).concat(mergedOptions.mediaType.previews); - } - mergedOptions.mediaType.previews = (mergedOptions.mediaType.previews || []).map((preview) => preview.replace(/-preview/, "")); - } - return mergedOptions; -} +var import_types = __nccwpck_require__(5756); -// pkg/dist-src/util/add-query-parameters.js -function addQueryParameters(url, parameters) { - const separator = /\?/.test(url) ? "&" : "?"; - const names = Object.keys(parameters); - if (names.length === 0) { - return url; - } - return url + separator + names.map((name) => { - if (name === "q") { - return "q=" + parameters.q.split("+").map(encodeURIComponent).join("+"); - } - return `${name}=${encodeURIComponent(parameters[name])}`; - }).join("&"); -} +// src/protocols/Aws_ec2.ts +var import_core2 = __nccwpck_require__(9963); -// pkg/dist-src/util/extract-url-variable-names.js -var urlVariableRegex = /\{[^}]+\}/g; -function removeNonChars(variableName) { - return variableName.replace(/^\W+|\W+$/g, "").split(/,/); -} -function extractUrlVariableNames(url) { - const matches = url.match(urlVariableRegex); - if (!matches) { - return []; - } - return matches.map(removeNonChars).reduce((a, b) => a.concat(b), []); -} -// pkg/dist-src/util/omit.js -function omit(object, keysToOmit) { - const result = { __proto__: null }; - for (const key of Object.keys(object)) { - if (keysToOmit.indexOf(key) === -1) { - result[key] = object[key]; - } +var import_uuid = __nccwpck_require__(4034); + +// src/models/EC2ServiceException.ts + +var _EC2ServiceException = class _EC2ServiceException extends import_smithy_client.ServiceException { + /** + * @internal + */ + constructor(options) { + super(options); + Object.setPrototypeOf(this, _EC2ServiceException.prototype); } - return result; -} +}; +__name(_EC2ServiceException, "EC2ServiceException"); +var EC2ServiceException = _EC2ServiceException; -// pkg/dist-src/util/url-template.js -function encodeReserved(str) { - return str.split(/(%[0-9A-Fa-f]{2})/g).map(function(part) { - if (!/%[0-9A-Fa-f]/.test(part)) { - part = encodeURI(part).replace(/%5B/g, "[").replace(/%5D/g, "]"); - } - return part; - }).join(""); -} -function encodeUnreserved(str) { - return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { - return "%" + c.charCodeAt(0).toString(16).toUpperCase(); +// src/protocols/Aws_ec2.ts +var se_AcceptAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptAddressTransferRequest(input, context), + [_A]: _AAT, + [_V]: _ }); -} -function encodeValue(operator, value, key) { - value = operator === "+" || operator === "#" ? encodeReserved(value) : encodeUnreserved(value); - if (key) { - return encodeUnreserved(key) + "=" + value; - } else { - return value; - } -} -function isDefined(value) { - return value !== void 0 && value !== null; -} -function isKeyOperator(operator) { - return operator === ";" || operator === "&" || operator === "?"; -} -function getValues(context, operator, key, modifier) { - var value = context[key], result = []; - if (isDefined(value) && value !== "") { - if (typeof value === "string" || typeof value === "number" || typeof value === "boolean") { - value = value.toString(); - if (modifier && modifier !== "*") { - value = value.substring(0, parseInt(modifier, 10)); - } - result.push( - encodeValue(operator, value, isKeyOperator(operator) ? key : "") - ); - } else { - if (modifier === "*") { - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function(value2) { - result.push( - encodeValue(operator, value2, isKeyOperator(operator) ? key : "") - ); - }); - } else { - Object.keys(value).forEach(function(k) { - if (isDefined(value[k])) { - result.push(encodeValue(operator, value[k], k)); - } - }); - } - } else { - const tmp = []; - if (Array.isArray(value)) { - value.filter(isDefined).forEach(function(value2) { - tmp.push(encodeValue(operator, value2)); - }); - } else { - Object.keys(value).forEach(function(k) { - if (isDefined(value[k])) { - tmp.push(encodeUnreserved(k)); - tmp.push(encodeValue(operator, value[k].toString())); - } - }); - } - if (isKeyOperator(operator)) { - result.push(encodeUnreserved(key) + "=" + tmp.join(",")); - } else if (tmp.length !== 0) { - result.push(tmp.join(",")); - } - } - } - } else { - if (operator === ";") { - if (isDefined(value)) { - result.push(encodeUnreserved(key)); - } - } else if (value === "" && (operator === "&" || operator === "?")) { - result.push(encodeUnreserved(key) + "="); - } else if (value === "") { - result.push(""); - } - } - return result; -} -function parseUrl(template) { - return { - expand: expand.bind(null, template) - }; -} -function expand(template, context) { - var operators = ["+", "#", ".", "/", ";", "?", "&"]; - template = template.replace( - /\{([^\{\}]+)\}|([^\{\}]+)/g, - function(_, expression, literal) { - if (expression) { - let operator = ""; - const values = []; - if (operators.indexOf(expression.charAt(0)) !== -1) { - operator = expression.charAt(0); - expression = expression.substr(1); - } - expression.split(/,/g).forEach(function(variable) { - var tmp = /([^:\*]*)(?::(\d+)|(\*))?/.exec(variable); - values.push(getValues(context, operator, tmp[1], tmp[2] || tmp[3])); - }); - if (operator && operator !== "+") { - var separator = ","; - if (operator === "?") { - separator = "&"; - } else if (operator !== "#") { - separator = operator; - } - return (values.length !== 0 ? operator : "") + values.join(separator); - } else { - return values.join(","); - } - } else { - return encodeReserved(literal); - } - } - ); - if (template === "/") { - return template; - } else { - return template.replace(/\/$/, ""); - } -} - -// pkg/dist-src/parse.js -function parse(options) { - let method = options.method.toUpperCase(); - let url = (options.url || "/").replace(/:([a-z]\w+)/g, "{$1}"); - let headers = Object.assign({}, options.headers); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptAddressTransferCommand"); +var se_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; let body; - let parameters = omit(options, [ - "method", - "baseUrl", - "url", - "headers", - "request", - "mediaType" - ]); - const urlVariableNames = extractUrlVariableNames(url); - url = parseUrl(url).expand(parameters); - if (!/^http/.test(url)) { - url = options.baseUrl + url; - } - const omittedParameters = Object.keys(options).filter((option) => urlVariableNames.includes(option)).concat("baseUrl"); - const remainingParameters = omit(parameters, omittedParameters); - const isBinaryRequest = /application\/octet-stream/i.test(headers.accept); - if (!isBinaryRequest) { - if (options.mediaType.format) { - headers.accept = headers.accept.split(/,/).map( - (format) => format.replace( - /application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/, - `application/vnd$1$2.${options.mediaType.format}` - ) - ).join(","); - } - if (url.endsWith("/graphql")) { - if (options.mediaType.previews?.length) { - const previewsFromAcceptHeader = headers.accept.match(/[\w-]+(?=-preview)/g) || []; - headers.accept = previewsFromAcceptHeader.concat(options.mediaType.previews).map((preview) => { - const format = options.mediaType.format ? `.${options.mediaType.format}` : "+json"; - return `application/vnd.github.${preview}-preview${format}`; - }).join(","); - } - } - } - if (["GET", "HEAD"].includes(method)) { - url = addQueryParameters(url, remainingParameters); - } else { - if ("data" in remainingParameters) { - body = remainingParameters.data; - } else { - if (Object.keys(remainingParameters).length) { - body = remainingParameters; - } - } - } - if (!headers["content-type"] && typeof body !== "undefined") { - headers["content-type"] = "application/json; charset=utf-8"; - } - if (["PATCH", "PUT"].includes(method) && typeof body === "undefined") { - body = ""; - } - return Object.assign( - { method, url, headers }, - typeof body !== "undefined" ? { body } : null, - options.request ? { request: options.request } : null - ); -} - -// pkg/dist-src/endpoint-with-defaults.js -function endpointWithDefaults(defaults, route, options) { - return parse(merge(defaults, route, options)); -} - -// pkg/dist-src/with-defaults.js -function withDefaults(oldDefaults, newDefaults) { - const DEFAULTS2 = merge(oldDefaults, newDefaults); - const endpoint2 = endpointWithDefaults.bind(null, DEFAULTS2); - return Object.assign(endpoint2, { - DEFAULTS: DEFAULTS2, - defaults: withDefaults.bind(null, DEFAULTS2), - merge: merge.bind(null, DEFAULTS2), - parse + body = buildFormUrlencodedString({ + ...se_AcceptReservedInstancesExchangeQuoteRequest(input, context), + [_A]: _ARIEQ, + [_V]: _ }); -} - -// pkg/dist-src/index.js -var endpoint = withDefaults(null, DEFAULTS); -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 88467: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - GraphqlResponseError: () => GraphqlResponseError, - graphql: () => graphql2, - withCustomRequest: () => withCustomRequest -}); -module.exports = __toCommonJS(dist_src_exports); -var import_request3 = __nccwpck_require__(36234); -var import_universal_user_agent = __nccwpck_require__(45030); - -// pkg/dist-src/version.js -var VERSION = "7.0.2"; - -// pkg/dist-src/with-defaults.js -var import_request2 = __nccwpck_require__(36234); - -// pkg/dist-src/graphql.js -var import_request = __nccwpck_require__(36234); - -// pkg/dist-src/error.js -function _buildMessageForResponseErrors(data) { - return `Request failed due to following response errors: -` + data.errors.map((e) => ` - ${e.message}`).join("\n"); -} -var GraphqlResponseError = class extends Error { - constructor(request2, headers, response) { - super(_buildMessageForResponseErrors(response)); - this.request = request2; - this.headers = headers; - this.response = response; - this.name = "GraphqlResponseError"; - this.errors = response.errors; - this.data = response.data; - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - } -}; - -// pkg/dist-src/graphql.js -var NON_VARIABLE_OPTIONS = [ - "method", - "baseUrl", - "url", - "headers", - "request", - "query", - "mediaType" -]; -var FORBIDDEN_VARIABLE_OPTIONS = ["query", "method", "url"]; -var GHES_V3_SUFFIX_REGEX = /\/api\/v3\/?$/; -function graphql(request2, query, options) { - if (options) { - if (typeof query === "string" && "query" in options) { - return Promise.reject( - new Error(`[@octokit/graphql] "query" cannot be used as variable name`) - ); - } - for (const key in options) { - if (!FORBIDDEN_VARIABLE_OPTIONS.includes(key)) - continue; - return Promise.reject( - new Error( - `[@octokit/graphql] "${key}" cannot be used as variable name` - ) - ); - } - } - const parsedOptions = typeof query === "string" ? Object.assign({ query }, options) : query; - const requestOptions = Object.keys( - parsedOptions - ).reduce((result, key) => { - if (NON_VARIABLE_OPTIONS.includes(key)) { - result[key] = parsedOptions[key]; - return result; - } - if (!result.variables) { - result.variables = {}; - } - result.variables[key] = parsedOptions[key]; - return result; - }, {}); - const baseUrl = parsedOptions.baseUrl || request2.endpoint.DEFAULTS.baseUrl; - if (GHES_V3_SUFFIX_REGEX.test(baseUrl)) { - requestOptions.url = baseUrl.replace(GHES_V3_SUFFIX_REGEX, "/api/graphql"); - } - return request2(requestOptions).then((response) => { - if (response.data.errors) { - const headers = {}; - for (const key of Object.keys(response.headers)) { - headers[key] = response.headers[key]; - } - throw new GraphqlResponseError( - requestOptions, - headers, - response.data - ); - } - return response.data.data; + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptReservedInstancesExchangeQuoteCommand"); +var se_AcceptTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptTransitGatewayMulticastDomainAssociationsRequest(input, context), + [_A]: _ATGMDA, + [_V]: _ }); -} - -// pkg/dist-src/with-defaults.js -function withDefaults(request2, newDefaults) { - const newRequest = request2.defaults(newDefaults); - const newApi = (query, options) => { - return graphql(newRequest, query, options); - }; - return Object.assign(newApi, { - defaults: withDefaults.bind(null, newRequest), - endpoint: newRequest.endpoint + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptTransitGatewayMulticastDomainAssociationsCommand"); +var se_AcceptTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptTransitGatewayPeeringAttachmentRequest(input, context), + [_A]: _ATGPA, + [_V]: _ }); -} - -// pkg/dist-src/index.js -var graphql2 = withDefaults(import_request3.request, { - headers: { - "user-agent": `octokit-graphql.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}` - }, - method: "POST", - url: "/graphql" -}); -function withCustomRequest(customRequest) { - return withDefaults(customRequest, { - method: "POST", - url: "/graphql" + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptTransitGatewayPeeringAttachmentCommand"); +var se_AcceptTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptTransitGatewayVpcAttachmentRequest(input, context), + [_A]: _ATGVA, + [_V]: _ }); -} -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 64193: -/***/ ((module) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - composePaginateRest: () => composePaginateRest, - isPaginatingEndpoint: () => isPaginatingEndpoint, - paginateRest: () => paginateRest, - paginatingEndpoints: () => paginatingEndpoints -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/version.js -var VERSION = "9.1.5"; - -// pkg/dist-src/normalize-paginated-list-response.js -function normalizePaginatedListResponse(response) { - if (!response.data) { - return { - ...response, - data: [] - }; - } - const responseNeedsNormalization = "total_count" in response.data && !("url" in response.data); - if (!responseNeedsNormalization) - return response; - const incompleteResults = response.data.incomplete_results; - const repositorySelection = response.data.repository_selection; - const totalCount = response.data.total_count; - delete response.data.incomplete_results; - delete response.data.repository_selection; - delete response.data.total_count; - const namespaceKey = Object.keys(response.data)[0]; - const data = response.data[namespaceKey]; - response.data = data; - if (typeof incompleteResults !== "undefined") { - response.data.incomplete_results = incompleteResults; - } - if (typeof repositorySelection !== "undefined") { - response.data.repository_selection = repositorySelection; - } - response.data.total_count = totalCount; - return response; -} - -// pkg/dist-src/iterator.js -function iterator(octokit, route, parameters) { - const options = typeof route === "function" ? route.endpoint(parameters) : octokit.request.endpoint(route, parameters); - const requestMethod = typeof route === "function" ? route : octokit.request; - const method = options.method; - const headers = options.headers; - let url = options.url; - return { - [Symbol.asyncIterator]: () => ({ - async next() { - if (!url) - return { done: true }; - try { - const response = await requestMethod({ method, url, headers }); - const normalizedResponse = normalizePaginatedListResponse(response); - url = ((normalizedResponse.headers.link || "").match( - /<([^>]+)>;\s*rel="next"/ - ) || [])[1]; - return { value: normalizedResponse }; - } catch (error) { - if (error.status !== 409) - throw error; - url = ""; - return { - value: { - status: 200, - headers: {}, - data: [] - } - }; - } - } - }) - }; -} - -// pkg/dist-src/paginate.js -function paginate(octokit, route, parameters, mapFn) { - if (typeof parameters === "function") { - mapFn = parameters; - parameters = void 0; - } - return gather( - octokit, - [], - iterator(octokit, route, parameters)[Symbol.asyncIterator](), - mapFn - ); -} -function gather(octokit, results, iterator2, mapFn) { - return iterator2.next().then((result) => { - if (result.done) { - return results; - } - let earlyExit = false; - function done() { - earlyExit = true; - } - results = results.concat( - mapFn ? mapFn(result.value, done) : result.value.data - ); - if (earlyExit) { - return results; - } - return gather(octokit, results, iterator2, mapFn); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptTransitGatewayVpcAttachmentCommand"); +var se_AcceptVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptVpcEndpointConnectionsRequest(input, context), + [_A]: _AVEC, + [_V]: _ }); -} - -// pkg/dist-src/compose-paginate.js -var composePaginateRest = Object.assign(paginate, { - iterator -}); - -// pkg/dist-src/generated/paginating-endpoints.js -var paginatingEndpoints = [ - "GET /advisories", - "GET /app/hook/deliveries", - "GET /app/installation-requests", - "GET /app/installations", - "GET /assignments/{assignment_id}/accepted_assignments", - "GET /classrooms", - "GET /classrooms/{classroom_id}/assignments", - "GET /enterprises/{enterprise}/dependabot/alerts", - "GET /enterprises/{enterprise}/secret-scanning/alerts", - "GET /events", - "GET /gists", - "GET /gists/public", - "GET /gists/starred", - "GET /gists/{gist_id}/comments", - "GET /gists/{gist_id}/commits", - "GET /gists/{gist_id}/forks", - "GET /installation/repositories", - "GET /issues", - "GET /licenses", - "GET /marketplace_listing/plans", - "GET /marketplace_listing/plans/{plan_id}/accounts", - "GET /marketplace_listing/stubbed/plans", - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts", - "GET /networks/{owner}/{repo}/events", - "GET /notifications", - "GET /organizations", - "GET /orgs/{org}/actions/cache/usage-by-repository", - "GET /orgs/{org}/actions/permissions/repositories", - "GET /orgs/{org}/actions/runners", - "GET /orgs/{org}/actions/secrets", - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories", - "GET /orgs/{org}/actions/variables", - "GET /orgs/{org}/actions/variables/{name}/repositories", - "GET /orgs/{org}/blocks", - "GET /orgs/{org}/code-scanning/alerts", - "GET /orgs/{org}/codespaces", - "GET /orgs/{org}/codespaces/secrets", - "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories", - "GET /orgs/{org}/copilot/billing/seats", - "GET /orgs/{org}/dependabot/alerts", - "GET /orgs/{org}/dependabot/secrets", - "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories", - "GET /orgs/{org}/events", - "GET /orgs/{org}/failed_invitations", - "GET /orgs/{org}/hooks", - "GET /orgs/{org}/hooks/{hook_id}/deliveries", - "GET /orgs/{org}/installations", - "GET /orgs/{org}/invitations", - "GET /orgs/{org}/invitations/{invitation_id}/teams", - "GET /orgs/{org}/issues", - "GET /orgs/{org}/members", - "GET /orgs/{org}/members/{username}/codespaces", - "GET /orgs/{org}/migrations", - "GET /orgs/{org}/migrations/{migration_id}/repositories", - "GET /orgs/{org}/outside_collaborators", - "GET /orgs/{org}/packages", - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - "GET /orgs/{org}/personal-access-token-requests", - "GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories", - "GET /orgs/{org}/personal-access-tokens", - "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories", - "GET /orgs/{org}/projects", - "GET /orgs/{org}/properties/values", - "GET /orgs/{org}/public_members", - "GET /orgs/{org}/repos", - "GET /orgs/{org}/rulesets", - "GET /orgs/{org}/rulesets/rule-suites", - "GET /orgs/{org}/secret-scanning/alerts", - "GET /orgs/{org}/security-advisories", - "GET /orgs/{org}/teams", - "GET /orgs/{org}/teams/{team_slug}/discussions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", - "GET /orgs/{org}/teams/{team_slug}/invitations", - "GET /orgs/{org}/teams/{team_slug}/members", - "GET /orgs/{org}/teams/{team_slug}/projects", - "GET /orgs/{org}/teams/{team_slug}/repos", - "GET /orgs/{org}/teams/{team_slug}/teams", - "GET /projects/columns/{column_id}/cards", - "GET /projects/{project_id}/collaborators", - "GET /projects/{project_id}/columns", - "GET /repos/{owner}/{repo}/actions/artifacts", - "GET /repos/{owner}/{repo}/actions/caches", - "GET /repos/{owner}/{repo}/actions/organization-secrets", - "GET /repos/{owner}/{repo}/actions/organization-variables", - "GET /repos/{owner}/{repo}/actions/runners", - "GET /repos/{owner}/{repo}/actions/runs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs", - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs", - "GET /repos/{owner}/{repo}/actions/secrets", - "GET /repos/{owner}/{repo}/actions/variables", - "GET /repos/{owner}/{repo}/actions/workflows", - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs", - "GET /repos/{owner}/{repo}/activity", - "GET /repos/{owner}/{repo}/assignees", - "GET /repos/{owner}/{repo}/branches", - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations", - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs", - "GET /repos/{owner}/{repo}/code-scanning/alerts", - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - "GET /repos/{owner}/{repo}/code-scanning/analyses", - "GET /repos/{owner}/{repo}/codespaces", - "GET /repos/{owner}/{repo}/codespaces/devcontainers", - "GET /repos/{owner}/{repo}/codespaces/secrets", - "GET /repos/{owner}/{repo}/collaborators", - "GET /repos/{owner}/{repo}/comments", - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/commits", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments", - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls", - "GET /repos/{owner}/{repo}/commits/{ref}/check-runs", - "GET /repos/{owner}/{repo}/commits/{ref}/check-suites", - "GET /repos/{owner}/{repo}/commits/{ref}/status", - "GET /repos/{owner}/{repo}/commits/{ref}/statuses", - "GET /repos/{owner}/{repo}/contributors", - "GET /repos/{owner}/{repo}/dependabot/alerts", - "GET /repos/{owner}/{repo}/dependabot/secrets", - "GET /repos/{owner}/{repo}/deployments", - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses", - "GET /repos/{owner}/{repo}/environments", - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies", - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps", - "GET /repos/{owner}/{repo}/events", - "GET /repos/{owner}/{repo}/forks", - "GET /repos/{owner}/{repo}/hooks", - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries", - "GET /repos/{owner}/{repo}/invitations", - "GET /repos/{owner}/{repo}/issues", - "GET /repos/{owner}/{repo}/issues/comments", - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/issues/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/comments", - "GET /repos/{owner}/{repo}/issues/{issue_number}/events", - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels", - "GET /repos/{owner}/{repo}/issues/{issue_number}/reactions", - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline", - "GET /repos/{owner}/{repo}/keys", - "GET /repos/{owner}/{repo}/labels", - "GET /repos/{owner}/{repo}/milestones", - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels", - "GET /repos/{owner}/{repo}/notifications", - "GET /repos/{owner}/{repo}/pages/builds", - "GET /repos/{owner}/{repo}/projects", - "GET /repos/{owner}/{repo}/pulls", - "GET /repos/{owner}/{repo}/pulls/comments", - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/commits", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/files", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews", - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments", - "GET /repos/{owner}/{repo}/releases", - "GET /repos/{owner}/{repo}/releases/{release_id}/assets", - "GET /repos/{owner}/{repo}/releases/{release_id}/reactions", - "GET /repos/{owner}/{repo}/rules/branches/{branch}", - "GET /repos/{owner}/{repo}/rulesets", - "GET /repos/{owner}/{repo}/rulesets/rule-suites", - "GET /repos/{owner}/{repo}/secret-scanning/alerts", - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations", - "GET /repos/{owner}/{repo}/security-advisories", - "GET /repos/{owner}/{repo}/stargazers", - "GET /repos/{owner}/{repo}/subscribers", - "GET /repos/{owner}/{repo}/tags", - "GET /repos/{owner}/{repo}/teams", - "GET /repos/{owner}/{repo}/topics", - "GET /repositories", - "GET /repositories/{repository_id}/environments/{environment_name}/secrets", - "GET /repositories/{repository_id}/environments/{environment_name}/variables", - "GET /search/code", - "GET /search/commits", - "GET /search/issues", - "GET /search/labels", - "GET /search/repositories", - "GET /search/topics", - "GET /search/users", - "GET /teams/{team_id}/discussions", - "GET /teams/{team_id}/discussions/{discussion_number}/comments", - "GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", - "GET /teams/{team_id}/discussions/{discussion_number}/reactions", - "GET /teams/{team_id}/invitations", - "GET /teams/{team_id}/members", - "GET /teams/{team_id}/projects", - "GET /teams/{team_id}/repos", - "GET /teams/{team_id}/teams", - "GET /user/blocks", - "GET /user/codespaces", - "GET /user/codespaces/secrets", - "GET /user/emails", - "GET /user/followers", - "GET /user/following", - "GET /user/gpg_keys", - "GET /user/installations", - "GET /user/installations/{installation_id}/repositories", - "GET /user/issues", - "GET /user/keys", - "GET /user/marketplace_purchases", - "GET /user/marketplace_purchases/stubbed", - "GET /user/memberships/orgs", - "GET /user/migrations", - "GET /user/migrations/{migration_id}/repositories", - "GET /user/orgs", - "GET /user/packages", - "GET /user/packages/{package_type}/{package_name}/versions", - "GET /user/public_emails", - "GET /user/repos", - "GET /user/repository_invitations", - "GET /user/social_accounts", - "GET /user/ssh_signing_keys", - "GET /user/starred", - "GET /user/subscriptions", - "GET /user/teams", - "GET /users", - "GET /users/{username}/events", - "GET /users/{username}/events/orgs/{org}", - "GET /users/{username}/events/public", - "GET /users/{username}/followers", - "GET /users/{username}/following", - "GET /users/{username}/gists", - "GET /users/{username}/gpg_keys", - "GET /users/{username}/keys", - "GET /users/{username}/orgs", - "GET /users/{username}/packages", - "GET /users/{username}/projects", - "GET /users/{username}/received_events", - "GET /users/{username}/received_events/public", - "GET /users/{username}/repos", - "GET /users/{username}/social_accounts", - "GET /users/{username}/ssh_signing_keys", - "GET /users/{username}/starred", - "GET /users/{username}/subscriptions" -]; - -// pkg/dist-src/paginating-endpoints.js -function isPaginatingEndpoint(arg) { - if (typeof arg === "string") { - return paginatingEndpoints.includes(arg); - } else { - return false; - } -} - -// pkg/dist-src/index.js -function paginateRest(octokit) { - return { - paginate: Object.assign(paginate.bind(null, octokit), { - iterator: iterator.bind(null, octokit) - }) - }; -} -paginateRest.VERSION = VERSION; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 83044: -/***/ ((module) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - legacyRestEndpointMethods: () => legacyRestEndpointMethods, - restEndpointMethods: () => restEndpointMethods -}); -module.exports = __toCommonJS(dist_src_exports); - -// pkg/dist-src/version.js -var VERSION = "10.2.0"; - -// pkg/dist-src/generated/endpoints.js -var Endpoints = { - actions: { - addCustomLabelsToSelfHostedRunnerForOrg: [ - "POST /orgs/{org}/actions/runners/{runner_id}/labels" - ], - addCustomLabelsToSelfHostedRunnerForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}" - ], - addSelectedRepoToOrgVariable: [ - "PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}" - ], - approveWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve" - ], - cancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel" - ], - createEnvironmentVariable: [ - "POST /repositories/{repository_id}/environments/{environment_name}/variables" - ], - createOrUpdateEnvironmentSecret: [ - "PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - createOrUpdateOrgSecret: ["PUT /orgs/{org}/actions/secrets/{secret_name}"], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}" - ], - createOrgVariable: ["POST /orgs/{org}/actions/variables"], - createRegistrationTokenForOrg: [ - "POST /orgs/{org}/actions/runners/registration-token" - ], - createRegistrationTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/registration-token" - ], - createRemoveTokenForOrg: ["POST /orgs/{org}/actions/runners/remove-token"], - createRemoveTokenForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/remove-token" - ], - createRepoVariable: ["POST /repos/{owner}/{repo}/actions/variables"], - createWorkflowDispatch: [ - "POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches" - ], - deleteActionsCacheById: [ - "DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}" - ], - deleteActionsCacheByKey: [ - "DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}" - ], - deleteArtifact: [ - "DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}" - ], - deleteEnvironmentSecret: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - deleteEnvironmentVariable: [ - "DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/actions/secrets/{secret_name}"], - deleteOrgVariable: ["DELETE /orgs/{org}/actions/variables/{name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}" - ], - deleteRepoVariable: [ - "DELETE /repos/{owner}/{repo}/actions/variables/{name}" - ], - deleteSelfHostedRunnerFromOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}" - ], - deleteSelfHostedRunnerFromRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}" - ], - deleteWorkflowRun: ["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"], - deleteWorkflowRunLogs: [ - "DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs" - ], - disableSelectedRepositoryGithubActionsOrganization: [ - "DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}" - ], - disableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable" - ], - downloadArtifact: [ - "GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}" - ], - downloadJobLogsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs" - ], - downloadWorkflowRunAttemptLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs" - ], - downloadWorkflowRunLogs: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs" - ], - enableSelectedRepositoryGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories/{repository_id}" - ], - enableWorkflow: [ - "PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable" - ], - forceCancelWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel" - ], - generateRunnerJitconfigForOrg: [ - "POST /orgs/{org}/actions/runners/generate-jitconfig" - ], - generateRunnerJitconfigForRepo: [ - "POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig" - ], - getActionsCacheList: ["GET /repos/{owner}/{repo}/actions/caches"], - getActionsCacheUsage: ["GET /repos/{owner}/{repo}/actions/cache/usage"], - getActionsCacheUsageByRepoForOrg: [ - "GET /orgs/{org}/actions/cache/usage-by-repository" - ], - getActionsCacheUsageForOrg: ["GET /orgs/{org}/actions/cache/usage"], - getAllowedActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/selected-actions" - ], - getAllowedActionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/selected-actions" - ], - getArtifact: ["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"], - getEnvironmentPublicKey: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key" - ], - getEnvironmentSecret: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}" - ], - getEnvironmentVariable: [ - "GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - getGithubActionsDefaultWorkflowPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions/workflow" - ], - getGithubActionsDefaultWorkflowPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/workflow" - ], - getGithubActionsPermissionsOrganization: [ - "GET /orgs/{org}/actions/permissions" - ], - getGithubActionsPermissionsRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions" - ], - getJobForWorkflowRun: ["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"], - getOrgPublicKey: ["GET /orgs/{org}/actions/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/actions/secrets/{secret_name}"], - getOrgVariable: ["GET /orgs/{org}/actions/variables/{name}"], - getPendingDeploymentsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments" - ], - getRepoPermissions: [ - "GET /repos/{owner}/{repo}/actions/permissions", - {}, - { renamed: ["actions", "getGithubActionsPermissionsRepository"] } - ], - getRepoPublicKey: ["GET /repos/{owner}/{repo}/actions/secrets/public-key"], - getRepoSecret: ["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"], - getRepoVariable: ["GET /repos/{owner}/{repo}/actions/variables/{name}"], - getReviewsForRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals" - ], - getSelfHostedRunnerForOrg: ["GET /orgs/{org}/actions/runners/{runner_id}"], - getSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}" - ], - getWorkflow: ["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"], - getWorkflowAccessToRepository: [ - "GET /repos/{owner}/{repo}/actions/permissions/access" - ], - getWorkflowRun: ["GET /repos/{owner}/{repo}/actions/runs/{run_id}"], - getWorkflowRunAttempt: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}" - ], - getWorkflowRunUsage: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing" - ], - getWorkflowUsage: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing" - ], - listArtifactsForRepo: ["GET /repos/{owner}/{repo}/actions/artifacts"], - listEnvironmentSecrets: [ - "GET /repositories/{repository_id}/environments/{environment_name}/secrets" - ], - listEnvironmentVariables: [ - "GET /repositories/{repository_id}/environments/{environment_name}/variables" - ], - listJobsForWorkflowRun: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs" - ], - listJobsForWorkflowRunAttempt: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs" - ], - listLabelsForSelfHostedRunnerForOrg: [ - "GET /orgs/{org}/actions/runners/{runner_id}/labels" - ], - listLabelsForSelfHostedRunnerForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - listOrgSecrets: ["GET /orgs/{org}/actions/secrets"], - listOrgVariables: ["GET /orgs/{org}/actions/variables"], - listRepoOrganizationSecrets: [ - "GET /repos/{owner}/{repo}/actions/organization-secrets" - ], - listRepoOrganizationVariables: [ - "GET /repos/{owner}/{repo}/actions/organization-variables" - ], - listRepoSecrets: ["GET /repos/{owner}/{repo}/actions/secrets"], - listRepoVariables: ["GET /repos/{owner}/{repo}/actions/variables"], - listRepoWorkflows: ["GET /repos/{owner}/{repo}/actions/workflows"], - listRunnerApplicationsForOrg: ["GET /orgs/{org}/actions/runners/downloads"], - listRunnerApplicationsForRepo: [ - "GET /repos/{owner}/{repo}/actions/runners/downloads" - ], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/actions/secrets/{secret_name}/repositories" - ], - listSelectedReposForOrgVariable: [ - "GET /orgs/{org}/actions/variables/{name}/repositories" - ], - listSelectedRepositoriesEnabledGithubActionsOrganization: [ - "GET /orgs/{org}/actions/permissions/repositories" - ], - listSelfHostedRunnersForOrg: ["GET /orgs/{org}/actions/runners"], - listSelfHostedRunnersForRepo: ["GET /repos/{owner}/{repo}/actions/runners"], - listWorkflowRunArtifacts: [ - "GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts" - ], - listWorkflowRuns: [ - "GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs" - ], - listWorkflowRunsForRepo: ["GET /repos/{owner}/{repo}/actions/runs"], - reRunJobForWorkflowRun: [ - "POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun" - ], - reRunWorkflow: ["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"], - reRunWorkflowFailedJobs: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs" - ], - removeAllCustomLabelsFromSelfHostedRunnerForOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}/labels" - ], - removeAllCustomLabelsFromSelfHostedRunnerForRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - removeCustomLabelFromSelfHostedRunnerForOrg: [ - "DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}" - ], - removeCustomLabelFromSelfHostedRunnerForRepo: [ - "DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}" - ], - removeSelectedRepoFromOrgVariable: [ - "DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}" - ], - reviewCustomGatesForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule" - ], - reviewPendingDeploymentsForRun: [ - "POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments" - ], - setAllowedActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/selected-actions" - ], - setAllowedActionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/selected-actions" - ], - setCustomLabelsForSelfHostedRunnerForOrg: [ - "PUT /orgs/{org}/actions/runners/{runner_id}/labels" - ], - setCustomLabelsForSelfHostedRunnerForRepo: [ - "PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels" - ], - setGithubActionsDefaultWorkflowPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/workflow" - ], - setGithubActionsDefaultWorkflowPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/workflow" - ], - setGithubActionsPermissionsOrganization: [ - "PUT /orgs/{org}/actions/permissions" - ], - setGithubActionsPermissionsRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories" - ], - setSelectedReposForOrgVariable: [ - "PUT /orgs/{org}/actions/variables/{name}/repositories" - ], - setSelectedRepositoriesEnabledGithubActionsOrganization: [ - "PUT /orgs/{org}/actions/permissions/repositories" - ], - setWorkflowAccessToRepository: [ - "PUT /repos/{owner}/{repo}/actions/permissions/access" - ], - updateEnvironmentVariable: [ - "PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}" - ], - updateOrgVariable: ["PATCH /orgs/{org}/actions/variables/{name}"], - updateRepoVariable: [ - "PATCH /repos/{owner}/{repo}/actions/variables/{name}" - ] - }, - activity: { - checkRepoIsStarredByAuthenticatedUser: ["GET /user/starred/{owner}/{repo}"], - deleteRepoSubscription: ["DELETE /repos/{owner}/{repo}/subscription"], - deleteThreadSubscription: [ - "DELETE /notifications/threads/{thread_id}/subscription" - ], - getFeeds: ["GET /feeds"], - getRepoSubscription: ["GET /repos/{owner}/{repo}/subscription"], - getThread: ["GET /notifications/threads/{thread_id}"], - getThreadSubscriptionForAuthenticatedUser: [ - "GET /notifications/threads/{thread_id}/subscription" - ], - listEventsForAuthenticatedUser: ["GET /users/{username}/events"], - listNotificationsForAuthenticatedUser: ["GET /notifications"], - listOrgEventsForAuthenticatedUser: [ - "GET /users/{username}/events/orgs/{org}" - ], - listPublicEvents: ["GET /events"], - listPublicEventsForRepoNetwork: ["GET /networks/{owner}/{repo}/events"], - listPublicEventsForUser: ["GET /users/{username}/events/public"], - listPublicOrgEvents: ["GET /orgs/{org}/events"], - listReceivedEventsForUser: ["GET /users/{username}/received_events"], - listReceivedPublicEventsForUser: [ - "GET /users/{username}/received_events/public" - ], - listRepoEvents: ["GET /repos/{owner}/{repo}/events"], - listRepoNotificationsForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/notifications" - ], - listReposStarredByAuthenticatedUser: ["GET /user/starred"], - listReposStarredByUser: ["GET /users/{username}/starred"], - listReposWatchedByUser: ["GET /users/{username}/subscriptions"], - listStargazersForRepo: ["GET /repos/{owner}/{repo}/stargazers"], - listWatchedReposForAuthenticatedUser: ["GET /user/subscriptions"], - listWatchersForRepo: ["GET /repos/{owner}/{repo}/subscribers"], - markNotificationsAsRead: ["PUT /notifications"], - markRepoNotificationsAsRead: ["PUT /repos/{owner}/{repo}/notifications"], - markThreadAsRead: ["PATCH /notifications/threads/{thread_id}"], - setRepoSubscription: ["PUT /repos/{owner}/{repo}/subscription"], - setThreadSubscription: [ - "PUT /notifications/threads/{thread_id}/subscription" - ], - starRepoForAuthenticatedUser: ["PUT /user/starred/{owner}/{repo}"], - unstarRepoForAuthenticatedUser: ["DELETE /user/starred/{owner}/{repo}"] - }, - apps: { - addRepoToInstallation: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}", - {}, - { renamed: ["apps", "addRepoToInstallationForAuthenticatedUser"] } - ], - addRepoToInstallationForAuthenticatedUser: [ - "PUT /user/installations/{installation_id}/repositories/{repository_id}" - ], - checkToken: ["POST /applications/{client_id}/token"], - createFromManifest: ["POST /app-manifests/{code}/conversions"], - createInstallationAccessToken: [ - "POST /app/installations/{installation_id}/access_tokens" - ], - deleteAuthorization: ["DELETE /applications/{client_id}/grant"], - deleteInstallation: ["DELETE /app/installations/{installation_id}"], - deleteToken: ["DELETE /applications/{client_id}/token"], - getAuthenticated: ["GET /app"], - getBySlug: ["GET /apps/{app_slug}"], - getInstallation: ["GET /app/installations/{installation_id}"], - getOrgInstallation: ["GET /orgs/{org}/installation"], - getRepoInstallation: ["GET /repos/{owner}/{repo}/installation"], - getSubscriptionPlanForAccount: [ - "GET /marketplace_listing/accounts/{account_id}" - ], - getSubscriptionPlanForAccountStubbed: [ - "GET /marketplace_listing/stubbed/accounts/{account_id}" - ], - getUserInstallation: ["GET /users/{username}/installation"], - getWebhookConfigForApp: ["GET /app/hook/config"], - getWebhookDelivery: ["GET /app/hook/deliveries/{delivery_id}"], - listAccountsForPlan: ["GET /marketplace_listing/plans/{plan_id}/accounts"], - listAccountsForPlanStubbed: [ - "GET /marketplace_listing/stubbed/plans/{plan_id}/accounts" - ], - listInstallationReposForAuthenticatedUser: [ - "GET /user/installations/{installation_id}/repositories" - ], - listInstallationRequestsForAuthenticatedApp: [ - "GET /app/installation-requests" - ], - listInstallations: ["GET /app/installations"], - listInstallationsForAuthenticatedUser: ["GET /user/installations"], - listPlans: ["GET /marketplace_listing/plans"], - listPlansStubbed: ["GET /marketplace_listing/stubbed/plans"], - listReposAccessibleToInstallation: ["GET /installation/repositories"], - listSubscriptionsForAuthenticatedUser: ["GET /user/marketplace_purchases"], - listSubscriptionsForAuthenticatedUserStubbed: [ - "GET /user/marketplace_purchases/stubbed" - ], - listWebhookDeliveries: ["GET /app/hook/deliveries"], - redeliverWebhookDelivery: [ - "POST /app/hook/deliveries/{delivery_id}/attempts" - ], - removeRepoFromInstallation: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}", - {}, - { renamed: ["apps", "removeRepoFromInstallationForAuthenticatedUser"] } - ], - removeRepoFromInstallationForAuthenticatedUser: [ - "DELETE /user/installations/{installation_id}/repositories/{repository_id}" - ], - resetToken: ["PATCH /applications/{client_id}/token"], - revokeInstallationAccessToken: ["DELETE /installation/token"], - scopeToken: ["POST /applications/{client_id}/token/scoped"], - suspendInstallation: ["PUT /app/installations/{installation_id}/suspended"], - unsuspendInstallation: [ - "DELETE /app/installations/{installation_id}/suspended" - ], - updateWebhookConfigForApp: ["PATCH /app/hook/config"] - }, - billing: { - getGithubActionsBillingOrg: ["GET /orgs/{org}/settings/billing/actions"], - getGithubActionsBillingUser: [ - "GET /users/{username}/settings/billing/actions" - ], - getGithubPackagesBillingOrg: ["GET /orgs/{org}/settings/billing/packages"], - getGithubPackagesBillingUser: [ - "GET /users/{username}/settings/billing/packages" - ], - getSharedStorageBillingOrg: [ - "GET /orgs/{org}/settings/billing/shared-storage" - ], - getSharedStorageBillingUser: [ - "GET /users/{username}/settings/billing/shared-storage" - ] - }, - checks: { - create: ["POST /repos/{owner}/{repo}/check-runs"], - createSuite: ["POST /repos/{owner}/{repo}/check-suites"], - get: ["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"], - getSuite: ["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"], - listAnnotations: [ - "GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations" - ], - listForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"], - listForSuite: [ - "GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs" - ], - listSuitesForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"], - rerequestRun: [ - "POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest" - ], - rerequestSuite: [ - "POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest" - ], - setSuitesPreferences: [ - "PATCH /repos/{owner}/{repo}/check-suites/preferences" - ], - update: ["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"] - }, - codeScanning: { - deleteAnalysis: [ - "DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}" - ], - getAlert: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}", - {}, - { renamedParameters: { alert_id: "alert_number" } } - ], - getAnalysis: [ - "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}" - ], - getCodeqlDatabase: [ - "GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}" - ], - getDefaultSetup: ["GET /repos/{owner}/{repo}/code-scanning/default-setup"], - getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], - listAlertInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances" - ], - listAlertsForOrg: ["GET /orgs/{org}/code-scanning/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], - listAlertsInstances: [ - "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", - {}, - { renamed: ["codeScanning", "listAlertInstances"] } - ], - listCodeqlDatabases: [ - "GET /repos/{owner}/{repo}/code-scanning/codeql/databases" - ], - listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}" - ], - updateDefaultSetup: [ - "PATCH /repos/{owner}/{repo}/code-scanning/default-setup" - ], - uploadSarif: ["POST /repos/{owner}/{repo}/code-scanning/sarifs"] - }, - codesOfConduct: { - getAllCodesOfConduct: ["GET /codes_of_conduct"], - getConductCode: ["GET /codes_of_conduct/{key}"] - }, - codespaces: { - addRepositoryForSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - checkPermissionsForDevcontainer: [ - "GET /repos/{owner}/{repo}/codespaces/permissions_check" - ], - codespaceMachinesForAuthenticatedUser: [ - "GET /user/codespaces/{codespace_name}/machines" - ], - createForAuthenticatedUser: ["POST /user/codespaces"], - createOrUpdateOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}" - ], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - createOrUpdateSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}" - ], - createWithPrForAuthenticatedUser: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces" - ], - createWithRepoForAuthenticatedUser: [ - "POST /repos/{owner}/{repo}/codespaces" - ], - deleteForAuthenticatedUser: ["DELETE /user/codespaces/{codespace_name}"], - deleteFromOrganization: [ - "DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - deleteSecretForAuthenticatedUser: [ - "DELETE /user/codespaces/secrets/{secret_name}" - ], - exportForAuthenticatedUser: [ - "POST /user/codespaces/{codespace_name}/exports" - ], - getCodespacesForUserInOrg: [ - "GET /orgs/{org}/members/{username}/codespaces" - ], - getExportDetailsForAuthenticatedUser: [ - "GET /user/codespaces/{codespace_name}/exports/{export_id}" - ], - getForAuthenticatedUser: ["GET /user/codespaces/{codespace_name}"], - getOrgPublicKey: ["GET /orgs/{org}/codespaces/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/codespaces/secrets/{secret_name}"], - getPublicKeyForAuthenticatedUser: [ - "GET /user/codespaces/secrets/public-key" - ], - getRepoPublicKey: [ - "GET /repos/{owner}/{repo}/codespaces/secrets/public-key" - ], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}" - ], - getSecretForAuthenticatedUser: [ - "GET /user/codespaces/secrets/{secret_name}" - ], - listDevcontainersInRepositoryForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/devcontainers" - ], - listForAuthenticatedUser: ["GET /user/codespaces"], - listInOrganization: [ - "GET /orgs/{org}/codespaces", - {}, - { renamedParameters: { org_id: "org" } } - ], - listInRepositoryForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces" - ], - listOrgSecrets: ["GET /orgs/{org}/codespaces/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/codespaces/secrets"], - listRepositoriesForSecretForAuthenticatedUser: [ - "GET /user/codespaces/secrets/{secret_name}/repositories" - ], - listSecretsForAuthenticatedUser: ["GET /user/codespaces/secrets"], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories" - ], - preFlightWithRepoForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/new" - ], - publishForAuthenticatedUser: [ - "POST /user/codespaces/{codespace_name}/publish" - ], - removeRepositoryForSecretForAuthenticatedUser: [ - "DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}" - ], - repoMachinesForAuthenticatedUser: [ - "GET /repos/{owner}/{repo}/codespaces/machines" - ], - setRepositoriesForSecretForAuthenticatedUser: [ - "PUT /user/codespaces/secrets/{secret_name}/repositories" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories" - ], - startForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/start"], - stopForAuthenticatedUser: ["POST /user/codespaces/{codespace_name}/stop"], - stopInOrganization: [ - "POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop" - ], - updateForAuthenticatedUser: ["PATCH /user/codespaces/{codespace_name}"] - }, - copilot: { - addCopilotForBusinessSeatsForTeams: [ - "POST /orgs/{org}/copilot/billing/selected_teams" - ], - addCopilotForBusinessSeatsForUsers: [ - "POST /orgs/{org}/copilot/billing/selected_users" - ], - cancelCopilotSeatAssignmentForTeams: [ - "DELETE /orgs/{org}/copilot/billing/selected_teams" - ], - cancelCopilotSeatAssignmentForUsers: [ - "DELETE /orgs/{org}/copilot/billing/selected_users" - ], - getCopilotOrganizationDetails: ["GET /orgs/{org}/copilot/billing"], - getCopilotSeatDetailsForUser: [ - "GET /orgs/{org}/members/{username}/copilot" - ], - listCopilotSeats: ["GET /orgs/{org}/copilot/billing/seats"] - }, - dependabot: { - addSelectedRepoToOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}" - ], - createOrUpdateOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}" - ], - createOrUpdateRepoSecret: [ - "PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - deleteOrgSecret: ["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"], - deleteRepoSecret: [ - "DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - getAlert: ["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"], - getOrgPublicKey: ["GET /orgs/{org}/dependabot/secrets/public-key"], - getOrgSecret: ["GET /orgs/{org}/dependabot/secrets/{secret_name}"], - getRepoPublicKey: [ - "GET /repos/{owner}/{repo}/dependabot/secrets/public-key" - ], - getRepoSecret: [ - "GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}" - ], - listAlertsForEnterprise: [ - "GET /enterprises/{enterprise}/dependabot/alerts" - ], - listAlertsForOrg: ["GET /orgs/{org}/dependabot/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/dependabot/alerts"], - listOrgSecrets: ["GET /orgs/{org}/dependabot/secrets"], - listRepoSecrets: ["GET /repos/{owner}/{repo}/dependabot/secrets"], - listSelectedReposForOrgSecret: [ - "GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories" - ], - removeSelectedRepoFromOrgSecret: [ - "DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}" - ], - setSelectedReposForOrgSecret: [ - "PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories" - ], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}" - ] - }, - dependencyGraph: { - createRepositorySnapshot: [ - "POST /repos/{owner}/{repo}/dependency-graph/snapshots" - ], - diffRange: [ - "GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}" - ], - exportSbom: ["GET /repos/{owner}/{repo}/dependency-graph/sbom"] - }, - emojis: { get: ["GET /emojis"] }, - gists: { - checkIsStarred: ["GET /gists/{gist_id}/star"], - create: ["POST /gists"], - createComment: ["POST /gists/{gist_id}/comments"], - delete: ["DELETE /gists/{gist_id}"], - deleteComment: ["DELETE /gists/{gist_id}/comments/{comment_id}"], - fork: ["POST /gists/{gist_id}/forks"], - get: ["GET /gists/{gist_id}"], - getComment: ["GET /gists/{gist_id}/comments/{comment_id}"], - getRevision: ["GET /gists/{gist_id}/{sha}"], - list: ["GET /gists"], - listComments: ["GET /gists/{gist_id}/comments"], - listCommits: ["GET /gists/{gist_id}/commits"], - listForUser: ["GET /users/{username}/gists"], - listForks: ["GET /gists/{gist_id}/forks"], - listPublic: ["GET /gists/public"], - listStarred: ["GET /gists/starred"], - star: ["PUT /gists/{gist_id}/star"], - unstar: ["DELETE /gists/{gist_id}/star"], - update: ["PATCH /gists/{gist_id}"], - updateComment: ["PATCH /gists/{gist_id}/comments/{comment_id}"] - }, - git: { - createBlob: ["POST /repos/{owner}/{repo}/git/blobs"], - createCommit: ["POST /repos/{owner}/{repo}/git/commits"], - createRef: ["POST /repos/{owner}/{repo}/git/refs"], - createTag: ["POST /repos/{owner}/{repo}/git/tags"], - createTree: ["POST /repos/{owner}/{repo}/git/trees"], - deleteRef: ["DELETE /repos/{owner}/{repo}/git/refs/{ref}"], - getBlob: ["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"], - getCommit: ["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"], - getRef: ["GET /repos/{owner}/{repo}/git/ref/{ref}"], - getTag: ["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"], - getTree: ["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"], - listMatchingRefs: ["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"], - updateRef: ["PATCH /repos/{owner}/{repo}/git/refs/{ref}"] - }, - gitignore: { - getAllTemplates: ["GET /gitignore/templates"], - getTemplate: ["GET /gitignore/templates/{name}"] - }, - interactions: { - getRestrictionsForAuthenticatedUser: ["GET /user/interaction-limits"], - getRestrictionsForOrg: ["GET /orgs/{org}/interaction-limits"], - getRestrictionsForRepo: ["GET /repos/{owner}/{repo}/interaction-limits"], - getRestrictionsForYourPublicRepos: [ - "GET /user/interaction-limits", - {}, - { renamed: ["interactions", "getRestrictionsForAuthenticatedUser"] } - ], - removeRestrictionsForAuthenticatedUser: ["DELETE /user/interaction-limits"], - removeRestrictionsForOrg: ["DELETE /orgs/{org}/interaction-limits"], - removeRestrictionsForRepo: [ - "DELETE /repos/{owner}/{repo}/interaction-limits" - ], - removeRestrictionsForYourPublicRepos: [ - "DELETE /user/interaction-limits", - {}, - { renamed: ["interactions", "removeRestrictionsForAuthenticatedUser"] } - ], - setRestrictionsForAuthenticatedUser: ["PUT /user/interaction-limits"], - setRestrictionsForOrg: ["PUT /orgs/{org}/interaction-limits"], - setRestrictionsForRepo: ["PUT /repos/{owner}/{repo}/interaction-limits"], - setRestrictionsForYourPublicRepos: [ - "PUT /user/interaction-limits", - {}, - { renamed: ["interactions", "setRestrictionsForAuthenticatedUser"] } - ] - }, - issues: { - addAssignees: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/assignees" - ], - addLabels: ["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"], - checkUserCanBeAssigned: ["GET /repos/{owner}/{repo}/assignees/{assignee}"], - checkUserCanBeAssignedToIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}" - ], - create: ["POST /repos/{owner}/{repo}/issues"], - createComment: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/comments" - ], - createLabel: ["POST /repos/{owner}/{repo}/labels"], - createMilestone: ["POST /repos/{owner}/{repo}/milestones"], - deleteComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}" - ], - deleteLabel: ["DELETE /repos/{owner}/{repo}/labels/{name}"], - deleteMilestone: [ - "DELETE /repos/{owner}/{repo}/milestones/{milestone_number}" - ], - get: ["GET /repos/{owner}/{repo}/issues/{issue_number}"], - getComment: ["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"], - getEvent: ["GET /repos/{owner}/{repo}/issues/events/{event_id}"], - getLabel: ["GET /repos/{owner}/{repo}/labels/{name}"], - getMilestone: ["GET /repos/{owner}/{repo}/milestones/{milestone_number}"], - list: ["GET /issues"], - listAssignees: ["GET /repos/{owner}/{repo}/assignees"], - listComments: ["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"], - listCommentsForRepo: ["GET /repos/{owner}/{repo}/issues/comments"], - listEvents: ["GET /repos/{owner}/{repo}/issues/{issue_number}/events"], - listEventsForRepo: ["GET /repos/{owner}/{repo}/issues/events"], - listEventsForTimeline: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/timeline" - ], - listForAuthenticatedUser: ["GET /user/issues"], - listForOrg: ["GET /orgs/{org}/issues"], - listForRepo: ["GET /repos/{owner}/{repo}/issues"], - listLabelsForMilestone: [ - "GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels" - ], - listLabelsForRepo: ["GET /repos/{owner}/{repo}/labels"], - listLabelsOnIssue: [ - "GET /repos/{owner}/{repo}/issues/{issue_number}/labels" - ], - listMilestones: ["GET /repos/{owner}/{repo}/milestones"], - lock: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"], - removeAllLabels: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels" - ], - removeAssignees: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees" - ], - removeLabel: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}" - ], - setLabels: ["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"], - unlock: ["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"], - update: ["PATCH /repos/{owner}/{repo}/issues/{issue_number}"], - updateComment: ["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"], - updateLabel: ["PATCH /repos/{owner}/{repo}/labels/{name}"], - updateMilestone: [ - "PATCH /repos/{owner}/{repo}/milestones/{milestone_number}" - ] - }, - licenses: { - get: ["GET /licenses/{license}"], - getAllCommonlyUsed: ["GET /licenses"], - getForRepo: ["GET /repos/{owner}/{repo}/license"] - }, - markdown: { - render: ["POST /markdown"], - renderRaw: [ - "POST /markdown/raw", - { headers: { "content-type": "text/plain; charset=utf-8" } } - ] - }, - meta: { - get: ["GET /meta"], - getAllVersions: ["GET /versions"], - getOctocat: ["GET /octocat"], - getZen: ["GET /zen"], - root: ["GET /"] - }, - migrations: { - cancelImport: [ - "DELETE /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import" - } - ], - deleteArchiveForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/archive" - ], - deleteArchiveForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/archive" - ], - downloadArchiveForOrg: [ - "GET /orgs/{org}/migrations/{migration_id}/archive" - ], - getArchiveForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/archive" - ], - getCommitAuthors: [ - "GET /repos/{owner}/{repo}/import/authors", - {}, - { - deprecated: "octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors" - } - ], - getImportStatus: [ - "GET /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status" - } - ], - getLargeFiles: [ - "GET /repos/{owner}/{repo}/import/large_files", - {}, - { - deprecated: "octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files" - } - ], - getStatusForAuthenticatedUser: ["GET /user/migrations/{migration_id}"], - getStatusForOrg: ["GET /orgs/{org}/migrations/{migration_id}"], - listForAuthenticatedUser: ["GET /user/migrations"], - listForOrg: ["GET /orgs/{org}/migrations"], - listReposForAuthenticatedUser: [ - "GET /user/migrations/{migration_id}/repositories" - ], - listReposForOrg: ["GET /orgs/{org}/migrations/{migration_id}/repositories"], - listReposForUser: [ - "GET /user/migrations/{migration_id}/repositories", - {}, - { renamed: ["migrations", "listReposForAuthenticatedUser"] } - ], - mapCommitAuthor: [ - "PATCH /repos/{owner}/{repo}/import/authors/{author_id}", - {}, - { - deprecated: "octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author" - } - ], - setLfsPreference: [ - "PATCH /repos/{owner}/{repo}/import/lfs", - {}, - { - deprecated: "octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference" - } - ], - startForAuthenticatedUser: ["POST /user/migrations"], - startForOrg: ["POST /orgs/{org}/migrations"], - startImport: [ - "PUT /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import" - } - ], - unlockRepoForAuthenticatedUser: [ - "DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock" - ], - unlockRepoForOrg: [ - "DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock" - ], - updateImport: [ - "PATCH /repos/{owner}/{repo}/import", - {}, - { - deprecated: "octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import" - } - ] - }, - orgs: { - addSecurityManagerTeam: [ - "PUT /orgs/{org}/security-managers/teams/{team_slug}" - ], - blockUser: ["PUT /orgs/{org}/blocks/{username}"], - cancelInvitation: ["DELETE /orgs/{org}/invitations/{invitation_id}"], - checkBlockedUser: ["GET /orgs/{org}/blocks/{username}"], - checkMembershipForUser: ["GET /orgs/{org}/members/{username}"], - checkPublicMembershipForUser: ["GET /orgs/{org}/public_members/{username}"], - convertMemberToOutsideCollaborator: [ - "PUT /orgs/{org}/outside_collaborators/{username}" - ], - createInvitation: ["POST /orgs/{org}/invitations"], - createOrUpdateCustomProperties: ["PATCH /orgs/{org}/properties/schema"], - createOrUpdateCustomPropertiesValuesForRepos: [ - "PATCH /orgs/{org}/properties/values" - ], - createOrUpdateCustomProperty: [ - "PUT /orgs/{org}/properties/schema/{custom_property_name}" - ], - createWebhook: ["POST /orgs/{org}/hooks"], - delete: ["DELETE /orgs/{org}"], - deleteWebhook: ["DELETE /orgs/{org}/hooks/{hook_id}"], - enableOrDisableSecurityProductOnAllOrgRepos: [ - "POST /orgs/{org}/{security_product}/{enablement}" - ], - get: ["GET /orgs/{org}"], - getAllCustomProperties: ["GET /orgs/{org}/properties/schema"], - getCustomProperty: [ - "GET /orgs/{org}/properties/schema/{custom_property_name}" - ], - getMembershipForAuthenticatedUser: ["GET /user/memberships/orgs/{org}"], - getMembershipForUser: ["GET /orgs/{org}/memberships/{username}"], - getWebhook: ["GET /orgs/{org}/hooks/{hook_id}"], - getWebhookConfigForOrg: ["GET /orgs/{org}/hooks/{hook_id}/config"], - getWebhookDelivery: [ - "GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}" - ], - list: ["GET /organizations"], - listAppInstallations: ["GET /orgs/{org}/installations"], - listBlockedUsers: ["GET /orgs/{org}/blocks"], - listCustomPropertiesValuesForRepos: ["GET /orgs/{org}/properties/values"], - listFailedInvitations: ["GET /orgs/{org}/failed_invitations"], - listForAuthenticatedUser: ["GET /user/orgs"], - listForUser: ["GET /users/{username}/orgs"], - listInvitationTeams: ["GET /orgs/{org}/invitations/{invitation_id}/teams"], - listMembers: ["GET /orgs/{org}/members"], - listMembershipsForAuthenticatedUser: ["GET /user/memberships/orgs"], - listOutsideCollaborators: ["GET /orgs/{org}/outside_collaborators"], - listPatGrantRepositories: [ - "GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories" - ], - listPatGrantRequestRepositories: [ - "GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories" - ], - listPatGrantRequests: ["GET /orgs/{org}/personal-access-token-requests"], - listPatGrants: ["GET /orgs/{org}/personal-access-tokens"], - listPendingInvitations: ["GET /orgs/{org}/invitations"], - listPublicMembers: ["GET /orgs/{org}/public_members"], - listSecurityManagerTeams: ["GET /orgs/{org}/security-managers"], - listWebhookDeliveries: ["GET /orgs/{org}/hooks/{hook_id}/deliveries"], - listWebhooks: ["GET /orgs/{org}/hooks"], - pingWebhook: ["POST /orgs/{org}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts" - ], - removeCustomProperty: [ - "DELETE /orgs/{org}/properties/schema/{custom_property_name}" - ], - removeMember: ["DELETE /orgs/{org}/members/{username}"], - removeMembershipForUser: ["DELETE /orgs/{org}/memberships/{username}"], - removeOutsideCollaborator: [ - "DELETE /orgs/{org}/outside_collaborators/{username}" - ], - removePublicMembershipForAuthenticatedUser: [ - "DELETE /orgs/{org}/public_members/{username}" - ], - removeSecurityManagerTeam: [ - "DELETE /orgs/{org}/security-managers/teams/{team_slug}" - ], - reviewPatGrantRequest: [ - "POST /orgs/{org}/personal-access-token-requests/{pat_request_id}" - ], - reviewPatGrantRequestsInBulk: [ - "POST /orgs/{org}/personal-access-token-requests" - ], - setMembershipForUser: ["PUT /orgs/{org}/memberships/{username}"], - setPublicMembershipForAuthenticatedUser: [ - "PUT /orgs/{org}/public_members/{username}" - ], - unblockUser: ["DELETE /orgs/{org}/blocks/{username}"], - update: ["PATCH /orgs/{org}"], - updateMembershipForAuthenticatedUser: [ - "PATCH /user/memberships/orgs/{org}" - ], - updatePatAccess: ["POST /orgs/{org}/personal-access-tokens/{pat_id}"], - updatePatAccesses: ["POST /orgs/{org}/personal-access-tokens"], - updateWebhook: ["PATCH /orgs/{org}/hooks/{hook_id}"], - updateWebhookConfigForOrg: ["PATCH /orgs/{org}/hooks/{hook_id}/config"] - }, - packages: { - deletePackageForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}" - ], - deletePackageForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}" - ], - deletePackageForUser: [ - "DELETE /users/{username}/packages/{package_type}/{package_name}" - ], - deletePackageVersionForAuthenticatedUser: [ - "DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - deletePackageVersionForOrg: [ - "DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - deletePackageVersionForUser: [ - "DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getAllPackageVersionsForAPackageOwnedByAnOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions", - {}, - { renamed: ["packages", "getAllPackageVersionsForPackageOwnedByOrg"] } - ], - getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions", - {}, - { - renamed: [ - "packages", - "getAllPackageVersionsForPackageOwnedByAuthenticatedUser" - ] - } - ], - getAllPackageVersionsForPackageOwnedByAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions" - ], - getAllPackageVersionsForPackageOwnedByOrg: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions" - ], - getAllPackageVersionsForPackageOwnedByUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions" - ], - getPackageForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}" - ], - getPackageForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}" - ], - getPackageForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}" - ], - getPackageVersionForAuthenticatedUser: [ - "GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getPackageVersionForOrganization: [ - "GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - getPackageVersionForUser: [ - "GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}" - ], - listDockerMigrationConflictingPackagesForAuthenticatedUser: [ - "GET /user/docker/conflicts" - ], - listDockerMigrationConflictingPackagesForOrganization: [ - "GET /orgs/{org}/docker/conflicts" - ], - listDockerMigrationConflictingPackagesForUser: [ - "GET /users/{username}/docker/conflicts" - ], - listPackagesForAuthenticatedUser: ["GET /user/packages"], - listPackagesForOrganization: ["GET /orgs/{org}/packages"], - listPackagesForUser: ["GET /users/{username}/packages"], - restorePackageForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageForUser: [ - "POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}" - ], - restorePackageVersionForAuthenticatedUser: [ - "POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ], - restorePackageVersionForOrg: [ - "POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ], - restorePackageVersionForUser: [ - "POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore" - ] - }, - projects: { - addCollaborator: ["PUT /projects/{project_id}/collaborators/{username}"], - createCard: ["POST /projects/columns/{column_id}/cards"], - createColumn: ["POST /projects/{project_id}/columns"], - createForAuthenticatedUser: ["POST /user/projects"], - createForOrg: ["POST /orgs/{org}/projects"], - createForRepo: ["POST /repos/{owner}/{repo}/projects"], - delete: ["DELETE /projects/{project_id}"], - deleteCard: ["DELETE /projects/columns/cards/{card_id}"], - deleteColumn: ["DELETE /projects/columns/{column_id}"], - get: ["GET /projects/{project_id}"], - getCard: ["GET /projects/columns/cards/{card_id}"], - getColumn: ["GET /projects/columns/{column_id}"], - getPermissionForUser: [ - "GET /projects/{project_id}/collaborators/{username}/permission" - ], - listCards: ["GET /projects/columns/{column_id}/cards"], - listCollaborators: ["GET /projects/{project_id}/collaborators"], - listColumns: ["GET /projects/{project_id}/columns"], - listForOrg: ["GET /orgs/{org}/projects"], - listForRepo: ["GET /repos/{owner}/{repo}/projects"], - listForUser: ["GET /users/{username}/projects"], - moveCard: ["POST /projects/columns/cards/{card_id}/moves"], - moveColumn: ["POST /projects/columns/{column_id}/moves"], - removeCollaborator: [ - "DELETE /projects/{project_id}/collaborators/{username}" - ], - update: ["PATCH /projects/{project_id}"], - updateCard: ["PATCH /projects/columns/cards/{card_id}"], - updateColumn: ["PATCH /projects/columns/{column_id}"] - }, - pulls: { - checkIfMerged: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - create: ["POST /repos/{owner}/{repo}/pulls"], - createReplyForReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies" - ], - createReview: ["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - createReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/comments" - ], - deletePendingReview: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - deleteReviewComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}" - ], - dismissReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals" - ], - get: ["GET /repos/{owner}/{repo}/pulls/{pull_number}"], - getReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - getReviewComment: ["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"], - list: ["GET /repos/{owner}/{repo}/pulls"], - listCommentsForReview: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments" - ], - listCommits: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"], - listFiles: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"], - listRequestedReviewers: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - listReviewComments: [ - "GET /repos/{owner}/{repo}/pulls/{pull_number}/comments" - ], - listReviewCommentsForRepo: ["GET /repos/{owner}/{repo}/pulls/comments"], - listReviews: ["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"], - merge: ["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"], - removeRequestedReviewers: [ - "DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - requestReviewers: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers" - ], - submitReview: [ - "POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events" - ], - update: ["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"], - updateBranch: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch" - ], - updateReview: [ - "PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}" - ], - updateReviewComment: [ - "PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}" - ] - }, - rateLimit: { get: ["GET /rate_limit"] }, - reactions: { - createForCommitComment: [ - "POST /repos/{owner}/{repo}/comments/{comment_id}/reactions" - ], - createForIssue: [ - "POST /repos/{owner}/{repo}/issues/{issue_number}/reactions" - ], - createForIssueComment: [ - "POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions" - ], - createForPullRequestReviewComment: [ - "POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions" - ], - createForRelease: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/reactions" - ], - createForTeamDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions" - ], - createForTeamDiscussionInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions" - ], - deleteForCommitComment: [ - "DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForIssue: [ - "DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}" - ], - deleteForIssueComment: [ - "DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForPullRequestComment: [ - "DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}" - ], - deleteForRelease: [ - "DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}" - ], - deleteForTeamDiscussion: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}" - ], - deleteForTeamDiscussionComment: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}" - ], - listForCommitComment: [ - "GET /repos/{owner}/{repo}/comments/{comment_id}/reactions" - ], - listForIssue: ["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"], - listForIssueComment: [ - "GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions" - ], - listForPullRequestReviewComment: [ - "GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions" - ], - listForRelease: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/reactions" - ], - listForTeamDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions" - ], - listForTeamDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions" - ] - }, - repos: { - acceptInvitation: [ - "PATCH /user/repository_invitations/{invitation_id}", - {}, - { renamed: ["repos", "acceptInvitationForAuthenticatedUser"] } - ], - acceptInvitationForAuthenticatedUser: [ - "PATCH /user/repository_invitations/{invitation_id}" - ], - addAppAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - addCollaborator: ["PUT /repos/{owner}/{repo}/collaborators/{username}"], - addStatusCheckContexts: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - addTeamAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - addUserAccessRestrictions: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - checkAutomatedSecurityFixes: [ - "GET /repos/{owner}/{repo}/automated-security-fixes" - ], - checkCollaborator: ["GET /repos/{owner}/{repo}/collaborators/{username}"], - checkVulnerabilityAlerts: [ - "GET /repos/{owner}/{repo}/vulnerability-alerts" - ], - codeownersErrors: ["GET /repos/{owner}/{repo}/codeowners/errors"], - compareCommits: ["GET /repos/{owner}/{repo}/compare/{base}...{head}"], - compareCommitsWithBasehead: [ - "GET /repos/{owner}/{repo}/compare/{basehead}" - ], - createAutolink: ["POST /repos/{owner}/{repo}/autolinks"], - createCommitComment: [ - "POST /repos/{owner}/{repo}/commits/{commit_sha}/comments" - ], - createCommitSignatureProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - createCommitStatus: ["POST /repos/{owner}/{repo}/statuses/{sha}"], - createDeployKey: ["POST /repos/{owner}/{repo}/keys"], - createDeployment: ["POST /repos/{owner}/{repo}/deployments"], - createDeploymentBranchPolicy: [ - "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies" - ], - createDeploymentProtectionRule: [ - "POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules" - ], - createDeploymentStatus: [ - "POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses" - ], - createDispatchEvent: ["POST /repos/{owner}/{repo}/dispatches"], - createForAuthenticatedUser: ["POST /user/repos"], - createFork: ["POST /repos/{owner}/{repo}/forks"], - createInOrg: ["POST /orgs/{org}/repos"], - createOrUpdateEnvironment: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}" - ], - createOrUpdateFileContents: ["PUT /repos/{owner}/{repo}/contents/{path}"], - createOrgRuleset: ["POST /orgs/{org}/rulesets"], - createPagesDeployment: ["POST /repos/{owner}/{repo}/pages/deployment"], - createPagesSite: ["POST /repos/{owner}/{repo}/pages"], - createRelease: ["POST /repos/{owner}/{repo}/releases"], - createRepoRuleset: ["POST /repos/{owner}/{repo}/rulesets"], - createTagProtection: ["POST /repos/{owner}/{repo}/tags/protection"], - createUsingTemplate: [ - "POST /repos/{template_owner}/{template_repo}/generate" - ], - createWebhook: ["POST /repos/{owner}/{repo}/hooks"], - declineInvitation: [ - "DELETE /user/repository_invitations/{invitation_id}", - {}, - { renamed: ["repos", "declineInvitationForAuthenticatedUser"] } - ], - declineInvitationForAuthenticatedUser: [ - "DELETE /user/repository_invitations/{invitation_id}" - ], - delete: ["DELETE /repos/{owner}/{repo}"], - deleteAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions" - ], - deleteAdminBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - deleteAnEnvironment: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}" - ], - deleteAutolink: ["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"], - deleteBranchProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection" - ], - deleteCommitComment: ["DELETE /repos/{owner}/{repo}/comments/{comment_id}"], - deleteCommitSignatureProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - deleteDeployKey: ["DELETE /repos/{owner}/{repo}/keys/{key_id}"], - deleteDeployment: [ - "DELETE /repos/{owner}/{repo}/deployments/{deployment_id}" - ], - deleteDeploymentBranchPolicy: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - deleteFile: ["DELETE /repos/{owner}/{repo}/contents/{path}"], - deleteInvitation: [ - "DELETE /repos/{owner}/{repo}/invitations/{invitation_id}" - ], - deleteOrgRuleset: ["DELETE /orgs/{org}/rulesets/{ruleset_id}"], - deletePagesSite: ["DELETE /repos/{owner}/{repo}/pages"], - deletePullRequestReviewProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - deleteRelease: ["DELETE /repos/{owner}/{repo}/releases/{release_id}"], - deleteReleaseAsset: [ - "DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}" - ], - deleteRepoRuleset: ["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - deleteTagProtection: [ - "DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}" - ], - deleteWebhook: ["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"], - disableAutomatedSecurityFixes: [ - "DELETE /repos/{owner}/{repo}/automated-security-fixes" - ], - disableDeploymentProtectionRule: [ - "DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}" - ], - disablePrivateVulnerabilityReporting: [ - "DELETE /repos/{owner}/{repo}/private-vulnerability-reporting" - ], - disableVulnerabilityAlerts: [ - "DELETE /repos/{owner}/{repo}/vulnerability-alerts" - ], - downloadArchive: [ - "GET /repos/{owner}/{repo}/zipball/{ref}", - {}, - { renamed: ["repos", "downloadZipballArchive"] } - ], - downloadTarballArchive: ["GET /repos/{owner}/{repo}/tarball/{ref}"], - downloadZipballArchive: ["GET /repos/{owner}/{repo}/zipball/{ref}"], - enableAutomatedSecurityFixes: [ - "PUT /repos/{owner}/{repo}/automated-security-fixes" - ], - enablePrivateVulnerabilityReporting: [ - "PUT /repos/{owner}/{repo}/private-vulnerability-reporting" - ], - enableVulnerabilityAlerts: [ - "PUT /repos/{owner}/{repo}/vulnerability-alerts" - ], - generateReleaseNotes: [ - "POST /repos/{owner}/{repo}/releases/generate-notes" - ], - get: ["GET /repos/{owner}/{repo}"], - getAccessRestrictions: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions" - ], - getAdminBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - getAllDeploymentProtectionRules: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules" - ], - getAllEnvironments: ["GET /repos/{owner}/{repo}/environments"], - getAllStatusCheckContexts: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts" - ], - getAllTopics: ["GET /repos/{owner}/{repo}/topics"], - getAppsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps" - ], - getAutolink: ["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"], - getBranch: ["GET /repos/{owner}/{repo}/branches/{branch}"], - getBranchProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection" - ], - getBranchRules: ["GET /repos/{owner}/{repo}/rules/branches/{branch}"], - getClones: ["GET /repos/{owner}/{repo}/traffic/clones"], - getCodeFrequencyStats: ["GET /repos/{owner}/{repo}/stats/code_frequency"], - getCollaboratorPermissionLevel: [ - "GET /repos/{owner}/{repo}/collaborators/{username}/permission" - ], - getCombinedStatusForRef: ["GET /repos/{owner}/{repo}/commits/{ref}/status"], - getCommit: ["GET /repos/{owner}/{repo}/commits/{ref}"], - getCommitActivityStats: ["GET /repos/{owner}/{repo}/stats/commit_activity"], - getCommitComment: ["GET /repos/{owner}/{repo}/comments/{comment_id}"], - getCommitSignatureProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures" - ], - getCommunityProfileMetrics: ["GET /repos/{owner}/{repo}/community/profile"], - getContent: ["GET /repos/{owner}/{repo}/contents/{path}"], - getContributorsStats: ["GET /repos/{owner}/{repo}/stats/contributors"], - getCustomDeploymentProtectionRule: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}" - ], - getCustomPropertiesValues: ["GET /repos/{owner}/{repo}/properties/values"], - getDeployKey: ["GET /repos/{owner}/{repo}/keys/{key_id}"], - getDeployment: ["GET /repos/{owner}/{repo}/deployments/{deployment_id}"], - getDeploymentBranchPolicy: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - getDeploymentStatus: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}" - ], - getEnvironment: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}" - ], - getLatestPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/latest"], - getLatestRelease: ["GET /repos/{owner}/{repo}/releases/latest"], - getOrgRuleSuite: ["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"], - getOrgRuleSuites: ["GET /orgs/{org}/rulesets/rule-suites"], - getOrgRuleset: ["GET /orgs/{org}/rulesets/{ruleset_id}"], - getOrgRulesets: ["GET /orgs/{org}/rulesets"], - getPages: ["GET /repos/{owner}/{repo}/pages"], - getPagesBuild: ["GET /repos/{owner}/{repo}/pages/builds/{build_id}"], - getPagesHealthCheck: ["GET /repos/{owner}/{repo}/pages/health"], - getParticipationStats: ["GET /repos/{owner}/{repo}/stats/participation"], - getPullRequestReviewProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - getPunchCardStats: ["GET /repos/{owner}/{repo}/stats/punch_card"], - getReadme: ["GET /repos/{owner}/{repo}/readme"], - getReadmeInDirectory: ["GET /repos/{owner}/{repo}/readme/{dir}"], - getRelease: ["GET /repos/{owner}/{repo}/releases/{release_id}"], - getReleaseAsset: ["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"], - getReleaseByTag: ["GET /repos/{owner}/{repo}/releases/tags/{tag}"], - getRepoRuleSuite: [ - "GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}" - ], - getRepoRuleSuites: ["GET /repos/{owner}/{repo}/rulesets/rule-suites"], - getRepoRuleset: ["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - getRepoRulesets: ["GET /repos/{owner}/{repo}/rulesets"], - getStatusChecksProtection: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - getTeamsWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams" - ], - getTopPaths: ["GET /repos/{owner}/{repo}/traffic/popular/paths"], - getTopReferrers: ["GET /repos/{owner}/{repo}/traffic/popular/referrers"], - getUsersWithAccessToProtectedBranch: [ - "GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users" - ], - getViews: ["GET /repos/{owner}/{repo}/traffic/views"], - getWebhook: ["GET /repos/{owner}/{repo}/hooks/{hook_id}"], - getWebhookConfigForRepo: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/config" - ], - getWebhookDelivery: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}" - ], - listActivities: ["GET /repos/{owner}/{repo}/activity"], - listAutolinks: ["GET /repos/{owner}/{repo}/autolinks"], - listBranches: ["GET /repos/{owner}/{repo}/branches"], - listBranchesForHeadCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head" - ], - listCollaborators: ["GET /repos/{owner}/{repo}/collaborators"], - listCommentsForCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/comments" - ], - listCommitCommentsForRepo: ["GET /repos/{owner}/{repo}/comments"], - listCommitStatusesForRef: [ - "GET /repos/{owner}/{repo}/commits/{ref}/statuses" - ], - listCommits: ["GET /repos/{owner}/{repo}/commits"], - listContributors: ["GET /repos/{owner}/{repo}/contributors"], - listCustomDeploymentRuleIntegrations: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps" - ], - listDeployKeys: ["GET /repos/{owner}/{repo}/keys"], - listDeploymentBranchPolicies: [ - "GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies" - ], - listDeploymentStatuses: [ - "GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses" - ], - listDeployments: ["GET /repos/{owner}/{repo}/deployments"], - listForAuthenticatedUser: ["GET /user/repos"], - listForOrg: ["GET /orgs/{org}/repos"], - listForUser: ["GET /users/{username}/repos"], - listForks: ["GET /repos/{owner}/{repo}/forks"], - listInvitations: ["GET /repos/{owner}/{repo}/invitations"], - listInvitationsForAuthenticatedUser: ["GET /user/repository_invitations"], - listLanguages: ["GET /repos/{owner}/{repo}/languages"], - listPagesBuilds: ["GET /repos/{owner}/{repo}/pages/builds"], - listPublic: ["GET /repositories"], - listPullRequestsAssociatedWithCommit: [ - "GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls" - ], - listReleaseAssets: [ - "GET /repos/{owner}/{repo}/releases/{release_id}/assets" - ], - listReleases: ["GET /repos/{owner}/{repo}/releases"], - listTagProtection: ["GET /repos/{owner}/{repo}/tags/protection"], - listTags: ["GET /repos/{owner}/{repo}/tags"], - listTeams: ["GET /repos/{owner}/{repo}/teams"], - listWebhookDeliveries: [ - "GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries" - ], - listWebhooks: ["GET /repos/{owner}/{repo}/hooks"], - merge: ["POST /repos/{owner}/{repo}/merges"], - mergeUpstream: ["POST /repos/{owner}/{repo}/merge-upstream"], - pingWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"], - redeliverWebhookDelivery: [ - "POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts" - ], - removeAppAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - removeCollaborator: [ - "DELETE /repos/{owner}/{repo}/collaborators/{username}" - ], - removeStatusCheckContexts: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - removeStatusCheckProtection: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - removeTeamAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - removeUserAccessRestrictions: [ - "DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - renameBranch: ["POST /repos/{owner}/{repo}/branches/{branch}/rename"], - replaceAllTopics: ["PUT /repos/{owner}/{repo}/topics"], - requestPagesBuild: ["POST /repos/{owner}/{repo}/pages/builds"], - setAdminBranchProtection: [ - "POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins" - ], - setAppAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps", - {}, - { mapToData: "apps" } - ], - setStatusCheckContexts: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts", - {}, - { mapToData: "contexts" } - ], - setTeamAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams", - {}, - { mapToData: "teams" } - ], - setUserAccessRestrictions: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users", - {}, - { mapToData: "users" } - ], - testPushWebhook: ["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"], - transfer: ["POST /repos/{owner}/{repo}/transfer"], - update: ["PATCH /repos/{owner}/{repo}"], - updateBranchProtection: [ - "PUT /repos/{owner}/{repo}/branches/{branch}/protection" - ], - updateCommitComment: ["PATCH /repos/{owner}/{repo}/comments/{comment_id}"], - updateDeploymentBranchPolicy: [ - "PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}" - ], - updateInformationAboutPagesSite: ["PUT /repos/{owner}/{repo}/pages"], - updateInvitation: [ - "PATCH /repos/{owner}/{repo}/invitations/{invitation_id}" - ], - updateOrgRuleset: ["PUT /orgs/{org}/rulesets/{ruleset_id}"], - updatePullRequestReviewProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews" - ], - updateRelease: ["PATCH /repos/{owner}/{repo}/releases/{release_id}"], - updateReleaseAsset: [ - "PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}" - ], - updateRepoRuleset: ["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"], - updateStatusCheckPotection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks", - {}, - { renamed: ["repos", "updateStatusCheckProtection"] } - ], - updateStatusCheckProtection: [ - "PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks" - ], - updateWebhook: ["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"], - updateWebhookConfigForRepo: [ - "PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config" - ], - uploadReleaseAsset: [ - "POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}", - { baseUrl: "https://uploads.github.com" } - ] - }, - search: { - code: ["GET /search/code"], - commits: ["GET /search/commits"], - issuesAndPullRequests: ["GET /search/issues"], - labels: ["GET /search/labels"], - repos: ["GET /search/repositories"], - topics: ["GET /search/topics"], - users: ["GET /search/users"] - }, - secretScanning: { - getAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}" - ], - listAlertsForEnterprise: [ - "GET /enterprises/{enterprise}/secret-scanning/alerts" - ], - listAlertsForOrg: ["GET /orgs/{org}/secret-scanning/alerts"], - listAlertsForRepo: ["GET /repos/{owner}/{repo}/secret-scanning/alerts"], - listLocationsForAlert: [ - "GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations" - ], - updateAlert: [ - "PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}" - ] - }, - securityAdvisories: { - createPrivateVulnerabilityReport: [ - "POST /repos/{owner}/{repo}/security-advisories/reports" - ], - createRepositoryAdvisory: [ - "POST /repos/{owner}/{repo}/security-advisories" - ], - createRepositoryAdvisoryCveRequest: [ - "POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve" - ], - getGlobalAdvisory: ["GET /advisories/{ghsa_id}"], - getRepositoryAdvisory: [ - "GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}" - ], - listGlobalAdvisories: ["GET /advisories"], - listOrgRepositoryAdvisories: ["GET /orgs/{org}/security-advisories"], - listRepositoryAdvisories: ["GET /repos/{owner}/{repo}/security-advisories"], - updateRepositoryAdvisory: [ - "PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}" - ] - }, - teams: { - addOrUpdateMembershipForUserInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - addOrUpdateProjectPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - addOrUpdateRepoPermissionsInOrg: [ - "PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - checkPermissionsForProjectInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - checkPermissionsForRepoInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - create: ["POST /orgs/{org}/teams"], - createDiscussionCommentInOrg: [ - "POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments" - ], - createDiscussionInOrg: ["POST /orgs/{org}/teams/{team_slug}/discussions"], - deleteDiscussionCommentInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - deleteDiscussionInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - deleteInOrg: ["DELETE /orgs/{org}/teams/{team_slug}"], - getByName: ["GET /orgs/{org}/teams/{team_slug}"], - getDiscussionCommentInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - getDiscussionInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - getMembershipForUserInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - list: ["GET /orgs/{org}/teams"], - listChildInOrg: ["GET /orgs/{org}/teams/{team_slug}/teams"], - listDiscussionCommentsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments" - ], - listDiscussionsInOrg: ["GET /orgs/{org}/teams/{team_slug}/discussions"], - listForAuthenticatedUser: ["GET /user/teams"], - listMembersInOrg: ["GET /orgs/{org}/teams/{team_slug}/members"], - listPendingInvitationsInOrg: [ - "GET /orgs/{org}/teams/{team_slug}/invitations" - ], - listProjectsInOrg: ["GET /orgs/{org}/teams/{team_slug}/projects"], - listReposInOrg: ["GET /orgs/{org}/teams/{team_slug}/repos"], - removeMembershipForUserInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}" - ], - removeProjectInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}" - ], - removeRepoInOrg: [ - "DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}" - ], - updateDiscussionCommentInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}" - ], - updateDiscussionInOrg: [ - "PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}" - ], - updateInOrg: ["PATCH /orgs/{org}/teams/{team_slug}"] - }, - users: { - addEmailForAuthenticated: [ - "POST /user/emails", - {}, - { renamed: ["users", "addEmailForAuthenticatedUser"] } - ], - addEmailForAuthenticatedUser: ["POST /user/emails"], - addSocialAccountForAuthenticatedUser: ["POST /user/social_accounts"], - block: ["PUT /user/blocks/{username}"], - checkBlocked: ["GET /user/blocks/{username}"], - checkFollowingForUser: ["GET /users/{username}/following/{target_user}"], - checkPersonIsFollowedByAuthenticated: ["GET /user/following/{username}"], - createGpgKeyForAuthenticated: [ - "POST /user/gpg_keys", - {}, - { renamed: ["users", "createGpgKeyForAuthenticatedUser"] } - ], - createGpgKeyForAuthenticatedUser: ["POST /user/gpg_keys"], - createPublicSshKeyForAuthenticated: [ - "POST /user/keys", - {}, - { renamed: ["users", "createPublicSshKeyForAuthenticatedUser"] } - ], - createPublicSshKeyForAuthenticatedUser: ["POST /user/keys"], - createSshSigningKeyForAuthenticatedUser: ["POST /user/ssh_signing_keys"], - deleteEmailForAuthenticated: [ - "DELETE /user/emails", - {}, - { renamed: ["users", "deleteEmailForAuthenticatedUser"] } - ], - deleteEmailForAuthenticatedUser: ["DELETE /user/emails"], - deleteGpgKeyForAuthenticated: [ - "DELETE /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "deleteGpgKeyForAuthenticatedUser"] } - ], - deleteGpgKeyForAuthenticatedUser: ["DELETE /user/gpg_keys/{gpg_key_id}"], - deletePublicSshKeyForAuthenticated: [ - "DELETE /user/keys/{key_id}", - {}, - { renamed: ["users", "deletePublicSshKeyForAuthenticatedUser"] } - ], - deletePublicSshKeyForAuthenticatedUser: ["DELETE /user/keys/{key_id}"], - deleteSocialAccountForAuthenticatedUser: ["DELETE /user/social_accounts"], - deleteSshSigningKeyForAuthenticatedUser: [ - "DELETE /user/ssh_signing_keys/{ssh_signing_key_id}" - ], - follow: ["PUT /user/following/{username}"], - getAuthenticated: ["GET /user"], - getByUsername: ["GET /users/{username}"], - getContextForUser: ["GET /users/{username}/hovercard"], - getGpgKeyForAuthenticated: [ - "GET /user/gpg_keys/{gpg_key_id}", - {}, - { renamed: ["users", "getGpgKeyForAuthenticatedUser"] } - ], - getGpgKeyForAuthenticatedUser: ["GET /user/gpg_keys/{gpg_key_id}"], - getPublicSshKeyForAuthenticated: [ - "GET /user/keys/{key_id}", - {}, - { renamed: ["users", "getPublicSshKeyForAuthenticatedUser"] } - ], - getPublicSshKeyForAuthenticatedUser: ["GET /user/keys/{key_id}"], - getSshSigningKeyForAuthenticatedUser: [ - "GET /user/ssh_signing_keys/{ssh_signing_key_id}" - ], - list: ["GET /users"], - listBlockedByAuthenticated: [ - "GET /user/blocks", - {}, - { renamed: ["users", "listBlockedByAuthenticatedUser"] } - ], - listBlockedByAuthenticatedUser: ["GET /user/blocks"], - listEmailsForAuthenticated: [ - "GET /user/emails", - {}, - { renamed: ["users", "listEmailsForAuthenticatedUser"] } - ], - listEmailsForAuthenticatedUser: ["GET /user/emails"], - listFollowedByAuthenticated: [ - "GET /user/following", - {}, - { renamed: ["users", "listFollowedByAuthenticatedUser"] } - ], - listFollowedByAuthenticatedUser: ["GET /user/following"], - listFollowersForAuthenticatedUser: ["GET /user/followers"], - listFollowersForUser: ["GET /users/{username}/followers"], - listFollowingForUser: ["GET /users/{username}/following"], - listGpgKeysForAuthenticated: [ - "GET /user/gpg_keys", - {}, - { renamed: ["users", "listGpgKeysForAuthenticatedUser"] } - ], - listGpgKeysForAuthenticatedUser: ["GET /user/gpg_keys"], - listGpgKeysForUser: ["GET /users/{username}/gpg_keys"], - listPublicEmailsForAuthenticated: [ - "GET /user/public_emails", - {}, - { renamed: ["users", "listPublicEmailsForAuthenticatedUser"] } - ], - listPublicEmailsForAuthenticatedUser: ["GET /user/public_emails"], - listPublicKeysForUser: ["GET /users/{username}/keys"], - listPublicSshKeysForAuthenticated: [ - "GET /user/keys", - {}, - { renamed: ["users", "listPublicSshKeysForAuthenticatedUser"] } - ], - listPublicSshKeysForAuthenticatedUser: ["GET /user/keys"], - listSocialAccountsForAuthenticatedUser: ["GET /user/social_accounts"], - listSocialAccountsForUser: ["GET /users/{username}/social_accounts"], - listSshSigningKeysForAuthenticatedUser: ["GET /user/ssh_signing_keys"], - listSshSigningKeysForUser: ["GET /users/{username}/ssh_signing_keys"], - setPrimaryEmailVisibilityForAuthenticated: [ - "PATCH /user/email/visibility", - {}, - { renamed: ["users", "setPrimaryEmailVisibilityForAuthenticatedUser"] } - ], - setPrimaryEmailVisibilityForAuthenticatedUser: [ - "PATCH /user/email/visibility" - ], - unblock: ["DELETE /user/blocks/{username}"], - unfollow: ["DELETE /user/following/{username}"], - updateAuthenticated: ["PATCH /user"] - } -}; -var endpoints_default = Endpoints; - -// pkg/dist-src/endpoints-to-methods.js -var endpointMethodsMap = /* @__PURE__ */ new Map(); -for (const [scope, endpoints] of Object.entries(endpoints_default)) { - for (const [methodName, endpoint] of Object.entries(endpoints)) { - const [route, defaults, decorations] = endpoint; - const [method, url] = route.split(/ /); - const endpointDefaults = Object.assign( - { - method, - url - }, - defaults - ); - if (!endpointMethodsMap.has(scope)) { - endpointMethodsMap.set(scope, /* @__PURE__ */ new Map()); - } - endpointMethodsMap.get(scope).set(methodName, { - scope, - methodName, - endpointDefaults, - decorations - }); - } -} -var handler = { - has({ scope }, methodName) { - return endpointMethodsMap.get(scope).has(methodName); - }, - getOwnPropertyDescriptor(target, methodName) { - return { - value: this.get(target, methodName), - // ensures method is in the cache - configurable: true, - writable: true, - enumerable: true - }; - }, - defineProperty(target, methodName, descriptor) { - Object.defineProperty(target.cache, methodName, descriptor); - return true; - }, - deleteProperty(target, methodName) { - delete target.cache[methodName]; - return true; - }, - ownKeys({ scope }) { - return [...endpointMethodsMap.get(scope).keys()]; - }, - set(target, methodName, value) { - return target.cache[methodName] = value; - }, - get({ octokit, scope, cache }, methodName) { - if (cache[methodName]) { - return cache[methodName]; - } - const method = endpointMethodsMap.get(scope).get(methodName); - if (!method) { - return void 0; - } - const { endpointDefaults, decorations } = method; - if (decorations) { - cache[methodName] = decorate( - octokit, - scope, - methodName, - endpointDefaults, - decorations - ); - } else { - cache[methodName] = octokit.request.defaults(endpointDefaults); - } - return cache[methodName]; - } -}; -function endpointsToMethods(octokit) { - const newMethods = {}; - for (const scope of endpointMethodsMap.keys()) { - newMethods[scope] = new Proxy({ octokit, scope, cache: {} }, handler); - } - return newMethods; -} -function decorate(octokit, scope, methodName, defaults, decorations) { - const requestWithDefaults = octokit.request.defaults(defaults); - function withDecorations(...args) { - let options = requestWithDefaults.endpoint.merge(...args); - if (decorations.mapToData) { - options = Object.assign({}, options, { - data: options[decorations.mapToData], - [decorations.mapToData]: void 0 - }); - return requestWithDefaults(options); - } - if (decorations.renamed) { - const [newScope, newMethodName] = decorations.renamed; - octokit.log.warn( - `octokit.${scope}.${methodName}() has been renamed to octokit.${newScope}.${newMethodName}()` - ); - } - if (decorations.deprecated) { - octokit.log.warn(decorations.deprecated); - } - if (decorations.renamedParameters) { - const options2 = requestWithDefaults.endpoint.merge(...args); - for (const [name, alias] of Object.entries( - decorations.renamedParameters - )) { - if (name in options2) { - octokit.log.warn( - `"${name}" parameter is deprecated for "octokit.${scope}.${methodName}()". Use "${alias}" instead` - ); - if (!(alias in options2)) { - options2[alias] = options2[name]; - } - delete options2[name]; - } - } - return requestWithDefaults(options2); - } - return requestWithDefaults(...args); - } - return Object.assign(withDecorations, requestWithDefaults); -} - -// pkg/dist-src/index.js -function restEndpointMethods(octokit) { - const api = endpointsToMethods(octokit); - return { - rest: api - }; -} -restEndpointMethods.VERSION = VERSION; -function legacyRestEndpointMethods(octokit) { - const api = endpointsToMethods(octokit); - return { - ...api, - rest: api - }; -} -legacyRestEndpointMethods.VERSION = VERSION; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 10537: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __create = Object.create; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __getProtoOf = Object.getPrototypeOf; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( - // If the importer is in node compatibility mode or this is not an ESM - // file that has been converted to a CommonJS file using a Babel- - // compatible transform (i.e. "__esModule" has not been set), then set - // "default" to the CommonJS "module.exports" for node compatibility. - isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, - mod -)); -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - RequestError: () => RequestError -}); -module.exports = __toCommonJS(dist_src_exports); -var import_deprecation = __nccwpck_require__(58932); -var import_once = __toESM(__nccwpck_require__(1223)); -var logOnceCode = (0, import_once.default)((deprecation) => console.warn(deprecation)); -var logOnceHeaders = (0, import_once.default)((deprecation) => console.warn(deprecation)); -var RequestError = class extends Error { - constructor(message, statusCode, options) { - super(message); - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = "HttpError"; - this.status = statusCode; - let headers; - if ("headers" in options && typeof options.headers !== "undefined") { - headers = options.headers; - } - if ("response" in options) { - this.response = options.response; - headers = options.response.headers; - } - const requestCopy = Object.assign({}, options.request); - if (options.request.headers.authorization) { - requestCopy.headers = Object.assign({}, options.request.headers, { - authorization: options.request.headers.authorization.replace( - / .*$/, - " [REDACTED]" - ) - }); - } - requestCopy.url = requestCopy.url.replace(/\bclient_secret=\w+/g, "client_secret=[REDACTED]").replace(/\baccess_token=\w+/g, "access_token=[REDACTED]"); - this.request = requestCopy; - Object.defineProperty(this, "code", { - get() { - logOnceCode( - new import_deprecation.Deprecation( - "[@octokit/request-error] `error.code` is deprecated, use `error.status`." - ) - ); - return statusCode; - } - }); - Object.defineProperty(this, "headers", { - get() { - logOnceHeaders( - new import_deprecation.Deprecation( - "[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`." - ) - ); - return headers || {}; - } - }); - } -}; -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 36234: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -"use strict"; - -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -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); - -// pkg/dist-src/index.js -var dist_src_exports = {}; -__export(dist_src_exports, { - request: () => request -}); -module.exports = __toCommonJS(dist_src_exports); -var import_endpoint = __nccwpck_require__(59440); -var import_universal_user_agent = __nccwpck_require__(45030); - -// pkg/dist-src/version.js -var VERSION = "8.1.6"; - -// pkg/dist-src/is-plain-object.js -function isPlainObject(value) { - if (typeof value !== "object" || value === null) - return false; - if (Object.prototype.toString.call(value) !== "[object Object]") - return false; - const proto = Object.getPrototypeOf(value); - if (proto === null) - return true; - const Ctor = Object.prototype.hasOwnProperty.call(proto, "constructor") && proto.constructor; - return typeof Ctor === "function" && Ctor instanceof Ctor && Function.prototype.call(Ctor) === Function.prototype.call(value); -} - -// pkg/dist-src/fetch-wrapper.js -var import_request_error = __nccwpck_require__(10537); - -// pkg/dist-src/get-buffer-response.js -function getBufferResponse(response) { - return response.arrayBuffer(); -} - -// pkg/dist-src/fetch-wrapper.js -function fetchWrapper(requestOptions) { - var _a, _b, _c; - const log = requestOptions.request && requestOptions.request.log ? requestOptions.request.log : console; - const parseSuccessResponseBody = ((_a = requestOptions.request) == null ? void 0 : _a.parseSuccessResponseBody) !== false; - if (isPlainObject(requestOptions.body) || Array.isArray(requestOptions.body)) { - requestOptions.body = JSON.stringify(requestOptions.body); - } - let headers = {}; - let status; - let url; - let { fetch } = globalThis; - if ((_b = requestOptions.request) == null ? void 0 : _b.fetch) { - fetch = requestOptions.request.fetch; - } - if (!fetch) { - throw new Error( - "fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing" - ); - } - return fetch(requestOptions.url, { - method: requestOptions.method, - body: requestOptions.body, - headers: requestOptions.headers, - signal: (_c = requestOptions.request) == null ? void 0 : _c.signal, - // duplex must be set if request.body is ReadableStream or Async Iterables. - // See https://fetch.spec.whatwg.org/#dom-requestinit-duplex. - ...requestOptions.body && { duplex: "half" } - }).then(async (response) => { - url = response.url; - status = response.status; - for (const keyAndValue of response.headers) { - headers[keyAndValue[0]] = keyAndValue[1]; - } - if ("deprecation" in headers) { - const matches = headers.link && headers.link.match(/<([^>]+)>; rel="deprecation"/); - const deprecationLink = matches && matches.pop(); - log.warn( - `[@octokit/request] "${requestOptions.method} ${requestOptions.url}" is deprecated. It is scheduled to be removed on ${headers.sunset}${deprecationLink ? `. See ${deprecationLink}` : ""}` - ); - } - if (status === 204 || status === 205) { - return; - } - if (requestOptions.method === "HEAD") { - if (status < 400) { - return; - } - throw new import_request_error.RequestError(response.statusText, status, { - response: { - url, - status, - headers, - data: void 0 - }, - request: requestOptions - }); - } - if (status === 304) { - throw new import_request_error.RequestError("Not modified", status, { - response: { - url, - status, - headers, - data: await getResponseData(response) - }, - request: requestOptions - }); - } - if (status >= 400) { - const data = await getResponseData(response); - const error = new import_request_error.RequestError(toErrorMessage(data), status, { - response: { - url, - status, - headers, - data - }, - request: requestOptions - }); - throw error; - } - return parseSuccessResponseBody ? await getResponseData(response) : response.body; - }).then((data) => { - return { - status, - url, - headers, - data - }; - }).catch((error) => { - if (error instanceof import_request_error.RequestError) - throw error; - else if (error.name === "AbortError") - throw error; - let message = error.message; - if (error.name === "TypeError" && "cause" in error) { - if (error.cause instanceof Error) { - message = error.cause.message; - } else if (typeof error.cause === "string") { - message = error.cause; - } - } - throw new import_request_error.RequestError(message, 500, { - request: requestOptions - }); - }); -} -async function getResponseData(response) { - const contentType = response.headers.get("content-type"); - if (/application\/json/.test(contentType)) { - return response.json().catch(() => response.text()).catch(() => ""); - } - if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) { - return response.text(); - } - return getBufferResponse(response); -} -function toErrorMessage(data) { - if (typeof data === "string") - return data; - if ("message" in data) { - if (Array.isArray(data.errors)) { - return `${data.message}: ${data.errors.map(JSON.stringify).join(", ")}`; - } - return data.message; - } - return `Unknown error: ${JSON.stringify(data)}`; -} - -// pkg/dist-src/with-defaults.js -function withDefaults(oldEndpoint, newDefaults) { - const endpoint2 = oldEndpoint.defaults(newDefaults); - const newApi = function(route, parameters) { - const endpointOptions = endpoint2.merge(route, parameters); - if (!endpointOptions.request || !endpointOptions.request.hook) { - return fetchWrapper(endpoint2.parse(endpointOptions)); - } - const request2 = (route2, parameters2) => { - return fetchWrapper( - endpoint2.parse(endpoint2.merge(route2, parameters2)) - ); - }; - Object.assign(request2, { - endpoint: endpoint2, - defaults: withDefaults.bind(null, endpoint2) - }); - return endpointOptions.request.hook(request2, endpointOptions); - }; - return Object.assign(newApi, { - endpoint: endpoint2, - defaults: withDefaults.bind(null, endpoint2) - }); -} - -// pkg/dist-src/index.js -var request = withDefaults(import_endpoint.endpoint, { - headers: { - "user-agent": `octokit-request.js/${VERSION} ${(0, import_universal_user_agent.getUserAgent)()}` - } -}); -// Annotate the CommonJS export names for ESM import in node: -0 && (0); - - -/***/ }), - -/***/ 20940: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['accessanalyzer'] = {}; -AWS.AccessAnalyzer = Service.defineService('accessanalyzer', ['2019-11-01']); -Object.defineProperty(apiLoader.services['accessanalyzer'], '2019-11-01', { - get: function get() { - var model = __nccwpck_require__(30590); - model.paginators = (__nccwpck_require__(63080)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AccessAnalyzer; - - -/***/ }), - -/***/ 32400: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['account'] = {}; -AWS.Account = Service.defineService('account', ['2021-02-01']); -Object.defineProperty(apiLoader.services['account'], '2021-02-01', { - get: function get() { - var model = __nccwpck_require__(36713); - model.paginators = (__nccwpck_require__(52324)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Account; - - -/***/ }), - -/***/ 30838: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['acm'] = {}; -AWS.ACM = Service.defineService('acm', ['2015-12-08']); -Object.defineProperty(apiLoader.services['acm'], '2015-12-08', { - get: function get() { - var model = __nccwpck_require__(34662); - model.paginators = (__nccwpck_require__(42680)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(85678)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ACM; - - -/***/ }), - -/***/ 18450: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['acmpca'] = {}; -AWS.ACMPCA = Service.defineService('acmpca', ['2017-08-22']); -Object.defineProperty(apiLoader.services['acmpca'], '2017-08-22', { - get: function get() { - var model = __nccwpck_require__(33004); - model.paginators = (__nccwpck_require__(21209)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(89217)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ACMPCA; - - -/***/ }), - -/***/ 14578: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['alexaforbusiness'] = {}; -AWS.AlexaForBusiness = Service.defineService('alexaforbusiness', ['2017-11-09']); -Object.defineProperty(apiLoader.services['alexaforbusiness'], '2017-11-09', { - get: function get() { - var model = __nccwpck_require__(69786); - model.paginators = (__nccwpck_require__(21009)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AlexaForBusiness; - - -/***/ }), - -/***/ 26296: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -module.exports = { - ACM: __nccwpck_require__(30838), - APIGateway: __nccwpck_require__(91759), - ApplicationAutoScaling: __nccwpck_require__(25598), - AppStream: __nccwpck_require__(21730), - AutoScaling: __nccwpck_require__(31652), - Batch: __nccwpck_require__(10000), - Budgets: __nccwpck_require__(43923), - CloudDirectory: __nccwpck_require__(56231), - CloudFormation: __nccwpck_require__(74643), - CloudFront: __nccwpck_require__(48058), - CloudHSM: __nccwpck_require__(59976), - CloudSearch: __nccwpck_require__(72321), - CloudSearchDomain: __nccwpck_require__(64072), - CloudTrail: __nccwpck_require__(65512), - CloudWatch: __nccwpck_require__(6763), - CloudWatchEvents: __nccwpck_require__(38124), - CloudWatchLogs: __nccwpck_require__(96693), - CodeBuild: __nccwpck_require__(60450), - CodeCommit: __nccwpck_require__(71323), - CodeDeploy: __nccwpck_require__(54599), - CodePipeline: __nccwpck_require__(22938), - CognitoIdentity: __nccwpck_require__(58291), - CognitoIdentityServiceProvider: __nccwpck_require__(31379), - CognitoSync: __nccwpck_require__(74770), - ConfigService: __nccwpck_require__(34061), - CUR: __nccwpck_require__(5026), - DataPipeline: __nccwpck_require__(65688), - DeviceFarm: __nccwpck_require__(26272), - DirectConnect: __nccwpck_require__(73783), - DirectoryService: __nccwpck_require__(83908), - Discovery: __nccwpck_require__(81690), - DMS: __nccwpck_require__(69868), - DynamoDB: __nccwpck_require__(14347), - DynamoDBStreams: __nccwpck_require__(88090), - EC2: __nccwpck_require__(7778), - ECR: __nccwpck_require__(15211), - ECS: __nccwpck_require__(16615), - EFS: __nccwpck_require__(34375), - ElastiCache: __nccwpck_require__(81065), - ElasticBeanstalk: __nccwpck_require__(14897), - ELB: __nccwpck_require__(10907), - ELBv2: __nccwpck_require__(44311), - EMR: __nccwpck_require__(50470), - ES: __nccwpck_require__(84462), - ElasticTranscoder: __nccwpck_require__(40745), - Firehose: __nccwpck_require__(92831), - GameLift: __nccwpck_require__(8085), - Glacier: __nccwpck_require__(63249), - Health: __nccwpck_require__(21834), - IAM: __nccwpck_require__(50058), - ImportExport: __nccwpck_require__(6769), - Inspector: __nccwpck_require__(89439), - Iot: __nccwpck_require__(98392), - IotData: __nccwpck_require__(6564), - Kinesis: __nccwpck_require__(49876), - KinesisAnalytics: __nccwpck_require__(90042), - KMS: __nccwpck_require__(56782), - Lambda: __nccwpck_require__(13321), - LexRuntime: __nccwpck_require__(62716), - Lightsail: __nccwpck_require__(22718), - MachineLearning: __nccwpck_require__(82907), - MarketplaceCommerceAnalytics: __nccwpck_require__(4540), - MarketplaceMetering: __nccwpck_require__(39297), - MTurk: __nccwpck_require__(79954), - MobileAnalytics: __nccwpck_require__(66690), - OpsWorks: __nccwpck_require__(75691), - OpsWorksCM: __nccwpck_require__(80388), - Organizations: __nccwpck_require__(52560), - Pinpoint: __nccwpck_require__(18388), - Polly: __nccwpck_require__(97332), - RDS: __nccwpck_require__(71578), - Redshift: __nccwpck_require__(84853), - Rekognition: __nccwpck_require__(65470), - ResourceGroupsTaggingAPI: __nccwpck_require__(7385), - Route53: __nccwpck_require__(44968), - Route53Domains: __nccwpck_require__(51994), - S3: __nccwpck_require__(83256), - S3Control: __nccwpck_require__(99817), - ServiceCatalog: __nccwpck_require__(822), - SES: __nccwpck_require__(46816), - Shield: __nccwpck_require__(20271), - SimpleDB: __nccwpck_require__(10120), - SMS: __nccwpck_require__(57719), - Snowball: __nccwpck_require__(510), - SNS: __nccwpck_require__(28581), - SQS: __nccwpck_require__(63172), - SSM: __nccwpck_require__(83380), - StorageGateway: __nccwpck_require__(89190), - StepFunctions: __nccwpck_require__(8136), - STS: __nccwpck_require__(57513), - Support: __nccwpck_require__(1099), - SWF: __nccwpck_require__(32327), - XRay: __nccwpck_require__(41548), - WAF: __nccwpck_require__(72742), - WAFRegional: __nccwpck_require__(23153), - WorkDocs: __nccwpck_require__(38835), - WorkSpaces: __nccwpck_require__(25513), - CodeStar: __nccwpck_require__(98336), - LexModelBuildingService: __nccwpck_require__(37397), - MarketplaceEntitlementService: __nccwpck_require__(53707), - Athena: __nccwpck_require__(29434), - Greengrass: __nccwpck_require__(20690), - DAX: __nccwpck_require__(71398), - MigrationHub: __nccwpck_require__(14688), - CloudHSMV2: __nccwpck_require__(70889), - Glue: __nccwpck_require__(31658), - Mobile: __nccwpck_require__(39782), - Pricing: __nccwpck_require__(92765), - CostExplorer: __nccwpck_require__(79523), - MediaConvert: __nccwpck_require__(57220), - MediaLive: __nccwpck_require__(7509), - MediaPackage: __nccwpck_require__(91620), - MediaStore: __nccwpck_require__(83748), - MediaStoreData: __nccwpck_require__(98703), - AppSync: __nccwpck_require__(12402), - GuardDuty: __nccwpck_require__(40755), - MQ: __nccwpck_require__(23093), - Comprehend: __nccwpck_require__(62878), - IoTJobsDataPlane: __nccwpck_require__(42332), - KinesisVideoArchivedMedia: __nccwpck_require__(5580), - KinesisVideoMedia: __nccwpck_require__(81308), - KinesisVideo: __nccwpck_require__(89927), - SageMakerRuntime: __nccwpck_require__(85044), - SageMaker: __nccwpck_require__(77657), - Translate: __nccwpck_require__(72544), - ResourceGroups: __nccwpck_require__(58756), - AlexaForBusiness: __nccwpck_require__(14578), - Cloud9: __nccwpck_require__(85473), - ServerlessApplicationRepository: __nccwpck_require__(62402), - ServiceDiscovery: __nccwpck_require__(91569), - WorkMail: __nccwpck_require__(38374), - AutoScalingPlans: __nccwpck_require__(2554), - TranscribeService: __nccwpck_require__(75811), - Connect: __nccwpck_require__(13879), - ACMPCA: __nccwpck_require__(18450), - FMS: __nccwpck_require__(11316), - SecretsManager: __nccwpck_require__(85131), - IoTAnalytics: __nccwpck_require__(67409), - IoT1ClickDevicesService: __nccwpck_require__(39474), - IoT1ClickProjects: __nccwpck_require__(4686), - PI: __nccwpck_require__(15505), - Neptune: __nccwpck_require__(30047), - MediaTailor: __nccwpck_require__(99658), - EKS: __nccwpck_require__(23337), - DLM: __nccwpck_require__(24958), - Signer: __nccwpck_require__(71596), - Chime: __nccwpck_require__(84646), - PinpointEmail: __nccwpck_require__(83060), - RAM: __nccwpck_require__(94394), - Route53Resolver: __nccwpck_require__(25894), - PinpointSMSVoice: __nccwpck_require__(46605), - QuickSight: __nccwpck_require__(29898), - RDSDataService: __nccwpck_require__(30147), - Amplify: __nccwpck_require__(38090), - DataSync: __nccwpck_require__(25308), - RoboMaker: __nccwpck_require__(18068), - Transfer: __nccwpck_require__(51585), - GlobalAccelerator: __nccwpck_require__(19306), - ComprehendMedical: __nccwpck_require__(32349), - KinesisAnalyticsV2: __nccwpck_require__(74631), - MediaConnect: __nccwpck_require__(67639), - FSx: __nccwpck_require__(60642), - SecurityHub: __nccwpck_require__(21550), - AppMesh: __nccwpck_require__(69226), - LicenseManager: __nccwpck_require__(34693), - Kafka: __nccwpck_require__(56775), - ApiGatewayManagementApi: __nccwpck_require__(31762), - ApiGatewayV2: __nccwpck_require__(44987), - DocDB: __nccwpck_require__(55129), - Backup: __nccwpck_require__(82455), - WorkLink: __nccwpck_require__(48579), - Textract: __nccwpck_require__(58523), - ManagedBlockchain: __nccwpck_require__(85143), - MediaPackageVod: __nccwpck_require__(14962), - GroundStation: __nccwpck_require__(80494), - IoTThingsGraph: __nccwpck_require__(58905), - IoTEvents: __nccwpck_require__(88065), - IoTEventsData: __nccwpck_require__(56973), - Personalize: __nccwpck_require__(33696), - PersonalizeEvents: __nccwpck_require__(88170), - PersonalizeRuntime: __nccwpck_require__(66184), - ApplicationInsights: __nccwpck_require__(83972), - ServiceQuotas: __nccwpck_require__(57800), - EC2InstanceConnect: __nccwpck_require__(92209), - EventBridge: __nccwpck_require__(898), - LakeFormation: __nccwpck_require__(6726), - ForecastService: __nccwpck_require__(12942), - ForecastQueryService: __nccwpck_require__(36822), - QLDB: __nccwpck_require__(71266), - QLDBSession: __nccwpck_require__(55423), - WorkMailMessageFlow: __nccwpck_require__(67025), - CodeStarNotifications: __nccwpck_require__(15141), - SavingsPlans: __nccwpck_require__(62825), - SSO: __nccwpck_require__(71096), - SSOOIDC: __nccwpck_require__(49870), - MarketplaceCatalog: __nccwpck_require__(2609), - DataExchange: __nccwpck_require__(11024), - SESV2: __nccwpck_require__(20142), - MigrationHubConfig: __nccwpck_require__(62658), - ConnectParticipant: __nccwpck_require__(94198), - AppConfig: __nccwpck_require__(78606), - IoTSecureTunneling: __nccwpck_require__(98562), - WAFV2: __nccwpck_require__(50353), - ElasticInference: __nccwpck_require__(37708), - Imagebuilder: __nccwpck_require__(57511), - Schemas: __nccwpck_require__(55713), - AccessAnalyzer: __nccwpck_require__(20940), - CodeGuruReviewer: __nccwpck_require__(60070), - CodeGuruProfiler: __nccwpck_require__(65704), - ComputeOptimizer: __nccwpck_require__(64459), - FraudDetector: __nccwpck_require__(99830), - Kendra: __nccwpck_require__(66122), - NetworkManager: __nccwpck_require__(37610), - Outposts: __nccwpck_require__(27551), - AugmentedAIRuntime: __nccwpck_require__(33960), - EBS: __nccwpck_require__(62837), - KinesisVideoSignalingChannels: __nccwpck_require__(12710), - Detective: __nccwpck_require__(60674), - CodeStarconnections: __nccwpck_require__(78270), - Synthetics: __nccwpck_require__(25910), - IoTSiteWise: __nccwpck_require__(89690), - Macie2: __nccwpck_require__(57330), - CodeArtifact: __nccwpck_require__(91983), - Honeycode: __nccwpck_require__(38889), - IVS: __nccwpck_require__(67701), - Braket: __nccwpck_require__(35429), - IdentityStore: __nccwpck_require__(60222), - Appflow: __nccwpck_require__(60844), - RedshiftData: __nccwpck_require__(203), - SSOAdmin: __nccwpck_require__(66644), - TimestreamQuery: __nccwpck_require__(24529), - TimestreamWrite: __nccwpck_require__(1573), - S3Outposts: __nccwpck_require__(90493), - DataBrew: __nccwpck_require__(35846), - ServiceCatalogAppRegistry: __nccwpck_require__(79068), - NetworkFirewall: __nccwpck_require__(84626), - MWAA: __nccwpck_require__(32712), - AmplifyBackend: __nccwpck_require__(2806), - AppIntegrations: __nccwpck_require__(85479), - ConnectContactLens: __nccwpck_require__(41847), - DevOpsGuru: __nccwpck_require__(90673), - ECRPUBLIC: __nccwpck_require__(90244), - LookoutVision: __nccwpck_require__(65046), - SageMakerFeatureStoreRuntime: __nccwpck_require__(67644), - CustomerProfiles: __nccwpck_require__(28379), - AuditManager: __nccwpck_require__(20472), - EMRcontainers: __nccwpck_require__(49984), - HealthLake: __nccwpck_require__(64254), - SagemakerEdge: __nccwpck_require__(38966), - Amp: __nccwpck_require__(96881), - GreengrassV2: __nccwpck_require__(45126), - IotDeviceAdvisor: __nccwpck_require__(97569), - IoTFleetHub: __nccwpck_require__(42513), - IoTWireless: __nccwpck_require__(8226), - Location: __nccwpck_require__(44594), - WellArchitected: __nccwpck_require__(86263), - LexModelsV2: __nccwpck_require__(27254), - LexRuntimeV2: __nccwpck_require__(33855), - Fis: __nccwpck_require__(73003), - LookoutMetrics: __nccwpck_require__(78708), - Mgn: __nccwpck_require__(41339), - LookoutEquipment: __nccwpck_require__(21843), - Nimble: __nccwpck_require__(89428), - Finspace: __nccwpck_require__(3052), - Finspacedata: __nccwpck_require__(96869), - SSMContacts: __nccwpck_require__(12577), - SSMIncidents: __nccwpck_require__(20590), - ApplicationCostProfiler: __nccwpck_require__(20887), - AppRunner: __nccwpck_require__(75589), - Proton: __nccwpck_require__(9275), - Route53RecoveryCluster: __nccwpck_require__(35738), - Route53RecoveryControlConfig: __nccwpck_require__(16063), - Route53RecoveryReadiness: __nccwpck_require__(79106), - ChimeSDKIdentity: __nccwpck_require__(55975), - ChimeSDKMessaging: __nccwpck_require__(25255), - SnowDeviceManagement: __nccwpck_require__(64655), - MemoryDB: __nccwpck_require__(50782), - OpenSearch: __nccwpck_require__(60358), - KafkaConnect: __nccwpck_require__(61879), - VoiceID: __nccwpck_require__(28747), - Wisdom: __nccwpck_require__(85266), - Account: __nccwpck_require__(32400), - CloudControl: __nccwpck_require__(25630), - Grafana: __nccwpck_require__(51050), - Panorama: __nccwpck_require__(20368), - ChimeSDKMeetings: __nccwpck_require__(80788), - Resiliencehub: __nccwpck_require__(21173), - MigrationHubStrategy: __nccwpck_require__(96533), - AppConfigData: __nccwpck_require__(45282), - Drs: __nccwpck_require__(41116), - MigrationHubRefactorSpaces: __nccwpck_require__(2925), - Evidently: __nccwpck_require__(21440), - Inspector2: __nccwpck_require__(98650), - Rbin: __nccwpck_require__(70145), - RUM: __nccwpck_require__(53237), - BackupGateway: __nccwpck_require__(68277), - IoTTwinMaker: __nccwpck_require__(65010), - WorkSpacesWeb: __nccwpck_require__(94124), - AmplifyUIBuilder: __nccwpck_require__(89937), - Keyspaces: __nccwpck_require__(24789), - Billingconductor: __nccwpck_require__(38416), - PinpointSMSVoiceV2: __nccwpck_require__(478), - Ivschat: __nccwpck_require__(17077), - ChimeSDKMediaPipelines: __nccwpck_require__(18423), - EMRServerless: __nccwpck_require__(219), - M2: __nccwpck_require__(22482), - ConnectCampaigns: __nccwpck_require__(42789), - RedshiftServerless: __nccwpck_require__(29987), - RolesAnywhere: __nccwpck_require__(83604), - LicenseManagerUserSubscriptions: __nccwpck_require__(37725), - BackupStorage: __nccwpck_require__(82304), - PrivateNetworks: __nccwpck_require__(63088), - SupportApp: __nccwpck_require__(51288), - ControlTower: __nccwpck_require__(77574), - IoTFleetWise: __nccwpck_require__(94329), - MigrationHubOrchestrator: __nccwpck_require__(66120), - ConnectCases: __nccwpck_require__(72223), - ResourceExplorer2: __nccwpck_require__(74071), - Scheduler: __nccwpck_require__(94840), - ChimeSDKVoice: __nccwpck_require__(349), - IoTRoboRunner: __nccwpck_require__(22163), - SsmSap: __nccwpck_require__(44552), - OAM: __nccwpck_require__(9319), - ARCZonalShift: __nccwpck_require__(54280), - Omics: __nccwpck_require__(75114), - OpenSearchServerless: __nccwpck_require__(86277), - SecurityLake: __nccwpck_require__(84296), - SimSpaceWeaver: __nccwpck_require__(37090), - DocDBElastic: __nccwpck_require__(20792), - SageMakerGeospatial: __nccwpck_require__(4707), - CodeCatalyst: __nccwpck_require__(19499), - Pipes: __nccwpck_require__(14220), - SageMakerMetrics: __nccwpck_require__(28199), - KinesisVideoWebRTCStorage: __nccwpck_require__(52642), - LicenseManagerLinuxSubscriptions: __nccwpck_require__(52687), - KendraRanking: __nccwpck_require__(46255), - CleanRooms: __nccwpck_require__(15130), - CloudTrailData: __nccwpck_require__(31191), - Tnb: __nccwpck_require__(15300), - InternetMonitor: __nccwpck_require__(84099), - IVSRealTime: __nccwpck_require__(51946), - VPCLattice: __nccwpck_require__(78952), - OSIS: __nccwpck_require__(98021), - MediaPackageV2: __nccwpck_require__(53264), - PaymentCryptography: __nccwpck_require__(11594), - PaymentCryptographyData: __nccwpck_require__(96559), - CodeGuruSecurity: __nccwpck_require__(32620), - VerifiedPermissions: __nccwpck_require__(35604), - AppFabric: __nccwpck_require__(46318), - MedicalImaging: __nccwpck_require__(79712), - EntityResolution: __nccwpck_require__(22697), - ManagedBlockchainQuery: __nccwpck_require__(51046), - Neptunedata: __nccwpck_require__(25737), - PcaConnectorAd: __nccwpck_require__(55959), - Bedrock: __nccwpck_require__(88808), - BedrockRuntime: __nccwpck_require__(99177), - DataZone: __nccwpck_require__(31763), - LaunchWizard: __nccwpck_require__(71060), - TrustedAdvisor: __nccwpck_require__(4992), - CloudFrontKeyValueStore: __nccwpck_require__(47859), - InspectorScan: __nccwpck_require__(25467), - BCMDataExports: __nccwpck_require__(56703), - CostOptimizationHub: __nccwpck_require__(55443), - EKSAuth: __nccwpck_require__(66164), - FreeTier: __nccwpck_require__(11681), - Repostspace: __nccwpck_require__(21154), - WorkSpacesThinClient: __nccwpck_require__(22033), - B2bi: __nccwpck_require__(91065), - BedrockAgent: __nccwpck_require__(9025), - BedrockAgentRuntime: __nccwpck_require__(16946), - QBusiness: __nccwpck_require__(26842), - QConnect: __nccwpck_require__(39094), - CleanRoomsML: __nccwpck_require__(47594), - MarketplaceAgreement: __nccwpck_require__(50379), - MarketplaceDeployment: __nccwpck_require__(56811), - NeptuneGraph: __nccwpck_require__(77598), - NetworkMonitor: __nccwpck_require__(77614), - SupplyChain: __nccwpck_require__(39674) -}; - -/***/ }), - -/***/ 96881: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['amp'] = {}; -AWS.Amp = Service.defineService('amp', ['2020-08-01']); -Object.defineProperty(apiLoader.services['amp'], '2020-08-01', { - get: function get() { - var model = __nccwpck_require__(78362); - model.paginators = (__nccwpck_require__(75928)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(58239)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Amp; - - -/***/ }), - -/***/ 38090: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['amplify'] = {}; -AWS.Amplify = Service.defineService('amplify', ['2017-07-25']); -Object.defineProperty(apiLoader.services['amplify'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(36813); - model.paginators = (__nccwpck_require__(53733)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Amplify; - - -/***/ }), - -/***/ 2806: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['amplifybackend'] = {}; -AWS.AmplifyBackend = Service.defineService('amplifybackend', ['2020-08-11']); -Object.defineProperty(apiLoader.services['amplifybackend'], '2020-08-11', { - get: function get() { - var model = __nccwpck_require__(23939); - model.paginators = (__nccwpck_require__(27232)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AmplifyBackend; - - -/***/ }), - -/***/ 89937: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['amplifyuibuilder'] = {}; -AWS.AmplifyUIBuilder = Service.defineService('amplifyuibuilder', ['2021-08-11']); -Object.defineProperty(apiLoader.services['amplifyuibuilder'], '2021-08-11', { - get: function get() { - var model = __nccwpck_require__(48987); - model.paginators = (__nccwpck_require__(56072)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(70564)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AmplifyUIBuilder; - - -/***/ }), - -/***/ 91759: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['apigateway'] = {}; -AWS.APIGateway = Service.defineService('apigateway', ['2015-07-09']); -__nccwpck_require__(4338); -Object.defineProperty(apiLoader.services['apigateway'], '2015-07-09', { - get: function get() { - var model = __nccwpck_require__(59463); - model.paginators = (__nccwpck_require__(25878)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.APIGateway; - - -/***/ }), - -/***/ 31762: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['apigatewaymanagementapi'] = {}; -AWS.ApiGatewayManagementApi = Service.defineService('apigatewaymanagementapi', ['2018-11-29']); -Object.defineProperty(apiLoader.services['apigatewaymanagementapi'], '2018-11-29', { - get: function get() { - var model = __nccwpck_require__(57832); - model.paginators = (__nccwpck_require__(2787)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApiGatewayManagementApi; - - -/***/ }), - -/***/ 44987: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['apigatewayv2'] = {}; -AWS.ApiGatewayV2 = Service.defineService('apigatewayv2', ['2018-11-29']); -Object.defineProperty(apiLoader.services['apigatewayv2'], '2018-11-29', { - get: function get() { - var model = __nccwpck_require__(59326); - model.paginators = (__nccwpck_require__(90171)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApiGatewayV2; - - -/***/ }), - -/***/ 78606: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appconfig'] = {}; -AWS.AppConfig = Service.defineService('appconfig', ['2019-10-09']); -Object.defineProperty(apiLoader.services['appconfig'], '2019-10-09', { - get: function get() { - var model = __nccwpck_require__(44701); - model.paginators = (__nccwpck_require__(41789)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppConfig; - - -/***/ }), - -/***/ 45282: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appconfigdata'] = {}; -AWS.AppConfigData = Service.defineService('appconfigdata', ['2021-11-11']); -Object.defineProperty(apiLoader.services['appconfigdata'], '2021-11-11', { - get: function get() { - var model = __nccwpck_require__(86796); - model.paginators = (__nccwpck_require__(48010)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppConfigData; - - -/***/ }), - -/***/ 46318: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appfabric'] = {}; -AWS.AppFabric = Service.defineService('appfabric', ['2023-05-19']); -Object.defineProperty(apiLoader.services['appfabric'], '2023-05-19', { - get: function get() { - var model = __nccwpck_require__(78267); - model.paginators = (__nccwpck_require__(42193)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(44821)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppFabric; - - -/***/ }), - -/***/ 60844: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appflow'] = {}; -AWS.Appflow = Service.defineService('appflow', ['2020-08-23']); -Object.defineProperty(apiLoader.services['appflow'], '2020-08-23', { - get: function get() { - var model = __nccwpck_require__(32840); - model.paginators = (__nccwpck_require__(16916)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Appflow; - - -/***/ }), - -/***/ 85479: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appintegrations'] = {}; -AWS.AppIntegrations = Service.defineService('appintegrations', ['2020-07-29']); -Object.defineProperty(apiLoader.services['appintegrations'], '2020-07-29', { - get: function get() { - var model = __nccwpck_require__(62033); - model.paginators = (__nccwpck_require__(61866)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppIntegrations; - - -/***/ }), - -/***/ 25598: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['applicationautoscaling'] = {}; -AWS.ApplicationAutoScaling = Service.defineService('applicationautoscaling', ['2016-02-06']); -Object.defineProperty(apiLoader.services['applicationautoscaling'], '2016-02-06', { - get: function get() { - var model = __nccwpck_require__(47320); - model.paginators = (__nccwpck_require__(40322)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApplicationAutoScaling; - - -/***/ }), - -/***/ 20887: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['applicationcostprofiler'] = {}; -AWS.ApplicationCostProfiler = Service.defineService('applicationcostprofiler', ['2020-09-10']); -Object.defineProperty(apiLoader.services['applicationcostprofiler'], '2020-09-10', { - get: function get() { - var model = __nccwpck_require__(96818); - model.paginators = (__nccwpck_require__(41331)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApplicationCostProfiler; - - -/***/ }), - -/***/ 83972: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['applicationinsights'] = {}; -AWS.ApplicationInsights = Service.defineService('applicationinsights', ['2018-11-25']); -Object.defineProperty(apiLoader.services['applicationinsights'], '2018-11-25', { - get: function get() { - var model = __nccwpck_require__(96143); - model.paginators = (__nccwpck_require__(22242)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ApplicationInsights; - - -/***/ }), - -/***/ 69226: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appmesh'] = {}; -AWS.AppMesh = Service.defineService('appmesh', ['2018-10-01', '2018-10-01*', '2019-01-25']); -Object.defineProperty(apiLoader.services['appmesh'], '2018-10-01', { - get: function get() { - var model = __nccwpck_require__(64780); - model.paginators = (__nccwpck_require__(54936)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['appmesh'], '2019-01-25', { - get: function get() { - var model = __nccwpck_require__(78066); - model.paginators = (__nccwpck_require__(37698)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppMesh; - - -/***/ }), - -/***/ 75589: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['apprunner'] = {}; -AWS.AppRunner = Service.defineService('apprunner', ['2020-05-15']); -Object.defineProperty(apiLoader.services['apprunner'], '2020-05-15', { - get: function get() { - var model = __nccwpck_require__(30036); - model.paginators = (__nccwpck_require__(50293)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppRunner; - - -/***/ }), - -/***/ 21730: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appstream'] = {}; -AWS.AppStream = Service.defineService('appstream', ['2016-12-01']); -Object.defineProperty(apiLoader.services['appstream'], '2016-12-01', { - get: function get() { - var model = __nccwpck_require__(85538); - model.paginators = (__nccwpck_require__(32191)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(21134)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppStream; - - -/***/ }), - -/***/ 12402: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['appsync'] = {}; -AWS.AppSync = Service.defineService('appsync', ['2017-07-25']); -Object.defineProperty(apiLoader.services['appsync'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(94937); - model.paginators = (__nccwpck_require__(50233)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AppSync; - - -/***/ }), - -/***/ 54280: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['arczonalshift'] = {}; -AWS.ARCZonalShift = Service.defineService('arczonalshift', ['2022-10-30']); -Object.defineProperty(apiLoader.services['arczonalshift'], '2022-10-30', { - get: function get() { - var model = __nccwpck_require__(52286); - model.paginators = (__nccwpck_require__(70002)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ARCZonalShift; - - -/***/ }), - -/***/ 29434: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['athena'] = {}; -AWS.Athena = Service.defineService('athena', ['2017-05-18']); -Object.defineProperty(apiLoader.services['athena'], '2017-05-18', { - get: function get() { - var model = __nccwpck_require__(28680); - model.paginators = (__nccwpck_require__(44417)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Athena; - - -/***/ }), - -/***/ 20472: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['auditmanager'] = {}; -AWS.AuditManager = Service.defineService('auditmanager', ['2017-07-25']); -Object.defineProperty(apiLoader.services['auditmanager'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(41672); - model.paginators = (__nccwpck_require__(41321)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AuditManager; - - -/***/ }), - -/***/ 33960: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['augmentedairuntime'] = {}; -AWS.AugmentedAIRuntime = Service.defineService('augmentedairuntime', ['2019-11-07']); -Object.defineProperty(apiLoader.services['augmentedairuntime'], '2019-11-07', { - get: function get() { - var model = __nccwpck_require__(57704); - model.paginators = (__nccwpck_require__(13201)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AugmentedAIRuntime; - - -/***/ }), - -/***/ 31652: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['autoscaling'] = {}; -AWS.AutoScaling = Service.defineService('autoscaling', ['2011-01-01']); -Object.defineProperty(apiLoader.services['autoscaling'], '2011-01-01', { - get: function get() { - var model = __nccwpck_require__(55394); - model.paginators = (__nccwpck_require__(81436)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AutoScaling; - - -/***/ }), - -/***/ 2554: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['autoscalingplans'] = {}; -AWS.AutoScalingPlans = Service.defineService('autoscalingplans', ['2018-01-06']); -Object.defineProperty(apiLoader.services['autoscalingplans'], '2018-01-06', { - get: function get() { - var model = __nccwpck_require__(53216); - model.paginators = (__nccwpck_require__(64985)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.AutoScalingPlans; - - -/***/ }), - -/***/ 91065: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['b2bi'] = {}; -AWS.B2bi = Service.defineService('b2bi', ['2022-06-23']); -Object.defineProperty(apiLoader.services['b2bi'], '2022-06-23', { - get: function get() { - var model = __nccwpck_require__(93012); - model.paginators = (__nccwpck_require__(13608)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.B2bi; - - -/***/ }), - -/***/ 82455: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['backup'] = {}; -AWS.Backup = Service.defineService('backup', ['2018-11-15']); -Object.defineProperty(apiLoader.services['backup'], '2018-11-15', { - get: function get() { - var model = __nccwpck_require__(77990); - model.paginators = (__nccwpck_require__(54869)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Backup; - - -/***/ }), - -/***/ 68277: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['backupgateway'] = {}; -AWS.BackupGateway = Service.defineService('backupgateway', ['2021-01-01']); -Object.defineProperty(apiLoader.services['backupgateway'], '2021-01-01', { - get: function get() { - var model = __nccwpck_require__(96863); - model.paginators = (__nccwpck_require__(34946)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BackupGateway; - - -/***/ }), - -/***/ 82304: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['backupstorage'] = {}; -AWS.BackupStorage = Service.defineService('backupstorage', ['2018-04-10']); -Object.defineProperty(apiLoader.services['backupstorage'], '2018-04-10', { - get: function get() { - var model = __nccwpck_require__(97436); - model.paginators = (__nccwpck_require__(73644)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BackupStorage; - - -/***/ }), - -/***/ 10000: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['batch'] = {}; -AWS.Batch = Service.defineService('batch', ['2016-08-10']); -Object.defineProperty(apiLoader.services['batch'], '2016-08-10', { - get: function get() { - var model = __nccwpck_require__(12617); - model.paginators = (__nccwpck_require__(36988)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Batch; - - -/***/ }), - -/***/ 56703: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['bcmdataexports'] = {}; -AWS.BCMDataExports = Service.defineService('bcmdataexports', ['2023-11-26']); -Object.defineProperty(apiLoader.services['bcmdataexports'], '2023-11-26', { - get: function get() { - var model = __nccwpck_require__(81311); - model.paginators = (__nccwpck_require__(56228)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BCMDataExports; - - -/***/ }), - -/***/ 88808: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['bedrock'] = {}; -AWS.Bedrock = Service.defineService('bedrock', ['2023-04-20']); -Object.defineProperty(apiLoader.services['bedrock'], '2023-04-20', { - get: function get() { - var model = __nccwpck_require__(30615); - model.paginators = (__nccwpck_require__(27869)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(81806)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Bedrock; - - -/***/ }), - -/***/ 9025: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['bedrockagent'] = {}; -AWS.BedrockAgent = Service.defineService('bedrockagent', ['2023-06-05']); -Object.defineProperty(apiLoader.services['bedrockagent'], '2023-06-05', { - get: function get() { - var model = __nccwpck_require__(30755); - model.paginators = (__nccwpck_require__(7041)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BedrockAgent; - - -/***/ }), - -/***/ 16946: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['bedrockagentruntime'] = {}; -AWS.BedrockAgentRuntime = Service.defineService('bedrockagentruntime', ['2023-07-26']); -Object.defineProperty(apiLoader.services['bedrockagentruntime'], '2023-07-26', { - get: function get() { - var model = __nccwpck_require__(65069); - model.paginators = (__nccwpck_require__(79273)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BedrockAgentRuntime; - - -/***/ }), - -/***/ 99177: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['bedrockruntime'] = {}; -AWS.BedrockRuntime = Service.defineService('bedrockruntime', ['2023-09-30']); -Object.defineProperty(apiLoader.services['bedrockruntime'], '2023-09-30', { - get: function get() { - var model = __nccwpck_require__(38801); - model.paginators = (__nccwpck_require__(89474)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(34859)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.BedrockRuntime; - - -/***/ }), - -/***/ 38416: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['billingconductor'] = {}; -AWS.Billingconductor = Service.defineService('billingconductor', ['2021-07-30']); -Object.defineProperty(apiLoader.services['billingconductor'], '2021-07-30', { - get: function get() { - var model = __nccwpck_require__(54862); - model.paginators = (__nccwpck_require__(97894)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(64224)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Billingconductor; - - -/***/ }), - -/***/ 35429: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['braket'] = {}; -AWS.Braket = Service.defineService('braket', ['2019-09-01']); -Object.defineProperty(apiLoader.services['braket'], '2019-09-01', { - get: function get() { - var model = __nccwpck_require__(23332); - model.paginators = (__nccwpck_require__(15732)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Braket; - - -/***/ }), - -/***/ 43923: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['budgets'] = {}; -AWS.Budgets = Service.defineService('budgets', ['2016-10-20']); -Object.defineProperty(apiLoader.services['budgets'], '2016-10-20', { - get: function get() { - var model = __nccwpck_require__(11978); - model.paginators = (__nccwpck_require__(23694)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Budgets; - - -/***/ }), - -/***/ 84646: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chime'] = {}; -AWS.Chime = Service.defineService('chime', ['2018-05-01']); -Object.defineProperty(apiLoader.services['chime'], '2018-05-01', { - get: function get() { - var model = __nccwpck_require__(44811); - model.paginators = (__nccwpck_require__(31890)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Chime; - - -/***/ }), - -/***/ 55975: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chimesdkidentity'] = {}; -AWS.ChimeSDKIdentity = Service.defineService('chimesdkidentity', ['2021-04-20']); -Object.defineProperty(apiLoader.services['chimesdkidentity'], '2021-04-20', { - get: function get() { - var model = __nccwpck_require__(97402); - model.paginators = (__nccwpck_require__(133)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ChimeSDKIdentity; - - -/***/ }), - -/***/ 18423: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chimesdkmediapipelines'] = {}; -AWS.ChimeSDKMediaPipelines = Service.defineService('chimesdkmediapipelines', ['2021-07-15']); -Object.defineProperty(apiLoader.services['chimesdkmediapipelines'], '2021-07-15', { - get: function get() { - var model = __nccwpck_require__(14679); - model.paginators = (__nccwpck_require__(82201)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ChimeSDKMediaPipelines; - - -/***/ }), - -/***/ 80788: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chimesdkmeetings'] = {}; -AWS.ChimeSDKMeetings = Service.defineService('chimesdkmeetings', ['2021-07-15']); -Object.defineProperty(apiLoader.services['chimesdkmeetings'], '2021-07-15', { - get: function get() { - var model = __nccwpck_require__(17090); - model.paginators = (__nccwpck_require__(70582)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ChimeSDKMeetings; - - -/***/ }), - -/***/ 25255: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chimesdkmessaging'] = {}; -AWS.ChimeSDKMessaging = Service.defineService('chimesdkmessaging', ['2021-05-15']); -Object.defineProperty(apiLoader.services['chimesdkmessaging'], '2021-05-15', { - get: function get() { - var model = __nccwpck_require__(52239); - model.paginators = (__nccwpck_require__(60807)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ChimeSDKMessaging; - - -/***/ }), - -/***/ 349: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['chimesdkvoice'] = {}; -AWS.ChimeSDKVoice = Service.defineService('chimesdkvoice', ['2022-08-03']); -Object.defineProperty(apiLoader.services['chimesdkvoice'], '2022-08-03', { - get: function get() { - var model = __nccwpck_require__(26420); - model.paginators = (__nccwpck_require__(7986)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ChimeSDKVoice; - - -/***/ }), - -/***/ 15130: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cleanrooms'] = {}; -AWS.CleanRooms = Service.defineService('cleanrooms', ['2022-02-17']); -Object.defineProperty(apiLoader.services['cleanrooms'], '2022-02-17', { - get: function get() { - var model = __nccwpck_require__(11585); - model.paginators = (__nccwpck_require__(73060)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(29284)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CleanRooms; - - -/***/ }), - -/***/ 47594: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cleanroomsml'] = {}; -AWS.CleanRoomsML = Service.defineService('cleanroomsml', ['2023-09-06']); -Object.defineProperty(apiLoader.services['cleanroomsml'], '2023-09-06', { - get: function get() { - var model = __nccwpck_require__(1867); - model.paginators = (__nccwpck_require__(89767)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CleanRoomsML; - - -/***/ }), - -/***/ 85473: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloud9'] = {}; -AWS.Cloud9 = Service.defineService('cloud9', ['2017-09-23']); -Object.defineProperty(apiLoader.services['cloud9'], '2017-09-23', { - get: function get() { - var model = __nccwpck_require__(82981); - model.paginators = (__nccwpck_require__(9313)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Cloud9; - - -/***/ }), - -/***/ 25630: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudcontrol'] = {}; -AWS.CloudControl = Service.defineService('cloudcontrol', ['2021-09-30']); -Object.defineProperty(apiLoader.services['cloudcontrol'], '2021-09-30', { - get: function get() { - var model = __nccwpck_require__(24689); - model.paginators = (__nccwpck_require__(16041)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(31933)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudControl; - - -/***/ }), - -/***/ 56231: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['clouddirectory'] = {}; -AWS.CloudDirectory = Service.defineService('clouddirectory', ['2016-05-10', '2016-05-10*', '2017-01-11']); -Object.defineProperty(apiLoader.services['clouddirectory'], '2016-05-10', { - get: function get() { - var model = __nccwpck_require__(72862); - model.paginators = (__nccwpck_require__(87597)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['clouddirectory'], '2017-01-11', { - get: function get() { - var model = __nccwpck_require__(88729); - model.paginators = (__nccwpck_require__(10156)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudDirectory; - - -/***/ }), - -/***/ 74643: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudformation'] = {}; -AWS.CloudFormation = Service.defineService('cloudformation', ['2010-05-15']); -Object.defineProperty(apiLoader.services['cloudformation'], '2010-05-15', { - get: function get() { - var model = __nccwpck_require__(31930); - model.paginators = (__nccwpck_require__(10611)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(53732)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFormation; - - -/***/ }), - -/***/ 48058: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudfront'] = {}; -AWS.CloudFront = Service.defineService('cloudfront', ['2013-05-12*', '2013-11-11*', '2014-05-31*', '2014-10-21*', '2014-11-06*', '2015-04-17*', '2015-07-27*', '2015-09-17*', '2016-01-13*', '2016-01-28*', '2016-08-01*', '2016-08-20*', '2016-09-07*', '2016-09-29*', '2016-11-25', '2016-11-25*', '2017-03-25', '2017-03-25*', '2017-10-30', '2017-10-30*', '2018-06-18', '2018-06-18*', '2018-11-05', '2018-11-05*', '2019-03-26', '2019-03-26*', '2020-05-31']); -__nccwpck_require__(95483); -Object.defineProperty(apiLoader.services['cloudfront'], '2016-11-25', { - get: function get() { - var model = __nccwpck_require__(64908); - model.paginators = (__nccwpck_require__(57305)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(71106)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2017-03-25', { - get: function get() { - var model = __nccwpck_require__(76944); - model.paginators = (__nccwpck_require__(83654)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(83406)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2017-10-30', { - get: function get() { - var model = __nccwpck_require__(80198); - model.paginators = (__nccwpck_require__(52915)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(13399)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2018-06-18', { - get: function get() { - var model = __nccwpck_require__(29549); - model.paginators = (__nccwpck_require__(7805)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(2353)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2018-11-05', { - get: function get() { - var model = __nccwpck_require__(22253); - model.paginators = (__nccwpck_require__(29533)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(36883)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2019-03-26', { - get: function get() { - var model = __nccwpck_require__(29574); - model.paginators = (__nccwpck_require__(35556)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(97142)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudfront'], '2020-05-31', { - get: function get() { - var model = __nccwpck_require__(66310); - model.paginators = (__nccwpck_require__(48335)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(83517)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFront; - - -/***/ }), - -/***/ 47859: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudfrontkeyvaluestore'] = {}; -AWS.CloudFrontKeyValueStore = Service.defineService('cloudfrontkeyvaluestore', ['2022-07-26']); -Object.defineProperty(apiLoader.services['cloudfrontkeyvaluestore'], '2022-07-26', { - get: function get() { - var model = __nccwpck_require__(49651); - model.paginators = (__nccwpck_require__(41274)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudFrontKeyValueStore; - - -/***/ }), - -/***/ 59976: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudhsm'] = {}; -AWS.CloudHSM = Service.defineService('cloudhsm', ['2014-05-30']); -Object.defineProperty(apiLoader.services['cloudhsm'], '2014-05-30', { - get: function get() { - var model = __nccwpck_require__(18637); - model.paginators = (__nccwpck_require__(18988)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudHSM; - - -/***/ }), - -/***/ 70889: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudhsmv2'] = {}; -AWS.CloudHSMV2 = Service.defineService('cloudhsmv2', ['2017-04-28']); -Object.defineProperty(apiLoader.services['cloudhsmv2'], '2017-04-28', { - get: function get() { - var model = __nccwpck_require__(90554); - model.paginators = (__nccwpck_require__(77334)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudHSMV2; - - -/***/ }), - -/***/ 72321: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudsearch'] = {}; -AWS.CloudSearch = Service.defineService('cloudsearch', ['2011-02-01', '2013-01-01']); -Object.defineProperty(apiLoader.services['cloudsearch'], '2011-02-01', { - get: function get() { - var model = __nccwpck_require__(11732); - model.paginators = (__nccwpck_require__(51357)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['cloudsearch'], '2013-01-01', { - get: function get() { - var model = __nccwpck_require__(56880); - model.paginators = (__nccwpck_require__(81127)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudSearch; - - -/***/ }), - -/***/ 64072: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudsearchdomain'] = {}; -AWS.CloudSearchDomain = Service.defineService('cloudsearchdomain', ['2013-01-01']); -__nccwpck_require__(48571); -Object.defineProperty(apiLoader.services['cloudsearchdomain'], '2013-01-01', { - get: function get() { - var model = __nccwpck_require__(78255); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudSearchDomain; - - -/***/ }), - -/***/ 65512: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudtrail'] = {}; -AWS.CloudTrail = Service.defineService('cloudtrail', ['2013-11-01']); -Object.defineProperty(apiLoader.services['cloudtrail'], '2013-11-01', { - get: function get() { - var model = __nccwpck_require__(11506); - model.paginators = (__nccwpck_require__(27523)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudTrail; - - -/***/ }), - -/***/ 31191: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudtraildata'] = {}; -AWS.CloudTrailData = Service.defineService('cloudtraildata', ['2021-08-11']); -Object.defineProperty(apiLoader.services['cloudtraildata'], '2021-08-11', { - get: function get() { - var model = __nccwpck_require__(27372); - model.paginators = (__nccwpck_require__(79223)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudTrailData; - - -/***/ }), - -/***/ 6763: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudwatch'] = {}; -AWS.CloudWatch = Service.defineService('cloudwatch', ['2010-08-01']); -Object.defineProperty(apiLoader.services['cloudwatch'], '2010-08-01', { - get: function get() { - var model = __nccwpck_require__(16363); - model.paginators = (__nccwpck_require__(46675)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(21466)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatch; - - -/***/ }), - -/***/ 38124: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudwatchevents'] = {}; -AWS.CloudWatchEvents = Service.defineService('cloudwatchevents', ['2014-02-03*', '2015-10-07']); -Object.defineProperty(apiLoader.services['cloudwatchevents'], '2015-10-07', { - get: function get() { - var model = __nccwpck_require__(40299); - model.paginators = (__nccwpck_require__(54031)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchEvents; - - -/***/ }), - -/***/ 96693: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cloudwatchlogs'] = {}; -AWS.CloudWatchLogs = Service.defineService('cloudwatchlogs', ['2014-03-28']); -Object.defineProperty(apiLoader.services['cloudwatchlogs'], '2014-03-28', { - get: function get() { - var model = __nccwpck_require__(73044); - model.paginators = (__nccwpck_require__(15472)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CloudWatchLogs; - - -/***/ }), - -/***/ 91983: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codeartifact'] = {}; -AWS.CodeArtifact = Service.defineService('codeartifact', ['2018-09-22']); -Object.defineProperty(apiLoader.services['codeartifact'], '2018-09-22', { - get: function get() { - var model = __nccwpck_require__(87923); - model.paginators = (__nccwpck_require__(40983)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeArtifact; - - -/***/ }), - -/***/ 60450: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codebuild'] = {}; -AWS.CodeBuild = Service.defineService('codebuild', ['2016-10-06']); -Object.defineProperty(apiLoader.services['codebuild'], '2016-10-06', { - get: function get() { - var model = __nccwpck_require__(40893); - model.paginators = (__nccwpck_require__(23010)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeBuild; - - -/***/ }), - -/***/ 19499: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codecatalyst'] = {}; -AWS.CodeCatalyst = Service.defineService('codecatalyst', ['2022-09-28']); -Object.defineProperty(apiLoader.services['codecatalyst'], '2022-09-28', { - get: function get() { - var model = __nccwpck_require__(22999); - model.paginators = (__nccwpck_require__(14522)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(42522)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeCatalyst; - - -/***/ }), - -/***/ 71323: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codecommit'] = {}; -AWS.CodeCommit = Service.defineService('codecommit', ['2015-04-13']); -Object.defineProperty(apiLoader.services['codecommit'], '2015-04-13', { - get: function get() { - var model = __nccwpck_require__(57144); - model.paginators = (__nccwpck_require__(62599)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeCommit; - - -/***/ }), - -/***/ 54599: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codedeploy'] = {}; -AWS.CodeDeploy = Service.defineService('codedeploy', ['2014-10-06']); -Object.defineProperty(apiLoader.services['codedeploy'], '2014-10-06', { - get: function get() { - var model = __nccwpck_require__(10967); - model.paginators = (__nccwpck_require__(1917)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(52416)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeDeploy; - - -/***/ }), - -/***/ 65704: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codeguruprofiler'] = {}; -AWS.CodeGuruProfiler = Service.defineService('codeguruprofiler', ['2019-07-18']); -Object.defineProperty(apiLoader.services['codeguruprofiler'], '2019-07-18', { - get: function get() { - var model = __nccwpck_require__(34890); - model.paginators = (__nccwpck_require__(25274)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeGuruProfiler; - - -/***/ }), - -/***/ 60070: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codegurureviewer'] = {}; -AWS.CodeGuruReviewer = Service.defineService('codegurureviewer', ['2019-09-19']); -Object.defineProperty(apiLoader.services['codegurureviewer'], '2019-09-19', { - get: function get() { - var model = __nccwpck_require__(66739); - model.paginators = (__nccwpck_require__(37775)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(69276)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeGuruReviewer; - - -/***/ }), - -/***/ 32620: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codegurusecurity'] = {}; -AWS.CodeGuruSecurity = Service.defineService('codegurusecurity', ['2018-05-10']); -Object.defineProperty(apiLoader.services['codegurusecurity'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(7662); - model.paginators = (__nccwpck_require__(77755)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeGuruSecurity; - - -/***/ }), - -/***/ 22938: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codepipeline'] = {}; -AWS.CodePipeline = Service.defineService('codepipeline', ['2015-07-09']); -Object.defineProperty(apiLoader.services['codepipeline'], '2015-07-09', { - get: function get() { - var model = __nccwpck_require__(4039); - model.paginators = (__nccwpck_require__(78953)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodePipeline; - - -/***/ }), - -/***/ 98336: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codestar'] = {}; -AWS.CodeStar = Service.defineService('codestar', ['2017-04-19']); -Object.defineProperty(apiLoader.services['codestar'], '2017-04-19', { - get: function get() { - var model = __nccwpck_require__(12425); - model.paginators = (__nccwpck_require__(70046)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeStar; - - -/***/ }), - -/***/ 78270: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codestarconnections'] = {}; -AWS.CodeStarconnections = Service.defineService('codestarconnections', ['2019-12-01']); -Object.defineProperty(apiLoader.services['codestarconnections'], '2019-12-01', { - get: function get() { - var model = __nccwpck_require__(88428); - model.paginators = (__nccwpck_require__(31506)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeStarconnections; - - -/***/ }), - -/***/ 15141: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['codestarnotifications'] = {}; -AWS.CodeStarNotifications = Service.defineService('codestarnotifications', ['2019-10-15']); -Object.defineProperty(apiLoader.services['codestarnotifications'], '2019-10-15', { - get: function get() { - var model = __nccwpck_require__(33362); - model.paginators = (__nccwpck_require__(44301)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CodeStarNotifications; - - -/***/ }), - -/***/ 58291: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cognitoidentity'] = {}; -AWS.CognitoIdentity = Service.defineService('cognitoidentity', ['2014-06-30']); -Object.defineProperty(apiLoader.services['cognitoidentity'], '2014-06-30', { - get: function get() { - var model = __nccwpck_require__(57377); - model.paginators = (__nccwpck_require__(85010)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentity; - - -/***/ }), - -/***/ 31379: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cognitoidentityserviceprovider'] = {}; -AWS.CognitoIdentityServiceProvider = Service.defineService('cognitoidentityserviceprovider', ['2016-04-18']); -Object.defineProperty(apiLoader.services['cognitoidentityserviceprovider'], '2016-04-18', { - get: function get() { - var model = __nccwpck_require__(53166); - model.paginators = (__nccwpck_require__(17149)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoIdentityServiceProvider; - - -/***/ }), - -/***/ 74770: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cognitosync'] = {}; -AWS.CognitoSync = Service.defineService('cognitosync', ['2014-06-30']); -Object.defineProperty(apiLoader.services['cognitosync'], '2014-06-30', { - get: function get() { - var model = __nccwpck_require__(29128); - model.paginators = (__nccwpck_require__(5865)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CognitoSync; - - -/***/ }), - -/***/ 62878: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['comprehend'] = {}; -AWS.Comprehend = Service.defineService('comprehend', ['2017-11-27']); -Object.defineProperty(apiLoader.services['comprehend'], '2017-11-27', { - get: function get() { - var model = __nccwpck_require__(24433); - model.paginators = (__nccwpck_require__(82518)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Comprehend; - - -/***/ }), - -/***/ 32349: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['comprehendmedical'] = {}; -AWS.ComprehendMedical = Service.defineService('comprehendmedical', ['2018-10-30']); -Object.defineProperty(apiLoader.services['comprehendmedical'], '2018-10-30', { - get: function get() { - var model = __nccwpck_require__(96649); - model.paginators = (__nccwpck_require__(43172)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ComprehendMedical; - - -/***/ }), - -/***/ 64459: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['computeoptimizer'] = {}; -AWS.ComputeOptimizer = Service.defineService('computeoptimizer', ['2019-11-01']); -Object.defineProperty(apiLoader.services['computeoptimizer'], '2019-11-01', { - get: function get() { - var model = __nccwpck_require__(85802); - model.paginators = (__nccwpck_require__(6831)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ComputeOptimizer; - - -/***/ }), - -/***/ 34061: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['configservice'] = {}; -AWS.ConfigService = Service.defineService('configservice', ['2014-11-12']); -Object.defineProperty(apiLoader.services['configservice'], '2014-11-12', { - get: function get() { - var model = __nccwpck_require__(47124); - model.paginators = (__nccwpck_require__(85980)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConfigService; - - -/***/ }), - -/***/ 13879: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['connect'] = {}; -AWS.Connect = Service.defineService('connect', ['2017-08-08']); -Object.defineProperty(apiLoader.services['connect'], '2017-08-08', { - get: function get() { - var model = __nccwpck_require__(54511); - model.paginators = (__nccwpck_require__(19742)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Connect; - - -/***/ }), - -/***/ 42789: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['connectcampaigns'] = {}; -AWS.ConnectCampaigns = Service.defineService('connectcampaigns', ['2021-01-30']); -Object.defineProperty(apiLoader.services['connectcampaigns'], '2021-01-30', { - get: function get() { - var model = __nccwpck_require__(71566); - model.paginators = (__nccwpck_require__(45198)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConnectCampaigns; - - -/***/ }), - -/***/ 72223: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['connectcases'] = {}; -AWS.ConnectCases = Service.defineService('connectcases', ['2022-10-03']); -Object.defineProperty(apiLoader.services['connectcases'], '2022-10-03', { - get: function get() { - var model = __nccwpck_require__(3923); - model.paginators = (__nccwpck_require__(8429)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConnectCases; - - -/***/ }), - -/***/ 41847: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['connectcontactlens'] = {}; -AWS.ConnectContactLens = Service.defineService('connectcontactlens', ['2020-08-21']); -Object.defineProperty(apiLoader.services['connectcontactlens'], '2020-08-21', { - get: function get() { - var model = __nccwpck_require__(16527); - model.paginators = (__nccwpck_require__(76658)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConnectContactLens; - - -/***/ }), - -/***/ 94198: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['connectparticipant'] = {}; -AWS.ConnectParticipant = Service.defineService('connectparticipant', ['2018-09-07']); -Object.defineProperty(apiLoader.services['connectparticipant'], '2018-09-07', { - get: function get() { - var model = __nccwpck_require__(70132); - model.paginators = (__nccwpck_require__(29947)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ConnectParticipant; - - -/***/ }), - -/***/ 77574: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['controltower'] = {}; -AWS.ControlTower = Service.defineService('controltower', ['2018-05-10']); -Object.defineProperty(apiLoader.services['controltower'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(1095); - model.paginators = (__nccwpck_require__(55167)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ControlTower; - - -/***/ }), - -/***/ 79523: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['costexplorer'] = {}; -AWS.CostExplorer = Service.defineService('costexplorer', ['2017-10-25']); -Object.defineProperty(apiLoader.services['costexplorer'], '2017-10-25', { - get: function get() { - var model = __nccwpck_require__(4060); - model.paginators = (__nccwpck_require__(75642)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CostExplorer; - - -/***/ }), - -/***/ 55443: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['costoptimizationhub'] = {}; -AWS.CostOptimizationHub = Service.defineService('costoptimizationhub', ['2022-07-26']); -Object.defineProperty(apiLoader.services['costoptimizationhub'], '2022-07-26', { - get: function get() { - var model = __nccwpck_require__(56073); - model.paginators = (__nccwpck_require__(70563)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CostOptimizationHub; - - -/***/ }), - -/***/ 5026: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['cur'] = {}; -AWS.CUR = Service.defineService('cur', ['2017-01-06']); -Object.defineProperty(apiLoader.services['cur'], '2017-01-06', { - get: function get() { - var model = __nccwpck_require__(46858); - model.paginators = (__nccwpck_require__(40528)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CUR; - - -/***/ }), - -/***/ 28379: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['customerprofiles'] = {}; -AWS.CustomerProfiles = Service.defineService('customerprofiles', ['2020-08-15']); -Object.defineProperty(apiLoader.services['customerprofiles'], '2020-08-15', { - get: function get() { - var model = __nccwpck_require__(56793); - model.paginators = (__nccwpck_require__(53892)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.CustomerProfiles; - - -/***/ }), - -/***/ 35846: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['databrew'] = {}; -AWS.DataBrew = Service.defineService('databrew', ['2017-07-25']); -Object.defineProperty(apiLoader.services['databrew'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(96089); - model.paginators = (__nccwpck_require__(92224)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataBrew; - - -/***/ }), - -/***/ 11024: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dataexchange'] = {}; -AWS.DataExchange = Service.defineService('dataexchange', ['2017-07-25']); -Object.defineProperty(apiLoader.services['dataexchange'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(42346); - model.paginators = (__nccwpck_require__(55607)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(43176)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataExchange; - - -/***/ }), - -/***/ 65688: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['datapipeline'] = {}; -AWS.DataPipeline = Service.defineService('datapipeline', ['2012-10-29']); -Object.defineProperty(apiLoader.services['datapipeline'], '2012-10-29', { - get: function get() { - var model = __nccwpck_require__(79908); - model.paginators = (__nccwpck_require__(89659)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataPipeline; - - -/***/ }), - -/***/ 25308: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['datasync'] = {}; -AWS.DataSync = Service.defineService('datasync', ['2018-11-09']); -Object.defineProperty(apiLoader.services['datasync'], '2018-11-09', { - get: function get() { - var model = __nccwpck_require__(93640); - model.paginators = (__nccwpck_require__(80063)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataSync; - - -/***/ }), - -/***/ 31763: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['datazone'] = {}; -AWS.DataZone = Service.defineService('datazone', ['2018-05-10']); -Object.defineProperty(apiLoader.services['datazone'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(70813); - model.paginators = (__nccwpck_require__(10509)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DataZone; - - -/***/ }), - -/***/ 71398: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dax'] = {}; -AWS.DAX = Service.defineService('dax', ['2017-04-19']); -Object.defineProperty(apiLoader.services['dax'], '2017-04-19', { - get: function get() { - var model = __nccwpck_require__(24709); - model.paginators = (__nccwpck_require__(87564)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DAX; - - -/***/ }), - -/***/ 60674: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['detective'] = {}; -AWS.Detective = Service.defineService('detective', ['2018-10-26']); -Object.defineProperty(apiLoader.services['detective'], '2018-10-26', { - get: function get() { - var model = __nccwpck_require__(25236); - model.paginators = (__nccwpck_require__(46384)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Detective; - - -/***/ }), - -/***/ 26272: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['devicefarm'] = {}; -AWS.DeviceFarm = Service.defineService('devicefarm', ['2015-06-23']); -Object.defineProperty(apiLoader.services['devicefarm'], '2015-06-23', { - get: function get() { - var model = __nccwpck_require__(34023); - model.paginators = (__nccwpck_require__(37161)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DeviceFarm; - - -/***/ }), - -/***/ 90673: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['devopsguru'] = {}; -AWS.DevOpsGuru = Service.defineService('devopsguru', ['2020-12-01']); -Object.defineProperty(apiLoader.services['devopsguru'], '2020-12-01', { - get: function get() { - var model = __nccwpck_require__(36592); - model.paginators = (__nccwpck_require__(95551)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DevOpsGuru; - - -/***/ }), - -/***/ 73783: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['directconnect'] = {}; -AWS.DirectConnect = Service.defineService('directconnect', ['2012-10-25']); -Object.defineProperty(apiLoader.services['directconnect'], '2012-10-25', { - get: function get() { - var model = __nccwpck_require__(45125); - model.paginators = (__nccwpck_require__(26404)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DirectConnect; - - -/***/ }), - -/***/ 83908: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['directoryservice'] = {}; -AWS.DirectoryService = Service.defineService('directoryservice', ['2015-04-16']); -Object.defineProperty(apiLoader.services['directoryservice'], '2015-04-16', { - get: function get() { - var model = __nccwpck_require__(47357); - model.paginators = (__nccwpck_require__(93412)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DirectoryService; - - -/***/ }), - -/***/ 81690: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['discovery'] = {}; -AWS.Discovery = Service.defineService('discovery', ['2015-11-01']); -Object.defineProperty(apiLoader.services['discovery'], '2015-11-01', { - get: function get() { - var model = __nccwpck_require__(68951); - model.paginators = (__nccwpck_require__(19822)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Discovery; - - -/***/ }), - -/***/ 24958: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dlm'] = {}; -AWS.DLM = Service.defineService('dlm', ['2018-01-12']); -Object.defineProperty(apiLoader.services['dlm'], '2018-01-12', { - get: function get() { - var model = __nccwpck_require__(75485); - model.paginators = (__nccwpck_require__(98881)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DLM; - - -/***/ }), - -/***/ 69868: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dms'] = {}; -AWS.DMS = Service.defineService('dms', ['2016-01-01']); -Object.defineProperty(apiLoader.services['dms'], '2016-01-01', { - get: function get() { - var model = __nccwpck_require__(77953); - model.paginators = (__nccwpck_require__(36772)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(3500)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DMS; - - -/***/ }), - -/***/ 55129: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['docdb'] = {}; -AWS.DocDB = Service.defineService('docdb', ['2014-10-31']); -__nccwpck_require__(59050); -Object.defineProperty(apiLoader.services['docdb'], '2014-10-31', { - get: function get() { - var model = __nccwpck_require__(4932); - model.paginators = (__nccwpck_require__(41408)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(36607)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DocDB; - - -/***/ }), - -/***/ 20792: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['docdbelastic'] = {}; -AWS.DocDBElastic = Service.defineService('docdbelastic', ['2022-11-28']); -Object.defineProperty(apiLoader.services['docdbelastic'], '2022-11-28', { - get: function get() { - var model = __nccwpck_require__(34162); - model.paginators = (__nccwpck_require__(89093)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DocDBElastic; - - -/***/ }), - -/***/ 41116: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['drs'] = {}; -AWS.Drs = Service.defineService('drs', ['2020-02-26']); -Object.defineProperty(apiLoader.services['drs'], '2020-02-26', { - get: function get() { - var model = __nccwpck_require__(42548); - model.paginators = (__nccwpck_require__(44057)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Drs; - - -/***/ }), - -/***/ 14347: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dynamodb'] = {}; -AWS.DynamoDB = Service.defineService('dynamodb', ['2011-12-05', '2012-08-10']); -__nccwpck_require__(17101); -Object.defineProperty(apiLoader.services['dynamodb'], '2011-12-05', { - get: function get() { - var model = __nccwpck_require__(46148); - model.paginators = (__nccwpck_require__(86884)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(24864)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['dynamodb'], '2012-08-10', { - get: function get() { - var model = __nccwpck_require__(54047); - model.paginators = (__nccwpck_require__(30482)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(48411)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDB; - - -/***/ }), - -/***/ 88090: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['dynamodbstreams'] = {}; -AWS.DynamoDBStreams = Service.defineService('dynamodbstreams', ['2012-08-10']); -Object.defineProperty(apiLoader.services['dynamodbstreams'], '2012-08-10', { - get: function get() { - var model = __nccwpck_require__(26098); - model.paginators = (__nccwpck_require__(40549)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.DynamoDBStreams; - - -/***/ }), - -/***/ 62837: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ebs'] = {}; -AWS.EBS = Service.defineService('ebs', ['2019-11-02']); -Object.defineProperty(apiLoader.services['ebs'], '2019-11-02', { - get: function get() { - var model = __nccwpck_require__(72220); - model.paginators = (__nccwpck_require__(85366)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EBS; - - -/***/ }), - -/***/ 7778: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ec2'] = {}; -AWS.EC2 = Service.defineService('ec2', ['2013-06-15*', '2013-10-15*', '2014-02-01*', '2014-05-01*', '2014-06-15*', '2014-09-01*', '2014-10-01*', '2015-03-01*', '2015-04-15*', '2015-10-01*', '2016-04-01*', '2016-09-15*', '2016-11-15']); -__nccwpck_require__(92501); -Object.defineProperty(apiLoader.services['ec2'], '2016-11-15', { - get: function get() { - var model = __nccwpck_require__(2658); - model.paginators = (__nccwpck_require__(82477)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(19153)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EC2; - - -/***/ }), - -/***/ 92209: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ec2instanceconnect'] = {}; -AWS.EC2InstanceConnect = Service.defineService('ec2instanceconnect', ['2018-04-02']); -Object.defineProperty(apiLoader.services['ec2instanceconnect'], '2018-04-02', { - get: function get() { - var model = __nccwpck_require__(36007); - model.paginators = (__nccwpck_require__(38333)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EC2InstanceConnect; - - -/***/ }), - -/***/ 15211: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ecr'] = {}; -AWS.ECR = Service.defineService('ecr', ['2015-09-21']); -Object.defineProperty(apiLoader.services['ecr'], '2015-09-21', { - get: function get() { - var model = __nccwpck_require__(92405); - model.paginators = (__nccwpck_require__(25504)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(78925)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECR; - - -/***/ }), - -/***/ 90244: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ecrpublic'] = {}; -AWS.ECRPUBLIC = Service.defineService('ecrpublic', ['2020-10-30']); -Object.defineProperty(apiLoader.services['ecrpublic'], '2020-10-30', { - get: function get() { - var model = __nccwpck_require__(9668); - model.paginators = (__nccwpck_require__(81193)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECRPUBLIC; - - -/***/ }), - -/***/ 16615: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ecs'] = {}; -AWS.ECS = Service.defineService('ecs', ['2014-11-13']); -Object.defineProperty(apiLoader.services['ecs'], '2014-11-13', { - get: function get() { - var model = __nccwpck_require__(44208); - model.paginators = (__nccwpck_require__(15738)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(1299)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ECS; - - -/***/ }), - -/***/ 34375: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['efs'] = {}; -AWS.EFS = Service.defineService('efs', ['2015-02-01']); -Object.defineProperty(apiLoader.services['efs'], '2015-02-01', { - get: function get() { - var model = __nccwpck_require__(54784); - model.paginators = (__nccwpck_require__(40174)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EFS; - - -/***/ }), - -/***/ 23337: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['eks'] = {}; -AWS.EKS = Service.defineService('eks', ['2017-11-01']); -Object.defineProperty(apiLoader.services['eks'], '2017-11-01', { - get: function get() { - var model = __nccwpck_require__(51370); - model.paginators = (__nccwpck_require__(36490)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(88058)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EKS; - - -/***/ }), - -/***/ 66164: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['eksauth'] = {}; -AWS.EKSAuth = Service.defineService('eksauth', ['2023-11-26']); -Object.defineProperty(apiLoader.services['eksauth'], '2023-11-26', { - get: function get() { - var model = __nccwpck_require__(92414); - model.paginators = (__nccwpck_require__(8222)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(33480)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EKSAuth; - - -/***/ }), - -/***/ 81065: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elasticache'] = {}; -AWS.ElastiCache = Service.defineService('elasticache', ['2012-11-15*', '2014-03-24*', '2014-07-15*', '2014-09-30*', '2015-02-02']); -Object.defineProperty(apiLoader.services['elasticache'], '2015-02-02', { - get: function get() { - var model = __nccwpck_require__(58426); - model.paginators = (__nccwpck_require__(79559)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(29787)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElastiCache; - - -/***/ }), - -/***/ 14897: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elasticbeanstalk'] = {}; -AWS.ElasticBeanstalk = Service.defineService('elasticbeanstalk', ['2010-12-01']); -Object.defineProperty(apiLoader.services['elasticbeanstalk'], '2010-12-01', { - get: function get() { - var model = __nccwpck_require__(72508); - model.paginators = (__nccwpck_require__(72305)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(62534)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElasticBeanstalk; - - -/***/ }), - -/***/ 37708: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elasticinference'] = {}; -AWS.ElasticInference = Service.defineService('elasticinference', ['2017-07-25']); -Object.defineProperty(apiLoader.services['elasticinference'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(83967); - model.paginators = (__nccwpck_require__(64906)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElasticInference; - - -/***/ }), - -/***/ 40745: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elastictranscoder'] = {}; -AWS.ElasticTranscoder = Service.defineService('elastictranscoder', ['2012-09-25']); -Object.defineProperty(apiLoader.services['elastictranscoder'], '2012-09-25', { - get: function get() { - var model = __nccwpck_require__(23463); - model.paginators = (__nccwpck_require__(36121)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(59345)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ElasticTranscoder; - - -/***/ }), - -/***/ 10907: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elb'] = {}; -AWS.ELB = Service.defineService('elb', ['2012-06-01']); -Object.defineProperty(apiLoader.services['elb'], '2012-06-01', { - get: function get() { - var model = __nccwpck_require__(66258); - model.paginators = (__nccwpck_require__(77372)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(56717)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELB; - - -/***/ }), - -/***/ 44311: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['elbv2'] = {}; -AWS.ELBv2 = Service.defineService('elbv2', ['2015-12-01']); -Object.defineProperty(apiLoader.services['elbv2'], '2015-12-01', { - get: function get() { - var model = __nccwpck_require__(42628); - model.paginators = (__nccwpck_require__(12274)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(56106)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ELBv2; - - -/***/ }), - -/***/ 50470: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['emr'] = {}; -AWS.EMR = Service.defineService('emr', ['2009-03-31']); -Object.defineProperty(apiLoader.services['emr'], '2009-03-31', { - get: function get() { - var model = __nccwpck_require__(91298); - model.paginators = (__nccwpck_require__(62965)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(86792)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EMR; - - -/***/ }), - -/***/ 49984: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['emrcontainers'] = {}; -AWS.EMRcontainers = Service.defineService('emrcontainers', ['2020-10-01']); -Object.defineProperty(apiLoader.services['emrcontainers'], '2020-10-01', { - get: function get() { - var model = __nccwpck_require__(33922); - model.paginators = (__nccwpck_require__(87789)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EMRcontainers; - - -/***/ }), - -/***/ 219: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['emrserverless'] = {}; -AWS.EMRServerless = Service.defineService('emrserverless', ['2021-07-13']); -Object.defineProperty(apiLoader.services['emrserverless'], '2021-07-13', { - get: function get() { - var model = __nccwpck_require__(41070); - model.paginators = (__nccwpck_require__(39521)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EMRServerless; - - -/***/ }), - -/***/ 22697: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['entityresolution'] = {}; -AWS.EntityResolution = Service.defineService('entityresolution', ['2018-05-10']); -Object.defineProperty(apiLoader.services['entityresolution'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(61033); - model.paginators = (__nccwpck_require__(37403)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EntityResolution; - - -/***/ }), - -/***/ 84462: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['es'] = {}; -AWS.ES = Service.defineService('es', ['2015-01-01']); -Object.defineProperty(apiLoader.services['es'], '2015-01-01', { - get: function get() { - var model = __nccwpck_require__(33943); - model.paginators = (__nccwpck_require__(78836)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ES; - - -/***/ }), - -/***/ 898: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['eventbridge'] = {}; -AWS.EventBridge = Service.defineService('eventbridge', ['2015-10-07']); -__nccwpck_require__(3034); -Object.defineProperty(apiLoader.services['eventbridge'], '2015-10-07', { - get: function get() { - var model = __nccwpck_require__(9659); - model.paginators = (__nccwpck_require__(10871)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.EventBridge; - - -/***/ }), - -/***/ 21440: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['evidently'] = {}; -AWS.Evidently = Service.defineService('evidently', ['2021-02-01']); -Object.defineProperty(apiLoader.services['evidently'], '2021-02-01', { - get: function get() { - var model = __nccwpck_require__(41971); - model.paginators = (__nccwpck_require__(72960)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Evidently; - - -/***/ }), - -/***/ 3052: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['finspace'] = {}; -AWS.Finspace = Service.defineService('finspace', ['2021-03-12']); -Object.defineProperty(apiLoader.services['finspace'], '2021-03-12', { - get: function get() { - var model = __nccwpck_require__(37836); - model.paginators = (__nccwpck_require__(7328)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Finspace; - - -/***/ }), - -/***/ 96869: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['finspacedata'] = {}; -AWS.Finspacedata = Service.defineService('finspacedata', ['2020-07-13']); -Object.defineProperty(apiLoader.services['finspacedata'], '2020-07-13', { - get: function get() { - var model = __nccwpck_require__(83394); - model.paginators = (__nccwpck_require__(70371)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Finspacedata; - - -/***/ }), - -/***/ 92831: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['firehose'] = {}; -AWS.Firehose = Service.defineService('firehose', ['2015-08-04']); -Object.defineProperty(apiLoader.services['firehose'], '2015-08-04', { - get: function get() { - var model = __nccwpck_require__(48886); - model.paginators = (__nccwpck_require__(47400)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Firehose; - - -/***/ }), - -/***/ 73003: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['fis'] = {}; -AWS.Fis = Service.defineService('fis', ['2020-12-01']); -Object.defineProperty(apiLoader.services['fis'], '2020-12-01', { - get: function get() { - var model = __nccwpck_require__(98356); - model.paginators = (__nccwpck_require__(6544)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Fis; - - -/***/ }), - -/***/ 11316: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['fms'] = {}; -AWS.FMS = Service.defineService('fms', ['2018-01-01']); -Object.defineProperty(apiLoader.services['fms'], '2018-01-01', { - get: function get() { - var model = __nccwpck_require__(22212); - model.paginators = (__nccwpck_require__(49570)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.FMS; - - -/***/ }), - -/***/ 36822: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['forecastqueryservice'] = {}; -AWS.ForecastQueryService = Service.defineService('forecastqueryservice', ['2018-06-26']); -Object.defineProperty(apiLoader.services['forecastqueryservice'], '2018-06-26', { - get: function get() { - var model = __nccwpck_require__(23865); - model.paginators = (__nccwpck_require__(98135)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ForecastQueryService; - - -/***/ }), - -/***/ 12942: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['forecastservice'] = {}; -AWS.ForecastService = Service.defineService('forecastservice', ['2018-06-26']); -Object.defineProperty(apiLoader.services['forecastservice'], '2018-06-26', { - get: function get() { - var model = __nccwpck_require__(6468); - model.paginators = (__nccwpck_require__(45338)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ForecastService; - - -/***/ }), - -/***/ 99830: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['frauddetector'] = {}; -AWS.FraudDetector = Service.defineService('frauddetector', ['2019-11-15']); -Object.defineProperty(apiLoader.services['frauddetector'], '2019-11-15', { - get: function get() { - var model = __nccwpck_require__(96105); - model.paginators = (__nccwpck_require__(9177)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.FraudDetector; - - -/***/ }), - -/***/ 11681: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['freetier'] = {}; -AWS.FreeTier = Service.defineService('freetier', ['2023-09-07']); -Object.defineProperty(apiLoader.services['freetier'], '2023-09-07', { - get: function get() { - var model = __nccwpck_require__(50797); - model.paginators = (__nccwpck_require__(52266)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.FreeTier; - - -/***/ }), - -/***/ 60642: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['fsx'] = {}; -AWS.FSx = Service.defineService('fsx', ['2018-03-01']); -Object.defineProperty(apiLoader.services['fsx'], '2018-03-01', { - get: function get() { - var model = __nccwpck_require__(58245); - model.paginators = (__nccwpck_require__(19882)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.FSx; - - -/***/ }), - -/***/ 8085: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['gamelift'] = {}; -AWS.GameLift = Service.defineService('gamelift', ['2015-10-01']); -Object.defineProperty(apiLoader.services['gamelift'], '2015-10-01', { - get: function get() { - var model = __nccwpck_require__(69257); - model.paginators = (__nccwpck_require__(88381)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GameLift; - - -/***/ }), - -/***/ 63249: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['glacier'] = {}; -AWS.Glacier = Service.defineService('glacier', ['2012-06-01']); -__nccwpck_require__(14472); -Object.defineProperty(apiLoader.services['glacier'], '2012-06-01', { - get: function get() { - var model = __nccwpck_require__(11545); - model.paginators = (__nccwpck_require__(54145)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(65182)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Glacier; - - -/***/ }), - -/***/ 19306: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['globalaccelerator'] = {}; -AWS.GlobalAccelerator = Service.defineService('globalaccelerator', ['2018-08-08']); -Object.defineProperty(apiLoader.services['globalaccelerator'], '2018-08-08', { - get: function get() { - var model = __nccwpck_require__(35365); - model.paginators = (__nccwpck_require__(14796)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GlobalAccelerator; - - -/***/ }), - -/***/ 31658: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['glue'] = {}; -AWS.Glue = Service.defineService('glue', ['2017-03-31']); -Object.defineProperty(apiLoader.services['glue'], '2017-03-31', { - get: function get() { - var model = __nccwpck_require__(72268); - model.paginators = (__nccwpck_require__(26545)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Glue; - - -/***/ }), - -/***/ 51050: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['grafana'] = {}; -AWS.Grafana = Service.defineService('grafana', ['2020-08-18']); -Object.defineProperty(apiLoader.services['grafana'], '2020-08-18', { - get: function get() { - var model = __nccwpck_require__(29655); - model.paginators = (__nccwpck_require__(83188)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Grafana; - - -/***/ }), - -/***/ 20690: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['greengrass'] = {}; -AWS.Greengrass = Service.defineService('greengrass', ['2017-06-07']); -Object.defineProperty(apiLoader.services['greengrass'], '2017-06-07', { - get: function get() { - var model = __nccwpck_require__(72575); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Greengrass; - - -/***/ }), - -/***/ 45126: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['greengrassv2'] = {}; -AWS.GreengrassV2 = Service.defineService('greengrassv2', ['2020-11-30']); -Object.defineProperty(apiLoader.services['greengrassv2'], '2020-11-30', { - get: function get() { - var model = __nccwpck_require__(57546); - model.paginators = (__nccwpck_require__(47961)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GreengrassV2; - - -/***/ }), - -/***/ 80494: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['groundstation'] = {}; -AWS.GroundStation = Service.defineService('groundstation', ['2019-05-23']); -Object.defineProperty(apiLoader.services['groundstation'], '2019-05-23', { - get: function get() { - var model = __nccwpck_require__(27733); - model.paginators = (__nccwpck_require__(55974)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(77815)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GroundStation; - - -/***/ }), - -/***/ 40755: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['guardduty'] = {}; -AWS.GuardDuty = Service.defineService('guardduty', ['2017-11-28']); -Object.defineProperty(apiLoader.services['guardduty'], '2017-11-28', { - get: function get() { - var model = __nccwpck_require__(37793); - model.paginators = (__nccwpck_require__(87510)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.GuardDuty; - - -/***/ }), - -/***/ 21834: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['health'] = {}; -AWS.Health = Service.defineService('health', ['2016-08-04']); -Object.defineProperty(apiLoader.services['health'], '2016-08-04', { - get: function get() { - var model = __nccwpck_require__(8618); - model.paginators = (__nccwpck_require__(46725)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Health; - - -/***/ }), - -/***/ 64254: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['healthlake'] = {}; -AWS.HealthLake = Service.defineService('healthlake', ['2017-07-01']); -Object.defineProperty(apiLoader.services['healthlake'], '2017-07-01', { - get: function get() { - var model = __nccwpck_require__(13637); - model.paginators = (__nccwpck_require__(92834)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.HealthLake; - - -/***/ }), - -/***/ 38889: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['honeycode'] = {}; -AWS.Honeycode = Service.defineService('honeycode', ['2020-03-01']); -Object.defineProperty(apiLoader.services['honeycode'], '2020-03-01', { - get: function get() { - var model = __nccwpck_require__(27577); - model.paginators = (__nccwpck_require__(12243)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Honeycode; - - -/***/ }), - -/***/ 50058: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iam'] = {}; -AWS.IAM = Service.defineService('iam', ['2010-05-08']); -Object.defineProperty(apiLoader.services['iam'], '2010-05-08', { - get: function get() { - var model = __nccwpck_require__(27041); - model.paginators = (__nccwpck_require__(97583)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(37757)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IAM; - - -/***/ }), - -/***/ 60222: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['identitystore'] = {}; -AWS.IdentityStore = Service.defineService('identitystore', ['2020-06-15']); -Object.defineProperty(apiLoader.services['identitystore'], '2020-06-15', { - get: function get() { - var model = __nccwpck_require__(75797); - model.paginators = (__nccwpck_require__(44872)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IdentityStore; - - -/***/ }), - -/***/ 57511: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['imagebuilder'] = {}; -AWS.Imagebuilder = Service.defineService('imagebuilder', ['2019-12-02']); -Object.defineProperty(apiLoader.services['imagebuilder'], '2019-12-02', { - get: function get() { - var model = __nccwpck_require__(98139); - model.paginators = (__nccwpck_require__(60410)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Imagebuilder; - - -/***/ }), - -/***/ 6769: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['importexport'] = {}; -AWS.ImportExport = Service.defineService('importexport', ['2010-06-01']); -Object.defineProperty(apiLoader.services['importexport'], '2010-06-01', { - get: function get() { - var model = __nccwpck_require__(80317); - model.paginators = (__nccwpck_require__(58037)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ImportExport; - - -/***/ }), - -/***/ 89439: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['inspector'] = {}; -AWS.Inspector = Service.defineService('inspector', ['2015-08-18*', '2016-02-16']); -Object.defineProperty(apiLoader.services['inspector'], '2016-02-16', { - get: function get() { - var model = __nccwpck_require__(71649); - model.paginators = (__nccwpck_require__(69242)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Inspector; - - -/***/ }), - -/***/ 98650: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['inspector2'] = {}; -AWS.Inspector2 = Service.defineService('inspector2', ['2020-06-08']); -Object.defineProperty(apiLoader.services['inspector2'], '2020-06-08', { - get: function get() { - var model = __nccwpck_require__(61291); - model.paginators = (__nccwpck_require__(17472)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Inspector2; - - -/***/ }), - -/***/ 25467: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['inspectorscan'] = {}; -AWS.InspectorScan = Service.defineService('inspectorscan', ['2023-08-08']); -Object.defineProperty(apiLoader.services['inspectorscan'], '2023-08-08', { - get: function get() { - var model = __nccwpck_require__(17875); - model.paginators = (__nccwpck_require__(35037)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.InspectorScan; - - -/***/ }), - -/***/ 84099: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['internetmonitor'] = {}; -AWS.InternetMonitor = Service.defineService('internetmonitor', ['2021-06-03']); -Object.defineProperty(apiLoader.services['internetmonitor'], '2021-06-03', { - get: function get() { - var model = __nccwpck_require__(62158); - model.paginators = (__nccwpck_require__(64409)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(76543)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.InternetMonitor; - - -/***/ }), - -/***/ 98392: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iot'] = {}; -AWS.Iot = Service.defineService('iot', ['2015-05-28']); -Object.defineProperty(apiLoader.services['iot'], '2015-05-28', { - get: function get() { - var model = __nccwpck_require__(40063); - model.paginators = (__nccwpck_require__(43999)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Iot; - - -/***/ }), - -/***/ 39474: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iot1clickdevicesservice'] = {}; -AWS.IoT1ClickDevicesService = Service.defineService('iot1clickdevicesservice', ['2018-05-14']); -Object.defineProperty(apiLoader.services['iot1clickdevicesservice'], '2018-05-14', { - get: function get() { - var model = __nccwpck_require__(26663); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoT1ClickDevicesService; - - -/***/ }), - -/***/ 4686: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iot1clickprojects'] = {}; -AWS.IoT1ClickProjects = Service.defineService('iot1clickprojects', ['2018-05-14']); -Object.defineProperty(apiLoader.services['iot1clickprojects'], '2018-05-14', { - get: function get() { - var model = __nccwpck_require__(17364); - model.paginators = (__nccwpck_require__(54033)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoT1ClickProjects; - - -/***/ }), - -/***/ 67409: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotanalytics'] = {}; -AWS.IoTAnalytics = Service.defineService('iotanalytics', ['2017-11-27']); -Object.defineProperty(apiLoader.services['iotanalytics'], '2017-11-27', { - get: function get() { - var model = __nccwpck_require__(84609); - model.paginators = (__nccwpck_require__(45498)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTAnalytics; - - -/***/ }), - -/***/ 6564: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotdata'] = {}; -AWS.IotData = Service.defineService('iotdata', ['2015-05-28']); -__nccwpck_require__(27062); -Object.defineProperty(apiLoader.services['iotdata'], '2015-05-28', { - get: function get() { - var model = __nccwpck_require__(21717); - model.paginators = (__nccwpck_require__(31896)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IotData; - - -/***/ }), - -/***/ 97569: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotdeviceadvisor'] = {}; -AWS.IotDeviceAdvisor = Service.defineService('iotdeviceadvisor', ['2020-09-18']); -Object.defineProperty(apiLoader.services['iotdeviceadvisor'], '2020-09-18', { - get: function get() { - var model = __nccwpck_require__(71394); - model.paginators = (__nccwpck_require__(49057)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IotDeviceAdvisor; - - -/***/ }), - -/***/ 88065: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotevents'] = {}; -AWS.IoTEvents = Service.defineService('iotevents', ['2018-07-27']); -Object.defineProperty(apiLoader.services['iotevents'], '2018-07-27', { - get: function get() { - var model = __nccwpck_require__(4483); - model.paginators = (__nccwpck_require__(39844)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTEvents; - - -/***/ }), - -/***/ 56973: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ioteventsdata'] = {}; -AWS.IoTEventsData = Service.defineService('ioteventsdata', ['2018-10-23']); -Object.defineProperty(apiLoader.services['ioteventsdata'], '2018-10-23', { - get: function get() { - var model = __nccwpck_require__(94282); - model.paginators = (__nccwpck_require__(11632)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTEventsData; - - -/***/ }), - -/***/ 42513: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotfleethub'] = {}; -AWS.IoTFleetHub = Service.defineService('iotfleethub', ['2020-11-03']); -Object.defineProperty(apiLoader.services['iotfleethub'], '2020-11-03', { - get: function get() { - var model = __nccwpck_require__(56534); - model.paginators = (__nccwpck_require__(76120)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTFleetHub; - - -/***/ }), - -/***/ 94329: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotfleetwise'] = {}; -AWS.IoTFleetWise = Service.defineService('iotfleetwise', ['2021-06-17']); -Object.defineProperty(apiLoader.services['iotfleetwise'], '2021-06-17', { - get: function get() { - var model = __nccwpck_require__(68937); - model.paginators = (__nccwpck_require__(85715)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(23391)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTFleetWise; - - -/***/ }), - -/***/ 42332: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotjobsdataplane'] = {}; -AWS.IoTJobsDataPlane = Service.defineService('iotjobsdataplane', ['2017-09-29']); -Object.defineProperty(apiLoader.services['iotjobsdataplane'], '2017-09-29', { - get: function get() { - var model = __nccwpck_require__(12147); - model.paginators = (__nccwpck_require__(58593)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTJobsDataPlane; - - -/***/ }), - -/***/ 22163: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotroborunner'] = {}; -AWS.IoTRoboRunner = Service.defineService('iotroborunner', ['2018-05-10']); -Object.defineProperty(apiLoader.services['iotroborunner'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(11483); - model.paginators = (__nccwpck_require__(82393)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTRoboRunner; - - -/***/ }), - -/***/ 98562: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotsecuretunneling'] = {}; -AWS.IoTSecureTunneling = Service.defineService('iotsecuretunneling', ['2018-10-05']); -Object.defineProperty(apiLoader.services['iotsecuretunneling'], '2018-10-05', { - get: function get() { - var model = __nccwpck_require__(99946); - model.paginators = (__nccwpck_require__(97884)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTSecureTunneling; - - -/***/ }), - -/***/ 89690: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotsitewise'] = {}; -AWS.IoTSiteWise = Service.defineService('iotsitewise', ['2019-12-02']); -Object.defineProperty(apiLoader.services['iotsitewise'], '2019-12-02', { - get: function get() { - var model = __nccwpck_require__(44429); - model.paginators = (__nccwpck_require__(27558)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(80458)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTSiteWise; - - -/***/ }), - -/***/ 58905: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotthingsgraph'] = {}; -AWS.IoTThingsGraph = Service.defineService('iotthingsgraph', ['2018-09-06']); -Object.defineProperty(apiLoader.services['iotthingsgraph'], '2018-09-06', { - get: function get() { - var model = __nccwpck_require__(84893); - model.paginators = (__nccwpck_require__(99418)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTThingsGraph; - - -/***/ }), - -/***/ 65010: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iottwinmaker'] = {}; -AWS.IoTTwinMaker = Service.defineService('iottwinmaker', ['2021-11-29']); -Object.defineProperty(apiLoader.services['iottwinmaker'], '2021-11-29', { - get: function get() { - var model = __nccwpck_require__(30382); - model.paginators = (__nccwpck_require__(93389)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(41496)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTTwinMaker; - - -/***/ }), - -/***/ 8226: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['iotwireless'] = {}; -AWS.IoTWireless = Service.defineService('iotwireless', ['2020-11-22']); -Object.defineProperty(apiLoader.services['iotwireless'], '2020-11-22', { - get: function get() { - var model = __nccwpck_require__(78052); - model.paginators = (__nccwpck_require__(13156)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IoTWireless; - - -/***/ }), - -/***/ 67701: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ivs'] = {}; -AWS.IVS = Service.defineService('ivs', ['2020-07-14']); -Object.defineProperty(apiLoader.services['ivs'], '2020-07-14', { - get: function get() { - var model = __nccwpck_require__(34175); - model.paginators = (__nccwpck_require__(45289)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IVS; - - -/***/ }), - -/***/ 17077: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ivschat'] = {}; -AWS.Ivschat = Service.defineService('ivschat', ['2020-07-14']); -Object.defineProperty(apiLoader.services['ivschat'], '2020-07-14', { - get: function get() { - var model = __nccwpck_require__(77512); - model.paginators = (__nccwpck_require__(85556)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Ivschat; - - -/***/ }), - -/***/ 51946: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ivsrealtime'] = {}; -AWS.IVSRealTime = Service.defineService('ivsrealtime', ['2020-07-14']); -Object.defineProperty(apiLoader.services['ivsrealtime'], '2020-07-14', { - get: function get() { - var model = __nccwpck_require__(23084); - model.paginators = (__nccwpck_require__(64507)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.IVSRealTime; - - -/***/ }), - -/***/ 56775: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kafka'] = {}; -AWS.Kafka = Service.defineService('kafka', ['2018-11-14']); -Object.defineProperty(apiLoader.services['kafka'], '2018-11-14', { - get: function get() { - var model = __nccwpck_require__(38473); - model.paginators = (__nccwpck_require__(79729)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Kafka; - - -/***/ }), - -/***/ 61879: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kafkaconnect'] = {}; -AWS.KafkaConnect = Service.defineService('kafkaconnect', ['2021-09-14']); -Object.defineProperty(apiLoader.services['kafkaconnect'], '2021-09-14', { - get: function get() { - var model = __nccwpck_require__(80867); - model.paginators = (__nccwpck_require__(32924)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KafkaConnect; - - -/***/ }), - -/***/ 66122: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kendra'] = {}; -AWS.Kendra = Service.defineService('kendra', ['2019-02-03']); -Object.defineProperty(apiLoader.services['kendra'], '2019-02-03', { - get: function get() { - var model = __nccwpck_require__(80100); - model.paginators = (__nccwpck_require__(64519)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Kendra; - - -/***/ }), - -/***/ 46255: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kendraranking'] = {}; -AWS.KendraRanking = Service.defineService('kendraranking', ['2022-10-19']); -Object.defineProperty(apiLoader.services['kendraranking'], '2022-10-19', { - get: function get() { - var model = __nccwpck_require__(66044); - model.paginators = (__nccwpck_require__(38563)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KendraRanking; - - -/***/ }), - -/***/ 24789: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['keyspaces'] = {}; -AWS.Keyspaces = Service.defineService('keyspaces', ['2022-02-10']); -Object.defineProperty(apiLoader.services['keyspaces'], '2022-02-10', { - get: function get() { - var model = __nccwpck_require__(59857); - model.paginators = (__nccwpck_require__(19252)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(53164)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Keyspaces; - - -/***/ }), - -/***/ 49876: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesis'] = {}; -AWS.Kinesis = Service.defineService('kinesis', ['2013-12-02']); -Object.defineProperty(apiLoader.services['kinesis'], '2013-12-02', { - get: function get() { - var model = __nccwpck_require__(648); - model.paginators = (__nccwpck_require__(10424)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(54059)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Kinesis; - - -/***/ }), - -/***/ 90042: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisanalytics'] = {}; -AWS.KinesisAnalytics = Service.defineService('kinesisanalytics', ['2015-08-14']); -Object.defineProperty(apiLoader.services['kinesisanalytics'], '2015-08-14', { - get: function get() { - var model = __nccwpck_require__(72653); - model.paginators = (__nccwpck_require__(73535)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisAnalytics; - - -/***/ }), - -/***/ 74631: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisanalyticsv2'] = {}; -AWS.KinesisAnalyticsV2 = Service.defineService('kinesisanalyticsv2', ['2018-05-23']); -Object.defineProperty(apiLoader.services['kinesisanalyticsv2'], '2018-05-23', { - get: function get() { - var model = __nccwpck_require__(56485); - model.paginators = (__nccwpck_require__(52495)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisAnalyticsV2; - - -/***/ }), - -/***/ 89927: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisvideo'] = {}; -AWS.KinesisVideo = Service.defineService('kinesisvideo', ['2017-09-30']); -Object.defineProperty(apiLoader.services['kinesisvideo'], '2017-09-30', { - get: function get() { - var model = __nccwpck_require__(96305); - model.paginators = (__nccwpck_require__(50061)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisVideo; - - -/***/ }), - -/***/ 5580: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisvideoarchivedmedia'] = {}; -AWS.KinesisVideoArchivedMedia = Service.defineService('kinesisvideoarchivedmedia', ['2017-09-30']); -Object.defineProperty(apiLoader.services['kinesisvideoarchivedmedia'], '2017-09-30', { - get: function get() { - var model = __nccwpck_require__(78868); - model.paginators = (__nccwpck_require__(27352)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisVideoArchivedMedia; - - -/***/ }), - -/***/ 81308: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisvideomedia'] = {}; -AWS.KinesisVideoMedia = Service.defineService('kinesisvideomedia', ['2017-09-30']); -Object.defineProperty(apiLoader.services['kinesisvideomedia'], '2017-09-30', { - get: function get() { - var model = __nccwpck_require__(18898); - model.paginators = (__nccwpck_require__(85061)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisVideoMedia; - - -/***/ }), - -/***/ 12710: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisvideosignalingchannels'] = {}; -AWS.KinesisVideoSignalingChannels = Service.defineService('kinesisvideosignalingchannels', ['2019-12-04']); -Object.defineProperty(apiLoader.services['kinesisvideosignalingchannels'], '2019-12-04', { - get: function get() { - var model = __nccwpck_require__(89769); - model.paginators = (__nccwpck_require__(41939)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisVideoSignalingChannels; - - -/***/ }), - -/***/ 52642: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kinesisvideowebrtcstorage'] = {}; -AWS.KinesisVideoWebRTCStorage = Service.defineService('kinesisvideowebrtcstorage', ['2018-05-10']); -Object.defineProperty(apiLoader.services['kinesisvideowebrtcstorage'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(62761); - model.paginators = (__nccwpck_require__(3540)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KinesisVideoWebRTCStorage; - - -/***/ }), - -/***/ 56782: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['kms'] = {}; -AWS.KMS = Service.defineService('kms', ['2014-11-01']); -Object.defineProperty(apiLoader.services['kms'], '2014-11-01', { - get: function get() { - var model = __nccwpck_require__(1219); - model.paginators = (__nccwpck_require__(71402)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.KMS; - - -/***/ }), - -/***/ 6726: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lakeformation'] = {}; -AWS.LakeFormation = Service.defineService('lakeformation', ['2017-03-31']); -Object.defineProperty(apiLoader.services['lakeformation'], '2017-03-31', { - get: function get() { - var model = __nccwpck_require__(82210); - model.paginators = (__nccwpck_require__(61488)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LakeFormation; - - -/***/ }), - -/***/ 13321: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lambda'] = {}; -AWS.Lambda = Service.defineService('lambda', ['2014-11-11', '2015-03-31']); -__nccwpck_require__(8452); -Object.defineProperty(apiLoader.services['lambda'], '2014-11-11', { - get: function get() { - var model = __nccwpck_require__(91251); - model.paginators = (__nccwpck_require__(79210)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['lambda'], '2015-03-31', { - get: function get() { - var model = __nccwpck_require__(29103); - model.paginators = (__nccwpck_require__(32057)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(40626)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Lambda; - - -/***/ }), - -/***/ 71060: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['launchwizard'] = {}; -AWS.LaunchWizard = Service.defineService('launchwizard', ['2018-05-10']); -Object.defineProperty(apiLoader.services['launchwizard'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(67108); - model.paginators = (__nccwpck_require__(50601)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LaunchWizard; - - -/***/ }), - -/***/ 37397: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lexmodelbuildingservice'] = {}; -AWS.LexModelBuildingService = Service.defineService('lexmodelbuildingservice', ['2017-04-19']); -Object.defineProperty(apiLoader.services['lexmodelbuildingservice'], '2017-04-19', { - get: function get() { - var model = __nccwpck_require__(96327); - model.paginators = (__nccwpck_require__(12348)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexModelBuildingService; - - -/***/ }), - -/***/ 27254: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lexmodelsv2'] = {}; -AWS.LexModelsV2 = Service.defineService('lexmodelsv2', ['2020-08-07']); -Object.defineProperty(apiLoader.services['lexmodelsv2'], '2020-08-07', { - get: function get() { - var model = __nccwpck_require__(98781); - model.paginators = (__nccwpck_require__(49461)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(55520)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexModelsV2; - - -/***/ }), - -/***/ 62716: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lexruntime'] = {}; -AWS.LexRuntime = Service.defineService('lexruntime', ['2016-11-28']); -Object.defineProperty(apiLoader.services['lexruntime'], '2016-11-28', { - get: function get() { - var model = __nccwpck_require__(11059); - model.paginators = (__nccwpck_require__(97715)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexRuntime; - - -/***/ }), - -/***/ 33855: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lexruntimev2'] = {}; -AWS.LexRuntimeV2 = Service.defineService('lexruntimev2', ['2020-08-07']); -Object.defineProperty(apiLoader.services['lexruntimev2'], '2020-08-07', { - get: function get() { - var model = __nccwpck_require__(17908); - model.paginators = (__nccwpck_require__(469)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LexRuntimeV2; - - -/***/ }), - -/***/ 34693: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['licensemanager'] = {}; -AWS.LicenseManager = Service.defineService('licensemanager', ['2018-08-01']); -Object.defineProperty(apiLoader.services['licensemanager'], '2018-08-01', { - get: function get() { - var model = __nccwpck_require__(19160); - model.paginators = (__nccwpck_require__(77552)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LicenseManager; - - -/***/ }), - -/***/ 52687: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['licensemanagerlinuxsubscriptions'] = {}; -AWS.LicenseManagerLinuxSubscriptions = Service.defineService('licensemanagerlinuxsubscriptions', ['2018-05-10']); -Object.defineProperty(apiLoader.services['licensemanagerlinuxsubscriptions'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(94260); - model.paginators = (__nccwpck_require__(60467)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LicenseManagerLinuxSubscriptions; - - -/***/ }), - -/***/ 37725: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['licensemanagerusersubscriptions'] = {}; -AWS.LicenseManagerUserSubscriptions = Service.defineService('licensemanagerusersubscriptions', ['2018-05-10']); -Object.defineProperty(apiLoader.services['licensemanagerusersubscriptions'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(48338); - model.paginators = (__nccwpck_require__(84416)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LicenseManagerUserSubscriptions; - - -/***/ }), - -/***/ 22718: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lightsail'] = {}; -AWS.Lightsail = Service.defineService('lightsail', ['2016-11-28']); -Object.defineProperty(apiLoader.services['lightsail'], '2016-11-28', { - get: function get() { - var model = __nccwpck_require__(94784); - model.paginators = (__nccwpck_require__(17528)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Lightsail; - - -/***/ }), - -/***/ 44594: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['location'] = {}; -AWS.Location = Service.defineService('location', ['2020-11-19']); -Object.defineProperty(apiLoader.services['location'], '2020-11-19', { - get: function get() { - var model = __nccwpck_require__(79257); - model.paginators = (__nccwpck_require__(53350)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Location; - - -/***/ }), - -/***/ 21843: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lookoutequipment'] = {}; -AWS.LookoutEquipment = Service.defineService('lookoutequipment', ['2020-12-15']); -Object.defineProperty(apiLoader.services['lookoutequipment'], '2020-12-15', { - get: function get() { - var model = __nccwpck_require__(50969); - model.paginators = (__nccwpck_require__(92858)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LookoutEquipment; - - -/***/ }), - -/***/ 78708: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lookoutmetrics'] = {}; -AWS.LookoutMetrics = Service.defineService('lookoutmetrics', ['2017-07-25']); -Object.defineProperty(apiLoader.services['lookoutmetrics'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(37749); - model.paginators = (__nccwpck_require__(13366)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LookoutMetrics; - - -/***/ }), - -/***/ 65046: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['lookoutvision'] = {}; -AWS.LookoutVision = Service.defineService('lookoutvision', ['2020-11-20']); -Object.defineProperty(apiLoader.services['lookoutvision'], '2020-11-20', { - get: function get() { - var model = __nccwpck_require__(15110); - model.paginators = (__nccwpck_require__(45644)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.LookoutVision; - - -/***/ }), - -/***/ 22482: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['m2'] = {}; -AWS.M2 = Service.defineService('m2', ['2021-04-28']); -Object.defineProperty(apiLoader.services['m2'], '2021-04-28', { - get: function get() { - var model = __nccwpck_require__(21363); - model.paginators = (__nccwpck_require__(96286)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.M2; - - -/***/ }), - -/***/ 82907: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['machinelearning'] = {}; -AWS.MachineLearning = Service.defineService('machinelearning', ['2014-12-12']); -__nccwpck_require__(19174); -Object.defineProperty(apiLoader.services['machinelearning'], '2014-12-12', { - get: function get() { - var model = __nccwpck_require__(4069); - model.paginators = (__nccwpck_require__(95535)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(23194)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MachineLearning; - - -/***/ }), - -/***/ 57330: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['macie2'] = {}; -AWS.Macie2 = Service.defineService('macie2', ['2020-01-01']); -Object.defineProperty(apiLoader.services['macie2'], '2020-01-01', { - get: function get() { - var model = __nccwpck_require__(50847); - model.paginators = (__nccwpck_require__(25947)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(71131)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Macie2; - - -/***/ }), - -/***/ 85143: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['managedblockchain'] = {}; -AWS.ManagedBlockchain = Service.defineService('managedblockchain', ['2018-09-24']); -Object.defineProperty(apiLoader.services['managedblockchain'], '2018-09-24', { - get: function get() { - var model = __nccwpck_require__(31229); - model.paginators = (__nccwpck_require__(57358)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ManagedBlockchain; - - -/***/ }), - -/***/ 51046: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['managedblockchainquery'] = {}; -AWS.ManagedBlockchainQuery = Service.defineService('managedblockchainquery', ['2023-05-04']); -Object.defineProperty(apiLoader.services['managedblockchainquery'], '2023-05-04', { - get: function get() { - var model = __nccwpck_require__(53546); - model.paginators = (__nccwpck_require__(95929)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(17688)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ManagedBlockchainQuery; - - -/***/ }), - -/***/ 50379: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplaceagreement'] = {}; -AWS.MarketplaceAgreement = Service.defineService('marketplaceagreement', ['2020-03-01']); -Object.defineProperty(apiLoader.services['marketplaceagreement'], '2020-03-01', { - get: function get() { - var model = __nccwpck_require__(35188); - model.paginators = (__nccwpck_require__(99220)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceAgreement; - - -/***/ }), - -/***/ 2609: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplacecatalog'] = {}; -AWS.MarketplaceCatalog = Service.defineService('marketplacecatalog', ['2018-09-17']); -Object.defineProperty(apiLoader.services['marketplacecatalog'], '2018-09-17', { - get: function get() { - var model = __nccwpck_require__(87122); - model.paginators = (__nccwpck_require__(30187)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceCatalog; - - -/***/ }), - -/***/ 4540: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplacecommerceanalytics'] = {}; -AWS.MarketplaceCommerceAnalytics = Service.defineService('marketplacecommerceanalytics', ['2015-07-01']); -Object.defineProperty(apiLoader.services['marketplacecommerceanalytics'], '2015-07-01', { - get: function get() { - var model = __nccwpck_require__(96696); - model.paginators = (__nccwpck_require__(43265)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceCommerceAnalytics; - - -/***/ }), - -/***/ 56811: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplacedeployment'] = {}; -AWS.MarketplaceDeployment = Service.defineService('marketplacedeployment', ['2023-01-25']); -Object.defineProperty(apiLoader.services['marketplacedeployment'], '2023-01-25', { - get: function get() { - var model = __nccwpck_require__(9966); - model.paginators = (__nccwpck_require__(31372)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceDeployment; - - -/***/ }), - -/***/ 53707: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplaceentitlementservice'] = {}; -AWS.MarketplaceEntitlementService = Service.defineService('marketplaceentitlementservice', ['2017-01-11']); -Object.defineProperty(apiLoader.services['marketplaceentitlementservice'], '2017-01-11', { - get: function get() { - var model = __nccwpck_require__(64253); - model.paginators = (__nccwpck_require__(67012)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceEntitlementService; - - -/***/ }), - -/***/ 39297: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['marketplacemetering'] = {}; -AWS.MarketplaceMetering = Service.defineService('marketplacemetering', ['2016-01-14']); -Object.defineProperty(apiLoader.services['marketplacemetering'], '2016-01-14', { - get: function get() { - var model = __nccwpck_require__(43027); - model.paginators = (__nccwpck_require__(4843)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MarketplaceMetering; - - -/***/ }), - -/***/ 67639: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediaconnect'] = {}; -AWS.MediaConnect = Service.defineService('mediaconnect', ['2018-11-14']); -Object.defineProperty(apiLoader.services['mediaconnect'], '2018-11-14', { - get: function get() { - var model = __nccwpck_require__(85245); - model.paginators = (__nccwpck_require__(68160)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(42876)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaConnect; - - -/***/ }), - -/***/ 57220: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediaconvert'] = {}; -AWS.MediaConvert = Service.defineService('mediaconvert', ['2017-08-29']); -Object.defineProperty(apiLoader.services['mediaconvert'], '2017-08-29', { - get: function get() { - var model = __nccwpck_require__(41924); - model.paginators = (__nccwpck_require__(14179)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaConvert; - - -/***/ }), - -/***/ 7509: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['medialive'] = {}; -AWS.MediaLive = Service.defineService('medialive', ['2017-10-14']); -Object.defineProperty(apiLoader.services['medialive'], '2017-10-14', { - get: function get() { - var model = __nccwpck_require__(32326); - model.paginators = (__nccwpck_require__(84652)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(17259)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaLive; - - -/***/ }), - -/***/ 91620: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediapackage'] = {}; -AWS.MediaPackage = Service.defineService('mediapackage', ['2017-10-12']); -Object.defineProperty(apiLoader.services['mediapackage'], '2017-10-12', { - get: function get() { - var model = __nccwpck_require__(51261); - model.paginators = (__nccwpck_require__(48933)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaPackage; - - -/***/ }), - -/***/ 53264: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediapackagev2'] = {}; -AWS.MediaPackageV2 = Service.defineService('mediapackagev2', ['2022-12-25']); -Object.defineProperty(apiLoader.services['mediapackagev2'], '2022-12-25', { - get: function get() { - var model = __nccwpck_require__(37594); - model.paginators = (__nccwpck_require__(44503)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(68906)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaPackageV2; - - -/***/ }), - -/***/ 14962: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediapackagevod'] = {}; -AWS.MediaPackageVod = Service.defineService('mediapackagevod', ['2018-11-07']); -Object.defineProperty(apiLoader.services['mediapackagevod'], '2018-11-07', { - get: function get() { - var model = __nccwpck_require__(98877); - model.paginators = (__nccwpck_require__(48422)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaPackageVod; - - -/***/ }), - -/***/ 83748: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediastore'] = {}; -AWS.MediaStore = Service.defineService('mediastore', ['2017-09-01']); -Object.defineProperty(apiLoader.services['mediastore'], '2017-09-01', { - get: function get() { - var model = __nccwpck_require__(68901); - model.paginators = (__nccwpck_require__(5848)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaStore; - - -/***/ }), - -/***/ 98703: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediastoredata'] = {}; -AWS.MediaStoreData = Service.defineService('mediastoredata', ['2017-09-01']); -Object.defineProperty(apiLoader.services['mediastoredata'], '2017-09-01', { - get: function get() { - var model = __nccwpck_require__(55081); - model.paginators = (__nccwpck_require__(97948)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaStoreData; - - -/***/ }), - -/***/ 99658: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mediatailor'] = {}; -AWS.MediaTailor = Service.defineService('mediatailor', ['2018-04-23']); -Object.defineProperty(apiLoader.services['mediatailor'], '2018-04-23', { - get: function get() { - var model = __nccwpck_require__(77511); - model.paginators = (__nccwpck_require__(68557)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MediaTailor; - - -/***/ }), - -/***/ 79712: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['medicalimaging'] = {}; -AWS.MedicalImaging = Service.defineService('medicalimaging', ['2023-07-19']); -Object.defineProperty(apiLoader.services['medicalimaging'], '2023-07-19', { - get: function get() { - var model = __nccwpck_require__(46663); - model.paginators = (__nccwpck_require__(63177)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(63171)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MedicalImaging; - - -/***/ }), - -/***/ 50782: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['memorydb'] = {}; -AWS.MemoryDB = Service.defineService('memorydb', ['2021-01-01']); -Object.defineProperty(apiLoader.services['memorydb'], '2021-01-01', { - get: function get() { - var model = __nccwpck_require__(51950); - model.paginators = (__nccwpck_require__(93809)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MemoryDB; - - -/***/ }), - -/***/ 41339: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mgn'] = {}; -AWS.Mgn = Service.defineService('mgn', ['2020-02-26']); -Object.defineProperty(apiLoader.services['mgn'], '2020-02-26', { - get: function get() { - var model = __nccwpck_require__(65811); - model.paginators = (__nccwpck_require__(52443)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Mgn; - - -/***/ }), - -/***/ 14688: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['migrationhub'] = {}; -AWS.MigrationHub = Service.defineService('migrationhub', ['2017-05-31']); -Object.defineProperty(apiLoader.services['migrationhub'], '2017-05-31', { - get: function get() { - var model = __nccwpck_require__(99161); - model.paginators = (__nccwpck_require__(27903)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MigrationHub; - - -/***/ }), - -/***/ 62658: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['migrationhubconfig'] = {}; -AWS.MigrationHubConfig = Service.defineService('migrationhubconfig', ['2019-06-30']); -Object.defineProperty(apiLoader.services['migrationhubconfig'], '2019-06-30', { - get: function get() { - var model = __nccwpck_require__(59734); - model.paginators = (__nccwpck_require__(51497)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MigrationHubConfig; - - -/***/ }), - -/***/ 66120: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['migrationhuborchestrator'] = {}; -AWS.MigrationHubOrchestrator = Service.defineService('migrationhuborchestrator', ['2021-08-28']); -Object.defineProperty(apiLoader.services['migrationhuborchestrator'], '2021-08-28', { - get: function get() { - var model = __nccwpck_require__(73093); - model.paginators = (__nccwpck_require__(24233)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(83173)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MigrationHubOrchestrator; - - -/***/ }), - -/***/ 2925: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['migrationhubrefactorspaces'] = {}; -AWS.MigrationHubRefactorSpaces = Service.defineService('migrationhubrefactorspaces', ['2021-10-26']); -Object.defineProperty(apiLoader.services['migrationhubrefactorspaces'], '2021-10-26', { - get: function get() { - var model = __nccwpck_require__(17110); - model.paginators = (__nccwpck_require__(63789)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MigrationHubRefactorSpaces; - - -/***/ }), - -/***/ 96533: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['migrationhubstrategy'] = {}; -AWS.MigrationHubStrategy = Service.defineService('migrationhubstrategy', ['2020-02-19']); -Object.defineProperty(apiLoader.services['migrationhubstrategy'], '2020-02-19', { - get: function get() { - var model = __nccwpck_require__(64663); - model.paginators = (__nccwpck_require__(30896)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MigrationHubStrategy; - - -/***/ }), - -/***/ 39782: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mobile'] = {}; -AWS.Mobile = Service.defineService('mobile', ['2017-07-01']); -Object.defineProperty(apiLoader.services['mobile'], '2017-07-01', { - get: function get() { - var model = __nccwpck_require__(51691); - model.paginators = (__nccwpck_require__(43522)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Mobile; - - -/***/ }), - -/***/ 66690: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mobileanalytics'] = {}; -AWS.MobileAnalytics = Service.defineService('mobileanalytics', ['2014-06-05']); -Object.defineProperty(apiLoader.services['mobileanalytics'], '2014-06-05', { - get: function get() { - var model = __nccwpck_require__(90338); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MobileAnalytics; - - -/***/ }), - -/***/ 23093: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mq'] = {}; -AWS.MQ = Service.defineService('mq', ['2017-11-27']); -Object.defineProperty(apiLoader.services['mq'], '2017-11-27', { - get: function get() { - var model = __nccwpck_require__(35102); - model.paginators = (__nccwpck_require__(46095)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MQ; - - -/***/ }), - -/***/ 79954: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mturk'] = {}; -AWS.MTurk = Service.defineService('mturk', ['2017-01-17']); -Object.defineProperty(apiLoader.services['mturk'], '2017-01-17', { - get: function get() { - var model = __nccwpck_require__(73064); - model.paginators = (__nccwpck_require__(42409)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MTurk; - - -/***/ }), - -/***/ 32712: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['mwaa'] = {}; -AWS.MWAA = Service.defineService('mwaa', ['2020-07-01']); -Object.defineProperty(apiLoader.services['mwaa'], '2020-07-01', { - get: function get() { - var model = __nccwpck_require__(56612); - model.paginators = (__nccwpck_require__(11793)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.MWAA; - - -/***/ }), - -/***/ 30047: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['neptune'] = {}; -AWS.Neptune = Service.defineService('neptune', ['2014-10-31']); -__nccwpck_require__(73090); -Object.defineProperty(apiLoader.services['neptune'], '2014-10-31', { - get: function get() { - var model = __nccwpck_require__(50018); - model.paginators = (__nccwpck_require__(62952)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(8127)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Neptune; - - -/***/ }), - -/***/ 25737: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['neptunedata'] = {}; -AWS.Neptunedata = Service.defineService('neptunedata', ['2023-08-01']); -Object.defineProperty(apiLoader.services['neptunedata'], '2023-08-01', { - get: function get() { - var model = __nccwpck_require__(31008); - model.paginators = (__nccwpck_require__(2363)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Neptunedata; - - -/***/ }), - -/***/ 77598: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['neptunegraph'] = {}; -AWS.NeptuneGraph = Service.defineService('neptunegraph', ['2023-11-29']); -__nccwpck_require__(71963); -Object.defineProperty(apiLoader.services['neptunegraph'], '2023-11-29', { - get: function get() { - var model = __nccwpck_require__(19121); - model.paginators = (__nccwpck_require__(85871)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(91832)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.NeptuneGraph; - - -/***/ }), - -/***/ 84626: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['networkfirewall'] = {}; -AWS.NetworkFirewall = Service.defineService('networkfirewall', ['2020-11-12']); -Object.defineProperty(apiLoader.services['networkfirewall'], '2020-11-12', { - get: function get() { - var model = __nccwpck_require__(63757); - model.paginators = (__nccwpck_require__(74798)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.NetworkFirewall; - - -/***/ }), - -/***/ 37610: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['networkmanager'] = {}; -AWS.NetworkManager = Service.defineService('networkmanager', ['2019-07-05']); -Object.defineProperty(apiLoader.services['networkmanager'], '2019-07-05', { - get: function get() { - var model = __nccwpck_require__(10151); - model.paginators = (__nccwpck_require__(68278)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.NetworkManager; - - -/***/ }), - -/***/ 77614: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['networkmonitor'] = {}; -AWS.NetworkMonitor = Service.defineService('networkmonitor', ['2023-08-01']); -Object.defineProperty(apiLoader.services['networkmonitor'], '2023-08-01', { - get: function get() { - var model = __nccwpck_require__(37278); - model.paginators = (__nccwpck_require__(76488)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(61551)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.NetworkMonitor; - - -/***/ }), - -/***/ 89428: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['nimble'] = {}; -AWS.Nimble = Service.defineService('nimble', ['2020-08-01']); -Object.defineProperty(apiLoader.services['nimble'], '2020-08-01', { - get: function get() { - var model = __nccwpck_require__(50605); - model.paginators = (__nccwpck_require__(65300)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(42486)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Nimble; - - -/***/ }), - -/***/ 9319: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['oam'] = {}; -AWS.OAM = Service.defineService('oam', ['2022-06-10']); -Object.defineProperty(apiLoader.services['oam'], '2022-06-10', { - get: function get() { - var model = __nccwpck_require__(13463); - model.paginators = (__nccwpck_require__(55717)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OAM; - - -/***/ }), - -/***/ 75114: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['omics'] = {}; -AWS.Omics = Service.defineService('omics', ['2022-11-28']); -Object.defineProperty(apiLoader.services['omics'], '2022-11-28', { - get: function get() { - var model = __nccwpck_require__(74258); - model.paginators = (__nccwpck_require__(78278)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(31165)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Omics; - - -/***/ }), - -/***/ 60358: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['opensearch'] = {}; -AWS.OpenSearch = Service.defineService('opensearch', ['2021-01-01']); -Object.defineProperty(apiLoader.services['opensearch'], '2021-01-01', { - get: function get() { - var model = __nccwpck_require__(90583); - model.paginators = (__nccwpck_require__(32668)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpenSearch; - - -/***/ }), - -/***/ 86277: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['opensearchserverless'] = {}; -AWS.OpenSearchServerless = Service.defineService('opensearchserverless', ['2021-11-01']); -Object.defineProperty(apiLoader.services['opensearchserverless'], '2021-11-01', { - get: function get() { - var model = __nccwpck_require__(61668); - model.paginators = (__nccwpck_require__(68785)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpenSearchServerless; - - -/***/ }), - -/***/ 75691: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['opsworks'] = {}; -AWS.OpsWorks = Service.defineService('opsworks', ['2013-02-18']); -Object.defineProperty(apiLoader.services['opsworks'], '2013-02-18', { - get: function get() { - var model = __nccwpck_require__(22805); - model.paginators = (__nccwpck_require__(24750)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(74961)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpsWorks; - - -/***/ }), - -/***/ 80388: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['opsworkscm'] = {}; -AWS.OpsWorksCM = Service.defineService('opsworkscm', ['2016-11-01']); -Object.defineProperty(apiLoader.services['opsworkscm'], '2016-11-01', { - get: function get() { - var model = __nccwpck_require__(56705); - model.paginators = (__nccwpck_require__(49463)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(65003)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OpsWorksCM; - - -/***/ }), - -/***/ 52560: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['organizations'] = {}; -AWS.Organizations = Service.defineService('organizations', ['2016-11-28']); -Object.defineProperty(apiLoader.services['organizations'], '2016-11-28', { - get: function get() { - var model = __nccwpck_require__(58874); - model.paginators = (__nccwpck_require__(43261)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Organizations; - - -/***/ }), - -/***/ 98021: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['osis'] = {}; -AWS.OSIS = Service.defineService('osis', ['2022-01-01']); -Object.defineProperty(apiLoader.services['osis'], '2022-01-01', { - get: function get() { - var model = __nccwpck_require__(51838); - model.paginators = (__nccwpck_require__(72472)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.OSIS; - - -/***/ }), - -/***/ 27551: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['outposts'] = {}; -AWS.Outposts = Service.defineService('outposts', ['2019-12-03']); -Object.defineProperty(apiLoader.services['outposts'], '2019-12-03', { - get: function get() { - var model = __nccwpck_require__(4807); - model.paginators = (__nccwpck_require__(3364)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Outposts; - - -/***/ }), - -/***/ 20368: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['panorama'] = {}; -AWS.Panorama = Service.defineService('panorama', ['2019-07-24']); -Object.defineProperty(apiLoader.services['panorama'], '2019-07-24', { - get: function get() { - var model = __nccwpck_require__(91489); - model.paginators = (__nccwpck_require__(77238)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Panorama; - - -/***/ }), - -/***/ 11594: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['paymentcryptography'] = {}; -AWS.PaymentCryptography = Service.defineService('paymentcryptography', ['2021-09-14']); -Object.defineProperty(apiLoader.services['paymentcryptography'], '2021-09-14', { - get: function get() { - var model = __nccwpck_require__(86072); - model.paginators = (__nccwpck_require__(17819)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PaymentCryptography; - - -/***/ }), - -/***/ 96559: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['paymentcryptographydata'] = {}; -AWS.PaymentCryptographyData = Service.defineService('paymentcryptographydata', ['2022-02-03']); -Object.defineProperty(apiLoader.services['paymentcryptographydata'], '2022-02-03', { - get: function get() { - var model = __nccwpck_require__(68578); - model.paginators = (__nccwpck_require__(89757)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PaymentCryptographyData; - - -/***/ }), - -/***/ 55959: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pcaconnectorad'] = {}; -AWS.PcaConnectorAd = Service.defineService('pcaconnectorad', ['2018-05-10']); -Object.defineProperty(apiLoader.services['pcaconnectorad'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(6901); - model.paginators = (__nccwpck_require__(33158)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PcaConnectorAd; - - -/***/ }), - -/***/ 33696: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['personalize'] = {}; -AWS.Personalize = Service.defineService('personalize', ['2018-05-22']); -Object.defineProperty(apiLoader.services['personalize'], '2018-05-22', { - get: function get() { - var model = __nccwpck_require__(70169); - model.paginators = (__nccwpck_require__(64441)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Personalize; - - -/***/ }), - -/***/ 88170: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['personalizeevents'] = {}; -AWS.PersonalizeEvents = Service.defineService('personalizeevents', ['2018-03-22']); -Object.defineProperty(apiLoader.services['personalizeevents'], '2018-03-22', { - get: function get() { - var model = __nccwpck_require__(3606); - model.paginators = (__nccwpck_require__(94507)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PersonalizeEvents; - - -/***/ }), - -/***/ 66184: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['personalizeruntime'] = {}; -AWS.PersonalizeRuntime = Service.defineService('personalizeruntime', ['2018-05-22']); -Object.defineProperty(apiLoader.services['personalizeruntime'], '2018-05-22', { - get: function get() { - var model = __nccwpck_require__(18824); - model.paginators = (__nccwpck_require__(8069)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PersonalizeRuntime; - - -/***/ }), - -/***/ 15505: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pi'] = {}; -AWS.PI = Service.defineService('pi', ['2018-02-27']); -Object.defineProperty(apiLoader.services['pi'], '2018-02-27', { - get: function get() { - var model = __nccwpck_require__(18761); - model.paginators = (__nccwpck_require__(84882)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PI; - - -/***/ }), - -/***/ 18388: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pinpoint'] = {}; -AWS.Pinpoint = Service.defineService('pinpoint', ['2016-12-01']); -Object.defineProperty(apiLoader.services['pinpoint'], '2016-12-01', { - get: function get() { - var model = __nccwpck_require__(40605); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Pinpoint; - - -/***/ }), - -/***/ 83060: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pinpointemail'] = {}; -AWS.PinpointEmail = Service.defineService('pinpointemail', ['2018-07-26']); -Object.defineProperty(apiLoader.services['pinpointemail'], '2018-07-26', { - get: function get() { - var model = __nccwpck_require__(55228); - model.paginators = (__nccwpck_require__(45172)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PinpointEmail; - - -/***/ }), - -/***/ 46605: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pinpointsmsvoice'] = {}; -AWS.PinpointSMSVoice = Service.defineService('pinpointsmsvoice', ['2018-09-05']); -Object.defineProperty(apiLoader.services['pinpointsmsvoice'], '2018-09-05', { - get: function get() { - var model = __nccwpck_require__(98689); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PinpointSMSVoice; - - -/***/ }), - -/***/ 478: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pinpointsmsvoicev2'] = {}; -AWS.PinpointSMSVoiceV2 = Service.defineService('pinpointsmsvoicev2', ['2022-03-31']); -Object.defineProperty(apiLoader.services['pinpointsmsvoicev2'], '2022-03-31', { - get: function get() { - var model = __nccwpck_require__(88319); - model.paginators = (__nccwpck_require__(80650)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(6663)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PinpointSMSVoiceV2; - - -/***/ }), - -/***/ 14220: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pipes'] = {}; -AWS.Pipes = Service.defineService('pipes', ['2015-10-07']); -Object.defineProperty(apiLoader.services['pipes'], '2015-10-07', { - get: function get() { - var model = __nccwpck_require__(40616); - model.paginators = (__nccwpck_require__(17710)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Pipes; - - -/***/ }), - -/***/ 97332: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['polly'] = {}; -AWS.Polly = Service.defineService('polly', ['2016-06-10']); -__nccwpck_require__(53199); -Object.defineProperty(apiLoader.services['polly'], '2016-06-10', { - get: function get() { - var model = __nccwpck_require__(55078); - model.paginators = (__nccwpck_require__(77060)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Polly; - - -/***/ }), - -/***/ 92765: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['pricing'] = {}; -AWS.Pricing = Service.defineService('pricing', ['2017-10-15']); -Object.defineProperty(apiLoader.services['pricing'], '2017-10-15', { - get: function get() { - var model = __nccwpck_require__(22484); - model.paginators = (__nccwpck_require__(60369)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(41996)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Pricing; - - -/***/ }), - -/***/ 63088: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['privatenetworks'] = {}; -AWS.PrivateNetworks = Service.defineService('privatenetworks', ['2021-12-03']); -Object.defineProperty(apiLoader.services['privatenetworks'], '2021-12-03', { - get: function get() { - var model = __nccwpck_require__(46306); - model.paginators = (__nccwpck_require__(42771)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.PrivateNetworks; - - -/***/ }), - -/***/ 9275: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['proton'] = {}; -AWS.Proton = Service.defineService('proton', ['2020-07-20']); -Object.defineProperty(apiLoader.services['proton'], '2020-07-20', { - get: function get() { - var model = __nccwpck_require__(78577); - model.paginators = (__nccwpck_require__(14299)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(99338)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Proton; - - -/***/ }), - -/***/ 26842: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['qbusiness'] = {}; -AWS.QBusiness = Service.defineService('qbusiness', ['2023-11-27']); -Object.defineProperty(apiLoader.services['qbusiness'], '2023-11-27', { - get: function get() { - var model = __nccwpck_require__(12388); - model.paginators = (__nccwpck_require__(51051)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.QBusiness; - - -/***/ }), - -/***/ 39094: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['qconnect'] = {}; -AWS.QConnect = Service.defineService('qconnect', ['2020-10-19']); -Object.defineProperty(apiLoader.services['qconnect'], '2020-10-19', { - get: function get() { - var model = __nccwpck_require__(72266); - model.paginators = (__nccwpck_require__(95945)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.QConnect; - - -/***/ }), - -/***/ 71266: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['qldb'] = {}; -AWS.QLDB = Service.defineService('qldb', ['2019-01-02']); -Object.defineProperty(apiLoader.services['qldb'], '2019-01-02', { - get: function get() { - var model = __nccwpck_require__(71346); - model.paginators = (__nccwpck_require__(34265)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.QLDB; - - -/***/ }), - -/***/ 55423: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['qldbsession'] = {}; -AWS.QLDBSession = Service.defineService('qldbsession', ['2019-07-11']); -Object.defineProperty(apiLoader.services['qldbsession'], '2019-07-11', { - get: function get() { - var model = __nccwpck_require__(60040); - model.paginators = (__nccwpck_require__(61051)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.QLDBSession; - - -/***/ }), - -/***/ 29898: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['quicksight'] = {}; -AWS.QuickSight = Service.defineService('quicksight', ['2018-04-01']); -Object.defineProperty(apiLoader.services['quicksight'], '2018-04-01', { - get: function get() { - var model = __nccwpck_require__(8419); - model.paginators = (__nccwpck_require__(43387)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.QuickSight; - - -/***/ }), - -/***/ 94394: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ram'] = {}; -AWS.RAM = Service.defineService('ram', ['2018-01-04']); -Object.defineProperty(apiLoader.services['ram'], '2018-01-04', { - get: function get() { - var model = __nccwpck_require__(61375); - model.paginators = (__nccwpck_require__(85336)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RAM; - - -/***/ }), - -/***/ 70145: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rbin'] = {}; -AWS.Rbin = Service.defineService('rbin', ['2021-06-15']); -Object.defineProperty(apiLoader.services['rbin'], '2021-06-15', { - get: function get() { - var model = __nccwpck_require__(18897); - model.paginators = (__nccwpck_require__(57601)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Rbin; - - -/***/ }), - -/***/ 71578: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rds'] = {}; -AWS.RDS = Service.defineService('rds', ['2013-01-10', '2013-02-12', '2013-09-09', '2014-09-01', '2014-09-01*', '2014-10-31']); -__nccwpck_require__(71928); -Object.defineProperty(apiLoader.services['rds'], '2013-01-10', { - get: function get() { - var model = __nccwpck_require__(59989); - model.paginators = (__nccwpck_require__(978)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2013-02-12', { - get: function get() { - var model = __nccwpck_require__(55061); - model.paginators = (__nccwpck_require__(39581)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2013-09-09', { - get: function get() { - var model = __nccwpck_require__(36331); - model.paginators = (__nccwpck_require__(14485)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(36851)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2014-09-01', { - get: function get() { - var model = __nccwpck_require__(19226); - model.paginators = (__nccwpck_require__(49863)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); -Object.defineProperty(apiLoader.services['rds'], '2014-10-31', { - get: function get() { - var model = __nccwpck_require__(91916); - model.paginators = (__nccwpck_require__(85082)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(20371)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RDS; - - -/***/ }), - -/***/ 30147: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rdsdataservice'] = {}; -AWS.RDSDataService = Service.defineService('rdsdataservice', ['2018-08-01']); -__nccwpck_require__(64070); -Object.defineProperty(apiLoader.services['rdsdataservice'], '2018-08-01', { - get: function get() { - var model = __nccwpck_require__(13559); - model.paginators = (__nccwpck_require__(41160)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RDSDataService; - - -/***/ }), - -/***/ 84853: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['redshift'] = {}; -AWS.Redshift = Service.defineService('redshift', ['2012-12-01']); -Object.defineProperty(apiLoader.services['redshift'], '2012-12-01', { - get: function get() { - var model = __nccwpck_require__(24827); - model.paginators = (__nccwpck_require__(88012)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(79011)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Redshift; - - -/***/ }), - -/***/ 203: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['redshiftdata'] = {}; -AWS.RedshiftData = Service.defineService('redshiftdata', ['2019-12-20']); -Object.defineProperty(apiLoader.services['redshiftdata'], '2019-12-20', { - get: function get() { - var model = __nccwpck_require__(85203); - model.paginators = (__nccwpck_require__(27797)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RedshiftData; - - -/***/ }), - -/***/ 29987: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['redshiftserverless'] = {}; -AWS.RedshiftServerless = Service.defineService('redshiftserverless', ['2021-04-21']); -Object.defineProperty(apiLoader.services['redshiftserverless'], '2021-04-21', { - get: function get() { - var model = __nccwpck_require__(95705); - model.paginators = (__nccwpck_require__(892)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RedshiftServerless; - - -/***/ }), - -/***/ 65470: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rekognition'] = {}; -AWS.Rekognition = Service.defineService('rekognition', ['2016-06-27']); -Object.defineProperty(apiLoader.services['rekognition'], '2016-06-27', { - get: function get() { - var model = __nccwpck_require__(66442); - model.paginators = (__nccwpck_require__(37753)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(78910)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Rekognition; - - -/***/ }), - -/***/ 21154: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['repostspace'] = {}; -AWS.Repostspace = Service.defineService('repostspace', ['2022-05-13']); -Object.defineProperty(apiLoader.services['repostspace'], '2022-05-13', { - get: function get() { - var model = __nccwpck_require__(59766); - model.paginators = (__nccwpck_require__(10997)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Repostspace; - - -/***/ }), - -/***/ 21173: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['resiliencehub'] = {}; -AWS.Resiliencehub = Service.defineService('resiliencehub', ['2020-04-30']); -Object.defineProperty(apiLoader.services['resiliencehub'], '2020-04-30', { - get: function get() { - var model = __nccwpck_require__(3885); - model.paginators = (__nccwpck_require__(38750)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Resiliencehub; - - -/***/ }), - -/***/ 74071: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['resourceexplorer2'] = {}; -AWS.ResourceExplorer2 = Service.defineService('resourceexplorer2', ['2022-07-28']); -Object.defineProperty(apiLoader.services['resourceexplorer2'], '2022-07-28', { - get: function get() { - var model = __nccwpck_require__(26515); - model.paginators = (__nccwpck_require__(8580)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ResourceExplorer2; - - -/***/ }), - -/***/ 58756: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['resourcegroups'] = {}; -AWS.ResourceGroups = Service.defineService('resourcegroups', ['2017-11-27']); -Object.defineProperty(apiLoader.services['resourcegroups'], '2017-11-27', { - get: function get() { - var model = __nccwpck_require__(73621); - model.paginators = (__nccwpck_require__(24085)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ResourceGroups; - - -/***/ }), - -/***/ 7385: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['resourcegroupstaggingapi'] = {}; -AWS.ResourceGroupsTaggingAPI = Service.defineService('resourcegroupstaggingapi', ['2017-01-26']); -Object.defineProperty(apiLoader.services['resourcegroupstaggingapi'], '2017-01-26', { - get: function get() { - var model = __nccwpck_require__(71720); - model.paginators = (__nccwpck_require__(36635)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ResourceGroupsTaggingAPI; - - -/***/ }), - -/***/ 18068: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['robomaker'] = {}; -AWS.RoboMaker = Service.defineService('robomaker', ['2018-06-29']); -Object.defineProperty(apiLoader.services['robomaker'], '2018-06-29', { - get: function get() { - var model = __nccwpck_require__(6904); - model.paginators = (__nccwpck_require__(43495)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RoboMaker; - - -/***/ }), - -/***/ 83604: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rolesanywhere'] = {}; -AWS.RolesAnywhere = Service.defineService('rolesanywhere', ['2018-05-10']); -Object.defineProperty(apiLoader.services['rolesanywhere'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(80801); - model.paginators = (__nccwpck_require__(65955)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RolesAnywhere; - - -/***/ }), - -/***/ 44968: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53'] = {}; -AWS.Route53 = Service.defineService('route53', ['2013-04-01']); -__nccwpck_require__(69627); -Object.defineProperty(apiLoader.services['route53'], '2013-04-01', { - get: function get() { - var model = __nccwpck_require__(20959); - model.paginators = (__nccwpck_require__(46456)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(28347)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53; - - -/***/ }), - -/***/ 51994: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53domains'] = {}; -AWS.Route53Domains = Service.defineService('route53domains', ['2014-05-15']); -Object.defineProperty(apiLoader.services['route53domains'], '2014-05-15', { - get: function get() { - var model = __nccwpck_require__(57598); - model.paginators = (__nccwpck_require__(52189)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53Domains; - - -/***/ }), - -/***/ 35738: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53recoverycluster'] = {}; -AWS.Route53RecoveryCluster = Service.defineService('route53recoverycluster', ['2019-12-02']); -Object.defineProperty(apiLoader.services['route53recoverycluster'], '2019-12-02', { - get: function get() { - var model = __nccwpck_require__(73989); - model.paginators = (__nccwpck_require__(69118)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53RecoveryCluster; - - -/***/ }), - -/***/ 16063: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53recoverycontrolconfig'] = {}; -AWS.Route53RecoveryControlConfig = Service.defineService('route53recoverycontrolconfig', ['2020-11-02']); -Object.defineProperty(apiLoader.services['route53recoverycontrolconfig'], '2020-11-02', { - get: function get() { - var model = __nccwpck_require__(38334); - model.paginators = (__nccwpck_require__(19728)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(57184)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53RecoveryControlConfig; - - -/***/ }), - -/***/ 79106: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53recoveryreadiness'] = {}; -AWS.Route53RecoveryReadiness = Service.defineService('route53recoveryreadiness', ['2019-12-02']); -Object.defineProperty(apiLoader.services['route53recoveryreadiness'], '2019-12-02', { - get: function get() { - var model = __nccwpck_require__(40156); - model.paginators = (__nccwpck_require__(96969)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53RecoveryReadiness; - - -/***/ }), - -/***/ 25894: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['route53resolver'] = {}; -AWS.Route53Resolver = Service.defineService('route53resolver', ['2018-04-01']); -Object.defineProperty(apiLoader.services['route53resolver'], '2018-04-01', { - get: function get() { - var model = __nccwpck_require__(89229); - model.paginators = (__nccwpck_require__(95050)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Route53Resolver; - - -/***/ }), - -/***/ 53237: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['rum'] = {}; -AWS.RUM = Service.defineService('rum', ['2018-05-10']); -Object.defineProperty(apiLoader.services['rum'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(84126); - model.paginators = (__nccwpck_require__(79432)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.RUM; - - -/***/ }), - -/***/ 83256: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['s3'] = {}; -AWS.S3 = Service.defineService('s3', ['2006-03-01']); -__nccwpck_require__(26543); -Object.defineProperty(apiLoader.services['s3'], '2006-03-01', { - get: function get() { - var model = __nccwpck_require__(1129); - model.paginators = (__nccwpck_require__(7265)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(74048)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.S3; - - -/***/ }), - -/***/ 99817: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['s3control'] = {}; -AWS.S3Control = Service.defineService('s3control', ['2018-08-20']); -__nccwpck_require__(71207); -Object.defineProperty(apiLoader.services['s3control'], '2018-08-20', { - get: function get() { - var model = __nccwpck_require__(1201); - model.paginators = (__nccwpck_require__(55527)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.S3Control; - - -/***/ }), - -/***/ 90493: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['s3outposts'] = {}; -AWS.S3Outposts = Service.defineService('s3outposts', ['2017-07-25']); -Object.defineProperty(apiLoader.services['s3outposts'], '2017-07-25', { - get: function get() { - var model = __nccwpck_require__(79971); - model.paginators = (__nccwpck_require__(32505)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.S3Outposts; - - -/***/ }), - -/***/ 77657: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemaker'] = {}; -AWS.SageMaker = Service.defineService('sagemaker', ['2017-07-24']); -Object.defineProperty(apiLoader.services['sagemaker'], '2017-07-24', { - get: function get() { - var model = __nccwpck_require__(71132); - model.paginators = (__nccwpck_require__(69254)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(80824)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SageMaker; - - -/***/ }), - -/***/ 38966: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemakeredge'] = {}; -AWS.SagemakerEdge = Service.defineService('sagemakeredge', ['2020-09-23']); -Object.defineProperty(apiLoader.services['sagemakeredge'], '2020-09-23', { - get: function get() { - var model = __nccwpck_require__(97093); - model.paginators = (__nccwpck_require__(71636)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SagemakerEdge; - - -/***/ }), - -/***/ 67644: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemakerfeaturestoreruntime'] = {}; -AWS.SageMakerFeatureStoreRuntime = Service.defineService('sagemakerfeaturestoreruntime', ['2020-07-01']); -Object.defineProperty(apiLoader.services['sagemakerfeaturestoreruntime'], '2020-07-01', { - get: function get() { - var model = __nccwpck_require__(75546); - model.paginators = (__nccwpck_require__(12151)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SageMakerFeatureStoreRuntime; - - -/***/ }), - -/***/ 4707: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemakergeospatial'] = {}; -AWS.SageMakerGeospatial = Service.defineService('sagemakergeospatial', ['2020-05-27']); -Object.defineProperty(apiLoader.services['sagemakergeospatial'], '2020-05-27', { - get: function get() { - var model = __nccwpck_require__(26059); - model.paginators = (__nccwpck_require__(99606)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SageMakerGeospatial; - - -/***/ }), - -/***/ 28199: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemakermetrics'] = {}; -AWS.SageMakerMetrics = Service.defineService('sagemakermetrics', ['2022-09-30']); -Object.defineProperty(apiLoader.services['sagemakermetrics'], '2022-09-30', { - get: function get() { - var model = __nccwpck_require__(89834); - model.paginators = (__nccwpck_require__(80107)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SageMakerMetrics; - - -/***/ }), - -/***/ 85044: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sagemakerruntime'] = {}; -AWS.SageMakerRuntime = Service.defineService('sagemakerruntime', ['2017-05-13']); -Object.defineProperty(apiLoader.services['sagemakerruntime'], '2017-05-13', { - get: function get() { - var model = __nccwpck_require__(27032); - model.paginators = (__nccwpck_require__(7570)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SageMakerRuntime; - - -/***/ }), - -/***/ 62825: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['savingsplans'] = {}; -AWS.SavingsPlans = Service.defineService('savingsplans', ['2019-06-28']); -Object.defineProperty(apiLoader.services['savingsplans'], '2019-06-28', { - get: function get() { - var model = __nccwpck_require__(46879); - model.paginators = (__nccwpck_require__(78998)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SavingsPlans; - - -/***/ }), - -/***/ 94840: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['scheduler'] = {}; -AWS.Scheduler = Service.defineService('scheduler', ['2021-06-30']); -Object.defineProperty(apiLoader.services['scheduler'], '2021-06-30', { - get: function get() { - var model = __nccwpck_require__(36876); - model.paginators = (__nccwpck_require__(54594)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Scheduler; - - -/***/ }), - -/***/ 55713: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['schemas'] = {}; -AWS.Schemas = Service.defineService('schemas', ['2019-12-02']); -Object.defineProperty(apiLoader.services['schemas'], '2019-12-02', { - get: function get() { - var model = __nccwpck_require__(76626); - model.paginators = (__nccwpck_require__(34227)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(62213)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Schemas; - - -/***/ }), - -/***/ 85131: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['secretsmanager'] = {}; -AWS.SecretsManager = Service.defineService('secretsmanager', ['2017-10-17']); -Object.defineProperty(apiLoader.services['secretsmanager'], '2017-10-17', { - get: function get() { - var model = __nccwpck_require__(89470); - model.paginators = (__nccwpck_require__(25613)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SecretsManager; - - -/***/ }), - -/***/ 21550: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['securityhub'] = {}; -AWS.SecurityHub = Service.defineService('securityhub', ['2018-10-26']); -Object.defineProperty(apiLoader.services['securityhub'], '2018-10-26', { - get: function get() { - var model = __nccwpck_require__(29208); - model.paginators = (__nccwpck_require__(85595)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SecurityHub; - - -/***/ }), - -/***/ 84296: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['securitylake'] = {}; -AWS.SecurityLake = Service.defineService('securitylake', ['2018-05-10']); -Object.defineProperty(apiLoader.services['securitylake'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(26935); - model.paginators = (__nccwpck_require__(42170)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SecurityLake; - - -/***/ }), - -/***/ 62402: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['serverlessapplicationrepository'] = {}; -AWS.ServerlessApplicationRepository = Service.defineService('serverlessapplicationrepository', ['2017-09-08']); -Object.defineProperty(apiLoader.services['serverlessapplicationrepository'], '2017-09-08', { - get: function get() { - var model = __nccwpck_require__(68422); - model.paginators = (__nccwpck_require__(34864)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServerlessApplicationRepository; - - -/***/ }), - -/***/ 822: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['servicecatalog'] = {}; -AWS.ServiceCatalog = Service.defineService('servicecatalog', ['2015-12-10']); -Object.defineProperty(apiLoader.services['servicecatalog'], '2015-12-10', { - get: function get() { - var model = __nccwpck_require__(95500); - model.paginators = (__nccwpck_require__(21687)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceCatalog; - - -/***/ }), - -/***/ 79068: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['servicecatalogappregistry'] = {}; -AWS.ServiceCatalogAppRegistry = Service.defineService('servicecatalogappregistry', ['2020-06-24']); -Object.defineProperty(apiLoader.services['servicecatalogappregistry'], '2020-06-24', { - get: function get() { - var model = __nccwpck_require__(25697); - model.paginators = (__nccwpck_require__(28893)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceCatalogAppRegistry; - - -/***/ }), - -/***/ 91569: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['servicediscovery'] = {}; -AWS.ServiceDiscovery = Service.defineService('servicediscovery', ['2017-03-14']); -Object.defineProperty(apiLoader.services['servicediscovery'], '2017-03-14', { - get: function get() { - var model = __nccwpck_require__(22361); - model.paginators = (__nccwpck_require__(37798)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceDiscovery; - - -/***/ }), - -/***/ 57800: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['servicequotas'] = {}; -AWS.ServiceQuotas = Service.defineService('servicequotas', ['2019-06-24']); -Object.defineProperty(apiLoader.services['servicequotas'], '2019-06-24', { - get: function get() { - var model = __nccwpck_require__(68850); - model.paginators = (__nccwpck_require__(63074)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.ServiceQuotas; - - -/***/ }), - -/***/ 46816: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ses'] = {}; -AWS.SES = Service.defineService('ses', ['2010-12-01']); -Object.defineProperty(apiLoader.services['ses'], '2010-12-01', { - get: function get() { - var model = __nccwpck_require__(56693); - model.paginators = (__nccwpck_require__(9399)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(98229)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SES; - - -/***/ }), - -/***/ 20142: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sesv2'] = {}; -AWS.SESV2 = Service.defineService('sesv2', ['2019-09-27']); -Object.defineProperty(apiLoader.services['sesv2'], '2019-09-27', { - get: function get() { - var model = __nccwpck_require__(69754); - model.paginators = (__nccwpck_require__(72405)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SESV2; - - -/***/ }), - -/***/ 20271: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['shield'] = {}; -AWS.Shield = Service.defineService('shield', ['2016-06-02']); -Object.defineProperty(apiLoader.services['shield'], '2016-06-02', { - get: function get() { - var model = __nccwpck_require__(47061); - model.paginators = (__nccwpck_require__(54893)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Shield; - - -/***/ }), - -/***/ 71596: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['signer'] = {}; -AWS.Signer = Service.defineService('signer', ['2017-08-25']); -Object.defineProperty(apiLoader.services['signer'], '2017-08-25', { - get: function get() { - var model = __nccwpck_require__(97116); - model.paginators = (__nccwpck_require__(81027)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(48215)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Signer; - - -/***/ }), - -/***/ 10120: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['simpledb'] = {}; -AWS.SimpleDB = Service.defineService('simpledb', ['2009-04-15']); -Object.defineProperty(apiLoader.services['simpledb'], '2009-04-15', { - get: function get() { - var model = __nccwpck_require__(45164); - model.paginators = (__nccwpck_require__(55255)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SimpleDB; - - -/***/ }), - -/***/ 37090: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['simspaceweaver'] = {}; -AWS.SimSpaceWeaver = Service.defineService('simspaceweaver', ['2022-10-28']); -Object.defineProperty(apiLoader.services['simspaceweaver'], '2022-10-28', { - get: function get() { - var model = __nccwpck_require__(92139); - model.paginators = (__nccwpck_require__(31849)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SimSpaceWeaver; - - -/***/ }), - -/***/ 57719: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sms'] = {}; -AWS.SMS = Service.defineService('sms', ['2016-10-24']); -Object.defineProperty(apiLoader.services['sms'], '2016-10-24', { - get: function get() { - var model = __nccwpck_require__(26534); - model.paginators = (__nccwpck_require__(98730)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SMS; - - -/***/ }), - -/***/ 510: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['snowball'] = {}; -AWS.Snowball = Service.defineService('snowball', ['2016-06-30']); -Object.defineProperty(apiLoader.services['snowball'], '2016-06-30', { - get: function get() { - var model = __nccwpck_require__(96822); - model.paginators = (__nccwpck_require__(45219)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Snowball; - - -/***/ }), - -/***/ 64655: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['snowdevicemanagement'] = {}; -AWS.SnowDeviceManagement = Service.defineService('snowdevicemanagement', ['2021-08-04']); -Object.defineProperty(apiLoader.services['snowdevicemanagement'], '2021-08-04', { - get: function get() { - var model = __nccwpck_require__(97413); - model.paginators = (__nccwpck_require__(70424)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SnowDeviceManagement; - - -/***/ }), - -/***/ 28581: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sns'] = {}; -AWS.SNS = Service.defineService('sns', ['2010-03-31']); -Object.defineProperty(apiLoader.services['sns'], '2010-03-31', { - get: function get() { - var model = __nccwpck_require__(64387); - model.paginators = (__nccwpck_require__(58054)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SNS; - - -/***/ }), - -/***/ 63172: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sqs'] = {}; -AWS.SQS = Service.defineService('sqs', ['2012-11-05']); -__nccwpck_require__(94571); -Object.defineProperty(apiLoader.services['sqs'], '2012-11-05', { - get: function get() { - var model = __nccwpck_require__(53974); - model.paginators = (__nccwpck_require__(17249)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SQS; - - -/***/ }), - -/***/ 83380: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssm'] = {}; -AWS.SSM = Service.defineService('ssm', ['2014-11-06']); -Object.defineProperty(apiLoader.services['ssm'], '2014-11-06', { - get: function get() { - var model = __nccwpck_require__(44596); - model.paginators = (__nccwpck_require__(5135)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(98523)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSM; - - -/***/ }), - -/***/ 12577: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssmcontacts'] = {}; -AWS.SSMContacts = Service.defineService('ssmcontacts', ['2021-05-03']); -Object.defineProperty(apiLoader.services['ssmcontacts'], '2021-05-03', { - get: function get() { - var model = __nccwpck_require__(74831); - model.paginators = (__nccwpck_require__(63938)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSMContacts; - - -/***/ }), - -/***/ 20590: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssmincidents'] = {}; -AWS.SSMIncidents = Service.defineService('ssmincidents', ['2018-05-10']); -Object.defineProperty(apiLoader.services['ssmincidents'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(18719); - model.paginators = (__nccwpck_require__(4502)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(97755)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSMIncidents; - - -/***/ }), - -/***/ 44552: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssmsap'] = {}; -AWS.SsmSap = Service.defineService('ssmsap', ['2018-05-10']); -Object.defineProperty(apiLoader.services['ssmsap'], '2018-05-10', { - get: function get() { - var model = __nccwpck_require__(49218); - model.paginators = (__nccwpck_require__(94718)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SsmSap; - - -/***/ }), - -/***/ 71096: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sso'] = {}; -AWS.SSO = Service.defineService('sso', ['2019-06-10']); -Object.defineProperty(apiLoader.services['sso'], '2019-06-10', { - get: function get() { - var model = __nccwpck_require__(8027); - model.paginators = (__nccwpck_require__(36610)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSO; - - -/***/ }), - -/***/ 66644: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssoadmin'] = {}; -AWS.SSOAdmin = Service.defineService('ssoadmin', ['2020-07-20']); -Object.defineProperty(apiLoader.services['ssoadmin'], '2020-07-20', { - get: function get() { - var model = __nccwpck_require__(7239); - model.paginators = (__nccwpck_require__(49402)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSOAdmin; - - -/***/ }), - -/***/ 49870: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['ssooidc'] = {}; -AWS.SSOOIDC = Service.defineService('ssooidc', ['2019-06-10']); -Object.defineProperty(apiLoader.services['ssooidc'], '2019-06-10', { - get: function get() { - var model = __nccwpck_require__(62343); - model.paginators = (__nccwpck_require__(50215)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SSOOIDC; - - -/***/ }), - -/***/ 8136: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['stepfunctions'] = {}; -AWS.StepFunctions = Service.defineService('stepfunctions', ['2016-11-23']); -Object.defineProperty(apiLoader.services['stepfunctions'], '2016-11-23', { - get: function get() { - var model = __nccwpck_require__(85693); - model.paginators = (__nccwpck_require__(24818)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.StepFunctions; - - -/***/ }), - -/***/ 89190: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['storagegateway'] = {}; -AWS.StorageGateway = Service.defineService('storagegateway', ['2013-06-30']); -Object.defineProperty(apiLoader.services['storagegateway'], '2013-06-30', { - get: function get() { - var model = __nccwpck_require__(11069); - model.paginators = (__nccwpck_require__(33999)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.StorageGateway; - - -/***/ }), - -/***/ 57513: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['sts'] = {}; -AWS.STS = Service.defineService('sts', ['2011-06-15']); -__nccwpck_require__(91055); -Object.defineProperty(apiLoader.services['sts'], '2011-06-15', { - get: function get() { - var model = __nccwpck_require__(80753); - model.paginators = (__nccwpck_require__(93639)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.STS; - - -/***/ }), - -/***/ 39674: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['supplychain'] = {}; -AWS.SupplyChain = Service.defineService('supplychain', ['2024-01-01']); -Object.defineProperty(apiLoader.services['supplychain'], '2024-01-01', { - get: function get() { - var model = __nccwpck_require__(78323); - model.paginators = (__nccwpck_require__(25916)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SupplyChain; - - -/***/ }), - -/***/ 1099: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['support'] = {}; -AWS.Support = Service.defineService('support', ['2013-04-15']); -Object.defineProperty(apiLoader.services['support'], '2013-04-15', { - get: function get() { - var model = __nccwpck_require__(20767); - model.paginators = (__nccwpck_require__(62491)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Support; - - -/***/ }), - -/***/ 51288: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['supportapp'] = {}; -AWS.SupportApp = Service.defineService('supportapp', ['2021-08-20']); -Object.defineProperty(apiLoader.services['supportapp'], '2021-08-20', { - get: function get() { - var model = __nccwpck_require__(94851); - model.paginators = (__nccwpck_require__(60546)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SupportApp; - - -/***/ }), - -/***/ 32327: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['swf'] = {}; -AWS.SWF = Service.defineService('swf', ['2012-01-25']); -__nccwpck_require__(31987); -Object.defineProperty(apiLoader.services['swf'], '2012-01-25', { - get: function get() { - var model = __nccwpck_require__(11144); - model.paginators = (__nccwpck_require__(48039)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.SWF; - - -/***/ }), - -/***/ 25910: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['synthetics'] = {}; -AWS.Synthetics = Service.defineService('synthetics', ['2017-10-11']); -Object.defineProperty(apiLoader.services['synthetics'], '2017-10-11', { - get: function get() { - var model = __nccwpck_require__(78752); - model.paginators = (__nccwpck_require__(61615)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Synthetics; - - -/***/ }), - -/***/ 58523: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['textract'] = {}; -AWS.Textract = Service.defineService('textract', ['2018-06-27']); -Object.defineProperty(apiLoader.services['textract'], '2018-06-27', { - get: function get() { - var model = __nccwpck_require__(49753); - model.paginators = (__nccwpck_require__(16270)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Textract; - - -/***/ }), - -/***/ 24529: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['timestreamquery'] = {}; -AWS.TimestreamQuery = Service.defineService('timestreamquery', ['2018-11-01']); -Object.defineProperty(apiLoader.services['timestreamquery'], '2018-11-01', { - get: function get() { - var model = __nccwpck_require__(70457); - model.paginators = (__nccwpck_require__(97217)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.TimestreamQuery; - - -/***/ }), - -/***/ 1573: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['timestreamwrite'] = {}; -AWS.TimestreamWrite = Service.defineService('timestreamwrite', ['2018-11-01']); -Object.defineProperty(apiLoader.services['timestreamwrite'], '2018-11-01', { - get: function get() { - var model = __nccwpck_require__(8368); - model.paginators = (__nccwpck_require__(89653)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.TimestreamWrite; - - -/***/ }), - -/***/ 15300: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['tnb'] = {}; -AWS.Tnb = Service.defineService('tnb', ['2008-10-21']); -Object.defineProperty(apiLoader.services['tnb'], '2008-10-21', { - get: function get() { - var model = __nccwpck_require__(1433); - model.paginators = (__nccwpck_require__(55995)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Tnb; - - -/***/ }), - -/***/ 75811: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['transcribeservice'] = {}; -AWS.TranscribeService = Service.defineService('transcribeservice', ['2017-10-26']); -Object.defineProperty(apiLoader.services['transcribeservice'], '2017-10-26', { - get: function get() { - var model = __nccwpck_require__(47294); - model.paginators = (__nccwpck_require__(25395)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.TranscribeService; - - -/***/ }), - -/***/ 51585: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['transfer'] = {}; -AWS.Transfer = Service.defineService('transfer', ['2018-11-05']); -Object.defineProperty(apiLoader.services['transfer'], '2018-11-05', { - get: function get() { - var model = __nccwpck_require__(93419); - model.paginators = (__nccwpck_require__(65803)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(45405)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Transfer; - - -/***/ }), - -/***/ 72544: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['translate'] = {}; -AWS.Translate = Service.defineService('translate', ['2017-07-01']); -Object.defineProperty(apiLoader.services['translate'], '2017-07-01', { - get: function get() { - var model = __nccwpck_require__(61084); - model.paginators = (__nccwpck_require__(40304)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Translate; - - -/***/ }), - -/***/ 4992: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['trustedadvisor'] = {}; -AWS.TrustedAdvisor = Service.defineService('trustedadvisor', ['2022-09-15']); -Object.defineProperty(apiLoader.services['trustedadvisor'], '2022-09-15', { - get: function get() { - var model = __nccwpck_require__(3889); - model.paginators = (__nccwpck_require__(89124)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.TrustedAdvisor; - - -/***/ }), - -/***/ 35604: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['verifiedpermissions'] = {}; -AWS.VerifiedPermissions = Service.defineService('verifiedpermissions', ['2021-12-01']); -Object.defineProperty(apiLoader.services['verifiedpermissions'], '2021-12-01', { - get: function get() { - var model = __nccwpck_require__(31407); - model.paginators = (__nccwpck_require__(85997)/* .pagination */ .o); - model.waiters = (__nccwpck_require__(14021)/* .waiters */ .V); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.VerifiedPermissions; - - -/***/ }), - -/***/ 28747: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['voiceid'] = {}; -AWS.VoiceID = Service.defineService('voiceid', ['2021-09-27']); -Object.defineProperty(apiLoader.services['voiceid'], '2021-09-27', { - get: function get() { - var model = __nccwpck_require__(9375); - model.paginators = (__nccwpck_require__(59512)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.VoiceID; - - -/***/ }), - -/***/ 78952: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['vpclattice'] = {}; -AWS.VPCLattice = Service.defineService('vpclattice', ['2022-11-30']); -Object.defineProperty(apiLoader.services['vpclattice'], '2022-11-30', { - get: function get() { - var model = __nccwpck_require__(49656); - model.paginators = (__nccwpck_require__(98717)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.VPCLattice; - - -/***/ }), - -/***/ 72742: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['waf'] = {}; -AWS.WAF = Service.defineService('waf', ['2015-08-24']); -Object.defineProperty(apiLoader.services['waf'], '2015-08-24', { - get: function get() { - var model = __nccwpck_require__(37925); - model.paginators = (__nccwpck_require__(65794)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAF; - - -/***/ }), - -/***/ 23153: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['wafregional'] = {}; -AWS.WAFRegional = Service.defineService('wafregional', ['2016-11-28']); -Object.defineProperty(apiLoader.services['wafregional'], '2016-11-28', { - get: function get() { - var model = __nccwpck_require__(20014); - model.paginators = (__nccwpck_require__(66829)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAFRegional; - - -/***/ }), - -/***/ 50353: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['wafv2'] = {}; -AWS.WAFV2 = Service.defineService('wafv2', ['2019-07-29']); -Object.defineProperty(apiLoader.services['wafv2'], '2019-07-29', { - get: function get() { - var model = __nccwpck_require__(51872); - model.paginators = (__nccwpck_require__(33900)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WAFV2; - - -/***/ }), - -/***/ 86263: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['wellarchitected'] = {}; -AWS.WellArchitected = Service.defineService('wellarchitected', ['2020-03-31']); -Object.defineProperty(apiLoader.services['wellarchitected'], '2020-03-31', { - get: function get() { - var model = __nccwpck_require__(19249); - model.paginators = (__nccwpck_require__(54693)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WellArchitected; - - -/***/ }), - -/***/ 85266: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['wisdom'] = {}; -AWS.Wisdom = Service.defineService('wisdom', ['2020-10-19']); -Object.defineProperty(apiLoader.services['wisdom'], '2020-10-19', { - get: function get() { - var model = __nccwpck_require__(94385); - model.paginators = (__nccwpck_require__(54852)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.Wisdom; - - -/***/ }), - -/***/ 38835: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workdocs'] = {}; -AWS.WorkDocs = Service.defineService('workdocs', ['2016-05-01']); -Object.defineProperty(apiLoader.services['workdocs'], '2016-05-01', { - get: function get() { - var model = __nccwpck_require__(41052); - model.paginators = (__nccwpck_require__(94768)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkDocs; - - -/***/ }), - -/***/ 48579: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['worklink'] = {}; -AWS.WorkLink = Service.defineService('worklink', ['2018-09-25']); -Object.defineProperty(apiLoader.services['worklink'], '2018-09-25', { - get: function get() { - var model = __nccwpck_require__(37178); - model.paginators = (__nccwpck_require__(74073)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkLink; - - -/***/ }), - -/***/ 38374: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workmail'] = {}; -AWS.WorkMail = Service.defineService('workmail', ['2017-10-01']); -Object.defineProperty(apiLoader.services['workmail'], '2017-10-01', { - get: function get() { - var model = __nccwpck_require__(93150); - model.paginators = (__nccwpck_require__(5158)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkMail; - - -/***/ }), - -/***/ 67025: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workmailmessageflow'] = {}; -AWS.WorkMailMessageFlow = Service.defineService('workmailmessageflow', ['2019-05-01']); -Object.defineProperty(apiLoader.services['workmailmessageflow'], '2019-05-01', { - get: function get() { - var model = __nccwpck_require__(57733); - model.paginators = (__nccwpck_require__(85646)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkMailMessageFlow; - - -/***/ }), - -/***/ 25513: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workspaces'] = {}; -AWS.WorkSpaces = Service.defineService('workspaces', ['2015-04-08']); -Object.defineProperty(apiLoader.services['workspaces'], '2015-04-08', { - get: function get() { - var model = __nccwpck_require__(97805); - model.paginators = (__nccwpck_require__(27769)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkSpaces; - - -/***/ }), - -/***/ 22033: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workspacesthinclient'] = {}; -AWS.WorkSpacesThinClient = Service.defineService('workspacesthinclient', ['2023-08-22']); -Object.defineProperty(apiLoader.services['workspacesthinclient'], '2023-08-22', { - get: function get() { - var model = __nccwpck_require__(24229); - model.paginators = (__nccwpck_require__(52084)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkSpacesThinClient; - - -/***/ }), - -/***/ 94124: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['workspacesweb'] = {}; -AWS.WorkSpacesWeb = Service.defineService('workspacesweb', ['2020-07-08']); -Object.defineProperty(apiLoader.services['workspacesweb'], '2020-07-08', { - get: function get() { - var model = __nccwpck_require__(47128); - model.paginators = (__nccwpck_require__(43497)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.WorkSpacesWeb; - - -/***/ }), - -/***/ 41548: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); -var AWS = __nccwpck_require__(28437); -var Service = AWS.Service; -var apiLoader = AWS.apiLoader; - -apiLoader.services['xray'] = {}; -AWS.XRay = Service.defineService('xray', ['2016-04-12']); -Object.defineProperty(apiLoader.services['xray'], '2016-04-12', { - get: function get() { - var model = __nccwpck_require__(97355); - model.paginators = (__nccwpck_require__(97949)/* .pagination */ .o); - return model; - }, - enumerable: true, - configurable: true -}); - -module.exports = AWS.XRay; - - -/***/ }), - -/***/ 52793: -/***/ ((module) => { - -function apiLoader(svc, version) { - if (!apiLoader.services.hasOwnProperty(svc)) { - throw new Error('InvalidService: Failed to load api for ' + svc); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptVpcEndpointConnectionsCommand"); +var se_AcceptVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptVpcPeeringConnectionRequest(input, context), + [_A]: _AVPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptVpcPeeringConnectionCommand"); +var se_AdvertiseByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AdvertiseByoipCidrRequest(input, context), + [_A]: _ABC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AdvertiseByoipCidrCommand"); +var se_AllocateAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AllocateAddressRequest(input, context), + [_A]: _AA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AllocateAddressCommand"); +var se_AllocateHostsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AllocateHostsRequest(input, context), + [_A]: _AH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AllocateHostsCommand"); +var se_AllocateIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AllocateIpamPoolCidrRequest(input, context), + [_A]: _AIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AllocateIpamPoolCidrCommand"); +var se_ApplySecurityGroupsToClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ApplySecurityGroupsToClientVpnTargetNetworkRequest(input, context), + [_A]: _ASGTCVTN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ApplySecurityGroupsToClientVpnTargetNetworkCommand"); +var se_AssignIpv6AddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssignIpv6AddressesRequest(input, context), + [_A]: _AIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssignIpv6AddressesCommand"); +var se_AssignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssignPrivateIpAddressesRequest(input, context), + [_A]: _APIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssignPrivateIpAddressesCommand"); +var se_AssignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssignPrivateNatGatewayAddressRequest(input, context), + [_A]: _APNGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssignPrivateNatGatewayAddressCommand"); +var se_AssociateAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateAddressRequest(input, context), + [_A]: _AAs, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateAddressCommand"); +var se_AssociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateClientVpnTargetNetworkRequest(input, context), + [_A]: _ACVTN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateClientVpnTargetNetworkCommand"); +var se_AssociateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateDhcpOptionsRequest(input, context), + [_A]: _ADO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateDhcpOptionsCommand"); +var se_AssociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateEnclaveCertificateIamRoleRequest(input, context), + [_A]: _AECIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateEnclaveCertificateIamRoleCommand"); +var se_AssociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateIamInstanceProfileRequest(input, context), + [_A]: _AIIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateIamInstanceProfileCommand"); +var se_AssociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateInstanceEventWindowRequest(input, context), + [_A]: _AIEW, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateInstanceEventWindowCommand"); +var se_AssociateIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateIpamByoasnRequest(input, context), + [_A]: _AIB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateIpamByoasnCommand"); +var se_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateIpamResourceDiscoveryRequest(input, context), + [_A]: _AIRD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateIpamResourceDiscoveryCommand"); +var se_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateNatGatewayAddressRequest(input, context), + [_A]: _ANGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateNatGatewayAddressCommand"); +var se_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateRouteTableRequest(input, context), + [_A]: _ART, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateRouteTableCommand"); +var se_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateSubnetCidrBlockRequest(input, context), + [_A]: _ASCB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateSubnetCidrBlockCommand"); +var se_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateTransitGatewayMulticastDomainRequest(input, context), + [_A]: _ATGMD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateTransitGatewayMulticastDomainCommand"); +var se_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateTransitGatewayPolicyTableRequest(input, context), + [_A]: _ATGPT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateTransitGatewayPolicyTableCommand"); +var se_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateTransitGatewayRouteTableRequest(input, context), + [_A]: _ATGRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateTransitGatewayRouteTableCommand"); +var se_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateTrunkInterfaceRequest(input, context), + [_A]: _ATI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateTrunkInterfaceCommand"); +var se_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateVpcCidrBlockRequest(input, context), + [_A]: _AVCB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateVpcCidrBlockCommand"); +var se_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachClassicLinkVpcRequest(input, context), + [_A]: _ACLV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachClassicLinkVpcCommand"); +var se_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachInternetGatewayRequest(input, context), + [_A]: _AIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachInternetGatewayCommand"); +var se_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachNetworkInterfaceRequest(input, context), + [_A]: _ANI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachNetworkInterfaceCommand"); +var se_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachVerifiedAccessTrustProviderRequest(input, context), + [_A]: _AVATP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachVerifiedAccessTrustProviderCommand"); +var se_AttachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachVolumeRequest(input, context), + [_A]: _AV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachVolumeCommand"); +var se_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AttachVpnGatewayRequest(input, context), + [_A]: _AVG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AttachVpnGatewayCommand"); +var se_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AuthorizeClientVpnIngressRequest(input, context), + [_A]: _ACVI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AuthorizeClientVpnIngressCommand"); +var se_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AuthorizeSecurityGroupEgressRequest(input, context), + [_A]: _ASGE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AuthorizeSecurityGroupEgressCommand"); +var se_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AuthorizeSecurityGroupIngressRequest(input, context), + [_A]: _ASGI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AuthorizeSecurityGroupIngressCommand"); +var se_BundleInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_BundleInstanceRequest(input, context), + [_A]: _BI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_BundleInstanceCommand"); +var se_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelBundleTaskRequest(input, context), + [_A]: _CBT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelBundleTaskCommand"); +var se_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelCapacityReservationRequest(input, context), + [_A]: _CCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelCapacityReservationCommand"); +var se_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelCapacityReservationFleetsRequest(input, context), + [_A]: _CCRF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelCapacityReservationFleetsCommand"); +var se_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelConversionRequest(input, context), + [_A]: _CCT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelConversionTaskCommand"); +var se_CancelExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelExportTaskRequest(input, context), + [_A]: _CET, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelExportTaskCommand"); +var se_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelImageLaunchPermissionRequest(input, context), + [_A]: _CILP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelImageLaunchPermissionCommand"); +var se_CancelImportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelImportTaskRequest(input, context), + [_A]: _CIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelImportTaskCommand"); +var se_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelReservedInstancesListingRequest(input, context), + [_A]: _CRIL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelReservedInstancesListingCommand"); +var se_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelSpotFleetRequestsRequest(input, context), + [_A]: _CSFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelSpotFleetRequestsCommand"); +var se_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelSpotInstanceRequestsRequest(input, context), + [_A]: _CSIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelSpotInstanceRequestsCommand"); +var se_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ConfirmProductInstanceRequest(input, context), + [_A]: _CPI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ConfirmProductInstanceCommand"); +var se_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CopyFpgaImageRequest(input, context), + [_A]: _CFI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CopyFpgaImageCommand"); +var se_CopyImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CopyImageRequest(input, context), + [_A]: _CI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CopyImageCommand"); +var se_CopySnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CopySnapshotRequest(input, context), + [_A]: _CS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CopySnapshotCommand"); +var se_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCapacityReservationRequest(input, context), + [_A]: _CCRr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCapacityReservationCommand"); +var se_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCapacityReservationFleetRequest(input, context), + [_A]: _CCRFr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCapacityReservationFleetCommand"); +var se_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCarrierGatewayRequest(input, context), + [_A]: _CCG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCarrierGatewayCommand"); +var se_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateClientVpnEndpointRequest(input, context), + [_A]: _CCVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateClientVpnEndpointCommand"); +var se_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateClientVpnRouteRequest(input, context), + [_A]: _CCVR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateClientVpnRouteCommand"); +var se_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCoipCidrRequest(input, context), + [_A]: _CCC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCoipCidrCommand"); +var se_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCoipPoolRequest(input, context), + [_A]: _CCP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCoipPoolCommand"); +var se_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCustomerGatewayRequest(input, context), + [_A]: _CCGr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCustomerGatewayCommand"); +var se_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateDefaultSubnetRequest(input, context), + [_A]: _CDS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateDefaultSubnetCommand"); +var se_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateDefaultVpcRequest(input, context), + [_A]: _CDV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateDefaultVpcCommand"); +var se_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateDhcpOptionsRequest(input, context), + [_A]: _CDO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateDhcpOptionsCommand"); +var se_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateEgressOnlyInternetGatewayRequest(input, context), + [_A]: _CEOIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateEgressOnlyInternetGatewayCommand"); +var se_CreateFleetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateFleetRequest(input, context), + [_A]: _CF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateFleetCommand"); +var se_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateFlowLogsRequest(input, context), + [_A]: _CFL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateFlowLogsCommand"); +var se_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateFpgaImageRequest(input, context), + [_A]: _CFIr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateFpgaImageCommand"); +var se_CreateImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateImageRequest(input, context), + [_A]: _CIr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateImageCommand"); +var se_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateInstanceConnectEndpointRequest(input, context), + [_A]: _CICE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateInstanceConnectEndpointCommand"); +var se_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateInstanceEventWindowRequest(input, context), + [_A]: _CIEW, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateInstanceEventWindowCommand"); +var se_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateInstanceExportTaskRequest(input, context), + [_A]: _CIET, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateInstanceExportTaskCommand"); +var se_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateInternetGatewayRequest(input, context), + [_A]: _CIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateInternetGatewayCommand"); +var se_CreateIpamCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateIpamRequest(input, context), + [_A]: _CIre, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateIpamCommand"); +var se_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateIpamPoolRequest(input, context), + [_A]: _CIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateIpamPoolCommand"); +var se_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateIpamResourceDiscoveryRequest(input, context), + [_A]: _CIRD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateIpamResourceDiscoveryCommand"); +var se_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateIpamScopeRequest(input, context), + [_A]: _CIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateIpamScopeCommand"); +var se_CreateKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateKeyPairRequest(input, context), + [_A]: _CKP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateKeyPairCommand"); +var se_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLaunchTemplateRequest(input, context), + [_A]: _CLT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLaunchTemplateCommand"); +var se_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLaunchTemplateVersionRequest(input, context), + [_A]: _CLTV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLaunchTemplateVersionCommand"); +var se_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLocalGatewayRouteRequest(input, context), + [_A]: _CLGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLocalGatewayRouteCommand"); +var se_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLocalGatewayRouteTableRequest(input, context), + [_A]: _CLGRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLocalGatewayRouteTableCommand"); +var se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), + [_A]: _CLGRTVIGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var se_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateLocalGatewayRouteTableVpcAssociationRequest(input, context), + [_A]: _CLGRTVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateLocalGatewayRouteTableVpcAssociationCommand"); +var se_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateManagedPrefixListRequest(input, context), + [_A]: _CMPL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateManagedPrefixListCommand"); +var se_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNatGatewayRequest(input, context), + [_A]: _CNG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNatGatewayCommand"); +var se_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkAclRequest(input, context), + [_A]: _CNA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkAclCommand"); +var se_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkAclEntryRequest(input, context), + [_A]: _CNAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkAclEntryCommand"); +var se_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkInsightsAccessScopeRequest(input, context), + [_A]: _CNIAS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkInsightsAccessScopeCommand"); +var se_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkInsightsPathRequest(input, context), + [_A]: _CNIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkInsightsPathCommand"); +var se_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkInterfaceRequest(input, context), + [_A]: _CNI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkInterfaceCommand"); +var se_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateNetworkInterfacePermissionRequest(input, context), + [_A]: _CNIPr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateNetworkInterfacePermissionCommand"); +var se_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreatePlacementGroupRequest(input, context), + [_A]: _CPG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreatePlacementGroupCommand"); +var se_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreatePublicIpv4PoolRequest(input, context), + [_A]: _CPIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreatePublicIpv4PoolCommand"); +var se_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateReplaceRootVolumeTaskRequest(input, context), + [_A]: _CRRVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateReplaceRootVolumeTaskCommand"); +var se_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateReservedInstancesListingRequest(input, context), + [_A]: _CRILr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateReservedInstancesListingCommand"); +var se_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateRestoreImageTaskRequest(input, context), + [_A]: _CRIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateRestoreImageTaskCommand"); +var se_CreateRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateRouteRequest(input, context), + [_A]: _CR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateRouteCommand"); +var se_CreateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateRouteTableRequest(input, context), + [_A]: _CRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateRouteTableCommand"); +var se_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSecurityGroupRequest(input, context), + [_A]: _CSG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSecurityGroupCommand"); +var se_CreateSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSnapshotRequest(input, context), + [_A]: _CSr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSnapshotCommand"); +var se_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSnapshotsRequest(input, context), + [_A]: _CSre, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSnapshotsCommand"); +var se_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSpotDatafeedSubscriptionRequest(input, context), + [_A]: _CSDS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSpotDatafeedSubscriptionCommand"); +var se_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateStoreImageTaskRequest(input, context), + [_A]: _CSIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateStoreImageTaskCommand"); +var se_CreateSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSubnetRequest(input, context), + [_A]: _CSrea, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSubnetCommand"); +var se_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateSubnetCidrReservationRequest(input, context), + [_A]: _CSCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateSubnetCidrReservationCommand"); +var se_CreateTagsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTagsRequest(input, context), + [_A]: _CT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTagsCommand"); +var se_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTrafficMirrorFilterRequest(input, context), + [_A]: _CTMF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTrafficMirrorFilterCommand"); +var se_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTrafficMirrorFilterRuleRequest(input, context), + [_A]: _CTMFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTrafficMirrorFilterRuleCommand"); +var se_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTrafficMirrorSessionRequest(input, context), + [_A]: _CTMS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTrafficMirrorSessionCommand"); +var se_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTrafficMirrorTargetRequest(input, context), + [_A]: _CTMT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTrafficMirrorTargetCommand"); +var se_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayRequest(input, context), + [_A]: _CTG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayCommand"); +var se_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayConnectRequest(input, context), + [_A]: _CTGC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayConnectCommand"); +var se_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayConnectPeerRequest(input, context), + [_A]: _CTGCP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayConnectPeerCommand"); +var se_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayMulticastDomainRequest(input, context), + [_A]: _CTGMD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayMulticastDomainCommand"); +var se_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayPeeringAttachmentRequest(input, context), + [_A]: _CTGPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayPeeringAttachmentCommand"); +var se_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayPolicyTableRequest(input, context), + [_A]: _CTGPT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayPolicyTableCommand"); +var se_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayPrefixListReferenceRequest(input, context), + [_A]: _CTGPLR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayPrefixListReferenceCommand"); +var se_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayRouteRequest(input, context), + [_A]: _CTGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayRouteCommand"); +var se_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayRouteTableRequest(input, context), + [_A]: _CTGRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayRouteTableCommand"); +var se_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayRouteTableAnnouncementRequest(input, context), + [_A]: _CTGRTA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayRouteTableAnnouncementCommand"); +var se_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateTransitGatewayVpcAttachmentRequest(input, context), + [_A]: _CTGVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateTransitGatewayVpcAttachmentCommand"); +var se_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVerifiedAccessEndpointRequest(input, context), + [_A]: _CVAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVerifiedAccessEndpointCommand"); +var se_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVerifiedAccessGroupRequest(input, context), + [_A]: _CVAG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVerifiedAccessGroupCommand"); +var se_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVerifiedAccessInstanceRequest(input, context), + [_A]: _CVAI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVerifiedAccessInstanceCommand"); +var se_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVerifiedAccessTrustProviderRequest(input, context), + [_A]: _CVATP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVerifiedAccessTrustProviderCommand"); +var se_CreateVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVolumeRequest(input, context), + [_A]: _CV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVolumeCommand"); +var se_CreateVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcRequest(input, context), + [_A]: _CVr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcCommand"); +var se_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcEndpointRequest(input, context), + [_A]: _CVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcEndpointCommand"); +var se_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcEndpointConnectionNotificationRequest(input, context), + [_A]: _CVECN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcEndpointConnectionNotificationCommand"); +var se_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcEndpointServiceConfigurationRequest(input, context), + [_A]: _CVESC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcEndpointServiceConfigurationCommand"); +var se_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcPeeringConnectionRequest(input, context), + [_A]: _CVPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcPeeringConnectionCommand"); +var se_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpnConnectionRequest(input, context), + [_A]: _CVC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpnConnectionCommand"); +var se_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpnConnectionRouteRequest(input, context), + [_A]: _CVCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpnConnectionRouteCommand"); +var se_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpnGatewayRequest(input, context), + [_A]: _CVG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpnGatewayCommand"); +var se_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteCarrierGatewayRequest(input, context), + [_A]: _DCG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteCarrierGatewayCommand"); +var se_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteClientVpnEndpointRequest(input, context), + [_A]: _DCVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteClientVpnEndpointCommand"); +var se_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteClientVpnRouteRequest(input, context), + [_A]: _DCVR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteClientVpnRouteCommand"); +var se_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteCoipCidrRequest(input, context), + [_A]: _DCC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteCoipCidrCommand"); +var se_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteCoipPoolRequest(input, context), + [_A]: _DCP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteCoipPoolCommand"); +var se_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteCustomerGatewayRequest(input, context), + [_A]: _DCGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteCustomerGatewayCommand"); +var se_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteDhcpOptionsRequest(input, context), + [_A]: _DDO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteDhcpOptionsCommand"); +var se_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteEgressOnlyInternetGatewayRequest(input, context), + [_A]: _DEOIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteEgressOnlyInternetGatewayCommand"); +var se_DeleteFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteFleetsRequest(input, context), + [_A]: _DF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteFleetsCommand"); +var se_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteFlowLogsRequest(input, context), + [_A]: _DFL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteFlowLogsCommand"); +var se_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteFpgaImageRequest(input, context), + [_A]: _DFI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteFpgaImageCommand"); +var se_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteInstanceConnectEndpointRequest(input, context), + [_A]: _DICE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteInstanceConnectEndpointCommand"); +var se_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteInstanceEventWindowRequest(input, context), + [_A]: _DIEW, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteInstanceEventWindowCommand"); +var se_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteInternetGatewayRequest(input, context), + [_A]: _DIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteInternetGatewayCommand"); +var se_DeleteIpamCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteIpamRequest(input, context), + [_A]: _DI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteIpamCommand"); +var se_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteIpamPoolRequest(input, context), + [_A]: _DIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteIpamPoolCommand"); +var se_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteIpamResourceDiscoveryRequest(input, context), + [_A]: _DIRD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteIpamResourceDiscoveryCommand"); +var se_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteIpamScopeRequest(input, context), + [_A]: _DIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteIpamScopeCommand"); +var se_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteKeyPairRequest(input, context), + [_A]: _DKP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteKeyPairCommand"); +var se_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLaunchTemplateRequest(input, context), + [_A]: _DLT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLaunchTemplateCommand"); +var se_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLaunchTemplateVersionsRequest(input, context), + [_A]: _DLTV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLaunchTemplateVersionsCommand"); +var se_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLocalGatewayRouteRequest(input, context), + [_A]: _DLGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLocalGatewayRouteCommand"); +var se_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLocalGatewayRouteTableRequest(input, context), + [_A]: _DLGRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLocalGatewayRouteTableCommand"); +var se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest(input, context), + [_A]: _DLGRTVIGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var se_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteLocalGatewayRouteTableVpcAssociationRequest(input, context), + [_A]: _DLGRTVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteLocalGatewayRouteTableVpcAssociationCommand"); +var se_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteManagedPrefixListRequest(input, context), + [_A]: _DMPL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteManagedPrefixListCommand"); +var se_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNatGatewayRequest(input, context), + [_A]: _DNG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNatGatewayCommand"); +var se_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkAclRequest(input, context), + [_A]: _DNA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkAclCommand"); +var se_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkAclEntryRequest(input, context), + [_A]: _DNAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkAclEntryCommand"); +var se_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInsightsAccessScopeRequest(input, context), + [_A]: _DNIAS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInsightsAccessScopeCommand"); +var se_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInsightsAccessScopeAnalysisRequest(input, context), + [_A]: _DNIASA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInsightsAccessScopeAnalysisCommand"); +var se_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInsightsAnalysisRequest(input, context), + [_A]: _DNIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInsightsAnalysisCommand"); +var se_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInsightsPathRequest(input, context), + [_A]: _DNIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInsightsPathCommand"); +var se_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInterfaceRequest(input, context), + [_A]: _DNI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInterfaceCommand"); +var se_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteNetworkInterfacePermissionRequest(input, context), + [_A]: _DNIPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteNetworkInterfacePermissionCommand"); +var se_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeletePlacementGroupRequest(input, context), + [_A]: _DPG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeletePlacementGroupCommand"); +var se_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeletePublicIpv4PoolRequest(input, context), + [_A]: _DPIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeletePublicIpv4PoolCommand"); +var se_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteQueuedReservedInstancesRequest(input, context), + [_A]: _DQRI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteQueuedReservedInstancesCommand"); +var se_DeleteRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteRouteRequest(input, context), + [_A]: _DR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteRouteCommand"); +var se_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteRouteTableRequest(input, context), + [_A]: _DRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteRouteTableCommand"); +var se_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteSecurityGroupRequest(input, context), + [_A]: _DSG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteSecurityGroupCommand"); +var se_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteSnapshotRequest(input, context), + [_A]: _DS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteSnapshotCommand"); +var se_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteSpotDatafeedSubscriptionRequest(input, context), + [_A]: _DSDS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteSpotDatafeedSubscriptionCommand"); +var se_DeleteSubnetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteSubnetRequest(input, context), + [_A]: _DSe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteSubnetCommand"); +var se_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteSubnetCidrReservationRequest(input, context), + [_A]: _DSCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteSubnetCidrReservationCommand"); +var se_DeleteTagsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTagsRequest(input, context), + [_A]: _DT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTagsCommand"); +var se_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTrafficMirrorFilterRequest(input, context), + [_A]: _DTMF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTrafficMirrorFilterCommand"); +var se_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTrafficMirrorFilterRuleRequest(input, context), + [_A]: _DTMFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTrafficMirrorFilterRuleCommand"); +var se_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTrafficMirrorSessionRequest(input, context), + [_A]: _DTMS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTrafficMirrorSessionCommand"); +var se_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTrafficMirrorTargetRequest(input, context), + [_A]: _DTMT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTrafficMirrorTargetCommand"); +var se_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayRequest(input, context), + [_A]: _DTG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayCommand"); +var se_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayConnectRequest(input, context), + [_A]: _DTGC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayConnectCommand"); +var se_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayConnectPeerRequest(input, context), + [_A]: _DTGCP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayConnectPeerCommand"); +var se_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayMulticastDomainRequest(input, context), + [_A]: _DTGMD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayMulticastDomainCommand"); +var se_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayPeeringAttachmentRequest(input, context), + [_A]: _DTGPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayPeeringAttachmentCommand"); +var se_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayPolicyTableRequest(input, context), + [_A]: _DTGPT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayPolicyTableCommand"); +var se_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayPrefixListReferenceRequest(input, context), + [_A]: _DTGPLR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayPrefixListReferenceCommand"); +var se_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayRouteRequest(input, context), + [_A]: _DTGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayRouteCommand"); +var se_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayRouteTableRequest(input, context), + [_A]: _DTGRT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayRouteTableCommand"); +var se_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayRouteTableAnnouncementRequest(input, context), + [_A]: _DTGRTA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayRouteTableAnnouncementCommand"); +var se_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteTransitGatewayVpcAttachmentRequest(input, context), + [_A]: _DTGVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteTransitGatewayVpcAttachmentCommand"); +var se_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVerifiedAccessEndpointRequest(input, context), + [_A]: _DVAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVerifiedAccessEndpointCommand"); +var se_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVerifiedAccessGroupRequest(input, context), + [_A]: _DVAG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVerifiedAccessGroupCommand"); +var se_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVerifiedAccessInstanceRequest(input, context), + [_A]: _DVAI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVerifiedAccessInstanceCommand"); +var se_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVerifiedAccessTrustProviderRequest(input, context), + [_A]: _DVATP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVerifiedAccessTrustProviderCommand"); +var se_DeleteVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVolumeRequest(input, context), + [_A]: _DV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVolumeCommand"); +var se_DeleteVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcRequest(input, context), + [_A]: _DVe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcCommand"); +var se_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcEndpointConnectionNotificationsRequest(input, context), + [_A]: _DVECN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcEndpointConnectionNotificationsCommand"); +var se_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcEndpointsRequest(input, context), + [_A]: _DVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcEndpointsCommand"); +var se_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcEndpointServiceConfigurationsRequest(input, context), + [_A]: _DVESC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcEndpointServiceConfigurationsCommand"); +var se_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcPeeringConnectionRequest(input, context), + [_A]: _DVPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcPeeringConnectionCommand"); +var se_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpnConnectionRequest(input, context), + [_A]: _DVC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpnConnectionCommand"); +var se_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpnConnectionRouteRequest(input, context), + [_A]: _DVCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpnConnectionRouteCommand"); +var se_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpnGatewayRequest(input, context), + [_A]: _DVG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpnGatewayCommand"); +var se_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeprovisionByoipCidrRequest(input, context), + [_A]: _DBC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeprovisionByoipCidrCommand"); +var se_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeprovisionIpamByoasnRequest(input, context), + [_A]: _DIB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeprovisionIpamByoasnCommand"); +var se_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeprovisionIpamPoolCidrRequest(input, context), + [_A]: _DIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeprovisionIpamPoolCidrCommand"); +var se_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeprovisionPublicIpv4PoolCidrRequest(input, context), + [_A]: _DPIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeprovisionPublicIpv4PoolCidrCommand"); +var se_DeregisterImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeregisterImageRequest(input, context), + [_A]: _DIe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeregisterImageCommand"); +var se_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeregisterInstanceEventNotificationAttributesRequest(input, context), + [_A]: _DIENA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeregisterInstanceEventNotificationAttributesCommand"); +var se_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeregisterTransitGatewayMulticastGroupMembersRequest(input, context), + [_A]: _DTGMGM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeregisterTransitGatewayMulticastGroupMembersCommand"); +var se_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeregisterTransitGatewayMulticastGroupSourcesRequest(input, context), + [_A]: _DTGMGS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeregisterTransitGatewayMulticastGroupSourcesCommand"); +var se_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAccountAttributesRequest(input, context), + [_A]: _DAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAccountAttributesCommand"); +var se_DescribeAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAddressesRequest(input, context), + [_A]: _DA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAddressesCommand"); +var se_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAddressesAttributeRequest(input, context), + [_A]: _DAAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAddressesAttributeCommand"); +var se_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAddressTransfersRequest(input, context), + [_A]: _DAT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAddressTransfersCommand"); +var se_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAggregateIdFormatRequest(input, context), + [_A]: _DAIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAggregateIdFormatCommand"); +var se_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAvailabilityZonesRequest(input, context), + [_A]: _DAZ, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAvailabilityZonesCommand"); +var se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest(input, context), + [_A]: _DANPMS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); +var se_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeBundleTasksRequest(input, context), + [_A]: _DBT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeBundleTasksCommand"); +var se_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeByoipCidrsRequest(input, context), + [_A]: _DBCe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeByoipCidrsCommand"); +var se_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityBlockOfferingsRequest(input, context), + [_A]: _DCBO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityBlockOfferingsCommand"); +var se_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityReservationFleetsRequest(input, context), + [_A]: _DCRF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityReservationFleetsCommand"); +var se_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityReservationsRequest(input, context), + [_A]: _DCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityReservationsCommand"); +var se_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCarrierGatewaysRequest(input, context), + [_A]: _DCGes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCarrierGatewaysCommand"); +var se_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClassicLinkInstancesRequest(input, context), + [_A]: _DCLI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClassicLinkInstancesCommand"); +var se_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClientVpnAuthorizationRulesRequest(input, context), + [_A]: _DCVAR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClientVpnAuthorizationRulesCommand"); +var se_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClientVpnConnectionsRequest(input, context), + [_A]: _DCVC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClientVpnConnectionsCommand"); +var se_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClientVpnEndpointsRequest(input, context), + [_A]: _DCVEe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClientVpnEndpointsCommand"); +var se_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClientVpnRoutesRequest(input, context), + [_A]: _DCVRe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClientVpnRoutesCommand"); +var se_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeClientVpnTargetNetworksRequest(input, context), + [_A]: _DCVTN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeClientVpnTargetNetworksCommand"); +var se_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCoipPoolsRequest(input, context), + [_A]: _DCPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCoipPoolsCommand"); +var se_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeConversionTasksRequest(input, context), + [_A]: _DCT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeConversionTasksCommand"); +var se_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCustomerGatewaysRequest(input, context), + [_A]: _DCGesc, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCustomerGatewaysCommand"); +var se_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeDhcpOptionsRequest(input, context), + [_A]: _DDOe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeDhcpOptionsCommand"); +var se_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeEgressOnlyInternetGatewaysRequest(input, context), + [_A]: _DEOIGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeEgressOnlyInternetGatewaysCommand"); +var se_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeElasticGpusRequest(input, context), + [_A]: _DEG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeElasticGpusCommand"); +var se_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeExportImageTasksRequest(input, context), + [_A]: _DEIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeExportImageTasksCommand"); +var se_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeExportTasksRequest(input, context), + [_A]: _DET, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeExportTasksCommand"); +var se_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFastLaunchImagesRequest(input, context), + [_A]: _DFLI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFastLaunchImagesCommand"); +var se_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFastSnapshotRestoresRequest(input, context), + [_A]: _DFSR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFastSnapshotRestoresCommand"); +var se_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFleetHistoryRequest(input, context), + [_A]: _DFH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFleetHistoryCommand"); +var se_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFleetInstancesRequest(input, context), + [_A]: _DFIe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFleetInstancesCommand"); +var se_DescribeFleetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFleetsRequest(input, context), + [_A]: _DFe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFleetsCommand"); +var se_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFlowLogsRequest(input, context), + [_A]: _DFLe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFlowLogsCommand"); +var se_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFpgaImageAttributeRequest(input, context), + [_A]: _DFIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFpgaImageAttributeCommand"); +var se_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeFpgaImagesRequest(input, context), + [_A]: _DFIes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeFpgaImagesCommand"); +var se_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeHostReservationOfferingsRequest(input, context), + [_A]: _DHRO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeHostReservationOfferingsCommand"); +var se_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeHostReservationsRequest(input, context), + [_A]: _DHR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeHostReservationsCommand"); +var se_DescribeHostsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeHostsRequest(input, context), + [_A]: _DH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeHostsCommand"); +var se_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIamInstanceProfileAssociationsRequest(input, context), + [_A]: _DIIPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIamInstanceProfileAssociationsCommand"); +var se_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIdentityIdFormatRequest(input, context), + [_A]: _DIIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIdentityIdFormatCommand"); +var se_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIdFormatRequest(input, context), + [_A]: _DIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIdFormatCommand"); +var se_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeImageAttributeRequest(input, context), + [_A]: _DIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeImageAttributeCommand"); +var se_DescribeImagesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeImagesRequest(input, context), + [_A]: _DIes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeImagesCommand"); +var se_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeImportImageTasksRequest(input, context), + [_A]: _DIIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeImportImageTasksCommand"); +var se_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeImportSnapshotTasksRequest(input, context), + [_A]: _DIST, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeImportSnapshotTasksCommand"); +var se_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceAttributeRequest(input, context), + [_A]: _DIAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceAttributeCommand"); +var se_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceConnectEndpointsRequest(input, context), + [_A]: _DICEe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceConnectEndpointsCommand"); +var se_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceCreditSpecificationsRequest(input, context), + [_A]: _DICS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceCreditSpecificationsCommand"); +var se_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceEventNotificationAttributesRequest(input, context), + [_A]: _DIENAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceEventNotificationAttributesCommand"); +var se_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceEventWindowsRequest(input, context), + [_A]: _DIEWe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceEventWindowsCommand"); +var se_DescribeInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstancesRequest(input, context), + [_A]: _DIesc, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstancesCommand"); +var se_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceStatusRequest(input, context), + [_A]: _DISe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceStatusCommand"); +var se_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceTopologyRequest(input, context), + [_A]: _DIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceTopologyCommand"); +var se_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceTypeOfferingsRequest(input, context), + [_A]: _DITO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceTypeOfferingsCommand"); +var se_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceTypesRequest(input, context), + [_A]: _DITe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceTypesCommand"); +var se_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInternetGatewaysRequest(input, context), + [_A]: _DIGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInternetGatewaysCommand"); +var se_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamByoasnRequest(input, context), + [_A]: _DIBe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamByoasnCommand"); +var se_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamPoolsRequest(input, context), + [_A]: _DIPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamPoolsCommand"); +var se_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamResourceDiscoveriesRequest(input, context), + [_A]: _DIRDe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamResourceDiscoveriesCommand"); +var se_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamResourceDiscoveryAssociationsRequest(input, context), + [_A]: _DIRDA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamResourceDiscoveryAssociationsCommand"); +var se_DescribeIpamsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamsRequest(input, context), + [_A]: _DIescr, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamsCommand"); +var se_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamScopesRequest(input, context), + [_A]: _DISes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamScopesCommand"); +var se_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpv6PoolsRequest(input, context), + [_A]: _DIPes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpv6PoolsCommand"); +var se_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeKeyPairsRequest(input, context), + [_A]: _DKPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeKeyPairsCommand"); +var se_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLaunchTemplatesRequest(input, context), + [_A]: _DLTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLaunchTemplatesCommand"); +var se_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLaunchTemplateVersionsRequest(input, context), + [_A]: _DLTVe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLaunchTemplateVersionsCommand"); +var se_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewayRouteTablesRequest(input, context), + [_A]: _DLGRTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewayRouteTablesCommand"); +var se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest(input, context), + [_A]: _DLGRTVIGAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); +var se_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewayRouteTableVpcAssociationsRequest(input, context), + [_A]: _DLGRTVAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewayRouteTableVpcAssociationsCommand"); +var se_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewaysRequest(input, context), + [_A]: _DLG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewaysCommand"); +var se_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewayVirtualInterfaceGroupsRequest(input, context), + [_A]: _DLGVIG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewayVirtualInterfaceGroupsCommand"); +var se_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLocalGatewayVirtualInterfacesRequest(input, context), + [_A]: _DLGVI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLocalGatewayVirtualInterfacesCommand"); +var se_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeLockedSnapshotsRequest(input, context), + [_A]: _DLS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeLockedSnapshotsCommand"); +var se_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeMacHostsRequest(input, context), + [_A]: _DMH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeMacHostsCommand"); +var se_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeManagedPrefixListsRequest(input, context), + [_A]: _DMPLe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeManagedPrefixListsCommand"); +var se_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeMovingAddressesRequest(input, context), + [_A]: _DMA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeMovingAddressesCommand"); +var se_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNatGatewaysRequest(input, context), + [_A]: _DNGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNatGatewaysCommand"); +var se_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkAclsRequest(input, context), + [_A]: _DNAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkAclsCommand"); +var se_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInsightsAccessScopeAnalysesRequest(input, context), + [_A]: _DNIASAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInsightsAccessScopeAnalysesCommand"); +var se_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInsightsAccessScopesRequest(input, context), + [_A]: _DNIASe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInsightsAccessScopesCommand"); +var se_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInsightsAnalysesRequest(input, context), + [_A]: _DNIAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInsightsAnalysesCommand"); +var se_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInsightsPathsRequest(input, context), + [_A]: _DNIPes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInsightsPathsCommand"); +var se_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInterfaceAttributeRequest(input, context), + [_A]: _DNIAes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInterfaceAttributeCommand"); +var se_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInterfacePermissionsRequest(input, context), + [_A]: _DNIPesc, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInterfacePermissionsCommand"); +var se_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeNetworkInterfacesRequest(input, context), + [_A]: _DNIe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeNetworkInterfacesCommand"); +var se_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribePlacementGroupsRequest(input, context), + [_A]: _DPGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribePlacementGroupsCommand"); +var se_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribePrefixListsRequest(input, context), + [_A]: _DPL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribePrefixListsCommand"); +var se_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribePrincipalIdFormatRequest(input, context), + [_A]: _DPIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribePrincipalIdFormatCommand"); +var se_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribePublicIpv4PoolsRequest(input, context), + [_A]: _DPIPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribePublicIpv4PoolsCommand"); +var se_DescribeRegionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeRegionsRequest(input, context), + [_A]: _DRe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeRegionsCommand"); +var se_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeReplaceRootVolumeTasksRequest(input, context), + [_A]: _DRRVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeReplaceRootVolumeTasksCommand"); +var se_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeReservedInstancesRequest(input, context), + [_A]: _DRI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeReservedInstancesCommand"); +var se_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeReservedInstancesListingsRequest(input, context), + [_A]: _DRIL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeReservedInstancesListingsCommand"); +var se_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeReservedInstancesModificationsRequest(input, context), + [_A]: _DRIM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeReservedInstancesModificationsCommand"); +var se_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeReservedInstancesOfferingsRequest(input, context), + [_A]: _DRIO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeReservedInstancesOfferingsCommand"); +var se_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeRouteTablesRequest(input, context), + [_A]: _DRTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeRouteTablesCommand"); +var se_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeScheduledInstanceAvailabilityRequest(input, context), + [_A]: _DSIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeScheduledInstanceAvailabilityCommand"); +var se_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeScheduledInstancesRequest(input, context), + [_A]: _DSI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeScheduledInstancesCommand"); +var se_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSecurityGroupReferencesRequest(input, context), + [_A]: _DSGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSecurityGroupReferencesCommand"); +var se_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSecurityGroupRulesRequest(input, context), + [_A]: _DSGRe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSecurityGroupRulesCommand"); +var se_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSecurityGroupsRequest(input, context), + [_A]: _DSGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSecurityGroupsCommand"); +var se_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSnapshotAttributeRequest(input, context), + [_A]: _DSA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSnapshotAttributeCommand"); +var se_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSnapshotsRequest(input, context), + [_A]: _DSes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSnapshotsCommand"); +var se_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSnapshotTierStatusRequest(input, context), + [_A]: _DSTS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSnapshotTierStatusCommand"); +var se_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotDatafeedSubscriptionRequest(input, context), + [_A]: _DSDSe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotDatafeedSubscriptionCommand"); +var se_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotFleetInstancesRequest(input, context), + [_A]: _DSFI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotFleetInstancesCommand"); +var se_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotFleetRequestHistoryRequest(input, context), + [_A]: _DSFRH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotFleetRequestHistoryCommand"); +var se_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotFleetRequestsRequest(input, context), + [_A]: _DSFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotFleetRequestsCommand"); +var se_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotInstanceRequestsRequest(input, context), + [_A]: _DSIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotInstanceRequestsCommand"); +var se_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSpotPriceHistoryRequest(input, context), + [_A]: _DSPH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSpotPriceHistoryCommand"); +var se_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeStaleSecurityGroupsRequest(input, context), + [_A]: _DSSG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeStaleSecurityGroupsCommand"); +var se_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeStoreImageTasksRequest(input, context), + [_A]: _DSIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeStoreImageTasksCommand"); +var se_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSubnetsRequest(input, context), + [_A]: _DSesc, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSubnetsCommand"); +var se_DescribeTagsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTagsRequest(input, context), + [_A]: _DTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTagsCommand"); +var se_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTrafficMirrorFiltersRequest(input, context), + [_A]: _DTMFe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTrafficMirrorFiltersCommand"); +var se_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTrafficMirrorSessionsRequest(input, context), + [_A]: _DTMSe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTrafficMirrorSessionsCommand"); +var se_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTrafficMirrorTargetsRequest(input, context), + [_A]: _DTMTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTrafficMirrorTargetsCommand"); +var se_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayAttachmentsRequest(input, context), + [_A]: _DTGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayAttachmentsCommand"); +var se_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayConnectPeersRequest(input, context), + [_A]: _DTGCPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayConnectPeersCommand"); +var se_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayConnectsRequest(input, context), + [_A]: _DTGCe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayConnectsCommand"); +var se_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayMulticastDomainsRequest(input, context), + [_A]: _DTGMDe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayMulticastDomainsCommand"); +var se_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayPeeringAttachmentsRequest(input, context), + [_A]: _DTGPAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayPeeringAttachmentsCommand"); +var se_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayPolicyTablesRequest(input, context), + [_A]: _DTGPTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayPolicyTablesCommand"); +var se_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayRouteTableAnnouncementsRequest(input, context), + [_A]: _DTGRTAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayRouteTableAnnouncementsCommand"); +var se_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayRouteTablesRequest(input, context), + [_A]: _DTGRTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayRouteTablesCommand"); +var se_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewaysRequest(input, context), + [_A]: _DTGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewaysCommand"); +var se_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTransitGatewayVpcAttachmentsRequest(input, context), + [_A]: _DTGVAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTransitGatewayVpcAttachmentsCommand"); +var se_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTrunkInterfaceAssociationsRequest(input, context), + [_A]: _DTIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTrunkInterfaceAssociationsCommand"); +var se_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVerifiedAccessEndpointsRequest(input, context), + [_A]: _DVAEe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVerifiedAccessEndpointsCommand"); +var se_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVerifiedAccessGroupsRequest(input, context), + [_A]: _DVAGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVerifiedAccessGroupsCommand"); +var se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest(input, context), + [_A]: _DVAILC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); +var se_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVerifiedAccessInstancesRequest(input, context), + [_A]: _DVAIe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVerifiedAccessInstancesCommand"); +var se_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVerifiedAccessTrustProvidersRequest(input, context), + [_A]: _DVATPe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVerifiedAccessTrustProvidersCommand"); +var se_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVolumeAttributeRequest(input, context), + [_A]: _DVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVolumeAttributeCommand"); +var se_DescribeVolumesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVolumesRequest(input, context), + [_A]: _DVes, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVolumesCommand"); +var se_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVolumesModificationsRequest(input, context), + [_A]: _DVM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVolumesModificationsCommand"); +var se_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVolumeStatusRequest(input, context), + [_A]: _DVS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVolumeStatusCommand"); +var se_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcAttributeRequest(input, context), + [_A]: _DVAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcAttributeCommand"); +var se_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcClassicLinkRequest(input, context), + [_A]: _DVCL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcClassicLinkCommand"); +var se_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcClassicLinkDnsSupportRequest(input, context), + [_A]: _DVCLDS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcClassicLinkDnsSupportCommand"); +var se_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointConnectionNotificationsRequest(input, context), + [_A]: _DVECNe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointConnectionNotificationsCommand"); +var se_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointConnectionsRequest(input, context), + [_A]: _DVEC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointConnectionsCommand"); +var se_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointsRequest(input, context), + [_A]: _DVEe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointsCommand"); +var se_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointServiceConfigurationsRequest(input, context), + [_A]: _DVESCe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointServiceConfigurationsCommand"); +var se_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointServicePermissionsRequest(input, context), + [_A]: _DVESP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointServicePermissionsCommand"); +var se_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointServicesRequest(input, context), + [_A]: _DVES, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointServicesCommand"); +var se_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcPeeringConnectionsRequest(input, context), + [_A]: _DVPCe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcPeeringConnectionsCommand"); +var se_DescribeVpcsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcsRequest(input, context), + [_A]: _DVesc, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcsCommand"); +var se_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpnConnectionsRequest(input, context), + [_A]: _DVCe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpnConnectionsCommand"); +var se_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpnGatewaysRequest(input, context), + [_A]: _DVGe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpnGatewaysCommand"); +var se_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachClassicLinkVpcRequest(input, context), + [_A]: _DCLV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachClassicLinkVpcCommand"); +var se_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachInternetGatewayRequest(input, context), + [_A]: _DIGet, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachInternetGatewayCommand"); +var se_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachNetworkInterfaceRequest(input, context), + [_A]: _DNIet, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachNetworkInterfaceCommand"); +var se_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachVerifiedAccessTrustProviderRequest(input, context), + [_A]: _DVATPet, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachVerifiedAccessTrustProviderCommand"); +var se_DetachVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachVolumeRequest(input, context), + [_A]: _DVet, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachVolumeCommand"); +var se_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DetachVpnGatewayRequest(input, context), + [_A]: _DVGet, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DetachVpnGatewayCommand"); +var se_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableAddressTransferRequest(input, context), + [_A]: _DATi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableAddressTransferCommand"); +var se_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableAwsNetworkPerformanceMetricSubscriptionRequest(input, context), + [_A]: _DANPMSi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableAwsNetworkPerformanceMetricSubscriptionCommand"); +var se_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableEbsEncryptionByDefaultRequest(input, context), + [_A]: _DEEBD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableEbsEncryptionByDefaultCommand"); +var se_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableFastLaunchRequest(input, context), + [_A]: _DFLi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableFastLaunchCommand"); +var se_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableFastSnapshotRestoresRequest(input, context), + [_A]: _DFSRi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableFastSnapshotRestoresCommand"); +var se_DisableImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableImageRequest(input, context), + [_A]: _DIi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableImageCommand"); +var se_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableImageBlockPublicAccessRequest(input, context), + [_A]: _DIBPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableImageBlockPublicAccessCommand"); +var se_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableImageDeprecationRequest(input, context), + [_A]: _DID, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableImageDeprecationCommand"); +var se_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableImageDeregistrationProtectionRequest(input, context), + [_A]: _DIDP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableImageDeregistrationProtectionCommand"); +var se_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableIpamOrganizationAdminAccountRequest(input, context), + [_A]: _DIOAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableIpamOrganizationAdminAccountCommand"); +var se_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableSerialConsoleAccessRequest(input, context), + [_A]: _DSCA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableSerialConsoleAccessCommand"); +var se_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableSnapshotBlockPublicAccessRequest(input, context), + [_A]: _DSBPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableSnapshotBlockPublicAccessCommand"); +var se_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableTransitGatewayRouteTablePropagationRequest(input, context), + [_A]: _DTGRTP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableTransitGatewayRouteTablePropagationCommand"); +var se_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableVgwRoutePropagationRequest(input, context), + [_A]: _DVRP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableVgwRoutePropagationCommand"); +var se_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableVpcClassicLinkRequest(input, context), + [_A]: _DVCLi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableVpcClassicLinkCommand"); +var se_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableVpcClassicLinkDnsSupportRequest(input, context), + [_A]: _DVCLDSi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableVpcClassicLinkDnsSupportCommand"); +var se_DisassociateAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateAddressRequest(input, context), + [_A]: _DAi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateAddressCommand"); +var se_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateClientVpnTargetNetworkRequest(input, context), + [_A]: _DCVTNi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateClientVpnTargetNetworkCommand"); +var se_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateEnclaveCertificateIamRoleRequest(input, context), + [_A]: _DECIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateEnclaveCertificateIamRoleCommand"); +var se_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateIamInstanceProfileRequest(input, context), + [_A]: _DIIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateIamInstanceProfileCommand"); +var se_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateInstanceEventWindowRequest(input, context), + [_A]: _DIEWi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateInstanceEventWindowCommand"); +var se_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateIpamByoasnRequest(input, context), + [_A]: _DIBi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateIpamByoasnCommand"); +var se_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateIpamResourceDiscoveryRequest(input, context), + [_A]: _DIRDi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateIpamResourceDiscoveryCommand"); +var se_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateNatGatewayAddressRequest(input, context), + [_A]: _DNGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateNatGatewayAddressCommand"); +var se_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateRouteTableRequest(input, context), + [_A]: _DRTi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateRouteTableCommand"); +var se_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateSubnetCidrBlockRequest(input, context), + [_A]: _DSCB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateSubnetCidrBlockCommand"); +var se_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateTransitGatewayMulticastDomainRequest(input, context), + [_A]: _DTGMDi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateTransitGatewayMulticastDomainCommand"); +var se_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateTransitGatewayPolicyTableRequest(input, context), + [_A]: _DTGPTi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateTransitGatewayPolicyTableCommand"); +var se_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateTransitGatewayRouteTableRequest(input, context), + [_A]: _DTGRTi, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateTransitGatewayRouteTableCommand"); +var se_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateTrunkInterfaceRequest(input, context), + [_A]: _DTI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateTrunkInterfaceCommand"); +var se_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateVpcCidrBlockRequest(input, context), + [_A]: _DVCB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateVpcCidrBlockCommand"); +var se_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableAddressTransferRequest(input, context), + [_A]: _EAT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableAddressTransferCommand"); +var se_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableAwsNetworkPerformanceMetricSubscriptionRequest(input, context), + [_A]: _EANPMS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableAwsNetworkPerformanceMetricSubscriptionCommand"); +var se_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableEbsEncryptionByDefaultRequest(input, context), + [_A]: _EEEBD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableEbsEncryptionByDefaultCommand"); +var se_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableFastLaunchRequest(input, context), + [_A]: _EFL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableFastLaunchCommand"); +var se_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableFastSnapshotRestoresRequest(input, context), + [_A]: _EFSR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableFastSnapshotRestoresCommand"); +var se_EnableImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableImageRequest(input, context), + [_A]: _EI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableImageCommand"); +var se_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableImageBlockPublicAccessRequest(input, context), + [_A]: _EIBPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableImageBlockPublicAccessCommand"); +var se_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableImageDeprecationRequest(input, context), + [_A]: _EID, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableImageDeprecationCommand"); +var se_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableImageDeregistrationProtectionRequest(input, context), + [_A]: _EIDP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableImageDeregistrationProtectionCommand"); +var se_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableIpamOrganizationAdminAccountRequest(input, context), + [_A]: _EIOAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableIpamOrganizationAdminAccountCommand"); +var se_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableReachabilityAnalyzerOrganizationSharingRequest(input, context), + [_A]: _ERAOS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableReachabilityAnalyzerOrganizationSharingCommand"); +var se_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableSerialConsoleAccessRequest(input, context), + [_A]: _ESCA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableSerialConsoleAccessCommand"); +var se_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableSnapshotBlockPublicAccessRequest(input, context), + [_A]: _ESBPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableSnapshotBlockPublicAccessCommand"); +var se_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableTransitGatewayRouteTablePropagationRequest(input, context), + [_A]: _ETGRTP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableTransitGatewayRouteTablePropagationCommand"); +var se_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableVgwRoutePropagationRequest(input, context), + [_A]: _EVRP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableVgwRoutePropagationCommand"); +var se_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableVolumeIORequest(input, context), + [_A]: _EVIO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableVolumeIOCommand"); +var se_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableVpcClassicLinkRequest(input, context), + [_A]: _EVCL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableVpcClassicLinkCommand"); +var se_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableVpcClassicLinkDnsSupportRequest(input, context), + [_A]: _EVCLDS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableVpcClassicLinkDnsSupportCommand"); +var se_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ExportClientVpnClientCertificateRevocationListRequest(input, context), + [_A]: _ECVCCRL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ExportClientVpnClientCertificateRevocationListCommand"); +var se_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ExportClientVpnClientConfigurationRequest(input, context), + [_A]: _ECVCC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ExportClientVpnClientConfigurationCommand"); +var se_ExportImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ExportImageRequest(input, context), + [_A]: _EIx, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ExportImageCommand"); +var se_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ExportTransitGatewayRoutesRequest(input, context), + [_A]: _ETGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ExportTransitGatewayRoutesCommand"); +var se_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAssociatedEnclaveCertificateIamRolesRequest(input, context), + [_A]: _GAECIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetAssociatedEnclaveCertificateIamRolesCommand"); +var se_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAssociatedIpv6PoolCidrsRequest(input, context), + [_A]: _GAIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetAssociatedIpv6PoolCidrsCommand"); +var se_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAwsNetworkPerformanceDataRequest(input, context), + [_A]: _GANPD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetAwsNetworkPerformanceDataCommand"); +var se_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetCapacityReservationUsageRequest(input, context), + [_A]: _GCRU, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetCapacityReservationUsageCommand"); +var se_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetCoipPoolUsageRequest(input, context), + [_A]: _GCPU, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetCoipPoolUsageCommand"); +var se_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetConsoleOutputRequest(input, context), + [_A]: _GCO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetConsoleOutputCommand"); +var se_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetConsoleScreenshotRequest(input, context), + [_A]: _GCS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetConsoleScreenshotCommand"); +var se_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetDefaultCreditSpecificationRequest(input, context), + [_A]: _GDCS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetDefaultCreditSpecificationCommand"); +var se_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetEbsDefaultKmsKeyIdRequest(input, context), + [_A]: _GEDKKI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetEbsDefaultKmsKeyIdCommand"); +var se_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetEbsEncryptionByDefaultRequest(input, context), + [_A]: _GEEBD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetEbsEncryptionByDefaultCommand"); +var se_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetFlowLogsIntegrationTemplateRequest(input, context), + [_A]: _GFLIT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetFlowLogsIntegrationTemplateCommand"); +var se_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetGroupsForCapacityReservationRequest(input, context), + [_A]: _GGFCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetGroupsForCapacityReservationCommand"); +var se_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetHostReservationPurchasePreviewRequest(input, context), + [_A]: _GHRPP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetHostReservationPurchasePreviewCommand"); +var se_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetImageBlockPublicAccessStateRequest(input, context), + [_A]: _GIBPAS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetImageBlockPublicAccessStateCommand"); +var se_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetInstanceMetadataDefaultsRequest(input, context), + [_A]: _GIMD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetInstanceMetadataDefaultsCommand"); +var se_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetInstanceTpmEkPubRequest(input, context), + [_A]: _GITEP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetInstanceTpmEkPubCommand"); +var se_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetInstanceTypesFromInstanceRequirementsRequest(input, context), + [_A]: _GITFIR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetInstanceTypesFromInstanceRequirementsCommand"); +var se_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetInstanceUefiDataRequest(input, context), + [_A]: _GIUD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetInstanceUefiDataCommand"); +var se_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamAddressHistoryRequest(input, context), + [_A]: _GIAH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamAddressHistoryCommand"); +var se_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamDiscoveredAccountsRequest(input, context), + [_A]: _GIDA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamDiscoveredAccountsCommand"); +var se_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamDiscoveredPublicAddressesRequest(input, context), + [_A]: _GIDPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamDiscoveredPublicAddressesCommand"); +var se_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamDiscoveredResourceCidrsRequest(input, context), + [_A]: _GIDRC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamDiscoveredResourceCidrsCommand"); +var se_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamPoolAllocationsRequest(input, context), + [_A]: _GIPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamPoolAllocationsCommand"); +var se_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamPoolCidrsRequest(input, context), + [_A]: _GIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamPoolCidrsCommand"); +var se_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetIpamResourceCidrsRequest(input, context), + [_A]: _GIRC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetIpamResourceCidrsCommand"); +var se_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetLaunchTemplateDataRequest(input, context), + [_A]: _GLTD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetLaunchTemplateDataCommand"); +var se_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetManagedPrefixListAssociationsRequest(input, context), + [_A]: _GMPLA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetManagedPrefixListAssociationsCommand"); +var se_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetManagedPrefixListEntriesRequest(input, context), + [_A]: _GMPLE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetManagedPrefixListEntriesCommand"); +var se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest(input, context), + [_A]: _GNIASAF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand"); +var se_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetNetworkInsightsAccessScopeContentRequest(input, context), + [_A]: _GNIASC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetNetworkInsightsAccessScopeContentCommand"); +var se_GetPasswordDataCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetPasswordDataRequest(input, context), + [_A]: _GPD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetPasswordDataCommand"); +var se_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetReservedInstancesExchangeQuoteRequest(input, context), + [_A]: _GRIEQ, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetReservedInstancesExchangeQuoteCommand"); +var se_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSecurityGroupsForVpcRequest(input, context), + [_A]: _GSGFV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSecurityGroupsForVpcCommand"); +var se_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSerialConsoleAccessStatusRequest(input, context), + [_A]: _GSCAS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSerialConsoleAccessStatusCommand"); +var se_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSnapshotBlockPublicAccessStateRequest(input, context), + [_A]: _GSBPAS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSnapshotBlockPublicAccessStateCommand"); +var se_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSpotPlacementScoresRequest(input, context), + [_A]: _GSPS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSpotPlacementScoresCommand"); +var se_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSubnetCidrReservationsRequest(input, context), + [_A]: _GSCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSubnetCidrReservationsCommand"); +var se_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayAttachmentPropagationsRequest(input, context), + [_A]: _GTGAP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayAttachmentPropagationsCommand"); +var se_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayMulticastDomainAssociationsRequest(input, context), + [_A]: _GTGMDA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayMulticastDomainAssociationsCommand"); +var se_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayPolicyTableAssociationsRequest(input, context), + [_A]: _GTGPTA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayPolicyTableAssociationsCommand"); +var se_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayPolicyTableEntriesRequest(input, context), + [_A]: _GTGPTE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayPolicyTableEntriesCommand"); +var se_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayPrefixListReferencesRequest(input, context), + [_A]: _GTGPLR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayPrefixListReferencesCommand"); +var se_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayRouteTableAssociationsRequest(input, context), + [_A]: _GTGRTA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayRouteTableAssociationsCommand"); +var se_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetTransitGatewayRouteTablePropagationsRequest(input, context), + [_A]: _GTGRTP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetTransitGatewayRouteTablePropagationsCommand"); +var se_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVerifiedAccessEndpointPolicyRequest(input, context), + [_A]: _GVAEP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVerifiedAccessEndpointPolicyCommand"); +var se_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVerifiedAccessGroupPolicyRequest(input, context), + [_A]: _GVAGP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVerifiedAccessGroupPolicyCommand"); +var se_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVpnConnectionDeviceSampleConfigurationRequest(input, context), + [_A]: _GVCDSC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVpnConnectionDeviceSampleConfigurationCommand"); +var se_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVpnConnectionDeviceTypesRequest(input, context), + [_A]: _GVCDT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVpnConnectionDeviceTypesCommand"); +var se_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVpnTunnelReplacementStatusRequest(input, context), + [_A]: _GVTRS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVpnTunnelReplacementStatusCommand"); +var se_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportClientVpnClientCertificateRevocationListRequest(input, context), + [_A]: _ICVCCRL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportClientVpnClientCertificateRevocationListCommand"); +var se_ImportImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportImageRequest(input, context), + [_A]: _II, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportImageCommand"); +var se_ImportInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportInstanceRequest(input, context), + [_A]: _IIm, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportInstanceCommand"); +var se_ImportKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportKeyPairRequest(input, context), + [_A]: _IKP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportKeyPairCommand"); +var se_ImportSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportSnapshotRequest(input, context), + [_A]: _IS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportSnapshotCommand"); +var se_ImportVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ImportVolumeRequest(input, context), + [_A]: _IV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ImportVolumeCommand"); +var se_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ListImagesInRecycleBinRequest(input, context), + [_A]: _LIIRB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ListImagesInRecycleBinCommand"); +var se_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ListSnapshotsInRecycleBinRequest(input, context), + [_A]: _LSIRB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ListSnapshotsInRecycleBinCommand"); +var se_LockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_LockSnapshotRequest(input, context), + [_A]: _LS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_LockSnapshotCommand"); +var se_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyAddressAttributeRequest(input, context), + [_A]: _MAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyAddressAttributeCommand"); +var se_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyAvailabilityZoneGroupRequest(input, context), + [_A]: _MAZG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyAvailabilityZoneGroupCommand"); +var se_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyCapacityReservationRequest(input, context), + [_A]: _MCR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyCapacityReservationCommand"); +var se_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyCapacityReservationFleetRequest(input, context), + [_A]: _MCRF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyCapacityReservationFleetCommand"); +var se_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyClientVpnEndpointRequest(input, context), + [_A]: _MCVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyClientVpnEndpointCommand"); +var se_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyDefaultCreditSpecificationRequest(input, context), + [_A]: _MDCS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyDefaultCreditSpecificationCommand"); +var se_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyEbsDefaultKmsKeyIdRequest(input, context), + [_A]: _MEDKKI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyEbsDefaultKmsKeyIdCommand"); +var se_ModifyFleetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyFleetRequest(input, context), + [_A]: _MF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyFleetCommand"); +var se_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyFpgaImageAttributeRequest(input, context), + [_A]: _MFIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyFpgaImageAttributeCommand"); +var se_ModifyHostsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyHostsRequest(input, context), + [_A]: _MH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyHostsCommand"); +var se_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIdentityIdFormatRequest(input, context), + [_A]: _MIIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIdentityIdFormatCommand"); +var se_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIdFormatRequest(input, context), + [_A]: _MIF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIdFormatCommand"); +var se_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyImageAttributeRequest(input, context), + [_A]: _MIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyImageAttributeCommand"); +var se_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceAttributeRequest(input, context), + [_A]: _MIAo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceAttributeCommand"); +var se_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceCapacityReservationAttributesRequest(input, context), + [_A]: _MICRA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceCapacityReservationAttributesCommand"); +var se_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceCreditSpecificationRequest(input, context), + [_A]: _MICS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceCreditSpecificationCommand"); +var se_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceEventStartTimeRequest(input, context), + [_A]: _MIEST, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceEventStartTimeCommand"); +var se_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceEventWindowRequest(input, context), + [_A]: _MIEW, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceEventWindowCommand"); +var se_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceMaintenanceOptionsRequest(input, context), + [_A]: _MIMO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceMaintenanceOptionsCommand"); +var se_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceMetadataDefaultsRequest(input, context), + [_A]: _MIMD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceMetadataDefaultsCommand"); +var se_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceMetadataOptionsRequest(input, context), + [_A]: _MIMOo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceMetadataOptionsCommand"); +var se_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstancePlacementRequest(input, context), + [_A]: _MIP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstancePlacementCommand"); +var se_ModifyIpamCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIpamRequest(input, context), + [_A]: _MI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIpamCommand"); +var se_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIpamPoolRequest(input, context), + [_A]: _MIPo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIpamPoolCommand"); +var se_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIpamResourceCidrRequest(input, context), + [_A]: _MIRC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIpamResourceCidrCommand"); +var se_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIpamResourceDiscoveryRequest(input, context), + [_A]: _MIRD, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIpamResourceDiscoveryCommand"); +var se_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyIpamScopeRequest(input, context), + [_A]: _MIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyIpamScopeCommand"); +var se_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyLaunchTemplateRequest(input, context), + [_A]: _MLT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyLaunchTemplateCommand"); +var se_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyLocalGatewayRouteRequest(input, context), + [_A]: _MLGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyLocalGatewayRouteCommand"); +var se_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyManagedPrefixListRequest(input, context), + [_A]: _MMPL, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyManagedPrefixListCommand"); +var se_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyNetworkInterfaceAttributeRequest(input, context), + [_A]: _MNIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyNetworkInterfaceAttributeCommand"); +var se_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyPrivateDnsNameOptionsRequest(input, context), + [_A]: _MPDNO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyPrivateDnsNameOptionsCommand"); +var se_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyReservedInstancesRequest(input, context), + [_A]: _MRI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyReservedInstancesCommand"); +var se_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifySecurityGroupRulesRequest(input, context), + [_A]: _MSGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifySecurityGroupRulesCommand"); +var se_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifySnapshotAttributeRequest(input, context), + [_A]: _MSA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifySnapshotAttributeCommand"); +var se_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifySnapshotTierRequest(input, context), + [_A]: _MST, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifySnapshotTierCommand"); +var se_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifySpotFleetRequestRequest(input, context), + [_A]: _MSFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifySpotFleetRequestCommand"); +var se_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifySubnetAttributeRequest(input, context), + [_A]: _MSAo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifySubnetAttributeCommand"); +var se_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTrafficMirrorFilterNetworkServicesRequest(input, context), + [_A]: _MTMFNS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTrafficMirrorFilterNetworkServicesCommand"); +var se_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTrafficMirrorFilterRuleRequest(input, context), + [_A]: _MTMFR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTrafficMirrorFilterRuleCommand"); +var se_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTrafficMirrorSessionRequest(input, context), + [_A]: _MTMS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTrafficMirrorSessionCommand"); +var se_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTransitGatewayRequest(input, context), + [_A]: _MTG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTransitGatewayCommand"); +var se_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTransitGatewayPrefixListReferenceRequest(input, context), + [_A]: _MTGPLR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTransitGatewayPrefixListReferenceCommand"); +var se_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyTransitGatewayVpcAttachmentRequest(input, context), + [_A]: _MTGVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyTransitGatewayVpcAttachmentCommand"); +var se_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessEndpointRequest(input, context), + [_A]: _MVAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessEndpointCommand"); +var se_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessEndpointPolicyRequest(input, context), + [_A]: _MVAEP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessEndpointPolicyCommand"); +var se_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessGroupRequest(input, context), + [_A]: _MVAG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessGroupCommand"); +var se_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessGroupPolicyRequest(input, context), + [_A]: _MVAGP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessGroupPolicyCommand"); +var se_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessInstanceRequest(input, context), + [_A]: _MVAI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessInstanceCommand"); +var se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest(input, context), + [_A]: _MVAILC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand"); +var se_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVerifiedAccessTrustProviderRequest(input, context), + [_A]: _MVATP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVerifiedAccessTrustProviderCommand"); +var se_ModifyVolumeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVolumeRequest(input, context), + [_A]: _MV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVolumeCommand"); +var se_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVolumeAttributeRequest(input, context), + [_A]: _MVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVolumeAttributeCommand"); +var se_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcAttributeRequest(input, context), + [_A]: _MVAo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcAttributeCommand"); +var se_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcEndpointRequest(input, context), + [_A]: _MVE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcEndpointCommand"); +var se_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcEndpointConnectionNotificationRequest(input, context), + [_A]: _MVECN, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcEndpointConnectionNotificationCommand"); +var se_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcEndpointServiceConfigurationRequest(input, context), + [_A]: _MVESC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcEndpointServiceConfigurationCommand"); +var se_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcEndpointServicePayerResponsibilityRequest(input, context), + [_A]: _MVESPR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcEndpointServicePayerResponsibilityCommand"); +var se_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcEndpointServicePermissionsRequest(input, context), + [_A]: _MVESP, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcEndpointServicePermissionsCommand"); +var se_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcPeeringConnectionOptionsRequest(input, context), + [_A]: _MVPCO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcPeeringConnectionOptionsCommand"); +var se_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcTenancyRequest(input, context), + [_A]: _MVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcTenancyCommand"); +var se_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpnConnectionRequest(input, context), + [_A]: _MVC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpnConnectionCommand"); +var se_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpnConnectionOptionsRequest(input, context), + [_A]: _MVCO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpnConnectionOptionsCommand"); +var se_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpnTunnelCertificateRequest(input, context), + [_A]: _MVTC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpnTunnelCertificateCommand"); +var se_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpnTunnelOptionsRequest(input, context), + [_A]: _MVTO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpnTunnelOptionsCommand"); +var se_MonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_MonitorInstancesRequest(input, context), + [_A]: _MIo, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_MonitorInstancesCommand"); +var se_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_MoveAddressToVpcRequest(input, context), + [_A]: _MATV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_MoveAddressToVpcCommand"); +var se_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_MoveByoipCidrToIpamRequest(input, context), + [_A]: _MBCTI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_MoveByoipCidrToIpamCommand"); +var se_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ProvisionByoipCidrRequest(input, context), + [_A]: _PBC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ProvisionByoipCidrCommand"); +var se_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ProvisionIpamByoasnRequest(input, context), + [_A]: _PIB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ProvisionIpamByoasnCommand"); +var se_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ProvisionIpamPoolCidrRequest(input, context), + [_A]: _PIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ProvisionIpamPoolCidrCommand"); +var se_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ProvisionPublicIpv4PoolCidrRequest(input, context), + [_A]: _PPIPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ProvisionPublicIpv4PoolCidrCommand"); +var se_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_PurchaseCapacityBlockRequest(input, context), + [_A]: _PCB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_PurchaseCapacityBlockCommand"); +var se_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_PurchaseHostReservationRequest(input, context), + [_A]: _PHR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_PurchaseHostReservationCommand"); +var se_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_PurchaseReservedInstancesOfferingRequest(input, context), + [_A]: _PRIO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_PurchaseReservedInstancesOfferingCommand"); +var se_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_PurchaseScheduledInstancesRequest(input, context), + [_A]: _PSI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_PurchaseScheduledInstancesCommand"); +var se_RebootInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RebootInstancesRequest(input, context), + [_A]: _RI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RebootInstancesCommand"); +var se_RegisterImageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RegisterImageRequest(input, context), + [_A]: _RIe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RegisterImageCommand"); +var se_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RegisterInstanceEventNotificationAttributesRequest(input, context), + [_A]: _RIENA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RegisterInstanceEventNotificationAttributesCommand"); +var se_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RegisterTransitGatewayMulticastGroupMembersRequest(input, context), + [_A]: _RTGMGM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RegisterTransitGatewayMulticastGroupMembersCommand"); +var se_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RegisterTransitGatewayMulticastGroupSourcesRequest(input, context), + [_A]: _RTGMGS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RegisterTransitGatewayMulticastGroupSourcesCommand"); +var se_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectTransitGatewayMulticastDomainAssociationsRequest(input, context), + [_A]: _RTGMDA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectTransitGatewayMulticastDomainAssociationsCommand"); +var se_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectTransitGatewayPeeringAttachmentRequest(input, context), + [_A]: _RTGPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectTransitGatewayPeeringAttachmentCommand"); +var se_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectTransitGatewayVpcAttachmentRequest(input, context), + [_A]: _RTGVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectTransitGatewayVpcAttachmentCommand"); +var se_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectVpcEndpointConnectionsRequest(input, context), + [_A]: _RVEC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectVpcEndpointConnectionsCommand"); +var se_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectVpcPeeringConnectionRequest(input, context), + [_A]: _RVPC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectVpcPeeringConnectionCommand"); +var se_ReleaseAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReleaseAddressRequest(input, context), + [_A]: _RA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReleaseAddressCommand"); +var se_ReleaseHostsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReleaseHostsRequest(input, context), + [_A]: _RH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReleaseHostsCommand"); +var se_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReleaseIpamPoolAllocationRequest(input, context), + [_A]: _RIPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReleaseIpamPoolAllocationCommand"); +var se_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceIamInstanceProfileAssociationRequest(input, context), + [_A]: _RIIPA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceIamInstanceProfileAssociationCommand"); +var se_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceNetworkAclAssociationRequest(input, context), + [_A]: _RNAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceNetworkAclAssociationCommand"); +var se_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceNetworkAclEntryRequest(input, context), + [_A]: _RNAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceNetworkAclEntryCommand"); +var se_ReplaceRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceRouteRequest(input, context), + [_A]: _RR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceRouteCommand"); +var se_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceRouteTableAssociationRequest(input, context), + [_A]: _RRTA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceRouteTableAssociationCommand"); +var se_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceTransitGatewayRouteRequest(input, context), + [_A]: _RTGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceTransitGatewayRouteCommand"); +var se_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceVpnTunnelRequest(input, context), + [_A]: _RVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceVpnTunnelCommand"); +var se_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReportInstanceStatusRequest(input, context), + [_A]: _RIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReportInstanceStatusCommand"); +var se_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RequestSpotFleetRequest(input, context), + [_A]: _RSF, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RequestSpotFleetCommand"); +var se_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RequestSpotInstancesRequest(input, context), + [_A]: _RSI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RequestSpotInstancesCommand"); +var se_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetAddressAttributeRequest(input, context), + [_A]: _RAA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetAddressAttributeCommand"); +var se_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetEbsDefaultKmsKeyIdRequest(input, context), + [_A]: _REDKKI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetEbsDefaultKmsKeyIdCommand"); +var se_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetFpgaImageAttributeRequest(input, context), + [_A]: _RFIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetFpgaImageAttributeCommand"); +var se_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetImageAttributeRequest(input, context), + [_A]: _RIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetImageAttributeCommand"); +var se_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetInstanceAttributeRequest(input, context), + [_A]: _RIAe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetInstanceAttributeCommand"); +var se_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetNetworkInterfaceAttributeRequest(input, context), + [_A]: _RNIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetNetworkInterfaceAttributeCommand"); +var se_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ResetSnapshotAttributeRequest(input, context), + [_A]: _RSA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ResetSnapshotAttributeCommand"); +var se_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RestoreAddressToClassicRequest(input, context), + [_A]: _RATC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RestoreAddressToClassicCommand"); +var se_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RestoreImageFromRecycleBinRequest(input, context), + [_A]: _RIFRB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RestoreImageFromRecycleBinCommand"); +var se_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RestoreManagedPrefixListVersionRequest(input, context), + [_A]: _RMPLV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RestoreManagedPrefixListVersionCommand"); +var se_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RestoreSnapshotFromRecycleBinRequest(input, context), + [_A]: _RSFRB, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RestoreSnapshotFromRecycleBinCommand"); +var se_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RestoreSnapshotTierRequest(input, context), + [_A]: _RST, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RestoreSnapshotTierCommand"); +var se_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RevokeClientVpnIngressRequest(input, context), + [_A]: _RCVI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RevokeClientVpnIngressCommand"); +var se_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RevokeSecurityGroupEgressRequest(input, context), + [_A]: _RSGE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RevokeSecurityGroupEgressCommand"); +var se_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RevokeSecurityGroupIngressRequest(input, context), + [_A]: _RSGI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RevokeSecurityGroupIngressCommand"); +var se_RunInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RunInstancesRequest(input, context), + [_A]: _RIu, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RunInstancesCommand"); +var se_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RunScheduledInstancesRequest(input, context), + [_A]: _RSIu, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RunScheduledInstancesCommand"); +var se_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_SearchLocalGatewayRoutesRequest(input, context), + [_A]: _SLGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_SearchLocalGatewayRoutesCommand"); +var se_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_SearchTransitGatewayMulticastGroupsRequest(input, context), + [_A]: _STGMG, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_SearchTransitGatewayMulticastGroupsCommand"); +var se_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_SearchTransitGatewayRoutesRequest(input, context), + [_A]: _STGR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_SearchTransitGatewayRoutesCommand"); +var se_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_SendDiagnosticInterruptRequest(input, context), + [_A]: _SDI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_SendDiagnosticInterruptCommand"); +var se_StartInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StartInstancesRequest(input, context), + [_A]: _SI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StartInstancesCommand"); +var se_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StartNetworkInsightsAccessScopeAnalysisRequest(input, context), + [_A]: _SNIASA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StartNetworkInsightsAccessScopeAnalysisCommand"); +var se_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StartNetworkInsightsAnalysisRequest(input, context), + [_A]: _SNIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StartNetworkInsightsAnalysisCommand"); +var se_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StartVpcEndpointServicePrivateDnsVerificationRequest(input, context), + [_A]: _SVESPDV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StartVpcEndpointServicePrivateDnsVerificationCommand"); +var se_StopInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StopInstancesRequest(input, context), + [_A]: _SIt, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StopInstancesCommand"); +var se_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_TerminateClientVpnConnectionsRequest(input, context), + [_A]: _TCVC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_TerminateClientVpnConnectionsCommand"); +var se_TerminateInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_TerminateInstancesRequest(input, context), + [_A]: _TI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_TerminateInstancesCommand"); +var se_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UnassignIpv6AddressesRequest(input, context), + [_A]: _UIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UnassignIpv6AddressesCommand"); +var se_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UnassignPrivateIpAddressesRequest(input, context), + [_A]: _UPIA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UnassignPrivateIpAddressesCommand"); +var se_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UnassignPrivateNatGatewayAddressRequest(input, context), + [_A]: _UPNGA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UnassignPrivateNatGatewayAddressCommand"); +var se_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UnlockSnapshotRequest(input, context), + [_A]: _US, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UnlockSnapshotCommand"); +var se_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UnmonitorInstancesRequest(input, context), + [_A]: _UI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UnmonitorInstancesCommand"); +var se_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UpdateSecurityGroupRuleDescriptionsEgressRequest(input, context), + [_A]: _USGRDE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UpdateSecurityGroupRuleDescriptionsEgressCommand"); +var se_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_UpdateSecurityGroupRuleDescriptionsIngressRequest(input, context), + [_A]: _USGRDI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_UpdateSecurityGroupRuleDescriptionsIngressCommand"); +var se_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_WithdrawByoipCidrRequest(input, context), + [_A]: _WBC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_WithdrawByoipCidrCommand"); +var de_AcceptAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptAddressTransferResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptAddressTransferCommand"); +var de_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptReservedInstancesExchangeQuoteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptReservedInstancesExchangeQuoteCommand"); +var de_AcceptTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptTransitGatewayMulticastDomainAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptTransitGatewayMulticastDomainAssociationsCommand"); +var de_AcceptTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptTransitGatewayPeeringAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptTransitGatewayPeeringAttachmentCommand"); +var de_AcceptTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptTransitGatewayVpcAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptTransitGatewayVpcAttachmentCommand"); +var de_AcceptVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptVpcEndpointConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptVpcEndpointConnectionsCommand"); +var de_AcceptVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptVpcPeeringConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptVpcPeeringConnectionCommand"); +var de_AdvertiseByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AdvertiseByoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AdvertiseByoipCidrCommand"); +var de_AllocateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AllocateAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AllocateAddressCommand"); +var de_AllocateHostsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AllocateHostsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AllocateHostsCommand"); +var de_AllocateIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AllocateIpamPoolCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AllocateIpamPoolCidrCommand"); +var de_ApplySecurityGroupsToClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ApplySecurityGroupsToClientVpnTargetNetworkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ApplySecurityGroupsToClientVpnTargetNetworkCommand"); +var de_AssignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssignIpv6AddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssignIpv6AddressesCommand"); +var de_AssignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssignPrivateIpAddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssignPrivateIpAddressesCommand"); +var de_AssignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssignPrivateNatGatewayAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssignPrivateNatGatewayAddressCommand"); +var de_AssociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateAddressCommand"); +var de_AssociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateClientVpnTargetNetworkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateClientVpnTargetNetworkCommand"); +var de_AssociateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_AssociateDhcpOptionsCommand"); +var de_AssociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateEnclaveCertificateIamRoleResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateEnclaveCertificateIamRoleCommand"); +var de_AssociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateIamInstanceProfileResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateIamInstanceProfileCommand"); +var de_AssociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateInstanceEventWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateInstanceEventWindowCommand"); +var de_AssociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateIpamByoasnResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateIpamByoasnCommand"); +var de_AssociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateIpamResourceDiscoveryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateIpamResourceDiscoveryCommand"); +var de_AssociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateNatGatewayAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateNatGatewayAddressCommand"); +var de_AssociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateRouteTableCommand"); +var de_AssociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateSubnetCidrBlockResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateSubnetCidrBlockCommand"); +var de_AssociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateTransitGatewayMulticastDomainResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateTransitGatewayMulticastDomainCommand"); +var de_AssociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateTransitGatewayPolicyTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateTransitGatewayPolicyTableCommand"); +var de_AssociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateTransitGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateTransitGatewayRouteTableCommand"); +var de_AssociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateTrunkInterfaceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateTrunkInterfaceCommand"); +var de_AssociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateVpcCidrBlockResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateVpcCidrBlockCommand"); +var de_AttachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AttachClassicLinkVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AttachClassicLinkVpcCommand"); +var de_AttachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_AttachInternetGatewayCommand"); +var de_AttachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AttachNetworkInterfaceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AttachNetworkInterfaceCommand"); +var de_AttachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AttachVerifiedAccessTrustProviderResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AttachVerifiedAccessTrustProviderCommand"); +var de_AttachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_VolumeAttachment(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AttachVolumeCommand"); +var de_AttachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AttachVpnGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AttachVpnGatewayCommand"); +var de_AuthorizeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AuthorizeClientVpnIngressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AuthorizeClientVpnIngressCommand"); +var de_AuthorizeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AuthorizeSecurityGroupEgressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AuthorizeSecurityGroupEgressCommand"); +var de_AuthorizeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AuthorizeSecurityGroupIngressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AuthorizeSecurityGroupIngressCommand"); +var de_BundleInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_BundleInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_BundleInstanceCommand"); +var de_CancelBundleTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelBundleTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelBundleTaskCommand"); +var de_CancelCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelCapacityReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelCapacityReservationCommand"); +var de_CancelCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelCapacityReservationFleetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelCapacityReservationFleetsCommand"); +var de_CancelConversionTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_CancelConversionTaskCommand"); +var de_CancelExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_CancelExportTaskCommand"); +var de_CancelImageLaunchPermissionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelImageLaunchPermissionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelImageLaunchPermissionCommand"); +var de_CancelImportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelImportTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelImportTaskCommand"); +var de_CancelReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelReservedInstancesListingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelReservedInstancesListingCommand"); +var de_CancelSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelSpotFleetRequestsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelSpotFleetRequestsCommand"); +var de_CancelSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelSpotInstanceRequestsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelSpotInstanceRequestsCommand"); +var de_ConfirmProductInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ConfirmProductInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ConfirmProductInstanceCommand"); +var de_CopyFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CopyFpgaImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CopyFpgaImageCommand"); +var de_CopyImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CopyImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CopyImageCommand"); +var de_CopySnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CopySnapshotResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CopySnapshotCommand"); +var de_CreateCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCapacityReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCapacityReservationCommand"); +var de_CreateCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCapacityReservationFleetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCapacityReservationFleetCommand"); +var de_CreateCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCarrierGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCarrierGatewayCommand"); +var de_CreateClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateClientVpnEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateClientVpnEndpointCommand"); +var de_CreateClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateClientVpnRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateClientVpnRouteCommand"); +var de_CreateCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCoipCidrCommand"); +var de_CreateCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCoipPoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCoipPoolCommand"); +var de_CreateCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCustomerGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCustomerGatewayCommand"); +var de_CreateDefaultSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateDefaultSubnetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateDefaultSubnetCommand"); +var de_CreateDefaultVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateDefaultVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateDefaultVpcCommand"); +var de_CreateDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateDhcpOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateDhcpOptionsCommand"); +var de_CreateEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateEgressOnlyInternetGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateEgressOnlyInternetGatewayCommand"); +var de_CreateFleetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateFleetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateFleetCommand"); +var de_CreateFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateFlowLogsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateFlowLogsCommand"); +var de_CreateFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateFpgaImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateFpgaImageCommand"); +var de_CreateImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateImageCommand"); +var de_CreateInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateInstanceConnectEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateInstanceConnectEndpointCommand"); +var de_CreateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateInstanceEventWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateInstanceEventWindowCommand"); +var de_CreateInstanceExportTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateInstanceExportTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateInstanceExportTaskCommand"); +var de_CreateInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateInternetGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateInternetGatewayCommand"); +var de_CreateIpamCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateIpamResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateIpamCommand"); +var de_CreateIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateIpamPoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateIpamPoolCommand"); +var de_CreateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateIpamResourceDiscoveryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateIpamResourceDiscoveryCommand"); +var de_CreateIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateIpamScopeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateIpamScopeCommand"); +var de_CreateKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_KeyPair(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateKeyPairCommand"); +var de_CreateLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLaunchTemplateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLaunchTemplateCommand"); +var de_CreateLaunchTemplateVersionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLaunchTemplateVersionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLaunchTemplateVersionCommand"); +var de_CreateLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLocalGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLocalGatewayRouteCommand"); +var de_CreateLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLocalGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLocalGatewayRouteTableCommand"); +var de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var de_CreateLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateLocalGatewayRouteTableVpcAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateLocalGatewayRouteTableVpcAssociationCommand"); +var de_CreateManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateManagedPrefixListResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateManagedPrefixListCommand"); +var de_CreateNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNatGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNatGatewayCommand"); +var de_CreateNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNetworkAclResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNetworkAclCommand"); +var de_CreateNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_CreateNetworkAclEntryCommand"); +var de_CreateNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNetworkInsightsAccessScopeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNetworkInsightsAccessScopeCommand"); +var de_CreateNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNetworkInsightsPathResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNetworkInsightsPathCommand"); +var de_CreateNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNetworkInterfaceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNetworkInterfaceCommand"); +var de_CreateNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateNetworkInterfacePermissionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateNetworkInterfacePermissionCommand"); +var de_CreatePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreatePlacementGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreatePlacementGroupCommand"); +var de_CreatePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreatePublicIpv4PoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreatePublicIpv4PoolCommand"); +var de_CreateReplaceRootVolumeTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateReplaceRootVolumeTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateReplaceRootVolumeTaskCommand"); +var de_CreateReservedInstancesListingCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateReservedInstancesListingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateReservedInstancesListingCommand"); +var de_CreateRestoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateRestoreImageTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateRestoreImageTaskCommand"); +var de_CreateRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateRouteCommand"); +var de_CreateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateRouteTableCommand"); +var de_CreateSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateSecurityGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSecurityGroupCommand"); +var de_CreateSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_Snapshot(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSnapshotCommand"); +var de_CreateSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateSnapshotsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSnapshotsCommand"); +var de_CreateSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateSpotDatafeedSubscriptionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSpotDatafeedSubscriptionCommand"); +var de_CreateStoreImageTaskCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateStoreImageTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateStoreImageTaskCommand"); +var de_CreateSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateSubnetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSubnetCommand"); +var de_CreateSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateSubnetCidrReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateSubnetCidrReservationCommand"); +var de_CreateTagsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_CreateTagsCommand"); +var de_CreateTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTrafficMirrorFilterResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTrafficMirrorFilterCommand"); +var de_CreateTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTrafficMirrorFilterRuleResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTrafficMirrorFilterRuleCommand"); +var de_CreateTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTrafficMirrorSessionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTrafficMirrorSessionCommand"); +var de_CreateTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTrafficMirrorTargetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTrafficMirrorTargetCommand"); +var de_CreateTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayCommand"); +var de_CreateTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayConnectResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayConnectCommand"); +var de_CreateTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayConnectPeerResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayConnectPeerCommand"); +var de_CreateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayMulticastDomainResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayMulticastDomainCommand"); +var de_CreateTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayPeeringAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayPeeringAttachmentCommand"); +var de_CreateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayPolicyTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayPolicyTableCommand"); +var de_CreateTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayPrefixListReferenceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayPrefixListReferenceCommand"); +var de_CreateTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayRouteCommand"); +var de_CreateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayRouteTableCommand"); +var de_CreateTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayRouteTableAnnouncementResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayRouteTableAnnouncementCommand"); +var de_CreateTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateTransitGatewayVpcAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateTransitGatewayVpcAttachmentCommand"); +var de_CreateVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVerifiedAccessEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVerifiedAccessEndpointCommand"); +var de_CreateVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVerifiedAccessGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVerifiedAccessGroupCommand"); +var de_CreateVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVerifiedAccessInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVerifiedAccessInstanceCommand"); +var de_CreateVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVerifiedAccessTrustProviderResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVerifiedAccessTrustProviderCommand"); +var de_CreateVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_Volume(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVolumeCommand"); +var de_CreateVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcCommand"); +var de_CreateVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcEndpointCommand"); +var de_CreateVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcEndpointConnectionNotificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcEndpointConnectionNotificationCommand"); +var de_CreateVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcEndpointServiceConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcEndpointServiceConfigurationCommand"); +var de_CreateVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcPeeringConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcPeeringConnectionCommand"); +var de_CreateVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpnConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpnConnectionCommand"); +var de_CreateVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_CreateVpnConnectionRouteCommand"); +var de_CreateVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpnGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpnGatewayCommand"); +var de_DeleteCarrierGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteCarrierGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteCarrierGatewayCommand"); +var de_DeleteClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteClientVpnEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteClientVpnEndpointCommand"); +var de_DeleteClientVpnRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteClientVpnRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteClientVpnRouteCommand"); +var de_DeleteCoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteCoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteCoipCidrCommand"); +var de_DeleteCoipPoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteCoipPoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteCoipPoolCommand"); +var de_DeleteCustomerGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteCustomerGatewayCommand"); +var de_DeleteDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteDhcpOptionsCommand"); +var de_DeleteEgressOnlyInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteEgressOnlyInternetGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteEgressOnlyInternetGatewayCommand"); +var de_DeleteFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteFleetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteFleetsCommand"); +var de_DeleteFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteFlowLogsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteFlowLogsCommand"); +var de_DeleteFpgaImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteFpgaImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteFpgaImageCommand"); +var de_DeleteInstanceConnectEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteInstanceConnectEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteInstanceConnectEndpointCommand"); +var de_DeleteInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteInstanceEventWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteInstanceEventWindowCommand"); +var de_DeleteInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteInternetGatewayCommand"); +var de_DeleteIpamCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteIpamResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteIpamCommand"); +var de_DeleteIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteIpamPoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteIpamPoolCommand"); +var de_DeleteIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteIpamResourceDiscoveryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteIpamResourceDiscoveryCommand"); +var de_DeleteIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteIpamScopeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteIpamScopeCommand"); +var de_DeleteKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteKeyPairResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteKeyPairCommand"); +var de_DeleteLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLaunchTemplateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLaunchTemplateCommand"); +var de_DeleteLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLaunchTemplateVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLaunchTemplateVersionsCommand"); +var de_DeleteLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLocalGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLocalGatewayRouteCommand"); +var de_DeleteLocalGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLocalGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLocalGatewayRouteTableCommand"); +var de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var de_DeleteLocalGatewayRouteTableVpcAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteLocalGatewayRouteTableVpcAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteLocalGatewayRouteTableVpcAssociationCommand"); +var de_DeleteManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteManagedPrefixListResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteManagedPrefixListCommand"); +var de_DeleteNatGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNatGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNatGatewayCommand"); +var de_DeleteNetworkAclCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteNetworkAclCommand"); +var de_DeleteNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteNetworkAclEntryCommand"); +var de_DeleteNetworkInsightsAccessScopeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNetworkInsightsAccessScopeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNetworkInsightsAccessScopeCommand"); +var de_DeleteNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNetworkInsightsAccessScopeAnalysisResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNetworkInsightsAccessScopeAnalysisCommand"); +var de_DeleteNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNetworkInsightsAnalysisResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNetworkInsightsAnalysisCommand"); +var de_DeleteNetworkInsightsPathCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNetworkInsightsPathResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNetworkInsightsPathCommand"); +var de_DeleteNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteNetworkInterfaceCommand"); +var de_DeleteNetworkInterfacePermissionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteNetworkInterfacePermissionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteNetworkInterfacePermissionCommand"); +var de_DeletePlacementGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeletePlacementGroupCommand"); +var de_DeletePublicIpv4PoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeletePublicIpv4PoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeletePublicIpv4PoolCommand"); +var de_DeleteQueuedReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteQueuedReservedInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteQueuedReservedInstancesCommand"); +var de_DeleteRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteRouteCommand"); +var de_DeleteRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteRouteTableCommand"); +var de_DeleteSecurityGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteSecurityGroupCommand"); +var de_DeleteSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteSnapshotCommand"); +var de_DeleteSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteSpotDatafeedSubscriptionCommand"); +var de_DeleteSubnetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteSubnetCommand"); +var de_DeleteSubnetCidrReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteSubnetCidrReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteSubnetCidrReservationCommand"); +var de_DeleteTagsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteTagsCommand"); +var de_DeleteTrafficMirrorFilterCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTrafficMirrorFilterResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTrafficMirrorFilterCommand"); +var de_DeleteTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTrafficMirrorFilterRuleResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTrafficMirrorFilterRuleCommand"); +var de_DeleteTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTrafficMirrorSessionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTrafficMirrorSessionCommand"); +var de_DeleteTrafficMirrorTargetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTrafficMirrorTargetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTrafficMirrorTargetCommand"); +var de_DeleteTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayCommand"); +var de_DeleteTransitGatewayConnectCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayConnectResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayConnectCommand"); +var de_DeleteTransitGatewayConnectPeerCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayConnectPeerResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayConnectPeerCommand"); +var de_DeleteTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayMulticastDomainResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayMulticastDomainCommand"); +var de_DeleteTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayPeeringAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayPeeringAttachmentCommand"); +var de_DeleteTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayPolicyTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayPolicyTableCommand"); +var de_DeleteTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayPrefixListReferenceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayPrefixListReferenceCommand"); +var de_DeleteTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayRouteCommand"); +var de_DeleteTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayRouteTableCommand"); +var de_DeleteTransitGatewayRouteTableAnnouncementCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayRouteTableAnnouncementResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayRouteTableAnnouncementCommand"); +var de_DeleteTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteTransitGatewayVpcAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteTransitGatewayVpcAttachmentCommand"); +var de_DeleteVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVerifiedAccessEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVerifiedAccessEndpointCommand"); +var de_DeleteVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVerifiedAccessGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVerifiedAccessGroupCommand"); +var de_DeleteVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVerifiedAccessInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVerifiedAccessInstanceCommand"); +var de_DeleteVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVerifiedAccessTrustProviderResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVerifiedAccessTrustProviderCommand"); +var de_DeleteVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteVolumeCommand"); +var de_DeleteVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteVpcCommand"); +var de_DeleteVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVpcEndpointConnectionNotificationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVpcEndpointConnectionNotificationsCommand"); +var de_DeleteVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVpcEndpointsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVpcEndpointsCommand"); +var de_DeleteVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVpcEndpointServiceConfigurationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVpcEndpointServiceConfigurationsCommand"); +var de_DeleteVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVpcPeeringConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVpcPeeringConnectionCommand"); +var de_DeleteVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteVpnConnectionCommand"); +var de_DeleteVpnConnectionRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteVpnConnectionRouteCommand"); +var de_DeleteVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeleteVpnGatewayCommand"); +var de_DeprovisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeprovisionByoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeprovisionByoipCidrCommand"); +var de_DeprovisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeprovisionIpamByoasnResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeprovisionIpamByoasnCommand"); +var de_DeprovisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeprovisionIpamPoolCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeprovisionIpamPoolCidrCommand"); +var de_DeprovisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeprovisionPublicIpv4PoolCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeprovisionPublicIpv4PoolCidrCommand"); +var de_DeregisterImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DeregisterImageCommand"); +var de_DeregisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeregisterInstanceEventNotificationAttributesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeregisterInstanceEventNotificationAttributesCommand"); +var de_DeregisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeregisterTransitGatewayMulticastGroupMembersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeregisterTransitGatewayMulticastGroupMembersCommand"); +var de_DeregisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeregisterTransitGatewayMulticastGroupSourcesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeregisterTransitGatewayMulticastGroupSourcesCommand"); +var de_DescribeAccountAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAccountAttributesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAccountAttributesCommand"); +var de_DescribeAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAddressesCommand"); +var de_DescribeAddressesAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAddressesAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAddressesAttributeCommand"); +var de_DescribeAddressTransfersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAddressTransfersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAddressTransfersCommand"); +var de_DescribeAggregateIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAggregateIdFormatResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAggregateIdFormatCommand"); +var de_DescribeAvailabilityZonesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAvailabilityZonesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAvailabilityZonesCommand"); +var de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); +var de_DescribeBundleTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeBundleTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeBundleTasksCommand"); +var de_DescribeByoipCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeByoipCidrsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeByoipCidrsCommand"); +var de_DescribeCapacityBlockOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityBlockOfferingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityBlockOfferingsCommand"); +var de_DescribeCapacityReservationFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityReservationFleetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityReservationFleetsCommand"); +var de_DescribeCapacityReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityReservationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityReservationsCommand"); +var de_DescribeCarrierGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCarrierGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCarrierGatewaysCommand"); +var de_DescribeClassicLinkInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClassicLinkInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClassicLinkInstancesCommand"); +var de_DescribeClientVpnAuthorizationRulesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClientVpnAuthorizationRulesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClientVpnAuthorizationRulesCommand"); +var de_DescribeClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClientVpnConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClientVpnConnectionsCommand"); +var de_DescribeClientVpnEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClientVpnEndpointsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClientVpnEndpointsCommand"); +var de_DescribeClientVpnRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClientVpnRoutesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClientVpnRoutesCommand"); +var de_DescribeClientVpnTargetNetworksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeClientVpnTargetNetworksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeClientVpnTargetNetworksCommand"); +var de_DescribeCoipPoolsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCoipPoolsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCoipPoolsCommand"); +var de_DescribeConversionTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeConversionTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeConversionTasksCommand"); +var de_DescribeCustomerGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCustomerGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCustomerGatewaysCommand"); +var de_DescribeDhcpOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeDhcpOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeDhcpOptionsCommand"); +var de_DescribeEgressOnlyInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeEgressOnlyInternetGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeEgressOnlyInternetGatewaysCommand"); +var de_DescribeElasticGpusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeElasticGpusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeElasticGpusCommand"); +var de_DescribeExportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeExportImageTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeExportImageTasksCommand"); +var de_DescribeExportTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeExportTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeExportTasksCommand"); +var de_DescribeFastLaunchImagesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFastLaunchImagesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFastLaunchImagesCommand"); +var de_DescribeFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFastSnapshotRestoresResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFastSnapshotRestoresCommand"); +var de_DescribeFleetHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFleetHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFleetHistoryCommand"); +var de_DescribeFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFleetInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFleetInstancesCommand"); +var de_DescribeFleetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFleetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFleetsCommand"); +var de_DescribeFlowLogsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFlowLogsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFlowLogsCommand"); +var de_DescribeFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFpgaImageAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFpgaImageAttributeCommand"); +var de_DescribeFpgaImagesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeFpgaImagesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeFpgaImagesCommand"); +var de_DescribeHostReservationOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeHostReservationOfferingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeHostReservationOfferingsCommand"); +var de_DescribeHostReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeHostReservationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeHostReservationsCommand"); +var de_DescribeHostsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeHostsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeHostsCommand"); +var de_DescribeIamInstanceProfileAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIamInstanceProfileAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIamInstanceProfileAssociationsCommand"); +var de_DescribeIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIdentityIdFormatResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIdentityIdFormatCommand"); +var de_DescribeIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIdFormatResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIdFormatCommand"); +var de_DescribeImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImageAttribute(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeImageAttributeCommand"); +var de_DescribeImagesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeImagesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeImagesCommand"); +var de_DescribeImportImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeImportImageTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeImportImageTasksCommand"); +var de_DescribeImportSnapshotTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeImportSnapshotTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeImportSnapshotTasksCommand"); +var de_DescribeInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_InstanceAttribute(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceAttributeCommand"); +var de_DescribeInstanceConnectEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceConnectEndpointsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceConnectEndpointsCommand"); +var de_DescribeInstanceCreditSpecificationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceCreditSpecificationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceCreditSpecificationsCommand"); +var de_DescribeInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceEventNotificationAttributesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceEventNotificationAttributesCommand"); +var de_DescribeInstanceEventWindowsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceEventWindowsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceEventWindowsCommand"); +var de_DescribeInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstancesCommand"); +var de_DescribeInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceStatusCommand"); +var de_DescribeInstanceTopologyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceTopologyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceTopologyCommand"); +var de_DescribeInstanceTypeOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceTypeOfferingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceTypeOfferingsCommand"); +var de_DescribeInstanceTypesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceTypesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceTypesCommand"); +var de_DescribeInternetGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInternetGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInternetGatewaysCommand"); +var de_DescribeIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamByoasnResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamByoasnCommand"); +var de_DescribeIpamPoolsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamPoolsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamPoolsCommand"); +var de_DescribeIpamResourceDiscoveriesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamResourceDiscoveriesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamResourceDiscoveriesCommand"); +var de_DescribeIpamResourceDiscoveryAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamResourceDiscoveryAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamResourceDiscoveryAssociationsCommand"); +var de_DescribeIpamsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamsCommand"); +var de_DescribeIpamScopesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamScopesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamScopesCommand"); +var de_DescribeIpv6PoolsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpv6PoolsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpv6PoolsCommand"); +var de_DescribeKeyPairsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeKeyPairsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeKeyPairsCommand"); +var de_DescribeLaunchTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLaunchTemplatesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLaunchTemplatesCommand"); +var de_DescribeLaunchTemplateVersionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLaunchTemplateVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLaunchTemplateVersionsCommand"); +var de_DescribeLocalGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewayRouteTablesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewayRouteTablesCommand"); +var de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); +var de_DescribeLocalGatewayRouteTableVpcAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewayRouteTableVpcAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewayRouteTableVpcAssociationsCommand"); +var de_DescribeLocalGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewaysCommand"); +var de_DescribeLocalGatewayVirtualInterfaceGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewayVirtualInterfaceGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewayVirtualInterfaceGroupsCommand"); +var de_DescribeLocalGatewayVirtualInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLocalGatewayVirtualInterfacesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLocalGatewayVirtualInterfacesCommand"); +var de_DescribeLockedSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeLockedSnapshotsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeLockedSnapshotsCommand"); +var de_DescribeMacHostsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeMacHostsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeMacHostsCommand"); +var de_DescribeManagedPrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeManagedPrefixListsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeManagedPrefixListsCommand"); +var de_DescribeMovingAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeMovingAddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeMovingAddressesCommand"); +var de_DescribeNatGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNatGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNatGatewaysCommand"); +var de_DescribeNetworkAclsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkAclsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkAclsCommand"); +var de_DescribeNetworkInsightsAccessScopeAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInsightsAccessScopeAnalysesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInsightsAccessScopeAnalysesCommand"); +var de_DescribeNetworkInsightsAccessScopesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInsightsAccessScopesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInsightsAccessScopesCommand"); +var de_DescribeNetworkInsightsAnalysesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInsightsAnalysesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInsightsAnalysesCommand"); +var de_DescribeNetworkInsightsPathsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInsightsPathsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInsightsPathsCommand"); +var de_DescribeNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInterfaceAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInterfaceAttributeCommand"); +var de_DescribeNetworkInterfacePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInterfacePermissionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInterfacePermissionsCommand"); +var de_DescribeNetworkInterfacesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeNetworkInterfacesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeNetworkInterfacesCommand"); +var de_DescribePlacementGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribePlacementGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribePlacementGroupsCommand"); +var de_DescribePrefixListsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribePrefixListsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribePrefixListsCommand"); +var de_DescribePrincipalIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribePrincipalIdFormatResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribePrincipalIdFormatCommand"); +var de_DescribePublicIpv4PoolsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribePublicIpv4PoolsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribePublicIpv4PoolsCommand"); +var de_DescribeRegionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeRegionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeRegionsCommand"); +var de_DescribeReplaceRootVolumeTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeReplaceRootVolumeTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeReplaceRootVolumeTasksCommand"); +var de_DescribeReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeReservedInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeReservedInstancesCommand"); +var de_DescribeReservedInstancesListingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeReservedInstancesListingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeReservedInstancesListingsCommand"); +var de_DescribeReservedInstancesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeReservedInstancesModificationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeReservedInstancesModificationsCommand"); +var de_DescribeReservedInstancesOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeReservedInstancesOfferingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeReservedInstancesOfferingsCommand"); +var de_DescribeRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeRouteTablesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeRouteTablesCommand"); +var de_DescribeScheduledInstanceAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeScheduledInstanceAvailabilityResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeScheduledInstanceAvailabilityCommand"); +var de_DescribeScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeScheduledInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeScheduledInstancesCommand"); +var de_DescribeSecurityGroupReferencesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSecurityGroupReferencesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSecurityGroupReferencesCommand"); +var de_DescribeSecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSecurityGroupRulesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSecurityGroupRulesCommand"); +var de_DescribeSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSecurityGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSecurityGroupsCommand"); +var de_DescribeSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSnapshotAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSnapshotAttributeCommand"); +var de_DescribeSnapshotsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSnapshotsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSnapshotsCommand"); +var de_DescribeSnapshotTierStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSnapshotTierStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSnapshotTierStatusCommand"); +var de_DescribeSpotDatafeedSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotDatafeedSubscriptionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotDatafeedSubscriptionCommand"); +var de_DescribeSpotFleetInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotFleetInstancesResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotFleetInstancesCommand"); +var de_DescribeSpotFleetRequestHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotFleetRequestHistoryResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotFleetRequestHistoryCommand"); +var de_DescribeSpotFleetRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotFleetRequestsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotFleetRequestsCommand"); +var de_DescribeSpotInstanceRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotInstanceRequestsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotInstanceRequestsCommand"); +var de_DescribeSpotPriceHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSpotPriceHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSpotPriceHistoryCommand"); +var de_DescribeStaleSecurityGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeStaleSecurityGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeStaleSecurityGroupsCommand"); +var de_DescribeStoreImageTasksCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeStoreImageTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeStoreImageTasksCommand"); +var de_DescribeSubnetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSubnetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSubnetsCommand"); +var de_DescribeTagsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTagsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTagsCommand"); +var de_DescribeTrafficMirrorFiltersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTrafficMirrorFiltersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTrafficMirrorFiltersCommand"); +var de_DescribeTrafficMirrorSessionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTrafficMirrorSessionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTrafficMirrorSessionsCommand"); +var de_DescribeTrafficMirrorTargetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTrafficMirrorTargetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTrafficMirrorTargetsCommand"); +var de_DescribeTransitGatewayAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayAttachmentsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayAttachmentsCommand"); +var de_DescribeTransitGatewayConnectPeersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayConnectPeersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayConnectPeersCommand"); +var de_DescribeTransitGatewayConnectsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayConnectsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayConnectsCommand"); +var de_DescribeTransitGatewayMulticastDomainsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayMulticastDomainsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayMulticastDomainsCommand"); +var de_DescribeTransitGatewayPeeringAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayPeeringAttachmentsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayPeeringAttachmentsCommand"); +var de_DescribeTransitGatewayPolicyTablesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayPolicyTablesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayPolicyTablesCommand"); +var de_DescribeTransitGatewayRouteTableAnnouncementsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayRouteTableAnnouncementsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayRouteTableAnnouncementsCommand"); +var de_DescribeTransitGatewayRouteTablesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayRouteTablesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayRouteTablesCommand"); +var de_DescribeTransitGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewaysCommand"); +var de_DescribeTransitGatewayVpcAttachmentsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTransitGatewayVpcAttachmentsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTransitGatewayVpcAttachmentsCommand"); +var de_DescribeTrunkInterfaceAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTrunkInterfaceAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTrunkInterfaceAssociationsCommand"); +var de_DescribeVerifiedAccessEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVerifiedAccessEndpointsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVerifiedAccessEndpointsCommand"); +var de_DescribeVerifiedAccessGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVerifiedAccessGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVerifiedAccessGroupsCommand"); +var de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); +var de_DescribeVerifiedAccessInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVerifiedAccessInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVerifiedAccessInstancesCommand"); +var de_DescribeVerifiedAccessTrustProvidersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVerifiedAccessTrustProvidersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVerifiedAccessTrustProvidersCommand"); +var de_DescribeVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVolumeAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVolumeAttributeCommand"); +var de_DescribeVolumesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVolumesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVolumesCommand"); +var de_DescribeVolumesModificationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVolumesModificationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVolumesModificationsCommand"); +var de_DescribeVolumeStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVolumeStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVolumeStatusCommand"); +var de_DescribeVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcAttributeCommand"); +var de_DescribeVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcClassicLinkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcClassicLinkCommand"); +var de_DescribeVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcClassicLinkDnsSupportResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcClassicLinkDnsSupportCommand"); +var de_DescribeVpcEndpointConnectionNotificationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointConnectionNotificationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointConnectionNotificationsCommand"); +var de_DescribeVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointConnectionsCommand"); +var de_DescribeVpcEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointsCommand"); +var de_DescribeVpcEndpointServiceConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointServiceConfigurationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointServiceConfigurationsCommand"); +var de_DescribeVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointServicePermissionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointServicePermissionsCommand"); +var de_DescribeVpcEndpointServicesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointServicesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointServicesCommand"); +var de_DescribeVpcPeeringConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcPeeringConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcPeeringConnectionsCommand"); +var de_DescribeVpcsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcsCommand"); +var de_DescribeVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpnConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpnConnectionsCommand"); +var de_DescribeVpnGatewaysCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpnGatewaysResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpnGatewaysCommand"); +var de_DetachClassicLinkVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DetachClassicLinkVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DetachClassicLinkVpcCommand"); +var de_DetachInternetGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DetachInternetGatewayCommand"); +var de_DetachNetworkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DetachNetworkInterfaceCommand"); +var de_DetachVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DetachVerifiedAccessTrustProviderResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DetachVerifiedAccessTrustProviderCommand"); +var de_DetachVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_VolumeAttachment(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DetachVolumeCommand"); +var de_DetachVpnGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DetachVpnGatewayCommand"); +var de_DisableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableAddressTransferResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableAddressTransferCommand"); +var de_DisableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableAwsNetworkPerformanceMetricSubscriptionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableAwsNetworkPerformanceMetricSubscriptionCommand"); +var de_DisableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableEbsEncryptionByDefaultResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableEbsEncryptionByDefaultCommand"); +var de_DisableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableFastLaunchResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableFastLaunchCommand"); +var de_DisableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableFastSnapshotRestoresResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableFastSnapshotRestoresCommand"); +var de_DisableImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableImageCommand"); +var de_DisableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableImageBlockPublicAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableImageBlockPublicAccessCommand"); +var de_DisableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableImageDeprecationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableImageDeprecationCommand"); +var de_DisableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableImageDeregistrationProtectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableImageDeregistrationProtectionCommand"); +var de_DisableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableIpamOrganizationAdminAccountResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableIpamOrganizationAdminAccountCommand"); +var de_DisableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableSerialConsoleAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableSerialConsoleAccessCommand"); +var de_DisableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableSnapshotBlockPublicAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableSnapshotBlockPublicAccessCommand"); +var de_DisableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableTransitGatewayRouteTablePropagationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableTransitGatewayRouteTablePropagationCommand"); +var de_DisableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DisableVgwRoutePropagationCommand"); +var de_DisableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableVpcClassicLinkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableVpcClassicLinkCommand"); +var de_DisableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableVpcClassicLinkDnsSupportResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableVpcClassicLinkDnsSupportCommand"); +var de_DisassociateAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DisassociateAddressCommand"); +var de_DisassociateClientVpnTargetNetworkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateClientVpnTargetNetworkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateClientVpnTargetNetworkCommand"); +var de_DisassociateEnclaveCertificateIamRoleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateEnclaveCertificateIamRoleResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateEnclaveCertificateIamRoleCommand"); +var de_DisassociateIamInstanceProfileCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateIamInstanceProfileResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateIamInstanceProfileCommand"); +var de_DisassociateInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateInstanceEventWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateInstanceEventWindowCommand"); +var de_DisassociateIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateIpamByoasnResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateIpamByoasnCommand"); +var de_DisassociateIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateIpamResourceDiscoveryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateIpamResourceDiscoveryCommand"); +var de_DisassociateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateNatGatewayAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateNatGatewayAddressCommand"); +var de_DisassociateRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_DisassociateRouteTableCommand"); +var de_DisassociateSubnetCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateSubnetCidrBlockResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateSubnetCidrBlockCommand"); +var de_DisassociateTransitGatewayMulticastDomainCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateTransitGatewayMulticastDomainResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateTransitGatewayMulticastDomainCommand"); +var de_DisassociateTransitGatewayPolicyTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateTransitGatewayPolicyTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateTransitGatewayPolicyTableCommand"); +var de_DisassociateTransitGatewayRouteTableCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateTransitGatewayRouteTableResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateTransitGatewayRouteTableCommand"); +var de_DisassociateTrunkInterfaceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateTrunkInterfaceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateTrunkInterfaceCommand"); +var de_DisassociateVpcCidrBlockCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateVpcCidrBlockResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateVpcCidrBlockCommand"); +var de_EnableAddressTransferCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableAddressTransferResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableAddressTransferCommand"); +var de_EnableAwsNetworkPerformanceMetricSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableAwsNetworkPerformanceMetricSubscriptionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableAwsNetworkPerformanceMetricSubscriptionCommand"); +var de_EnableEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableEbsEncryptionByDefaultResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableEbsEncryptionByDefaultCommand"); +var de_EnableFastLaunchCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableFastLaunchResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableFastLaunchCommand"); +var de_EnableFastSnapshotRestoresCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableFastSnapshotRestoresResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableFastSnapshotRestoresCommand"); +var de_EnableImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableImageCommand"); +var de_EnableImageBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableImageBlockPublicAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableImageBlockPublicAccessCommand"); +var de_EnableImageDeprecationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableImageDeprecationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableImageDeprecationCommand"); +var de_EnableImageDeregistrationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableImageDeregistrationProtectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableImageDeregistrationProtectionCommand"); +var de_EnableIpamOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableIpamOrganizationAdminAccountResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableIpamOrganizationAdminAccountCommand"); +var de_EnableReachabilityAnalyzerOrganizationSharingCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableReachabilityAnalyzerOrganizationSharingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableReachabilityAnalyzerOrganizationSharingCommand"); +var de_EnableSerialConsoleAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableSerialConsoleAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableSerialConsoleAccessCommand"); +var de_EnableSnapshotBlockPublicAccessCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableSnapshotBlockPublicAccessResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableSnapshotBlockPublicAccessCommand"); +var de_EnableTransitGatewayRouteTablePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableTransitGatewayRouteTablePropagationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableTransitGatewayRouteTablePropagationCommand"); +var de_EnableVgwRoutePropagationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_EnableVgwRoutePropagationCommand"); +var de_EnableVolumeIOCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_EnableVolumeIOCommand"); +var de_EnableVpcClassicLinkCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableVpcClassicLinkResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableVpcClassicLinkCommand"); +var de_EnableVpcClassicLinkDnsSupportCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableVpcClassicLinkDnsSupportResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableVpcClassicLinkDnsSupportCommand"); +var de_ExportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ExportClientVpnClientCertificateRevocationListResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ExportClientVpnClientCertificateRevocationListCommand"); +var de_ExportClientVpnClientConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ExportClientVpnClientConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ExportClientVpnClientConfigurationCommand"); +var de_ExportImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ExportImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ExportImageCommand"); +var de_ExportTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ExportTransitGatewayRoutesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ExportTransitGatewayRoutesCommand"); +var de_GetAssociatedEnclaveCertificateIamRolesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetAssociatedEnclaveCertificateIamRolesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetAssociatedEnclaveCertificateIamRolesCommand"); +var de_GetAssociatedIpv6PoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetAssociatedIpv6PoolCidrsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetAssociatedIpv6PoolCidrsCommand"); +var de_GetAwsNetworkPerformanceDataCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetAwsNetworkPerformanceDataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetAwsNetworkPerformanceDataCommand"); +var de_GetCapacityReservationUsageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetCapacityReservationUsageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetCapacityReservationUsageCommand"); +var de_GetCoipPoolUsageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetCoipPoolUsageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetCoipPoolUsageCommand"); +var de_GetConsoleOutputCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetConsoleOutputResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetConsoleOutputCommand"); +var de_GetConsoleScreenshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetConsoleScreenshotResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetConsoleScreenshotCommand"); +var de_GetDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetDefaultCreditSpecificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetDefaultCreditSpecificationCommand"); +var de_GetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetEbsDefaultKmsKeyIdResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetEbsDefaultKmsKeyIdCommand"); +var de_GetEbsEncryptionByDefaultCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetEbsEncryptionByDefaultResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetEbsEncryptionByDefaultCommand"); +var de_GetFlowLogsIntegrationTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetFlowLogsIntegrationTemplateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetFlowLogsIntegrationTemplateCommand"); +var de_GetGroupsForCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetGroupsForCapacityReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetGroupsForCapacityReservationCommand"); +var de_GetHostReservationPurchasePreviewCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetHostReservationPurchasePreviewResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetHostReservationPurchasePreviewCommand"); +var de_GetImageBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetImageBlockPublicAccessStateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetImageBlockPublicAccessStateCommand"); +var de_GetInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetInstanceMetadataDefaultsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetInstanceMetadataDefaultsCommand"); +var de_GetInstanceTpmEkPubCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetInstanceTpmEkPubResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetInstanceTpmEkPubCommand"); +var de_GetInstanceTypesFromInstanceRequirementsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetInstanceTypesFromInstanceRequirementsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetInstanceTypesFromInstanceRequirementsCommand"); +var de_GetInstanceUefiDataCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetInstanceUefiDataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetInstanceUefiDataCommand"); +var de_GetIpamAddressHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamAddressHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamAddressHistoryCommand"); +var de_GetIpamDiscoveredAccountsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamDiscoveredAccountsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamDiscoveredAccountsCommand"); +var de_GetIpamDiscoveredPublicAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamDiscoveredPublicAddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamDiscoveredPublicAddressesCommand"); +var de_GetIpamDiscoveredResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamDiscoveredResourceCidrsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamDiscoveredResourceCidrsCommand"); +var de_GetIpamPoolAllocationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamPoolAllocationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamPoolAllocationsCommand"); +var de_GetIpamPoolCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamPoolCidrsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamPoolCidrsCommand"); +var de_GetIpamResourceCidrsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetIpamResourceCidrsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetIpamResourceCidrsCommand"); +var de_GetLaunchTemplateDataCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetLaunchTemplateDataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetLaunchTemplateDataCommand"); +var de_GetManagedPrefixListAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetManagedPrefixListAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetManagedPrefixListAssociationsCommand"); +var de_GetManagedPrefixListEntriesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetManagedPrefixListEntriesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetManagedPrefixListEntriesCommand"); +var de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetNetworkInsightsAccessScopeAnalysisFindingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand"); +var de_GetNetworkInsightsAccessScopeContentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetNetworkInsightsAccessScopeContentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetNetworkInsightsAccessScopeContentCommand"); +var de_GetPasswordDataCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetPasswordDataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetPasswordDataCommand"); +var de_GetReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetReservedInstancesExchangeQuoteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetReservedInstancesExchangeQuoteCommand"); +var de_GetSecurityGroupsForVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSecurityGroupsForVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSecurityGroupsForVpcCommand"); +var de_GetSerialConsoleAccessStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSerialConsoleAccessStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSerialConsoleAccessStatusCommand"); +var de_GetSnapshotBlockPublicAccessStateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSnapshotBlockPublicAccessStateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSnapshotBlockPublicAccessStateCommand"); +var de_GetSpotPlacementScoresCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSpotPlacementScoresResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSpotPlacementScoresCommand"); +var de_GetSubnetCidrReservationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSubnetCidrReservationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSubnetCidrReservationsCommand"); +var de_GetTransitGatewayAttachmentPropagationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayAttachmentPropagationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayAttachmentPropagationsCommand"); +var de_GetTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayMulticastDomainAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayMulticastDomainAssociationsCommand"); +var de_GetTransitGatewayPolicyTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayPolicyTableAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayPolicyTableAssociationsCommand"); +var de_GetTransitGatewayPolicyTableEntriesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayPolicyTableEntriesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayPolicyTableEntriesCommand"); +var de_GetTransitGatewayPrefixListReferencesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayPrefixListReferencesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayPrefixListReferencesCommand"); +var de_GetTransitGatewayRouteTableAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayRouteTableAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayRouteTableAssociationsCommand"); +var de_GetTransitGatewayRouteTablePropagationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetTransitGatewayRouteTablePropagationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetTransitGatewayRouteTablePropagationsCommand"); +var de_GetVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVerifiedAccessEndpointPolicyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVerifiedAccessEndpointPolicyCommand"); +var de_GetVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVerifiedAccessGroupPolicyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVerifiedAccessGroupPolicyCommand"); +var de_GetVpnConnectionDeviceSampleConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVpnConnectionDeviceSampleConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVpnConnectionDeviceSampleConfigurationCommand"); +var de_GetVpnConnectionDeviceTypesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVpnConnectionDeviceTypesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVpnConnectionDeviceTypesCommand"); +var de_GetVpnTunnelReplacementStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVpnTunnelReplacementStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVpnTunnelReplacementStatusCommand"); +var de_ImportClientVpnClientCertificateRevocationListCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportClientVpnClientCertificateRevocationListResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportClientVpnClientCertificateRevocationListCommand"); +var de_ImportImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportImageCommand"); +var de_ImportInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportInstanceCommand"); +var de_ImportKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportKeyPairResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportKeyPairCommand"); +var de_ImportSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportSnapshotResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportSnapshotCommand"); +var de_ImportVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ImportVolumeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ImportVolumeCommand"); +var de_ListImagesInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ListImagesInRecycleBinResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ListImagesInRecycleBinCommand"); +var de_ListSnapshotsInRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ListSnapshotsInRecycleBinResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ListSnapshotsInRecycleBinCommand"); +var de_LockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_LockSnapshotResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_LockSnapshotCommand"); +var de_ModifyAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyAddressAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyAddressAttributeCommand"); +var de_ModifyAvailabilityZoneGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyAvailabilityZoneGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyAvailabilityZoneGroupCommand"); +var de_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyCapacityReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyCapacityReservationCommand"); +var de_ModifyCapacityReservationFleetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyCapacityReservationFleetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyCapacityReservationFleetCommand"); +var de_ModifyClientVpnEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyClientVpnEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyClientVpnEndpointCommand"); +var de_ModifyDefaultCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyDefaultCreditSpecificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyDefaultCreditSpecificationCommand"); +var de_ModifyEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyEbsDefaultKmsKeyIdResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyEbsDefaultKmsKeyIdCommand"); +var de_ModifyFleetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyFleetResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyFleetCommand"); +var de_ModifyFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyFpgaImageAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyFpgaImageAttributeCommand"); +var de_ModifyHostsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyHostsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyHostsCommand"); +var de_ModifyIdentityIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyIdentityIdFormatCommand"); +var de_ModifyIdFormatCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyIdFormatCommand"); +var de_ModifyImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyImageAttributeCommand"); +var de_ModifyInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyInstanceAttributeCommand"); +var de_ModifyInstanceCapacityReservationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceCapacityReservationAttributesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceCapacityReservationAttributesCommand"); +var de_ModifyInstanceCreditSpecificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceCreditSpecificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceCreditSpecificationCommand"); +var de_ModifyInstanceEventStartTimeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceEventStartTimeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceEventStartTimeCommand"); +var de_ModifyInstanceEventWindowCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceEventWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceEventWindowCommand"); +var de_ModifyInstanceMaintenanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceMaintenanceOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceMaintenanceOptionsCommand"); +var de_ModifyInstanceMetadataDefaultsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceMetadataDefaultsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceMetadataDefaultsCommand"); +var de_ModifyInstanceMetadataOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceMetadataOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceMetadataOptionsCommand"); +var de_ModifyInstancePlacementCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstancePlacementResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstancePlacementCommand"); +var de_ModifyIpamCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyIpamResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyIpamCommand"); +var de_ModifyIpamPoolCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyIpamPoolResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyIpamPoolCommand"); +var de_ModifyIpamResourceCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyIpamResourceCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyIpamResourceCidrCommand"); +var de_ModifyIpamResourceDiscoveryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyIpamResourceDiscoveryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyIpamResourceDiscoveryCommand"); +var de_ModifyIpamScopeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyIpamScopeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyIpamScopeCommand"); +var de_ModifyLaunchTemplateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyLaunchTemplateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyLaunchTemplateCommand"); +var de_ModifyLocalGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyLocalGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyLocalGatewayRouteCommand"); +var de_ModifyManagedPrefixListCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyManagedPrefixListResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyManagedPrefixListCommand"); +var de_ModifyNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyNetworkInterfaceAttributeCommand"); +var de_ModifyPrivateDnsNameOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyPrivateDnsNameOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyPrivateDnsNameOptionsCommand"); +var de_ModifyReservedInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyReservedInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyReservedInstancesCommand"); +var de_ModifySecurityGroupRulesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifySecurityGroupRulesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifySecurityGroupRulesCommand"); +var de_ModifySnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifySnapshotAttributeCommand"); +var de_ModifySnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifySnapshotTierResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifySnapshotTierCommand"); +var de_ModifySpotFleetRequestCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifySpotFleetRequestResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifySpotFleetRequestCommand"); +var de_ModifySubnetAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifySubnetAttributeCommand"); +var de_ModifyTrafficMirrorFilterNetworkServicesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTrafficMirrorFilterNetworkServicesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTrafficMirrorFilterNetworkServicesCommand"); +var de_ModifyTrafficMirrorFilterRuleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTrafficMirrorFilterRuleResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTrafficMirrorFilterRuleCommand"); +var de_ModifyTrafficMirrorSessionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTrafficMirrorSessionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTrafficMirrorSessionCommand"); +var de_ModifyTransitGatewayCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTransitGatewayResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTransitGatewayCommand"); +var de_ModifyTransitGatewayPrefixListReferenceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTransitGatewayPrefixListReferenceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTransitGatewayPrefixListReferenceCommand"); +var de_ModifyTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyTransitGatewayVpcAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyTransitGatewayVpcAttachmentCommand"); +var de_ModifyVerifiedAccessEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessEndpointCommand"); +var de_ModifyVerifiedAccessEndpointPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessEndpointPolicyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessEndpointPolicyCommand"); +var de_ModifyVerifiedAccessGroupCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessGroupCommand"); +var de_ModifyVerifiedAccessGroupPolicyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessGroupPolicyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessGroupPolicyCommand"); +var de_ModifyVerifiedAccessInstanceCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessInstanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessInstanceCommand"); +var de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessInstanceLoggingConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand"); +var de_ModifyVerifiedAccessTrustProviderCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVerifiedAccessTrustProviderResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVerifiedAccessTrustProviderCommand"); +var de_ModifyVolumeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVolumeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVolumeCommand"); +var de_ModifyVolumeAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyVolumeAttributeCommand"); +var de_ModifyVpcAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ModifyVpcAttributeCommand"); +var de_ModifyVpcEndpointCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcEndpointResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcEndpointCommand"); +var de_ModifyVpcEndpointConnectionNotificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcEndpointConnectionNotificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcEndpointConnectionNotificationCommand"); +var de_ModifyVpcEndpointServiceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcEndpointServiceConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcEndpointServiceConfigurationCommand"); +var de_ModifyVpcEndpointServicePayerResponsibilityCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcEndpointServicePayerResponsibilityResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcEndpointServicePayerResponsibilityCommand"); +var de_ModifyVpcEndpointServicePermissionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcEndpointServicePermissionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcEndpointServicePermissionsCommand"); +var de_ModifyVpcPeeringConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcPeeringConnectionOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcPeeringConnectionOptionsCommand"); +var de_ModifyVpcTenancyCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcTenancyResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcTenancyCommand"); +var de_ModifyVpnConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpnConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpnConnectionCommand"); +var de_ModifyVpnConnectionOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpnConnectionOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpnConnectionOptionsCommand"); +var de_ModifyVpnTunnelCertificateCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpnTunnelCertificateResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpnTunnelCertificateCommand"); +var de_ModifyVpnTunnelOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpnTunnelOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpnTunnelOptionsCommand"); +var de_MonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_MonitorInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_MonitorInstancesCommand"); +var de_MoveAddressToVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_MoveAddressToVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_MoveAddressToVpcCommand"); +var de_MoveByoipCidrToIpamCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_MoveByoipCidrToIpamResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_MoveByoipCidrToIpamCommand"); +var de_ProvisionByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ProvisionByoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ProvisionByoipCidrCommand"); +var de_ProvisionIpamByoasnCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ProvisionIpamByoasnResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ProvisionIpamByoasnCommand"); +var de_ProvisionIpamPoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ProvisionIpamPoolCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ProvisionIpamPoolCidrCommand"); +var de_ProvisionPublicIpv4PoolCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ProvisionPublicIpv4PoolCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ProvisionPublicIpv4PoolCidrCommand"); +var de_PurchaseCapacityBlockCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_PurchaseCapacityBlockResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_PurchaseCapacityBlockCommand"); +var de_PurchaseHostReservationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_PurchaseHostReservationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_PurchaseHostReservationCommand"); +var de_PurchaseReservedInstancesOfferingCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_PurchaseReservedInstancesOfferingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_PurchaseReservedInstancesOfferingCommand"); +var de_PurchaseScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_PurchaseScheduledInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_PurchaseScheduledInstancesCommand"); +var de_RebootInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_RebootInstancesCommand"); +var de_RegisterImageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RegisterImageResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RegisterImageCommand"); +var de_RegisterInstanceEventNotificationAttributesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RegisterInstanceEventNotificationAttributesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RegisterInstanceEventNotificationAttributesCommand"); +var de_RegisterTransitGatewayMulticastGroupMembersCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RegisterTransitGatewayMulticastGroupMembersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RegisterTransitGatewayMulticastGroupMembersCommand"); +var de_RegisterTransitGatewayMulticastGroupSourcesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RegisterTransitGatewayMulticastGroupSourcesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RegisterTransitGatewayMulticastGroupSourcesCommand"); +var de_RejectTransitGatewayMulticastDomainAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectTransitGatewayMulticastDomainAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectTransitGatewayMulticastDomainAssociationsCommand"); +var de_RejectTransitGatewayPeeringAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectTransitGatewayPeeringAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectTransitGatewayPeeringAttachmentCommand"); +var de_RejectTransitGatewayVpcAttachmentCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectTransitGatewayVpcAttachmentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectTransitGatewayVpcAttachmentCommand"); +var de_RejectVpcEndpointConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectVpcEndpointConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectVpcEndpointConnectionsCommand"); +var de_RejectVpcPeeringConnectionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectVpcPeeringConnectionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectVpcPeeringConnectionCommand"); +var de_ReleaseAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ReleaseAddressCommand"); +var de_ReleaseHostsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReleaseHostsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReleaseHostsCommand"); +var de_ReleaseIpamPoolAllocationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReleaseIpamPoolAllocationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReleaseIpamPoolAllocationCommand"); +var de_ReplaceIamInstanceProfileAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceIamInstanceProfileAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceIamInstanceProfileAssociationCommand"); +var de_ReplaceNetworkAclAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceNetworkAclAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceNetworkAclAssociationCommand"); +var de_ReplaceNetworkAclEntryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ReplaceNetworkAclEntryCommand"); +var de_ReplaceRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ReplaceRouteCommand"); +var de_ReplaceRouteTableAssociationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceRouteTableAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceRouteTableAssociationCommand"); +var de_ReplaceTransitGatewayRouteCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceTransitGatewayRouteResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceTransitGatewayRouteCommand"); +var de_ReplaceVpnTunnelCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceVpnTunnelResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceVpnTunnelCommand"); +var de_ReportInstanceStatusCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ReportInstanceStatusCommand"); +var de_RequestSpotFleetCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RequestSpotFleetResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RequestSpotFleetCommand"); +var de_RequestSpotInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RequestSpotInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RequestSpotInstancesCommand"); +var de_ResetAddressAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ResetAddressAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ResetAddressAttributeCommand"); +var de_ResetEbsDefaultKmsKeyIdCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ResetEbsDefaultKmsKeyIdResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ResetEbsDefaultKmsKeyIdCommand"); +var de_ResetFpgaImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ResetFpgaImageAttributeResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ResetFpgaImageAttributeCommand"); +var de_ResetImageAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ResetImageAttributeCommand"); +var de_ResetInstanceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ResetInstanceAttributeCommand"); +var de_ResetNetworkInterfaceAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ResetNetworkInterfaceAttributeCommand"); +var de_ResetSnapshotAttributeCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_ResetSnapshotAttributeCommand"); +var de_RestoreAddressToClassicCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RestoreAddressToClassicResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RestoreAddressToClassicCommand"); +var de_RestoreImageFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RestoreImageFromRecycleBinResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RestoreImageFromRecycleBinCommand"); +var de_RestoreManagedPrefixListVersionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RestoreManagedPrefixListVersionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RestoreManagedPrefixListVersionCommand"); +var de_RestoreSnapshotFromRecycleBinCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RestoreSnapshotFromRecycleBinResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RestoreSnapshotFromRecycleBinCommand"); +var de_RestoreSnapshotTierCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RestoreSnapshotTierResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RestoreSnapshotTierCommand"); +var de_RevokeClientVpnIngressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RevokeClientVpnIngressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RevokeClientVpnIngressCommand"); +var de_RevokeSecurityGroupEgressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RevokeSecurityGroupEgressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RevokeSecurityGroupEgressCommand"); +var de_RevokeSecurityGroupIngressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RevokeSecurityGroupIngressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RevokeSecurityGroupIngressCommand"); +var de_RunInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_Reservation(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RunInstancesCommand"); +var de_RunScheduledInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RunScheduledInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RunScheduledInstancesCommand"); +var de_SearchLocalGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_SearchLocalGatewayRoutesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_SearchLocalGatewayRoutesCommand"); +var de_SearchTransitGatewayMulticastGroupsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_SearchTransitGatewayMulticastGroupsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_SearchTransitGatewayMulticastGroupsCommand"); +var de_SearchTransitGatewayRoutesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_SearchTransitGatewayRoutesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_SearchTransitGatewayRoutesCommand"); +var de_SendDiagnosticInterruptCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_SendDiagnosticInterruptCommand"); +var de_StartInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StartInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StartInstancesCommand"); +var de_StartNetworkInsightsAccessScopeAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StartNetworkInsightsAccessScopeAnalysisResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StartNetworkInsightsAccessScopeAnalysisCommand"); +var de_StartNetworkInsightsAnalysisCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StartNetworkInsightsAnalysisResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StartNetworkInsightsAnalysisCommand"); +var de_StartVpcEndpointServicePrivateDnsVerificationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StartVpcEndpointServicePrivateDnsVerificationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StartVpcEndpointServicePrivateDnsVerificationCommand"); +var de_StopInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StopInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StopInstancesCommand"); +var de_TerminateClientVpnConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_TerminateClientVpnConnectionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_TerminateClientVpnConnectionsCommand"); +var de_TerminateInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_TerminateInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_TerminateInstancesCommand"); +var de_UnassignIpv6AddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UnassignIpv6AddressesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UnassignIpv6AddressesCommand"); +var de_UnassignPrivateIpAddressesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + await (0, import_smithy_client.collectBody)(output.body, context); + const response = { + $metadata: deserializeMetadata(output) + }; + return response; +}, "de_UnassignPrivateIpAddressesCommand"); +var de_UnassignPrivateNatGatewayAddressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UnassignPrivateNatGatewayAddressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UnassignPrivateNatGatewayAddressCommand"); +var de_UnlockSnapshotCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UnlockSnapshotResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UnlockSnapshotCommand"); +var de_UnmonitorInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UnmonitorInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UnmonitorInstancesCommand"); +var de_UpdateSecurityGroupRuleDescriptionsEgressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UpdateSecurityGroupRuleDescriptionsEgressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UpdateSecurityGroupRuleDescriptionsEgressCommand"); +var de_UpdateSecurityGroupRuleDescriptionsIngressCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_UpdateSecurityGroupRuleDescriptionsIngressResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_UpdateSecurityGroupRuleDescriptionsIngressCommand"); +var de_WithdrawByoipCidrCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_WithdrawByoipCidrResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_WithdrawByoipCidrCommand"); +var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { + const parsedOutput = { + ...output, + body: await (0, import_core2.parseXmlErrorBody)(output.body, context) + }; + const errorCode = loadEc2ErrorCode(output, parsedOutput.body); + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Errors.Error, + errorCode + }); +}, "de_CommandError"); +var se_AcceleratorCount = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_AcceleratorCount"); +var se_AcceleratorCountRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_AcceleratorCountRequest"); +var se_AcceleratorManufacturerSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AcceleratorManufacturerSet"); +var se_AcceleratorNameSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AcceleratorNameSet"); +var se_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_AcceleratorTotalMemoryMiB"); +var se_AcceleratorTotalMemoryMiBRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_AcceleratorTotalMemoryMiBRequest"); +var se_AcceleratorTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AcceleratorTypeSet"); +var se_AcceptAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Ad] != null) { + entries[_Ad] = input[_Ad]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AcceptAddressTransferRequest"); +var se_AcceptReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RII] != null) { + const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); + if (((_a2 = input[_RII]) == null ? void 0 : _a2.length) === 0) { + entries.ReservedInstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TC] != null) { + const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context); + if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { + entries.TargetConfiguration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AcceptReservedInstancesExchangeQuoteRequest"); +var se_AcceptTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_SIu] != null) { + const memberEntries = se_ValueStringList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AcceptTransitGatewayMulticastDomainAssociationsRequest"); +var se_AcceptTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AcceptTransitGatewayPeeringAttachmentRequest"); +var se_AcceptTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AcceptTransitGatewayVpcAttachmentRequest"); +var se_AcceptVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { + entries.VpcEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AcceptVpcEndpointConnectionsRequest"); +var se_AcceptVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + return entries; +}, "se_AcceptVpcPeeringConnectionRequest"); +var se_AccessScopePathListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_AccessScopePathRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_AccessScopePathListRequest"); +var se_AccessScopePathRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_S] != null) { + const memberEntries = se_PathStatementRequest(input[_S], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Source.${key}`; + entries[loc] = value; + }); + } + if (input[_D] != null) { + const memberEntries = se_PathStatementRequest(input[_D], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Destination.${key}`; + entries[loc] = value; + }); + } + if (input[_TR] != null) { + const memberEntries = se_ThroughResourcesStatementRequestList(input[_TR], context); + if (((_a2 = input[_TR]) == null ? void 0 : _a2.length) === 0) { + entries.ThroughResource = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ThroughResource.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AccessScopePathRequest"); +var se_AccountAttributeNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`AttributeName.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AccountAttributeNameStringList"); +var se_AddIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RN] != null) { + entries[_RN] = input[_RN]; + } + return entries; +}, "se_AddIpamOperatingRegion"); +var se_AddIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_AddIpamOperatingRegion(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_AddIpamOperatingRegionSet"); +var se_AddPrefixListEntries = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_AddPrefixListEntry(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_AddPrefixListEntries"); +var se_AddPrefixListEntry = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_AddPrefixListEntry"); +var se_AdvertiseByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_As] != null) { + entries[_As] = input[_As]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + return entries; +}, "se_AdvertiseByoipCidrRequest"); +var se_AllocateAddressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Do] != null) { + entries[_Do] = input[_Do]; + } + if (input[_Ad] != null) { + entries[_Ad] = input[_Ad]; + } + if (input[_PIP] != null) { + entries[_PIP] = input[_PIP]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + if (input[_COIP] != null) { + entries[_COIP] = input[_COIP]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AllocateAddressRequest"); +var se_AllocateHostsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AP] != null) { + entries[_AP] = input[_AP]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + if (input[_Q] != null) { + entries[_Q] = input[_Q]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HR] != null) { + entries[_HR] = input[_HR]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_HM] != null) { + entries[_HM] = input[_HM]; + } + if (input[_AI] != null) { + const memberEntries = se_AssetIdList(input[_AI], context); + if (((_b2 = input[_AI]) == null ? void 0 : _b2.length) === 0) { + entries.AssetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AllocateHostsRequest"); +var se_AllocateIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_NL] != null) { + entries[_NL] = input[_NL]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_PNC] != null) { + entries[_PNC] = input[_PNC]; + } + if (input[_AC] != null) { + const memberEntries = se_IpamPoolAllocationAllowedCidrs(input[_AC], context); + if (((_a2 = input[_AC]) == null ? void 0 : _a2.length) === 0) { + entries.AllowedCidr = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllowedCidr.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DC] != null) { + const memberEntries = se_IpamPoolAllocationDisallowedCidrs(input[_DC], context); + if (((_b2 = input[_DC]) == null ? void 0 : _b2.length) === 0) { + entries.DisallowedCidr = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DisallowedCidr.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AllocateIpamPoolCidrRequest"); +var se_AllocationIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`AllocationId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AllocationIdList"); +var se_AllocationIds = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AllocationIds"); +var se_AllowedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AllowedInstanceTypeSet"); +var se_ApplySecurityGroupsToClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_SGI] != null) { + const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); + if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ApplySecurityGroupsToClientVpnTargetNetworkRequest"); +var se_ArchitectureTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ArchitectureTypeSet"); +var se_ArnList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ArnList"); +var se_AsnAuthorizationContext = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Me] != null) { + entries[_Me] = input[_Me]; + } + if (input[_Si] != null) { + entries[_Si] = input[_Si]; + } + return entries; +}, "se_AsnAuthorizationContext"); +var se_AssetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AssetIdList"); +var se_AssignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_Ipv6AddressList(input[_IA], context); + if (((_a2 = input[_IA]) == null ? void 0 : _a2.length) === 0) { + entries.Ipv6Addresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPC] != null) { + entries[_IPC] = input[_IPC]; + } + if (input[_IP] != null) { + const memberEntries = se_IpPrefixList(input[_IP], context); + if (((_b2 = input[_IP]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + return entries; +}, "se_AssignIpv6AddressesRequest"); +var se_AssignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AR] != null) { + entries[_AR] = input[_AR]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); + if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { + entries.PrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + if (input[_IPp] != null) { + const memberEntries = se_IpPrefixList(input[_IPp], context); + if (((_b2 = input[_IPp]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv4Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPCp] != null) { + entries[_IPCp] = input[_IPCp]; + } + return entries; +}, "se_AssignPrivateIpAddressesRequest"); +var se_AssignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_PIA] != null) { + const memberEntries = se_IpList(input[_PIA], context); + if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { + entries.PrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAC] != null) { + entries[_PIAC] = input[_PIAC]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssignPrivateNatGatewayAddressRequest"); +var se_AssociateAddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + if (input[_ARl] != null) { + entries[_ARl] = input[_ARl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + return entries; +}, "se_AssociateAddressRequest"); +var se_AssociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateClientVpnTargetNetworkRequest"); +var se_AssociateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOI] != null) { + entries[_DOI] = input[_DOI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateDhcpOptionsRequest"); +var se_AssociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CA] != null) { + entries[_CA] = input[_CA]; + } + if (input[_RAo] != null) { + entries[_RAo] = input[_RAo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateEnclaveCertificateIamRoleRequest"); +var se_AssociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIP] != null) { + const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + return entries; +}, "se_AssociateIamInstanceProfileRequest"); +var se_AssociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IEWI] != null) { + entries[_IEWI] = input[_IEWI]; + } + if (input[_AT] != null) { + const memberEntries = se_InstanceEventWindowAssociationRequest(input[_AT], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AssociateInstanceEventWindowRequest"); +var se_AssociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_As] != null) { + entries[_As] = input[_As]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + return entries; +}, "se_AssociateIpamByoasnRequest"); +var se_AssociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_AssociateIpamResourceDiscoveryRequest"); +var se_AssociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { + entries.AllocationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIA] != null) { + const memberEntries = se_IpList(input[_PIA], context); + if (((_b2 = input[_PIA]) == null ? void 0 : _b2.length) === 0) { + entries.PrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateNatGatewayAddressRequest"); +var se_AssociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + return entries; +}, "se_AssociateRouteTableRequest"); +var se_AssociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_IIPI] != null) { + entries[_IIPI] = input[_IIPI]; + } + if (input[_INL] != null) { + entries[_INL] = input[_INL]; + } + return entries; +}, "se_AssociateSubnetCidrBlockRequest"); +var se_AssociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_SIu] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateTransitGatewayMulticastDomainRequest"); +var se_AssociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateTransitGatewayPolicyTableRequest"); +var se_AssociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateTransitGatewayRouteTableRequest"); +var se_AssociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_BII] != null) { + entries[_BII] = input[_BII]; + } + if (input[_TII] != null) { + entries[_TII] = input[_TII]; + } + if (input[_VIl] != null) { + entries[_VIl] = input[_VIl]; + } + if (input[_GK] != null) { + entries[_GK] = input[_GK]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateTrunkInterfaceRequest"); +var se_AssociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_APICB] != null) { + entries[_APICB] = input[_APICB]; + } + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_ICBNBG] != null) { + entries[_ICBNBG] = input[_ICBNBG]; + } + if (input[_IPpv] != null) { + entries[_IPpv] = input[_IPpv]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_IIPIp] != null) { + entries[_IIPIp] = input[_IIPIp]; + } + if (input[_INLp] != null) { + entries[_INLp] = input[_INLp]; + } + if (input[_IIPI] != null) { + entries[_IIPI] = input[_IIPI]; + } + if (input[_INL] != null) { + entries[_INL] = input[_INL]; + } + return entries; +}, "se_AssociateVpcCidrBlockRequest"); +var se_AssociationIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`AssociationId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AssociationIdList"); +var se_AthenaIntegration = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IRSDA] != null) { + entries[_IRSDA] = input[_IRSDA]; + } + if (input[_PLF] != null) { + entries[_PLF] = input[_PLF]; + } + if (input[_PSD] != null) { + entries[_PSD] = input[_PSD].toISOString().split(".")[0] + "Z"; + } + if (input[_PED] != null) { + entries[_PED] = input[_PED].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_AthenaIntegration"); +var se_AthenaIntegrationsSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_AthenaIntegration(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_AthenaIntegrationsSet"); +var se_AttachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_G] != null) { + const memberEntries = se_GroupIdStringList(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_AttachClassicLinkVpcRequest"); +var se_AttachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IGI] != null) { + entries[_IGI] = input[_IGI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_AttachInternetGatewayRequest"); +var se_AttachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DIev] != null) { + entries[_DIev] = input[_DIev]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_NCI] != null) { + entries[_NCI] = input[_NCI]; + } + if (input[_ESS] != null) { + const memberEntries = se_EnaSrdSpecification(input[_ESS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AttachNetworkInterfaceRequest"); +var se_AttachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_VATPI] != null) { + entries[_VATPI] = input[_VATPI]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AttachVerifiedAccessTrustProviderRequest"); +var se_AttachVolumeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Dev] != null) { + entries[_Dev] = input[_Dev]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AttachVolumeRequest"); +var se_AttachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_VGI] != null) { + entries[_VGI] = input[_VGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AttachVpnGatewayRequest"); +var se_AttributeBooleanValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_AttributeBooleanValue"); +var se_AttributeValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_AttributeValue"); +var se_AuthorizeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_TNC] != null) { + entries[_TNC] = input[_TNC]; + } + if (input[_AGI] != null) { + entries[_AGI] = input[_AGI]; + } + if (input[_AAG] != null) { + entries[_AAG] = input[_AAG]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AuthorizeClientVpnIngressRequest"); +var se_AuthorizeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + return entries; +}, "se_AuthorizeSecurityGroupEgressRequest"); +var se_AuthorizeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AuthorizeSecurityGroupIngressRequest"); +var se_AvailabilityZoneStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`AvailabilityZone.${counter}`] = entry; + counter++; + } + return entries; +}, "se_AvailabilityZoneStringList"); +var se_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_BaselineEbsBandwidthMbps"); +var se_BaselineEbsBandwidthMbpsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_BaselineEbsBandwidthMbpsRequest"); +var se_BillingProductList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_BillingProductList"); +var se_BlobAttributeValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = context.base64Encoder(input[_Va]); + } + return entries; +}, "se_BlobAttributeValue"); +var se_BlockDeviceMapping = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_VN] != null) { + entries[_VN] = input[_VN]; + } + if (input[_E] != null) { + const memberEntries = se_EbsBlockDevice(input[_E], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ebs.${key}`; + entries[loc] = value; + }); + } + if (input[_ND] != null) { + entries[_ND] = input[_ND]; + } + return entries; +}, "se_BlockDeviceMapping"); +var se_BlockDeviceMappingList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_BlockDeviceMapping(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_BlockDeviceMappingList"); +var se_BlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_BlockDeviceMapping(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`BlockDeviceMapping.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_BlockDeviceMappingRequestList"); +var se_BundleIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`BundleId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_BundleIdStringList"); +var se_BundleInstanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_St] != null) { + const memberEntries = se_Storage(input[_St], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Storage.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_BundleInstanceRequest"); +var se_CancelBundleTaskRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_BIu] != null) { + entries[_BIu] = input[_BIu]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CancelBundleTaskRequest"); +var se_CancelCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRFI] != null) { + const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); + if (((_a2 = input[_CRFI]) == null ? void 0 : _a2.length) === 0) { + entries.CapacityReservationFleetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CancelCapacityReservationFleetsRequest"); +var se_CancelCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CancelCapacityReservationRequest"); +var se_CancelConversionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CTI] != null) { + entries[_CTI] = input[_CTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RM] != null) { + entries[_RM] = input[_RM]; + } + return entries; +}, "se_CancelConversionRequest"); +var se_CancelExportTaskRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ETI] != null) { + entries[_ETI] = input[_ETI]; + } + return entries; +}, "se_CancelExportTaskRequest"); +var se_CancelImageLaunchPermissionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CancelImageLaunchPermissionRequest"); +var se_CancelImportTaskRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRa] != null) { + entries[_CRa] = input[_CRa]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITI] != null) { + entries[_ITI] = input[_ITI]; + } + return entries; +}, "se_CancelImportTaskRequest"); +var se_CancelReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RILI] != null) { + entries[_RILI] = input[_RILI]; + } + return entries; +}, "se_CancelReservedInstancesListingRequest"); +var se_CancelSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFRI] != null) { + const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); + if (((_a2 = input[_SFRI]) == null ? void 0 : _a2.length) === 0) { + entries.SpotFleetRequestId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotFleetRequestId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TI] != null) { + entries[_TI] = input[_TI]; + } + return entries; +}, "se_CancelSpotFleetRequestsRequest"); +var se_CancelSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIRI] != null) { + const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); + if (((_a2 = input[_SIRI]) == null ? void 0 : _a2.length) === 0) { + entries.SpotInstanceRequestId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CancelSpotInstanceRequestsRequest"); +var se_CapacityReservationFleetIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CapacityReservationFleetIdSet"); +var se_CapacityReservationIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CapacityReservationIdSet"); +var se_CapacityReservationOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_USs] != null) { + entries[_USs] = input[_USs]; + } + return entries; +}, "se_CapacityReservationOptionsRequest"); +var se_CapacityReservationSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRP] != null) { + entries[_CRP] = input[_CRP]; + } + if (input[_CRTa] != null) { + const memberEntries = se_CapacityReservationTarget(input[_CRTa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CapacityReservationSpecification"); +var se_CapacityReservationTarget = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_CRRGA] != null) { + entries[_CRRGA] = input[_CRRGA]; + } + return entries; +}, "se_CapacityReservationTarget"); +var se_CarrierGatewayIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CarrierGatewayIdSet"); +var se_CertificateAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRCCA] != null) { + entries[_CRCCA] = input[_CRCCA]; + } + return entries; +}, "se_CertificateAuthenticationRequest"); +var se_CidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Me] != null) { + entries[_Me] = input[_Me]; + } + if (input[_Si] != null) { + entries[_Si] = input[_Si]; + } + return entries; +}, "se_CidrAuthorizationContext"); +var se_ClassicLoadBalancer = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_N] != null) { + entries[_N] = input[_N]; + } + return entries; +}, "se_ClassicLoadBalancer"); +var se_ClassicLoadBalancers = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ClassicLoadBalancer(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ClassicLoadBalancers"); +var se_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CLB] != null) { + const memberEntries = se_ClassicLoadBalancers(input[_CLB], context); + if (((_a2 = input[_CLB]) == null ? void 0 : _a2.length) === 0) { + entries.ClassicLoadBalancers = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClassicLoadBalancers.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ClassicLoadBalancersConfig"); +var se_ClientConnectOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_LFA] != null) { + entries[_LFA] = input[_LFA]; + } + return entries; +}, "se_ClientConnectOptions"); +var se_ClientData = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Co] != null) { + entries[_Co] = input[_Co]; + } + if (input[_UE] != null) { + entries[_UE] = input[_UE].toISOString().split(".")[0] + "Z"; + } + if (input[_USp] != null) { + entries[_USp] = (0, import_smithy_client.serializeFloat)(input[_USp]); + } + if (input[_USpl] != null) { + entries[_USpl] = input[_USpl].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_ClientData"); +var se_ClientLoginBannerOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_BT] != null) { + entries[_BT] = input[_BT]; + } + return entries; +}, "se_ClientLoginBannerOptions"); +var se_ClientVpnAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_AD] != null) { + const memberEntries = se_DirectoryServiceAuthenticationRequest(input[_AD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ActiveDirectory.${key}`; + entries[loc] = value; + }); + } + if (input[_MA] != null) { + const memberEntries = se_CertificateAuthenticationRequest(input[_MA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MutualAuthentication.${key}`; + entries[loc] = value; + }); + } + if (input[_FA] != null) { + const memberEntries = se_FederatedAuthenticationRequest(input[_FA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FederatedAuthentication.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ClientVpnAuthenticationRequest"); +var se_ClientVpnAuthenticationRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ClientVpnAuthenticationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ClientVpnAuthenticationRequestList"); +var se_ClientVpnEndpointIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ClientVpnEndpointIdList"); +var se_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ClientVpnSecurityGroupIdSet"); +var se_CloudWatchLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LE] != null) { + entries[_LE] = input[_LE]; + } + if (input[_LGA] != null) { + entries[_LGA] = input[_LGA]; + } + if (input[_LOF] != null) { + entries[_LOF] = input[_LOF]; + } + return entries; +}, "se_CloudWatchLogOptionsSpecification"); +var se_CoipPoolIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CoipPoolIdSet"); +var se_ConfirmProductInstanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_PC] != null) { + entries[_PC] = input[_PC]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ConfirmProductInstanceRequest"); +var se_ConnectionLogOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_CLG] != null) { + entries[_CLG] = input[_CLG]; + } + if (input[_CLS] != null) { + entries[_CLS] = input[_CLS]; + } + return entries; +}, "se_ConnectionLogOptions"); +var se_ConnectionNotificationIdsList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ConnectionNotificationIdsList"); +var se_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TET] != null) { + entries[_TET] = input[_TET]; + } + if (input[_UST] != null) { + entries[_UST] = input[_UST]; + } + if (input[_UT] != null) { + entries[_UT] = input[_UT]; + } + return entries; +}, "se_ConnectionTrackingSpecificationRequest"); +var se_ConversionIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ConversionIdStringList"); +var se_CopyFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFII] != null) { + entries[_SFII] = input[_SFII]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_SR] != null) { + entries[_SR] = input[_SR]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CopyFpgaImageRequest"); +var se_CopyImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_SII] != null) { + entries[_SII] = input[_SII]; + } + if (input[_SR] != null) { + entries[_SR] = input[_SR]; + } + if (input[_DOA] != null) { + entries[_DOA] = input[_DOA]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CITo] != null) { + entries[_CITo] = input[_CITo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CopyImageRequest"); +var se_CopySnapshotRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DOA] != null) { + entries[_DOA] = input[_DOA]; + } + if (input[_DRes] != null) { + entries[_DRes] = input[_DRes]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_PU] != null) { + entries[_PU] = input[_PU]; + } + if (input[_SR] != null) { + entries[_SR] = input[_SR]; + } + if (input[_SSI] != null) { + entries[_SSI] = input[_SSI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CopySnapshotRequest"); +var se_CpuManufacturerSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CpuManufacturerSet"); +var se_CpuOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CC] != null) { + entries[_CC] = input[_CC]; + } + if (input[_TPC] != null) { + entries[_TPC] = input[_TPC]; + } + if (input[_ASS] != null) { + entries[_ASS] = input[_ASS]; + } + return entries; +}, "se_CpuOptionsRequest"); +var se_CreateCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AS] != null) { + entries[_AS] = input[_AS]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_ITS] != null) { + const memberEntries = se_ReservationFleetInstanceSpecificationList(input[_ITS], context); + if (((_a2 = input[_ITS]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceTypeSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTypeSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_TTC] != null) { + entries[_TTC] = input[_TTC]; + } + if (input[_ED] != null) { + entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; + } + if (input[_IMC] != null) { + entries[_IMC] = input[_IMC]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateCapacityReservationFleetRequest"); +var se_CreateCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IPn] != null) { + entries[_IPn] = input[_IPn]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_AZI] != null) { + entries[_AZI] = input[_AZI]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_ES] != null) { + entries[_ES] = input[_ES]; + } + if (input[_ED] != null) { + entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; + } + if (input[_EDT] != null) { + entries[_EDT] = input[_EDT]; + } + if (input[_IMC] != null) { + entries[_IMC] = input[_IMC]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_PGA] != null) { + entries[_PGA] = input[_PGA]; + } + return entries; +}, "se_CreateCapacityReservationRequest"); +var se_CreateCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateCarrierGatewayRequest"); +var se_CreateClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_CCB] != null) { + entries[_CCB] = input[_CCB]; + } + if (input[_SCA] != null) { + entries[_SCA] = input[_SCA]; + } + if (input[_AO] != null) { + const memberEntries = se_ClientVpnAuthenticationRequestList(input[_AO], context); + if (((_a2 = input[_AO]) == null ? void 0 : _a2.length) === 0) { + entries.Authentication = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Authentication.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CLO] != null) { + const memberEntries = se_ConnectionLogOptions(input[_CLO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionLogOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DSn] != null) { + const memberEntries = se_ValueStringList(input[_DSn], context); + if (((_b2 = input[_DSn]) == null ? void 0 : _b2.length) === 0) { + entries.DnsServers = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DnsServers.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TPr] != null) { + entries[_TPr] = input[_TPr]; + } + if (input[_VP] != null) { + entries[_VP] = input[_VP]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_ST] != null) { + entries[_ST] = input[_ST]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGI] != null) { + const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); + if (((_d2 = input[_SGI]) == null ? void 0 : _d2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_SSP] != null) { + entries[_SSP] = input[_SSP]; + } + if (input[_CCO] != null) { + const memberEntries = se_ClientConnectOptions(input[_CCO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientConnectOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_STH] != null) { + entries[_STH] = input[_STH]; + } + if (input[_CLBO] != null) { + const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientLoginBannerOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateClientVpnEndpointRequest"); +var se_CreateClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_TVSI] != null) { + entries[_TVSI] = input[_TVSI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateClientVpnRouteRequest"); +var se_CreateCoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_CPIo] != null) { + entries[_CPIo] = input[_CPIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateCoipCidrRequest"); +var se_CreateCoipPoolRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateCoipPoolRequest"); +var se_CreateCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_BA] != null) { + entries[_BA] = input[_BA]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + if (input[_CA] != null) { + entries[_CA] = input[_CA]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_IAp] != null) { + entries[_IAp] = input[_IAp]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateCustomerGatewayRequest"); +var se_CreateDefaultSubnetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IN] != null) { + entries[_IN] = input[_IN]; + } + return entries; +}, "se_CreateDefaultSubnetRequest"); +var se_CreateDefaultVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateDefaultVpcRequest"); +var se_CreateDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DCh] != null) { + const memberEntries = se_NewDhcpConfigurationList(input[_DCh], context); + if (((_a2 = input[_DCh]) == null ? void 0 : _a2.length) === 0) { + entries.DhcpConfiguration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DhcpConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateDhcpOptionsRequest"); +var se_CreateEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateEgressOnlyInternetGatewayRequest"); +var se_CreateFleetRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_SO] != null) { + const memberEntries = se_SpotOptionsRequest(input[_SO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_ODO] != null) { + const memberEntries = se_OnDemandOptionsRequest(input[_ODO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OnDemandOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_ECTP] != null) { + entries[_ECTP] = input[_ECTP]; + } + if (input[_LTC] != null) { + const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context); + if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateConfigs = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TCS] != null) { + const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetCapacitySpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_TIWE] != null) { + entries[_TIWE] = input[_TIWE]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_VF] != null) { + entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; + } + if (input[_VU] != null) { + entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; + } + if (input[_RUI] != null) { + entries[_RUI] = input[_RUI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Con] != null) { + entries[_Con] = input[_Con]; + } + return entries; +}, "se_CreateFleetRequest"); +var se_CreateFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DLPA] != null) { + entries[_DLPA] = input[_DLPA]; + } + if (input[_DCAR] != null) { + entries[_DCAR] = input[_DCAR]; + } + if (input[_LGN] != null) { + entries[_LGN] = input[_LGN]; + } + if (input[_RIes] != null) { + const memberEntries = se_FlowLogResourceIds(input[_RIes], context); + if (((_a2 = input[_RIes]) == null ? void 0 : _a2.length) === 0) { + entries.ResourceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_TT] != null) { + entries[_TT] = input[_TT]; + } + if (input[_LDT] != null) { + entries[_LDT] = input[_LDT]; + } + if (input[_LD] != null) { + entries[_LD] = input[_LD]; + } + if (input[_LF] != null) { + entries[_LF] = input[_LF]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MAI] != null) { + entries[_MAI] = input[_MAI]; + } + if (input[_DO] != null) { + const memberEntries = se_DestinationOptionsRequest(input[_DO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateFlowLogsRequest"); +var se_CreateFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ISL] != null) { + const memberEntries = se_StorageLocation(input[_ISL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InputStorageLocation.${key}`; + entries[loc] = value; + }); + } + if (input[_LSL] != null) { + const memberEntries = se_StorageLocation(input[_LSL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LogsStorageLocation.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateFpgaImageRequest"); +var se_CreateImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_NR] != null) { + entries[_NR] = input[_NR]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateImageRequest"); +var se_CreateInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_SGI] != null) { + const memberEntries = se_SecurityGroupIdStringListRequest(input[_SGI], context); + if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PCI] != null) { + entries[_PCI] = input[_PCI]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateInstanceConnectEndpointRequest"); +var se_CreateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_TRi] != null) { + const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context); + if (((_a2 = input[_TRi]) == null ? void 0 : _a2.length) === 0) { + entries.TimeRange = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CE] != null) { + entries[_CE] = input[_CE]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateInstanceEventWindowRequest"); +var se_CreateInstanceExportTaskRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_ETST] != null) { + const memberEntries = se_ExportToS3TaskSpecification(input[_ETST], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExportToS3.${key}`; + entries[loc] = value; + }); + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_TE] != null) { + entries[_TE] = input[_TE]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateInstanceExportTaskRequest"); +var se_CreateInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateInternetGatewayRequest"); +var se_CreateIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ISI] != null) { + entries[_ISI] = input[_ISI]; + } + if (input[_L] != null) { + entries[_L] = input[_L]; + } + if (input[_SIPI] != null) { + entries[_SIPI] = input[_SIPI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_AF] != null) { + entries[_AF] = input[_AF]; + } + if (input[_AIu] != null) { + entries[_AIu] = input[_AIu]; + } + if (input[_PA] != null) { + entries[_PA] = input[_PA]; + } + if (input[_AMNL] != null) { + entries[_AMNL] = input[_AMNL]; + } + if (input[_AMNLl] != null) { + entries[_AMNLl] = input[_AMNLl]; + } + if (input[_ADNL] != null) { + entries[_ADNL] = input[_ADNL]; + } + if (input[_ARTl] != null) { + const memberEntries = se_RequestIpamResourceTagList(input[_ARTl], context); + if (((_a2 = input[_ARTl]) == null ? void 0 : _a2.length) === 0) { + entries.AllocationResourceTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_ASw] != null) { + entries[_ASw] = input[_ASw]; + } + if (input[_PIS] != null) { + entries[_PIS] = input[_PIS]; + } + if (input[_SRo] != null) { + const memberEntries = se_IpamPoolSourceResourceRequest(input[_SRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceResource.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateIpamPoolRequest"); +var se_CreateIpamRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_OR] != null) { + const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context); + if (((_a2 = input[_OR]) == null ? void 0 : _a2.length) === 0) { + entries.OperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_Ti] != null) { + entries[_Ti] = input[_Ti]; + } + return entries; +}, "se_CreateIpamRequest"); +var se_CreateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_OR] != null) { + const memberEntries = se_AddIpamOperatingRegionSet(input[_OR], context); + if (((_a2 = input[_OR]) == null ? void 0 : _a2.length) === 0) { + entries.OperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateIpamResourceDiscoveryRequest"); +var se_CreateIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateIpamScopeRequest"); +var se_CreateKeyPairRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_KT] != null) { + entries[_KT] = input[_KT]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_KF] != null) { + entries[_KF] = input[_KF]; + } + return entries; +}, "se_CreateKeyPairRequest"); +var se_CreateLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_VD] != null) { + entries[_VD] = input[_VD]; + } + if (input[_LTD] != null) { + const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateData.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateLaunchTemplateRequest"); +var se_CreateLaunchTemplateVersionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_SV] != null) { + entries[_SV] = input[_SV]; + } + if (input[_VD] != null) { + entries[_VD] = input[_VD]; + } + if (input[_LTD] != null) { + const memberEntries = se_RequestLaunchTemplateData(input[_LTD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateData.${key}`; + entries[loc] = value; + }); + } + if (input[_RAe] != null) { + entries[_RAe] = input[_RAe]; + } + return entries; +}, "se_CreateLaunchTemplateVersionRequest"); +var se_CreateLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_LGVIGI] != null) { + entries[_LGVIGI] = input[_LGVIGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + return entries; +}, "se_CreateLocalGatewayRouteRequest"); +var se_CreateLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LGI] != null) { + entries[_LGI] = input[_LGI]; + } + if (input[_Mo] != null) { + entries[_Mo] = input[_Mo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateLocalGatewayRouteTableRequest"); +var se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_LGVIGI] != null) { + entries[_LGVIGI] = input[_LGVIGI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"); +var se_CreateLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateLocalGatewayRouteTableVpcAssociationRequest"); +var se_CreateManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLN] != null) { + entries[_PLN] = input[_PLN]; + } + if (input[_Ent] != null) { + const memberEntries = se_AddPrefixListEntries(input[_Ent], context); + if (((_a2 = input[_Ent]) == null ? void 0 : _a2.length) === 0) { + entries.Entry = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Entry.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ME] != null) { + entries[_ME] = input[_ME]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AF] != null) { + entries[_AF] = input[_AF]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateManagedPrefixListRequest"); +var se_CreateNatGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTo] != null) { + entries[_CTo] = input[_CTo]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_SAI] != null) { + const memberEntries = se_AllocationIdList(input[_SAI], context); + if (((_b2 = input[_SAI]) == null ? void 0 : _b2.length) === 0) { + entries.SecondaryAllocationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecondaryAllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIA] != null) { + const memberEntries = se_IpList(input[_SPIA], context); + if (((_c2 = input[_SPIA]) == null ? void 0 : _c2.length) === 0) { + entries.SecondaryPrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecondaryPrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + return entries; +}, "se_CreateNatGatewayRequest"); +var se_CreateNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + if (input[_ITC] != null) { + const memberEntries = se_IcmpTypeCode(input[_ITC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Icmp.${key}`; + entries[loc] = value; + }); + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_PR] != null) { + const memberEntries = se_PortRange(input[_PR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + return entries; +}, "se_CreateNetworkAclEntryRequest"); +var se_CreateNetworkAclRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateNetworkAclRequest"); +var se_CreateNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_MP] != null) { + const memberEntries = se_AccessScopePathListRequest(input[_MP], context); + if (((_a2 = input[_MP]) == null ? void 0 : _a2.length) === 0) { + entries.MatchPath = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MatchPath.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EP] != null) { + const memberEntries = se_AccessScopePathListRequest(input[_EP], context); + if (((_b2 = input[_EP]) == null ? void 0 : _b2.length) === 0) { + entries.ExcludePath = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExcludePath.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateNetworkInsightsAccessScopeRequest"); +var se_CreateNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_SIo] != null) { + entries[_SIo] = input[_SIo]; + } + if (input[_DIest] != null) { + entries[_DIest] = input[_DIest]; + } + if (input[_S] != null) { + entries[_S] = input[_S]; + } + if (input[_D] != null) { + entries[_D] = input[_D]; + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DP] != null) { + entries[_DP] = input[_DP]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_FAS] != null) { + const memberEntries = se_PathRequestFilter(input[_FAS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FilterAtSource.${key}`; + entries[loc] = value; + }); + } + if (input[_FAD] != null) { + const memberEntries = se_PathRequestFilter(input[_FAD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FilterAtDestination.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateNetworkInsightsPathRequest"); +var se_CreateNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_AAI] != null) { + entries[_AAI] = input[_AAI]; + } + if (input[_ASw] != null) { + entries[_ASw] = input[_ASw]; + } + if (input[_Pe] != null) { + entries[_Pe] = input[_Pe]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateNetworkInterfacePermissionRequest"); +var se_CreateNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); + if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Addresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); + if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { + entries.PrivateIpAddresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + if (input[_IPp] != null) { + const memberEntries = se_Ipv4PrefixList(input[_IPp], context); + if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { + entries.Ipv4Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPCp] != null) { + entries[_IPCp] = input[_IPCp]; + } + if (input[_IP] != null) { + const memberEntries = se_Ipv6PrefixList(input[_IP], context); + if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { + entries.Ipv6Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPC] != null) { + entries[_IPC] = input[_IPC]; + } + if (input[_ITn] != null) { + entries[_ITn] = input[_ITn]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_f2 = input[_TS]) == null ? void 0 : _f2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_EPI] != null) { + entries[_EPI] = input[_EPI]; + } + if (input[_CTS] != null) { + const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionTrackingSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateNetworkInterfaceRequest"); +var se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_Str] != null) { + entries[_Str] = input[_Str]; + } + if (input[_PCa] != null) { + entries[_PCa] = input[_PCa]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SL] != null) { + entries[_SL] = input[_SL]; + } + return entries; +}, "se_CreatePlacementGroupRequest"); +var se_CreatePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreatePublicIpv4PoolRequest"); +var se_CreateReplaceRootVolumeTaskRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRRV] != null) { + entries[_DRRV] = input[_DRRV]; + } + return entries; +}, "se_CreateReplaceRootVolumeTaskRequest"); +var se_CreateReservedInstancesListingRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_PS] != null) { + const memberEntries = se_PriceScheduleSpecificationList(input[_PS], context); + if (((_a2 = input[_PS]) == null ? void 0 : _a2.length) === 0) { + entries.PriceSchedules = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PriceSchedules.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RIIe] != null) { + entries[_RIIe] = input[_RIIe]; + } + return entries; +}, "se_CreateReservedInstancesListingRequest"); +var se_CreateRestoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_OK] != null) { + entries[_OK] = input[_OK]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateRestoreImageTaskRequest"); +var se_CreateRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + if (input[_EOIGI] != null) { + entries[_EOIGI] = input[_EOIGI]; + } + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_LGI] != null) { + entries[_LGI] = input[_LGI]; + } + if (input[_CGI] != null) { + entries[_CGI] = input[_CGI]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + if (input[_CNAo] != null) { + entries[_CNAo] = input[_CNAo]; + } + return entries; +}, "se_CreateRouteRequest"); +var se_CreateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateRouteTableRequest"); +var se_CreateSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_GD] = input[_De]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateSecurityGroupRequest"); +var se_CreateSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateSnapshotRequest"); +var se_CreateSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_ISn] != null) { + const memberEntries = se_InstanceSpecification(input[_ISn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTFS] != null) { + entries[_CTFS] = input[_CTFS]; + } + return entries; +}, "se_CreateSnapshotsRequest"); +var se_CreateSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Pr] != null) { + entries[_Pr] = input[_Pr]; + } + return entries; +}, "se_CreateSpotDatafeedSubscriptionRequest"); +var se_CreateStoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_SOT] != null) { + const memberEntries = se_S3ObjectTagList(input[_SOT], context); + if (((_a2 = input[_SOT]) == null ? void 0 : _a2.length) === 0) { + entries.S3ObjectTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `S3ObjectTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateStoreImageTaskRequest"); +var se_CreateSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_RTe] != null) { + entries[_RTe] = input[_RTe]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateSubnetCidrReservationRequest"); +var se_CreateSubnetRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_AZI] != null) { + entries[_AZI] = input[_AZI]; + } + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IN] != null) { + entries[_IN] = input[_IN]; + } + if (input[_IIPIp] != null) { + entries[_IIPIp] = input[_IIPIp]; + } + if (input[_INLp] != null) { + entries[_INLp] = input[_INLp]; + } + if (input[_IIPI] != null) { + entries[_IIPI] = input[_IIPI]; + } + if (input[_INL] != null) { + entries[_INL] = input[_INL]; + } + return entries; +}, "se_CreateSubnetRequest"); +var se_CreateTagsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_R] != null) { + const memberEntries = se_ResourceIdList(input[_R], context); + if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { + entries.ResourceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + if (((_b2 = input[_Ta]) == null ? void 0 : _b2.length) === 0) { + entries.Tag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateTagsRequest"); +var se_CreateTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateTrafficMirrorFilterRequest"); +var se_CreateTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_TD] != null) { + entries[_TD] = input[_TD]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_DPR] != null) { + const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationPortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_SPR] != null) { + const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_SCB] != null) { + entries[_SCB] = input[_SCB]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateTrafficMirrorFilterRuleRequest"); +var se_CreateTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_TMTI] != null) { + entries[_TMTI] = input[_TMTI]; + } + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_PL] != null) { + entries[_PL] = input[_PL]; + } + if (input[_SN] != null) { + entries[_SN] = input[_SN]; + } + if (input[_VNI] != null) { + entries[_VNI] = input[_VNI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateTrafficMirrorSessionRequest"); +var se_CreateTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_NLBA] != null) { + entries[_NLBA] = input[_NLBA]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_GLBEI] != null) { + entries[_GLBEI] = input[_GLBEI]; + } + return entries; +}, "se_CreateTrafficMirrorTargetRequest"); +var se_CreateTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_TGA] != null) { + entries[_TGA] = input[_TGA]; + } + if (input[_PAe] != null) { + entries[_PAe] = input[_PAe]; + } + if (input[_BO] != null) { + const memberEntries = se_TransitGatewayConnectRequestBgpOptions(input[_BO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BgpOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_ICBn] != null) { + const memberEntries = se_InsideCidrBlocksStringList(input[_ICBn], context); + if (((_a2 = input[_ICBn]) == null ? void 0 : _a2.length) === 0) { + entries.InsideCidrBlocks = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InsideCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayConnectPeerRequest"); +var se_CreateTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TTGAI] != null) { + entries[_TTGAI] = input[_TTGAI]; + } + if (input[_O] != null) { + const memberEntries = se_CreateTransitGatewayConnectRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayConnectRequest"); +var se_CreateTransitGatewayConnectRequestOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_P] != null) { + entries[_P] = input[_P]; + } + return entries; +}, "se_CreateTransitGatewayConnectRequestOptions"); +var se_CreateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_O] != null) { + const memberEntries = se_CreateTransitGatewayMulticastDomainRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayMulticastDomainRequest"); +var se_CreateTransitGatewayMulticastDomainRequestOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ISg] != null) { + entries[_ISg] = input[_ISg]; + } + if (input[_SSS] != null) { + entries[_SSS] = input[_SSS]; + } + if (input[_AASA] != null) { + entries[_AASA] = input[_AASA]; + } + return entries; +}, "se_CreateTransitGatewayMulticastDomainRequestOptions"); +var se_CreateTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_PTGI] != null) { + entries[_PTGI] = input[_PTGI]; + } + if (input[_PAI] != null) { + entries[_PAI] = input[_PAI]; + } + if (input[_PRe] != null) { + entries[_PRe] = input[_PRe]; + } + if (input[_O] != null) { + const memberEntries = se_CreateTransitGatewayPeeringAttachmentRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayPeeringAttachmentRequest"); +var se_CreateTransitGatewayPeeringAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRy] != null) { + entries[_DRy] = input[_DRy]; + } + return entries; +}, "se_CreateTransitGatewayPeeringAttachmentRequestOptions"); +var se_CreateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayPolicyTableRequest"); +var se_CreateTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Bl] != null) { + entries[_Bl] = input[_Bl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayPrefixListReferenceRequest"); +var se_CreateTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_O] != null) { + const memberEntries = se_TransitGatewayRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayRequest"); +var se_CreateTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Bl] != null) { + entries[_Bl] = input[_Bl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayRouteRequest"); +var se_CreateTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_PAIe] != null) { + entries[_PAIe] = input[_PAIe]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayRouteTableAnnouncementRequest"); +var se_CreateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayRouteTableRequest"); +var se_CreateTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_SIu] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_O] != null) { + const memberEntries = se_CreateTransitGatewayVpcAttachmentRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateTransitGatewayVpcAttachmentRequest"); +var se_CreateTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DSns] != null) { + entries[_DSns] = input[_DSns]; + } + if (input[_SGRS] != null) { + entries[_SGRS] = input[_SGRS]; + } + if (input[_ISp] != null) { + entries[_ISp] = input[_ISp]; + } + if (input[_AMS] != null) { + entries[_AMS] = input[_AMS]; + } + return entries; +}, "se_CreateTransitGatewayVpcAttachmentRequestOptions"); +var se_CreateVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + return entries; +}, "se_CreateVerifiedAccessEndpointEniOptions"); +var se_CreateVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + if (input[_LBA] != null) { + entries[_LBA] = input[_LBA]; + } + if (input[_SIu] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointLoadBalancerOptions"); +var se_CreateVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_ET] != null) { + entries[_ET] = input[_ET]; + } + if (input[_ATt] != null) { + entries[_ATt] = input[_ATt]; + } + if (input[_DCA] != null) { + entries[_DCA] = input[_DCA]; + } + if (input[_ADp] != null) { + entries[_ADp] = input[_ADp]; + } + if (input[_EDP] != null) { + entries[_EDP] = input[_EDP]; + } + if (input[_SGI] != null) { + const memberEntries = se_SecurityGroupIdList(input[_SGI], context); + if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LBO] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LoadBalancerOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_NIO] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointEniOptions(input[_NIO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointRequest"); +var se_CreateVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CreateVerifiedAccessEndpointSubnetIdList"); +var se_CreateVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessGroupRequest"); +var se_CreateVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FIPSE] != null) { + entries[_FIPSE] = input[_FIPSE]; + } + return entries; +}, "se_CreateVerifiedAccessInstanceRequest"); +var se_CreateVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TIe] != null) { + entries[_TIe] = input[_TIe]; + } + if (input[_PSKU] != null) { + entries[_PSKU] = input[_PSKU]; + } + return entries; +}, "se_CreateVerifiedAccessTrustProviderDeviceOptions"); +var se_CreateVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_I] != null) { + entries[_I] = input[_I]; + } + if (input[_AE] != null) { + entries[_AE] = input[_AE]; + } + if (input[_TEo] != null) { + entries[_TEo] = input[_TEo]; + } + if (input[_UIE] != null) { + entries[_UIE] = input[_UIE]; + } + if (input[_CIl] != null) { + entries[_CIl] = input[_CIl]; + } + if (input[_CSl] != null) { + entries[_CSl] = input[_CSl]; + } + if (input[_Sc] != null) { + entries[_Sc] = input[_Sc]; + } + return entries; +}, "se_CreateVerifiedAccessTrustProviderOidcOptions"); +var se_CreateVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TPT] != null) { + entries[_TPT] = input[_TPT]; + } + if (input[_UTPT] != null) { + entries[_UTPT] = input[_UTPT]; + } + if (input[_DTPT] != null) { + entries[_DTPT] = input[_DTPT]; + } + if (input[_OO] != null) { + const memberEntries = se_CreateVerifiedAccessTrustProviderOidcOptions(input[_OO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OidcOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DOe] != null) { + const memberEntries = se_CreateVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DeviceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_PRN] != null) { + entries[_PRN] = input[_PRN]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessTrustProviderRequest"); +var se_CreateVolumePermission = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Gr] != null) { + entries[_Gr] = input[_Gr]; + } + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + return entries; +}, "se_CreateVolumePermission"); +var se_CreateVolumePermissionList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_CreateVolumePermission(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_CreateVolumePermissionList"); +var se_CreateVolumePermissionModifications = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_CreateVolumePermissionList(input[_Add], context); + if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { + entries.Add = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Re] != null) { + const memberEntries = se_CreateVolumePermissionList(input[_Re], context); + if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { + entries.Remove = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVolumePermissionModifications"); +var se_CreateVolumeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_Io] != null) { + entries[_Io] = input[_Io]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_Siz] != null) { + entries[_Siz] = input[_Siz]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_VT] != null) { + entries[_VT] = input[_VT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MAE] != null) { + entries[_MAE] = input[_MAE]; + } + if (input[_Th] != null) { + entries[_Th] = input[_Th]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateVolumeRequest"); +var se_CreateVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + if (input[_CNAon] != null) { + entries[_CNAon] = input[_CNAon]; + } + if (input[_CEo] != null) { + const memberEntries = se_ValueStringList(input[_CEo], context); + if (((_a2 = input[_CEo]) == null ? void 0 : _a2.length) === 0) { + entries.ConnectionEvents = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionEvents.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateVpcEndpointConnectionNotificationRequest"); +var se_CreateVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VET] != null) { + entries[_VET] = input[_VET]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_SNe] != null) { + entries[_SNe] = input[_SNe]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_RTIo] != null) { + const memberEntries = se_VpcEndpointRouteTableIdList(input[_RTIo], context); + if (((_a2 = input[_RTIo]) == null ? void 0 : _a2.length) === 0) { + entries.RouteTableId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIu] != null) { + const memberEntries = se_VpcEndpointSubnetIdList(input[_SIu], context); + if (((_b2 = input[_SIu]) == null ? void 0 : _b2.length) === 0) { + entries.SubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGI] != null) { + const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_SGI], context); + if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAT] != null) { + entries[_IAT] = input[_IAT]; + } + if (input[_DOn] != null) { + const memberEntries = se_DnsOptionsSpecification(input[_DOn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DnsOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_PDE] != null) { + entries[_PDE] = input[_PDE]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SC] != null) { + const memberEntries = se_SubnetConfigurationsList(input[_SC], context); + if (((_e2 = input[_SC]) == null ? void 0 : _e2.length) === 0) { + entries.SubnetConfiguration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpcEndpointRequest"); +var se_CreateVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ARc] != null) { + entries[_ARc] = input[_ARc]; + } + if (input[_PDN] != null) { + entries[_PDN] = input[_PDN]; + } + if (input[_NLBAe] != null) { + const memberEntries = se_ValueStringList(input[_NLBAe], context); + if (((_a2 = input[_NLBAe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GLBA] != null) { + const memberEntries = se_ValueStringList(input[_GLBA], context); + if (((_b2 = input[_GLBA]) == null ? void 0 : _b2.length) === 0) { + entries.GatewayLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIAT] != null) { + const memberEntries = se_ValueStringList(input[_SIAT], context); + if (((_c2 = input[_SIAT]) == null ? void 0 : _c2.length) === 0) { + entries.SupportedIpAddressType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpcEndpointServiceConfigurationRequest"); +var se_CreateVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_POI] != null) { + entries[_POI] = input[_POI]; + } + if (input[_PVI] != null) { + entries[_PVI] = input[_PVI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_PRe] != null) { + entries[_PRe] = input[_PRe]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpcPeeringConnectionRequest"); +var se_CreateVpcRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_APICB] != null) { + entries[_APICB] = input[_APICB]; + } + if (input[_IPpv] != null) { + entries[_IPpv] = input[_IPpv]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_IIPIp] != null) { + entries[_IIPIp] = input[_IIPIp]; + } + if (input[_INLp] != null) { + entries[_INLp] = input[_INLp]; + } + if (input[_IIPI] != null) { + entries[_IIPI] = input[_IIPI]; + } + if (input[_INL] != null) { + entries[_INL] = input[_INL]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITns] != null) { + entries[_ITns] = input[_ITns]; + } + if (input[_ICBNBG] != null) { + entries[_ICBNBG] = input[_ICBNBG]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpcRequest"); +var se_CreateVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CGIu] != null) { + entries[_CGIu] = input[_CGIu]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_VGI] != null) { + entries[_VGI] = input[_VGI]; + } + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_O] != null) { + const memberEntries = se_VpnConnectionOptionsSpecification(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpnConnectionRequest"); +var se_CreateVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + return entries; +}, "se_CreateVpnConnectionRouteRequest"); +var se_CreateVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ASA] != null) { + entries[_ASA] = input[_ASA]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateVpnGatewayRequest"); +var se_CreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CCp] != null) { + entries[_CCp] = input[_CCp]; + } + return entries; +}, "se_CreditSpecificationRequest"); +var se_CustomerGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`CustomerGatewayId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_CustomerGatewayIdStringList"); +var se_DataQueries = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_DataQuery(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_DataQueries"); +var se_DataQuery = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Id] != null) { + entries[_Id] = input[_Id]; + } + if (input[_S] != null) { + entries[_S] = input[_S]; + } + if (input[_D] != null) { + entries[_D] = input[_D]; + } + if (input[_Met] != null) { + entries[_Met] = input[_Met]; + } + if (input[_Sta] != null) { + entries[_Sta] = input[_Sta]; + } + if (input[_Per] != null) { + entries[_Per] = input[_Per]; + } + return entries; +}, "se_DataQuery"); +var se_DedicatedHostIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_DedicatedHostIdList"); +var se_DeleteCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CGI] != null) { + entries[_CGI] = input[_CGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteCarrierGatewayRequest"); +var se_DeleteClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteClientVpnEndpointRequest"); +var se_DeleteClientVpnRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_TVSI] != null) { + entries[_TVSI] = input[_TVSI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteClientVpnRouteRequest"); +var se_DeleteCoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_CPIo] != null) { + entries[_CPIo] = input[_CPIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteCoipCidrRequest"); +var se_DeleteCoipPoolRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CPIo] != null) { + entries[_CPIo] = input[_CPIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteCoipPoolRequest"); +var se_DeleteCustomerGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CGIu] != null) { + entries[_CGIu] = input[_CGIu]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteCustomerGatewayRequest"); +var se_DeleteDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOI] != null) { + entries[_DOI] = input[_DOI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteDhcpOptionsRequest"); +var se_DeleteEgressOnlyInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EOIGI] != null) { + entries[_EOIGI] = input[_EOIGI]; + } + return entries; +}, "se_DeleteEgressOnlyInternetGatewayRequest"); +var se_DeleteFleetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FI] != null) { + const memberEntries = se_FleetIdSet(input[_FI], context); + if (((_a2 = input[_FI]) == null ? void 0 : _a2.length) === 0) { + entries.FleetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FleetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TI] != null) { + entries[_TI] = input[_TI]; + } + return entries; +}, "se_DeleteFleetsRequest"); +var se_DeleteFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FLI] != null) { + const memberEntries = se_FlowLogIdList(input[_FLI], context); + if (((_a2 = input[_FLI]) == null ? void 0 : _a2.length) === 0) { + entries.FlowLogId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FlowLogId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteFlowLogsRequest"); +var se_DeleteFpgaImageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FII] != null) { + entries[_FII] = input[_FII]; + } + return entries; +}, "se_DeleteFpgaImageRequest"); +var se_DeleteInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ICEI] != null) { + entries[_ICEI] = input[_ICEI]; + } + return entries; +}, "se_DeleteInstanceConnectEndpointRequest"); +var se_DeleteInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FD] != null) { + entries[_FD] = input[_FD]; + } + if (input[_IEWI] != null) { + entries[_IEWI] = input[_IEWI]; + } + return entries; +}, "se_DeleteInstanceEventWindowRequest"); +var se_DeleteInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IGI] != null) { + entries[_IGI] = input[_IGI]; + } + return entries; +}, "se_DeleteInternetGatewayRequest"); +var se_DeleteIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_Ca] != null) { + entries[_Ca] = input[_Ca]; + } + return entries; +}, "se_DeleteIpamPoolRequest"); +var se_DeleteIpamRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_Ca] != null) { + entries[_Ca] = input[_Ca]; + } + return entries; +}, "se_DeleteIpamRequest"); +var se_DeleteIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + return entries; +}, "se_DeleteIpamResourceDiscoveryRequest"); +var se_DeleteIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ISI] != null) { + entries[_ISI] = input[_ISI]; + } + return entries; +}, "se_DeleteIpamScopeRequest"); +var se_DeleteKeyPairRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_KPI] != null) { + entries[_KPI] = input[_KPI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteKeyPairRequest"); +var se_DeleteLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + return entries; +}, "se_DeleteLaunchTemplateRequest"); +var se_DeleteLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_Ve] != null) { + const memberEntries = se_VersionStringList(input[_Ve], context); + if (((_a2 = input[_Ve]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateVersion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteLaunchTemplateVersionsRequest"); +var se_DeleteLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + return entries; +}, "se_DeleteLocalGatewayRouteRequest"); +var se_DeleteLocalGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteLocalGatewayRouteTableRequest"); +var se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LGRTVIGAI] != null) { + entries[_LGRTVIGAI] = input[_LGRTVIGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationRequest"); +var se_DeleteLocalGatewayRouteTableVpcAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LGRTVAI] != null) { + entries[_LGRTVAI] = input[_LGRTVAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteLocalGatewayRouteTableVpcAssociationRequest"); +var se_DeleteManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + return entries; +}, "se_DeleteManagedPrefixListRequest"); +var se_DeleteNatGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + return entries; +}, "se_DeleteNatGatewayRequest"); +var se_DeleteNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + return entries; +}, "se_DeleteNetworkAclEntryRequest"); +var se_DeleteNetworkAclRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + return entries; +}, "se_DeleteNetworkAclRequest"); +var se_DeleteNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIASAI] != null) { + entries[_NIASAI] = input[_NIASAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteNetworkInsightsAccessScopeAnalysisRequest"); +var se_DeleteNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NIASI] != null) { + entries[_NIASI] = input[_NIASI]; + } + return entries; +}, "se_DeleteNetworkInsightsAccessScopeRequest"); +var se_DeleteNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NIAI] != null) { + entries[_NIAI] = input[_NIAI]; + } + return entries; +}, "se_DeleteNetworkInsightsAnalysisRequest"); +var se_DeleteNetworkInsightsPathRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NIPI] != null) { + entries[_NIPI] = input[_NIPI]; + } + return entries; +}, "se_DeleteNetworkInsightsPathRequest"); +var se_DeleteNetworkInterfacePermissionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIPIe] != null) { + entries[_NIPIe] = input[_NIPIe]; + } + if (input[_F] != null) { + entries[_F] = input[_F]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteNetworkInterfacePermissionRequest"); +var se_DeleteNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + return entries; +}, "se_DeleteNetworkInterfaceRequest"); +var se_DeletePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + return entries; +}, "se_DeletePlacementGroupRequest"); +var se_DeletePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + return entries; +}, "se_DeletePublicIpv4PoolRequest"); +var se_DeleteQueuedReservedInstancesIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_DeleteQueuedReservedInstancesIdList"); +var se_DeleteQueuedReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RIIes] != null) { + const memberEntries = se_DeleteQueuedReservedInstancesIdList(input[_RIIes], context); + if (((_a2 = input[_RIIes]) == null ? void 0 : _a2.length) === 0) { + entries.ReservedInstancesId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteQueuedReservedInstancesRequest"); +var se_DeleteRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + return entries; +}, "se_DeleteRouteRequest"); +var se_DeleteRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + return entries; +}, "se_DeleteRouteTableRequest"); +var se_DeleteSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteSecurityGroupRequest"); +var se_DeleteSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteSnapshotRequest"); +var se_DeleteSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteSpotDatafeedSubscriptionRequest"); +var se_DeleteSubnetCidrReservationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SCRI] != null) { + entries[_SCRI] = input[_SCRI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteSubnetCidrReservationRequest"); +var se_DeleteSubnetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteSubnetRequest"); +var se_DeleteTagsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_R] != null) { + const memberEntries = se_ResourceIdList(input[_R], context); + if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { + entries.ResourceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + if (((_b2 = input[_Ta]) == null ? void 0 : _b2.length) === 0) { + entries.Tag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteTagsRequest"); +var se_DeleteTrafficMirrorFilterRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTrafficMirrorFilterRequest"); +var se_DeleteTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMFRI] != null) { + entries[_TMFRI] = input[_TMFRI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTrafficMirrorFilterRuleRequest"); +var se_DeleteTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMSI] != null) { + entries[_TMSI] = input[_TMSI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTrafficMirrorSessionRequest"); +var se_DeleteTrafficMirrorTargetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMTI] != null) { + entries[_TMTI] = input[_TMTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTrafficMirrorTargetRequest"); +var se_DeleteTransitGatewayConnectPeerRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGCPI] != null) { + entries[_TGCPI] = input[_TGCPI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayConnectPeerRequest"); +var se_DeleteTransitGatewayConnectRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayConnectRequest"); +var se_DeleteTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayMulticastDomainRequest"); +var se_DeleteTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayPeeringAttachmentRequest"); +var se_DeleteTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayPolicyTableRequest"); +var se_DeleteTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayPrefixListReferenceRequest"); +var se_DeleteTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayRequest"); +var se_DeleteTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayRouteRequest"); +var se_DeleteTransitGatewayRouteTableAnnouncementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTAI] != null) { + entries[_TGRTAI] = input[_TGRTAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayRouteTableAnnouncementRequest"); +var se_DeleteTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayRouteTableRequest"); +var se_DeleteTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteTransitGatewayVpcAttachmentRequest"); +var se_DeleteVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAEI] != null) { + entries[_VAEI] = input[_VAEI]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVerifiedAccessEndpointRequest"); +var se_DeleteVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVerifiedAccessGroupRequest"); +var se_DeleteVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_DeleteVerifiedAccessInstanceRequest"); +var se_DeleteVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VATPI] != null) { + entries[_VATPI] = input[_VATPI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_DeleteVerifiedAccessTrustProviderRequest"); +var se_DeleteVolumeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVolumeRequest"); +var se_DeleteVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CNIo] != null) { + const memberEntries = se_ConnectionNotificationIdsList(input[_CNIo], context); + if (((_a2 = input[_CNIo]) == null ? void 0 : _a2.length) === 0) { + entries.ConnectionNotificationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionNotificationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteVpcEndpointConnectionNotificationsRequest"); +var se_DeleteVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIer] != null) { + const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); + if (((_a2 = input[_SIer]) == null ? void 0 : _a2.length) === 0) { + entries.ServiceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ServiceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteVpcEndpointServiceConfigurationsRequest"); +var se_DeleteVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { + entries.VpcEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeleteVpcEndpointsRequest"); +var se_DeleteVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + return entries; +}, "se_DeleteVpcPeeringConnectionRequest"); +var se_DeleteVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVpcRequest"); +var se_DeleteVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVpnConnectionRequest"); +var se_DeleteVpnConnectionRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + return entries; +}, "se_DeleteVpnConnectionRouteRequest"); +var se_DeleteVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VGI] != null) { + entries[_VGI] = input[_VGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeleteVpnGatewayRequest"); +var se_DeprovisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeprovisionByoipCidrRequest"); +var se_DeprovisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_As] != null) { + entries[_As] = input[_As]; + } + return entries; +}, "se_DeprovisionIpamByoasnRequest"); +var se_DeprovisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + return entries; +}, "se_DeprovisionIpamPoolCidrRequest"); +var se_DeprovisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + return entries; +}, "se_DeprovisionPublicIpv4PoolCidrRequest"); +var se_DeregisterImageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeregisterImageRequest"); +var se_DeregisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITA] != null) { + const memberEntries = se_DeregisterInstanceTagAttributeRequest(input[_ITA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTagAttribute.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeregisterInstanceEventNotificationAttributesRequest"); +var se_DeregisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IATOI] != null) { + entries[_IATOI] = input[_IATOI]; + } + if (input[_ITK] != null) { + const memberEntries = se_InstanceTagKeySet(input[_ITK], context); + if (((_a2 = input[_ITK]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceTagKey = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTagKey.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DeregisterInstanceTagAttributeRequest"); +var se_DeregisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_GIA] != null) { + entries[_GIA] = input[_GIA]; + } + if (input[_NIIe] != null) { + const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); + if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInterfaceIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeregisterTransitGatewayMulticastGroupMembersRequest"); +var se_DeregisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_GIA] != null) { + entries[_GIA] = input[_GIA]; + } + if (input[_NIIe] != null) { + const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); + if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInterfaceIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DeregisterTransitGatewayMulticastGroupSourcesRequest"); +var se_DescribeAccountAttributesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AN] != null) { + const memberEntries = se_AccountAttributeNameStringList(input[_AN], context); + if (((_a2 = input[_AN]) == null ? void 0 : _a2.length) === 0) { + entries.AttributeName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AttributeName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAccountAttributesRequest"); +var se_DescribeAddressesAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AIll] != null) { + const memberEntries = se_AllocationIds(input[_AIll], context); + if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { + entries.AllocationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAddressesAttributeRequest"); +var se_DescribeAddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIu] != null) { + const memberEntries = se_PublicIpStringList(input[_PIu], context); + if (((_b2 = input[_PIu]) == null ? void 0 : _b2.length) === 0) { + entries.PublicIp = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PublicIp.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + if (((_c2 = input[_AIll]) == null ? void 0 : _c2.length) === 0) { + entries.AllocationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAddressesRequest"); +var se_DescribeAddressTransfersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + if (((_a2 = input[_AIll]) == null ? void 0 : _a2.length) === 0) { + entries.AllocationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAddressTransfersRequest"); +var se_DescribeAggregateIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAggregateIdFormatRequest"); +var se_DescribeAvailabilityZonesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ZN] != null) { + const memberEntries = se_ZoneNameStringList(input[_ZN], context); + if (((_b2 = input[_ZN]) == null ? void 0 : _b2.length) === 0) { + entries.ZoneName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ZoneName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ZI] != null) { + const memberEntries = se_ZoneIdStringList(input[_ZI], context); + if (((_c2 = input[_ZI]) == null ? void 0 : _c2.length) === 0) { + entries.ZoneId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ZoneId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AAZ] != null) { + entries[_AAZ] = input[_AAZ]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAvailabilityZonesRequest"); +var se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest"); +var se_DescribeBundleTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_BIun] != null) { + const memberEntries = se_BundleIdStringList(input[_BIun], context); + if (((_a2 = input[_BIun]) == null ? void 0 : _a2.length) === 0) { + entries.BundleId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BundleId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeBundleTasksRequest"); +var se_DescribeByoipCidrsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeByoipCidrsRequest"); +var se_DescribeCapacityBlockOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_SDR] != null) { + entries[_SDR] = input[_SDR].toISOString().split(".")[0] + "Z"; + } + if (input[_EDR] != null) { + entries[_EDR] = input[_EDR].toISOString().split(".")[0] + "Z"; + } + if (input[_CDH] != null) { + entries[_CDH] = input[_CDH]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeCapacityBlockOfferingsRequest"); +var se_DescribeCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CRFI] != null) { + const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); + if (((_a2 = input[_CRFI]) == null ? void 0 : _a2.length) === 0) { + entries.CapacityReservationFleetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationFleetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeCapacityReservationFleetsRequest"); +var se_DescribeCapacityReservationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CRIa] != null) { + const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context); + if (((_a2 = input[_CRIa]) == null ? void 0 : _a2.length) === 0) { + entries.CapacityReservationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeCapacityReservationsRequest"); +var se_DescribeCarrierGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CGIa] != null) { + const memberEntries = se_CarrierGatewayIdSet(input[_CGIa], context); + if (((_a2 = input[_CGIa]) == null ? void 0 : _a2.length) === 0) { + entries.CarrierGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CarrierGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeCarrierGatewaysRequest"); +var se_DescribeClassicLinkInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeClassicLinkInstancesRequest"); +var se_DescribeClientVpnAuthorizationRulesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeClientVpnAuthorizationRulesRequest"); +var se_DescribeClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeClientVpnConnectionsRequest"); +var se_DescribeClientVpnEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CVEIl] != null) { + const memberEntries = se_ClientVpnEndpointIdList(input[_CVEIl], context); + if (((_a2 = input[_CVEIl]) == null ? void 0 : _a2.length) === 0) { + entries.ClientVpnEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientVpnEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeClientVpnEndpointsRequest"); +var se_DescribeClientVpnRoutesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeClientVpnRoutesRequest"); +var se_DescribeClientVpnTargetNetworksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_AIs] != null) { + const memberEntries = se_ValueStringList(input[_AIs], context); + if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { + entries.AssociationIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeClientVpnTargetNetworksRequest"); +var se_DescribeCoipPoolsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_CoipPoolIdSet(input[_PIoo], context); + if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { + entries.PoolId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeCoipPoolsRequest"); +var se_DescribeConversionTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTIo] != null) { + const memberEntries = se_ConversionIdStringList(input[_CTIo], context); + if (((_a2 = input[_CTIo]) == null ? void 0 : _a2.length) === 0) { + entries.ConversionTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConversionTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeConversionTasksRequest"); +var se_DescribeCustomerGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CGIus] != null) { + const memberEntries = se_CustomerGatewayIdStringList(input[_CGIus], context); + if (((_a2 = input[_CGIus]) == null ? void 0 : _a2.length) === 0) { + entries.CustomerGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CustomerGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeCustomerGatewaysRequest"); +var se_DescribeDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DOIh] != null) { + const memberEntries = se_DhcpOptionsIdStringList(input[_DOIh], context); + if (((_a2 = input[_DOIh]) == null ? void 0 : _a2.length) === 0) { + entries.DhcpOptionsId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DhcpOptionsId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeDhcpOptionsRequest"); +var se_DescribeEgressOnlyInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EOIGIg] != null) { + const memberEntries = se_EgressOnlyInternetGatewayIdList(input[_EOIGIg], context); + if (((_a2 = input[_EOIGIg]) == null ? void 0 : _a2.length) === 0) { + entries.EgressOnlyInternetGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EgressOnlyInternetGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeEgressOnlyInternetGatewaysRequest"); +var se_DescribeElasticGpusRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_EGI] != null) { + const memberEntries = se_ElasticGpuIdSet(input[_EGI], context); + if (((_a2 = input[_EGI]) == null ? void 0 : _a2.length) === 0) { + entries.ElasticGpuId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ElasticGpuId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeElasticGpusRequest"); +var se_DescribeExportImageTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EITI] != null) { + const memberEntries = se_ExportImageTaskIdList(input[_EITI], context); + if (((_b2 = input[_EITI]) == null ? void 0 : _b2.length) === 0) { + entries.ExportImageTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExportImageTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeExportImageTasksRequest"); +var se_DescribeExportTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_ETIx] != null) { + const memberEntries = se_ExportTaskIdStringList(input[_ETIx], context); + if (((_a2 = input[_ETIx]) == null ? void 0 : _a2.length) === 0) { + entries.ExportTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExportTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeExportTasksRequest"); +var se_DescribeFastLaunchImagesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_FastLaunchImageIdList(input[_IImag], context); + if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { + entries.ImageId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeFastLaunchImagesRequest"); +var se_DescribeFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeFastSnapshotRestoresRequest"); +var se_DescribeFleetHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ETv] != null) { + entries[_ETv] = input[_ETv]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_FIl] != null) { + entries[_FIl] = input[_FIl]; + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_DescribeFleetHistoryRequest"); +var se_DescribeFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_FIl] != null) { + entries[_FIl] = input[_FIl]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeFleetInstancesRequest"); +var se_DescribeFleetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_FI] != null) { + const memberEntries = se_FleetIdSet(input[_FI], context); + if (((_a2 = input[_FI]) == null ? void 0 : _a2.length) === 0) { + entries.FleetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FleetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeFleetsRequest"); +var se_DescribeFlowLogsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_FLI] != null) { + const memberEntries = se_FlowLogIdList(input[_FLI], context); + if (((_b2 = input[_FLI]) == null ? void 0 : _b2.length) === 0) { + entries.FlowLogId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FlowLogId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeFlowLogsRequest"); +var se_DescribeFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FII] != null) { + entries[_FII] = input[_FII]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + return entries; +}, "se_DescribeFpgaImageAttributeRequest"); +var se_DescribeFpgaImagesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FIIp] != null) { + const memberEntries = se_FpgaImageIdList(input[_FIIp], context); + if (((_a2 = input[_FIIp]) == null ? void 0 : _a2.length) === 0) { + entries.FpgaImageId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FpgaImageId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ow] != null) { + const memberEntries = se_OwnerStringList(input[_Ow], context); + if (((_b2 = input[_Ow]) == null ? void 0 : _b2.length) === 0) { + entries.Owner = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeFpgaImagesRequest"); +var se_DescribeHostReservationOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MD] != null) { + entries[_MD] = input[_MD]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_MDi] != null) { + entries[_MDi] = input[_MDi]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_OI] != null) { + entries[_OI] = input[_OI]; + } + return entries; +}, "se_DescribeHostReservationOfferingsRequest"); +var se_DescribeHostReservationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HRIS] != null) { + const memberEntries = se_HostReservationIdSet(input[_HRIS], context); + if (((_b2 = input[_HRIS]) == null ? void 0 : _b2.length) === 0) { + entries.HostReservationIdSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostReservationIdSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeHostReservationsRequest"); +var se_DescribeHostsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + if (((_b2 = input[_HI]) == null ? void 0 : _b2.length) === 0) { + entries.HostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeHostsRequest"); +var se_DescribeIamInstanceProfileAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AIs] != null) { + const memberEntries = se_AssociationIdList(input[_AIs], context); + if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { + entries.AssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeIamInstanceProfileAssociationsRequest"); +var se_DescribeIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PAr] != null) { + entries[_PAr] = input[_PAr]; + } + if (input[_Res] != null) { + entries[_Res] = input[_Res]; + } + return entries; +}, "se_DescribeIdentityIdFormatRequest"); +var se_DescribeIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Res] != null) { + entries[_Res] = input[_Res]; + } + return entries; +}, "se_DescribeIdFormatRequest"); +var se_DescribeImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeImageAttributeRequest"); +var se_DescribeImagesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_EU] != null) { + const memberEntries = se_ExecutableByStringList(input[_EU], context); + if (((_a2 = input[_EU]) == null ? void 0 : _a2.length) === 0) { + entries.ExecutableBy = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExecutableBy.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IImag] != null) { + const memberEntries = se_ImageIdStringList(input[_IImag], context); + if (((_c2 = input[_IImag]) == null ? void 0 : _c2.length) === 0) { + entries.ImageId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ow] != null) { + const memberEntries = se_OwnerStringList(input[_Ow], context); + if (((_d2 = input[_Ow]) == null ? void 0 : _d2.length) === 0) { + entries.Owner = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ID] != null) { + entries[_ID] = input[_ID]; + } + if (input[_IDn] != null) { + entries[_IDn] = input[_IDn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeImagesRequest"); +var se_DescribeImportImageTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filters = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filters.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITIm] != null) { + const memberEntries = se_ImportTaskIdList(input[_ITIm], context); + if (((_b2 = input[_ITIm]) == null ? void 0 : _b2.length) === 0) { + entries.ImportTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImportTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeImportImageTasksRequest"); +var se_DescribeImportSnapshotTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filters = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filters.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITIm] != null) { + const memberEntries = se_ImportSnapshotTaskIdList(input[_ITIm], context); + if (((_b2 = input[_ITIm]) == null ? void 0 : _b2.length) === 0) { + entries.ImportTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImportTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeImportSnapshotTasksRequest"); +var se_DescribeInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + return entries; +}, "se_DescribeInstanceAttributeRequest"); +var se_DescribeInstanceConnectEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ICEIn] != null) { + const memberEntries = se_ValueStringList(input[_ICEIn], context); + if (((_b2 = input[_ICEIn]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceConnectEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceConnectEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeInstanceConnectEndpointsRequest"); +var se_DescribeInstanceCreditSpecificationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeInstanceCreditSpecificationsRequest"); +var se_DescribeInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeInstanceEventNotificationAttributesRequest"); +var se_DescribeInstanceEventWindowsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IEWIn] != null) { + const memberEntries = se_InstanceEventWindowIdSet(input[_IEWIn], context); + if (((_a2 = input[_IEWIn]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceEventWindowId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceEventWindowId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeInstanceEventWindowsRequest"); +var se_DescribeInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeInstancesRequest"); +var se_DescribeInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_b2 = input[_IIns]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IAI] != null) { + entries[_IAI] = input[_IAI]; + } + return entries; +}, "se_DescribeInstanceStatusRequest"); +var se_DescribeInstanceTopologyGroupNameSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_DescribeInstanceTopologyGroupNameSet"); +var se_DescribeInstanceTopologyInstanceIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_DescribeInstanceTopologyInstanceIdSet"); +var se_DescribeInstanceTopologyRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_IIns] != null) { + const memberEntries = se_DescribeInstanceTopologyInstanceIdSet(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GNr] != null) { + const memberEntries = se_DescribeInstanceTopologyGroupNameSet(input[_GNr], context); + if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { + entries.GroupName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeInstanceTopologyRequest"); +var se_DescribeInstanceTypeOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LT] != null) { + entries[_LT] = input[_LT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeInstanceTypeOfferingsRequest"); +var se_DescribeInstanceTypesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITnst] != null) { + const memberEntries = se_RequestInstanceTypeList(input[_ITnst], context); + if (((_a2 = input[_ITnst]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeInstanceTypesRequest"); +var se_DescribeInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IGIn] != null) { + const memberEntries = se_InternetGatewayIdList(input[_IGIn], context); + if (((_b2 = input[_IGIn]) == null ? void 0 : _b2.length) === 0) { + entries.InternetGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InternetGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeInternetGatewaysRequest"); +var se_DescribeIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeIpamByoasnRequest"); +var se_DescribeIpamPoolsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_IPIp] != null) { + const memberEntries = se_ValueStringList(input[_IPIp], context); + if (((_b2 = input[_IPIp]) == null ? void 0 : _b2.length) === 0) { + entries.IpamPoolId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamPoolId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamPoolsRequest"); +var se_DescribeIpamResourceDiscoveriesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDIp] != null) { + const memberEntries = se_ValueStringList(input[_IRDIp], context); + if (((_a2 = input[_IRDIp]) == null ? void 0 : _a2.length) === 0) { + entries.IpamResourceDiscoveryId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamResourceDiscoveryId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamResourceDiscoveriesRequest"); +var se_DescribeIpamResourceDiscoveryAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDAI] != null) { + const memberEntries = se_ValueStringList(input[_IRDAI], context); + if (((_a2 = input[_IRDAI]) == null ? void 0 : _a2.length) === 0) { + entries.IpamResourceDiscoveryAssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamResourceDiscoveryAssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamResourceDiscoveryAssociationsRequest"); +var se_DescribeIpamScopesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_ISIp] != null) { + const memberEntries = se_ValueStringList(input[_ISIp], context); + if (((_b2 = input[_ISIp]) == null ? void 0 : _b2.length) === 0) { + entries.IpamScopeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamScopeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamScopesRequest"); +var se_DescribeIpamsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_IIpa] != null) { + const memberEntries = se_ValueStringList(input[_IIpa], context); + if (((_b2 = input[_IIpa]) == null ? void 0 : _b2.length) === 0) { + entries.IpamId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamsRequest"); +var se_DescribeIpv6PoolsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_Ipv6PoolIdList(input[_PIoo], context); + if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { + entries.PoolId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpv6PoolsRequest"); +var se_DescribeKeyPairsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_KNe] != null) { + const memberEntries = se_KeyNameStringList(input[_KNe], context); + if (((_b2 = input[_KNe]) == null ? void 0 : _b2.length) === 0) { + entries.KeyName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `KeyName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_KPIe] != null) { + const memberEntries = se_KeyPairIdStringList(input[_KPIe], context); + if (((_c2 = input[_KPIe]) == null ? void 0 : _c2.length) === 0) { + entries.KeyPairId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `KeyPairId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPK] != null) { + entries[_IPK] = input[_IPK]; + } + return entries; +}, "se_DescribeKeyPairsRequest"); +var se_DescribeLaunchTemplatesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LTIa] != null) { + const memberEntries = se_LaunchTemplateIdStringList(input[_LTIa], context); + if (((_a2 = input[_LTIa]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LTNa] != null) { + const memberEntries = se_LaunchTemplateNameStringList(input[_LTNa], context); + if (((_b2 = input[_LTNa]) == null ? void 0 : _b2.length) === 0) { + entries.LaunchTemplateName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_c2 = input[_Fi]) == null ? void 0 : _c2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeLaunchTemplatesRequest"); +var se_DescribeLaunchTemplateVersionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_Ve] != null) { + const memberEntries = se_VersionStringList(input[_Ve], context); + if (((_a2 = input[_Ve]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateVersion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateVersion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MVi] != null) { + entries[_MVi] = input[_MVi]; + } + if (input[_MVa] != null) { + entries[_MVa] = input[_MVa]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RAe] != null) { + entries[_RAe] = input[_RAe]; + } + return entries; +}, "se_DescribeLaunchTemplateVersionsRequest"); +var se_DescribeLocalGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGRTIo] != null) { + const memberEntries = se_LocalGatewayRouteTableIdSet(input[_LGRTIo], context); + if (((_a2 = input[_LGRTIo]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayRouteTableId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayRouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewayRouteTablesRequest"); +var se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGRTVIGAIo] != null) { + const memberEntries = se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet(input[_LGRTVIGAIo], context); + if (((_a2 = input[_LGRTVIGAIo]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayRouteTableVirtualInterfaceGroupAssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayRouteTableVirtualInterfaceGroupAssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest"); +var se_DescribeLocalGatewayRouteTableVpcAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGRTVAIo] != null) { + const memberEntries = se_LocalGatewayRouteTableVpcAssociationIdSet(input[_LGRTVAIo], context); + if (((_a2 = input[_LGRTVAIo]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayRouteTableVpcAssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayRouteTableVpcAssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewayRouteTableVpcAssociationsRequest"); +var se_DescribeLocalGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGIo] != null) { + const memberEntries = se_LocalGatewayIdSet(input[_LGIo], context); + if (((_a2 = input[_LGIo]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewaysRequest"); +var se_DescribeLocalGatewayVirtualInterfaceGroupsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGVIGIo] != null) { + const memberEntries = se_LocalGatewayVirtualInterfaceGroupIdSet(input[_LGVIGIo], context); + if (((_a2 = input[_LGVIGIo]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayVirtualInterfaceGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayVirtualInterfaceGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewayVirtualInterfaceGroupsRequest"); +var se_DescribeLocalGatewayVirtualInterfacesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_LGVII] != null) { + const memberEntries = se_LocalGatewayVirtualInterfaceIdSet(input[_LGVII], context); + if (((_a2 = input[_LGVII]) == null ? void 0 : _a2.length) === 0) { + entries.LocalGatewayVirtualInterfaceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalGatewayVirtualInterfaceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLocalGatewayVirtualInterfacesRequest"); +var se_DescribeLockedSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SIna] != null) { + const memberEntries = se_SnapshotIdStringList(input[_SIna], context); + if (((_b2 = input[_SIna]) == null ? void 0 : _b2.length) === 0) { + entries.SnapshotId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeLockedSnapshotsRequest"); +var se_DescribeMacHostsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + if (((_b2 = input[_HI]) == null ? void 0 : _b2.length) === 0) { + entries.HostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeMacHostsRequest"); +var se_DescribeManagedPrefixListsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_PLIr] != null) { + const memberEntries = se_ValueStringList(input[_PLIr], context); + if (((_b2 = input[_PLIr]) == null ? void 0 : _b2.length) === 0) { + entries.PrefixListId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrefixListId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeManagedPrefixListsRequest"); +var se_DescribeMovingAddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_PIu] != null) { + const memberEntries = se_ValueStringList(input[_PIu], context); + if (((_b2 = input[_PIu]) == null ? void 0 : _b2.length) === 0) { + entries.PublicIp = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PublicIp.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeMovingAddressesRequest"); +var se_DescribeNatGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + if (((_a2 = input[_Fil]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NGIa] != null) { + const memberEntries = se_NatGatewayIdStringList(input[_NGIa], context); + if (((_b2 = input[_NGIa]) == null ? void 0 : _b2.length) === 0) { + entries.NatGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NatGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeNatGatewaysRequest"); +var se_DescribeNetworkAclsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NAIe] != null) { + const memberEntries = se_NetworkAclIdStringList(input[_NAIe], context); + if (((_b2 = input[_NAIe]) == null ? void 0 : _b2.length) === 0) { + entries.NetworkAclId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkAclId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeNetworkAclsRequest"); +var se_DescribeNetworkInsightsAccessScopeAnalysesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NIASAIe] != null) { + const memberEntries = se_NetworkInsightsAccessScopeAnalysisIdList(input[_NIASAIe], context); + if (((_a2 = input[_NIASAIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInsightsAccessScopeAnalysisId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInsightsAccessScopeAnalysisId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NIASI] != null) { + entries[_NIASI] = input[_NIASI]; + } + if (input[_ASTB] != null) { + entries[_ASTB] = input[_ASTB].toISOString().split(".")[0] + "Z"; + } + if (input[_ASTE] != null) { + entries[_ASTE] = input[_ASTE].toISOString().split(".")[0] + "Z"; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeNetworkInsightsAccessScopeAnalysesRequest"); +var se_DescribeNetworkInsightsAccessScopesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NIASIe] != null) { + const memberEntries = se_NetworkInsightsAccessScopeIdList(input[_NIASIe], context); + if (((_a2 = input[_NIASIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInsightsAccessScopeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInsightsAccessScopeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeNetworkInsightsAccessScopesRequest"); +var se_DescribeNetworkInsightsAnalysesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NIAIe] != null) { + const memberEntries = se_NetworkInsightsAnalysisIdList(input[_NIAIe], context); + if (((_a2 = input[_NIAIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInsightsAnalysisId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInsightsAnalysisId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NIPI] != null) { + entries[_NIPI] = input[_NIPI]; + } + if (input[_AST] != null) { + entries[_AST] = input[_AST].toISOString().split(".")[0] + "Z"; + } + if (input[_AET] != null) { + entries[_AET] = input[_AET].toISOString().split(".")[0] + "Z"; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeNetworkInsightsAnalysesRequest"); +var se_DescribeNetworkInsightsPathsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NIPIet] != null) { + const memberEntries = se_NetworkInsightsPathIdList(input[_NIPIet], context); + if (((_a2 = input[_NIPIet]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInsightsPathId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInsightsPathId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeNetworkInsightsPathsRequest"); +var se_DescribeNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + return entries; +}, "se_DescribeNetworkInterfaceAttributeRequest"); +var se_DescribeNetworkInterfacePermissionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NIPIetw] != null) { + const memberEntries = se_NetworkInterfacePermissionIdList(input[_NIPIetw], context); + if (((_a2 = input[_NIPIetw]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInterfacePermissionId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfacePermissionId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeNetworkInterfacePermissionsRequest"); +var se_DescribeNetworkInterfacesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NIIe] != null) { + const memberEntries = se_NetworkInterfaceIdList(input[_NIIe], context); + if (((_b2 = input[_NIIe]) == null ? void 0 : _b2.length) === 0) { + entries.NetworkInterfaceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeNetworkInterfacesRequest"); +var se_DescribePlacementGroupsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GNr] != null) { + const memberEntries = se_PlacementGroupStringList(input[_GNr], context); + if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { + entries.GroupName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GIro] != null) { + const memberEntries = se_PlacementGroupIdStringList(input[_GIro], context); + if (((_c2 = input[_GIro]) == null ? void 0 : _c2.length) === 0) { + entries.GroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribePlacementGroupsRequest"); +var se_DescribePrefixListsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_PLIr] != null) { + const memberEntries = se_PrefixListResourceIdStringList(input[_PLIr], context); + if (((_b2 = input[_PLIr]) == null ? void 0 : _b2.length) === 0) { + entries.PrefixListId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrefixListId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribePrefixListsRequest"); +var se_DescribePrincipalIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_R] != null) { + const memberEntries = se_ResourceList(input[_R], context); + if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { + entries.Resource = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Resource.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribePrincipalIdFormatRequest"); +var se_DescribePublicIpv4PoolsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_PublicIpv4PoolIdStringList(input[_PIoo], context); + if (((_a2 = input[_PIoo]) == null ? void 0 : _a2.length) === 0) { + entries.PoolId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PoolId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribePublicIpv4PoolsRequest"); +var se_DescribeRegionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RNe] != null) { + const memberEntries = se_RegionNameStringList(input[_RNe], context); + if (((_b2 = input[_RNe]) == null ? void 0 : _b2.length) === 0) { + entries.RegionName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RegionName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ARll] != null) { + entries[_ARll] = input[_ARll]; + } + return entries; +}, "se_DescribeRegionsRequest"); +var se_DescribeReplaceRootVolumeTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_RRVTI] != null) { + const memberEntries = se_ReplaceRootVolumeTaskIds(input[_RRVTI], context); + if (((_a2 = input[_RRVTI]) == null ? void 0 : _a2.length) === 0) { + entries.ReplaceRootVolumeTaskId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReplaceRootVolumeTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeReplaceRootVolumeTasksRequest"); +var se_DescribeReservedInstancesListingsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RIIe] != null) { + entries[_RIIe] = input[_RIIe]; + } + if (input[_RILI] != null) { + entries[_RILI] = input[_RILI]; + } + return entries; +}, "se_DescribeReservedInstancesListingsRequest"); +var se_DescribeReservedInstancesModificationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RIMI] != null) { + const memberEntries = se_ReservedInstancesModificationIdStringList(input[_RIMI], context); + if (((_b2 = input[_RIMI]) == null ? void 0 : _b2.length) === 0) { + entries.ReservedInstancesModificationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesModificationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeReservedInstancesModificationsRequest"); +var se_DescribeReservedInstancesOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IM] != null) { + entries[_IM] = input[_IM]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_MD] != null) { + entries[_MD] = input[_MD]; + } + if (input[_MIC] != null) { + entries[_MIC] = input[_MIC]; + } + if (input[_MDi] != null) { + entries[_MDi] = input[_MDi]; + } + if (input[_OC] != null) { + entries[_OC] = input[_OC]; + } + if (input[_PDr] != null) { + entries[_PDr] = input[_PDr]; + } + if (input[_RIOI] != null) { + const memberEntries = se_ReservedInstancesOfferingIdStringList(input[_RIOI], context); + if (((_b2 = input[_RIOI]) == null ? void 0 : _b2.length) === 0) { + entries.ReservedInstancesOfferingId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesOfferingId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITns] != null) { + entries[_ITns] = input[_ITns]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_OT] != null) { + entries[_OT] = input[_OT]; + } + return entries; +}, "se_DescribeReservedInstancesOfferingsRequest"); +var se_DescribeReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_OC] != null) { + entries[_OC] = input[_OC]; + } + if (input[_RIIes] != null) { + const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); + if (((_b2 = input[_RIIes]) == null ? void 0 : _b2.length) === 0) { + entries.ReservedInstancesId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_OT] != null) { + entries[_OT] = input[_OT]; + } + return entries; +}, "se_DescribeReservedInstancesRequest"); +var se_DescribeRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTIo] != null) { + const memberEntries = se_RouteTableIdStringList(input[_RTIo], context); + if (((_b2 = input[_RTIo]) == null ? void 0 : _b2.length) === 0) { + entries.RouteTableId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeRouteTablesRequest"); +var se_DescribeScheduledInstanceAvailabilityRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_FSSTR] != null) { + const memberEntries = se_SlotDateTimeRangeRequest(input[_FSSTR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FirstSlotStartTimeRange.${key}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_MSDIH] != null) { + entries[_MSDIH] = input[_MSDIH]; + } + if (input[_MSDIHi] != null) { + entries[_MSDIHi] = input[_MSDIHi]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Rec] != null) { + const memberEntries = se_ScheduledInstanceRecurrenceRequest(input[_Rec], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Recurrence.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeScheduledInstanceAvailabilityRequest"); +var se_DescribeScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SIIc] != null) { + const memberEntries = se_ScheduledInstanceIdRequestSet(input[_SIIc], context); + if (((_b2 = input[_SIIc]) == null ? void 0 : _b2.length) === 0) { + entries.ScheduledInstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ScheduledInstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SSTR] != null) { + const memberEntries = se_SlotStartTimeRangeRequest(input[_SSTR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SlotStartTimeRange.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeScheduledInstancesRequest"); +var se_DescribeSecurityGroupReferencesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + const memberEntries = se_GroupIds(input[_GIr], context); + if (((_a2 = input[_GIr]) == null ? void 0 : _a2.length) === 0) { + entries.GroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeSecurityGroupReferencesRequest"); +var se_DescribeSecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGRI] != null) { + const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); + if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroupRuleId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSecurityGroupRulesRequest"); +var se_DescribeSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GIro] != null) { + const memberEntries = se_GroupIdStringList(input[_GIro], context); + if (((_b2 = input[_GIro]) == null ? void 0 : _b2.length) === 0) { + entries.GroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GNr] != null) { + const memberEntries = se_GroupNameStringList(input[_GNr], context); + if (((_c2 = input[_GNr]) == null ? void 0 : _c2.length) === 0) { + entries.GroupName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSecurityGroupsRequest"); +var se_DescribeSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeSnapshotAttributeRequest"); +var se_DescribeSnapshotsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_OIw] != null) { + const memberEntries = se_OwnerStringList(input[_OIw], context); + if (((_b2 = input[_OIw]) == null ? void 0 : _b2.length) === 0) { + entries.Owner = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Owner.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RBUI] != null) { + const memberEntries = se_RestorableByStringList(input[_RBUI], context); + if (((_c2 = input[_RBUI]) == null ? void 0 : _c2.length) === 0) { + entries.RestorableBy = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RestorableBy.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIna] != null) { + const memberEntries = se_SnapshotIdStringList(input[_SIna], context); + if (((_d2 = input[_SIna]) == null ? void 0 : _d2.length) === 0) { + entries.SnapshotId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeSnapshotsRequest"); +var se_DescribeSnapshotTierStatusRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSnapshotTierStatusRequest"); +var se_DescribeSpotDatafeedSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeSpotDatafeedSubscriptionRequest"); +var se_DescribeSpotFleetInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + return entries; +}, "se_DescribeSpotFleetInstancesRequest"); +var se_DescribeSpotFleetRequestHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ETv] != null) { + entries[_ETv] = input[_ETv]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_DescribeSpotFleetRequestHistoryRequest"); +var se_DescribeSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SFRI] != null) { + const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); + if (((_a2 = input[_SFRI]) == null ? void 0 : _a2.length) === 0) { + entries.SpotFleetRequestId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotFleetRequestId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeSpotFleetRequestsRequest"); +var se_DescribeSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIRI] != null) { + const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); + if (((_b2 = input[_SIRI]) == null ? void 0 : _b2.length) === 0) { + entries.SpotInstanceRequestId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSpotInstanceRequestsRequest"); +var se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ETn] != null) { + entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; + } + if (input[_ITnst] != null) { + const memberEntries = se_InstanceTypeList(input[_ITnst], context); + if (((_b2 = input[_ITnst]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_PDro] != null) { + const memberEntries = se_ProductDescriptionList(input[_PDro], context); + if (((_c2 = input[_PDro]) == null ? void 0 : _c2.length) === 0) { + entries.ProductDescription = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProductDescription.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_DescribeSpotPriceHistoryRequest"); +var se_DescribeStaleSecurityGroupsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_DescribeStaleSecurityGroupsRequest"); +var se_DescribeStoreImageTasksRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_ImageIdList(input[_IImag], context); + if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { + entries.ImageId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeStoreImageTasksRequest"); +var se_DescribeSubnetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIu] != null) { + const memberEntries = se_SubnetIdStringList(input[_SIu], context); + if (((_b2 = input[_SIu]) == null ? void 0 : _b2.length) === 0) { + entries.SubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSubnetsRequest"); +var se_DescribeTagsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeTagsRequest"); +var se_DescribeTrafficMirrorFiltersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TMFIr] != null) { + const memberEntries = se_TrafficMirrorFilterIdList(input[_TMFIr], context); + if (((_a2 = input[_TMFIr]) == null ? void 0 : _a2.length) === 0) { + entries.TrafficMirrorFilterId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TrafficMirrorFilterId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeTrafficMirrorFiltersRequest"); +var se_DescribeTrafficMirrorSessionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TMSIr] != null) { + const memberEntries = se_TrafficMirrorSessionIdList(input[_TMSIr], context); + if (((_a2 = input[_TMSIr]) == null ? void 0 : _a2.length) === 0) { + entries.TrafficMirrorSessionId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TrafficMirrorSessionId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeTrafficMirrorSessionsRequest"); +var se_DescribeTrafficMirrorTargetsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TMTIr] != null) { + const memberEntries = se_TrafficMirrorTargetIdList(input[_TMTIr], context); + if (((_a2 = input[_TMTIr]) == null ? void 0 : _a2.length) === 0) { + entries.TrafficMirrorTargetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TrafficMirrorTargetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeTrafficMirrorTargetsRequest"); +var se_DescribeTransitGatewayAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayAttachmentIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayAttachmentsRequest"); +var se_DescribeTransitGatewayConnectPeersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGCPIr] != null) { + const memberEntries = se_TransitGatewayConnectPeerIdStringList(input[_TGCPIr], context); + if (((_a2 = input[_TGCPIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayConnectPeerIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayConnectPeerIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayConnectPeersRequest"); +var se_DescribeTransitGatewayConnectsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayAttachmentIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayConnectsRequest"); +var se_DescribeTransitGatewayMulticastDomainsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGMDIr] != null) { + const memberEntries = se_TransitGatewayMulticastDomainIdStringList(input[_TGMDIr], context); + if (((_a2 = input[_TGMDIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayMulticastDomainIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayMulticastDomainIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayMulticastDomainsRequest"); +var se_DescribeTransitGatewayPeeringAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayAttachmentIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayPeeringAttachmentsRequest"); +var se_DescribeTransitGatewayPolicyTablesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGPTIr] != null) { + const memberEntries = se_TransitGatewayPolicyTableIdStringList(input[_TGPTIr], context); + if (((_a2 = input[_TGPTIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayPolicyTableIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayPolicyTableIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayPolicyTablesRequest"); +var se_DescribeTransitGatewayRouteTableAnnouncementsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGRTAIr] != null) { + const memberEntries = se_TransitGatewayRouteTableAnnouncementIdStringList(input[_TGRTAIr], context); + if (((_a2 = input[_TGRTAIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayRouteTableAnnouncementIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayRouteTableAnnouncementIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayRouteTableAnnouncementsRequest"); +var se_DescribeTransitGatewayRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGRTIr] != null) { + const memberEntries = se_TransitGatewayRouteTableIdStringList(input[_TGRTIr], context); + if (((_a2 = input[_TGRTIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayRouteTableIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayRouteTableIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayRouteTablesRequest"); +var se_DescribeTransitGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGIr] != null) { + const memberEntries = se_TransitGatewayIdStringList(input[_TGIr], context); + if (((_a2 = input[_TGIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewaysRequest"); +var se_DescribeTransitGatewayVpcAttachmentsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + if (((_a2 = input[_TGAIr]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayAttachmentIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayAttachmentIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeTransitGatewayVpcAttachmentsRequest"); +var se_DescribeTrunkInterfaceAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AIs] != null) { + const memberEntries = se_TrunkInterfaceAssociationIdList(input[_AIs], context); + if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { + entries.AssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeTrunkInterfaceAssociationsRequest"); +var se_DescribeVerifiedAccessEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VAEIe] != null) { + const memberEntries = se_VerifiedAccessEndpointIdList(input[_VAEIe], context); + if (((_a2 = input[_VAEIe]) == null ? void 0 : _a2.length) === 0) { + entries.VerifiedAccessEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VerifiedAccessEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVerifiedAccessEndpointsRequest"); +var se_DescribeVerifiedAccessGroupsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VAGIe] != null) { + const memberEntries = se_VerifiedAccessGroupIdList(input[_VAGIe], context); + if (((_a2 = input[_VAGIe]) == null ? void 0 : _a2.length) === 0) { + entries.VerifiedAccessGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VerifiedAccessGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVerifiedAccessGroupsRequest"); +var se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VAIIe] != null) { + const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); + if (((_a2 = input[_VAIIe]) == null ? void 0 : _a2.length) === 0) { + entries.VerifiedAccessInstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVerifiedAccessInstanceLoggingConfigurationsRequest"); +var se_DescribeVerifiedAccessInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VAIIe] != null) { + const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); + if (((_a2 = input[_VAIIe]) == null ? void 0 : _a2.length) === 0) { + entries.VerifiedAccessInstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VerifiedAccessInstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVerifiedAccessInstancesRequest"); +var se_DescribeVerifiedAccessTrustProvidersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_VATPIe] != null) { + const memberEntries = se_VerifiedAccessTrustProviderIdList(input[_VATPIe], context); + if (((_a2 = input[_VATPIe]) == null ? void 0 : _a2.length) === 0) { + entries.VerifiedAccessTrustProviderId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VerifiedAccessTrustProviderId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVerifiedAccessTrustProvidersRequest"); +var se_DescribeVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVolumeAttributeRequest"); +var se_DescribeVolumesModificationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIol] != null) { + const memberEntries = se_VolumeIdStringList(input[_VIol], context); + if (((_a2 = input[_VIol]) == null ? void 0 : _a2.length) === 0) { + entries.VolumeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeVolumesModificationsRequest"); +var se_DescribeVolumesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VIol] != null) { + const memberEntries = se_VolumeIdStringList(input[_VIol], context); + if (((_b2 = input[_VIol]) == null ? void 0 : _b2.length) === 0) { + entries.VolumeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVolumesRequest"); +var se_DescribeVolumeStatusRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_VIol] != null) { + const memberEntries = se_VolumeIdStringList(input[_VIol], context); + if (((_b2 = input[_VIol]) == null ? void 0 : _b2.length) === 0) { + entries.VolumeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VolumeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVolumeStatusRequest"); +var se_DescribeVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVpcAttributeRequest"); +var se_DescribeVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_VIp] != null) { + const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); + if (((_a2 = input[_VIp]) == null ? void 0 : _a2.length) === 0) { + entries.VpcIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeVpcClassicLinkDnsSupportRequest"); +var se_DescribeVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIp] != null) { + const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); + if (((_b2 = input[_VIp]) == null ? void 0 : _b2.length) === 0) { + entries.VpcId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeVpcClassicLinkRequest"); +var se_DescribeVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CNIon] != null) { + entries[_CNIon] = input[_CNIon]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointConnectionNotificationsRequest"); +var se_DescribeVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointConnectionsRequest"); +var se_DescribeVpcEndpointServiceConfigurationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIer] != null) { + const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); + if (((_a2 = input[_SIer]) == null ? void 0 : _a2.length) === 0) { + entries.ServiceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ServiceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointServiceConfigurationsRequest"); +var se_DescribeVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointServicePermissionsRequest"); +var se_DescribeVpcEndpointServicesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SNer] != null) { + const memberEntries = se_ValueStringList(input[_SNer], context); + if (((_a2 = input[_SNer]) == null ? void 0 : _a2.length) === 0) { + entries.ServiceName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ServiceName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointServicesRequest"); +var se_DescribeVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { + entries.VpcEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_b2 = input[_Fi]) == null ? void 0 : _b2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_DescribeVpcEndpointsRequest"); +var se_DescribeVpcPeeringConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VPCIp] != null) { + const memberEntries = se_VpcPeeringConnectionIdList(input[_VPCIp], context); + if (((_b2 = input[_VPCIp]) == null ? void 0 : _b2.length) === 0) { + entries.VpcPeeringConnectionId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcPeeringConnectionId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeVpcPeeringConnectionsRequest"); +var se_DescribeVpcsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VIp] != null) { + const memberEntries = se_VpcIdStringList(input[_VIp], context); + if (((_b2 = input[_VIp]) == null ? void 0 : _b2.length) === 0) { + entries.VpcId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeVpcsRequest"); +var se_DescribeVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VCIp] != null) { + const memberEntries = se_VpnConnectionIdStringList(input[_VCIp], context); + if (((_b2 = input[_VCIp]) == null ? void 0 : _b2.length) === 0) { + entries.VpnConnectionId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpnConnectionId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVpnConnectionsRequest"); +var se_DescribeVpnGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VGIp] != null) { + const memberEntries = se_VpnGatewayIdStringList(input[_VGIp], context); + if (((_b2 = input[_VGIp]) == null ? void 0 : _b2.length) === 0) { + entries.VpnGatewayId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpnGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVpnGatewaysRequest"); +var se_DestinationOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_FF] != null) { + entries[_FF] = input[_FF]; + } + if (input[_HCP] != null) { + entries[_HCP] = input[_HCP]; + } + if (input[_PHP] != null) { + entries[_PHP] = input[_PHP]; + } + return entries; +}, "se_DestinationOptionsRequest"); +var se_DetachClassicLinkVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_DetachClassicLinkVpcRequest"); +var se_DetachInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IGI] != null) { + entries[_IGI] = input[_IGI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_DetachInternetGatewayRequest"); +var se_DetachNetworkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIt] != null) { + entries[_AIt] = input[_AIt]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_F] != null) { + entries[_F] = input[_F]; + } + return entries; +}, "se_DetachNetworkInterfaceRequest"); +var se_DetachVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_VATPI] != null) { + entries[_VATPI] = input[_VATPI]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DetachVerifiedAccessTrustProviderRequest"); +var se_DetachVolumeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Dev] != null) { + entries[_Dev] = input[_Dev]; + } + if (input[_F] != null) { + entries[_F] = input[_F]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DetachVolumeRequest"); +var se_DetachVpnGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_VGI] != null) { + entries[_VGI] = input[_VGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DetachVpnGatewayRequest"); +var se_DhcpOptionsIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`DhcpOptionsId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_DhcpOptionsIdStringList"); +var se_DirectoryServiceAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DIir] != null) { + entries[_DIir] = input[_DIir]; + } + return entries; +}, "se_DirectoryServiceAuthenticationRequest"); +var se_DisableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableAddressTransferRequest"); +var se_DisableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_S] != null) { + entries[_S] = input[_S]; + } + if (input[_D] != null) { + entries[_D] = input[_D]; + } + if (input[_Met] != null) { + entries[_Met] = input[_Met]; + } + if (input[_Sta] != null) { + entries[_Sta] = input[_Sta]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableAwsNetworkPerformanceMetricSubscriptionRequest"); +var se_DisableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableEbsEncryptionByDefaultRequest"); +var se_DisableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_F] != null) { + entries[_F] = input[_F]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableFastLaunchRequest"); +var se_DisableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AZv] != null) { + const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); + if (((_a2 = input[_AZv]) == null ? void 0 : _a2.length) === 0) { + entries.AvailabilityZone = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AvailabilityZone.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SSIo] != null) { + const memberEntries = se_SnapshotIdStringList(input[_SSIo], context); + if (((_b2 = input[_SSIo]) == null ? void 0 : _b2.length) === 0) { + entries.SourceSnapshotId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceSnapshotId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableFastSnapshotRestoresRequest"); +var se_DisableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableImageBlockPublicAccessRequest"); +var se_DisableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableImageDeprecationRequest"); +var se_DisableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableImageDeregistrationProtectionRequest"); +var se_DisableImageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableImageRequest"); +var se_DisableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_DAAI] != null) { + entries[_DAAI] = input[_DAAI]; + } + return entries; +}, "se_DisableIpamOrganizationAdminAccountRequest"); +var se_DisableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableSerialConsoleAccessRequest"); +var se_DisableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableSnapshotBlockPublicAccessRequest"); +var se_DisableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TGRTAI] != null) { + entries[_TGRTAI] = input[_TGRTAI]; + } + return entries; +}, "se_DisableTransitGatewayRouteTablePropagationRequest"); +var se_DisableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableVgwRoutePropagationRequest"); +var se_DisableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_DisableVpcClassicLinkDnsSupportRequest"); +var se_DisableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_DisableVpcClassicLinkRequest"); +var se_DisassociateAddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateAddressRequest"); +var se_DisassociateClientVpnTargetNetworkRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateClientVpnTargetNetworkRequest"); +var se_DisassociateEnclaveCertificateIamRoleRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CA] != null) { + entries[_CA] = input[_CA]; + } + if (input[_RAo] != null) { + entries[_RAo] = input[_RAo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateEnclaveCertificateIamRoleRequest"); +var se_DisassociateIamInstanceProfileRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + return entries; +}, "se_DisassociateIamInstanceProfileRequest"); +var se_DisassociateInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IEWI] != null) { + entries[_IEWI] = input[_IEWI]; + } + if (input[_AT] != null) { + const memberEntries = se_InstanceEventWindowDisassociationRequest(input[_AT], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DisassociateInstanceEventWindowRequest"); +var se_DisassociateIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_As] != null) { + entries[_As] = input[_As]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + return entries; +}, "se_DisassociateIpamByoasnRequest"); +var se_DisassociateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDAIp] != null) { + entries[_IRDAIp] = input[_IRDAIp]; + } + return entries; +}, "se_DisassociateIpamResourceDiscoveryRequest"); +var se_DisassociateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_AIs] != null) { + const memberEntries = se_EipAssociationIdList(input[_AIs], context); + if (((_a2 = input[_AIs]) == null ? void 0 : _a2.length) === 0) { + entries.AssociationId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssociationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MDDS] != null) { + entries[_MDDS] = input[_MDDS]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateNatGatewayAddressRequest"); +var se_DisassociateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateRouteTableRequest"); +var se_DisassociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + return entries; +}, "se_DisassociateSubnetCidrBlockRequest"); +var se_DisassociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_SIu] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateTransitGatewayMulticastDomainRequest"); +var se_DisassociateTransitGatewayPolicyTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateTransitGatewayPolicyTableRequest"); +var se_DisassociateTransitGatewayRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateTransitGatewayRouteTableRequest"); +var se_DisassociateTrunkInterfaceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateTrunkInterfaceRequest"); +var se_DisassociateVpcCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + return entries; +}, "se_DisassociateVpcCidrBlockRequest"); +var se_DiskImage = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_Im] != null) { + const memberEntries = se_DiskImageDetail(input[_Im], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Image.${key}`; + entries[loc] = value; + }); + } + if (input[_Vo] != null) { + const memberEntries = se_VolumeDetail(input[_Vo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Volume.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DiskImage"); +var se_DiskImageDetail = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_By] != null) { + entries[_By] = input[_By]; + } + if (input[_Fo] != null) { + entries[_Fo] = input[_Fo]; + } + if (input[_IMU] != null) { + entries[_IMU] = input[_IMU]; + } + return entries; +}, "se_DiskImageDetail"); +var se_DiskImageList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_DiskImage(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_DiskImageList"); +var se_DnsOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRIT] != null) { + entries[_DRIT] = input[_DRIT]; + } + if (input[_PDOFIRE] != null) { + entries[_PDOFIRE] = input[_PDOFIRE]; + } + return entries; +}, "se_DnsOptionsSpecification"); +var se_DnsServersOptionsModifyStructure = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CDSu] != null) { + const memberEntries = se_ValueStringList(input[_CDSu], context); + if (((_a2 = input[_CDSu]) == null ? void 0 : _a2.length) === 0) { + entries.CustomDnsServers = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CustomDnsServers.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_DnsServersOptionsModifyStructure"); +var se_EbsBlockDevice = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_Io] != null) { + entries[_Io] = input[_Io]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_VS] != null) { + entries[_VS] = input[_VS]; + } + if (input[_VT] != null) { + entries[_VT] = input[_VT]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_Th] != null) { + entries[_Th] = input[_Th]; + } + if (input[_OA] != null) { + entries[_OA] = input[_OA]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + return entries; +}, "se_EbsBlockDevice"); +var se_EbsInstanceBlockDeviceSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + return entries; +}, "se_EbsInstanceBlockDeviceSpecification"); +var se_EgressOnlyInternetGatewayIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_EgressOnlyInternetGatewayIdList"); +var se_EipAssociationIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_EipAssociationIdList"); +var se_ElasticGpuIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ElasticGpuIdSet"); +var se_ElasticGpuSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_T] != null) { + entries[_T] = input[_T]; + } + return entries; +}, "se_ElasticGpuSpecification"); +var se_ElasticGpuSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ElasticGpuSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`ElasticGpuSpecification.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ElasticGpuSpecificationList"); +var se_ElasticGpuSpecifications = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ElasticGpuSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ElasticGpuSpecifications"); +var se_ElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_Cou] != null) { + entries[_Cou] = input[_Cou]; + } + return entries; +}, "se_ElasticInferenceAccelerator"); +var se_ElasticInferenceAccelerators = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ElasticInferenceAccelerator(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ElasticInferenceAccelerators"); +var se_EnableAddressTransferRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_TAI] != null) { + entries[_TAI] = input[_TAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableAddressTransferRequest"); +var se_EnableAwsNetworkPerformanceMetricSubscriptionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_S] != null) { + entries[_S] = input[_S]; + } + if (input[_D] != null) { + entries[_D] = input[_D]; + } + if (input[_Met] != null) { + entries[_Met] = input[_Met]; + } + if (input[_Sta] != null) { + entries[_Sta] = input[_Sta]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableAwsNetworkPerformanceMetricSubscriptionRequest"); +var se_EnableEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableEbsEncryptionByDefaultRequest"); +var se_EnableFastLaunchRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_SCn] != null) { + const memberEntries = se_FastLaunchSnapshotConfigurationRequest(input[_SCn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SnapshotConfiguration.${key}`; + entries[loc] = value; + }); + } + if (input[_LTa] != null) { + const memberEntries = se_FastLaunchLaunchTemplateSpecificationRequest(input[_LTa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplate.${key}`; + entries[loc] = value; + }); + } + if (input[_MPL] != null) { + entries[_MPL] = input[_MPL]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableFastLaunchRequest"); +var se_EnableFastSnapshotRestoresRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AZv] != null) { + const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); + if (((_a2 = input[_AZv]) == null ? void 0 : _a2.length) === 0) { + entries.AvailabilityZone = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AvailabilityZone.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SSIo] != null) { + const memberEntries = se_SnapshotIdStringList(input[_SSIo], context); + if (((_b2 = input[_SSIo]) == null ? void 0 : _b2.length) === 0) { + entries.SourceSnapshotId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceSnapshotId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableFastSnapshotRestoresRequest"); +var se_EnableImageBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IBPAS] != null) { + entries[_IBPAS] = input[_IBPAS]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableImageBlockPublicAccessRequest"); +var se_EnableImageDeprecationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DAe] != null) { + entries[_DAe] = input[_DAe].toISOString().split(".")[0] + "Z"; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableImageDeprecationRequest"); +var se_EnableImageDeregistrationProtectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_WC] != null) { + entries[_WC] = input[_WC]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableImageDeregistrationProtectionRequest"); +var se_EnableImageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableImageRequest"); +var se_EnableIpamOrganizationAdminAccountRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_DAAI] != null) { + entries[_DAAI] = input[_DAAI]; + } + return entries; +}, "se_EnableIpamOrganizationAdminAccountRequest"); +var se_EnableReachabilityAnalyzerOrganizationSharingRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableReachabilityAnalyzerOrganizationSharingRequest"); +var se_EnableSerialConsoleAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableSerialConsoleAccessRequest"); +var se_EnableSnapshotBlockPublicAccessRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Stat] != null) { + entries[_Stat] = input[_Stat]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableSnapshotBlockPublicAccessRequest"); +var se_EnableTransitGatewayRouteTablePropagationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TGRTAI] != null) { + entries[_TGRTAI] = input[_TGRTAI]; + } + return entries; +}, "se_EnableTransitGatewayRouteTablePropagationRequest"); +var se_EnableVgwRoutePropagationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_EnableVgwRoutePropagationRequest"); +var se_EnableVolumeIORequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + return entries; +}, "se_EnableVolumeIORequest"); +var se_EnableVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_EnableVpcClassicLinkDnsSupportRequest"); +var se_EnableVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_EnableVpcClassicLinkRequest"); +var se_EnaSrdSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ESE] != null) { + entries[_ESE] = input[_ESE]; + } + if (input[_ESUS] != null) { + const memberEntries = se_EnaSrdUdpSpecification(input[_ESUS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdUdpSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_EnaSrdSpecification"); +var se_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ESE] != null) { + entries[_ESE] = input[_ESE]; + } + if (input[_ESUS] != null) { + const memberEntries = se_EnaSrdUdpSpecificationRequest(input[_ESUS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdUdpSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_EnaSrdSpecificationRequest"); +var se_EnaSrdUdpSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ESUE] != null) { + entries[_ESUE] = input[_ESUE]; + } + return entries; +}, "se_EnaSrdUdpSpecification"); +var se_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ESUE] != null) { + entries[_ESUE] = input[_ESUE]; + } + return entries; +}, "se_EnaSrdUdpSpecificationRequest"); +var se_EnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_EnclaveOptionsRequest"); +var se_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ExcludedInstanceTypeSet"); +var se_ExecutableByStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ExecutableBy.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ExecutableByStringList"); +var se_ExportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ExportClientVpnClientCertificateRevocationListRequest"); +var se_ExportClientVpnClientConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ExportClientVpnClientConfigurationRequest"); +var se_ExportImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DIFi] != null) { + entries[_DIFi] = input[_DIFi]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_SEL] != null) { + const memberEntries = se_ExportTaskS3LocationRequest(input[_SEL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `S3ExportLocation.${key}`; + entries[loc] = value; + }); + } + if (input[_RNo] != null) { + entries[_RNo] = input[_RNo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ExportImageRequest"); +var se_ExportImageTaskIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ExportImageTaskId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ExportImageTaskIdList"); +var se_ExportTaskIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ExportTaskId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ExportTaskIdStringList"); +var se_ExportTaskS3LocationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SB] != null) { + entries[_SB] = input[_SB]; + } + if (input[_SP] != null) { + entries[_SP] = input[_SP]; + } + return entries; +}, "se_ExportTaskS3LocationRequest"); +var se_ExportToS3TaskSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CFo] != null) { + entries[_CFo] = input[_CFo]; + } + if (input[_DIFi] != null) { + entries[_DIFi] = input[_DIFi]; + } + if (input[_SB] != null) { + entries[_SB] = input[_SB]; + } + if (input[_SP] != null) { + entries[_SP] = input[_SP]; + } + return entries; +}, "se_ExportToS3TaskSpecification"); +var se_ExportTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SB] != null) { + entries[_SB] = input[_SB]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ExportTransitGatewayRoutesRequest"); +var se_FastLaunchImageIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ImageId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_FastLaunchImageIdList"); +var se_FastLaunchLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_V] != null) { + entries[_V] = input[_V]; + } + return entries; +}, "se_FastLaunchLaunchTemplateSpecificationRequest"); +var se_FastLaunchSnapshotConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TRC] != null) { + entries[_TRC] = input[_TRC]; + } + return entries; +}, "se_FastLaunchSnapshotConfigurationRequest"); +var se_FederatedAuthenticationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SAMLPA] != null) { + entries[_SAMLPA] = input[_SAMLPA]; + } + if (input[_SSSAMLPA] != null) { + entries[_SSSAMLPA] = input[_SSSAMLPA]; + } + return entries; +}, "se_FederatedAuthenticationRequest"); +var se_Filter = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_Val] != null) { + const memberEntries = se_ValueStringList(input[_Val], context); + if (((_a2 = input[_Val]) == null ? void 0 : _a2.length) === 0) { + entries.Value = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Value.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_Filter"); +var se_FilterList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Filter(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Filter.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_FilterList"); +var se_FleetIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_FleetIdSet"); +var se_FleetLaunchTemplateConfigListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_FleetLaunchTemplateConfigRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_FleetLaunchTemplateConfigListRequest"); +var se_FleetLaunchTemplateConfigRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LTS] != null) { + const memberEntries = se_FleetLaunchTemplateSpecificationRequest(input[_LTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_Ov] != null) { + const memberEntries = se_FleetLaunchTemplateOverridesListRequest(input[_Ov], context); + if (((_a2 = input[_Ov]) == null ? void 0 : _a2.length) === 0) { + entries.Overrides = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Overrides.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_FleetLaunchTemplateConfigRequest"); +var se_FleetLaunchTemplateOverridesListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_FleetLaunchTemplateOverridesRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_FleetLaunchTemplateOverridesListRequest"); +var se_FleetLaunchTemplateOverridesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_MPa] != null) { + entries[_MPa] = input[_MPa]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_WCe] != null) { + entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]); + } + if (input[_Pri] != null) { + entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]); + } + if (input[_Pl] != null) { + const memberEntries = se_Placement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + return entries; +}, "se_FleetLaunchTemplateOverridesRequest"); +var se_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_V] != null) { + entries[_V] = input[_V]; + } + return entries; +}, "se_FleetLaunchTemplateSpecification"); +var se_FleetLaunchTemplateSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_V] != null) { + entries[_V] = input[_V]; + } + return entries; +}, "se_FleetLaunchTemplateSpecificationRequest"); +var se_FleetSpotCapacityRebalanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RS] != null) { + entries[_RS] = input[_RS]; + } + if (input[_TDe] != null) { + entries[_TDe] = input[_TDe]; + } + return entries; +}, "se_FleetSpotCapacityRebalanceRequest"); +var se_FleetSpotMaintenanceStrategiesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRap] != null) { + const memberEntries = se_FleetSpotCapacityRebalanceRequest(input[_CRap], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityRebalance.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_FleetSpotMaintenanceStrategiesRequest"); +var se_FlowLogIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_FlowLogIdList"); +var se_FlowLogResourceIds = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_FlowLogResourceIds"); +var se_FpgaImageIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_FpgaImageIdList"); +var se_GetAssociatedEnclaveCertificateIamRolesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CA] != null) { + entries[_CA] = input[_CA]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetAssociatedEnclaveCertificateIamRolesRequest"); +var se_GetAssociatedIpv6PoolCidrsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetAssociatedIpv6PoolCidrsRequest"); +var se_GetAwsNetworkPerformanceDataRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DQ] != null) { + const memberEntries = se_DataQueries(input[_DQ], context); + if (((_a2 = input[_DQ]) == null ? void 0 : _a2.length) === 0) { + entries.DataQuery = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DataQuery.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + if (input[_ETn] != null) { + entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetAwsNetworkPerformanceDataRequest"); +var se_GetCapacityReservationUsageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetCapacityReservationUsageRequest"); +var se_GetCoipPoolUsageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetCoipPoolUsageRequest"); +var se_GetConsoleOutputRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_La] != null) { + entries[_La] = input[_La]; + } + return entries; +}, "se_GetConsoleOutputRequest"); +var se_GetConsoleScreenshotRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_WU] != null) { + entries[_WU] = input[_WU]; + } + return entries; +}, "se_GetConsoleScreenshotRequest"); +var se_GetDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + return entries; +}, "se_GetDefaultCreditSpecificationRequest"); +var se_GetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetEbsDefaultKmsKeyIdRequest"); +var se_GetEbsEncryptionByDefaultRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetEbsEncryptionByDefaultRequest"); +var se_GetFlowLogsIntegrationTemplateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FLIl] != null) { + entries[_FLIl] = input[_FLIl]; + } + if (input[_CDSDA] != null) { + entries[_CDSDA] = input[_CDSDA]; + } + if (input[_ISnt] != null) { + const memberEntries = se_IntegrateServices(input[_ISnt], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IntegrateService.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_GetFlowLogsIntegrationTemplateRequest"); +var se_GetGroupsForCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetGroupsForCapacityReservationRequest"); +var se_GetHostReservationPurchasePreviewRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_HIS] != null) { + const memberEntries = se_RequestHostIdSet(input[_HIS], context); + if (((_a2 = input[_HIS]) == null ? void 0 : _a2.length) === 0) { + entries.HostIdSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostIdSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_OI] != null) { + entries[_OI] = input[_OI]; + } + return entries; +}, "se_GetHostReservationPurchasePreviewRequest"); +var se_GetImageBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetImageBlockPublicAccessStateRequest"); +var se_GetInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetInstanceMetadataDefaultsRequest"); +var se_GetInstanceTpmEkPubRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_KT] != null) { + entries[_KT] = input[_KT]; + } + if (input[_KF] != null) { + entries[_KF] = input[_KF]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetInstanceTpmEkPubRequest"); +var se_GetInstanceTypesFromInstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ATr] != null) { + const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); + if (((_a2 = input[_ATr]) == null ? void 0 : _a2.length) === 0) { + entries.ArchitectureType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ArchitectureType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VTi] != null) { + const memberEntries = se_VirtualizationTypeSet(input[_VTi], context); + if (((_b2 = input[_VTi]) == null ? void 0 : _b2.length) === 0) { + entries.VirtualizationType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VirtualizationType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetInstanceTypesFromInstanceRequirementsRequest"); +var se_GetInstanceUefiDataRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetInstanceUefiDataRequest"); +var se_GetIpamAddressHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_ISI] != null) { + entries[_ISI] = input[_ISI]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + if (input[_ETn] != null) { + entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetIpamAddressHistoryRequest"); +var se_GetIpamDiscoveredAccountsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + if (input[_DRi] != null) { + entries[_DRi] = input[_DRi]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_GetIpamDiscoveredAccountsRequest"); +var se_GetIpamDiscoveredPublicAddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + if (input[_ARd] != null) { + entries[_ARd] = input[_ARd]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_GetIpamDiscoveredPublicAddressesRequest"); +var se_GetIpamDiscoveredResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + if (input[_RRe] != null) { + entries[_RRe] = input[_RRe]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_GetIpamDiscoveredResourceCidrsRequest"); +var se_GetIpamPoolAllocationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_IPAI] != null) { + entries[_IPAI] = input[_IPAI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetIpamPoolAllocationsRequest"); +var se_GetIpamPoolCidrsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetIpamPoolCidrsRequest"); +var se_GetIpamResourceCidrsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_ISI] != null) { + entries[_ISI] = input[_ISI]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_RIeso] != null) { + entries[_RIeso] = input[_RIeso]; + } + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_RTes] != null) { + const memberEntries = se_RequestIpamResourceTag(input[_RTes], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceTag.${key}`; + entries[loc] = value; + }); + } + if (input[_RO] != null) { + entries[_RO] = input[_RO]; + } + return entries; +}, "se_GetIpamResourceCidrsRequest"); +var se_GetLaunchTemplateDataRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + return entries; +}, "se_GetLaunchTemplateDataRequest"); +var se_GetManagedPrefixListAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetManagedPrefixListAssociationsRequest"); +var se_GetManagedPrefixListEntriesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_TV] != null) { + entries[_TV] = input[_TV]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetManagedPrefixListEntriesRequest"); +var se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIASAI] != null) { + entries[_NIASAI] = input[_NIASAI]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetNetworkInsightsAccessScopeAnalysisFindingsRequest"); +var se_GetNetworkInsightsAccessScopeContentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIASI] != null) { + entries[_NIASI] = input[_NIASI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetNetworkInsightsAccessScopeContentRequest"); +var se_GetPasswordDataRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetPasswordDataRequest"); +var se_GetReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RII] != null) { + const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); + if (((_a2 = input[_RII]) == null ? void 0 : _a2.length) === 0) { + entries.ReservedInstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TC] != null) { + const memberEntries = se_TargetConfigurationRequestSet(input[_TC], context); + if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { + entries.TargetConfiguration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_GetReservedInstancesExchangeQuoteRequest"); +var se_GetSecurityGroupsForVpcRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetSecurityGroupsForVpcRequest"); +var se_GetSerialConsoleAccessStatusRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetSerialConsoleAccessStatusRequest"); +var se_GetSnapshotBlockPublicAccessStateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetSnapshotBlockPublicAccessStateRequest"); +var se_GetSpotPlacementScoresRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_ITnst] != null) { + const memberEntries = se_InstanceTypes(input[_ITnst], context); + if (((_a2 = input[_ITnst]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TCa] != null) { + entries[_TCa] = input[_TCa]; + } + if (input[_TCUT] != null) { + entries[_TCUT] = input[_TCUT]; + } + if (input[_SAZ] != null) { + entries[_SAZ] = input[_SAZ]; + } + if (input[_RNe] != null) { + const memberEntries = se_RegionNames(input[_RNe], context); + if (((_b2 = input[_RNe]) == null ? void 0 : _b2.length) === 0) { + entries.RegionName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RegionName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IRWM] != null) { + const memberEntries = se_InstanceRequirementsWithMetadataRequest(input[_IRWM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirementsWithMetadata.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + return entries; +}, "se_GetSpotPlacementScoresRequest"); +var se_GetSubnetCidrReservationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_GetSubnetCidrReservationsRequest"); +var se_GetTransitGatewayAttachmentPropagationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayAttachmentPropagationsRequest"); +var se_GetTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayMulticastDomainAssociationsRequest"); +var se_GetTransitGatewayPolicyTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayPolicyTableAssociationsRequest"); +var se_GetTransitGatewayPolicyTableEntriesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayPolicyTableEntriesRequest"); +var se_GetTransitGatewayPrefixListReferencesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayPrefixListReferencesRequest"); +var se_GetTransitGatewayRouteTableAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayRouteTableAssociationsRequest"); +var se_GetTransitGatewayRouteTablePropagationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetTransitGatewayRouteTablePropagationsRequest"); +var se_GetVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAEI] != null) { + entries[_VAEI] = input[_VAEI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetVerifiedAccessEndpointPolicyRequest"); +var se_GetVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetVerifiedAccessGroupPolicyRequest"); +var se_GetVpnConnectionDeviceSampleConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_VCDTI] != null) { + entries[_VCDTI] = input[_VCDTI]; + } + if (input[_IKEV] != null) { + entries[_IKEV] = input[_IKEV]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetVpnConnectionDeviceSampleConfigurationRequest"); +var se_GetVpnConnectionDeviceTypesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetVpnConnectionDeviceTypesRequest"); +var se_GetVpnTunnelReplacementStatusRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_VTOIA] != null) { + entries[_VTOIA] = input[_VTOIA]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetVpnTunnelReplacementStatusRequest"); +var se_GroupIdentifier = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + return entries; +}, "se_GroupIdentifier"); +var se_GroupIdentifierList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_GroupIdentifier(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_GroupIdentifierList"); +var se_GroupIds = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_GroupIds"); +var se_GroupIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`GroupId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_GroupIdStringList"); +var se_GroupNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`GroupName.${counter}`] = entry; + counter++; + } + return entries; +}, "se_GroupNameStringList"); +var se_HibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Conf] != null) { + entries[_Conf] = input[_Conf]; + } + return entries; +}, "se_HibernationOptionsRequest"); +var se_HostReservationIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_HostReservationIdSet"); +var se_IamInstanceProfileSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ar] != null) { + entries[_Ar] = input[_Ar]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + return entries; +}, "se_IamInstanceProfileSpecification"); +var se_IcmpTypeCode = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Cod] != null) { + entries[_Cod] = input[_Cod]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + return entries; +}, "se_IcmpTypeCode"); +var se_IKEVersionsRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_IKEVersionsRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_IKEVersionsRequestList"); +var se_IKEVersionsRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_IKEVersionsRequestListValue"); +var se_ImageDiskContainer = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_Fo] != null) { + entries[_Fo] = input[_Fo]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_U] != null) { + entries[_U] = input[_U]; + } + if (input[_UB] != null) { + const memberEntries = se_UserBucket(input[_UB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserBucket.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImageDiskContainer"); +var se_ImageDiskContainerList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ImageDiskContainer(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ImageDiskContainerList"); +var se_ImageIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ImageIdList"); +var se_ImageIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ImageId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ImageIdStringList"); +var se_ImportClientVpnClientCertificateRevocationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_CRL] != null) { + entries[_CRL] = input[_CRL]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ImportClientVpnClientCertificateRevocationListRequest"); +var se_ImportImageLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LCA] != null) { + entries[_LCA] = input[_LCA]; + } + return entries; +}, "se_ImportImageLicenseConfigurationRequest"); +var se_ImportImageLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ImportImageLicenseConfigurationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ImportImageLicenseSpecificationListRequest"); +var se_ImportImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_CD] != null) { + const memberEntries = se_ClientData(input[_CD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientData.${key}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DCi] != null) { + const memberEntries = se_ImageDiskContainerList(input[_DCi], context); + if (((_a2 = input[_DCi]) == null ? void 0 : _a2.length) === 0) { + entries.DiskContainer = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DiskContainer.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_H] != null) { + entries[_H] = input[_H]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_LTi] != null) { + entries[_LTi] = input[_LTi]; + } + if (input[_Pla] != null) { + entries[_Pla] = input[_Pla]; + } + if (input[_RNo] != null) { + entries[_RNo] = input[_RNo]; + } + if (input[_LSi] != null) { + const memberEntries = se_ImportImageLicenseSpecificationListRequest(input[_LSi], context); + if (((_b2 = input[_LSi]) == null ? void 0 : _b2.length) === 0) { + entries.LicenseSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LicenseSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_UO] != null) { + entries[_UO] = input[_UO]; + } + if (input[_BM] != null) { + entries[_BM] = input[_BM]; + } + return entries; +}, "se_ImportImageRequest"); +var se_ImportInstanceLaunchSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_GIro] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_GIro], context); + if (((_a2 = input[_GIro]) == null ? void 0 : _a2.length) === 0) { + entries.GroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GNr] != null) { + const memberEntries = se_SecurityGroupStringList(input[_GNr], context); + if (((_b2 = input[_GNr]) == null ? void 0 : _b2.length) === 0) { + entries.GroupName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IISB] != null) { + entries[_IISB] = input[_IISB]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_Mon] != null) { + entries[_Mon] = input[_Mon]; + } + if (input[_Pl] != null) { + const memberEntries = se_Placement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_UD] != null) { + const memberEntries = se_UserData(input[_UD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserData.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImportInstanceLaunchSpecification"); +var se_ImportInstanceRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DIis] != null) { + const memberEntries = se_DiskImageList(input[_DIis], context); + if (((_a2 = input[_DIis]) == null ? void 0 : _a2.length) === 0) { + entries.DiskImage = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DiskImage.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LSa] != null) { + const memberEntries = se_ImportInstanceLaunchSpecification(input[_LSa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_Pla] != null) { + entries[_Pla] = input[_Pla]; + } + return entries; +}, "se_ImportInstanceRequest"); +var se_ImportKeyPairRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_PKM] != null) { + entries[_PKM] = context.base64Encoder(input[_PKM]); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImportKeyPairRequest"); +var se_ImportSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CD] != null) { + const memberEntries = se_ClientData(input[_CD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientData.${key}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DCis] != null) { + const memberEntries = se_SnapshotDiskContainer(input[_DCis], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DiskContainer.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_RNo] != null) { + entries[_RNo] = input[_RNo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImportSnapshotRequest"); +var se_ImportSnapshotTaskIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ImportTaskId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ImportSnapshotTaskIdList"); +var se_ImportTaskIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ImportTaskId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ImportTaskIdList"); +var se_ImportVolumeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Im] != null) { + const memberEntries = se_DiskImageDetail(input[_Im], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Image.${key}`; + entries[loc] = value; + }); + } + if (input[_Vo] != null) { + const memberEntries = se_VolumeDetail(input[_Vo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Volume.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImportVolumeRequest"); +var se_InsideCidrBlocksStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InsideCidrBlocksStringList"); +var se_InstanceBlockDeviceMappingSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_E] != null) { + const memberEntries = se_EbsInstanceBlockDeviceSpecification(input[_E], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ebs.${key}`; + entries[loc] = value; + }); + } + if (input[_ND] != null) { + entries[_ND] = input[_ND]; + } + if (input[_VN] != null) { + entries[_VN] = input[_VN]; + } + return entries; +}, "se_InstanceBlockDeviceMappingSpecification"); +var se_InstanceBlockDeviceMappingSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceBlockDeviceMappingSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceBlockDeviceMappingSpecificationList"); +var se_InstanceCreditSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceCreditSpecificationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceCreditSpecificationListRequest"); +var se_InstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_CCp] != null) { + entries[_CCp] = input[_CCp]; + } + return entries; +}, "se_InstanceCreditSpecificationRequest"); +var se_InstanceEventWindowAssociationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITnsta] != null) { + const memberEntries = se_TagList(input[_ITnsta], context); + if (((_b2 = input[_ITnsta]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DHI] != null) { + const memberEntries = se_DedicatedHostIdList(input[_DHI], context); + if (((_c2 = input[_DHI]) == null ? void 0 : _c2.length) === 0) { + entries.DedicatedHostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceEventWindowAssociationRequest"); +var se_InstanceEventWindowDisassociationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITnsta] != null) { + const memberEntries = se_TagList(input[_ITnsta], context); + if (((_b2 = input[_ITnsta]) == null ? void 0 : _b2.length) === 0) { + entries.InstanceTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DHI] != null) { + const memberEntries = se_DedicatedHostIdList(input[_DHI], context); + if (((_c2 = input[_DHI]) == null ? void 0 : _c2.length) === 0) { + entries.DedicatedHostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DedicatedHostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceEventWindowDisassociationRequest"); +var se_InstanceEventWindowIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`InstanceEventWindowId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceEventWindowIdSet"); +var se_InstanceEventWindowTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SWD] != null) { + entries[_SWD] = input[_SWD]; + } + if (input[_SH] != null) { + entries[_SH] = input[_SH]; + } + if (input[_EWD] != null) { + entries[_EWD] = input[_EWD]; + } + if (input[_EH] != null) { + entries[_EH] = input[_EH]; + } + return entries; +}, "se_InstanceEventWindowTimeRangeRequest"); +var se_InstanceEventWindowTimeRangeRequestSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceEventWindowTimeRangeRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceEventWindowTimeRangeRequestSet"); +var se_InstanceGenerationSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceGenerationSet"); +var se_InstanceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceIdList"); +var se_InstanceIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`InstanceId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceIdStringList"); +var se_InstanceIpv6Address = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IApv] != null) { + entries[_IApv] = input[_IApv]; + } + if (input[_IPIs] != null) { + entries[_IPIs] = input[_IPIs]; + } + return entries; +}, "se_InstanceIpv6Address"); +var se_InstanceIpv6AddressList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceIpv6Address(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceIpv6AddressList"); +var se_InstanceIpv6AddressListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceIpv6AddressRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`InstanceIpv6Address.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceIpv6AddressListRequest"); +var se_InstanceIpv6AddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IApv] != null) { + entries[_IApv] = input[_IApv]; + } + return entries; +}, "se_InstanceIpv6AddressRequest"); +var se_InstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ARu] != null) { + entries[_ARu] = input[_ARu]; + } + return entries; +}, "se_InstanceMaintenanceOptionsRequest"); +var se_InstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MT] != null) { + entries[_MT] = input[_MT]; + } + if (input[_SO] != null) { + const memberEntries = se_SpotMarketOptions(input[_SO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceMarketOptionsRequest"); +var se_InstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_HT] != null) { + entries[_HT] = input[_HT]; + } + if (input[_HPRHL] != null) { + entries[_HPRHL] = input[_HPRHL]; + } + if (input[_HE] != null) { + entries[_HE] = input[_HE]; + } + if (input[_HPI] != null) { + entries[_HPI] = input[_HPI]; + } + if (input[_IMT] != null) { + entries[_IMT] = input[_IMT]; + } + return entries; +}, "se_InstanceMetadataOptionsRequest"); +var se_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2; + const entries = {}; + if (input[_APIAs] != null) { + entries[_APIAs] = input[_APIAs]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DIev] != null) { + entries[_DIev] = input[_DIev]; + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); + if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Addresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); + if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { + entries.PrivateIpAddresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_ACIA] != null) { + entries[_ACIA] = input[_ACIA]; + } + if (input[_ITn] != null) { + entries[_ITn] = input[_ITn]; + } + if (input[_NCI] != null) { + entries[_NCI] = input[_NCI]; + } + if (input[_IPp] != null) { + const memberEntries = se_Ipv4PrefixList(input[_IPp], context); + if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { + entries.Ipv4Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPCp] != null) { + entries[_IPCp] = input[_IPCp]; + } + if (input[_IP] != null) { + const memberEntries = se_Ipv6PrefixList(input[_IP], context); + if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { + entries.Ipv6Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPC] != null) { + entries[_IPC] = input[_IPC]; + } + if (input[_PIr] != null) { + entries[_PIr] = input[_PIr]; + } + if (input[_ESS] != null) { + const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_CTS] != null) { + const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionTrackingSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceNetworkInterfaceSpecification"); +var se_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_InstanceNetworkInterfaceSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_InstanceNetworkInterfaceSpecificationList"); +var se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; + const entries = {}; + if (input[_VCC] != null) { + const memberEntries = se_VCpuCountRange(input[_VCC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VCpuCount.${key}`; + entries[loc] = value; + }); + } + if (input[_MMB] != null) { + const memberEntries = se_MemoryMiB(input[_MMB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MemoryMiB.${key}`; + entries[loc] = value; + }); + } + if (input[_CM] != null) { + const memberEntries = se_CpuManufacturerSet(input[_CM], context); + if (((_a2 = input[_CM]) == null ? void 0 : _a2.length) === 0) { + entries.CpuManufacturerSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CpuManufacturerSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MGBPVC] != null) { + const memberEntries = se_MemoryGiBPerVCpu(input[_MGBPVC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MemoryGiBPerVCpu.${key}`; + entries[loc] = value; + }); + } + if (input[_EIT] != null) { + const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context); + if (((_b2 = input[_EIT]) == null ? void 0 : _b2.length) === 0) { + entries.ExcludedInstanceTypeSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExcludedInstanceTypeSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IG] != null) { + const memberEntries = se_InstanceGenerationSet(input[_IG], context); + if (((_c2 = input[_IG]) == null ? void 0 : _c2.length) === 0) { + entries.InstanceGenerationSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceGenerationSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SMPPOLP] != null) { + entries[_SMPPOLP] = input[_SMPPOLP]; + } + if (input[_ODMPPOLP] != null) { + entries[_ODMPPOLP] = input[_ODMPPOLP]; + } + if (input[_BMa] != null) { + entries[_BMa] = input[_BMa]; + } + if (input[_BP] != null) { + entries[_BP] = input[_BP]; + } + if (input[_RHS] != null) { + entries[_RHS] = input[_RHS]; + } + if (input[_NIC] != null) { + const memberEntries = se_NetworkInterfaceCount(input[_NIC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceCount.${key}`; + entries[loc] = value; + }); + } + if (input[_LSo] != null) { + entries[_LSo] = input[_LSo]; + } + if (input[_LST] != null) { + const memberEntries = se_LocalStorageTypeSet(input[_LST], context); + if (((_d2 = input[_LST]) == null ? void 0 : _d2.length) === 0) { + entries.LocalStorageTypeSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalStorageTypeSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TLSGB] != null) { + const memberEntries = se_TotalLocalStorageGB(input[_TLSGB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TotalLocalStorageGB.${key}`; + entries[loc] = value; + }); + } + if (input[_BEBM] != null) { + const memberEntries = se_BaselineEbsBandwidthMbps(input[_BEBM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BaselineEbsBandwidthMbps.${key}`; + entries[loc] = value; + }); + } + if (input[_ATc] != null) { + const memberEntries = se_AcceleratorTypeSet(input[_ATc], context); + if (((_e2 = input[_ATc]) == null ? void 0 : _e2.length) === 0) { + entries.AcceleratorTypeSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorTypeSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ACc] != null) { + const memberEntries = se_AcceleratorCount(input[_ACc], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorCount.${key}`; + entries[loc] = value; + }); + } + if (input[_AM] != null) { + const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context); + if (((_f2 = input[_AM]) == null ? void 0 : _f2.length) === 0) { + entries.AcceleratorManufacturerSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorManufacturerSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ANc] != null) { + const memberEntries = se_AcceleratorNameSet(input[_ANc], context); + if (((_g2 = input[_ANc]) == null ? void 0 : _g2.length) === 0) { + entries.AcceleratorNameSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorNameSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ATMMB] != null) { + const memberEntries = se_AcceleratorTotalMemoryMiB(input[_ATMMB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorTotalMemoryMiB.${key}`; + entries[loc] = value; + }); + } + if (input[_NBGe] != null) { + const memberEntries = se_NetworkBandwidthGbps(input[_NBGe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkBandwidthGbps.${key}`; + entries[loc] = value; + }); + } + if (input[_AIT] != null) { + const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context); + if (((_h2 = input[_AIT]) == null ? void 0 : _h2.length) === 0) { + entries.AllowedInstanceTypeSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllowedInstanceTypeSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MSPAPOOODP] != null) { + entries[_MSPAPOOODP] = input[_MSPAPOOODP]; + } + return entries; +}, "se_InstanceRequirements"); +var se_InstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; + const entries = {}; + if (input[_VCC] != null) { + const memberEntries = se_VCpuCountRangeRequest(input[_VCC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VCpuCount.${key}`; + entries[loc] = value; + }); + } + if (input[_MMB] != null) { + const memberEntries = se_MemoryMiBRequest(input[_MMB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MemoryMiB.${key}`; + entries[loc] = value; + }); + } + if (input[_CM] != null) { + const memberEntries = se_CpuManufacturerSet(input[_CM], context); + if (((_a2 = input[_CM]) == null ? void 0 : _a2.length) === 0) { + entries.CpuManufacturer = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CpuManufacturer.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MGBPVC] != null) { + const memberEntries = se_MemoryGiBPerVCpuRequest(input[_MGBPVC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MemoryGiBPerVCpu.${key}`; + entries[loc] = value; + }); + } + if (input[_EIT] != null) { + const memberEntries = se_ExcludedInstanceTypeSet(input[_EIT], context); + if (((_b2 = input[_EIT]) == null ? void 0 : _b2.length) === 0) { + entries.ExcludedInstanceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExcludedInstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IG] != null) { + const memberEntries = se_InstanceGenerationSet(input[_IG], context); + if (((_c2 = input[_IG]) == null ? void 0 : _c2.length) === 0) { + entries.InstanceGeneration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceGeneration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SMPPOLP] != null) { + entries[_SMPPOLP] = input[_SMPPOLP]; + } + if (input[_ODMPPOLP] != null) { + entries[_ODMPPOLP] = input[_ODMPPOLP]; + } + if (input[_BMa] != null) { + entries[_BMa] = input[_BMa]; + } + if (input[_BP] != null) { + entries[_BP] = input[_BP]; + } + if (input[_RHS] != null) { + entries[_RHS] = input[_RHS]; + } + if (input[_NIC] != null) { + const memberEntries = se_NetworkInterfaceCountRequest(input[_NIC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceCount.${key}`; + entries[loc] = value; + }); + } + if (input[_LSo] != null) { + entries[_LSo] = input[_LSo]; + } + if (input[_LST] != null) { + const memberEntries = se_LocalStorageTypeSet(input[_LST], context); + if (((_d2 = input[_LST]) == null ? void 0 : _d2.length) === 0) { + entries.LocalStorageType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LocalStorageType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TLSGB] != null) { + const memberEntries = se_TotalLocalStorageGBRequest(input[_TLSGB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TotalLocalStorageGB.${key}`; + entries[loc] = value; + }); + } + if (input[_BEBM] != null) { + const memberEntries = se_BaselineEbsBandwidthMbpsRequest(input[_BEBM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BaselineEbsBandwidthMbps.${key}`; + entries[loc] = value; + }); + } + if (input[_ATc] != null) { + const memberEntries = se_AcceleratorTypeSet(input[_ATc], context); + if (((_e2 = input[_ATc]) == null ? void 0 : _e2.length) === 0) { + entries.AcceleratorType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ACc] != null) { + const memberEntries = se_AcceleratorCountRequest(input[_ACc], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorCount.${key}`; + entries[loc] = value; + }); + } + if (input[_AM] != null) { + const memberEntries = se_AcceleratorManufacturerSet(input[_AM], context); + if (((_f2 = input[_AM]) == null ? void 0 : _f2.length) === 0) { + entries.AcceleratorManufacturer = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorManufacturer.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ANc] != null) { + const memberEntries = se_AcceleratorNameSet(input[_ANc], context); + if (((_g2 = input[_ANc]) == null ? void 0 : _g2.length) === 0) { + entries.AcceleratorName = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ATMMB] != null) { + const memberEntries = se_AcceleratorTotalMemoryMiBRequest(input[_ATMMB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AcceleratorTotalMemoryMiB.${key}`; + entries[loc] = value; + }); + } + if (input[_NBGe] != null) { + const memberEntries = se_NetworkBandwidthGbpsRequest(input[_NBGe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkBandwidthGbps.${key}`; + entries[loc] = value; + }); + } + if (input[_AIT] != null) { + const memberEntries = se_AllowedInstanceTypeSet(input[_AIT], context); + if (((_h2 = input[_AIT]) == null ? void 0 : _h2.length) === 0) { + entries.AllowedInstanceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllowedInstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MSPAPOOODP] != null) { + entries[_MSPAPOOODP] = input[_MSPAPOOODP]; + } + return entries; +}, "se_InstanceRequirementsRequest"); +var se_InstanceRequirementsWithMetadataRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_ATr] != null) { + const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); + if (((_a2 = input[_ATr]) == null ? void 0 : _a2.length) === 0) { + entries.ArchitectureType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ArchitectureType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VTi] != null) { + const memberEntries = se_VirtualizationTypeSet(input[_VTi], context); + if (((_b2 = input[_VTi]) == null ? void 0 : _b2.length) === 0) { + entries.VirtualizationType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VirtualizationType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceRequirementsWithMetadataRequest"); +var se_InstanceSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_EBV] != null) { + entries[_EBV] = input[_EBV]; + } + if (input[_EDVI] != null) { + const memberEntries = se_VolumeIdStringList(input[_EDVI], context); + if (((_a2 = input[_EDVI]) == null ? void 0 : _a2.length) === 0) { + entries.ExcludeDataVolumeId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExcludeDataVolumeId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceSpecification"); +var se_InstanceTagKeySet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceTagKeySet"); +var se_InstanceTypeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceTypeList"); +var se_InstanceTypes = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InstanceTypes"); +var se_IntegrateServices = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AIth] != null) { + const memberEntries = se_AthenaIntegrationsSet(input[_AIth], context); + if (((_a2 = input[_AIth]) == null ? void 0 : _a2.length) === 0) { + entries.AthenaIntegration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AthenaIntegration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_IntegrateServices"); +var se_InternetGatewayIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_InternetGatewayIdList"); +var se_IpamCidrAuthorizationContext = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Me] != null) { + entries[_Me] = input[_Me]; + } + if (input[_Si] != null) { + entries[_Si] = input[_Si]; + } + return entries; +}, "se_IpamCidrAuthorizationContext"); +var se_IpamPoolAllocationAllowedCidrs = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_IpamPoolAllocationAllowedCidrs"); +var se_IpamPoolAllocationDisallowedCidrs = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_IpamPoolAllocationDisallowedCidrs"); +var se_IpamPoolSourceResourceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RIeso] != null) { + entries[_RIeso] = input[_RIeso]; + } + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_RRe] != null) { + entries[_RRe] = input[_RRe]; + } + if (input[_RO] != null) { + entries[_RO] = input[_RO]; + } + return entries; +}, "se_IpamPoolSourceResourceRequest"); +var se_IpList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_IpList"); +var se_IpPermission = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_IRp] != null) { + const memberEntries = se_IpRangeList(input[_IRp], context); + if (((_a2 = input[_IRp]) == null ? void 0 : _a2.length) === 0) { + entries.IpRanges = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpRanges.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IRpv] != null) { + const memberEntries = se_Ipv6RangeList(input[_IRpv], context); + if (((_b2 = input[_IRpv]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Ranges = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Ranges.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PLIr] != null) { + const memberEntries = se_PrefixListIdList(input[_PLIr], context); + if (((_c2 = input[_PLIr]) == null ? void 0 : _c2.length) === 0) { + entries.PrefixListIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrefixListIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_UIGP] != null) { + const memberEntries = se_UserIdGroupPairList(input[_UIGP], context); + if (((_d2 = input[_UIGP]) == null ? void 0 : _d2.length) === 0) { + entries.Groups = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Groups.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_IpPermission"); +var se_IpPermissionList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_IpPermission(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_IpPermissionList"); +var se_IpPrefixList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_IpPrefixList"); +var se_IpRange = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_IpRange"); +var se_IpRangeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_IpRange(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_IpRangeList"); +var se_Ipv4PrefixList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Ipv4PrefixSpecificationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Ipv4PrefixList"); +var se_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPpvr] != null) { + entries[_IPpvr] = input[_IPpvr]; + } + return entries; +}, "se_Ipv4PrefixSpecificationRequest"); +var se_Ipv6AddressList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_Ipv6AddressList"); +var se_Ipv6PoolIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_Ipv6PoolIdList"); +var se_Ipv6PrefixList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Ipv6PrefixSpecificationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Ipv6PrefixList"); +var se_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPpvre] != null) { + entries[_IPpvre] = input[_IPpvre]; + } + return entries; +}, "se_Ipv6PrefixSpecificationRequest"); +var se_Ipv6Range = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CIid] != null) { + entries[_CIid] = input[_CIid]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_Ipv6Range"); +var se_Ipv6RangeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Ipv6Range(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Ipv6RangeList"); +var se_KeyNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`KeyName.${counter}`] = entry; + counter++; + } + return entries; +}, "se_KeyNameStringList"); +var se_KeyPairIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`KeyPairId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_KeyPairIdStringList"); +var se_LaunchPermission = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Gr] != null) { + entries[_Gr] = input[_Gr]; + } + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + if (input[_OAr] != null) { + entries[_OAr] = input[_OAr]; + } + if (input[_OUA] != null) { + entries[_OUA] = input[_OUA]; + } + return entries; +}, "se_LaunchPermission"); +var se_LaunchPermissionList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchPermission(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchPermissionList"); +var se_LaunchPermissionModifications = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_LaunchPermissionList(input[_Add], context); + if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { + entries.Add = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Re] != null) { + const memberEntries = se_LaunchPermissionList(input[_Re], context); + if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { + entries.Remove = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchPermissionModifications"); +var se_LaunchSpecsList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_SpotFleetLaunchSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchSpecsList"); +var se_LaunchTemplateBlockDeviceMappingRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_VN] != null) { + entries[_VN] = input[_VN]; + } + if (input[_E] != null) { + const memberEntries = se_LaunchTemplateEbsBlockDeviceRequest(input[_E], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ebs.${key}`; + entries[loc] = value; + }); + } + if (input[_ND] != null) { + entries[_ND] = input[_ND]; + } + return entries; +}, "se_LaunchTemplateBlockDeviceMappingRequest"); +var se_LaunchTemplateBlockDeviceMappingRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateBlockDeviceMappingRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`BlockDeviceMapping.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateBlockDeviceMappingRequestList"); +var se_LaunchTemplateCapacityReservationSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRP] != null) { + entries[_CRP] = input[_CRP]; + } + if (input[_CRTa] != null) { + const memberEntries = se_CapacityReservationTarget(input[_CRTa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationTarget.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateCapacityReservationSpecificationRequest"); +var se_LaunchTemplateConfig = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LTS] != null) { + const memberEntries = se_FleetLaunchTemplateSpecification(input[_LTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_Ov] != null) { + const memberEntries = se_LaunchTemplateOverridesList(input[_Ov], context); + if (((_a2 = input[_Ov]) == null ? void 0 : _a2.length) === 0) { + entries.Overrides = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Overrides.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateConfig"); +var se_LaunchTemplateConfigList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateConfig(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateConfigList"); +var se_LaunchTemplateCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CC] != null) { + entries[_CC] = input[_CC]; + } + if (input[_TPC] != null) { + entries[_TPC] = input[_TPC]; + } + if (input[_ASS] != null) { + entries[_ASS] = input[_ASS]; + } + return entries; +}, "se_LaunchTemplateCpuOptionsRequest"); +var se_LaunchTemplateEbsBlockDeviceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_Io] != null) { + entries[_Io] = input[_Io]; + } + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_VS] != null) { + entries[_VS] = input[_VS]; + } + if (input[_VT] != null) { + entries[_VT] = input[_VT]; + } + if (input[_Th] != null) { + entries[_Th] = input[_Th]; + } + return entries; +}, "se_LaunchTemplateEbsBlockDeviceRequest"); +var se_LaunchTemplateElasticInferenceAccelerator = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_Cou] != null) { + entries[_Cou] = input[_Cou]; + } + return entries; +}, "se_LaunchTemplateElasticInferenceAccelerator"); +var se_LaunchTemplateElasticInferenceAcceleratorList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateElasticInferenceAccelerator(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateElasticInferenceAcceleratorList"); +var se_LaunchTemplateEnclaveOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_LaunchTemplateEnclaveOptionsRequest"); +var se_LaunchTemplateHibernationOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Conf] != null) { + entries[_Conf] = input[_Conf]; + } + return entries; +}, "se_LaunchTemplateHibernationOptionsRequest"); +var se_LaunchTemplateIamInstanceProfileSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ar] != null) { + entries[_Ar] = input[_Ar]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + return entries; +}, "se_LaunchTemplateIamInstanceProfileSpecificationRequest"); +var se_LaunchTemplateIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LaunchTemplateIdStringList"); +var se_LaunchTemplateInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ARu] != null) { + entries[_ARu] = input[_ARu]; + } + return entries; +}, "se_LaunchTemplateInstanceMaintenanceOptionsRequest"); +var se_LaunchTemplateInstanceMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MT] != null) { + entries[_MT] = input[_MT]; + } + if (input[_SO] != null) { + const memberEntries = se_LaunchTemplateSpotMarketOptionsRequest(input[_SO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateInstanceMarketOptionsRequest"); +var se_LaunchTemplateInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_HT] != null) { + entries[_HT] = input[_HT]; + } + if (input[_HPRHL] != null) { + entries[_HPRHL] = input[_HPRHL]; + } + if (input[_HE] != null) { + entries[_HE] = input[_HE]; + } + if (input[_HPI] != null) { + entries[_HPI] = input[_HPI]; + } + if (input[_IMT] != null) { + entries[_IMT] = input[_IMT]; + } + return entries; +}, "se_LaunchTemplateInstanceMetadataOptionsRequest"); +var se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2; + const entries = {}; + if (input[_ACIA] != null) { + entries[_ACIA] = input[_ACIA]; + } + if (input[_APIAs] != null) { + entries[_APIAs] = input[_APIAs]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DIev] != null) { + entries[_DIev] = input[_DIev]; + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITn] != null) { + entries[_ITn] = input[_ITn]; + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_InstanceIpv6AddressListRequest(input[_IA], context); + if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Addresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); + if (((_c2 = input[_PIA]) == null ? void 0 : _c2.length) === 0) { + entries.PrivateIpAddresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_NCI] != null) { + entries[_NCI] = input[_NCI]; + } + if (input[_IPp] != null) { + const memberEntries = se_Ipv4PrefixList(input[_IPp], context); + if (((_d2 = input[_IPp]) == null ? void 0 : _d2.length) === 0) { + entries.Ipv4Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPCp] != null) { + entries[_IPCp] = input[_IPCp]; + } + if (input[_IP] != null) { + const memberEntries = se_Ipv6PrefixList(input[_IP], context); + if (((_e2 = input[_IP]) == null ? void 0 : _e2.length) === 0) { + entries.Ipv6Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPC] != null) { + entries[_IPC] = input[_IPC]; + } + if (input[_PIr] != null) { + entries[_PIr] = input[_PIr]; + } + if (input[_ESS] != null) { + const memberEntries = se_EnaSrdSpecificationRequest(input[_ESS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_CTS] != null) { + const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionTrackingSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest"); +var se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`InstanceNetworkInterfaceSpecification.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList"); +var se_LaunchTemplateLicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LCA] != null) { + entries[_LCA] = input[_LCA]; + } + return entries; +}, "se_LaunchTemplateLicenseConfigurationRequest"); +var se_LaunchTemplateLicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateLicenseConfigurationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateLicenseSpecificationListRequest"); +var se_LaunchTemplateNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LaunchTemplateNameStringList"); +var se_LaunchTemplateOverrides = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_SPp] != null) { + entries[_SPp] = input[_SPp]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_WCe] != null) { + entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]); + } + if (input[_Pri] != null) { + entries[_Pri] = (0, import_smithy_client.serializeFloat)(input[_Pri]); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirements(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateOverrides"); +var se_LaunchTemplateOverridesList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateOverrides(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateOverridesList"); +var se_LaunchTemplatePlacementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_Af] != null) { + entries[_Af] = input[_Af]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_HIo] != null) { + entries[_HIo] = input[_HIo]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_SD] != null) { + entries[_SD] = input[_SD]; + } + if (input[_HRGA] != null) { + entries[_HRGA] = input[_HRGA]; + } + if (input[_PN] != null) { + entries[_PN] = input[_PN]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + return entries; +}, "se_LaunchTemplatePlacementRequest"); +var se_LaunchTemplatePrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_HTo] != null) { + entries[_HTo] = input[_HTo]; + } + if (input[_ERNDAR] != null) { + entries[_ERNDAR] = input[_ERNDAR]; + } + if (input[_ERNDAAAAR] != null) { + entries[_ERNDAAAAR] = input[_ERNDAAAAR]; + } + return entries; +}, "se_LaunchTemplatePrivateDnsNameOptionsRequest"); +var se_LaunchTemplatesMonitoringRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_LaunchTemplatesMonitoringRequest"); +var se_LaunchTemplateSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_V] != null) { + entries[_V] = input[_V]; + } + return entries; +}, "se_LaunchTemplateSpecification"); +var se_LaunchTemplateSpotMarketOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MPa] != null) { + entries[_MPa] = input[_MPa]; + } + if (input[_SIT] != null) { + entries[_SIT] = input[_SIT]; + } + if (input[_BDMl] != null) { + entries[_BDMl] = input[_BDMl]; + } + if (input[_VU] != null) { + entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + return entries; +}, "se_LaunchTemplateSpotMarketOptionsRequest"); +var se_LaunchTemplateTagSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { + entries.Tag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LaunchTemplateTagSpecificationRequest"); +var se_LaunchTemplateTagSpecificationRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LaunchTemplateTagSpecificationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`LaunchTemplateTagSpecificationRequest.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LaunchTemplateTagSpecificationRequestList"); +var se_LicenseConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_LCA] != null) { + entries[_LCA] = input[_LCA]; + } + return entries; +}, "se_LicenseConfigurationRequest"); +var se_LicenseSpecificationListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LicenseConfigurationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LicenseSpecificationListRequest"); +var se_ListImagesInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_ImageIdStringList(input[_IImag], context); + if (((_a2 = input[_IImag]) == null ? void 0 : _a2.length) === 0) { + entries.ImageId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ListImagesInRecycleBinRequest"); +var se_ListSnapshotsInRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_SIna] != null) { + const memberEntries = se_SnapshotIdStringList(input[_SIna], context); + if (((_a2 = input[_SIna]) == null ? void 0 : _a2.length) === 0) { + entries.SnapshotId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SnapshotId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ListSnapshotsInRecycleBinRequest"); +var se_LoadBalancersConfig = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CLBC] != null) { + const memberEntries = se_ClassicLoadBalancersConfig(input[_CLBC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClassicLoadBalancersConfig.${key}`; + entries[loc] = value; + }); + } + if (input[_TGC] != null) { + const memberEntries = se_TargetGroupsConfig(input[_TGC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetGroupsConfig.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LoadBalancersConfig"); +var se_LoadPermissionListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_LoadPermissionRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_LoadPermissionListRequest"); +var se_LoadPermissionModifications = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_LoadPermissionListRequest(input[_Add], context); + if (((_a2 = input[_Add]) == null ? void 0 : _a2.length) === 0) { + entries.Add = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Re] != null) { + const memberEntries = se_LoadPermissionListRequest(input[_Re], context); + if (((_b2 = input[_Re]) == null ? void 0 : _b2.length) === 0) { + entries.Remove = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Remove.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_LoadPermissionModifications"); +var se_LoadPermissionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Gr] != null) { + entries[_Gr] = input[_Gr]; + } + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + return entries; +}, "se_LoadPermissionRequest"); +var se_LocalGatewayIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayIdSet"); +var se_LocalGatewayRouteTableIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayRouteTableIdSet"); +var se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet"); +var se_LocalGatewayRouteTableVpcAssociationIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayRouteTableVpcAssociationIdSet"); +var se_LocalGatewayVirtualInterfaceGroupIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayVirtualInterfaceGroupIdSet"); +var se_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalGatewayVirtualInterfaceIdSet"); +var se_LocalStorageTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_LocalStorageTypeSet"); +var se_LockSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LM] != null) { + entries[_LM] = input[_LM]; + } + if (input[_COP] != null) { + entries[_COP] = input[_COP]; + } + if (input[_LDo] != null) { + entries[_LDo] = input[_LDo]; + } + if (input[_EDx] != null) { + entries[_EDx] = input[_EDx].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_LockSnapshotRequest"); +var se_MemoryGiBPerVCpu = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_MemoryGiBPerVCpu"); +var se_MemoryGiBPerVCpuRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_MemoryGiBPerVCpuRequest"); +var se_MemoryMiB = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_MemoryMiB"); +var se_MemoryMiBRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_MemoryMiBRequest"); +var se_ModifyAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_DNo] != null) { + entries[_DNo] = input[_DNo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyAddressAttributeRequest"); +var se_ModifyAvailabilityZoneGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_OIS] != null) { + entries[_OIS] = input[_OIS]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyAvailabilityZoneGroupRequest"); +var se_ModifyCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRFIa] != null) { + entries[_CRFIa] = input[_CRFIa]; + } + if (input[_TTC] != null) { + entries[_TTC] = input[_TTC]; + } + if (input[_ED] != null) { + entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RED] != null) { + entries[_RED] = input[_RED]; + } + return entries; +}, "se_ModifyCapacityReservationFleetRequest"); +var se_ModifyCapacityReservationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_ED] != null) { + entries[_ED] = input[_ED].toISOString().split(".")[0] + "Z"; + } + if (input[_EDT] != null) { + entries[_EDT] = input[_EDT]; + } + if (input[_Ac] != null) { + entries[_Ac] = input[_Ac]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + return entries; +}, "se_ModifyCapacityReservationRequest"); +var se_ModifyClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_SCA] != null) { + entries[_SCA] = input[_SCA]; + } + if (input[_CLO] != null) { + const memberEntries = se_ConnectionLogOptions(input[_CLO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionLogOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DSn] != null) { + const memberEntries = se_DnsServersOptionsModifyStructure(input[_DSn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DnsServers.${key}`; + entries[loc] = value; + }); + } + if (input[_VP] != null) { + entries[_VP] = input[_VP]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_ST] != null) { + entries[_ST] = input[_ST]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SGI] != null) { + const memberEntries = se_ClientVpnSecurityGroupIdSet(input[_SGI], context); + if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_SSP] != null) { + entries[_SSP] = input[_SSP]; + } + if (input[_CCO] != null) { + const memberEntries = se_ClientConnectOptions(input[_CCO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientConnectOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_STH] != null) { + entries[_STH] = input[_STH]; + } + if (input[_CLBO] != null) { + const memberEntries = se_ClientLoginBannerOptions(input[_CLBO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ClientLoginBannerOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyClientVpnEndpointRequest"); +var se_ModifyDefaultCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + if (input[_CCp] != null) { + entries[_CCp] = input[_CCp]; + } + return entries; +}, "se_ModifyDefaultCreditSpecificationRequest"); +var se_ModifyEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_KKI] != null) { + entries[_KKI] = input[_KKI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyEbsDefaultKmsKeyIdRequest"); +var se_ModifyFleetRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ECTP] != null) { + entries[_ECTP] = input[_ECTP]; + } + if (input[_LTC] != null) { + const memberEntries = se_FleetLaunchTemplateConfigListRequest(input[_LTC], context); + if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateConfig = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_FIl] != null) { + entries[_FIl] = input[_FIl]; + } + if (input[_TCS] != null) { + const memberEntries = se_TargetCapacitySpecificationRequest(input[_TCS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetCapacitySpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_Con] != null) { + entries[_Con] = input[_Con]; + } + return entries; +}, "se_ModifyFleetRequest"); +var se_ModifyFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FII] != null) { + entries[_FII] = input[_FII]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_OTp] != null) { + entries[_OTp] = input[_OTp]; + } + if (input[_UIse] != null) { + const memberEntries = se_UserIdStringList(input[_UIse], context); + if (((_a2 = input[_UIse]) == null ? void 0 : _a2.length) === 0) { + entries.UserId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_UG] != null) { + const memberEntries = se_UserGroupStringList(input[_UG], context); + if (((_b2 = input[_UG]) == null ? void 0 : _b2.length) === 0) { + entries.UserGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PCr] != null) { + const memberEntries = se_ProductCodeStringList(input[_PCr], context); + if (((_c2 = input[_PCr]) == null ? void 0 : _c2.length) === 0) { + entries.ProductCode = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProductCode.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LP] != null) { + const memberEntries = se_LoadPermissionModifications(input[_LP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LoadPermission.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + return entries; +}, "se_ModifyFpgaImageAttributeRequest"); +var se_ModifyHostsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AP] != null) { + entries[_AP] = input[_AP]; + } + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + if (((_a2 = input[_HI]) == null ? void 0 : _a2.length) === 0) { + entries.HostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HR] != null) { + entries[_HR] = input[_HR]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + if (input[_HM] != null) { + entries[_HM] = input[_HM]; + } + return entries; +}, "se_ModifyHostsRequest"); +var se_ModifyIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PAr] != null) { + entries[_PAr] = input[_PAr]; + } + if (input[_Res] != null) { + entries[_Res] = input[_Res]; + } + if (input[_ULI] != null) { + entries[_ULI] = input[_ULI]; + } + return entries; +}, "se_ModifyIdentityIdFormatRequest"); +var se_ModifyIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Res] != null) { + entries[_Res] = input[_Res]; + } + if (input[_ULI] != null) { + entries[_ULI] = input[_ULI]; + } + return entries; +}, "se_ModifyIdFormatRequest"); +var se_ModifyImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2; + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_De] != null) { + const memberEntries = se_AttributeValue(input[_De], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Description.${key}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_LPa] != null) { + const memberEntries = se_LaunchPermissionModifications(input[_LPa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchPermission.${key}`; + entries[loc] = value; + }); + } + if (input[_OTp] != null) { + entries[_OTp] = input[_OTp]; + } + if (input[_PCr] != null) { + const memberEntries = se_ProductCodeStringList(input[_PCr], context); + if (((_a2 = input[_PCr]) == null ? void 0 : _a2.length) === 0) { + entries.ProductCode = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProductCode.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_UG] != null) { + const memberEntries = se_UserGroupStringList(input[_UG], context); + if (((_b2 = input[_UG]) == null ? void 0 : _b2.length) === 0) { + entries.UserGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_UIse] != null) { + const memberEntries = se_UserIdStringList(input[_UIse], context); + if (((_c2 = input[_UIse]) == null ? void 0 : _c2.length) === 0) { + entries.UserId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_OArg] != null) { + const memberEntries = se_OrganizationArnStringList(input[_OArg], context); + if (((_d2 = input[_OArg]) == null ? void 0 : _d2.length) === 0) { + entries.OrganizationArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OrganizationArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_OUAr] != null) { + const memberEntries = se_OrganizationalUnitArnStringList(input[_OUAr], context); + if (((_e2 = input[_OUAr]) == null ? void 0 : _e2.length) === 0) { + entries.OrganizationalUnitArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OrganizationalUnitArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ISm] != null) { + const memberEntries = se_AttributeValue(input[_ISm], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImdsSupport.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyImageAttributeRequest"); +var se_ModifyInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_SDC] != null) { + const memberEntries = se_AttributeBooleanValue(input[_SDC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceDestCheck.${key}`; + entries[loc] = value; + }); + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_BDM] != null) { + const memberEntries = se_InstanceBlockDeviceMappingSpecificationList(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DATis] != null) { + const memberEntries = se_AttributeBooleanValue(input[_DATis], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DisableApiTermination.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EO] != null) { + const memberEntries = se_AttributeBooleanValue(input[_EO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EbsOptimized.${key}`; + entries[loc] = value; + }); + } + if (input[_ESn] != null) { + const memberEntries = se_AttributeBooleanValue(input[_ESn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSupport.${key}`; + entries[loc] = value; + }); + } + if (input[_G] != null) { + const memberEntries = se_GroupIdStringList(input[_G], context); + if (((_b2 = input[_G]) == null ? void 0 : _b2.length) === 0) { + entries.GroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_IISB] != null) { + const memberEntries = se_AttributeValue(input[_IISB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceInitiatedShutdownBehavior.${key}`; + entries[loc] = value; + }); + } + if (input[_IT] != null) { + const memberEntries = se_AttributeValue(input[_IT], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceType.${key}`; + entries[loc] = value; + }); + } + if (input[_K] != null) { + const memberEntries = se_AttributeValue(input[_K], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Kernel.${key}`; + entries[loc] = value; + }); + } + if (input[_Ra] != null) { + const memberEntries = se_AttributeValue(input[_Ra], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ramdisk.${key}`; + entries[loc] = value; + }); + } + if (input[_SNS] != null) { + const memberEntries = se_AttributeValue(input[_SNS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SriovNetSupport.${key}`; + entries[loc] = value; + }); + } + if (input[_UD] != null) { + const memberEntries = se_BlobAttributeValue(input[_UD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserData.${key}`; + entries[loc] = value; + }); + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + if (input[_DAS] != null) { + const memberEntries = se_AttributeBooleanValue(input[_DAS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DisableApiStop.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyInstanceAttributeRequest"); +var se_ModifyInstanceCapacityReservationAttributesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_CRS] != null) { + const memberEntries = se_CapacityReservationSpecification(input[_CRS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyInstanceCapacityReservationAttributesRequest"); +var se_ModifyInstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_ICS] != null) { + const memberEntries = se_InstanceCreditSpecificationListRequest(input[_ICS], context); + if (((_a2 = input[_ICS]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceCreditSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceCreditSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyInstanceCreditSpecificationRequest"); +var se_ModifyInstanceEventStartTimeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_IEI] != null) { + entries[_IEI] = input[_IEI]; + } + if (input[_NB] != null) { + entries[_NB] = input[_NB].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_ModifyInstanceEventStartTimeRequest"); +var se_ModifyInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_IEWI] != null) { + entries[_IEWI] = input[_IEWI]; + } + if (input[_TRi] != null) { + const memberEntries = se_InstanceEventWindowTimeRangeRequestSet(input[_TRi], context); + if (((_a2 = input[_TRi]) == null ? void 0 : _a2.length) === 0) { + entries.TimeRange = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TimeRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CE] != null) { + entries[_CE] = input[_CE]; + } + return entries; +}, "se_ModifyInstanceEventWindowRequest"); +var se_ModifyInstanceMaintenanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_ARu] != null) { + entries[_ARu] = input[_ARu]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyInstanceMaintenanceOptionsRequest"); +var se_ModifyInstanceMetadataDefaultsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_HT] != null) { + entries[_HT] = input[_HT]; + } + if (input[_HPRHL] != null) { + entries[_HPRHL] = input[_HPRHL]; + } + if (input[_HE] != null) { + entries[_HE] = input[_HE]; + } + if (input[_IMT] != null) { + entries[_IMT] = input[_IMT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyInstanceMetadataDefaultsRequest"); +var se_ModifyInstanceMetadataOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_HT] != null) { + entries[_HT] = input[_HT]; + } + if (input[_HPRHL] != null) { + entries[_HPRHL] = input[_HPRHL]; + } + if (input[_HE] != null) { + entries[_HE] = input[_HE]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_HPI] != null) { + entries[_HPI] = input[_HPI]; + } + if (input[_IMT] != null) { + entries[_IMT] = input[_IMT]; + } + return entries; +}, "se_ModifyInstanceMetadataOptionsRequest"); +var se_ModifyInstancePlacementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Af] != null) { + entries[_Af] = input[_Af]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_HIo] != null) { + entries[_HIo] = input[_HIo]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_PN] != null) { + entries[_PN] = input[_PN]; + } + if (input[_HRGA] != null) { + entries[_HRGA] = input[_HRGA]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + return entries; +}, "se_ModifyInstancePlacementRequest"); +var se_ModifyIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_AIu] != null) { + entries[_AIu] = input[_AIu]; + } + if (input[_AMNL] != null) { + entries[_AMNL] = input[_AMNL]; + } + if (input[_AMNLl] != null) { + entries[_AMNLl] = input[_AMNLl]; + } + if (input[_ADNL] != null) { + entries[_ADNL] = input[_ADNL]; + } + if (input[_CADNL] != null) { + entries[_CADNL] = input[_CADNL]; + } + if (input[_AART] != null) { + const memberEntries = se_RequestIpamResourceTagList(input[_AART], context); + if (((_a2 = input[_AART]) == null ? void 0 : _a2.length) === 0) { + entries.AddAllocationResourceTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddAllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RART] != null) { + const memberEntries = se_RequestIpamResourceTagList(input[_RART], context); + if (((_b2 = input[_RART]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveAllocationResourceTag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveAllocationResourceTag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyIpamPoolRequest"); +var se_ModifyIpamRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_AOR] != null) { + const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context); + if (((_a2 = input[_AOR]) == null ? void 0 : _a2.length) === 0) { + entries.AddOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ROR] != null) { + const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context); + if (((_b2 = input[_ROR]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ti] != null) { + entries[_Ti] = input[_Ti]; + } + return entries; +}, "se_ModifyIpamRequest"); +var se_ModifyIpamResourceCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RIeso] != null) { + entries[_RIeso] = input[_RIeso]; + } + if (input[_RC] != null) { + entries[_RC] = input[_RC]; + } + if (input[_RRe] != null) { + entries[_RRe] = input[_RRe]; + } + if (input[_CISI] != null) { + entries[_CISI] = input[_CISI]; + } + if (input[_DISI] != null) { + entries[_DISI] = input[_DISI]; + } + if (input[_Moni] != null) { + entries[_Moni] = input[_Moni]; + } + return entries; +}, "se_ModifyIpamResourceCidrRequest"); +var se_ModifyIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDI] != null) { + entries[_IRDI] = input[_IRDI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_AOR] != null) { + const memberEntries = se_AddIpamOperatingRegionSet(input[_AOR], context); + if (((_a2 = input[_AOR]) == null ? void 0 : _a2.length) === 0) { + entries.AddOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ROR] != null) { + const memberEntries = se_RemoveIpamOperatingRegionSet(input[_ROR], context); + if (((_b2 = input[_ROR]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveOperatingRegion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyIpamResourceDiscoveryRequest"); +var se_ModifyIpamScopeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ISI] != null) { + entries[_ISI] = input[_ISI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_ModifyIpamScopeRequest"); +var se_ModifyLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_LTI] != null) { + entries[_LTI] = input[_LTI]; + } + if (input[_LTN] != null) { + entries[_LTN] = input[_LTN]; + } + if (input[_DVef] != null) { + entries[_SDV] = input[_DVef]; + } + return entries; +}, "se_ModifyLaunchTemplateRequest"); +var se_ModifyLocalGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_LGVIGI] != null) { + entries[_LGVIGI] = input[_LGVIGI]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + return entries; +}, "se_ModifyLocalGatewayRouteRequest"); +var se_ModifyManagedPrefixListRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_CVu] != null) { + entries[_CVu] = input[_CVu]; + } + if (input[_PLN] != null) { + entries[_PLN] = input[_PLN]; + } + if (input[_AEd] != null) { + const memberEntries = se_AddPrefixListEntries(input[_AEd], context); + if (((_a2 = input[_AEd]) == null ? void 0 : _a2.length) === 0) { + entries.AddEntry = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddEntry.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RE] != null) { + const memberEntries = se_RemovePrefixListEntries(input[_RE], context); + if (((_b2 = input[_RE]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveEntry = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveEntry.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ME] != null) { + entries[_ME] = input[_ME]; + } + return entries; +}, "se_ModifyManagedPrefixListRequest"); +var se_ModifyNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Att] != null) { + const memberEntries = se_NetworkInterfaceAttachmentChanges(input[_Att], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Attachment.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + const memberEntries = se_AttributeValue(input[_De], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Description.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_SDC] != null) { + const memberEntries = se_AttributeBooleanValue(input[_SDC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceDestCheck.${key}`; + entries[loc] = value; + }); + } + if (input[_ESS] != null) { + const memberEntries = se_EnaSrdSpecification(input[_ESS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnaSrdSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_EPI] != null) { + entries[_EPI] = input[_EPI]; + } + if (input[_CTS] != null) { + const memberEntries = se_ConnectionTrackingSpecificationRequest(input[_CTS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionTrackingSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_APIAs] != null) { + entries[_APIAs] = input[_APIAs]; + } + return entries; +}, "se_ModifyNetworkInterfaceAttributeRequest"); +var se_ModifyPrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_PDHT] != null) { + entries[_PDHT] = input[_PDHT]; + } + if (input[_ERNDAR] != null) { + entries[_ERNDAR] = input[_ERNDAR]; + } + if (input[_ERNDAAAAR] != null) { + entries[_ERNDAAAAR] = input[_ERNDAAAAR]; + } + return entries; +}, "se_ModifyPrivateDnsNameOptionsRequest"); +var se_ModifyReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_RIIes] != null) { + const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); + if (((_a2 = input[_RIIes]) == null ? void 0 : _a2.length) === 0) { + entries.ReservedInstancesId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_TC] != null) { + const memberEntries = se_ReservedInstancesConfigurationList(input[_TC], context); + if (((_b2 = input[_TC]) == null ? void 0 : _b2.length) === 0) { + entries.ReservedInstancesConfigurationSetItemType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReservedInstancesConfigurationSetItemType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyReservedInstancesRequest"); +var se_ModifySecurityGroupRulesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_SGR] != null) { + const memberEntries = se_SecurityGroupRuleUpdateList(input[_SGR], context); + if (((_a2 = input[_SGR]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupRule = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRule.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifySecurityGroupRulesRequest"); +var se_ModifySnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_CVP] != null) { + const memberEntries = se_CreateVolumePermissionModifications(input[_CVP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CreateVolumePermission.${key}`; + entries[loc] = value; + }); + } + if (input[_GNr] != null) { + const memberEntries = se_GroupNameStringList(input[_GNr], context); + if (((_a2 = input[_GNr]) == null ? void 0 : _a2.length) === 0) { + entries.UserGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_OTp] != null) { + entries[_OTp] = input[_OTp]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_UIse] != null) { + const memberEntries = se_UserIdStringList(input[_UIse], context); + if (((_b2 = input[_UIse]) == null ? void 0 : _b2.length) === 0) { + entries.UserId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifySnapshotAttributeRequest"); +var se_ModifySnapshotTierRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_STto] != null) { + entries[_STto] = input[_STto]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifySnapshotTierRequest"); +var se_ModifySpotFleetRequestRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_ECTP] != null) { + entries[_ECTP] = input[_ECTP]; + } + if (input[_LTC] != null) { + const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context); + if (((_a2 = input[_LTC]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchTemplateConfig = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + if (input[_TCa] != null) { + entries[_TCa] = input[_TCa]; + } + if (input[_ODTC] != null) { + entries[_ODTC] = input[_ODTC]; + } + if (input[_Con] != null) { + entries[_Con] = input[_Con]; + } + return entries; +}, "se_ModifySpotFleetRequestRequest"); +var se_ModifySubnetAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIAOC] != null) { + const memberEntries = se_AttributeBooleanValue(input[_AIAOC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssignIpv6AddressOnCreation.${key}`; + entries[loc] = value; + }); + } + if (input[_MPIOL] != null) { + const memberEntries = se_AttributeBooleanValue(input[_MPIOL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MapPublicIpOnLaunch.${key}`; + entries[loc] = value; + }); + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_MCOIOL] != null) { + const memberEntries = se_AttributeBooleanValue(input[_MCOIOL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MapCustomerOwnedIpOnLaunch.${key}`; + entries[loc] = value; + }); + } + if (input[_COIP] != null) { + entries[_COIP] = input[_COIP]; + } + if (input[_EDn] != null) { + const memberEntries = se_AttributeBooleanValue(input[_EDn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableDns64.${key}`; + entries[loc] = value; + }); + } + if (input[_PDHTOL] != null) { + entries[_PDHTOL] = input[_PDHTOL]; + } + if (input[_ERNDAROL] != null) { + const memberEntries = se_AttributeBooleanValue(input[_ERNDAROL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableResourceNameDnsARecordOnLaunch.${key}`; + entries[loc] = value; + }); + } + if (input[_ERNDAAAAROL] != null) { + const memberEntries = se_AttributeBooleanValue(input[_ERNDAAAAROL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableResourceNameDnsAAAARecordOnLaunch.${key}`; + entries[loc] = value; + }); + } + if (input[_ELADI] != null) { + entries[_ELADI] = input[_ELADI]; + } + if (input[_DLADI] != null) { + const memberEntries = se_AttributeBooleanValue(input[_DLADI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DisableLniAtDeviceIndex.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifySubnetAttributeRequest"); +var se_ModifyTrafficMirrorFilterNetworkServicesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_ANS] != null) { + const memberEntries = se_TrafficMirrorNetworkServiceList(input[_ANS], context); + if (((_a2 = input[_ANS]) == null ? void 0 : _a2.length) === 0) { + entries.AddNetworkService = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddNetworkService.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RNS] != null) { + const memberEntries = se_TrafficMirrorNetworkServiceList(input[_RNS], context); + if (((_b2 = input[_RNS]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveNetworkService = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveNetworkService.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTrafficMirrorFilterNetworkServicesRequest"); +var se_ModifyTrafficMirrorFilterRuleRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TMFRI] != null) { + entries[_TMFRI] = input[_TMFRI]; + } + if (input[_TD] != null) { + entries[_TD] = input[_TD]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_DPR] != null) { + const memberEntries = se_TrafficMirrorPortRangeRequest(input[_DPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationPortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_SPR] != null) { + const memberEntries = se_TrafficMirrorPortRangeRequest(input[_SPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_SCB] != null) { + entries[_SCB] = input[_SCB]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_RF] != null) { + const memberEntries = se_TrafficMirrorFilterRuleFieldList(input[_RF], context); + if (((_a2 = input[_RF]) == null ? void 0 : _a2.length) === 0) { + entries.RemoveField = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveField.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTrafficMirrorFilterRuleRequest"); +var se_ModifyTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TMSI] != null) { + entries[_TMSI] = input[_TMSI]; + } + if (input[_TMTI] != null) { + entries[_TMTI] = input[_TMTI]; + } + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_PL] != null) { + entries[_PL] = input[_PL]; + } + if (input[_SN] != null) { + entries[_SN] = input[_SN]; + } + if (input[_VNI] != null) { + entries[_VNI] = input[_VNI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_RF] != null) { + const memberEntries = se_TrafficMirrorSessionFieldList(input[_RF], context); + if (((_a2 = input[_RF]) == null ? void 0 : _a2.length) === 0) { + entries.RemoveField = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveField.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTrafficMirrorSessionRequest"); +var se_ModifyTransitGatewayOptions = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_ATGCB] != null) { + const memberEntries = se_TransitGatewayCidrBlockStringList(input[_ATGCB], context); + if (((_a2 = input[_ATGCB]) == null ? void 0 : _a2.length) === 0) { + entries.AddTransitGatewayCidrBlocks = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddTransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RTGCB] != null) { + const memberEntries = se_TransitGatewayCidrBlockStringList(input[_RTGCB], context); + if (((_b2 = input[_RTGCB]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveTransitGatewayCidrBlocks = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveTransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VES] != null) { + entries[_VES] = input[_VES]; + } + if (input[_DSns] != null) { + entries[_DSns] = input[_DSns]; + } + if (input[_SGRS] != null) { + entries[_SGRS] = input[_SGRS]; + } + if (input[_AASAu] != null) { + entries[_AASAu] = input[_AASAu]; + } + if (input[_DRTA] != null) { + entries[_DRTA] = input[_DRTA]; + } + if (input[_ADRTI] != null) { + entries[_ADRTI] = input[_ADRTI]; + } + if (input[_DRTP] != null) { + entries[_DRTP] = input[_DRTP]; + } + if (input[_PDRTI] != null) { + entries[_PDRTI] = input[_PDRTI]; + } + if (input[_ASA] != null) { + entries[_ASA] = input[_ASA]; + } + return entries; +}, "se_ModifyTransitGatewayOptions"); +var se_ModifyTransitGatewayPrefixListReferenceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Bl] != null) { + entries[_Bl] = input[_Bl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTransitGatewayPrefixListReferenceRequest"); +var se_ModifyTransitGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_O] != null) { + const memberEntries = se_ModifyTransitGatewayOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTransitGatewayRequest"); +var se_ModifyTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_ASI] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context); + if (((_a2 = input[_ASI]) == null ? void 0 : _a2.length) === 0) { + entries.AddSubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddSubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RSIe] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_RSIe], context); + if (((_b2 = input[_RSIe]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveSubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_O] != null) { + const memberEntries = se_ModifyTransitGatewayVpcAttachmentRequestOptions(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyTransitGatewayVpcAttachmentRequest"); +var se_ModifyTransitGatewayVpcAttachmentRequestOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DSns] != null) { + entries[_DSns] = input[_DSns]; + } + if (input[_SGRS] != null) { + entries[_SGRS] = input[_SGRS]; + } + if (input[_ISp] != null) { + entries[_ISp] = input[_ISp]; + } + if (input[_AMS] != null) { + entries[_AMS] = input[_AMS]; + } + return entries; +}, "se_ModifyTransitGatewayVpcAttachmentRequestOptions"); +var se_ModifyVerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointEniOptions"); +var se_ModifyVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_SIu] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointLoadBalancerOptions"); +var se_ModifyVerifiedAccessEndpointPolicyRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAEI] != null) { + entries[_VAEI] = input[_VAEI]; + } + if (input[_PE] != null) { + entries[_PE] = input[_PE]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVerifiedAccessEndpointPolicyRequest"); +var se_ModifyVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAEI] != null) { + entries[_VAEI] = input[_VAEI]; + } + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_LBO] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointLoadBalancerOptions(input[_LBO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LoadBalancerOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_NIO] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointEniOptions(input[_NIO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointRequest"); +var se_ModifyVerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointSubnetIdList"); +var se_ModifyVerifiedAccessGroupPolicyRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_PE] != null) { + entries[_PE] = input[_PE]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVerifiedAccessGroupPolicyRequest"); +var se_ModifyVerifiedAccessGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAGI] != null) { + entries[_VAGI] = input[_VAGI]; + } + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVerifiedAccessGroupRequest"); +var se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_AL] != null) { + const memberEntries = se_VerifiedAccessLogOptions(input[_AL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AccessLogs.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_ModifyVerifiedAccessInstanceLoggingConfigurationRequest"); +var se_ModifyVerifiedAccessInstanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_ModifyVerifiedAccessInstanceRequest"); +var se_ModifyVerifiedAccessTrustProviderDeviceOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PSKU] != null) { + entries[_PSKU] = input[_PSKU]; + } + return entries; +}, "se_ModifyVerifiedAccessTrustProviderDeviceOptions"); +var se_ModifyVerifiedAccessTrustProviderOidcOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_I] != null) { + entries[_I] = input[_I]; + } + if (input[_AE] != null) { + entries[_AE] = input[_AE]; + } + if (input[_TEo] != null) { + entries[_TEo] = input[_TEo]; + } + if (input[_UIE] != null) { + entries[_UIE] = input[_UIE]; + } + if (input[_CIl] != null) { + entries[_CIl] = input[_CIl]; + } + if (input[_CSl] != null) { + entries[_CSl] = input[_CSl]; + } + if (input[_Sc] != null) { + entries[_Sc] = input[_Sc]; + } + return entries; +}, "se_ModifyVerifiedAccessTrustProviderOidcOptions"); +var se_ModifyVerifiedAccessTrustProviderRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VATPI] != null) { + entries[_VATPI] = input[_VATPI]; + } + if (input[_OO] != null) { + const memberEntries = se_ModifyVerifiedAccessTrustProviderOidcOptions(input[_OO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OidcOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DOe] != null) { + const memberEntries = se_ModifyVerifiedAccessTrustProviderDeviceOptions(input[_DOe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DeviceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_SS] != null) { + const memberEntries = se_VerifiedAccessSseSpecificationRequest(input[_SS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SseSpecification.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVerifiedAccessTrustProviderRequest"); +var se_ModifyVolumeAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AEIO] != null) { + const memberEntries = se_AttributeBooleanValue(input[_AEIO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AutoEnableIO.${key}`; + entries[loc] = value; + }); + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVolumeAttributeRequest"); +var se_ModifyVolumeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_Siz] != null) { + entries[_Siz] = input[_Siz]; + } + if (input[_VT] != null) { + entries[_VT] = input[_VT]; + } + if (input[_Io] != null) { + entries[_Io] = input[_Io]; + } + if (input[_Th] != null) { + entries[_Th] = input[_Th]; + } + if (input[_MAE] != null) { + entries[_MAE] = input[_MAE]; + } + return entries; +}, "se_ModifyVolumeRequest"); +var se_ModifyVpcAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_EDH] != null) { + const memberEntries = se_AttributeBooleanValue(input[_EDH], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableDnsHostnames.${key}`; + entries[loc] = value; + }); + } + if (input[_EDS] != null) { + const memberEntries = se_AttributeBooleanValue(input[_EDS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableDnsSupport.${key}`; + entries[loc] = value; + }); + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_ENAUM] != null) { + const memberEntries = se_AttributeBooleanValue(input[_ENAUM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnableNetworkAddressUsageMetrics.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVpcAttributeRequest"); +var se_ModifyVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CNIon] != null) { + entries[_CNIon] = input[_CNIon]; + } + if (input[_CNAon] != null) { + entries[_CNAon] = input[_CNAon]; + } + if (input[_CEo] != null) { + const memberEntries = se_ValueStringList(input[_CEo], context); + if (((_a2 = input[_CEo]) == null ? void 0 : _a2.length) === 0) { + entries.ConnectionEvents = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConnectionEvents.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVpcEndpointConnectionNotificationRequest"); +var se_ModifyVpcEndpointRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + if (input[_RP] != null) { + entries[_RP] = input[_RP]; + } + if (input[_PD] != null) { + entries[_PD] = input[_PD]; + } + if (input[_ARTI] != null) { + const memberEntries = se_VpcEndpointRouteTableIdList(input[_ARTI], context); + if (((_a2 = input[_ARTI]) == null ? void 0 : _a2.length) === 0) { + entries.AddRouteTableId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddRouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RRTI] != null) { + const memberEntries = se_VpcEndpointRouteTableIdList(input[_RRTI], context); + if (((_b2 = input[_RRTI]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveRouteTableId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveRouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ASI] != null) { + const memberEntries = se_VpcEndpointSubnetIdList(input[_ASI], context); + if (((_c2 = input[_ASI]) == null ? void 0 : _c2.length) === 0) { + entries.AddSubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddSubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RSIe] != null) { + const memberEntries = se_VpcEndpointSubnetIdList(input[_RSIe], context); + if (((_d2 = input[_RSIe]) == null ? void 0 : _d2.length) === 0) { + entries.RemoveSubnetId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ASGId] != null) { + const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_ASGId], context); + if (((_e2 = input[_ASGId]) == null ? void 0 : _e2.length) === 0) { + entries.AddSecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddSecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RSGIe] != null) { + const memberEntries = se_VpcEndpointSecurityGroupIdList(input[_RSGIe], context); + if (((_f2 = input[_RSGIe]) == null ? void 0 : _f2.length) === 0) { + entries.RemoveSecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAT] != null) { + entries[_IAT] = input[_IAT]; + } + if (input[_DOn] != null) { + const memberEntries = se_DnsOptionsSpecification(input[_DOn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DnsOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_PDE] != null) { + entries[_PDE] = input[_PDE]; + } + if (input[_SC] != null) { + const memberEntries = se_SubnetConfigurationsList(input[_SC], context); + if (((_g2 = input[_SC]) == null ? void 0 : _g2.length) === 0) { + entries.SubnetConfiguration = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVpcEndpointRequest"); +var se_ModifyVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_PDN] != null) { + entries[_PDN] = input[_PDN]; + } + if (input[_RPDN] != null) { + entries[_RPDN] = input[_RPDN]; + } + if (input[_ARc] != null) { + entries[_ARc] = input[_ARc]; + } + if (input[_ANLBA] != null) { + const memberEntries = se_ValueStringList(input[_ANLBA], context); + if (((_a2 = input[_ANLBA]) == null ? void 0 : _a2.length) === 0) { + entries.AddNetworkLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddNetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RNLBA] != null) { + const memberEntries = se_ValueStringList(input[_RNLBA], context); + if (((_b2 = input[_RNLBA]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveNetworkLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveNetworkLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AGLBA] != null) { + const memberEntries = se_ValueStringList(input[_AGLBA], context); + if (((_c2 = input[_AGLBA]) == null ? void 0 : _c2.length) === 0) { + entries.AddGatewayLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RGLBA] != null) { + const memberEntries = se_ValueStringList(input[_RGLBA], context); + if (((_d2 = input[_RGLBA]) == null ? void 0 : _d2.length) === 0) { + entries.RemoveGatewayLoadBalancerArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveGatewayLoadBalancerArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ASIAT] != null) { + const memberEntries = se_ValueStringList(input[_ASIAT], context); + if (((_e2 = input[_ASIAT]) == null ? void 0 : _e2.length) === 0) { + entries.AddSupportedIpAddressType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddSupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RSIAT] != null) { + const memberEntries = se_ValueStringList(input[_RSIAT], context); + if (((_f2 = input[_RSIAT]) == null ? void 0 : _f2.length) === 0) { + entries.RemoveSupportedIpAddressType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVpcEndpointServiceConfigurationRequest"); +var se_ModifyVpcEndpointServicePayerResponsibilityRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_PRa] != null) { + entries[_PRa] = input[_PRa]; + } + return entries; +}, "se_ModifyVpcEndpointServicePayerResponsibilityRequest"); +var se_ModifyVpcEndpointServicePermissionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_AAP] != null) { + const memberEntries = se_ValueStringList(input[_AAP], context); + if (((_a2 = input[_AAP]) == null ? void 0 : _a2.length) === 0) { + entries.AddAllowedPrincipals = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddAllowedPrincipals.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RAP] != null) { + const memberEntries = se_ValueStringList(input[_RAP], context); + if (((_b2 = input[_RAP]) == null ? void 0 : _b2.length) === 0) { + entries.RemoveAllowedPrincipals = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveAllowedPrincipals.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVpcEndpointServicePermissionsRequest"); +var se_ModifyVpcPeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_APCO] != null) { + const memberEntries = se_PeeringConnectionOptionsRequest(input[_APCO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AccepterPeeringConnectionOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RPCO] != null) { + const memberEntries = se_PeeringConnectionOptionsRequest(input[_RPCO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RequesterPeeringConnectionOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + return entries; +}, "se_ModifyVpcPeeringConnectionOptionsRequest"); +var se_ModifyVpcTenancyRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_ITns] != null) { + entries[_ITns] = input[_ITns]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVpcTenancyRequest"); +var se_ModifyVpnConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_LINC] != null) { + entries[_LINC] = input[_LINC]; + } + if (input[_RINC] != null) { + entries[_RINC] = input[_RINC]; + } + if (input[_LINCo] != null) { + entries[_LINCo] = input[_LINCo]; + } + if (input[_RINCe] != null) { + entries[_RINCe] = input[_RINCe]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVpnConnectionOptionsRequest"); +var se_ModifyVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_CGIu] != null) { + entries[_CGIu] = input[_CGIu]; + } + if (input[_VGI] != null) { + entries[_VGI] = input[_VGI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVpnConnectionRequest"); +var se_ModifyVpnTunnelCertificateRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_VTOIA] != null) { + entries[_VTOIA] = input[_VTOIA]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyVpnTunnelCertificateRequest"); +var se_ModifyVpnTunnelOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_VTOIA] != null) { + entries[_VTOIA] = input[_VTOIA]; + } + if (input[_TO] != null) { + const memberEntries = se_ModifyVpnTunnelOptionsSpecification(input[_TO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TunnelOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_STR] != null) { + entries[_STR] = input[_STR]; + } + return entries; +}, "se_ModifyVpnTunnelOptionsRequest"); +var se_ModifyVpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2; + const entries = {}; + if (input[_TIC] != null) { + entries[_TIC] = input[_TIC]; + } + if (input[_TIIC] != null) { + entries[_TIIC] = input[_TIIC]; + } + if (input[_PSK] != null) { + entries[_PSK] = input[_PSK]; + } + if (input[_PLS] != null) { + entries[_PLS] = input[_PLS]; + } + if (input[_PLSh] != null) { + entries[_PLSh] = input[_PLSh]; + } + if (input[_RMTS] != null) { + entries[_RMTS] = input[_RMTS]; + } + if (input[_RFP] != null) { + entries[_RFP] = input[_RFP]; + } + if (input[_RWS] != null) { + entries[_RWS] = input[_RWS]; + } + if (input[_DPDTS] != null) { + entries[_DPDTS] = input[_DPDTS]; + } + if (input[_DPDTA] != null) { + entries[_DPDTA] = input[_DPDTA]; + } + if (input[_PEA] != null) { + const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context); + if (((_a2 = input[_PEA]) == null ? void 0 : _a2.length) === 0) { + entries.Phase1EncryptionAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PEAh] != null) { + const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context); + if (((_b2 = input[_PEAh]) == null ? void 0 : _b2.length) === 0) { + entries.Phase2EncryptionAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAh] != null) { + const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context); + if (((_c2 = input[_PIAh]) == null ? void 0 : _c2.length) === 0) { + entries.Phase1IntegrityAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAha] != null) { + const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context); + if (((_d2 = input[_PIAha]) == null ? void 0 : _d2.length) === 0) { + entries.Phase2IntegrityAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PDHGN] != null) { + const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context); + if (((_e2 = input[_PDHGN]) == null ? void 0 : _e2.length) === 0) { + entries.Phase1DHGroupNumber = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PDHGNh] != null) { + const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context); + if (((_f2 = input[_PDHGNh]) == null ? void 0 : _f2.length) === 0) { + entries.Phase2DHGroupNumber = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IKEVe] != null) { + const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context); + if (((_g2 = input[_IKEVe]) == null ? void 0 : _g2.length) === 0) { + entries.IKEVersion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IKEVersion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SA] != null) { + entries[_SA] = input[_SA]; + } + if (input[_LO] != null) { + const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LogOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_ETLC] != null) { + entries[_ETLC] = input[_ETLC]; + } + return entries; +}, "se_ModifyVpnTunnelOptionsSpecification"); +var se_MonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_MonitorInstancesRequest"); +var se_MoveAddressToVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + return entries; +}, "se_MoveAddressToVpcRequest"); +var se_MoveByoipCidrToIpamRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_IPO] != null) { + entries[_IPO] = input[_IPO]; + } + return entries; +}, "se_MoveByoipCidrToIpamRequest"); +var se_NatGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NatGatewayIdStringList"); +var se_NetworkAclIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkAclIdStringList"); +var se_NetworkBandwidthGbps = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_NetworkBandwidthGbps"); +var se_NetworkBandwidthGbpsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_NetworkBandwidthGbpsRequest"); +var se_NetworkInsightsAccessScopeAnalysisIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInsightsAccessScopeAnalysisIdList"); +var se_NetworkInsightsAccessScopeIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInsightsAccessScopeIdList"); +var se_NetworkInsightsAnalysisIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInsightsAnalysisIdList"); +var se_NetworkInsightsPathIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInsightsPathIdList"); +var se_NetworkInterfaceAttachmentChanges = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIt] != null) { + entries[_AIt] = input[_AIt]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + return entries; +}, "se_NetworkInterfaceAttachmentChanges"); +var se_NetworkInterfaceCount = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_NetworkInterfaceCount"); +var se_NetworkInterfaceCountRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_NetworkInterfaceCountRequest"); +var se_NetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInterfaceIdList"); +var se_NetworkInterfacePermissionIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_NetworkInterfacePermissionIdList"); +var se_NewDhcpConfiguration = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + if (input[_Val] != null) { + const memberEntries = se_ValueStringList(input[_Val], context); + if (((_a2 = input[_Val]) == null ? void 0 : _a2.length) === 0) { + entries.Value = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Value.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_NewDhcpConfiguration"); +var se_NewDhcpConfigurationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_NewDhcpConfiguration(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_NewDhcpConfigurationList"); +var se_OccurrenceDayRequestSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`OccurenceDay.${counter}`] = entry; + counter++; + } + return entries; +}, "se_OccurrenceDayRequestSet"); +var se_OnDemandOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AS] != null) { + entries[_AS] = input[_AS]; + } + if (input[_CRO] != null) { + const memberEntries = se_CapacityReservationOptionsRequest(input[_CRO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_SITi] != null) { + entries[_SITi] = input[_SITi]; + } + if (input[_SAZ] != null) { + entries[_SAZ] = input[_SAZ]; + } + if (input[_MTC] != null) { + entries[_MTC] = input[_MTC]; + } + if (input[_MTP] != null) { + entries[_MTP] = input[_MTP]; + } + return entries; +}, "se_OnDemandOptionsRequest"); +var se_OrganizationalUnitArnStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`OrganizationalUnitArn.${counter}`] = entry; + counter++; + } + return entries; +}, "se_OrganizationalUnitArnStringList"); +var se_OrganizationArnStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`OrganizationArn.${counter}`] = entry; + counter++; + } + return entries; +}, "se_OrganizationArnStringList"); +var se_OwnerStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Owner.${counter}`] = entry; + counter++; + } + return entries; +}, "se_OwnerStringList"); +var se_PacketHeaderStatementRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2; + const entries = {}; + if (input[_SAo] != null) { + const memberEntries = se_ValueStringList(input[_SAo], context); + if (((_a2 = input[_SAo]) == null ? void 0 : _a2.length) === 0) { + entries.SourceAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DAes] != null) { + const memberEntries = se_ValueStringList(input[_DAes], context); + if (((_b2 = input[_DAes]) == null ? void 0 : _b2.length) === 0) { + entries.DestinationAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPo] != null) { + const memberEntries = se_ValueStringList(input[_SPo], context); + if (((_c2 = input[_SPo]) == null ? void 0 : _c2.length) === 0) { + entries.SourcePort = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePort.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DPe] != null) { + const memberEntries = se_ValueStringList(input[_DPe], context); + if (((_d2 = input[_DPe]) == null ? void 0 : _d2.length) === 0) { + entries.DestinationPort = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationPort.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPL] != null) { + const memberEntries = se_ValueStringList(input[_SPL], context); + if (((_e2 = input[_SPL]) == null ? void 0 : _e2.length) === 0) { + entries.SourcePrefixList = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePrefixList.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DPLe] != null) { + const memberEntries = se_ValueStringList(input[_DPLe], context); + if (((_f2 = input[_DPLe]) == null ? void 0 : _f2.length) === 0) { + entries.DestinationPrefixList = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationPrefixList.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Pro] != null) { + const memberEntries = se_ProtocolList(input[_Pro], context); + if (((_g2 = input[_Pro]) == null ? void 0 : _g2.length) === 0) { + entries.Protocol = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Protocol.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_PacketHeaderStatementRequest"); +var se_PathRequestFilter = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SAou] != null) { + entries[_SAou] = input[_SAou]; + } + if (input[_SPR] != null) { + const memberEntries = se_RequestFilterPortRange(input[_SPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_DAest] != null) { + entries[_DAest] = input[_DAest]; + } + if (input[_DPR] != null) { + const memberEntries = se_RequestFilterPortRange(input[_DPR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DestinationPortRange.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_PathRequestFilter"); +var se_PathStatementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PHS] != null) { + const memberEntries = se_PacketHeaderStatementRequest(input[_PHS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PacketHeaderStatement.${key}`; + entries[loc] = value; + }); + } + if (input[_RSe] != null) { + const memberEntries = se_ResourceStatementRequest(input[_RSe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceStatement.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_PathStatementRequest"); +var se_PeeringConnectionOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ADRFRV] != null) { + entries[_ADRFRV] = input[_ADRFRV]; + } + if (input[_AEFLCLTRV] != null) { + entries[_AEFLCLTRV] = input[_AEFLCLTRV]; + } + if (input[_AEFLVTRCL] != null) { + entries[_AEFLVTRCL] = input[_AEFLVTRCL]; + } + return entries; +}, "se_PeeringConnectionOptionsRequest"); +var se_Phase1DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase1DHGroupNumbersRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase1DHGroupNumbersRequestList"); +var se_Phase1DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase1DHGroupNumbersRequestListValue"); +var se_Phase1EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase1EncryptionAlgorithmsRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase1EncryptionAlgorithmsRequestList"); +var se_Phase1EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase1EncryptionAlgorithmsRequestListValue"); +var se_Phase1IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase1IntegrityAlgorithmsRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase1IntegrityAlgorithmsRequestList"); +var se_Phase1IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase1IntegrityAlgorithmsRequestListValue"); +var se_Phase2DHGroupNumbersRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase2DHGroupNumbersRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase2DHGroupNumbersRequestList"); +var se_Phase2DHGroupNumbersRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase2DHGroupNumbersRequestListValue"); +var se_Phase2EncryptionAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase2EncryptionAlgorithmsRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase2EncryptionAlgorithmsRequestList"); +var se_Phase2EncryptionAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase2EncryptionAlgorithmsRequestListValue"); +var se_Phase2IntegrityAlgorithmsRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Phase2IntegrityAlgorithmsRequestListValue(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_Phase2IntegrityAlgorithmsRequestList"); +var se_Phase2IntegrityAlgorithmsRequestListValue = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Phase2IntegrityAlgorithmsRequestListValue"); +var se_Placement = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_Af] != null) { + entries[_Af] = input[_Af]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_PN] != null) { + entries[_PN] = input[_PN]; + } + if (input[_HIo] != null) { + entries[_HIo] = input[_HIo]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_SD] != null) { + entries[_SD] = input[_SD]; + } + if (input[_HRGA] != null) { + entries[_HRGA] = input[_HRGA]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + return entries; +}, "se_Placement"); +var se_PlacementGroupIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`GroupId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PlacementGroupIdStringList"); +var se_PlacementGroupStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PlacementGroupStringList"); +var se_PortRange = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fr] != null) { + entries[_Fr] = input[_Fr]; + } + if (input[_To] != null) { + entries[_To] = input[_To]; + } + return entries; +}, "se_PortRange"); +var se_PrefixListId = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + return entries; +}, "se_PrefixListId"); +var se_PrefixListIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PrefixListId(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PrefixListIdList"); +var se_PrefixListResourceIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PrefixListResourceIdStringList"); +var se_PriceScheduleSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CCu] != null) { + entries[_CCu] = input[_CCu]; + } + if (input[_Pric] != null) { + entries[_Pric] = (0, import_smithy_client.serializeFloat)(input[_Pric]); + } + if (input[_Ter] != null) { + entries[_Ter] = input[_Ter]; + } + return entries; +}, "se_PriceScheduleSpecification"); +var se_PriceScheduleSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PriceScheduleSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PriceScheduleSpecificationList"); +var se_PrivateDnsNameOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_HTo] != null) { + entries[_HTo] = input[_HTo]; + } + if (input[_ERNDAR] != null) { + entries[_ERNDAR] = input[_ERNDAR]; + } + if (input[_ERNDAAAAR] != null) { + entries[_ERNDAAAAR] = input[_ERNDAAAAR]; + } + return entries; +}, "se_PrivateDnsNameOptionsRequest"); +var se_PrivateIpAddressConfigSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ScheduledInstancesPrivateIpAddressConfig(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`PrivateIpAddressConfigSet.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PrivateIpAddressConfigSet"); +var se_PrivateIpAddressSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Prim] != null) { + entries[_Prim] = input[_Prim]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + return entries; +}, "se_PrivateIpAddressSpecification"); +var se_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PrivateIpAddressSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PrivateIpAddressSpecificationList"); +var se_PrivateIpAddressStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`PrivateIpAddress.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PrivateIpAddressStringList"); +var se_ProductCodeStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ProductCode.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ProductCodeStringList"); +var se_ProductDescriptionList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ProductDescriptionList"); +var se_ProtocolList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ProtocolList"); +var se_ProvisionByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_CAC] != null) { + const memberEntries = se_CidrAuthorizationContext(input[_CAC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CidrAuthorizationContext.${key}`; + entries[loc] = value; + }); + } + if (input[_PA] != null) { + entries[_PA] = input[_PA]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PTS] != null) { + const memberEntries = se_TagSpecificationList(input[_PTS], context); + if (((_a2 = input[_PTS]) == null ? void 0 : _a2.length) === 0) { + entries.PoolTagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PoolTagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MRu] != null) { + entries[_MRu] = input[_MRu]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + return entries; +}, "se_ProvisionByoipCidrRequest"); +var se_ProvisionIpamByoasnRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_As] != null) { + entries[_As] = input[_As]; + } + if (input[_AAC] != null) { + const memberEntries = se_AsnAuthorizationContext(input[_AAC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AsnAuthorizationContext.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ProvisionIpamByoasnRequest"); +var se_ProvisionIpamPoolCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_CAC] != null) { + const memberEntries = se_IpamCidrAuthorizationContext(input[_CAC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CidrAuthorizationContext.${key}`; + entries[loc] = value; + }); + } + if (input[_NL] != null) { + entries[_NL] = input[_NL]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_ProvisionIpamPoolCidrRequest"); +var se_ProvisionPublicIpv4PoolCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + if (input[_NL] != null) { + entries[_NL] = input[_NL]; + } + return entries; +}, "se_ProvisionPublicIpv4PoolCidrRequest"); +var se_PublicIpStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`PublicIp.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PublicIpStringList"); +var se_PublicIpv4PoolIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_PublicIpv4PoolIdStringList"); +var se_PurchaseCapacityBlockRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CBOI] != null) { + entries[_CBOI] = input[_CBOI]; + } + if (input[_IPn] != null) { + entries[_IPn] = input[_IPn]; + } + return entries; +}, "se_PurchaseCapacityBlockRequest"); +var se_PurchaseHostReservationRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_CCu] != null) { + entries[_CCu] = input[_CCu]; + } + if (input[_HIS] != null) { + const memberEntries = se_RequestHostIdSet(input[_HIS], context); + if (((_a2 = input[_HIS]) == null ? void 0 : _a2.length) === 0) { + entries.HostIdSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostIdSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LPi] != null) { + entries[_LPi] = input[_LPi]; + } + if (input[_OI] != null) { + entries[_OI] = input[_OI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_b2 = input[_TS]) == null ? void 0 : _b2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_PurchaseHostReservationRequest"); +var se_PurchaseRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_PT] != null) { + entries[_PT] = input[_PT]; + } + return entries; +}, "se_PurchaseRequest"); +var se_PurchaseRequestSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PurchaseRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`PurchaseRequest.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PurchaseRequestSet"); +var se_PurchaseReservedInstancesOfferingRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_RIOIe] != null) { + entries[_RIOIe] = input[_RIOIe]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LPi] != null) { + const memberEntries = se_ReservedInstanceLimitPrice(input[_LPi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LimitPrice.${key}`; + entries[loc] = value; + }); + } + if (input[_PTu] != null) { + entries[_PTu] = input[_PTu].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_PurchaseReservedInstancesOfferingRequest"); +var se_PurchaseScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PRu] != null) { + const memberEntries = se_PurchaseRequestSet(input[_PRu], context); + if (((_a2 = input[_PRu]) == null ? void 0 : _a2.length) === 0) { + entries.PurchaseRequest = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PurchaseRequest.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_PurchaseScheduledInstancesRequest"); +var se_ReasonCodesList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReasonCodesList"); +var se_RebootInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RebootInstancesRequest"); +var se_RegionNames = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RegionNames"); +var se_RegionNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`RegionName.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RegionNameStringList"); +var se_RegisterImageRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_IL] != null) { + entries[_IL] = input[_IL]; + } + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ESn] != null) { + entries[_ESn] = input[_ESn]; + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_BPi] != null) { + const memberEntries = se_BillingProductList(input[_BPi], context); + if (((_b2 = input[_BPi]) == null ? void 0 : _b2.length) === 0) { + entries.BillingProduct = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BillingProduct.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_RDN] != null) { + entries[_RDN] = input[_RDN]; + } + if (input[_SNS] != null) { + entries[_SNS] = input[_SNS]; + } + if (input[_VTir] != null) { + entries[_VTir] = input[_VTir]; + } + if (input[_BM] != null) { + entries[_BM] = input[_BM]; + } + if (input[_TSp] != null) { + entries[_TSp] = input[_TSp]; + } + if (input[_UDe] != null) { + entries[_UDe] = input[_UDe]; + } + if (input[_ISm] != null) { + entries[_ISm] = input[_ISm]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RegisterImageRequest"); +var se_RegisterInstanceEventNotificationAttributesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITA] != null) { + const memberEntries = se_RegisterInstanceTagAttributeRequest(input[_ITA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTagAttribute.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RegisterInstanceEventNotificationAttributesRequest"); +var se_RegisterInstanceTagAttributeRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IATOI] != null) { + entries[_IATOI] = input[_IATOI]; + } + if (input[_ITK] != null) { + const memberEntries = se_InstanceTagKeySet(input[_ITK], context); + if (((_a2 = input[_ITK]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceTagKey = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceTagKey.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RegisterInstanceTagAttributeRequest"); +var se_RegisterTransitGatewayMulticastGroupMembersRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_GIA] != null) { + entries[_GIA] = input[_GIA]; + } + if (input[_NIIe] != null) { + const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); + if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInterfaceIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RegisterTransitGatewayMulticastGroupMembersRequest"); +var se_RegisterTransitGatewayMulticastGroupSourcesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_GIA] != null) { + entries[_GIA] = input[_GIA]; + } + if (input[_NIIe] != null) { + const memberEntries = se_TransitGatewayNetworkInterfaceIdList(input[_NIIe], context); + if (((_a2 = input[_NIIe]) == null ? void 0 : _a2.length) === 0) { + entries.NetworkInterfaceIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RegisterTransitGatewayMulticastGroupSourcesRequest"); +var se_RejectTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_SIu] != null) { + const memberEntries = se_ValueStringList(input[_SIu], context); + if (((_a2 = input[_SIu]) == null ? void 0 : _a2.length) === 0) { + entries.SubnetIds = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RejectTransitGatewayMulticastDomainAssociationsRequest"); +var se_RejectTransitGatewayPeeringAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RejectTransitGatewayPeeringAttachmentRequest"); +var se_RejectTransitGatewayVpcAttachmentRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RejectTransitGatewayVpcAttachmentRequest"); +var se_RejectVpcEndpointConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + if (((_a2 = input[_VEI]) == null ? void 0 : _a2.length) === 0) { + entries.VpcEndpointId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcEndpointId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RejectVpcEndpointConnectionsRequest"); +var se_RejectVpcPeeringConnectionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + return entries; +}, "se_RejectVpcPeeringConnectionRequest"); +var se_ReleaseAddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ReleaseAddressRequest"); +var se_ReleaseHostsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + if (((_a2 = input[_HI]) == null ? void 0 : _a2.length) === 0) { + entries.HostId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ReleaseHostsRequest"); +var se_ReleaseIpamPoolAllocationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_IPAI] != null) { + entries[_IPAI] = input[_IPAI]; + } + return entries; +}, "se_ReleaseIpamPoolAllocationRequest"); +var se_RemoveIpamOperatingRegion = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RN] != null) { + entries[_RN] = input[_RN]; + } + return entries; +}, "se_RemoveIpamOperatingRegion"); +var se_RemoveIpamOperatingRegionSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_RemoveIpamOperatingRegion(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_RemoveIpamOperatingRegionSet"); +var se_RemovePrefixListEntries = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_RemovePrefixListEntry(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_RemovePrefixListEntries"); +var se_RemovePrefixListEntry = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + return entries; +}, "se_RemovePrefixListEntry"); +var se_ReplaceIamInstanceProfileAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIP] != null) { + const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + return entries; +}, "se_ReplaceIamInstanceProfileAssociationRequest"); +var se_ReplaceNetworkAclAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + return entries; +}, "se_ReplaceNetworkAclAssociationRequest"); +var se_ReplaceNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + if (input[_ITC] != null) { + const memberEntries = se_IcmpTypeCode(input[_ITC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Icmp.${key}`; + entries[loc] = value; + }); + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_PR] != null) { + const memberEntries = se_PortRange(input[_PR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + return entries; +}, "se_ReplaceNetworkAclEntryRequest"); +var se_ReplaceRootVolumeTaskIds = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ReplaceRootVolumeTaskId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReplaceRootVolumeTaskIds"); +var se_ReplaceRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + if (input[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + if (input[_EOIGI] != null) { + entries[_EOIGI] = input[_EOIGI]; + } + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_LTo] != null) { + entries[_LTo] = input[_LTo]; + } + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_LGI] != null) { + entries[_LGI] = input[_LGI]; + } + if (input[_CGI] != null) { + entries[_CGI] = input[_CGI]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + if (input[_CNAo] != null) { + entries[_CNAo] = input[_CNAo]; + } + return entries; +}, "se_ReplaceRouteRequest"); +var se_ReplaceRouteTableAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + return entries; +}, "se_ReplaceRouteTableAssociationRequest"); +var se_ReplaceTransitGatewayRouteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Bl] != null) { + entries[_Bl] = input[_Bl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ReplaceTransitGatewayRouteRequest"); +var se_ReplaceVpnTunnelRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VCI] != null) { + entries[_VCI] = input[_VCI]; + } + if (input[_VTOIA] != null) { + entries[_VTOIA] = input[_VTOIA]; + } + if (input[_APM] != null) { + entries[_APM] = input[_APM]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ReplaceVpnTunnelRequest"); +var se_ReportInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ETn] != null) { + entries[_ETn] = input[_ETn].toISOString().split(".")[0] + "Z"; + } + if (input[_In] != null) { + const memberEntries = se_InstanceIdStringList(input[_In], context); + if (((_a2 = input[_In]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RCe] != null) { + const memberEntries = se_ReasonCodesList(input[_RCe], context); + if (((_b2 = input[_RCe]) == null ? void 0 : _b2.length) === 0) { + entries.ReasonCode = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReasonCode.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_STt] != null) { + entries[_STt] = input[_STt].toISOString().split(".")[0] + "Z"; + } + if (input[_Statu] != null) { + entries[_Statu] = input[_Statu]; + } + return entries; +}, "se_ReportInstanceStatusRequest"); +var se_RequestFilterPortRange = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + return entries; +}, "se_RequestFilterPortRange"); +var se_RequestHostIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RequestHostIdList"); +var se_RequestHostIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RequestHostIdSet"); +var se_RequestInstanceTypeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RequestInstanceTypeList"); +var se_RequestIpamResourceTag = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_RequestIpamResourceTag"); +var se_RequestIpamResourceTagList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_RequestIpamResourceTag(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_RequestIpamResourceTagList"); +var se_RequestLaunchTemplateData = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2; + const entries = {}; + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_IIP] != null) { + const memberEntries = se_LaunchTemplateIamInstanceProfileSpecificationRequest(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_BDM] != null) { + const memberEntries = se_LaunchTemplateBlockDeviceMappingRequestList(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NI] != null) { + const memberEntries = se_LaunchTemplateInstanceNetworkInterfaceSpecificationRequestList(input[_NI], context); + if (((_b2 = input[_NI]) == null ? void 0 : _b2.length) === 0) { + entries.NetworkInterface = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_Mon] != null) { + const memberEntries = se_LaunchTemplatesMonitoringRequest(input[_Mon], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Monitoring.${key}`; + entries[loc] = value; + }); + } + if (input[_Pl] != null) { + const memberEntries = se_LaunchTemplatePlacementRequest(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_RDI] != null) { + entries[_RDI] = input[_RDI]; + } + if (input[_DATis] != null) { + entries[_DATis] = input[_DATis]; + } + if (input[_IISB] != null) { + entries[_IISB] = input[_IISB]; + } + if (input[_UD] != null) { + entries[_UD] = input[_UD]; + } + if (input[_TS] != null) { + const memberEntries = se_LaunchTemplateTagSpecificationRequestList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EGS] != null) { + const memberEntries = se_ElasticGpuSpecificationList(input[_EGS], context); + if (((_d2 = input[_EGS]) == null ? void 0 : _d2.length) === 0) { + entries.ElasticGpuSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EIA] != null) { + const memberEntries = se_LaunchTemplateElasticInferenceAcceleratorList(input[_EIA], context); + if (((_e2 = input[_EIA]) == null ? void 0 : _e2.length) === 0) { + entries.ElasticInferenceAccelerator = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGI] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context); + if (((_f2 = input[_SGI]) == null ? void 0 : _f2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SG] != null) { + const memberEntries = se_SecurityGroupStringList(input[_SG], context); + if (((_g2 = input[_SG]) == null ? void 0 : _g2.length) === 0) { + entries.SecurityGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IMO] != null) { + const memberEntries = se_LaunchTemplateInstanceMarketOptionsRequest(input[_IMO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceMarketOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CSred] != null) { + const memberEntries = se_CreditSpecificationRequest(input[_CSred], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CreditSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_CO] != null) { + const memberEntries = se_LaunchTemplateCpuOptionsRequest(input[_CO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CpuOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CRS] != null) { + const memberEntries = se_LaunchTemplateCapacityReservationSpecificationRequest(input[_CRS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_LSi] != null) { + const memberEntries = se_LaunchTemplateLicenseSpecificationListRequest(input[_LSi], context); + if (((_h2 = input[_LSi]) == null ? void 0 : _h2.length) === 0) { + entries.LicenseSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LicenseSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_HO] != null) { + const memberEntries = se_LaunchTemplateHibernationOptionsRequest(input[_HO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HibernationOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_MO] != null) { + const memberEntries = se_LaunchTemplateInstanceMetadataOptionsRequest(input[_MO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MetadataOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_EOn] != null) { + const memberEntries = se_LaunchTemplateEnclaveOptionsRequest(input[_EOn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnclaveOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirementsRequest(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + if (input[_PDNO] != null) { + const memberEntries = se_LaunchTemplatePrivateDnsNameOptionsRequest(input[_PDNO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateDnsNameOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_MOa] != null) { + const memberEntries = se_LaunchTemplateInstanceMaintenanceOptionsRequest(input[_MOa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MaintenanceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DAS] != null) { + entries[_DAS] = input[_DAS]; + } + return entries; +}, "se_RequestLaunchTemplateData"); +var se_RequestSpotFleetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFRC] != null) { + const memberEntries = se_SpotFleetRequestConfigData(input[_SFRC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotFleetRequestConfig.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RequestSpotFleetRequest"); +var se_RequestSpotInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_AZG] != null) { + entries[_AZG] = input[_AZG]; + } + if (input[_BDMl] != null) { + entries[_BDMl] = input[_BDMl]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_LG] != null) { + entries[_LG] = input[_LG]; + } + if (input[_LSa] != null) { + const memberEntries = se_RequestSpotLaunchSpecification(input[_LSa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_SPp] != null) { + entries[_SPp] = input[_SPp]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_VF] != null) { + entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; + } + if (input[_VU] != null) { + entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + return entries; +}, "se_RequestSpotInstancesRequest"); +var se_RequestSpotLaunchSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_SGI] != null) { + const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupIdList(input[_SGI], context); + if (((_a2 = input[_SGI]) == null ? void 0 : _a2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SG] != null) { + const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupList(input[_SG], context); + if (((_b2 = input[_SG]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ATd] != null) { + entries[_ATd] = input[_ATd]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingList(input[_BDM], context); + if (((_c2 = input[_BDM]) == null ? void 0 : _c2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_IIP] != null) { + const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_Mon] != null) { + const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Monitoring.${key}`; + entries[loc] = value; + }); + } + if (input[_NI] != null) { + const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); + if (((_d2 = input[_NI]) == null ? void 0 : _d2.length) === 0) { + entries.NetworkInterface = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Pl] != null) { + const memberEntries = se_SpotPlacement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_UD] != null) { + entries[_UD] = input[_UD]; + } + return entries; +}, "se_RequestSpotLaunchSpecification"); +var se_RequestSpotLaunchSpecificationSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RequestSpotLaunchSpecificationSecurityGroupIdList"); +var se_RequestSpotLaunchSpecificationSecurityGroupList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RequestSpotLaunchSpecificationSecurityGroupList"); +var se_ReservationFleetInstanceSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IPn] != null) { + entries[_IPn] = input[_IPn]; + } + if (input[_W] != null) { + entries[_W] = (0, import_smithy_client.serializeFloat)(input[_W]); + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_AZI] != null) { + entries[_AZI] = input[_AZI]; + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_Pri] != null) { + entries[_Pri] = input[_Pri]; + } + return entries; +}, "se_ReservationFleetInstanceSpecification"); +var se_ReservationFleetInstanceSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ReservationFleetInstanceSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ReservationFleetInstanceSpecificationList"); +var se_ReservedInstanceIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ReservedInstanceId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReservedInstanceIdSet"); +var se_ReservedInstanceLimitPrice = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Am] != null) { + entries[_Am] = (0, import_smithy_client.serializeFloat)(input[_Am]); + } + if (input[_CCu] != null) { + entries[_CCu] = input[_CCu]; + } + return entries; +}, "se_ReservedInstanceLimitPrice"); +var se_ReservedInstancesConfiguration = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_Pla] != null) { + entries[_Pla] = input[_Pla]; + } + if (input[_Sc] != null) { + entries[_Sc] = input[_Sc]; + } + return entries; +}, "se_ReservedInstancesConfiguration"); +var se_ReservedInstancesConfigurationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ReservedInstancesConfiguration(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ReservedInstancesConfigurationList"); +var se_ReservedInstancesIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ReservedInstancesId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReservedInstancesIdStringList"); +var se_ReservedInstancesModificationIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ReservedInstancesModificationId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReservedInstancesModificationIdStringList"); +var se_ReservedInstancesOfferingIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ReservedInstancesOfferingIdStringList"); +var se_ResetAddressAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIl] != null) { + entries[_AIl] = input[_AIl]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ResetAddressAttributeRequest"); +var se_ResetEbsDefaultKmsKeyIdRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ResetEbsDefaultKmsKeyIdRequest"); +var se_ResetFpgaImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FII] != null) { + entries[_FII] = input[_FII]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + return entries; +}, "se_ResetFpgaImageAttributeRequest"); +var se_ResetImageAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ResetImageAttributeRequest"); +var se_ResetInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + return entries; +}, "se_ResetInstanceAttributeRequest"); +var se_ResetNetworkInterfaceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_SDC] != null) { + entries[_SDC] = input[_SDC]; + } + return entries; +}, "se_ResetNetworkInterfaceAttributeRequest"); +var se_ResetSnapshotAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ResetSnapshotAttributeRequest"); +var se_ResourceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ResourceIdList"); +var se_ResourceList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ResourceList"); +var se_ResourceStatementRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_R] != null) { + const memberEntries = se_ValueStringList(input[_R], context); + if (((_a2 = input[_R]) == null ? void 0 : _a2.length) === 0) { + entries.Resource = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Resource.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RTeso] != null) { + const memberEntries = se_ValueStringList(input[_RTeso], context); + if (((_b2 = input[_RTeso]) == null ? void 0 : _b2.length) === 0) { + entries.ResourceType = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ResourceStatementRequest"); +var se_RestorableByStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RestorableByStringList"); +var se_RestoreAddressToClassicRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + return entries; +}, "se_RestoreAddressToClassicRequest"); +var se_RestoreImageFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RestoreImageFromRecycleBinRequest"); +var se_RestoreManagedPrefixListVersionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_PV] != null) { + entries[_PV] = input[_PV]; + } + if (input[_CVu] != null) { + entries[_CVu] = input[_CVu]; + } + return entries; +}, "se_RestoreManagedPrefixListVersionRequest"); +var se_RestoreSnapshotFromRecycleBinRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RestoreSnapshotFromRecycleBinRequest"); +var se_RestoreSnapshotTierRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_TRD] != null) { + entries[_TRD] = input[_TRD]; + } + if (input[_PRer] != null) { + entries[_PRer] = input[_PRer]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RestoreSnapshotTierRequest"); +var se_RevokeClientVpnIngressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_TNC] != null) { + entries[_TNC] = input[_TNC]; + } + if (input[_AGI] != null) { + entries[_AGI] = input[_AGI]; + } + if (input[_RAG] != null) { + entries[_RAG] = input[_RAG]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_RevokeClientVpnIngressRequest"); +var se_RevokeSecurityGroupEgressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGRI] != null) { + const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); + if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroupRuleId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + return entries; +}, "se_RevokeSecurityGroupEgressRequest"); +var se_RevokeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SGRI] != null) { + const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); + if (((_b2 = input[_SGRI]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroupRuleId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRuleId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RevokeSecurityGroupIngressRequest"); +var se_RouteTableIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_RouteTableIdStringList"); +var se_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_RunInstancesMonitoringEnabled"); +var se_RunInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2; + const entries = {}; + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); + if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Address = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Address.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_MC] != null) { + entries[_MC] = input[_MC]; + } + if (input[_MCi] != null) { + entries[_MCi] = input[_MCi]; + } + if (input[_Mon] != null) { + const memberEntries = se_RunInstancesMonitoringEnabled(input[_Mon], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Monitoring.${key}`; + entries[loc] = value; + }); + } + if (input[_Pl] != null) { + const memberEntries = se_Placement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_SGI] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_SGI], context); + if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SG] != null) { + const memberEntries = se_SecurityGroupStringList(input[_SG], context); + if (((_d2 = input[_SG]) == null ? void 0 : _d2.length) === 0) { + entries.SecurityGroup = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroup.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_UD] != null) { + entries[_UD] = input[_UD]; + } + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DATis] != null) { + entries[_DATis] = input[_DATis]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_IIP] != null) { + const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_IISB] != null) { + entries[_IISB] = input[_IISB]; + } + if (input[_NI] != null) { + const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); + if (((_e2 = input[_NI]) == null ? void 0 : _e2.length) === 0) { + entries.NetworkInterface = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_EGSl] != null) { + const memberEntries = se_ElasticGpuSpecifications(input[_EGSl], context); + if (((_f2 = input[_EGSl]) == null ? void 0 : _f2.length) === 0) { + entries.ElasticGpuSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ElasticGpuSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EIA] != null) { + const memberEntries = se_ElasticInferenceAccelerators(input[_EIA], context); + if (((_g2 = input[_EIA]) == null ? void 0 : _g2.length) === 0) { + entries.ElasticInferenceAccelerator = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ElasticInferenceAccelerator.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_h2 = input[_TS]) == null ? void 0 : _h2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LTa] != null) { + const memberEntries = se_LaunchTemplateSpecification(input[_LTa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplate.${key}`; + entries[loc] = value; + }); + } + if (input[_IMO] != null) { + const memberEntries = se_InstanceMarketOptionsRequest(input[_IMO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceMarketOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CSred] != null) { + const memberEntries = se_CreditSpecificationRequest(input[_CSred], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CreditSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_CO] != null) { + const memberEntries = se_CpuOptionsRequest(input[_CO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CpuOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CRS] != null) { + const memberEntries = se_CapacityReservationSpecification(input[_CRS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_HO] != null) { + const memberEntries = se_HibernationOptionsRequest(input[_HO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HibernationOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_LSi] != null) { + const memberEntries = se_LicenseSpecificationListRequest(input[_LSi], context); + if (((_i2 = input[_LSi]) == null ? void 0 : _i2.length) === 0) { + entries.LicenseSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LicenseSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MO] != null) { + const memberEntries = se_InstanceMetadataOptionsRequest(input[_MO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MetadataOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_EOn] != null) { + const memberEntries = se_EnclaveOptionsRequest(input[_EOn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `EnclaveOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_PDNO] != null) { + const memberEntries = se_PrivateDnsNameOptionsRequest(input[_PDNO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateDnsNameOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_MOa] != null) { + const memberEntries = se_InstanceMaintenanceOptionsRequest(input[_MOa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MaintenanceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_DAS] != null) { + entries[_DAS] = input[_DAS]; + } + if (input[_EPI] != null) { + entries[_EPI] = input[_EPI]; + } + return entries; +}, "se_RunInstancesRequest"); +var se_RunScheduledInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_LSa] != null) { + const memberEntries = se_ScheduledInstancesLaunchSpecification(input[_LSa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchSpecification.${key}`; + entries[loc] = value; + }); + } + if (input[_SIIch] != null) { + entries[_SIIch] = input[_SIIch]; + } + return entries; +}, "se_RunScheduledInstancesRequest"); +var se_S3ObjectTag = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_S3ObjectTag"); +var se_S3ObjectTagList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_S3ObjectTag(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_S3ObjectTagList"); +var se_S3Storage = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AWSAKI] != null) { + entries[_AWSAKI] = input[_AWSAKI]; + } + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_Pr] != null) { + entries[_Pr] = input[_Pr]; + } + if (input[_UP] != null) { + entries[_UP] = context.base64Encoder(input[_UP]); + } + if (input[_UPS] != null) { + entries[_UPS] = input[_UPS]; + } + return entries; +}, "se_S3Storage"); +var se_ScheduledInstanceIdRequestSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ScheduledInstanceId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ScheduledInstanceIdRequestSet"); +var se_ScheduledInstanceRecurrenceRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_Fre] != null) { + entries[_Fre] = input[_Fre]; + } + if (input[_Int] != null) { + entries[_Int] = input[_Int]; + } + if (input[_OD] != null) { + const memberEntries = se_OccurrenceDayRequestSet(input[_OD], context); + if (((_a2 = input[_OD]) == null ? void 0 : _a2.length) === 0) { + entries.OccurrenceDay = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `OccurrenceDay.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ORTE] != null) { + entries[_ORTE] = input[_ORTE]; + } + if (input[_OU] != null) { + entries[_OU] = input[_OU]; + } + return entries; +}, "se_ScheduledInstanceRecurrenceRequest"); +var se_ScheduledInstancesBlockDeviceMapping = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_E] != null) { + const memberEntries = se_ScheduledInstancesEbs(input[_E], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ebs.${key}`; + entries[loc] = value; + }); + } + if (input[_ND] != null) { + entries[_ND] = input[_ND]; + } + if (input[_VN] != null) { + entries[_VN] = input[_VN]; + } + return entries; +}, "se_ScheduledInstancesBlockDeviceMapping"); +var se_ScheduledInstancesBlockDeviceMappingSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ScheduledInstancesBlockDeviceMapping(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`BlockDeviceMapping.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ScheduledInstancesBlockDeviceMappingSet"); +var se_ScheduledInstancesEbs = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_Enc] != null) { + entries[_Enc] = input[_Enc]; + } + if (input[_Io] != null) { + entries[_Io] = input[_Io]; + } + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_VS] != null) { + entries[_VS] = input[_VS]; + } + if (input[_VT] != null) { + entries[_VT] = input[_VT]; + } + return entries; +}, "se_ScheduledInstancesEbs"); +var se_ScheduledInstancesIamInstanceProfile = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ar] != null) { + entries[_Ar] = input[_Ar]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + return entries; +}, "se_ScheduledInstancesIamInstanceProfile"); +var se_ScheduledInstancesIpv6Address = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IApv] != null) { + entries[_IApv] = input[_IApv]; + } + return entries; +}, "se_ScheduledInstancesIpv6Address"); +var se_ScheduledInstancesIpv6AddressList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ScheduledInstancesIpv6Address(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Ipv6Address.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ScheduledInstancesIpv6AddressList"); +var se_ScheduledInstancesLaunchSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_BDM] != null) { + const memberEntries = se_ScheduledInstancesBlockDeviceMappingSet(input[_BDM], context); + if (((_a2 = input[_BDM]) == null ? void 0 : _a2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_IIP] != null) { + const memberEntries = se_ScheduledInstancesIamInstanceProfile(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_Mon] != null) { + const memberEntries = se_ScheduledInstancesMonitoring(input[_Mon], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Monitoring.${key}`; + entries[loc] = value; + }); + } + if (input[_NI] != null) { + const memberEntries = se_ScheduledInstancesNetworkInterfaceSet(input[_NI], context); + if (((_b2 = input[_NI]) == null ? void 0 : _b2.length) === 0) { + entries.NetworkInterface = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Pl] != null) { + const memberEntries = se_ScheduledInstancesPlacement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_SGI] != null) { + const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_SGI], context); + if (((_c2 = input[_SGI]) == null ? void 0 : _c2.length) === 0) { + entries.SecurityGroupId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_UD] != null) { + entries[_UD] = input[_UD]; + } + return entries; +}, "se_ScheduledInstancesLaunchSpecification"); +var se_ScheduledInstancesMonitoring = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_ScheduledInstancesMonitoring"); +var se_ScheduledInstancesNetworkInterface = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_APIAs] != null) { + entries[_APIAs] = input[_APIAs]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_DIev] != null) { + entries[_DIev] = input[_DIev]; + } + if (input[_G] != null) { + const memberEntries = se_ScheduledInstancesSecurityGroupIdSet(input[_G], context); + if (((_a2 = input[_G]) == null ? void 0 : _a2.length) === 0) { + entries.Group = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Group.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_IA] != null) { + const memberEntries = se_ScheduledInstancesIpv6AddressList(input[_IA], context); + if (((_b2 = input[_IA]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Address = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Address.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_PIACr] != null) { + const memberEntries = se_PrivateIpAddressConfigSet(input[_PIACr], context); + if (((_c2 = input[_PIACr]) == null ? void 0 : _c2.length) === 0) { + entries.PrivateIpAddressConfig = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddressConfig.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPIAC] != null) { + entries[_SPIAC] = input[_SPIAC]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + return entries; +}, "se_ScheduledInstancesNetworkInterface"); +var se_ScheduledInstancesNetworkInterfaceSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ScheduledInstancesNetworkInterface(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`NetworkInterface.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ScheduledInstancesNetworkInterfaceSet"); +var se_ScheduledInstancesPlacement = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + return entries; +}, "se_ScheduledInstancesPlacement"); +var se_ScheduledInstancesPrivateIpAddressConfig = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Prim] != null) { + entries[_Prim] = input[_Prim]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + return entries; +}, "se_ScheduledInstancesPrivateIpAddressConfig"); +var se_ScheduledInstancesSecurityGroupIdSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SecurityGroupId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ScheduledInstancesSecurityGroupIdSet"); +var se_SearchLocalGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_SearchLocalGatewayRoutesRequest"); +var se_SearchTransitGatewayMulticastGroupsRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_SearchTransitGatewayMulticastGroupsRequest"); +var se_SearchTransitGatewayRoutesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + if (((_a2 = input[_Fi]) == null ? void 0 : _a2.length) === 0) { + entries.Filter = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_SearchTransitGatewayRoutesRequest"); +var se_SecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SecurityGroupIdList"); +var se_SecurityGroupIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SecurityGroupId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SecurityGroupIdStringList"); +var se_SecurityGroupIdStringListRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SecurityGroupId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SecurityGroupIdStringListRequest"); +var se_SecurityGroupRuleDescription = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SGRIe] != null) { + entries[_SGRIe] = input[_SGRIe]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_SecurityGroupRuleDescription"); +var se_SecurityGroupRuleDescriptionList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_SecurityGroupRuleDescription(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_SecurityGroupRuleDescriptionList"); +var se_SecurityGroupRuleIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SecurityGroupRuleIdList"); +var se_SecurityGroupRuleRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPpr] != null) { + entries[_IPpr] = input[_IPpr]; + } + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_CIidr] != null) { + entries[_CIidr] = input[_CIidr]; + } + if (input[_CIid] != null) { + entries[_CIid] = input[_CIid]; + } + if (input[_PLI] != null) { + entries[_PLI] = input[_PLI]; + } + if (input[_RGI] != null) { + entries[_RGI] = input[_RGI]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + return entries; +}, "se_SecurityGroupRuleRequest"); +var se_SecurityGroupRuleUpdate = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SGRIe] != null) { + entries[_SGRIe] = input[_SGRIe]; + } + if (input[_SGRe] != null) { + const memberEntries = se_SecurityGroupRuleRequest(input[_SGRe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRule.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SecurityGroupRuleUpdate"); +var se_SecurityGroupRuleUpdateList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_SecurityGroupRuleUpdate(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_SecurityGroupRuleUpdateList"); +var se_SecurityGroupStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SecurityGroup.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SecurityGroupStringList"); +var se_SendDiagnosticInterruptRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_SendDiagnosticInterruptRequest"); +var se_SlotDateTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ETa] != null) { + entries[_ETa] = input[_ETa].toISOString().split(".")[0] + "Z"; + } + if (input[_LTat] != null) { + entries[_LTat] = input[_LTat].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_SlotDateTimeRangeRequest"); +var se_SlotStartTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ETa] != null) { + entries[_ETa] = input[_ETa].toISOString().split(".")[0] + "Z"; + } + if (input[_LTat] != null) { + entries[_LTat] = input[_LTat].toISOString().split(".")[0] + "Z"; + } + return entries; +}, "se_SlotStartTimeRangeRequest"); +var se_SnapshotDiskContainer = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_Fo] != null) { + entries[_Fo] = input[_Fo]; + } + if (input[_U] != null) { + entries[_U] = input[_U]; + } + if (input[_UB] != null) { + const memberEntries = se_UserBucket(input[_UB], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserBucket.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SnapshotDiskContainer"); +var se_SnapshotIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SnapshotId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SnapshotIdStringList"); +var se_SpotCapacityRebalance = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RS] != null) { + entries[_RS] = input[_RS]; + } + if (input[_TDe] != null) { + entries[_TDe] = input[_TDe]; + } + return entries; +}, "se_SpotCapacityRebalance"); +var se_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2; + const entries = {}; + if (input[_SG] != null) { + const memberEntries = se_GroupIdentifierList(input[_SG], context); + if (((_a2 = input[_SG]) == null ? void 0 : _a2.length) === 0) { + entries.GroupSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ATd] != null) { + entries[_ATd] = input[_ATd]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingList(input[_BDM], context); + if (((_b2 = input[_BDM]) == null ? void 0 : _b2.length) === 0) { + entries.BlockDeviceMapping = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EO] != null) { + entries[_EO] = input[_EO]; + } + if (input[_IIP] != null) { + const memberEntries = se_IamInstanceProfileSpecification(input[_IIP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IamInstanceProfile.${key}`; + entries[loc] = value; + }); + } + if (input[_IIma] != null) { + entries[_IIma] = input[_IIma]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_Mon] != null) { + const memberEntries = se_SpotFleetMonitoring(input[_Mon], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Monitoring.${key}`; + entries[loc] = value; + }); + } + if (input[_NI] != null) { + const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); + if (((_c2 = input[_NI]) == null ? void 0 : _c2.length) === 0) { + entries.NetworkInterfaceSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Pl] != null) { + const memberEntries = se_SpotPlacement(input[_Pl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Placement.${key}`; + entries[loc] = value; + }); + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_SPp] != null) { + entries[_SPp] = input[_SPp]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_UD] != null) { + entries[_UD] = input[_UD]; + } + if (input[_WCe] != null) { + entries[_WCe] = (0, import_smithy_client.serializeFloat)(input[_WCe]); + } + if (input[_TS] != null) { + const memberEntries = se_SpotFleetTagSpecificationList(input[_TS], context); + if (((_d2 = input[_TS]) == null ? void 0 : _d2.length) === 0) { + entries.TagSpecificationSet = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecificationSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IR] != null) { + const memberEntries = se_InstanceRequirements(input[_IR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceRequirements.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SpotFleetLaunchSpecification"); +var se_SpotFleetMonitoring = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + return entries; +}, "se_SpotFleetMonitoring"); +var se_SpotFleetRequestConfigData = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_AS] != null) { + entries[_AS] = input[_AS]; + } + if (input[_ODAS] != null) { + entries[_ODAS] = input[_ODAS]; + } + if (input[_SMS] != null) { + const memberEntries = se_SpotMaintenanceStrategies(input[_SMS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotMaintenanceStrategies.${key}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_ECTP] != null) { + entries[_ECTP] = input[_ECTP]; + } + if (input[_FC] != null) { + entries[_FC] = (0, import_smithy_client.serializeFloat)(input[_FC]); + } + if (input[_ODFC] != null) { + entries[_ODFC] = (0, import_smithy_client.serializeFloat)(input[_ODFC]); + } + if (input[_IFR] != null) { + entries[_IFR] = input[_IFR]; + } + if (input[_LSau] != null) { + const memberEntries = se_LaunchSpecsList(input[_LSau], context); + if (((_a2 = input[_LSau]) == null ? void 0 : _a2.length) === 0) { + entries.LaunchSpecifications = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchSpecifications.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LTC] != null) { + const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context); + if (((_b2 = input[_LTC]) == null ? void 0 : _b2.length) === 0) { + entries.LaunchTemplateConfigs = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateConfigs.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SPp] != null) { + entries[_SPp] = input[_SPp]; + } + if (input[_TCa] != null) { + entries[_TCa] = input[_TCa]; + } + if (input[_ODTC] != null) { + entries[_ODTC] = input[_ODTC]; + } + if (input[_ODMTP] != null) { + entries[_ODMTP] = input[_ODMTP]; + } + if (input[_SMTP] != null) { + entries[_SMTP] = input[_SMTP]; + } + if (input[_TIWE] != null) { + entries[_TIWE] = input[_TIWE]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_VF] != null) { + entries[_VF] = input[_VF].toISOString().split(".")[0] + "Z"; + } + if (input[_VU] != null) { + entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; + } + if (input[_RUI] != null) { + entries[_RUI] = input[_RUI]; + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + if (input[_LBC] != null) { + const memberEntries = se_LoadBalancersConfig(input[_LBC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LoadBalancersConfig.${key}`; + entries[loc] = value; + }); + } + if (input[_IPTUC] != null) { + entries[_IPTUC] = input[_IPTUC]; + } + if (input[_Con] != null) { + entries[_Con] = input[_Con]; + } + if (input[_TCUT] != null) { + entries[_TCUT] = input[_TCUT]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SpotFleetRequestConfigData"); +var se_SpotFleetRequestIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SpotFleetRequestIdList"); +var se_SpotFleetTagSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { + entries.Tag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SpotFleetTagSpecification"); +var se_SpotFleetTagSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_SpotFleetTagSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_SpotFleetTagSpecificationList"); +var se_SpotInstanceRequestIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SpotInstanceRequestId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SpotInstanceRequestIdList"); +var se_SpotMaintenanceStrategies = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRap] != null) { + const memberEntries = se_SpotCapacityRebalance(input[_CRap], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityRebalance.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_SpotMaintenanceStrategies"); +var se_SpotMarketOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MPa] != null) { + entries[_MPa] = input[_MPa]; + } + if (input[_SIT] != null) { + entries[_SIT] = input[_SIT]; + } + if (input[_BDMl] != null) { + entries[_BDMl] = input[_BDMl]; + } + if (input[_VU] != null) { + entries[_VU] = input[_VU].toISOString().split(".")[0] + "Z"; + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + return entries; +}, "se_SpotMarketOptions"); +var se_SpotOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AS] != null) { + entries[_AS] = input[_AS]; + } + if (input[_MS] != null) { + const memberEntries = se_FleetSpotMaintenanceStrategiesRequest(input[_MS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `MaintenanceStrategies.${key}`; + entries[loc] = value; + }); + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + if (input[_IPTUC] != null) { + entries[_IPTUC] = input[_IPTUC]; + } + if (input[_SITi] != null) { + entries[_SITi] = input[_SITi]; + } + if (input[_SAZ] != null) { + entries[_SAZ] = input[_SAZ]; + } + if (input[_MTC] != null) { + entries[_MTC] = input[_MTC]; + } + if (input[_MTP] != null) { + entries[_MTP] = input[_MTP]; + } + return entries; +}, "se_SpotOptionsRequest"); +var se_SpotPlacement = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + return entries; +}, "se_SpotPlacement"); +var se_StartInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_StartInstancesRequest"); +var se_StartNetworkInsightsAccessScopeAnalysisRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NIASI] != null) { + entries[_NIASI] = input[_NIASI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_a2 = input[_TS]) == null ? void 0 : _a2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_StartNetworkInsightsAccessScopeAnalysisRequest"); +var se_StartNetworkInsightsAnalysisRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2; + const entries = {}; + if (input[_NIPI] != null) { + entries[_NIPI] = input[_NIPI]; + } + if (input[_AAd] != null) { + const memberEntries = se_ValueStringList(input[_AAd], context); + if (((_a2 = input[_AAd]) == null ? void 0 : _a2.length) === 0) { + entries.AdditionalAccount = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AdditionalAccount.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_FIA] != null) { + const memberEntries = se_ArnList(input[_FIA], context); + if (((_b2 = input[_FIA]) == null ? void 0 : _b2.length) === 0) { + entries.FilterInArn = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `FilterInArn.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + if (((_c2 = input[_TS]) == null ? void 0 : _c2.length) === 0) { + entries.TagSpecification = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_StartNetworkInsightsAnalysisRequest"); +var se_StartVpcEndpointServicePrivateDnsVerificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIe] != null) { + entries[_SIe] = input[_SIe]; + } + return entries; +}, "se_StartVpcEndpointServicePrivateDnsVerificationRequest"); +var se_StopInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Hi] != null) { + entries[_Hi] = input[_Hi]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_F] != null) { + entries[_F] = input[_F]; + } + return entries; +}, "se_StopInstancesRequest"); +var se_Storage = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_S_] != null) { + const memberEntries = se_S3Storage(input[_S_], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `S3.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_Storage"); +var se_StorageLocation = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + return entries; +}, "se_StorageLocation"); +var se_SubnetConfiguration = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_Ip] != null) { + entries[_Ip] = input[_Ip]; + } + if (input[_Ipv] != null) { + entries[_Ipv] = input[_Ipv]; + } + return entries; +}, "se_SubnetConfiguration"); +var se_SubnetConfigurationsList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_SubnetConfiguration(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_SubnetConfigurationsList"); +var se_SubnetIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`SubnetId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_SubnetIdStringList"); +var se_Tag = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Tag"); +var se_TagList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_Tag(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_TagList"); +var se_TagSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + if (((_a2 = input[_Ta]) == null ? void 0 : _a2.length) === 0) { + entries.Tag = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tag.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_TagSpecification"); +var se_TagSpecificationList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_TagSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_TagSpecificationList"); +var se_TargetCapacitySpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TTC] != null) { + entries[_TTC] = input[_TTC]; + } + if (input[_ODTC] != null) { + entries[_ODTC] = input[_ODTC]; + } + if (input[_STC] != null) { + entries[_STC] = input[_STC]; + } + if (input[_DTCT] != null) { + entries[_DTCT] = input[_DTCT]; + } + if (input[_TCUT] != null) { + entries[_TCUT] = input[_TCUT]; + } + return entries; +}, "se_TargetCapacitySpecificationRequest"); +var se_TargetConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_OI] != null) { + entries[_OI] = input[_OI]; + } + return entries; +}, "se_TargetConfigurationRequest"); +var se_TargetConfigurationRequestSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_TargetConfigurationRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`TargetConfigurationRequest.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_TargetConfigurationRequestSet"); +var se_TargetGroup = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Ar] != null) { + entries[_Ar] = input[_Ar]; + } + return entries; +}, "se_TargetGroup"); +var se_TargetGroups = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_TargetGroup(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_TargetGroups"); +var se_TargetGroupsConfig = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_TG] != null) { + const memberEntries = se_TargetGroups(input[_TG], context); + if (((_a2 = input[_TG]) == null ? void 0 : _a2.length) === 0) { + entries.TargetGroups = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TargetGroups.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_TargetGroupsConfig"); +var se_TerminateClientVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_CIo] != null) { + entries[_CIo] = input[_CIo]; + } + if (input[_Us] != null) { + entries[_Us] = input[_Us]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_TerminateClientVpnConnectionsRequest"); +var se_TerminateInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_TerminateInstancesRequest"); +var se_ThroughResourcesStatementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RSe] != null) { + const memberEntries = se_ResourceStatementRequest(input[_RSe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ResourceStatement.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ThroughResourcesStatementRequest"); +var se_ThroughResourcesStatementRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ThroughResourcesStatementRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ThroughResourcesStatementRequestList"); +var se_TotalLocalStorageGB = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_TotalLocalStorageGB"); +var se_TotalLocalStorageGBRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = (0, import_smithy_client.serializeFloat)(input[_M]); + } + if (input[_Ma] != null) { + entries[_Ma] = (0, import_smithy_client.serializeFloat)(input[_Ma]); + } + return entries; +}, "se_TotalLocalStorageGBRequest"); +var se_TrafficMirrorFilterIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorFilterIdList"); +var se_TrafficMirrorFilterRuleFieldList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorFilterRuleFieldList"); +var se_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorNetworkServiceList"); +var se_TrafficMirrorPortRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_FP] != null) { + entries[_FP] = input[_FP]; + } + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + return entries; +}, "se_TrafficMirrorPortRangeRequest"); +var se_TrafficMirrorSessionFieldList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorSessionFieldList"); +var se_TrafficMirrorSessionIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorSessionIdList"); +var se_TrafficMirrorTargetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrafficMirrorTargetIdList"); +var se_TransitGatewayAttachmentIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Member.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayAttachmentIdStringList"); +var se_TransitGatewayCidrBlockStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayCidrBlockStringList"); +var se_TransitGatewayConnectPeerIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayConnectPeerIdStringList"); +var se_TransitGatewayConnectRequestBgpOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PAee] != null) { + entries[_PAee] = input[_PAee]; + } + return entries; +}, "se_TransitGatewayConnectRequestBgpOptions"); +var se_TransitGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayIdStringList"); +var se_TransitGatewayMulticastDomainIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayMulticastDomainIdStringList"); +var se_TransitGatewayNetworkInterfaceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayNetworkInterfaceIdList"); +var se_TransitGatewayPolicyTableIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayPolicyTableIdStringList"); +var se_TransitGatewayRequestOptions = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_ASA] != null) { + entries[_ASA] = input[_ASA]; + } + if (input[_AASAu] != null) { + entries[_AASAu] = input[_AASAu]; + } + if (input[_DRTA] != null) { + entries[_DRTA] = input[_DRTA]; + } + if (input[_DRTP] != null) { + entries[_DRTP] = input[_DRTP]; + } + if (input[_VES] != null) { + entries[_VES] = input[_VES]; + } + if (input[_DSns] != null) { + entries[_DSns] = input[_DSns]; + } + if (input[_SGRS] != null) { + entries[_SGRS] = input[_SGRS]; + } + if (input[_MSu] != null) { + entries[_MSu] = input[_MSu]; + } + if (input[_TGCB] != null) { + const memberEntries = se_TransitGatewayCidrBlockStringList(input[_TGCB], context); + if (((_a2 = input[_TGCB]) == null ? void 0 : _a2.length) === 0) { + entries.TransitGatewayCidrBlocks = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitGatewayCidrBlocks.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_TransitGatewayRequestOptions"); +var se_TransitGatewayRouteTableAnnouncementIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayRouteTableAnnouncementIdStringList"); +var se_TransitGatewayRouteTableIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewayRouteTableIdStringList"); +var se_TransitGatewaySubnetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TransitGatewaySubnetIdList"); +var se_TrunkInterfaceAssociationIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_TrunkInterfaceAssociationIdList"); +var se_UnassignIpv6AddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_IA] != null) { + const memberEntries = se_Ipv6AddressList(input[_IA], context); + if (((_a2 = input[_IA]) == null ? void 0 : _a2.length) === 0) { + entries.Ipv6Addresses = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IP] != null) { + const memberEntries = se_IpPrefixList(input[_IP], context); + if (((_b2 = input[_IP]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv6Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + return entries; +}, "se_UnassignIpv6AddressesRequest"); +var se_UnassignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); + if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { + entries.PrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPp] != null) { + const memberEntries = se_IpPrefixList(input[_IPp], context); + if (((_b2 = input[_IPp]) == null ? void 0 : _b2.length) === 0) { + entries.Ipv4Prefix = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_UnassignPrivateIpAddressesRequest"); +var se_UnassignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_PIA] != null) { + const memberEntries = se_IpList(input[_PIA], context); + if (((_a2 = input[_PIA]) == null ? void 0 : _a2.length) === 0) { + entries.PrivateIpAddress = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_MDDS] != null) { + entries[_MDDS] = input[_MDDS]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_UnassignPrivateNatGatewayAddressRequest"); +var se_UnlockSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIn] != null) { + entries[_SIn] = input[_SIn]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_UnlockSnapshotRequest"); +var se_UnmonitorInstancesRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + if (((_a2 = input[_IIns]) == null ? void 0 : _a2.length) === 0) { + entries.InstanceId = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_UnmonitorInstancesRequest"); +var se_UpdateSecurityGroupRuleDescriptionsEgressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGRD] != null) { + const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context); + if (((_b2 = input[_SGRD]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroupRuleDescription = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_UpdateSecurityGroupRuleDescriptionsEgressRequest"); +var se_UpdateSecurityGroupRuleDescriptionsIngressRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2; + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + if (((_a2 = input[_IPpe]) == null ? void 0 : _a2.length) === 0) { + entries.IpPermissions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SGRD] != null) { + const memberEntries = se_SecurityGroupRuleDescriptionList(input[_SGRD], context); + if (((_b2 = input[_SGRD]) == null ? void 0 : _b2.length) === 0) { + entries.SecurityGroupRuleDescription = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupRuleDescription.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_UpdateSecurityGroupRuleDescriptionsIngressRequest"); +var se_UserBucket = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SB] != null) { + entries[_SB] = input[_SB]; + } + if (input[_SK] != null) { + entries[_SK] = input[_SK]; + } + return entries; +}, "se_UserBucket"); +var se_UserData = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Da] != null) { + entries[_Da] = input[_Da]; + } + return entries; +}, "se_UserData"); +var se_UserGroupStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`UserGroup.${counter}`] = entry; + counter++; + } + return entries; +}, "se_UserGroupStringList"); +var se_UserIdGroupPair = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_PSe] != null) { + entries[_PSe] = input[_PSe]; + } + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + return entries; +}, "se_UserIdGroupPair"); +var se_UserIdGroupPairList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_UserIdGroupPair(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_UserIdGroupPairList"); +var se_UserIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`UserId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_UserIdStringList"); +var se_ValueStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ValueStringList"); +var se_VCpuCountRange = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_VCpuCountRange"); +var se_VCpuCountRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_M] != null) { + entries[_M] = input[_M]; + } + if (input[_Ma] != null) { + entries[_Ma] = input[_Ma]; + } + return entries; +}, "se_VCpuCountRangeRequest"); +var se_VerifiedAccessEndpointIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VerifiedAccessEndpointIdList"); +var se_VerifiedAccessGroupIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VerifiedAccessGroupIdList"); +var se_VerifiedAccessInstanceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VerifiedAccessInstanceIdList"); +var se_VerifiedAccessLogCloudWatchLogsDestinationOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_LGo] != null) { + entries[_LGo] = input[_LGo]; + } + return entries; +}, "se_VerifiedAccessLogCloudWatchLogsDestinationOptions"); +var se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_DSel] != null) { + entries[_DSel] = input[_DSel]; + } + return entries; +}, "se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions"); +var se_VerifiedAccessLogOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_S_] != null) { + const memberEntries = se_VerifiedAccessLogS3DestinationOptions(input[_S_], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `S3.${key}`; + entries[loc] = value; + }); + } + if (input[_CWL] != null) { + const memberEntries = se_VerifiedAccessLogCloudWatchLogsDestinationOptions(input[_CWL], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CloudWatchLogs.${key}`; + entries[loc] = value; + }); + } + if (input[_KDF] != null) { + const memberEntries = se_VerifiedAccessLogKinesisDataFirehoseDestinationOptions(input[_KDF], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `KinesisDataFirehose.${key}`; + entries[loc] = value; + }); + } + if (input[_LV] != null) { + entries[_LV] = input[_LV]; + } + if (input[_ITCn] != null) { + entries[_ITCn] = input[_ITCn]; + } + return entries; +}, "se_VerifiedAccessLogOptions"); +var se_VerifiedAccessLogS3DestinationOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_En] != null) { + entries[_En] = input[_En]; + } + if (input[_BN] != null) { + entries[_BN] = input[_BN]; + } + if (input[_Pr] != null) { + entries[_Pr] = input[_Pr]; + } + if (input[_BOu] != null) { + entries[_BOu] = input[_BOu]; + } + return entries; +}, "se_VerifiedAccessLogS3DestinationOptions"); +var se_VerifiedAccessSseSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CMKE] != null) { + entries[_CMKE] = input[_CMKE]; + } + if (input[_KKA] != null) { + entries[_KKA] = input[_KKA]; + } + return entries; +}, "se_VerifiedAccessSseSpecificationRequest"); +var se_VerifiedAccessTrustProviderIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VerifiedAccessTrustProviderIdList"); +var se_VersionStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VersionStringList"); +var se_VirtualizationTypeSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VirtualizationTypeSet"); +var se_VolumeDetail = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Siz] != null) { + entries[_Siz] = input[_Siz]; + } + return entries; +}, "se_VolumeDetail"); +var se_VolumeIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`VolumeId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VolumeIdStringList"); +var se_VpcClassicLinkIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`VpcId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcClassicLinkIdList"); +var se_VpcEndpointIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcEndpointIdList"); +var se_VpcEndpointRouteTableIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcEndpointRouteTableIdList"); +var se_VpcEndpointSecurityGroupIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcEndpointSecurityGroupIdList"); +var se_VpcEndpointServiceIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcEndpointServiceIdList"); +var se_VpcEndpointSubnetIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcEndpointSubnetIdList"); +var se_VpcIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`VpcId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcIdStringList"); +var se_VpcPeeringConnectionIdList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`Item.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpcPeeringConnectionIdList"); +var se_VpnConnectionIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`VpnConnectionId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpnConnectionIdStringList"); +var se_VpnConnectionOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_EA] != null) { + entries[_EA] = input[_EA]; + } + if (input[_SRO] != null) { + entries[_SRO] = input[_SRO]; + } + if (input[_TIIV] != null) { + entries[_TIIV] = input[_TIIV]; + } + if (input[_TO] != null) { + const memberEntries = se_VpnTunnelOptionsSpecificationsList(input[_TO], context); + if (((_a2 = input[_TO]) == null ? void 0 : _a2.length) === 0) { + entries.TunnelOptions = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TunnelOptions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_LINC] != null) { + entries[_LINC] = input[_LINC]; + } + if (input[_RINC] != null) { + entries[_RINC] = input[_RINC]; + } + if (input[_LINCo] != null) { + entries[_LINCo] = input[_LINCo]; + } + if (input[_RINCe] != null) { + entries[_RINCe] = input[_RINCe]; + } + if (input[_OIAT] != null) { + entries[_OIAT] = input[_OIAT]; + } + if (input[_TTGAI] != null) { + entries[_TTGAI] = input[_TTGAI]; + } + return entries; +}, "se_VpnConnectionOptionsSpecification"); +var se_VpnGatewayIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`VpnGatewayId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_VpnGatewayIdStringList"); +var se_VpnTunnelLogOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CWLO] != null) { + const memberEntries = se_CloudWatchLogOptionsSpecification(input[_CWLO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CloudWatchLogOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_VpnTunnelLogOptionsSpecification"); +var se_VpnTunnelOptionsSpecification = /* @__PURE__ */ __name((input, context) => { + var _a2, _b2, _c2, _d2, _e2, _f2, _g2; + const entries = {}; + if (input[_TIC] != null) { + entries[_TIC] = input[_TIC]; + } + if (input[_TIIC] != null) { + entries[_TIIC] = input[_TIIC]; + } + if (input[_PSK] != null) { + entries[_PSK] = input[_PSK]; + } + if (input[_PLS] != null) { + entries[_PLS] = input[_PLS]; + } + if (input[_PLSh] != null) { + entries[_PLSh] = input[_PLSh]; + } + if (input[_RMTS] != null) { + entries[_RMTS] = input[_RMTS]; + } + if (input[_RFP] != null) { + entries[_RFP] = input[_RFP]; + } + if (input[_RWS] != null) { + entries[_RWS] = input[_RWS]; + } + if (input[_DPDTS] != null) { + entries[_DPDTS] = input[_DPDTS]; + } + if (input[_DPDTA] != null) { + entries[_DPDTA] = input[_DPDTA]; + } + if (input[_PEA] != null) { + const memberEntries = se_Phase1EncryptionAlgorithmsRequestList(input[_PEA], context); + if (((_a2 = input[_PEA]) == null ? void 0 : _a2.length) === 0) { + entries.Phase1EncryptionAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PEAh] != null) { + const memberEntries = se_Phase2EncryptionAlgorithmsRequestList(input[_PEAh], context); + if (((_b2 = input[_PEAh]) == null ? void 0 : _b2.length) === 0) { + entries.Phase2EncryptionAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2EncryptionAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAh] != null) { + const memberEntries = se_Phase1IntegrityAlgorithmsRequestList(input[_PIAh], context); + if (((_c2 = input[_PIAh]) == null ? void 0 : _c2.length) === 0) { + entries.Phase1IntegrityAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIAha] != null) { + const memberEntries = se_Phase2IntegrityAlgorithmsRequestList(input[_PIAha], context); + if (((_d2 = input[_PIAha]) == null ? void 0 : _d2.length) === 0) { + entries.Phase2IntegrityAlgorithm = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2IntegrityAlgorithm.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PDHGN] != null) { + const memberEntries = se_Phase1DHGroupNumbersRequestList(input[_PDHGN], context); + if (((_e2 = input[_PDHGN]) == null ? void 0 : _e2.length) === 0) { + entries.Phase1DHGroupNumber = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase1DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PDHGNh] != null) { + const memberEntries = se_Phase2DHGroupNumbersRequestList(input[_PDHGNh], context); + if (((_f2 = input[_PDHGNh]) == null ? void 0 : _f2.length) === 0) { + entries.Phase2DHGroupNumber = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Phase2DHGroupNumber.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IKEVe] != null) { + const memberEntries = se_IKEVersionsRequestList(input[_IKEVe], context); + if (((_g2 = input[_IKEVe]) == null ? void 0 : _g2.length) === 0) { + entries.IKEVersion = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IKEVersion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SA] != null) { + entries[_SA] = input[_SA]; + } + if (input[_LO] != null) { + const memberEntries = se_VpnTunnelLogOptionsSpecification(input[_LO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LogOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_ETLC] != null) { + entries[_ETLC] = input[_ETLC]; + } + return entries; +}, "se_VpnTunnelOptionsSpecification"); +var se_VpnTunnelOptionsSpecificationsList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_VpnTunnelOptionsSpecification(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_VpnTunnelOptionsSpecificationsList"); +var se_WithdrawByoipCidrRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_WithdrawByoipCidrRequest"); +var se_ZoneIdStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ZoneId.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ZoneIdStringList"); +var se_ZoneNameStringList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + entries[`ZoneName.${counter}`] = entry; + counter++; + } + return entries; +}, "se_ZoneNameStringList"); +var de_AcceleratorCount = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_AcceleratorCount"); +var de_AcceleratorManufacturerSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_AcceleratorManufacturerSet"); +var de_AcceleratorNameSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_AcceleratorNameSet"); +var de_AcceleratorTotalMemoryMiB = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_AcceleratorTotalMemoryMiB"); +var de_AcceleratorTypeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_AcceleratorTypeSet"); +var de_AcceptAddressTransferResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aT] != null) { + contents[_ATdd] = de_AddressTransfer(output[_aT], context); + } + return contents; +}, "de_AcceptAddressTransferResult"); +var de_AcceptReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eI] != null) { + contents[_EIxc] = (0, import_smithy_client.expectString)(output[_eI]); + } + return contents; +}, "de_AcceptReservedInstancesExchangeQuoteResult"); +var de_AcceptTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_a] != null) { + contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); + } + return contents; +}, "de_AcceptTransitGatewayMulticastDomainAssociationsResult"); +var de_AcceptTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPA] != null) { + contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); + } + return contents; +}, "de_AcceptTransitGatewayPeeringAttachmentResult"); +var de_AcceptTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGVA] != null) { + contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); + } + return contents; +}, "de_AcceptTransitGatewayVpcAttachmentResult"); +var de_AcceptVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_AcceptVpcEndpointConnectionsResult"); +var de_AcceptVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vPC] != null) { + contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context); + } + return contents; +}, "de_AcceptVpcPeeringConnectionResult"); +var de_AccessScopeAnalysisFinding = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASAI] != null) { + contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); + } + if (output[_nIASI] != null) { + contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); + } + if (output[_fI] != null) { + contents[_FIi] = (0, import_smithy_client.expectString)(output[_fI]); + } + if (output.findingComponentSet === "") { + contents[_FCi] = []; + } else if (output[_fCS] != null && output[_fCS][_i] != null) { + contents[_FCi] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fCS][_i]), context); + } + return contents; +}, "de_AccessScopeAnalysisFinding"); +var de_AccessScopeAnalysisFindingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AccessScopeAnalysisFinding(entry, context); + }); +}, "de_AccessScopeAnalysisFindingList"); +var de_AccessScopePath = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_s] != null) { + contents[_S] = de_PathStatement(output[_s], context); + } + if (output[_d] != null) { + contents[_D] = de_PathStatement(output[_d], context); + } + if (output.throughResourceSet === "") { + contents[_TR] = []; + } else if (output[_tRS] != null && output[_tRS][_i] != null) { + contents[_TR] = de_ThroughResourcesStatementList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRS][_i]), context); + } + return contents; +}, "de_AccessScopePath"); +var de_AccessScopePathList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AccessScopePath(entry, context); + }); +}, "de_AccessScopePathList"); +var de_AccountAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aN] != null) { + contents[_ANt] = (0, import_smithy_client.expectString)(output[_aN]); + } + if (output.attributeValueSet === "") { + contents[_AVt] = []; + } else if (output[_aVS] != null && output[_aVS][_i] != null) { + contents[_AVt] = de_AccountAttributeValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_aVS][_i]), context); + } + return contents; +}, "de_AccountAttribute"); +var de_AccountAttributeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AccountAttribute(entry, context); + }); +}, "de_AccountAttributeList"); +var de_AccountAttributeValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aV] != null) { + contents[_AVtt] = (0, import_smithy_client.expectString)(output[_aV]); + } + return contents; +}, "de_AccountAttributeValue"); +var de_AccountAttributeValueList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AccountAttributeValue(entry, context); + }); +}, "de_AccountAttributeValueList"); +var de_ActiveInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_sIRI] != null) { + contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); + } + if (output[_iH] != null) { + contents[_IH] = (0, import_smithy_client.expectString)(output[_iH]); + } + return contents; +}, "de_ActiveInstance"); +var de_ActiveInstanceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ActiveInstance(entry, context); + }); +}, "de_ActiveInstanceSet"); +var de_AddedPrincipal = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pT] != null) { + contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]); + } + if (output[_p] != null) { + contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]); + } + if (output[_sPI] != null) { + contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]); + } + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + return contents; +}, "de_AddedPrincipal"); +var de_AddedPrincipalSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AddedPrincipal(entry, context); + }); +}, "de_AddedPrincipalSet"); +var de_AdditionalDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aDT] != null) { + contents[_ADT] = (0, import_smithy_client.expectString)(output[_aDT]); + } + if (output[_c] != null) { + contents[_Com] = de_AnalysisComponent(output[_c], context); + } + if (output[_vES] != null) { + contents[_VESp] = de_AnalysisComponent(output[_vES], context); + } + if (output.ruleOptionSet === "") { + contents[_ROu] = []; + } else if (output[_rOS] != null && output[_rOS][_i] != null) { + contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context); + } + if (output.ruleGroupTypePairSet === "") { + contents[_RGTP] = []; + } else if (output[_rGTPS] != null && output[_rGTPS][_i] != null) { + contents[_RGTP] = de_RuleGroupTypePairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGTPS][_i]), context); + } + if (output.ruleGroupRuleOptionsPairSet === "") { + contents[_RGROP] = []; + } else if (output[_rGROPS] != null && output[_rGROPS][_i] != null) { + contents[_RGROP] = de_RuleGroupRuleOptionsPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_rGROPS][_i]), context); + } + if (output[_sN] != null) { + contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); + } + if (output.loadBalancerSet === "") { + contents[_LB] = []; + } else if (output[_lBS] != null && output[_lBS][_i] != null) { + contents[_LB] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBS][_i]), context); + } + return contents; +}, "de_AdditionalDetail"); +var de_AdditionalDetailList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AdditionalDetail(entry, context); + }); +}, "de_AdditionalDetailList"); +var de_Address = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_do] != null) { + contents[_Do] = (0, import_smithy_client.expectString)(output[_do]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_nIOI] != null) { + contents[_NIOI] = (0, import_smithy_client.expectString)(output[_nIOI]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_pIP] != null) { + contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output[_cOI] != null) { + contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); + } + if (output[_cOIP] != null) { + contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); + } + if (output[_cI] != null) { + contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); + } + return contents; +}, "de_Address"); +var de_AddressAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_pR] != null) { + contents[_PRt] = (0, import_smithy_client.expectString)(output[_pR]); + } + if (output[_pRU] != null) { + contents[_PRU] = de_PtrUpdateStatus(output[_pRU], context); + } + return contents; +}, "de_AddressAttribute"); +var de_AddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Address(entry, context); + }); +}, "de_AddressList"); +var de_AddressSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AddressAttribute(entry, context); + }); +}, "de_AddressSet"); +var de_AddressTransfer = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_tAI] != null) { + contents[_TAI] = (0, import_smithy_client.expectString)(output[_tAI]); + } + if (output[_tOET] != null) { + contents[_TOET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOET])); + } + if (output[_tOAT] != null) { + contents[_TOAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tOAT])); + } + if (output[_aTS] != null) { + contents[_ATS] = (0, import_smithy_client.expectString)(output[_aTS]); + } + return contents; +}, "de_AddressTransfer"); +var de_AddressTransferList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AddressTransfer(entry, context); + }); +}, "de_AddressTransferList"); +var de_AdvertiseByoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bC] != null) { + contents[_BC] = de_ByoipCidr(output[_bC], context); + } + return contents; +}, "de_AdvertiseByoipCidrResult"); +var de_AllocateAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_pIP] != null) { + contents[_PIP] = (0, import_smithy_client.expectString)(output[_pIP]); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output[_do] != null) { + contents[_Do] = (0, import_smithy_client.expectString)(output[_do]); + } + if (output[_cOI] != null) { + contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); + } + if (output[_cOIP] != null) { + contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); + } + if (output[_cI] != null) { + contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); + } + return contents; +}, "de_AllocateAddressResult"); +var de_AllocateHostsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.hostIdSet === "") { + contents[_HI] = []; + } else if (output[_hIS] != null && output[_hIS][_i] != null) { + contents[_HI] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); + } + return contents; +}, "de_AllocateHostsResult"); +var de_AllocateIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPA] != null) { + contents[_IPA] = de_IpamPoolAllocation(output[_iPA], context); + } + return contents; +}, "de_AllocateIpamPoolCidrResult"); +var de_AllowedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_AllowedInstanceTypeSet"); +var de_AllowedPrincipal = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pT] != null) { + contents[_PTr] = (0, import_smithy_client.expectString)(output[_pT]); + } + if (output[_p] != null) { + contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]); + } + if (output[_sPI] != null) { + contents[_SPI] = (0, import_smithy_client.expectString)(output[_sPI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + return contents; +}, "de_AllowedPrincipal"); +var de_AllowedPrincipalSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AllowedPrincipal(entry, context); + }); +}, "de_AllowedPrincipalSet"); +var de_AlternatePathHint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cIo] != null) { + contents[_CIom] = (0, import_smithy_client.expectString)(output[_cIo]); + } + if (output[_cA] != null) { + contents[_CAo] = (0, import_smithy_client.expectString)(output[_cA]); + } + return contents; +}, "de_AlternatePathHint"); +var de_AlternatePathHintList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AlternatePathHint(entry, context); + }); +}, "de_AlternatePathHintList"); +var de_AnalysisAclRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_e] != null) { + contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]); + } + if (output[_pRo] != null) { + contents[_PR] = de_PortRange(output[_pRo], context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_rA] != null) { + contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); + } + if (output[_rN] != null) { + contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); + } + return contents; +}, "de_AnalysisAclRule"); +var de_AnalysisComponent = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_id] != null) { + contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); + } + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_AnalysisComponent"); +var de_AnalysisComponentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AnalysisComponent(entry, context); + }); +}, "de_AnalysisComponentList"); +var de_AnalysisLoadBalancerListener = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lBP] != null) { + contents[_LBP] = (0, import_smithy_client.strictParseInt32)(output[_lBP]); + } + if (output[_iP] != null) { + contents[_IPns] = (0, import_smithy_client.strictParseInt32)(output[_iP]); + } + return contents; +}, "de_AnalysisLoadBalancerListener"); +var de_AnalysisLoadBalancerTarget = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ad] != null) { + contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_in] != null) { + contents[_Ins] = de_AnalysisComponent(output[_in], context); + } + if (output[_po] != null) { + contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); + } + return contents; +}, "de_AnalysisLoadBalancerTarget"); +var de_AnalysisPacketHeader = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.destinationAddressSet === "") { + contents[_DAes] = []; + } else if (output[_dAS] != null && output[_dAS][_i] != null) { + contents[_DAes] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context); + } + if (output.destinationPortRangeSet === "") { + contents[_DPRe] = []; + } else if (output[_dPRS] != null && output[_dPRS][_i] != null) { + contents[_DPRe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPRS][_i]), context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output.sourceAddressSet === "") { + contents[_SAo] = []; + } else if (output[_sAS] != null && output[_sAS][_i] != null) { + contents[_SAo] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context); + } + if (output.sourcePortRangeSet === "") { + contents[_SPRo] = []; + } else if (output[_sPRS] != null && output[_sPRS][_i] != null) { + contents[_SPRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPRS][_i]), context); + } + return contents; +}, "de_AnalysisPacketHeader"); +var de_AnalysisRouteTableRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dC] != null) { + contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); + } + if (output[_dPLI] != null) { + contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); + } + if (output[_eOIGI] != null) { + contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); + } + if (output[_gI] != null) { + contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_o] != null) { + contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cGI] != null) { + contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); + } + if (output[_cNA] != null) { + contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + return contents; +}, "de_AnalysisRouteTableRoute"); +var de_AnalysisSecurityGroupRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_di] != null) { + contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); + } + if (output[_sGI] != null) { + contents[_SGIe] = (0, import_smithy_client.expectString)(output[_sGI]); + } + if (output[_pRo] != null) { + contents[_PR] = de_PortRange(output[_pRo], context); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + return contents; +}, "de_AnalysisSecurityGroupRule"); +var de_ApplySecurityGroupsToClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.securityGroupIds === "") { + contents[_SGI] = []; + } else if (output[_sGIe] != null && output[_sGIe][_i] != null) { + contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIe][_i]), context); + } + return contents; +}, "de_ApplySecurityGroupsToClientVpnTargetNetworkResult"); +var de_ArchitectureTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ArchitectureTypeList"); +var de_ArnList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ArnList"); +var de_AsnAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_as] != null) { + contents[_As] = (0, import_smithy_client.expectString)(output[_as]); + } + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_AsnAssociation"); +var de_AsnAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AsnAssociation(entry, context); + }); +}, "de_AsnAssociationSet"); +var de_AssignedPrivateIpAddress = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + return contents; +}, "de_AssignedPrivateIpAddress"); +var de_AssignedPrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AssignedPrivateIpAddress(entry, context); + }); +}, "de_AssignedPrivateIpAddressList"); +var de_AssignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.assignedIpv6Addresses === "") { + contents[_AIAs] = []; + } else if (output[_aIA] != null && output[_aIA][_i] != null) { + contents[_AIAs] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIA][_i]), context); + } + if (output.assignedIpv6PrefixSet === "") { + contents[_AIP] = []; + } else if (output[_aIPS] != null && output[_aIPS][_i] != null) { + contents[_AIP] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPS][_i]), context); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + return contents; +}, "de_AssignIpv6AddressesResult"); +var de_AssignPrivateIpAddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output.assignedPrivateIpAddressesSet === "") { + contents[_APIAss] = []; + } else if (output[_aPIAS] != null && output[_aPIAS][_i] != null) { + contents[_APIAss] = de_AssignedPrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPIAS][_i]), context); + } + if (output.assignedIpv4PrefixSet === "") { + contents[_AIPs] = []; + } else if (output[_aIPSs] != null && output[_aIPSs][_i] != null) { + contents[_AIPs] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIPSs][_i]), context); + } + return contents; +}, "de_AssignPrivateIpAddressesResult"); +var de_AssignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output.natGatewayAddressSet === "") { + contents[_NGA] = []; + } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { + contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); + } + return contents; +}, "de_AssignPrivateNatGatewayAddressResult"); +var de_AssociateAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + return contents; +}, "de_AssociateAddressResult"); +var de_AssociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_sta] != null) { + contents[_Statu] = de_AssociationStatus(output[_sta], context); + } + return contents; +}, "de_AssociateClientVpnTargetNetworkResult"); +var de_AssociatedRole = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aRA] != null) { + contents[_ARA] = (0, import_smithy_client.expectString)(output[_aRA]); + } + if (output[_cSBN] != null) { + contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]); + } + if (output[_cSOK] != null) { + contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]); + } + if (output[_eKKI] != null) { + contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]); + } + return contents; +}, "de_AssociatedRole"); +var de_AssociatedRolesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AssociatedRole(entry, context); + }); +}, "de_AssociatedRolesList"); +var de_AssociatedTargetNetwork = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nI] != null) { + contents[_NIe] = (0, import_smithy_client.expectString)(output[_nI]); + } + if (output[_nT] != null) { + contents[_NTe] = (0, import_smithy_client.expectString)(output[_nT]); + } + return contents; +}, "de_AssociatedTargetNetwork"); +var de_AssociatedTargetNetworkSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AssociatedTargetNetwork(entry, context); + }); +}, "de_AssociatedTargetNetworkSet"); +var de_AssociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cSBN] != null) { + contents[_CSBN] = (0, import_smithy_client.expectString)(output[_cSBN]); + } + if (output[_cSOK] != null) { + contents[_CSOK] = (0, import_smithy_client.expectString)(output[_cSOK]); + } + if (output[_eKKI] != null) { + contents[_EKKI] = (0, import_smithy_client.expectString)(output[_eKKI]); + } + return contents; +}, "de_AssociateEnclaveCertificateIamRoleResult"); +var de_AssociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIPA] != null) { + contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); + } + return contents; +}, "de_AssociateIamInstanceProfileResult"); +var de_AssociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEW] != null) { + contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); + } + return contents; +}, "de_AssociateInstanceEventWindowResult"); +var de_AssociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aA] != null) { + contents[_AAsn] = de_AsnAssociation(output[_aA], context); + } + return contents; +}, "de_AssociateIpamByoasnResult"); +var de_AssociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRDA] != null) { + contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context); + } + return contents; +}, "de_AssociateIpamResourceDiscoveryResult"); +var de_AssociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output.natGatewayAddressSet === "") { + contents[_NGA] = []; + } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { + contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); + } + return contents; +}, "de_AssociateNatGatewayAddressResult"); +var de_AssociateRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_aS] != null) { + contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); + } + return contents; +}, "de_AssociateRouteTableResult"); +var de_AssociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCBA] != null) { + contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + return contents; +}, "de_AssociateSubnetCidrBlockResult"); +var de_AssociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_a] != null) { + contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); + } + return contents; +}, "de_AssociateTransitGatewayMulticastDomainResult"); +var de_AssociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context); + } + return contents; +}, "de_AssociateTransitGatewayPolicyTableResult"); +var de_AssociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context); + } + return contents; +}, "de_AssociateTransitGatewayRouteTableResult"); +var de_AssociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iA] != null) { + contents[_IAn] = de_TrunkInterfaceAssociation(output[_iA], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_AssociateTrunkInterfaceResult"); +var de_AssociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCBA] != null) { + contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context); + } + if (output[_cBA] != null) { + contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_AssociateVpcCidrBlockResult"); +var de_AssociationStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_AssociationStatus"); +var de_AttachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_AttachClassicLinkVpcResult"); +var de_AttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSE] != null) { + contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); + } + if (output[_eSUS] != null) { + contents[_ESUS] = de_AttachmentEnaSrdUdpSpecification(output[_eSUS], context); + } + return contents; +}, "de_AttachmentEnaSrdSpecification"); +var de_AttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSUE] != null) { + contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); + } + return contents; +}, "de_AttachmentEnaSrdUdpSpecification"); +var de_AttachNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIt] != null) { + contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); + } + if (output[_nCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); + } + return contents; +}, "de_AttachNetworkInterfaceResult"); +var de_AttachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATP] != null) { + contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); + } + if (output[_vAI] != null) { + contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); + } + return contents; +}, "de_AttachVerifiedAccessTrustProviderResult"); +var de_AttachVpnGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_at] != null) { + contents[_VA] = de_VpcAttachment(output[_at], context); + } + return contents; +}, "de_AttachVpnGatewayResult"); +var de_AttributeBooleanValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.parseBoolean)(output[_v]); + } + return contents; +}, "de_AttributeBooleanValue"); +var de_AttributeValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_AttributeValue"); +var de_AuthorizationRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_aAc] != null) { + contents[_AAc] = (0, import_smithy_client.parseBoolean)(output[_aAc]); + } + if (output[_dC] != null) { + contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); + } + return contents; +}, "de_AuthorizationRule"); +var de_AuthorizationRuleSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AuthorizationRule(entry, context); + }); +}, "de_AuthorizationRuleSet"); +var de_AuthorizeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); + } + return contents; +}, "de_AuthorizeClientVpnIngressResult"); +var de_AuthorizeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output.securityGroupRuleSet === "") { + contents[_SGR] = []; + } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { + contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); + } + return contents; +}, "de_AuthorizeSecurityGroupEgressResult"); +var de_AuthorizeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output.securityGroupRuleSet === "") { + contents[_SGR] = []; + } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { + contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); + } + return contents; +}, "de_AuthorizeSecurityGroupIngressResult"); +var de_AvailabilityZone = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_zS] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_zS]); + } + if (output[_oIS] != null) { + contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]); + } + if (output.messageSet === "") { + contents[_Mes] = []; + } else if (output[_mS] != null && output[_mS][_i] != null) { + contents[_Mes] = de_AvailabilityZoneMessageList((0, import_smithy_client.getArrayIfSingleItem)(output[_mS][_i]), context); + } + if (output[_rNe] != null) { + contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); + } + if (output[_zN] != null) { + contents[_ZNo] = (0, import_smithy_client.expectString)(output[_zN]); + } + if (output[_zI] != null) { + contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output[_zT] != null) { + contents[_ZT] = (0, import_smithy_client.expectString)(output[_zT]); + } + if (output[_pZN] != null) { + contents[_PZN] = (0, import_smithy_client.expectString)(output[_pZN]); + } + if (output[_pZI] != null) { + contents[_PZI] = (0, import_smithy_client.expectString)(output[_pZI]); + } + return contents; +}, "de_AvailabilityZone"); +var de_AvailabilityZoneList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AvailabilityZone(entry, context); + }); +}, "de_AvailabilityZoneList"); +var de_AvailabilityZoneMessage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_AvailabilityZoneMessage"); +var de_AvailabilityZoneMessageList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AvailabilityZoneMessage(entry, context); + }); +}, "de_AvailabilityZoneMessageList"); +var de_AvailableCapacity = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.availableInstanceCapacity === "") { + contents[_AIC] = []; + } else if (output[_aIC] != null && output[_aIC][_i] != null) { + contents[_AIC] = de_AvailableInstanceCapacityList((0, import_smithy_client.getArrayIfSingleItem)(output[_aIC][_i]), context); + } + if (output[_aVC] != null) { + contents[_AVC] = (0, import_smithy_client.strictParseInt32)(output[_aVC]); + } + return contents; +}, "de_AvailableCapacity"); +var de_AvailableInstanceCapacityList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceCapacity(entry, context); + }); +}, "de_AvailableInstanceCapacityList"); +var de_BaselineEbsBandwidthMbps = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_BaselineEbsBandwidthMbps"); +var de_BlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); + } + if (output[_vN] != null) { + contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]); + } + if (output[_eb] != null) { + contents[_E] = de_EbsBlockDevice(output[_eb], context); + } + if (output[_nD] != null) { + contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]); + } + return contents; +}, "de_BlockDeviceMapping"); +var de_BlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_BlockDeviceMapping(entry, context); + }); +}, "de_BlockDeviceMappingList"); +var de_BootModeTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_BootModeTypeList"); +var de_BundleInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bIT] != null) { + contents[_BTu] = de_BundleTask(output[_bIT], context); + } + return contents; +}, "de_BundleInstanceResult"); +var de_BundleTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bI] != null) { + contents[_BIu] = (0, import_smithy_client.expectString)(output[_bI]); + } + if (output[_er] != null) { + contents[_BTE] = de_BundleTaskError(output[_er], context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sto] != null) { + contents[_St] = de_Storage(output[_sto], context); + } + if (output[_uT] != null) { + contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); + } + return contents; +}, "de_BundleTask"); +var de_BundleTaskError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_BundleTaskError"); +var de_BundleTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_BundleTask(entry, context); + }); +}, "de_BundleTaskList"); +var de_Byoasn = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_as] != null) { + contents[_As] = (0, import_smithy_client.expectString)(output[_as]); + } + if (output[_iIp] != null) { + contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_Byoasn"); +var de_ByoasnSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Byoasn(entry, context); + }); +}, "de_ByoasnSet"); +var de_ByoipCidr = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.asnAssociationSet === "") { + contents[_AAsns] = []; + } else if (output[_aAS] != null && output[_aAS][_i] != null) { + contents[_AAsns] = de_AsnAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aAS][_i]), context); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + return contents; +}, "de_ByoipCidr"); +var de_ByoipCidrSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ByoipCidr(entry, context); + }); +}, "de_ByoipCidrSet"); +var de_CancelBundleTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bIT] != null) { + contents[_BTu] = de_BundleTask(output[_bIT], context); + } + return contents; +}, "de_CancelBundleTaskResult"); +var de_CancelCapacityReservationFleetError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_CancelCapacityReservationFleetError"); +var de_CancelCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfulFleetCancellationSet === "") { + contents[_SFC] = []; + } else if (output[_sFCS] != null && output[_sFCS][_i] != null) { + contents[_SFC] = de_CapacityReservationFleetCancellationStateSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_sFCS][_i]), + context + ); + } + if (output.failedFleetCancellationSet === "") { + contents[_FFC] = []; + } else if (output[_fFCS] != null && output[_fFCS][_i] != null) { + contents[_FFC] = de_FailedCapacityReservationFleetCancellationResultSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_fFCS][_i]), + context + ); + } + return contents; +}, "de_CancelCapacityReservationFleetsResult"); +var de_CancelCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_CancelCapacityReservationResult"); +var de_CancelImageLaunchPermissionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_CancelImageLaunchPermissionResult"); +var de_CancelImportTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iTI] != null) { + contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); + } + if (output[_pS] != null) { + contents[_PSr] = (0, import_smithy_client.expectString)(output[_pS]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_CancelImportTaskResult"); +var de_CancelledSpotInstanceRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIRI] != null) { + contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_CancelledSpotInstanceRequest"); +var de_CancelledSpotInstanceRequestList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CancelledSpotInstanceRequest(entry, context); + }); +}, "de_CancelledSpotInstanceRequestList"); +var de_CancelReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservedInstancesListingsSet === "") { + contents[_RIL] = []; + } else if (output[_rILS] != null && output[_rILS][_i] != null) { + contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); + } + return contents; +}, "de_CancelReservedInstancesListingResult"); +var de_CancelSpotFleetRequestsError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_CancelSpotFleetRequestsError"); +var de_CancelSpotFleetRequestsErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_er] != null) { + contents[_Er] = de_CancelSpotFleetRequestsError(output[_er], context); + } + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + return contents; +}, "de_CancelSpotFleetRequestsErrorItem"); +var de_CancelSpotFleetRequestsErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CancelSpotFleetRequestsErrorItem(entry, context); + }); +}, "de_CancelSpotFleetRequestsErrorSet"); +var de_CancelSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfulFleetRequestSet === "") { + contents[_SFR] = []; + } else if (output[_sFRS] != null && output[_sFRS][_i] != null) { + contents[_SFR] = de_CancelSpotFleetRequestsSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRS][_i]), context); + } + if (output.unsuccessfulFleetRequestSet === "") { + contents[_UFR] = []; + } else if (output[_uFRS] != null && output[_uFRS][_i] != null) { + contents[_UFR] = de_CancelSpotFleetRequestsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFRS][_i]), context); + } + return contents; +}, "de_CancelSpotFleetRequestsResponse"); +var de_CancelSpotFleetRequestsSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cSFRS] != null) { + contents[_CSFRS] = (0, import_smithy_client.expectString)(output[_cSFRS]); + } + if (output[_pSFRS] != null) { + contents[_PSFRS] = (0, import_smithy_client.expectString)(output[_pSFRS]); + } + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + return contents; +}, "de_CancelSpotFleetRequestsSuccessItem"); +var de_CancelSpotFleetRequestsSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CancelSpotFleetRequestsSuccessItem(entry, context); + }); +}, "de_CancelSpotFleetRequestsSuccessSet"); +var de_CancelSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.spotInstanceRequestSet === "") { + contents[_CSIRa] = []; + } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { + contents[_CSIRa] = de_CancelledSpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); + } + return contents; +}, "de_CancelSpotInstanceRequestsResult"); +var de_CapacityAllocation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aTl] != null) { + contents[_ATl] = (0, import_smithy_client.expectString)(output[_aTl]); + } + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + return contents; +}, "de_CapacityAllocation"); +var de_CapacityAllocations = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityAllocation(entry, context); + }); +}, "de_CapacityAllocations"); +var de_CapacityBlockOffering = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cBOI] != null) { + contents[_CBOI] = (0, import_smithy_client.expectString)(output[_cBOI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_sD] != null) { + contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_cBDH] != null) { + contents[_CBDH] = (0, import_smithy_client.strictParseInt32)(output[_cBDH]); + } + if (output[_uF] != null) { + contents[_UF] = (0, import_smithy_client.expectString)(output[_uF]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + return contents; +}, "de_CapacityBlockOffering"); +var de_CapacityBlockOfferingSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityBlockOffering(entry, context); + }); +}, "de_CapacityBlockOfferingSet"); +var de_CapacityReservation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_cRA] != null) { + contents[_CRA] = (0, import_smithy_client.expectString)(output[_cRA]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_iPn] != null) { + contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + if (output[_tIC] != null) { + contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); + } + if (output[_aICv] != null) { + contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_eS] != null) { + contents[_ES] = (0, import_smithy_client.parseBoolean)(output[_eS]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sD] != null) { + contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_eDT] != null) { + contents[_EDT] = (0, import_smithy_client.expectString)(output[_eDT]); + } + if (output[_iMC] != null) { + contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); + } + if (output[_cD] != null) { + contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_cRFI] != null) { + contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); + } + if (output[_pGA] != null) { + contents[_PGA] = (0, import_smithy_client.expectString)(output[_pGA]); + } + if (output.capacityAllocationSet === "") { + contents[_CAa] = []; + } else if (output[_cAS] != null && output[_cAS][_i] != null) { + contents[_CAa] = de_CapacityAllocations((0, import_smithy_client.getArrayIfSingleItem)(output[_cAS][_i]), context); + } + if (output[_rT] != null) { + contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]); + } + return contents; +}, "de_CapacityReservation"); +var de_CapacityReservationFleet = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRFI] != null) { + contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); + } + if (output[_cRFA] != null) { + contents[_CRFA] = (0, import_smithy_client.expectString)(output[_cRFA]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_tTC] != null) { + contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); + } + if (output[_tFC] != null) { + contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_iMC] != null) { + contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); + } + if (output[_aSl] != null) { + contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); + } + if (output.instanceTypeSpecificationSet === "") { + contents[_ITS] = []; + } else if (output[_iTSS] != null && output[_iTSS][_i] != null) { + contents[_ITS] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTSS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CapacityReservationFleet"); +var de_CapacityReservationFleetCancellationState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cFS] != null) { + contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]); + } + if (output[_pFS] != null) { + contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]); + } + if (output[_cRFI] != null) { + contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); + } + return contents; +}, "de_CapacityReservationFleetCancellationState"); +var de_CapacityReservationFleetCancellationStateSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityReservationFleetCancellationState(entry, context); + }); +}, "de_CapacityReservationFleetCancellationStateSet"); +var de_CapacityReservationFleetSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityReservationFleet(entry, context); + }); +}, "de_CapacityReservationFleetSet"); +var de_CapacityReservationGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gA] != null) { + contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + return contents; +}, "de_CapacityReservationGroup"); +var de_CapacityReservationGroupSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityReservationGroup(entry, context); + }); +}, "de_CapacityReservationGroupSet"); +var de_CapacityReservationOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_uS] != null) { + contents[_USs] = (0, import_smithy_client.expectString)(output[_uS]); + } + return contents; +}, "de_CapacityReservationOptions"); +var de_CapacityReservationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityReservation(entry, context); + }); +}, "de_CapacityReservationSet"); +var de_CapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRP] != null) { + contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]); + } + if (output[_cRT] != null) { + contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context); + } + return contents; +}, "de_CapacityReservationSpecificationResponse"); +var de_CapacityReservationTargetResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_cRRGA] != null) { + contents[_CRRGA] = (0, import_smithy_client.expectString)(output[_cRRGA]); + } + return contents; +}, "de_CapacityReservationTargetResponse"); +var de_CarrierGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cGI] != null) { + contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CarrierGateway"); +var de_CarrierGatewaySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CarrierGateway(entry, context); + }); +}, "de_CarrierGatewaySet"); +var de_CertificateAuthentication = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRCC] != null) { + contents[_CRCC] = (0, import_smithy_client.expectString)(output[_cRCC]); + } + return contents; +}, "de_CertificateAuthentication"); +var de_CidrBlock = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + return contents; +}, "de_CidrBlock"); +var de_CidrBlockSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CidrBlock(entry, context); + }); +}, "de_CidrBlockSet"); +var de_ClassicLinkDnsSupport = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cLDS] != null) { + contents[_CLDS] = (0, import_smithy_client.parseBoolean)(output[_cLDS]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_ClassicLinkDnsSupport"); +var de_ClassicLinkDnsSupportList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClassicLinkDnsSupport(entry, context); + }); +}, "de_ClassicLinkDnsSupportList"); +var de_ClassicLinkInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_ClassicLinkInstance"); +var de_ClassicLinkInstanceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClassicLinkInstance(entry, context); + }); +}, "de_ClassicLinkInstanceList"); +var de_ClassicLoadBalancer = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_ClassicLoadBalancer"); +var de_ClassicLoadBalancers = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClassicLoadBalancer(entry, context); + }); +}, "de_ClassicLoadBalancers"); +var de_ClassicLoadBalancersConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.classicLoadBalancers === "") { + contents[_CLB] = []; + } else if (output[_cLB] != null && output[_cLB][_i] != null) { + contents[_CLB] = de_ClassicLoadBalancers((0, import_smithy_client.getArrayIfSingleItem)(output[_cLB][_i]), context); + } + return contents; +}, "de_ClassicLoadBalancersConfig"); +var de_ClientCertificateRevocationListStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientCertificateRevocationListStatus"); +var de_ClientConnectResponseOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + if (output[_lFA] != null) { + contents[_LFA] = (0, import_smithy_client.expectString)(output[_lFA]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnEndpointAttributeStatus(output[_sta], context); + } + return contents; +}, "de_ClientConnectResponseOptions"); +var de_ClientLoginBannerResponseOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + if (output[_bT] != null) { + contents[_BT] = (0, import_smithy_client.expectString)(output[_bT]); + } + return contents; +}, "de_ClientLoginBannerResponseOptions"); +var de_ClientVpnAuthentication = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_aD] != null) { + contents[_AD] = de_DirectoryServiceAuthentication(output[_aD], context); + } + if (output[_mA] != null) { + contents[_MA] = de_CertificateAuthentication(output[_mA], context); + } + if (output[_fA] != null) { + contents[_FA] = de_FederatedAuthentication(output[_fA], context); + } + return contents; +}, "de_ClientVpnAuthentication"); +var de_ClientVpnAuthenticationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClientVpnAuthentication(entry, context); + }); +}, "de_ClientVpnAuthenticationList"); +var de_ClientVpnAuthorizationRuleStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientVpnAuthorizationRuleStatus"); +var de_ClientVpnConnection = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectString)(output[_ti]); + } + if (output[_cIon] != null) { + contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]); + } + if (output[_us] != null) { + contents[_Us] = (0, import_smithy_client.expectString)(output[_us]); + } + if (output[_cET] != null) { + contents[_CETo] = (0, import_smithy_client.expectString)(output[_cET]); + } + if (output[_iB] != null) { + contents[_IB] = (0, import_smithy_client.expectString)(output[_iB]); + } + if (output[_eB] != null) { + contents[_EB] = (0, import_smithy_client.expectString)(output[_eB]); + } + if (output[_iPng] != null) { + contents[_IPng] = (0, import_smithy_client.expectString)(output[_iPng]); + } + if (output[_eP] != null) { + contents[_EPg] = (0, import_smithy_client.expectString)(output[_eP]); + } + if (output[_cIl] != null) { + contents[_CIli] = (0, import_smithy_client.expectString)(output[_cIl]); + } + if (output[_cN] != null) { + contents[_CN] = (0, import_smithy_client.expectString)(output[_cN]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnConnectionStatus(output[_sta], context); + } + if (output[_cETo] != null) { + contents[_CETon] = (0, import_smithy_client.expectString)(output[_cETo]); + } + if (output.postureComplianceStatusSet === "") { + contents[_PCS] = []; + } else if (output[_pCSS] != null && output[_pCSS][_i] != null) { + contents[_PCS] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCSS][_i]), context); + } + return contents; +}, "de_ClientVpnConnection"); +var de_ClientVpnConnectionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClientVpnConnection(entry, context); + }); +}, "de_ClientVpnConnectionSet"); +var de_ClientVpnConnectionStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientVpnConnectionStatus"); +var de_ClientVpnEndpoint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); + } + if (output[_dT] != null) { + contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); + } + if (output[_dNn] != null) { + contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); + } + if (output[_cCB] != null) { + contents[_CCB] = (0, import_smithy_client.expectString)(output[_cCB]); + } + if (output.dnsServer === "") { + contents[_DSn] = []; + } else if (output[_dS] != null && output[_dS][_i] != null) { + contents[_DSn] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dS][_i]), context); + } + if (output[_sTp] != null) { + contents[_ST] = (0, import_smithy_client.parseBoolean)(output[_sTp]); + } + if (output[_vP] != null) { + contents[_VPp] = (0, import_smithy_client.expectString)(output[_vP]); + } + if (output[_tP] != null) { + contents[_TPr] = (0, import_smithy_client.expectString)(output[_tP]); + } + if (output[_vPp] != null) { + contents[_VP] = (0, import_smithy_client.strictParseInt32)(output[_vPp]); + } + if (output.associatedTargetNetwork === "") { + contents[_ATN] = []; + } else if (output[_aTN] != null && output[_aTN][_i] != null) { + contents[_ATN] = de_AssociatedTargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTN][_i]), context); + } + if (output[_sCA] != null) { + contents[_SCA] = (0, import_smithy_client.expectString)(output[_sCA]); + } + if (output.authenticationOptions === "") { + contents[_AO] = []; + } else if (output[_aO] != null && output[_aO][_i] != null) { + contents[_AO] = de_ClientVpnAuthenticationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aO][_i]), context); + } + if (output[_cLO] != null) { + contents[_CLO] = de_ConnectionLogResponseOptions(output[_cLO], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output.securityGroupIdSet === "") { + contents[_SGI] = []; + } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { + contents[_SGI] = de_ClientVpnSecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_sSPU] != null) { + contents[_SSPU] = (0, import_smithy_client.expectString)(output[_sSPU]); + } + if (output[_cCO] != null) { + contents[_CCO] = de_ClientConnectResponseOptions(output[_cCO], context); + } + if (output[_sTH] != null) { + contents[_STH] = (0, import_smithy_client.strictParseInt32)(output[_sTH]); + } + if (output[_cLBO] != null) { + contents[_CLBO] = de_ClientLoginBannerResponseOptions(output[_cLBO], context); + } + return contents; +}, "de_ClientVpnEndpoint"); +var de_ClientVpnEndpointAttributeStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientVpnEndpointAttributeStatus"); +var de_ClientVpnEndpointStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientVpnEndpointStatus"); +var de_ClientVpnRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_dC] != null) { + contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); + } + if (output[_tSa] != null) { + contents[_TSa] = (0, import_smithy_client.expectString)(output[_tSa]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_o] != null) { + contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_ClientVpnRoute"); +var de_ClientVpnRouteSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClientVpnRoute(entry, context); + }); +}, "de_ClientVpnRouteSet"); +var de_ClientVpnRouteStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ClientVpnRouteStatus"); +var de_ClientVpnSecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ClientVpnSecurityGroupIdSet"); +var de_CloudWatchLogOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lE] != null) { + contents[_LE] = (0, import_smithy_client.parseBoolean)(output[_lE]); + } + if (output[_lGA] != null) { + contents[_LGA] = (0, import_smithy_client.expectString)(output[_lGA]); + } + if (output[_lOF] != null) { + contents[_LOF] = (0, import_smithy_client.expectString)(output[_lOF]); + } + return contents; +}, "de_CloudWatchLogOptions"); +var de_CoipAddressUsage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_aAI] != null) { + contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]); + } + if (output[_aSw] != null) { + contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); + } + if (output[_cIop] != null) { + contents[_CIop] = (0, import_smithy_client.expectString)(output[_cIop]); + } + return contents; +}, "de_CoipAddressUsage"); +var de_CoipAddressUsageSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CoipAddressUsage(entry, context); + }); +}, "de_CoipAddressUsageSet"); +var de_CoipCidr = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_cPI] != null) { + contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + return contents; +}, "de_CoipCidr"); +var de_CoipPool = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + if (output.poolCidrSet === "") { + contents[_PCo] = []; + } else if (output[_pCS] != null && output[_pCS][_i] != null) { + contents[_PCo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pCS][_i]), context); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_pA] != null) { + contents[_PAo] = (0, import_smithy_client.expectString)(output[_pA]); + } + return contents; +}, "de_CoipPool"); +var de_CoipPoolSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CoipPool(entry, context); + }); +}, "de_CoipPoolSet"); +var de_ConfirmProductInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ConfirmProductInstanceResult"); +var de_ConnectionLogResponseOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_En] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_En]); + } + if (output[_CLG] != null) { + contents[_CLG] = (0, import_smithy_client.expectString)(output[_CLG]); + } + if (output[_CLS] != null) { + contents[_CLS] = (0, import_smithy_client.expectString)(output[_CLS]); + } + return contents; +}, "de_ConnectionLogResponseOptions"); +var de_ConnectionNotification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cNI] != null) { + contents[_CNIon] = (0, import_smithy_client.expectString)(output[_cNI]); + } + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + if (output[_vEI] != null) { + contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); + } + if (output[_cNT] != null) { + contents[_CNT] = (0, import_smithy_client.expectString)(output[_cNT]); + } + if (output[_cNAo] != null) { + contents[_CNAon] = (0, import_smithy_client.expectString)(output[_cNAo]); + } + if (output.connectionEvents === "") { + contents[_CEo] = []; + } else if (output[_cE] != null && output[_cE][_i] != null) { + contents[_CEo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cE][_i]), context); + } + if (output[_cNS] != null) { + contents[_CNS] = (0, import_smithy_client.expectString)(output[_cNS]); + } + return contents; +}, "de_ConnectionNotification"); +var de_ConnectionNotificationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ConnectionNotification(entry, context); + }); +}, "de_ConnectionNotificationSet"); +var de_ConnectionTrackingConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tET] != null) { + contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); + } + if (output[_uST] != null) { + contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); + } + if (output[_uTd] != null) { + contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); + } + return contents; +}, "de_ConnectionTrackingConfiguration"); +var de_ConnectionTrackingSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tET] != null) { + contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); + } + if (output[_uTd] != null) { + contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); + } + if (output[_uST] != null) { + contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); + } + return contents; +}, "de_ConnectionTrackingSpecification"); +var de_ConnectionTrackingSpecificationRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_TET] != null) { + contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_TET]); + } + if (output[_UST] != null) { + contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_UST]); + } + if (output[_UT] != null) { + contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_UT]); + } + return contents; +}, "de_ConnectionTrackingSpecificationRequest"); +var de_ConnectionTrackingSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tET] != null) { + contents[_TET] = (0, import_smithy_client.strictParseInt32)(output[_tET]); + } + if (output[_uST] != null) { + contents[_UST] = (0, import_smithy_client.strictParseInt32)(output[_uST]); + } + if (output[_uTd] != null) { + contents[_UT] = (0, import_smithy_client.strictParseInt32)(output[_uTd]); + } + return contents; +}, "de_ConnectionTrackingSpecificationResponse"); +var de_ConversionTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cTI] != null) { + contents[_CTI] = (0, import_smithy_client.expectString)(output[_cTI]); + } + if (output[_eT] != null) { + contents[_ETx] = (0, import_smithy_client.expectString)(output[_eT]); + } + if (output[_iIm] != null) { + contents[_IIm] = de_ImportInstanceTaskDetails(output[_iIm], context); + } + if (output[_iV] != null) { + contents[_IV] = de_ImportVolumeTaskDetails(output[_iV], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ConversionTask"); +var de_CopyFpgaImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fII] != null) { + contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); + } + return contents; +}, "de_CopyFpgaImageResult"); +var de_CopyImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + return contents; +}, "de_CopyImageResult"); +var de_CopySnapshotResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CopySnapshotResult"); +var de_CoreCountList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.strictParseInt32)(entry); + }); +}, "de_CoreCountList"); +var de_CpuManufacturerSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_CpuManufacturerSet"); +var de_CpuOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCo] != null) { + contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]); + } + if (output[_tPC] != null) { + contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]); + } + if (output[_aSS] != null) { + contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]); + } + return contents; +}, "de_CpuOptions"); +var de_CreateCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRFI] != null) { + contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_tTC] != null) { + contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); + } + if (output[_tFC] != null) { + contents[_TFC] = (0, import_smithy_client.strictParseFloat)(output[_tFC]); + } + if (output[_iMC] != null) { + contents[_IMC] = (0, import_smithy_client.expectString)(output[_iMC]); + } + if (output[_aSl] != null) { + contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + if (output.fleetCapacityReservationSet === "") { + contents[_FCR] = []; + } else if (output[_fCRS] != null && output[_fCRS][_i] != null) { + contents[_FCR] = de_FleetCapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fCRS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CreateCapacityReservationFleetResult"); +var de_CreateCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cR] != null) { + contents[_CRapa] = de_CapacityReservation(output[_cR], context); + } + return contents; +}, "de_CreateCapacityReservationResult"); +var de_CreateCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cG] != null) { + contents[_CG] = de_CarrierGateway(output[_cG], context); + } + return contents; +}, "de_CreateCarrierGatewayResult"); +var de_CreateClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); + } + if (output[_dNn] != null) { + contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); + } + return contents; +}, "de_CreateClientVpnEndpointResult"); +var de_CreateClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); + } + return contents; +}, "de_CreateClientVpnRouteResult"); +var de_CreateCoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCoi] != null) { + contents[_CCo] = de_CoipCidr(output[_cCoi], context); + } + return contents; +}, "de_CreateCoipCidrResult"); +var de_CreateCoipPoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cP] != null) { + contents[_CP] = de_CoipPool(output[_cP], context); + } + return contents; +}, "de_CreateCoipPoolResult"); +var de_CreateCustomerGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cGu] != null) { + contents[_CGu] = de_CustomerGateway(output[_cGu], context); + } + return contents; +}, "de_CreateCustomerGatewayResult"); +var de_CreateDefaultSubnetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_su] != null) { + contents[_Su] = de_Subnet(output[_su], context); + } + return contents; +}, "de_CreateDefaultSubnetResult"); +var de_CreateDefaultVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vp] != null) { + contents[_Vp] = de_Vpc(output[_vp], context); + } + return contents; +}, "de_CreateDefaultVpcResult"); +var de_CreateDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dO] != null) { + contents[_DOh] = de_DhcpOptions(output[_dO], context); + } + return contents; +}, "de_CreateDhcpOptionsResult"); +var de_CreateEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_eOIG] != null) { + contents[_EOIG] = de_EgressOnlyInternetGateway(output[_eOIG], context); + } + return contents; +}, "de_CreateEgressOnlyInternetGatewayResult"); +var de_CreateFleetError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTAO] != null) { + contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); + } + if (output[_l] != null) { + contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); + } + if (output[_eC] != null) { + contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]); + } + if (output[_eM] != null) { + contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]); + } + return contents; +}, "de_CreateFleetError"); +var de_CreateFleetErrorsSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CreateFleetError(entry, context); + }); +}, "de_CreateFleetErrorsSet"); +var de_CreateFleetInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTAO] != null) { + contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); + } + if (output[_l] != null) { + contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); + } + if (output.instanceIds === "") { + contents[_IIns] = []; + } else if (output[_iIn] != null && output[_iIn][_i] != null) { + contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + return contents; +}, "de_CreateFleetInstance"); +var de_CreateFleetInstancesSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CreateFleetInstance(entry, context); + }); +}, "de_CreateFleetInstancesSet"); +var de_CreateFleetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + if (output.errorSet === "") { + contents[_Err] = []; + } else if (output[_eSr] != null && output[_eSr][_i] != null) { + contents[_Err] = de_CreateFleetErrorsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); + } + if (output.fleetInstanceSet === "") { + contents[_In] = []; + } else if (output[_fIS] != null && output[_fIS][_i] != null) { + contents[_In] = de_CreateFleetInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context); + } + return contents; +}, "de_CreateFleetResult"); +var de_CreateFlowLogsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output.flowLogIdSet === "") { + contents[_FLI] = []; + } else if (output[_fLIS] != null && output[_fLIS][_i] != null) { + contents[_FLI] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_fLIS][_i]), context); + } + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_CreateFlowLogsResult"); +var de_CreateFpgaImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fII] != null) { + contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); + } + if (output[_fIGI] != null) { + contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]); + } + return contents; +}, "de_CreateFpgaImageResult"); +var de_CreateImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + return contents; +}, "de_CreateImageResult"); +var de_CreateInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCE] != null) { + contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateInstanceConnectEndpointResult"); +var de_CreateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEW] != null) { + contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); + } + return contents; +}, "de_CreateInstanceEventWindowResult"); +var de_CreateInstanceExportTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eTx] != null) { + contents[_ETxp] = de_ExportTask(output[_eTx], context); + } + return contents; +}, "de_CreateInstanceExportTaskResult"); +var de_CreateInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iG] != null) { + contents[_IGn] = de_InternetGateway(output[_iG], context); + } + return contents; +}, "de_CreateInternetGatewayResult"); +var de_CreateIpamPoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPp] != null) { + contents[_IPpa] = de_IpamPool(output[_iPp], context); + } + return contents; +}, "de_CreateIpamPoolResult"); +var de_CreateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRD] != null) { + contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); + } + return contents; +}, "de_CreateIpamResourceDiscoveryResult"); +var de_CreateIpamResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ip] != null) { + contents[_Ipa] = de_Ipam(output[_ip], context); + } + return contents; +}, "de_CreateIpamResult"); +var de_CreateIpamScopeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iS] != null) { + contents[_ISpa] = de_IpamScope(output[_iS], context); + } + return contents; +}, "de_CreateIpamScopeResult"); +var de_CreateLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lT] != null) { + contents[_LTa] = de_LaunchTemplate(output[_lT], context); + } + if (output[_w] != null) { + contents[_Wa] = de_ValidationWarning(output[_w], context); + } + return contents; +}, "de_CreateLaunchTemplateResult"); +var de_CreateLaunchTemplateVersionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTV] != null) { + contents[_LTV] = de_LaunchTemplateVersion(output[_lTV], context); + } + if (output[_w] != null) { + contents[_Wa] = de_ValidationWarning(output[_w], context); + } + return contents; +}, "de_CreateLaunchTemplateVersionResult"); +var de_CreateLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); + } + return contents; +}, "de_CreateLocalGatewayRouteResult"); +var de_CreateLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRT] != null) { + contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context); + } + return contents; +}, "de_CreateLocalGatewayRouteTableResult"); +var de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVIGA] != null) { + contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context); + } + return contents; +}, "de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"); +var de_CreateLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVA] != null) { + contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context); + } + return contents; +}, "de_CreateLocalGatewayRouteTableVpcAssociationResult"); +var de_CreateManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pL] != null) { + contents[_PLr] = de_ManagedPrefixList(output[_pL], context); + } + return contents; +}, "de_CreateManagedPrefixListResult"); +var de_CreateNatGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_nG] != null) { + contents[_NG] = de_NatGateway(output[_nG], context); + } + return contents; +}, "de_CreateNatGatewayResult"); +var de_CreateNetworkAclResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nA] != null) { + contents[_NA] = de_NetworkAcl(output[_nA], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateNetworkAclResult"); +var de_CreateNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIAS] != null) { + contents[_NIAS] = de_NetworkInsightsAccessScope(output[_nIAS], context); + } + if (output[_nIASC] != null) { + contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context); + } + return contents; +}, "de_CreateNetworkInsightsAccessScopeResult"); +var de_CreateNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIP] != null) { + contents[_NIP] = de_NetworkInsightsPath(output[_nIP], context); + } + return contents; +}, "de_CreateNetworkInsightsPathResult"); +var de_CreateNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPnt] != null) { + contents[_IPnt] = de_NetworkInterfacePermission(output[_iPnt], context); + } + return contents; +}, "de_CreateNetworkInterfacePermissionResult"); +var de_CreateNetworkInterfaceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIe] != null) { + contents[_NIet] = de_NetworkInterface(output[_nIe], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateNetworkInterfaceResult"); +var de_CreatePlacementGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pG] != null) { + contents[_PG] = de_PlacementGroup(output[_pG], context); + } + return contents; +}, "de_CreatePlacementGroupResult"); +var de_CreatePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + return contents; +}, "de_CreatePublicIpv4PoolResult"); +var de_CreateReplaceRootVolumeTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rRVT] != null) { + contents[_RRVT] = de_ReplaceRootVolumeTask(output[_rRVT], context); + } + return contents; +}, "de_CreateReplaceRootVolumeTaskResult"); +var de_CreateReservedInstancesListingResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservedInstancesListingsSet === "") { + contents[_RIL] = []; + } else if (output[_rILS] != null && output[_rILS][_i] != null) { + contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); + } + return contents; +}, "de_CreateReservedInstancesListingResult"); +var de_CreateRestoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + return contents; +}, "de_CreateRestoreImageTaskResult"); +var de_CreateRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_CreateRouteResult"); +var de_CreateRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rTo] != null) { + contents[_RTo] = de_RouteTable(output[_rTo], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateRouteTableResult"); +var de_CreateSecurityGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CreateSecurityGroupResult"); +var de_CreateSnapshotsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.snapshotSet === "") { + contents[_Sn] = []; + } else if (output[_sS] != null && output[_sS][_i] != null) { + contents[_Sn] = de_SnapshotSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); + } + return contents; +}, "de_CreateSnapshotsResult"); +var de_CreateSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sDS] != null) { + contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context); + } + return contents; +}, "de_CreateSpotDatafeedSubscriptionResult"); +var de_CreateStoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oK] != null) { + contents[_OK] = (0, import_smithy_client.expectString)(output[_oK]); + } + return contents; +}, "de_CreateStoreImageTaskResult"); +var de_CreateSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCR] != null) { + contents[_SCR] = de_SubnetCidrReservation(output[_sCR], context); + } + return contents; +}, "de_CreateSubnetCidrReservationResult"); +var de_CreateSubnetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_su] != null) { + contents[_Su] = de_Subnet(output[_su], context); + } + return contents; +}, "de_CreateSubnetResult"); +var de_CreateTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMF] != null) { + contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateTrafficMirrorFilterResult"); +var de_CreateTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFR] != null) { + contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateTrafficMirrorFilterRuleResult"); +var de_CreateTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMS] != null) { + contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateTrafficMirrorSessionResult"); +var de_CreateTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMT] != null) { + contents[_TMT] = de_TrafficMirrorTarget(output[_tMT], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateTrafficMirrorTargetResult"); +var de_CreateTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGCP] != null) { + contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context); + } + return contents; +}, "de_CreateTransitGatewayConnectPeerResult"); +var de_CreateTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGC] != null) { + contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context); + } + return contents; +}, "de_CreateTransitGatewayConnectResult"); +var de_CreateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMD] != null) { + contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context); + } + return contents; +}, "de_CreateTransitGatewayMulticastDomainResult"); +var de_CreateTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPA] != null) { + contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); + } + return contents; +}, "de_CreateTransitGatewayPeeringAttachmentResult"); +var de_CreateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPT] != null) { + contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context); + } + return contents; +}, "de_CreateTransitGatewayPolicyTableResult"); +var de_CreateTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPLR] != null) { + contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); + } + return contents; +}, "de_CreateTransitGatewayPrefixListReferenceResult"); +var de_CreateTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tG] != null) { + contents[_TGr] = de_TransitGateway(output[_tG], context); + } + return contents; +}, "de_CreateTransitGatewayResult"); +var de_CreateTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); + } + return contents; +}, "de_CreateTransitGatewayRouteResult"); +var de_CreateTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTA] != null) { + contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context); + } + return contents; +}, "de_CreateTransitGatewayRouteTableAnnouncementResult"); +var de_CreateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRT] != null) { + contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context); + } + return contents; +}, "de_CreateTransitGatewayRouteTableResult"); +var de_CreateTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGVA] != null) { + contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); + } + return contents; +}, "de_CreateTransitGatewayVpcAttachmentResult"); +var de_CreateVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAE] != null) { + contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); + } + return contents; +}, "de_CreateVerifiedAccessEndpointResult"); +var de_CreateVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAG] != null) { + contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); + } + return contents; +}, "de_CreateVerifiedAccessGroupResult"); +var de_CreateVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAI] != null) { + contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); + } + return contents; +}, "de_CreateVerifiedAccessInstanceResult"); +var de_CreateVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATP] != null) { + contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); + } + return contents; +}, "de_CreateVerifiedAccessTrustProviderResult"); +var de_CreateVolumePermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_g] != null) { + contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); + } + if (output[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + return contents; +}, "de_CreateVolumePermission"); +var de_CreateVolumePermissionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CreateVolumePermission(entry, context); + }); +}, "de_CreateVolumePermissionList"); +var de_CreateVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cNo] != null) { + contents[_CNo] = de_ConnectionNotification(output[_cNo], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateVpcEndpointConnectionNotificationResult"); +var de_CreateVpcEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vE] != null) { + contents[_VE] = de_VpcEndpoint(output[_vE], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateVpcEndpointResult"); +var de_CreateVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sC] != null) { + contents[_SCe] = de_ServiceConfiguration(output[_sC], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_CreateVpcEndpointServiceConfigurationResult"); +var de_CreateVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vPC] != null) { + contents[_VPC] = de_VpcPeeringConnection(output[_vPC], context); + } + return contents; +}, "de_CreateVpcPeeringConnectionResult"); +var de_CreateVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vp] != null) { + contents[_Vp] = de_Vpc(output[_vp], context); + } + return contents; +}, "de_CreateVpcResult"); +var de_CreateVpnConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vC] != null) { + contents[_VC] = de_VpnConnection(output[_vC], context); + } + return contents; +}, "de_CreateVpnConnectionResult"); +var de_CreateVpnGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vG] != null) { + contents[_VG] = de_VpnGateway(output[_vG], context); + } + return contents; +}, "de_CreateVpnGatewayResult"); +var de_CreditSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCp] != null) { + contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); + } + return contents; +}, "de_CreditSpecification"); +var de_CustomerGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bA] != null) { + contents[_BA] = (0, import_smithy_client.expectString)(output[_bA]); + } + if (output[_cGIu] != null) { + contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); + } + if (output[_iAp] != null) { + contents[_IAp] = (0, import_smithy_client.expectString)(output[_iAp]); + } + if (output[_cAe] != null) { + contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_CustomerGateway"); +var de_CustomerGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CustomerGateway(entry, context); + }); +}, "de_CustomerGatewayList"); +var de_DataResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_id] != null) { + contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); + } + if (output[_s] != null) { + contents[_S] = (0, import_smithy_client.expectString)(output[_s]); + } + if (output[_d] != null) { + contents[_D] = (0, import_smithy_client.expectString)(output[_d]); + } + if (output[_met] != null) { + contents[_Met] = (0, import_smithy_client.expectString)(output[_met]); + } + if (output[_stat] != null) { + contents[_Sta] = (0, import_smithy_client.expectString)(output[_stat]); + } + if (output[_pe] != null) { + contents[_Per] = (0, import_smithy_client.expectString)(output[_pe]); + } + if (output.metricPointSet === "") { + contents[_MPe] = []; + } else if (output[_mPS] != null && output[_mPS][_i] != null) { + contents[_MPe] = de_MetricPoints((0, import_smithy_client.getArrayIfSingleItem)(output[_mPS][_i]), context); + } + return contents; +}, "de_DataResponse"); +var de_DataResponses = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DataResponse(entry, context); + }); +}, "de_DataResponses"); +var de_DedicatedHostIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_DedicatedHostIdList"); +var de_DeleteCarrierGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cG] != null) { + contents[_CG] = de_CarrierGateway(output[_cG], context); + } + return contents; +}, "de_DeleteCarrierGatewayResult"); +var de_DeleteClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnEndpointStatus(output[_sta], context); + } + return contents; +}, "de_DeleteClientVpnEndpointResult"); +var de_DeleteClientVpnRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnRouteStatus(output[_sta], context); + } + return contents; +}, "de_DeleteClientVpnRouteResult"); +var de_DeleteCoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCoi] != null) { + contents[_CCo] = de_CoipCidr(output[_cCoi], context); + } + return contents; +}, "de_DeleteCoipCidrResult"); +var de_DeleteCoipPoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cP] != null) { + contents[_CP] = de_CoipPool(output[_cP], context); + } + return contents; +}, "de_DeleteCoipPoolResult"); +var de_DeleteEgressOnlyInternetGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rC] != null) { + contents[_RCet] = (0, import_smithy_client.parseBoolean)(output[_rC]); + } + return contents; +}, "de_DeleteEgressOnlyInternetGatewayResult"); +var de_DeleteFleetError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_DeleteFleetError"); +var de_DeleteFleetErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_er] != null) { + contents[_Er] = de_DeleteFleetError(output[_er], context); + } + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + return contents; +}, "de_DeleteFleetErrorItem"); +var de_DeleteFleetErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DeleteFleetErrorItem(entry, context); + }); +}, "de_DeleteFleetErrorSet"); +var de_DeleteFleetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfulFleetDeletionSet === "") { + contents[_SFD] = []; + } else if (output[_sFDS] != null && output[_sFDS][_i] != null) { + contents[_SFD] = de_DeleteFleetSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFDS][_i]), context); + } + if (output.unsuccessfulFleetDeletionSet === "") { + contents[_UFD] = []; + } else if (output[_uFDS] != null && output[_uFDS][_i] != null) { + contents[_UFD] = de_DeleteFleetErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_uFDS][_i]), context); + } + return contents; +}, "de_DeleteFleetsResult"); +var de_DeleteFleetSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cFS] != null) { + contents[_CFS] = (0, import_smithy_client.expectString)(output[_cFS]); + } + if (output[_pFS] != null) { + contents[_PFS] = (0, import_smithy_client.expectString)(output[_pFS]); + } + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + return contents; +}, "de_DeleteFleetSuccessItem"); +var de_DeleteFleetSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DeleteFleetSuccessItem(entry, context); + }); +}, "de_DeleteFleetSuccessSet"); +var de_DeleteFlowLogsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_DeleteFlowLogsResult"); +var de_DeleteFpgaImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DeleteFpgaImageResult"); +var de_DeleteInstanceConnectEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCE] != null) { + contents[_ICE] = de_Ec2InstanceConnectEndpoint(output[_iCE], context); + } + return contents; +}, "de_DeleteInstanceConnectEndpointResult"); +var de_DeleteInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEWS] != null) { + contents[_IEWS] = de_InstanceEventWindowStateChange(output[_iEWS], context); + } + return contents; +}, "de_DeleteInstanceEventWindowResult"); +var de_DeleteIpamPoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPp] != null) { + contents[_IPpa] = de_IpamPool(output[_iPp], context); + } + return contents; +}, "de_DeleteIpamPoolResult"); +var de_DeleteIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRD] != null) { + contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); + } + return contents; +}, "de_DeleteIpamResourceDiscoveryResult"); +var de_DeleteIpamResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ip] != null) { + contents[_Ipa] = de_Ipam(output[_ip], context); + } + return contents; +}, "de_DeleteIpamResult"); +var de_DeleteIpamScopeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iS] != null) { + contents[_ISpa] = de_IpamScope(output[_iS], context); + } + return contents; +}, "de_DeleteIpamScopeResult"); +var de_DeleteKeyPairResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output[_kPI] != null) { + contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); + } + return contents; +}, "de_DeleteKeyPairResult"); +var de_DeleteLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lT] != null) { + contents[_LTa] = de_LaunchTemplate(output[_lT], context); + } + return contents; +}, "de_DeleteLaunchTemplateResult"); +var de_DeleteLaunchTemplateVersionsResponseErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_vNe] != null) { + contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); + } + if (output[_rE] != null) { + contents[_REe] = de_ResponseError(output[_rE], context); + } + return contents; +}, "de_DeleteLaunchTemplateVersionsResponseErrorItem"); +var de_DeleteLaunchTemplateVersionsResponseErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DeleteLaunchTemplateVersionsResponseErrorItem(entry, context); + }); +}, "de_DeleteLaunchTemplateVersionsResponseErrorSet"); +var de_DeleteLaunchTemplateVersionsResponseSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_vNe] != null) { + contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); + } + return contents; +}, "de_DeleteLaunchTemplateVersionsResponseSuccessItem"); +var de_DeleteLaunchTemplateVersionsResponseSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DeleteLaunchTemplateVersionsResponseSuccessItem(entry, context); + }); +}, "de_DeleteLaunchTemplateVersionsResponseSuccessSet"); +var de_DeleteLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfullyDeletedLaunchTemplateVersionSet === "") { + contents[_SDLTV] = []; + } else if (output[_sDLTVS] != null && output[_sDLTVS][_i] != null) { + contents[_SDLTV] = de_DeleteLaunchTemplateVersionsResponseSuccessSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_sDLTVS][_i]), + context + ); + } + if (output.unsuccessfullyDeletedLaunchTemplateVersionSet === "") { + contents[_UDLTV] = []; + } else if (output[_uDLTVS] != null && output[_uDLTVS][_i] != null) { + contents[_UDLTV] = de_DeleteLaunchTemplateVersionsResponseErrorSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_uDLTVS][_i]), + context + ); + } + return contents; +}, "de_DeleteLaunchTemplateVersionsResult"); +var de_DeleteLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); + } + return contents; +}, "de_DeleteLocalGatewayRouteResult"); +var de_DeleteLocalGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRT] != null) { + contents[_LGRT] = de_LocalGatewayRouteTable(output[_lGRT], context); + } + return contents; +}, "de_DeleteLocalGatewayRouteTableResult"); +var de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVIGA] != null) { + contents[_LGRTVIGA] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(output[_lGRTVIGA], context); + } + return contents; +}, "de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationResult"); +var de_DeleteLocalGatewayRouteTableVpcAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVA] != null) { + contents[_LGRTVA] = de_LocalGatewayRouteTableVpcAssociation(output[_lGRTVA], context); + } + return contents; +}, "de_DeleteLocalGatewayRouteTableVpcAssociationResult"); +var de_DeleteManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pL] != null) { + contents[_PLr] = de_ManagedPrefixList(output[_pL], context); + } + return contents; +}, "de_DeleteManagedPrefixListResult"); +var de_DeleteNatGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + return contents; +}, "de_DeleteNatGatewayResult"); +var de_DeleteNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASAI] != null) { + contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); + } + return contents; +}, "de_DeleteNetworkInsightsAccessScopeAnalysisResult"); +var de_DeleteNetworkInsightsAccessScopeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASI] != null) { + contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); + } + return contents; +}, "de_DeleteNetworkInsightsAccessScopeResult"); +var de_DeleteNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIAI] != null) { + contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]); + } + return contents; +}, "de_DeleteNetworkInsightsAnalysisResult"); +var de_DeleteNetworkInsightsPathResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIPI] != null) { + contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); + } + return contents; +}, "de_DeleteNetworkInsightsPathResult"); +var de_DeleteNetworkInterfacePermissionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DeleteNetworkInterfacePermissionResult"); +var de_DeletePublicIpv4PoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rV] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]); + } + return contents; +}, "de_DeletePublicIpv4PoolResult"); +var de_DeleteQueuedReservedInstancesError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_DeleteQueuedReservedInstancesError"); +var de_DeleteQueuedReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfulQueuedPurchaseDeletionSet === "") { + contents[_SQPD] = []; + } else if (output[_sQPDS] != null && output[_sQPDS][_i] != null) { + contents[_SQPD] = de_SuccessfulQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sQPDS][_i]), context); + } + if (output.failedQueuedPurchaseDeletionSet === "") { + contents[_FQPD] = []; + } else if (output[_fQPDS] != null && output[_fQPDS][_i] != null) { + contents[_FQPD] = de_FailedQueuedPurchaseDeletionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fQPDS][_i]), context); + } + return contents; +}, "de_DeleteQueuedReservedInstancesResult"); +var de_DeleteSubnetCidrReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dSCR] != null) { + contents[_DSCRe] = de_SubnetCidrReservation(output[_dSCR], context); + } + return contents; +}, "de_DeleteSubnetCidrReservationResult"); +var de_DeleteTrafficMirrorFilterResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFI] != null) { + contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); + } + return contents; +}, "de_DeleteTrafficMirrorFilterResult"); +var de_DeleteTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFRI] != null) { + contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]); + } + return contents; +}, "de_DeleteTrafficMirrorFilterRuleResult"); +var de_DeleteTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMSI] != null) { + contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]); + } + return contents; +}, "de_DeleteTrafficMirrorSessionResult"); +var de_DeleteTrafficMirrorTargetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMTI] != null) { + contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); + } + return contents; +}, "de_DeleteTrafficMirrorTargetResult"); +var de_DeleteTransitGatewayConnectPeerResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGCP] != null) { + contents[_TGCP] = de_TransitGatewayConnectPeer(output[_tGCP], context); + } + return contents; +}, "de_DeleteTransitGatewayConnectPeerResult"); +var de_DeleteTransitGatewayConnectResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGC] != null) { + contents[_TGCr] = de_TransitGatewayConnect(output[_tGC], context); + } + return contents; +}, "de_DeleteTransitGatewayConnectResult"); +var de_DeleteTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMD] != null) { + contents[_TGMD] = de_TransitGatewayMulticastDomain(output[_tGMD], context); + } + return contents; +}, "de_DeleteTransitGatewayMulticastDomainResult"); +var de_DeleteTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPA] != null) { + contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); + } + return contents; +}, "de_DeleteTransitGatewayPeeringAttachmentResult"); +var de_DeleteTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPT] != null) { + contents[_TGPT] = de_TransitGatewayPolicyTable(output[_tGPT], context); + } + return contents; +}, "de_DeleteTransitGatewayPolicyTableResult"); +var de_DeleteTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPLR] != null) { + contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); + } + return contents; +}, "de_DeleteTransitGatewayPrefixListReferenceResult"); +var de_DeleteTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tG] != null) { + contents[_TGr] = de_TransitGateway(output[_tG], context); + } + return contents; +}, "de_DeleteTransitGatewayResult"); +var de_DeleteTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); + } + return contents; +}, "de_DeleteTransitGatewayRouteResult"); +var de_DeleteTransitGatewayRouteTableAnnouncementResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTA] != null) { + contents[_TGRTA] = de_TransitGatewayRouteTableAnnouncement(output[_tGRTA], context); + } + return contents; +}, "de_DeleteTransitGatewayRouteTableAnnouncementResult"); +var de_DeleteTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRT] != null) { + contents[_TGRT] = de_TransitGatewayRouteTable(output[_tGRT], context); + } + return contents; +}, "de_DeleteTransitGatewayRouteTableResult"); +var de_DeleteTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGVA] != null) { + contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); + } + return contents; +}, "de_DeleteTransitGatewayVpcAttachmentResult"); +var de_DeleteVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAE] != null) { + contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); + } + return contents; +}, "de_DeleteVerifiedAccessEndpointResult"); +var de_DeleteVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAG] != null) { + contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); + } + return contents; +}, "de_DeleteVerifiedAccessGroupResult"); +var de_DeleteVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAI] != null) { + contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); + } + return contents; +}, "de_DeleteVerifiedAccessInstanceResult"); +var de_DeleteVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATP] != null) { + contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); + } + return contents; +}, "de_DeleteVerifiedAccessTrustProviderResult"); +var de_DeleteVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_DeleteVpcEndpointConnectionNotificationsResult"); +var de_DeleteVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_DeleteVpcEndpointServiceConfigurationsResult"); +var de_DeleteVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_DeleteVpcEndpointsResult"); +var de_DeleteVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DeleteVpcPeeringConnectionResult"); +var de_DeprovisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bC] != null) { + contents[_BC] = de_ByoipCidr(output[_bC], context); + } + return contents; +}, "de_DeprovisionByoipCidrResult"); +var de_DeprovisionedAddressSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_DeprovisionedAddressSet"); +var de_DeprovisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_b] != null) { + contents[_Byo] = de_Byoasn(output[_b], context); + } + return contents; +}, "de_DeprovisionIpamByoasnResult"); +var de_DeprovisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPC] != null) { + contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context); + } + return contents; +}, "de_DeprovisionIpamPoolCidrResult"); +var de_DeprovisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + if (output.deprovisionedAddressSet === "") { + contents[_DAep] = []; + } else if (output[_dASe] != null && output[_dASe][_i] != null) { + contents[_DAep] = de_DeprovisionedAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_dASe][_i]), context); + } + return contents; +}, "de_DeprovisionPublicIpv4PoolCidrResult"); +var de_DeregisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iTA] != null) { + contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); + } + return contents; +}, "de_DeregisterInstanceEventNotificationAttributesResult"); +var de_DeregisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dMGM] != null) { + contents[_DMGM] = de_TransitGatewayMulticastDeregisteredGroupMembers(output[_dMGM], context); + } + return contents; +}, "de_DeregisterTransitGatewayMulticastGroupMembersResult"); +var de_DeregisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dMGS] != null) { + contents[_DMGS] = de_TransitGatewayMulticastDeregisteredGroupSources(output[_dMGS], context); + } + return contents; +}, "de_DeregisterTransitGatewayMulticastGroupSourcesResult"); +var de_DescribeAccountAttributesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.accountAttributeSet === "") { + contents[_AAcc] = []; + } else if (output[_aASc] != null && output[_aASc][_i] != null) { + contents[_AAcc] = de_AccountAttributeList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASc][_i]), context); + } + return contents; +}, "de_DescribeAccountAttributesResult"); +var de_DescribeAddressesAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.addressSet === "") { + contents[_Addr] = []; + } else if (output[_aSd] != null && output[_aSd][_i] != null) { + contents[_Addr] = de_AddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeAddressesAttributeResult"); +var de_DescribeAddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.addressesSet === "") { + contents[_Addr] = []; + } else if (output[_aSdd] != null && output[_aSdd][_i] != null) { + contents[_Addr] = de_AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSdd][_i]), context); + } + return contents; +}, "de_DescribeAddressesResult"); +var de_DescribeAddressTransfersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.addressTransferSet === "") { + contents[_ATddr] = []; + } else if (output[_aTSd] != null && output[_aTSd][_i] != null) { + contents[_ATddr] = de_AddressTransferList((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSd][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeAddressTransfersResult"); +var de_DescribeAggregateIdFormatResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_uLIA] != null) { + contents[_ULIA] = (0, import_smithy_client.parseBoolean)(output[_uLIA]); + } + if (output.statusSet === "") { + contents[_Status] = []; + } else if (output[_sSt] != null && output[_sSt][_i] != null) { + contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); + } + return contents; +}, "de_DescribeAggregateIdFormatResult"); +var de_DescribeAvailabilityZonesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.availabilityZoneInfo === "") { + contents[_AZv] = []; + } else if (output[_aZIv] != null && output[_aZIv][_i] != null) { + contents[_AZv] = de_AvailabilityZoneList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZIv][_i]), context); + } + return contents; +}, "de_DescribeAvailabilityZonesResult"); +var de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.subscriptionSet === "") { + contents[_Sub] = []; + } else if (output[_sSu] != null && output[_sSu][_i] != null) { + contents[_Sub] = de_SubscriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSu][_i]), context); + } + return contents; +}, "de_DescribeAwsNetworkPerformanceMetricSubscriptionsResult"); +var de_DescribeBundleTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.bundleInstanceTasksSet === "") { + contents[_BTun] = []; + } else if (output[_bITS] != null && output[_bITS][_i] != null) { + contents[_BTun] = de_BundleTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_bITS][_i]), context); + } + return contents; +}, "de_DescribeBundleTasksResult"); +var de_DescribeByoipCidrsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.byoipCidrSet === "") { + contents[_BCy] = []; + } else if (output[_bCS] != null && output[_bCS][_i] != null) { + contents[_BCy] = de_ByoipCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeByoipCidrsResult"); +var de_DescribeCapacityBlockOfferingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.capacityBlockOfferingSet === "") { + contents[_CBO] = []; + } else if (output[_cBOS] != null && output[_cBOS][_i] != null) { + contents[_CBO] = de_CapacityBlockOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBOS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCapacityBlockOfferingsResult"); +var de_DescribeCapacityReservationFleetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.capacityReservationFleetSet === "") { + contents[_CRF] = []; + } else if (output[_cRFS] != null && output[_cRFS][_i] != null) { + contents[_CRF] = de_CapacityReservationFleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRFS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCapacityReservationFleetsResult"); +var de_DescribeCapacityReservationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.capacityReservationSet === "") { + contents[_CRapac] = []; + } else if (output[_cRS] != null && output[_cRS][_i] != null) { + contents[_CRapac] = de_CapacityReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRS][_i]), context); + } + return contents; +}, "de_DescribeCapacityReservationsResult"); +var de_DescribeCarrierGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.carrierGatewaySet === "") { + contents[_CGa] = []; + } else if (output[_cGS] != null && output[_cGS][_i] != null) { + contents[_CGa] = de_CarrierGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_cGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCarrierGatewaysResult"); +var de_DescribeClassicLinkInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_In] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_In] = de_ClassicLinkInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClassicLinkInstancesResult"); +var de_DescribeClientVpnAuthorizationRulesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.authorizationRule === "") { + contents[_ARut] = []; + } else if (output[_aR] != null && output[_aR][_i] != null) { + contents[_ARut] = de_AuthorizationRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aR][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClientVpnAuthorizationRulesResult"); +var de_DescribeClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.connections === "") { + contents[_Conn] = []; + } else if (output[_con] != null && output[_con][_i] != null) { + contents[_Conn] = de_ClientVpnConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_con][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClientVpnConnectionsResult"); +var de_DescribeClientVpnEndpointsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.clientVpnEndpoint === "") { + contents[_CVEl] = []; + } else if (output[_cVE] != null && output[_cVE][_i] != null) { + contents[_CVEl] = de_EndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVE][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClientVpnEndpointsResult"); +var de_DescribeClientVpnRoutesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.routes === "") { + contents[_Rou] = []; + } else if (output[_rou] != null && output[_rou][_i] != null) { + contents[_Rou] = de_ClientVpnRouteSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClientVpnRoutesResult"); +var de_DescribeClientVpnTargetNetworksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.clientVpnTargetNetworks === "") { + contents[_CVTN] = []; + } else if (output[_cVTN] != null && output[_cVTN][_i] != null) { + contents[_CVTN] = de_TargetNetworkSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cVTN][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeClientVpnTargetNetworksResult"); +var de_DescribeCoipPoolsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.coipPoolSet === "") { + contents[_CPo] = []; + } else if (output[_cPS] != null && output[_cPS][_i] != null) { + contents[_CPo] = de_CoipPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cPS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCoipPoolsResult"); +var de_DescribeConversionTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ConversionTask(entry, context); + }); +}, "de_DescribeConversionTaskList"); +var de_DescribeConversionTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.conversionTasks === "") { + contents[_CTon] = []; + } else if (output[_cTo] != null && output[_cTo][_i] != null) { + contents[_CTon] = de_DescribeConversionTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_cTo][_i]), context); + } + return contents; +}, "de_DescribeConversionTasksResult"); +var de_DescribeCustomerGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.customerGatewaySet === "") { + contents[_CGus] = []; + } else if (output[_cGSu] != null && output[_cGSu][_i] != null) { + contents[_CGus] = de_CustomerGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_cGSu][_i]), context); + } + return contents; +}, "de_DescribeCustomerGatewaysResult"); +var de_DescribeDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.dhcpOptionsSet === "") { + contents[_DOh] = []; + } else if (output[_dOS] != null && output[_dOS][_i] != null) { + contents[_DOh] = de_DhcpOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_dOS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeDhcpOptionsResult"); +var de_DescribeEgressOnlyInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.egressOnlyInternetGatewaySet === "") { + contents[_EOIGg] = []; + } else if (output[_eOIGS] != null && output[_eOIGS][_i] != null) { + contents[_EOIGg] = de_EgressOnlyInternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_eOIGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeEgressOnlyInternetGatewaysResult"); +var de_DescribeElasticGpusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.elasticGpuSet === "") { + contents[_EGSla] = []; + } else if (output[_eGS] != null && output[_eGS][_i] != null) { + contents[_EGSla] = de_ElasticGpuSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eGS][_i]), context); + } + if (output[_mR] != null) { + contents[_MR] = (0, import_smithy_client.strictParseInt32)(output[_mR]); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeElasticGpusResult"); +var de_DescribeExportImageTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.exportImageTaskSet === "") { + contents[_EITx] = []; + } else if (output[_eITS] != null && output[_eITS][_i] != null) { + contents[_EITx] = de_ExportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eITS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeExportImageTasksResult"); +var de_DescribeExportTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.exportTaskSet === "") { + contents[_ETxpo] = []; + } else if (output[_eTS] != null && output[_eTS][_i] != null) { + contents[_ETxpo] = de_ExportTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTS][_i]), context); + } + return contents; +}, "de_DescribeExportTasksResult"); +var de_DescribeFastLaunchImagesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.fastLaunchImageSet === "") { + contents[_FLIa] = []; + } else if (output[_fLISa] != null && output[_fLISa][_i] != null) { + contents[_FLIa] = de_DescribeFastLaunchImagesSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLISa][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeFastLaunchImagesResult"); +var de_DescribeFastLaunchImagesSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_sCn] != null) { + contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); + } + if (output[_lT] != null) { + contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); + } + if (output[_mPL] != null) { + contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_sTT] != null) { + contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); + } + return contents; +}, "de_DescribeFastLaunchImagesSuccessItem"); +var de_DescribeFastLaunchImagesSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DescribeFastLaunchImagesSuccessItem(entry, context); + }); +}, "de_DescribeFastLaunchImagesSuccessSet"); +var de_DescribeFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.fastSnapshotRestoreSet === "") { + contents[_FSR] = []; + } else if (output[_fSRS] != null && output[_fSRS][_i] != null) { + contents[_FSR] = de_DescribeFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeFastSnapshotRestoresResult"); +var de_DescribeFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); + } + if (output[_eTn] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTna] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_dTi] != null) { + contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); + } + if (output[_dTis] != null) { + contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); + } + return contents; +}, "de_DescribeFastSnapshotRestoreSuccessItem"); +var de_DescribeFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DescribeFastSnapshotRestoreSuccessItem(entry, context); + }); +}, "de_DescribeFastSnapshotRestoreSuccessSet"); +var de_DescribeFleetError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTAO] != null) { + contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); + } + if (output[_l] != null) { + contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); + } + if (output[_eC] != null) { + contents[_EC] = (0, import_smithy_client.expectString)(output[_eC]); + } + if (output[_eM] != null) { + contents[_EM] = (0, import_smithy_client.expectString)(output[_eM]); + } + return contents; +}, "de_DescribeFleetError"); +var de_DescribeFleetHistoryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.historyRecordSet === "") { + contents[_HRi] = []; + } else if (output[_hRS] != null && output[_hRS][_i] != null) { + contents[_HRi] = de_HistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); + } + if (output[_lET] != null) { + contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET])); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + return contents; +}, "de_DescribeFleetHistoryResult"); +var de_DescribeFleetInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.activeInstanceSet === "") { + contents[_AIc] = []; + } else if (output[_aIS] != null && output[_aIS][_i] != null) { + contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + return contents; +}, "de_DescribeFleetInstancesResult"); +var de_DescribeFleetsErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DescribeFleetError(entry, context); + }); +}, "de_DescribeFleetsErrorSet"); +var de_DescribeFleetsInstances = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTAO] != null) { + contents[_LTAO] = de_LaunchTemplateAndOverridesResponse(output[_lTAO], context); + } + if (output[_l] != null) { + contents[_Li] = (0, import_smithy_client.expectString)(output[_l]); + } + if (output.instanceIds === "") { + contents[_IIns] = []; + } else if (output[_iIn] != null && output[_iIn][_i] != null) { + contents[_IIns] = de_InstanceIdsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIn][_i]), context); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + return contents; +}, "de_DescribeFleetsInstances"); +var de_DescribeFleetsInstancesSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DescribeFleetsInstances(entry, context); + }); +}, "de_DescribeFleetsInstancesSet"); +var de_DescribeFleetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.fleetSet === "") { + contents[_Fl] = []; + } else if (output[_fS] != null && output[_fS][_i] != null) { + contents[_Fl] = de_FleetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fS][_i]), context); + } + return contents; +}, "de_DescribeFleetsResult"); +var de_DescribeFlowLogsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.flowLogSet === "") { + contents[_FL] = []; + } else if (output[_fLS] != null && output[_fLS][_i] != null) { + contents[_FL] = de_FlowLogSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fLS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeFlowLogsResult"); +var de_DescribeFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fIA] != null) { + contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context); + } + return contents; +}, "de_DescribeFpgaImageAttributeResult"); +var de_DescribeFpgaImagesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.fpgaImageSet === "") { + contents[_FIp] = []; + } else if (output[_fISp] != null && output[_fISp][_i] != null) { + contents[_FIp] = de_FpgaImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_fISp][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeFpgaImagesResult"); +var de_DescribeHostReservationOfferingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.offeringSet === "") { + contents[_OS] = []; + } else if (output[_oS] != null && output[_oS][_i] != null) { + contents[_OS] = de_HostOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oS][_i]), context); + } + return contents; +}, "de_DescribeHostReservationOfferingsResult"); +var de_DescribeHostReservationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.hostReservationSet === "") { + contents[_HRS] = []; + } else if (output[_hRSo] != null && output[_hRSo][_i] != null) { + contents[_HRS] = de_HostReservationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRSo][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeHostReservationsResult"); +var de_DescribeHostsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.hostSet === "") { + contents[_Ho] = []; + } else if (output[_hS] != null && output[_hS][_i] != null) { + contents[_Ho] = de_HostList((0, import_smithy_client.getArrayIfSingleItem)(output[_hS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeHostsResult"); +var de_DescribeIamInstanceProfileAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.iamInstanceProfileAssociationSet === "") { + contents[_IIPAa] = []; + } else if (output[_iIPAS] != null && output[_iIPAS][_i] != null) { + contents[_IIPAa] = de_IamInstanceProfileAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIPAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeIamInstanceProfileAssociationsResult"); +var de_DescribeIdentityIdFormatResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.statusSet === "") { + contents[_Status] = []; + } else if (output[_sSt] != null && output[_sSt][_i] != null) { + contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); + } + return contents; +}, "de_DescribeIdentityIdFormatResult"); +var de_DescribeIdFormatResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.statusSet === "") { + contents[_Status] = []; + } else if (output[_sSt] != null && output[_sSt][_i] != null) { + contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); + } + return contents; +}, "de_DescribeIdFormatResult"); +var de_DescribeImagesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.imagesSet === "") { + contents[_Ima] = []; + } else if (output[_iSm] != null && output[_iSm][_i] != null) { + contents[_Ima] = de_ImageList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSm][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeImagesResult"); +var de_DescribeImportImageTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.importImageTaskSet === "") { + contents[_IIT] = []; + } else if (output[_iITS] != null && output[_iITS][_i] != null) { + contents[_IIT] = de_ImportImageTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iITS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeImportImageTasksResult"); +var de_DescribeImportSnapshotTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.importSnapshotTaskSet === "") { + contents[_IST] = []; + } else if (output[_iSTS] != null && output[_iSTS][_i] != null) { + contents[_IST] = de_ImportSnapshotTaskList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeImportSnapshotTasksResult"); +var de_DescribeInstanceConnectEndpointsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceConnectEndpointSet === "") { + contents[_ICEn] = []; + } else if (output[_iCES] != null && output[_iCES][_i] != null) { + contents[_ICEn] = de_InstanceConnectEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCES][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceConnectEndpointsResult"); +var de_DescribeInstanceCreditSpecificationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceCreditSpecificationSet === "") { + contents[_ICS] = []; + } else if (output[_iCSS] != null && output[_iCSS][_i] != null) { + contents[_ICS] = de_InstanceCreditSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCSS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceCreditSpecificationsResult"); +var de_DescribeInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iTA] != null) { + contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); + } + return contents; +}, "de_DescribeInstanceEventNotificationAttributesResult"); +var de_DescribeInstanceEventWindowsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceEventWindowSet === "") { + contents[_IEWn] = []; + } else if (output[_iEWSn] != null && output[_iEWSn][_i] != null) { + contents[_IEWn] = de_InstanceEventWindowSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iEWSn][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceEventWindowsResult"); +var de_DescribeInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservationSet === "") { + contents[_Rese] = []; + } else if (output[_rS] != null && output[_rS][_i] != null) { + contents[_Rese] = de_ReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstancesResult"); +var de_DescribeInstanceStatusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceStatusSet === "") { + contents[_ISns] = []; + } else if (output[_iSS] != null && output[_iSS][_i] != null) { + contents[_ISns] = de_InstanceStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceStatusResult"); +var de_DescribeInstanceTopologyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceSet === "") { + contents[_In] = []; + } else if (output[_iSns] != null && output[_iSns][_i] != null) { + contents[_In] = de_InstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSns][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceTopologyResult"); +var de_DescribeInstanceTypeOfferingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceTypeOfferingSet === "") { + contents[_ITO] = []; + } else if (output[_iTOS] != null && output[_iTOS][_i] != null) { + contents[_ITO] = de_InstanceTypeOfferingsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTOS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceTypeOfferingsResult"); +var de_DescribeInstanceTypesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceTypeSet === "") { + contents[_ITnst] = []; + } else if (output[_iTS] != null && output[_iTS][_i] != null) { + contents[_ITnst] = de_InstanceTypeInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceTypesResult"); +var de_DescribeInternetGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.internetGatewaySet === "") { + contents[_IGnt] = []; + } else if (output[_iGS] != null && output[_iGS][_i] != null) { + contents[_IGnt] = de_InternetGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_iGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInternetGatewaysResult"); +var de_DescribeIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.byoasnSet === "") { + contents[_Byoa] = []; + } else if (output[_bS] != null && output[_bS][_i] != null) { + contents[_Byoa] = de_ByoasnSet((0, import_smithy_client.getArrayIfSingleItem)(output[_bS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeIpamByoasnResult"); +var de_DescribeIpamPoolsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.ipamPoolSet === "") { + contents[_IPpam] = []; + } else if (output[_iPS] != null && output[_iPS][_i] != null) { + contents[_IPpam] = de_IpamPoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPS][_i]), context); + } + return contents; +}, "de_DescribeIpamPoolsResult"); +var de_DescribeIpamResourceDiscoveriesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamResourceDiscoverySet === "") { + contents[_IRDp] = []; + } else if (output[_iRDS] != null && output[_iRDS][_i] != null) { + contents[_IRDp] = de_IpamResourceDiscoverySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeIpamResourceDiscoveriesResult"); +var de_DescribeIpamResourceDiscoveryAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamResourceDiscoveryAssociationSet === "") { + contents[_IRDAp] = []; + } else if (output[_iRDAS] != null && output[_iRDAS][_i] != null) { + contents[_IRDAp] = de_IpamResourceDiscoveryAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRDAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeIpamResourceDiscoveryAssociationsResult"); +var de_DescribeIpamScopesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.ipamScopeSet === "") { + contents[_ISpam] = []; + } else if (output[_iSSp] != null && output[_iSSp][_i] != null) { + contents[_ISpam] = de_IpamScopeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSSp][_i]), context); + } + return contents; +}, "de_DescribeIpamScopesResult"); +var de_DescribeIpamsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.ipamSet === "") { + contents[_Ipam] = []; + } else if (output[_iSp] != null && output[_iSp][_i] != null) { + contents[_Ipam] = de_IpamSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iSp][_i]), context); + } + return contents; +}, "de_DescribeIpamsResult"); +var de_DescribeIpv6PoolsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipv6PoolSet === "") { + contents[_IPpvo] = []; + } else if (output[_iPSp] != null && output[_iPSp][_i] != null) { + contents[_IPpvo] = de_Ipv6PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSp][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeIpv6PoolsResult"); +var de_DescribeKeyPairsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.keySet === "") { + contents[_KP] = []; + } else if (output[_kS] != null && output[_kS][_i] != null) { + contents[_KP] = de_KeyPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_kS][_i]), context); + } + return contents; +}, "de_DescribeKeyPairsResult"); +var de_DescribeLaunchTemplatesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.launchTemplates === "") { + contents[_LTau] = []; + } else if (output[_lTa] != null && output[_lTa][_i] != null) { + contents[_LTau] = de_LaunchTemplateSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTa][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLaunchTemplatesResult"); +var de_DescribeLaunchTemplateVersionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.launchTemplateVersionSet === "") { + contents[_LTVa] = []; + } else if (output[_lTVS] != null && output[_lTVS][_i] != null) { + contents[_LTVa] = de_LaunchTemplateVersionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lTVS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLaunchTemplateVersionsResult"); +var de_DescribeLocalGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewayRouteTableSet === "") { + contents[_LGRTo] = []; + } else if (output[_lGRTS] != null && output[_lGRTS][_i] != null) { + contents[_LGRTo] = de_LocalGatewayRouteTableSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewayRouteTablesResult"); +var de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewayRouteTableVirtualInterfaceGroupAssociationSet === "") { + contents[_LGRTVIGAo] = []; + } else if (output[_lGRTVIGAS] != null && output[_lGRTVIGAS][_i] != null) { + contents[_LGRTVIGAo] = de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVIGAS][_i]), + context + ); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult"); +var de_DescribeLocalGatewayRouteTableVpcAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewayRouteTableVpcAssociationSet === "") { + contents[_LGRTVAo] = []; + } else if (output[_lGRTVAS] != null && output[_lGRTVAS][_i] != null) { + contents[_LGRTVAo] = de_LocalGatewayRouteTableVpcAssociationSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_lGRTVAS][_i]), + context + ); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewayRouteTableVpcAssociationsResult"); +var de_DescribeLocalGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewaySet === "") { + contents[_LGoc] = []; + } else if (output[_lGS] != null && output[_lGS][_i] != null) { + contents[_LGoc] = de_LocalGatewaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewaysResult"); +var de_DescribeLocalGatewayVirtualInterfaceGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewayVirtualInterfaceGroupSet === "") { + contents[_LGVIG] = []; + } else if (output[_lGVIGS] != null && output[_lGVIGS][_i] != null) { + contents[_LGVIG] = de_LocalGatewayVirtualInterfaceGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewayVirtualInterfaceGroupsResult"); +var de_DescribeLocalGatewayVirtualInterfacesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.localGatewayVirtualInterfaceSet === "") { + contents[_LGVI] = []; + } else if (output[_lGVIS] != null && output[_lGVIS][_i] != null) { + contents[_LGVI] = de_LocalGatewayVirtualInterfaceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLocalGatewayVirtualInterfacesResult"); +var de_DescribeLockedSnapshotsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.snapshotSet === "") { + contents[_Sn] = []; + } else if (output[_sS] != null && output[_sS][_i] != null) { + contents[_Sn] = de_LockedSnapshotsInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeLockedSnapshotsResult"); +var de_DescribeMacHostsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.macHostSet === "") { + contents[_MHa] = []; + } else if (output[_mHS] != null && output[_mHS][_i] != null) { + contents[_MHa] = de_MacHostList((0, import_smithy_client.getArrayIfSingleItem)(output[_mHS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeMacHostsResult"); +var de_DescribeManagedPrefixListsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.prefixListSet === "") { + contents[_PLre] = []; + } else if (output[_pLS] != null && output[_pLS][_i] != null) { + contents[_PLre] = de_ManagedPrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context); + } + return contents; +}, "de_DescribeManagedPrefixListsResult"); +var de_DescribeMovingAddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.movingAddressStatusSet === "") { + contents[_MAS] = []; + } else if (output[_mASS] != null && output[_mASS][_i] != null) { + contents[_MAS] = de_MovingAddressStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_mASS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeMovingAddressesResult"); +var de_DescribeNatGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.natGatewaySet === "") { + contents[_NGa] = []; + } else if (output[_nGS] != null && output[_nGS][_i] != null) { + contents[_NGa] = de_NatGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNatGatewaysResult"); +var de_DescribeNetworkAclsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkAclSet === "") { + contents[_NAe] = []; + } else if (output[_nAS] != null && output[_nAS][_i] != null) { + contents[_NAe] = de_NetworkAclList((0, import_smithy_client.getArrayIfSingleItem)(output[_nAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkAclsResult"); +var de_DescribeNetworkInsightsAccessScopeAnalysesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInsightsAccessScopeAnalysisSet === "") { + contents[_NIASA] = []; + } else if (output[_nIASAS] != null && output[_nIASAS][_i] != null) { + contents[_NIASA] = de_NetworkInsightsAccessScopeAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInsightsAccessScopeAnalysesResult"); +var de_DescribeNetworkInsightsAccessScopesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInsightsAccessScopeSet === "") { + contents[_NIASe] = []; + } else if (output[_nIASS] != null && output[_nIASS][_i] != null) { + contents[_NIASe] = de_NetworkInsightsAccessScopeList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInsightsAccessScopesResult"); +var de_DescribeNetworkInsightsAnalysesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInsightsAnalysisSet === "") { + contents[_NIA] = []; + } else if (output[_nIASe] != null && output[_nIASe][_i] != null) { + contents[_NIA] = de_NetworkInsightsAnalysisList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIASe][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInsightsAnalysesResult"); +var de_DescribeNetworkInsightsPathsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInsightsPathSet === "") { + contents[_NIPe] = []; + } else if (output[_nIPS] != null && output[_nIPS][_i] != null) { + contents[_NIPe] = de_NetworkInsightsPathList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInsightsPathsResult"); +var de_DescribeNetworkInterfaceAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_at] != null) { + contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context); + } + if (output[_de] != null) { + contents[_De] = de_AttributeValue(output[_de], context); + } + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_sDC] != null) { + contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context); + } + if (output[_aPIA] != null) { + contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]); + } + return contents; +}, "de_DescribeNetworkInterfaceAttributeResult"); +var de_DescribeNetworkInterfacePermissionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInterfacePermissions === "") { + contents[_NIPet] = []; + } else if (output[_nIPe] != null && output[_nIPe][_i] != null) { + contents[_NIPet] = de_NetworkInterfacePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIPe][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInterfacePermissionsResult"); +var de_DescribeNetworkInterfacesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.networkInterfaceSet === "") { + contents[_NI] = []; + } else if (output[_nIS] != null && output[_nIS][_i] != null) { + contents[_NI] = de_NetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeNetworkInterfacesResult"); +var de_DescribePlacementGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.placementGroupSet === "") { + contents[_PGl] = []; + } else if (output[_pGS] != null && output[_pGS][_i] != null) { + contents[_PGl] = de_PlacementGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_pGS][_i]), context); + } + return contents; +}, "de_DescribePlacementGroupsResult"); +var de_DescribePrefixListsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.prefixListSet === "") { + contents[_PLre] = []; + } else if (output[_pLS] != null && output[_pLS][_i] != null) { + contents[_PLre] = de_PrefixListSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLS][_i]), context); + } + return contents; +}, "de_DescribePrefixListsResult"); +var de_DescribePrincipalIdFormatResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.principalSet === "") { + contents[_Princ] = []; + } else if (output[_pSr] != null && output[_pSr][_i] != null) { + contents[_Princ] = de_PrincipalIdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribePrincipalIdFormatResult"); +var de_DescribePublicIpv4PoolsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.publicIpv4PoolSet === "") { + contents[_PIPu] = []; + } else if (output[_pIPS] != null && output[_pIPS][_i] != null) { + contents[_PIPu] = de_PublicIpv4PoolSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pIPS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribePublicIpv4PoolsResult"); +var de_DescribeRegionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.regionInfo === "") { + contents[_Reg] = []; + } else if (output[_rI] != null && output[_rI][_i] != null) { + contents[_Reg] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rI][_i]), context); + } + return contents; +}, "de_DescribeRegionsResult"); +var de_DescribeReplaceRootVolumeTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.replaceRootVolumeTaskSet === "") { + contents[_RRVTe] = []; + } else if (output[_rRVTS] != null && output[_rRVTS][_i] != null) { + contents[_RRVTe] = de_ReplaceRootVolumeTasks((0, import_smithy_client.getArrayIfSingleItem)(output[_rRVTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeReplaceRootVolumeTasksResult"); +var de_DescribeReservedInstancesListingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservedInstancesListingsSet === "") { + contents[_RIL] = []; + } else if (output[_rILS] != null && output[_rILS][_i] != null) { + contents[_RIL] = de_ReservedInstancesListingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rILS][_i]), context); + } + return contents; +}, "de_DescribeReservedInstancesListingsResult"); +var de_DescribeReservedInstancesModificationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.reservedInstancesModificationsSet === "") { + contents[_RIM] = []; + } else if (output[_rIMS] != null && output[_rIMS][_i] != null) { + contents[_RIM] = de_ReservedInstancesModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIMS][_i]), context); + } + return contents; +}, "de_DescribeReservedInstancesModificationsResult"); +var de_DescribeReservedInstancesOfferingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservedInstancesOfferingsSet === "") { + contents[_RIO] = []; + } else if (output[_rIOS] != null && output[_rIOS][_i] != null) { + contents[_RIO] = de_ReservedInstancesOfferingList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIOS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeReservedInstancesOfferingsResult"); +var de_DescribeReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.reservedInstancesSet === "") { + contents[_RIese] = []; + } else if (output[_rIS] != null && output[_rIS][_i] != null) { + contents[_RIese] = de_ReservedInstancesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context); + } + return contents; +}, "de_DescribeReservedInstancesResult"); +var de_DescribeRouteTablesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.routeTableSet === "") { + contents[_RTou] = []; + } else if (output[_rTS] != null && output[_rTS][_i] != null) { + contents[_RTou] = de_RouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeRouteTablesResult"); +var de_DescribeScheduledInstanceAvailabilityResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.scheduledInstanceAvailabilitySet === "") { + contents[_SIAS] = []; + } else if (output[_sIAS] != null && output[_sIAS][_i] != null) { + contents[_SIAS] = de_ScheduledInstanceAvailabilitySet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIAS][_i]), context); + } + return contents; +}, "de_DescribeScheduledInstanceAvailabilityResult"); +var de_DescribeScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.scheduledInstanceSet === "") { + contents[_SIS] = []; + } else if (output[_sIS] != null && output[_sIS][_i] != null) { + contents[_SIS] = de_ScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context); + } + return contents; +}, "de_DescribeScheduledInstancesResult"); +var de_DescribeSecurityGroupReferencesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.securityGroupReferenceSet === "") { + contents[_SGRSe] = []; + } else if (output[_sGRSe] != null && output[_sGRSe][_i] != null) { + contents[_SGRSe] = de_SecurityGroupReferences((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRSe][_i]), context); + } + return contents; +}, "de_DescribeSecurityGroupReferencesResult"); +var de_DescribeSecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.securityGroupRuleSet === "") { + contents[_SGR] = []; + } else if (output[_sGRS] != null && output[_sGRS][_i] != null) { + contents[_SGR] = de_SecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSecurityGroupRulesResult"); +var de_DescribeSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.securityGroupInfo === "") { + contents[_SG] = []; + } else if (output[_sGIec] != null && output[_sGIec][_i] != null) { + contents[_SG] = de_SecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIec][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSecurityGroupsResult"); +var de_DescribeSnapshotAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.createVolumePermission === "") { + contents[_CVPr] = []; + } else if (output[_cVP] != null && output[_cVP][_i] != null) { + contents[_CVPr] = de_CreateVolumePermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_cVP][_i]), context); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + return contents; +}, "de_DescribeSnapshotAttributeResult"); +var de_DescribeSnapshotsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.snapshotSet === "") { + contents[_Sn] = []; + } else if (output[_sS] != null && output[_sS][_i] != null) { + contents[_Sn] = de_SnapshotList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSnapshotsResult"); +var de_DescribeSnapshotTierStatusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.snapshotTierStatusSet === "") { + contents[_STS] = []; + } else if (output[_sTSS] != null && output[_sTSS][_i] != null) { + contents[_STS] = de_snapshotTierStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTSS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSnapshotTierStatusResult"); +var de_DescribeSpotDatafeedSubscriptionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sDS] != null) { + contents[_SDS] = de_SpotDatafeedSubscription(output[_sDS], context); + } + return contents; +}, "de_DescribeSpotDatafeedSubscriptionResult"); +var de_DescribeSpotFleetInstancesResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.activeInstanceSet === "") { + contents[_AIc] = []; + } else if (output[_aIS] != null && output[_aIS][_i] != null) { + contents[_AIc] = de_ActiveInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aIS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + return contents; +}, "de_DescribeSpotFleetInstancesResponse"); +var de_DescribeSpotFleetRequestHistoryResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.historyRecordSet === "") { + contents[_HRi] = []; + } else if (output[_hRS] != null && output[_hRS][_i] != null) { + contents[_HRi] = de_HistoryRecords((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); + } + if (output[_lET] != null) { + contents[_LET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lET])); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + return contents; +}, "de_DescribeSpotFleetRequestHistoryResponse"); +var de_DescribeSpotFleetRequestsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.spotFleetRequestConfigSet === "") { + contents[_SFRCp] = []; + } else if (output[_sFRCS] != null && output[_sFRCS][_i] != null) { + contents[_SFRCp] = de_SpotFleetRequestConfigSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sFRCS][_i]), context); + } + return contents; +}, "de_DescribeSpotFleetRequestsResponse"); +var de_DescribeSpotInstanceRequestsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.spotInstanceRequestSet === "") { + contents[_SIR] = []; + } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { + contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSpotInstanceRequestsResult"); +var de_DescribeSpotPriceHistoryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.spotPriceHistorySet === "") { + contents[_SPH] = []; + } else if (output[_sPHS] != null && output[_sPHS][_i] != null) { + contents[_SPH] = de_SpotPriceHistoryList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPHS][_i]), context); + } + return contents; +}, "de_DescribeSpotPriceHistoryResult"); +var de_DescribeStaleSecurityGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.staleSecurityGroupSet === "") { + contents[_SSGS] = []; + } else if (output[_sSGS] != null && output[_sSGS][_i] != null) { + contents[_SSGS] = de_StaleSecurityGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sSGS][_i]), context); + } + return contents; +}, "de_DescribeStaleSecurityGroupsResult"); +var de_DescribeStoreImageTasksResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.storeImageTaskResultSet === "") { + contents[_SITR] = []; + } else if (output[_sITRS] != null && output[_sITRS][_i] != null) { + contents[_SITR] = de_StoreImageTaskResultSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sITRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeStoreImageTasksResult"); +var de_DescribeSubnetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.subnetSet === "") { + contents[_Subn] = []; + } else if (output[_sSub] != null && output[_sSub][_i] != null) { + contents[_Subn] = de_SubnetList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSub][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSubnetsResult"); +var de_DescribeTagsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagDescriptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_DescribeTagsResult"); +var de_DescribeTrafficMirrorFiltersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.trafficMirrorFilterSet === "") { + contents[_TMFr] = []; + } else if (output[_tMFS] != null && output[_tMFS][_i] != null) { + contents[_TMFr] = de_TrafficMirrorFilterSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTrafficMirrorFiltersResult"); +var de_DescribeTrafficMirrorSessionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.trafficMirrorSessionSet === "") { + contents[_TMSr] = []; + } else if (output[_tMSS] != null && output[_tMSS][_i] != null) { + contents[_TMSr] = de_TrafficMirrorSessionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMSS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTrafficMirrorSessionsResult"); +var de_DescribeTrafficMirrorTargetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.trafficMirrorTargetSet === "") { + contents[_TMTr] = []; + } else if (output[_tMTS] != null && output[_tMTS][_i] != null) { + contents[_TMTr] = de_TrafficMirrorTargetSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTrafficMirrorTargetsResult"); +var de_DescribeTransitGatewayAttachmentsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayAttachments === "") { + contents[_TGAr] = []; + } else if (output[_tGA] != null && output[_tGA][_i] != null) { + contents[_TGAr] = de_TransitGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayAttachmentsResult"); +var de_DescribeTransitGatewayConnectPeersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayConnectPeerSet === "") { + contents[_TGCPr] = []; + } else if (output[_tGCPS] != null && output[_tGCPS][_i] != null) { + contents[_TGCPr] = de_TransitGatewayConnectPeerList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCPS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayConnectPeersResult"); +var de_DescribeTransitGatewayConnectsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayConnectSet === "") { + contents[_TGCra] = []; + } else if (output[_tGCS] != null && output[_tGCS][_i] != null) { + contents[_TGCra] = de_TransitGatewayConnectList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayConnectsResult"); +var de_DescribeTransitGatewayMulticastDomainsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayMulticastDomains === "") { + contents[_TGMDr] = []; + } else if (output[_tGMDr] != null && output[_tGMDr][_i] != null) { + contents[_TGMDr] = de_TransitGatewayMulticastDomainList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGMDr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayMulticastDomainsResult"); +var de_DescribeTransitGatewayPeeringAttachmentsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayPeeringAttachments === "") { + contents[_TGPAr] = []; + } else if (output[_tGPAr] != null && output[_tGPAr][_i] != null) { + contents[_TGPAr] = de_TransitGatewayPeeringAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPAr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayPeeringAttachmentsResult"); +var de_DescribeTransitGatewayPolicyTablesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayPolicyTables === "") { + contents[_TGPTr] = []; + } else if (output[_tGPTr] != null && output[_tGPTr][_i] != null) { + contents[_TGPTr] = de_TransitGatewayPolicyTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayPolicyTablesResult"); +var de_DescribeTransitGatewayRouteTableAnnouncementsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayRouteTableAnnouncements === "") { + contents[_TGRTAr] = []; + } else if (output[_tGRTAr] != null && output[_tGRTAr][_i] != null) { + contents[_TGRTAr] = de_TransitGatewayRouteTableAnnouncementList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTAr][_i]), + context + ); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayRouteTableAnnouncementsResult"); +var de_DescribeTransitGatewayRouteTablesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayRouteTables === "") { + contents[_TGRTr] = []; + } else if (output[_tGRTr] != null && output[_tGRTr][_i] != null) { + contents[_TGRTr] = de_TransitGatewayRouteTableList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayRouteTablesResult"); +var de_DescribeTransitGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewaySet === "") { + contents[_TGra] = []; + } else if (output[_tGS] != null && output[_tGS][_i] != null) { + contents[_TGra] = de_TransitGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewaysResult"); +var de_DescribeTransitGatewayVpcAttachmentsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayVpcAttachments === "") { + contents[_TGVAr] = []; + } else if (output[_tGVAr] != null && output[_tGVAr][_i] != null) { + contents[_TGVAr] = de_TransitGatewayVpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGVAr][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTransitGatewayVpcAttachmentsResult"); +var de_DescribeTrunkInterfaceAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.interfaceAssociationSet === "") { + contents[_IAnt] = []; + } else if (output[_iAS] != null && output[_iAS][_i] != null) { + contents[_IAnt] = de_TrunkInterfaceAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_iAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTrunkInterfaceAssociationsResult"); +var de_DescribeVerifiedAccessEndpointsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.verifiedAccessEndpointSet === "") { + contents[_VAEe] = []; + } else if (output[_vAES] != null && output[_vAES][_i] != null) { + contents[_VAEe] = de_VerifiedAccessEndpointList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAES][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVerifiedAccessEndpointsResult"); +var de_DescribeVerifiedAccessGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.verifiedAccessGroupSet === "") { + contents[_VAGe] = []; + } else if (output[_vAGS] != null && output[_vAGS][_i] != null) { + contents[_VAGe] = de_VerifiedAccessGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAGS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVerifiedAccessGroupsResult"); +var de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.loggingConfigurationSet === "") { + contents[_LC] = []; + } else if (output[_lCS] != null && output[_lCS][_i] != null) { + contents[_LC] = de_VerifiedAccessInstanceLoggingConfigurationList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_lCS][_i]), + context + ); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVerifiedAccessInstanceLoggingConfigurationsResult"); +var de_DescribeVerifiedAccessInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.verifiedAccessInstanceSet === "") { + contents[_VAIe] = []; + } else if (output[_vAIS] != null && output[_vAIS][_i] != null) { + contents[_VAIe] = de_VerifiedAccessInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAIS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVerifiedAccessInstancesResult"); +var de_DescribeVerifiedAccessTrustProvidersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.verifiedAccessTrustProviderSet === "") { + contents[_VATPe] = []; + } else if (output[_vATPS] != null && output[_vATPS][_i] != null) { + contents[_VATPe] = de_VerifiedAccessTrustProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVerifiedAccessTrustProvidersResult"); +var de_DescribeVolumeAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aEIO] != null) { + contents[_AEIO] = de_AttributeBooleanValue(output[_aEIO], context); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + return contents; +}, "de_DescribeVolumeAttributeResult"); +var de_DescribeVolumesModificationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.volumeModificationSet === "") { + contents[_VM] = []; + } else if (output[_vMS] != null && output[_vMS][_i] != null) { + contents[_VM] = de_VolumeModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_vMS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVolumesModificationsResult"); +var de_DescribeVolumesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.volumeSet === "") { + contents[_Vol] = []; + } else if (output[_vS] != null && output[_vS][_i] != null) { + contents[_Vol] = de_VolumeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVolumesResult"); +var de_DescribeVolumeStatusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.volumeStatusSet === "") { + contents[_VSo] = []; + } else if (output[_vSS] != null && output[_vSS][_i] != null) { + contents[_VSo] = de_VolumeStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSS][_i]), context); + } + return contents; +}, "de_DescribeVolumeStatusResult"); +var de_DescribeVpcAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_eDH] != null) { + contents[_EDH] = de_AttributeBooleanValue(output[_eDH], context); + } + if (output[_eDS] != null) { + contents[_EDS] = de_AttributeBooleanValue(output[_eDS], context); + } + if (output[_eNAUM] != null) { + contents[_ENAUM] = de_AttributeBooleanValue(output[_eNAUM], context); + } + return contents; +}, "de_DescribeVpcAttributeResult"); +var de_DescribeVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.vpcs === "") { + contents[_Vpc] = []; + } else if (output[_vpc] != null && output[_vpc][_i] != null) { + contents[_Vpc] = de_ClassicLinkDnsSupportList((0, import_smithy_client.getArrayIfSingleItem)(output[_vpc][_i]), context); + } + return contents; +}, "de_DescribeVpcClassicLinkDnsSupportResult"); +var de_DescribeVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcSet === "") { + contents[_Vpc] = []; + } else if (output[_vSp] != null && output[_vSp][_i] != null) { + contents[_Vpc] = de_VpcClassicLinkList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context); + } + return contents; +}, "de_DescribeVpcClassicLinkResult"); +var de_DescribeVpcEndpointConnectionNotificationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.connectionNotificationSet === "") { + contents[_CNSo] = []; + } else if (output[_cNSo] != null && output[_cNSo][_i] != null) { + contents[_CNSo] = de_ConnectionNotificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cNSo][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointConnectionNotificationsResult"); +var de_DescribeVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcEndpointConnectionSet === "") { + contents[_VEC] = []; + } else if (output[_vECS] != null && output[_vECS][_i] != null) { + contents[_VEC] = de_VpcEndpointConnectionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vECS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointConnectionsResult"); +var de_DescribeVpcEndpointServiceConfigurationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.serviceConfigurationSet === "") { + contents[_SCer] = []; + } else if (output[_sCS] != null && output[_sCS][_i] != null) { + contents[_SCer] = de_ServiceConfigurationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointServiceConfigurationsResult"); +var de_DescribeVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.allowedPrincipals === "") { + contents[_APl] = []; + } else if (output[_aP] != null && output[_aP][_i] != null) { + contents[_APl] = de_AllowedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aP][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointServicePermissionsResult"); +var de_DescribeVpcEndpointServicesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.serviceNameSet === "") { + contents[_SNer] = []; + } else if (output[_sNS] != null && output[_sNS][_i] != null) { + contents[_SNer] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sNS][_i]), context); + } + if (output.serviceDetailSet === "") { + contents[_SDe] = []; + } else if (output[_sDSe] != null && output[_sDSe][_i] != null) { + contents[_SDe] = de_ServiceDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSe][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointServicesResult"); +var de_DescribeVpcEndpointsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcEndpointSet === "") { + contents[_VEp] = []; + } else if (output[_vESp] != null && output[_vESp][_i] != null) { + contents[_VEp] = de_VpcEndpointSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vESp][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointsResult"); +var de_DescribeVpcPeeringConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcPeeringConnectionSet === "") { + contents[_VPCp] = []; + } else if (output[_vPCS] != null && output[_vPCS][_i] != null) { + contents[_VPCp] = de_VpcPeeringConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vPCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcPeeringConnectionsResult"); +var de_DescribeVpcsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcSet === "") { + contents[_Vpc] = []; + } else if (output[_vSp] != null && output[_vSp][_i] != null) { + contents[_Vpc] = de_VpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSp][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcsResult"); +var de_DescribeVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpnConnectionSet === "") { + contents[_VCp] = []; + } else if (output[_vCS] != null && output[_vCS][_i] != null) { + contents[_VCp] = de_VpnConnectionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCS][_i]), context); + } + return contents; +}, "de_DescribeVpnConnectionsResult"); +var de_DescribeVpnGatewaysResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpnGatewaySet === "") { + contents[_VGp] = []; + } else if (output[_vGS] != null && output[_vGS][_i] != null) { + contents[_VGp] = de_VpnGatewayList((0, import_smithy_client.getArrayIfSingleItem)(output[_vGS][_i]), context); + } + return contents; +}, "de_DescribeVpnGatewaysResult"); +var de_DestinationOptionsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fF] != null) { + contents[_FF] = (0, import_smithy_client.expectString)(output[_fF]); + } + if (output[_hCP] != null) { + contents[_HCP] = (0, import_smithy_client.parseBoolean)(output[_hCP]); + } + if (output[_pHP] != null) { + contents[_PHP] = (0, import_smithy_client.parseBoolean)(output[_pHP]); + } + return contents; +}, "de_DestinationOptionsResponse"); +var de_DetachClassicLinkVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DetachClassicLinkVpcResult"); +var de_DetachVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATP] != null) { + contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); + } + if (output[_vAI] != null) { + contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); + } + return contents; +}, "de_DetachVerifiedAccessTrustProviderResult"); +var de_DeviceOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tI] != null) { + contents[_TIe] = (0, import_smithy_client.expectString)(output[_tI]); + } + if (output[_pSKU] != null) { + contents[_PSKU] = (0, import_smithy_client.expectString)(output[_pSKU]); + } + return contents; +}, "de_DeviceOptions"); +var de_DhcpConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_k] != null) { + contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); + } + if (output.valueSet === "") { + contents[_Val] = []; + } else if (output[_vSa] != null && output[_vSa][_i] != null) { + contents[_Val] = de_DhcpConfigurationValueList((0, import_smithy_client.getArrayIfSingleItem)(output[_vSa][_i]), context); + } + return contents; +}, "de_DhcpConfiguration"); +var de_DhcpConfigurationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DhcpConfiguration(entry, context); + }); +}, "de_DhcpConfigurationList"); +var de_DhcpConfigurationValueList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AttributeValue(entry, context); + }); +}, "de_DhcpConfigurationValueList"); +var de_DhcpOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.dhcpConfigurationSet === "") { + contents[_DCh] = []; + } else if (output[_dCS] != null && output[_dCS][_i] != null) { + contents[_DCh] = de_DhcpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_dCS][_i]), context); + } + if (output[_dOI] != null) { + contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_DhcpOptions"); +var de_DhcpOptionsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DhcpOptions(entry, context); + }); +}, "de_DhcpOptionsList"); +var de_DirectoryServiceAuthentication = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dI] != null) { + contents[_DIir] = (0, import_smithy_client.expectString)(output[_dI]); + } + return contents; +}, "de_DirectoryServiceAuthentication"); +var de_DisableAddressTransferResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aT] != null) { + contents[_ATdd] = de_AddressTransfer(output[_aT], context); + } + return contents; +}, "de_DisableAddressTransferResult"); +var de_DisableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ou] != null) { + contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]); + } + return contents; +}, "de_DisableAwsNetworkPerformanceMetricSubscriptionResult"); +var de_DisableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eEBD] != null) { + contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); + } + return contents; +}, "de_DisableEbsEncryptionByDefaultResult"); +var de_DisableFastLaunchResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_sCn] != null) { + contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); + } + if (output[_lT] != null) { + contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); + } + if (output[_mPL] != null) { + contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_sTT] != null) { + contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); + } + return contents; +}, "de_DisableFastLaunchResult"); +var de_DisableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output.fastSnapshotRestoreStateErrorSet === "") { + contents[_FSRSE] = []; + } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) { + contents[_FSRSE] = de_DisableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context); + } + return contents; +}, "de_DisableFastSnapshotRestoreErrorItem"); +var de_DisableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DisableFastSnapshotRestoreErrorItem(entry, context); + }); +}, "de_DisableFastSnapshotRestoreErrorSet"); +var de_DisableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successful === "") { + contents[_Suc] = []; + } else if (output[_suc] != null && output[_suc][_i] != null) { + contents[_Suc] = de_DisableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); + } + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_DisableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_DisableFastSnapshotRestoresResult"); +var de_DisableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_DisableFastSnapshotRestoreStateError"); +var de_DisableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_er] != null) { + contents[_Er] = de_DisableFastSnapshotRestoreStateError(output[_er], context); + } + return contents; +}, "de_DisableFastSnapshotRestoreStateErrorItem"); +var de_DisableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DisableFastSnapshotRestoreStateErrorItem(entry, context); + }); +}, "de_DisableFastSnapshotRestoreStateErrorSet"); +var de_DisableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); + } + if (output[_eTn] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTna] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_dTi] != null) { + contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); + } + if (output[_dTis] != null) { + contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); + } + return contents; +}, "de_DisableFastSnapshotRestoreSuccessItem"); +var de_DisableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DisableFastSnapshotRestoreSuccessItem(entry, context); + }); +}, "de_DisableFastSnapshotRestoreSuccessSet"); +var de_DisableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iBPAS] != null) { + contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); + } + return contents; +}, "de_DisableImageBlockPublicAccessResult"); +var de_DisableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisableImageDeprecationResult"); +var de_DisableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]); + } + return contents; +}, "de_DisableImageDeregistrationProtectionResult"); +var de_DisableImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisableImageResult"); +var de_DisableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_succ] != null) { + contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); + } + return contents; +}, "de_DisableIpamOrganizationAdminAccountResult"); +var de_DisableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCAE] != null) { + contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); + } + return contents; +}, "de_DisableSerialConsoleAccessResult"); +var de_DisableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_DisableSnapshotBlockPublicAccessResult"); +var de_DisableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_prop] != null) { + contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context); + } + return contents; +}, "de_DisableTransitGatewayRouteTablePropagationResult"); +var de_DisableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisableVpcClassicLinkDnsSupportResult"); +var de_DisableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisableVpcClassicLinkResult"); +var de_DisassociateClientVpnTargetNetworkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_sta] != null) { + contents[_Statu] = de_AssociationStatus(output[_sta], context); + } + return contents; +}, "de_DisassociateClientVpnTargetNetworkResult"); +var de_DisassociateEnclaveCertificateIamRoleResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisassociateEnclaveCertificateIamRoleResult"); +var de_DisassociateIamInstanceProfileResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIPA] != null) { + contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); + } + return contents; +}, "de_DisassociateIamInstanceProfileResult"); +var de_DisassociateInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEW] != null) { + contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); + } + return contents; +}, "de_DisassociateInstanceEventWindowResult"); +var de_DisassociateIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aA] != null) { + contents[_AAsn] = de_AsnAssociation(output[_aA], context); + } + return contents; +}, "de_DisassociateIpamByoasnResult"); +var de_DisassociateIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRDA] != null) { + contents[_IRDA] = de_IpamResourceDiscoveryAssociation(output[_iRDA], context); + } + return contents; +}, "de_DisassociateIpamResourceDiscoveryResult"); +var de_DisassociateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output.natGatewayAddressSet === "") { + contents[_NGA] = []; + } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { + contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); + } + return contents; +}, "de_DisassociateNatGatewayAddressResult"); +var de_DisassociateSubnetCidrBlockResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCBA] != null) { + contents[_ICBA] = de_SubnetIpv6CidrBlockAssociation(output[_iCBA], context); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + return contents; +}, "de_DisassociateSubnetCidrBlockResult"); +var de_DisassociateTransitGatewayMulticastDomainResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_a] != null) { + contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); + } + return contents; +}, "de_DisassociateTransitGatewayMulticastDomainResult"); +var de_DisassociateTransitGatewayPolicyTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_TransitGatewayPolicyTableAssociation(output[_ass], context); + } + return contents; +}, "de_DisassociateTransitGatewayPolicyTableResult"); +var de_DisassociateTransitGatewayRouteTableResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_TransitGatewayAssociation(output[_ass], context); + } + return contents; +}, "de_DisassociateTransitGatewayRouteTableResult"); +var de_DisassociateTrunkInterfaceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + return contents; +}, "de_DisassociateTrunkInterfaceResult"); +var de_DisassociateVpcCidrBlockResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCBA] != null) { + contents[_ICBA] = de_VpcIpv6CidrBlockAssociation(output[_iCBA], context); + } + if (output[_cBA] != null) { + contents[_CBA] = de_VpcCidrBlockAssociation(output[_cBA], context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_DisassociateVpcCidrBlockResult"); +var de_DiskImageDescription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ch] != null) { + contents[_Ch] = (0, import_smithy_client.expectString)(output[_ch]); + } + if (output[_f] != null) { + contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]); + } + if (output[_iMU] != null) { + contents[_IMU] = (0, import_smithy_client.expectString)(output[_iMU]); + } + if (output[_si] != null) { + contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]); + } + return contents; +}, "de_DiskImageDescription"); +var de_DiskImageVolumeDescription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_id] != null) { + contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); + } + if (output[_si] != null) { + contents[_Siz] = (0, import_smithy_client.strictParseLong)(output[_si]); + } + return contents; +}, "de_DiskImageVolumeDescription"); +var de_DiskInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIGB] != null) { + contents[_SIGB] = (0, import_smithy_client.strictParseLong)(output[_sIGB]); + } + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + return contents; +}, "de_DiskInfo"); +var de_DiskInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DiskInfo(entry, context); + }); +}, "de_DiskInfoList"); +var de_DnsEntry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dNn] != null) { + contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); + } + if (output[_hZI] != null) { + contents[_HZI] = (0, import_smithy_client.expectString)(output[_hZI]); + } + return contents; +}, "de_DnsEntry"); +var de_DnsEntrySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DnsEntry(entry, context); + }); +}, "de_DnsEntrySet"); +var de_DnsOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dRIT] != null) { + contents[_DRIT] = (0, import_smithy_client.expectString)(output[_dRIT]); + } + if (output[_pDOFIRE] != null) { + contents[_PDOFIRE] = (0, import_smithy_client.parseBoolean)(output[_pDOFIRE]); + } + return contents; +}, "de_DnsOptions"); +var de_EbsBlockDevice = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_io] != null) { + contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + if (output[_vT] != null) { + contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_th] != null) { + contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + return contents; +}, "de_EbsBlockDevice"); +var de_EbsInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eOS] != null) { + contents[_EOS] = (0, import_smithy_client.expectString)(output[_eOS]); + } + if (output[_eSn] != null) { + contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]); + } + if (output[_eOI] != null) { + contents[_EOI] = de_EbsOptimizedInfo(output[_eOI], context); + } + if (output[_nS] != null) { + contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]); + } + return contents; +}, "de_EbsInfo"); +var de_EbsInstanceBlockDevice = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aTt] != null) { + contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_aRs] != null) { + contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); + } + if (output[_vOI] != null) { + contents[_VOI] = (0, import_smithy_client.expectString)(output[_vOI]); + } + return contents; +}, "de_EbsInstanceBlockDevice"); +var de_EbsOptimizedInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bBIM] != null) { + contents[_BBIM] = (0, import_smithy_client.strictParseInt32)(output[_bBIM]); + } + if (output[_bTIMB] != null) { + contents[_BTIMB] = (0, import_smithy_client.strictParseFloat)(output[_bTIMB]); + } + if (output[_bIa] != null) { + contents[_BIa] = (0, import_smithy_client.strictParseInt32)(output[_bIa]); + } + if (output[_mBIM] != null) { + contents[_MBIM] = (0, import_smithy_client.strictParseInt32)(output[_mBIM]); + } + if (output[_mTIMB] != null) { + contents[_MTIMB] = (0, import_smithy_client.strictParseFloat)(output[_mTIMB]); + } + if (output[_mI] != null) { + contents[_MIa] = (0, import_smithy_client.strictParseInt32)(output[_mI]); + } + return contents; +}, "de_EbsOptimizedInfo"); +var de_Ec2InstanceConnectEndpoint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iCEI] != null) { + contents[_ICEI] = (0, import_smithy_client.expectString)(output[_iCEI]); + } + if (output[_iCEA] != null) { + contents[_ICEA] = (0, import_smithy_client.expectString)(output[_iCEA]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sMt] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); + } + if (output[_dNn] != null) { + contents[_DNn] = (0, import_smithy_client.expectString)(output[_dNn]); + } + if (output[_fDN] != null) { + contents[_FDN] = (0, import_smithy_client.expectString)(output[_fDN]); + } + if (output.networkInterfaceIdSet === "") { + contents[_NIIe] = []; + } else if (output[_nIIS] != null && output[_nIIS][_i] != null) { + contents[_NIIe] = de_NetworkInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_cAr] != null) { + contents[_CAr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cAr])); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_pCI] != null) { + contents[_PCI] = (0, import_smithy_client.parseBoolean)(output[_pCI]); + } + if (output.securityGroupIdSet === "") { + contents[_SGI] = []; + } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { + contents[_SGI] = de_SecurityGroupIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_Ec2InstanceConnectEndpoint"); +var de_EfaInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mEI] != null) { + contents[_MEI] = (0, import_smithy_client.strictParseInt32)(output[_mEI]); + } + return contents; +}, "de_EfaInfo"); +var de_EgressOnlyInternetGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.attachmentSet === "") { + contents[_Atta] = []; + } else if (output[_aSt] != null && output[_aSt][_i] != null) { + contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context); + } + if (output[_eOIGI] != null) { + contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_EgressOnlyInternetGateway"); +var de_EgressOnlyInternetGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_EgressOnlyInternetGateway(entry, context); + }); +}, "de_EgressOnlyInternetGatewayList"); +var de_ElasticGpuAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eGI] != null) { + contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]); + } + if (output[_eGAI] != null) { + contents[_EGAI] = (0, import_smithy_client.expectString)(output[_eGAI]); + } + if (output[_eGAS] != null) { + contents[_EGAS] = (0, import_smithy_client.expectString)(output[_eGAS]); + } + if (output[_eGAT] != null) { + contents[_EGAT] = (0, import_smithy_client.expectString)(output[_eGAT]); + } + return contents; +}, "de_ElasticGpuAssociation"); +var de_ElasticGpuAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ElasticGpuAssociation(entry, context); + }); +}, "de_ElasticGpuAssociationList"); +var de_ElasticGpuHealth = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_ElasticGpuHealth"); +var de_ElasticGpus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eGI] != null) { + contents[_EGIl] = (0, import_smithy_client.expectString)(output[_eGI]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_eGT] != null) { + contents[_EGT] = (0, import_smithy_client.expectString)(output[_eGT]); + } + if (output[_eGH] != null) { + contents[_EGH] = de_ElasticGpuHealth(output[_eGH], context); + } + if (output[_eGSl] != null) { + contents[_EGSlas] = (0, import_smithy_client.expectString)(output[_eGSl]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ElasticGpus"); +var de_ElasticGpuSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ElasticGpus(entry, context); + }); +}, "de_ElasticGpuSet"); +var de_ElasticGpuSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + return contents; +}, "de_ElasticGpuSpecificationResponse"); +var de_ElasticGpuSpecificationResponseList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ElasticGpuSpecificationResponse(entry, context); + }); +}, "de_ElasticGpuSpecificationResponseList"); +var de_ElasticInferenceAcceleratorAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eIAA] != null) { + contents[_EIAA] = (0, import_smithy_client.expectString)(output[_eIAA]); + } + if (output[_eIAAI] != null) { + contents[_EIAAI] = (0, import_smithy_client.expectString)(output[_eIAAI]); + } + if (output[_eIAAS] != null) { + contents[_EIAAS] = (0, import_smithy_client.expectString)(output[_eIAAS]); + } + if (output[_eIAAT] != null) { + contents[_EIAAT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eIAAT])); + } + return contents; +}, "de_ElasticInferenceAcceleratorAssociation"); +var de_ElasticInferenceAcceleratorAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ElasticInferenceAcceleratorAssociation(entry, context); + }); +}, "de_ElasticInferenceAcceleratorAssociationList"); +var de_EnableAddressTransferResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aT] != null) { + contents[_ATdd] = de_AddressTransfer(output[_aT], context); + } + return contents; +}, "de_EnableAddressTransferResult"); +var de_EnableAwsNetworkPerformanceMetricSubscriptionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ou] != null) { + contents[_Ou] = (0, import_smithy_client.parseBoolean)(output[_ou]); + } + return contents; +}, "de_EnableAwsNetworkPerformanceMetricSubscriptionResult"); +var de_EnableEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eEBD] != null) { + contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); + } + return contents; +}, "de_EnableEbsEncryptionByDefaultResult"); +var de_EnableFastLaunchResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_sCn] != null) { + contents[_SCn] = de_FastLaunchSnapshotConfigurationResponse(output[_sCn], context); + } + if (output[_lT] != null) { + contents[_LTa] = de_FastLaunchLaunchTemplateSpecificationResponse(output[_lT], context); + } + if (output[_mPL] != null) { + contents[_MPL] = (0, import_smithy_client.strictParseInt32)(output[_mPL]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_sTT] != null) { + contents[_STT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTT])); + } + return contents; +}, "de_EnableFastLaunchResult"); +var de_EnableFastSnapshotRestoreErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output.fastSnapshotRestoreStateErrorSet === "") { + contents[_FSRSE] = []; + } else if (output[_fSRSES] != null && output[_fSRSES][_i] != null) { + contents[_FSRSE] = de_EnableFastSnapshotRestoreStateErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fSRSES][_i]), context); + } + return contents; +}, "de_EnableFastSnapshotRestoreErrorItem"); +var de_EnableFastSnapshotRestoreErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_EnableFastSnapshotRestoreErrorItem(entry, context); + }); +}, "de_EnableFastSnapshotRestoreErrorSet"); +var de_EnableFastSnapshotRestoresResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successful === "") { + contents[_Suc] = []; + } else if (output[_suc] != null && output[_suc][_i] != null) { + contents[_Suc] = de_EnableFastSnapshotRestoreSuccessSet((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); + } + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_EnableFastSnapshotRestoreErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_EnableFastSnapshotRestoresResult"); +var de_EnableFastSnapshotRestoreStateError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_EnableFastSnapshotRestoreStateError"); +var de_EnableFastSnapshotRestoreStateErrorItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_er] != null) { + contents[_Er] = de_EnableFastSnapshotRestoreStateError(output[_er], context); + } + return contents; +}, "de_EnableFastSnapshotRestoreStateErrorItem"); +var de_EnableFastSnapshotRestoreStateErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_EnableFastSnapshotRestoreStateErrorItem(entry, context); + }); +}, "de_EnableFastSnapshotRestoreStateErrorSet"); +var de_EnableFastSnapshotRestoreSuccessItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sTR] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_sTR]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); + } + if (output[_eTn] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTna] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_dTi] != null) { + contents[_DTi] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTi])); + } + if (output[_dTis] != null) { + contents[_DTis] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTis])); + } + return contents; +}, "de_EnableFastSnapshotRestoreSuccessItem"); +var de_EnableFastSnapshotRestoreSuccessSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_EnableFastSnapshotRestoreSuccessItem(entry, context); + }); +}, "de_EnableFastSnapshotRestoreSuccessSet"); +var de_EnableImageBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iBPAS] != null) { + contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); + } + return contents; +}, "de_EnableImageBlockPublicAccessResult"); +var de_EnableImageDeprecationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_EnableImageDeprecationResult"); +var de_EnableImageDeregistrationProtectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.expectString)(output[_r]); + } + return contents; +}, "de_EnableImageDeregistrationProtectionResult"); +var de_EnableImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_EnableImageResult"); +var de_EnableIpamOrganizationAdminAccountResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_succ] != null) { + contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); + } + return contents; +}, "de_EnableIpamOrganizationAdminAccountResult"); +var de_EnableReachabilityAnalyzerOrganizationSharingResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rV] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_rV]); + } + return contents; +}, "de_EnableReachabilityAnalyzerOrganizationSharingResult"); +var de_EnableSerialConsoleAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCAE] != null) { + contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); + } + return contents; +}, "de_EnableSerialConsoleAccessResult"); +var de_EnableSnapshotBlockPublicAccessResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_EnableSnapshotBlockPublicAccessResult"); +var de_EnableTransitGatewayRouteTablePropagationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_prop] != null) { + contents[_Prop] = de_TransitGatewayPropagation(output[_prop], context); + } + return contents; +}, "de_EnableTransitGatewayRouteTablePropagationResult"); +var de_EnableVpcClassicLinkDnsSupportResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_EnableVpcClassicLinkDnsSupportResult"); +var de_EnableVpcClassicLinkResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_EnableVpcClassicLinkResult"); +var de_EnaSrdSpecificationRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ESE] != null) { + contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_ESE]); + } + if (output[_ESUS] != null) { + contents[_ESUS] = de_EnaSrdUdpSpecificationRequest(output[_ESUS], context); + } + return contents; +}, "de_EnaSrdSpecificationRequest"); +var de_EnaSrdUdpSpecificationRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ESUE] != null) { + contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_ESUE]); + } + return contents; +}, "de_EnaSrdUdpSpecificationRequest"); +var de_EnclaveOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + return contents; +}, "de_EnclaveOptions"); +var de_EndpointSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ClientVpnEndpoint(entry, context); + }); +}, "de_EndpointSet"); +var de_ErrorSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ValidationError(entry, context); + }); +}, "de_ErrorSet"); +var de_EventInformation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eDv] != null) { + contents[_EDv] = (0, import_smithy_client.expectString)(output[_eDv]); + } + if (output[_eST] != null) { + contents[_EST] = (0, import_smithy_client.expectString)(output[_eST]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + return contents; +}, "de_EventInformation"); +var de_ExcludedInstanceTypeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ExcludedInstanceTypeSet"); +var de_Explanation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ac] != null) { + contents[_Acl] = de_AnalysisComponent(output[_ac], context); + } + if (output[_aRc] != null) { + contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context); + } + if (output[_ad] != null) { + contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); + } + if (output.addressSet === "") { + contents[_Addr] = []; + } else if (output[_aSd] != null && output[_aSd][_i] != null) { + contents[_Addr] = de_IpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSd][_i]), context); + } + if (output[_aTtt] != null) { + contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context); + } + if (output.availabilityZoneSet === "") { + contents[_AZv] = []; + } else if (output[_aZS] != null && output[_aZS][_i] != null) { + contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); + } + if (output.cidrSet === "") { + contents[_Ci] = []; + } else if (output[_cS] != null && output[_cS][_i] != null) { + contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context); + } + if (output[_c] != null) { + contents[_Com] = de_AnalysisComponent(output[_c], context); + } + if (output[_cGu] != null) { + contents[_CGu] = de_AnalysisComponent(output[_cGu], context); + } + if (output[_d] != null) { + contents[_D] = de_AnalysisComponent(output[_d], context); + } + if (output[_dV] != null) { + contents[_DVest] = de_AnalysisComponent(output[_dV], context); + } + if (output[_di] != null) { + contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); + } + if (output[_eCx] != null) { + contents[_ECx] = (0, import_smithy_client.expectString)(output[_eCx]); + } + if (output[_iRT] != null) { + contents[_IRT] = de_AnalysisComponent(output[_iRT], context); + } + if (output[_iG] != null) { + contents[_IGn] = de_AnalysisComponent(output[_iG], context); + } + if (output[_lBA] != null) { + contents[_LBA] = (0, import_smithy_client.expectString)(output[_lBA]); + } + if (output[_cLBL] != null) { + contents[_CLBL] = de_AnalysisLoadBalancerListener(output[_cLBL], context); + } + if (output[_lBLP] != null) { + contents[_LBLP] = (0, import_smithy_client.strictParseInt32)(output[_lBLP]); + } + if (output[_lBT] != null) { + contents[_LBT] = de_AnalysisLoadBalancerTarget(output[_lBT], context); + } + if (output[_lBTG] != null) { + contents[_LBTG] = de_AnalysisComponent(output[_lBTG], context); + } + if (output.loadBalancerTargetGroupSet === "") { + contents[_LBTGo] = []; + } else if (output[_lBTGS] != null && output[_lBTGS][_i] != null) { + contents[_LBTGo] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_lBTGS][_i]), context); + } + if (output[_lBTP] != null) { + contents[_LBTP] = (0, import_smithy_client.strictParseInt32)(output[_lBTP]); + } + if (output[_eLBL] != null) { + contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context); + } + if (output[_mC] != null) { + contents[_MCis] = (0, import_smithy_client.expectString)(output[_mC]); + } + if (output[_nG] != null) { + contents[_NG] = de_AnalysisComponent(output[_nG], context); + } + if (output[_nIe] != null) { + contents[_NIet] = de_AnalysisComponent(output[_nIe], context); + } + if (output[_pF] != null) { + contents[_PF] = (0, import_smithy_client.expectString)(output[_pF]); + } + if (output[_vPC] != null) { + contents[_VPC] = de_AnalysisComponent(output[_vPC], context); + } + if (output[_po] != null) { + contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); + } + if (output.portRangeSet === "") { + contents[_PRo] = []; + } else if (output[_pRS] != null && output[_pRS][_i] != null) { + contents[_PRo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context); + } + if (output[_pL] != null) { + contents[_PLr] = de_AnalysisComponent(output[_pL], context); + } + if (output.protocolSet === "") { + contents[_Pro] = []; + } else if (output[_pSro] != null && output[_pSro][_i] != null) { + contents[_Pro] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); + } + if (output[_rTR] != null) { + contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context); + } + if (output[_rTo] != null) { + contents[_RTo] = de_AnalysisComponent(output[_rTo], context); + } + if (output[_sG] != null) { + contents[_SGe] = de_AnalysisComponent(output[_sG], context); + } + if (output[_sGR] != null) { + contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context); + } + if (output.securityGroupSet === "") { + contents[_SG] = []; + } else if (output[_sGS] != null && output[_sGS][_i] != null) { + contents[_SG] = de_AnalysisComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context); + } + if (output[_sV] != null) { + contents[_SVo] = de_AnalysisComponent(output[_sV], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_su] != null) { + contents[_Su] = de_AnalysisComponent(output[_su], context); + } + if (output[_sRT] != null) { + contents[_SRT] = de_AnalysisComponent(output[_sRT], context); + } + if (output[_vp] != null) { + contents[_Vp] = de_AnalysisComponent(output[_vp], context); + } + if (output[_vE] != null) { + contents[_VE] = de_AnalysisComponent(output[_vE], context); + } + if (output[_vC] != null) { + contents[_VC] = de_AnalysisComponent(output[_vC], context); + } + if (output[_vG] != null) { + contents[_VG] = de_AnalysisComponent(output[_vG], context); + } + if (output[_tG] != null) { + contents[_TGr] = de_AnalysisComponent(output[_tG], context); + } + if (output[_tGRT] != null) { + contents[_TGRT] = de_AnalysisComponent(output[_tGRT], context); + } + if (output[_tGRTR] != null) { + contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context); + } + if (output[_tGAr] != null) { + contents[_TGAra] = de_AnalysisComponent(output[_tGAr], context); + } + if (output[_cAo] != null) { + contents[_CAom] = (0, import_smithy_client.expectString)(output[_cAo]); + } + if (output[_cRo] != null) { + contents[_CRo] = (0, import_smithy_client.expectString)(output[_cRo]); + } + if (output[_fSR] != null) { + contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context); + } + if (output[_fSRi] != null) { + contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context); + } + return contents; +}, "de_Explanation"); +var de_ExplanationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Explanation(entry, context); + }); +}, "de_ExplanationList"); +var de_ExportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRL] != null) { + contents[_CRL] = (0, import_smithy_client.expectString)(output[_cRL]); + } + if (output[_sta] != null) { + contents[_Statu] = de_ClientCertificateRevocationListStatus(output[_sta], context); + } + return contents; +}, "de_ExportClientVpnClientCertificateRevocationListResult"); +var de_ExportClientVpnClientConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCl] != null) { + contents[_CCl] = (0, import_smithy_client.expectString)(output[_cCl]); + } + return contents; +}, "de_ExportClientVpnClientConfigurationResult"); +var de_ExportImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_dIF] != null) { + contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]); + } + if (output[_eITI] != null) { + contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_rNo] != null) { + contents[_RNo] = (0, import_smithy_client.expectString)(output[_rNo]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sEL] != null) { + contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ExportImageResult"); +var de_ExportImageTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_eITI] != null) { + contents[_EITIx] = (0, import_smithy_client.expectString)(output[_eITI]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sEL] != null) { + contents[_SEL] = de_ExportTaskS3Location(output[_sEL], context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ExportImageTask"); +var de_ExportImageTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ExportImageTask(entry, context); + }); +}, "de_ExportImageTaskList"); +var de_ExportTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_eTI] != null) { + contents[_ETI] = (0, import_smithy_client.expectString)(output[_eTI]); + } + if (output[_eTSx] != null) { + contents[_ETST] = de_ExportToS3Task(output[_eTSx], context); + } + if (output[_iE] != null) { + contents[_IED] = de_InstanceExportDetails(output[_iE], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ExportTask"); +var de_ExportTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ExportTask(entry, context); + }); +}, "de_ExportTaskList"); +var de_ExportTaskS3Location = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sB] != null) { + contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); + } + if (output[_sP] != null) { + contents[_SP] = (0, import_smithy_client.expectString)(output[_sP]); + } + return contents; +}, "de_ExportTaskS3Location"); +var de_ExportToS3Task = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cF] != null) { + contents[_CFo] = (0, import_smithy_client.expectString)(output[_cF]); + } + if (output[_dIF] != null) { + contents[_DIFi] = (0, import_smithy_client.expectString)(output[_dIF]); + } + if (output[_sB] != null) { + contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); + } + if (output[_sK] != null) { + contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]); + } + return contents; +}, "de_ExportToS3Task"); +var de_ExportTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sL] != null) { + contents[_SLo] = (0, import_smithy_client.expectString)(output[_sL]); + } + return contents; +}, "de_ExportTransitGatewayRoutesResult"); +var de_FailedCapacityReservationFleetCancellationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRFI] != null) { + contents[_CRFIa] = (0, import_smithy_client.expectString)(output[_cRFI]); + } + if (output[_cCRFE] != null) { + contents[_CCRFE] = de_CancelCapacityReservationFleetError(output[_cCRFE], context); + } + return contents; +}, "de_FailedCapacityReservationFleetCancellationResult"); +var de_FailedCapacityReservationFleetCancellationResultSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FailedCapacityReservationFleetCancellationResult(entry, context); + }); +}, "de_FailedCapacityReservationFleetCancellationResultSet"); +var de_FailedQueuedPurchaseDeletion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_er] != null) { + contents[_Er] = de_DeleteQueuedReservedInstancesError(output[_er], context); + } + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + return contents; +}, "de_FailedQueuedPurchaseDeletion"); +var de_FailedQueuedPurchaseDeletionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FailedQueuedPurchaseDeletion(entry, context); + }); +}, "de_FailedQueuedPurchaseDeletionSet"); +var de_FastLaunchLaunchTemplateSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_ve] != null) { + contents[_V] = (0, import_smithy_client.expectString)(output[_ve]); + } + return contents; +}, "de_FastLaunchLaunchTemplateSpecificationResponse"); +var de_FastLaunchSnapshotConfigurationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tRC] != null) { + contents[_TRC] = (0, import_smithy_client.strictParseInt32)(output[_tRC]); + } + return contents; +}, "de_FastLaunchSnapshotConfigurationResponse"); +var de_FederatedAuthentication = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sPA] != null) { + contents[_SPA] = (0, import_smithy_client.expectString)(output[_sPA]); + } + if (output[_sSSPA] != null) { + contents[_SSSPA] = (0, import_smithy_client.expectString)(output[_sSSPA]); + } + return contents; +}, "de_FederatedAuthentication"); +var de_FilterPortRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fP] != null) { + contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); + } + if (output[_tPo] != null) { + contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); + } + return contents; +}, "de_FilterPortRange"); +var de_FirewallStatefulRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rGA] != null) { + contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); + } + if (output.sourceSet === "") { + contents[_So] = []; + } else if (output[_sSo] != null && output[_sSo][_i] != null) { + contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context); + } + if (output.destinationSet === "") { + contents[_Des] = []; + } else if (output[_dSe] != null && output[_dSe][_i] != null) { + contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context); + } + if (output.sourcePortSet === "") { + contents[_SPo] = []; + } else if (output[_sPS] != null && output[_sPS][_i] != null) { + contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); + } + if (output.destinationPortSet === "") { + contents[_DPe] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_rA] != null) { + contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); + } + if (output[_di] != null) { + contents[_Di] = (0, import_smithy_client.expectString)(output[_di]); + } + return contents; +}, "de_FirewallStatefulRule"); +var de_FirewallStatelessRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rGA] != null) { + contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); + } + if (output.sourceSet === "") { + contents[_So] = []; + } else if (output[_sSo] != null && output[_sSo][_i] != null) { + contents[_So] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSo][_i]), context); + } + if (output.destinationSet === "") { + contents[_Des] = []; + } else if (output[_dSe] != null && output[_dSe][_i] != null) { + contents[_Des] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dSe][_i]), context); + } + if (output.sourcePortSet === "") { + contents[_SPo] = []; + } else if (output[_sPS] != null && output[_sPS][_i] != null) { + contents[_SPo] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); + } + if (output.destinationPortSet === "") { + contents[_DPe] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPe] = de_PortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); + } + if (output.protocolSet === "") { + contents[_Pro] = []; + } else if (output[_pSro] != null && output[_pSro][_i] != null) { + contents[_Pro] = de_ProtocolIntList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); + } + if (output[_rA] != null) { + contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); + } + if (output[_pri] != null) { + contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]); + } + return contents; +}, "de_FirewallStatelessRule"); +var de_FleetCapacityReservation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_iPn] != null) { + contents[_IPn] = (0, import_smithy_client.expectString)(output[_iPn]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_tIC] != null) { + contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); + } + if (output[_fC] != null) { + contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_cD] != null) { + contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); + } + if (output[_we] != null) { + contents[_W] = (0, import_smithy_client.strictParseFloat)(output[_we]); + } + if (output[_pri] != null) { + contents[_Pri] = (0, import_smithy_client.strictParseInt32)(output[_pri]); + } + return contents; +}, "de_FleetCapacityReservation"); +var de_FleetCapacityReservationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FleetCapacityReservation(entry, context); + }); +}, "de_FleetCapacityReservationSet"); +var de_FleetData = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSc] != null) { + contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_fIl] != null) { + contents[_FIl] = (0, import_smithy_client.expectString)(output[_fIl]); + } + if (output[_fSl] != null) { + contents[_FS] = (0, import_smithy_client.expectString)(output[_fSl]); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_eCTP] != null) { + contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]); + } + if (output[_fC] != null) { + contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); + } + if (output[_fODC] != null) { + contents[_FODC] = (0, import_smithy_client.strictParseFloat)(output[_fODC]); + } + if (output.launchTemplateConfigs === "") { + contents[_LTC] = []; + } else if (output[_lTC] != null && output[_lTC][_i] != null) { + contents[_LTC] = de_FleetLaunchTemplateConfigList((0, import_smithy_client.getArrayIfSingleItem)(output[_lTC][_i]), context); + } + if (output[_tCS] != null) { + contents[_TCS] = de_TargetCapacitySpecification(output[_tCS], context); + } + if (output[_tIWE] != null) { + contents[_TIWE] = (0, import_smithy_client.parseBoolean)(output[_tIWE]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_vF] != null) { + contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF])); + } + if (output[_vU] != null) { + contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); + } + if (output[_rUI] != null) { + contents[_RUI] = (0, import_smithy_client.parseBoolean)(output[_rUI]); + } + if (output[_sO] != null) { + contents[_SO] = de_SpotOptions(output[_sO], context); + } + if (output[_oDO] != null) { + contents[_ODO] = de_OnDemandOptions(output[_oDO], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output.errorSet === "") { + contents[_Err] = []; + } else if (output[_eSr] != null && output[_eSr][_i] != null) { + contents[_Err] = de_DescribeFleetsErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); + } + if (output.fleetInstanceSet === "") { + contents[_In] = []; + } else if (output[_fIS] != null && output[_fIS][_i] != null) { + contents[_In] = de_DescribeFleetsInstancesSet((0, import_smithy_client.getArrayIfSingleItem)(output[_fIS][_i]), context); + } + if (output[_cont] != null) { + contents[_Con] = (0, import_smithy_client.expectString)(output[_cont]); + } + return contents; +}, "de_FleetData"); +var de_FleetLaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTS] != null) { + contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); + } + if (output.overrides === "") { + contents[_Ov] = []; + } else if (output[_ov] != null && output[_ov][_i] != null) { + contents[_Ov] = de_FleetLaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context); + } + return contents; +}, "de_FleetLaunchTemplateConfig"); +var de_FleetLaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FleetLaunchTemplateConfig(entry, context); + }); +}, "de_FleetLaunchTemplateConfigList"); +var de_FleetLaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_mP] != null) { + contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_wC] != null) { + contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]); + } + if (output[_pri] != null) { + contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]); + } + if (output[_pla] != null) { + contents[_Pl] = de_PlacementResponse(output[_pla], context); + } + if (output[_iR] != null) { + contents[_IR] = de_InstanceRequirements(output[_iR], context); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + return contents; +}, "de_FleetLaunchTemplateOverrides"); +var de_FleetLaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FleetLaunchTemplateOverrides(entry, context); + }); +}, "de_FleetLaunchTemplateOverridesList"); +var de_FleetLaunchTemplateSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_ve] != null) { + contents[_V] = (0, import_smithy_client.expectString)(output[_ve]); + } + return contents; +}, "de_FleetLaunchTemplateSpecification"); +var de_FleetSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FleetData(entry, context); + }); +}, "de_FleetSet"); +var de_FleetSpotCapacityRebalance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rSe] != null) { + contents[_RS] = (0, import_smithy_client.expectString)(output[_rSe]); + } + if (output[_tD] != null) { + contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]); + } + return contents; +}, "de_FleetSpotCapacityRebalance"); +var de_FleetSpotMaintenanceStrategies = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRa] != null) { + contents[_CRap] = de_FleetSpotCapacityRebalance(output[_cRa], context); + } + return contents; +}, "de_FleetSpotMaintenanceStrategies"); +var de_FlowLog = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output[_dLEM] != null) { + contents[_DLEM] = (0, import_smithy_client.expectString)(output[_dLEM]); + } + if (output[_dLPA] != null) { + contents[_DLPA] = (0, import_smithy_client.expectString)(output[_dLPA]); + } + if (output[_dCAR] != null) { + contents[_DCAR] = (0, import_smithy_client.expectString)(output[_dCAR]); + } + if (output[_dLS] != null) { + contents[_DLSe] = (0, import_smithy_client.expectString)(output[_dLS]); + } + if (output[_fLI] != null) { + contents[_FLIl] = (0, import_smithy_client.expectString)(output[_fLI]); + } + if (output[_fLSl] != null) { + contents[_FLS] = (0, import_smithy_client.expectString)(output[_fLSl]); + } + if (output[_lGN] != null) { + contents[_LGN] = (0, import_smithy_client.expectString)(output[_lGN]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_tT] != null) { + contents[_TT] = (0, import_smithy_client.expectString)(output[_tT]); + } + if (output[_lDT] != null) { + contents[_LDT] = (0, import_smithy_client.expectString)(output[_lDT]); + } + if (output[_lD] != null) { + contents[_LD] = (0, import_smithy_client.expectString)(output[_lD]); + } + if (output[_lF] != null) { + contents[_LF] = (0, import_smithy_client.expectString)(output[_lF]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_mAI] != null) { + contents[_MAI] = (0, import_smithy_client.strictParseInt32)(output[_mAI]); + } + if (output[_dOe] != null) { + contents[_DO] = de_DestinationOptionsResponse(output[_dOe], context); + } + return contents; +}, "de_FlowLog"); +var de_FlowLogSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FlowLog(entry, context); + }); +}, "de_FlowLogSet"); +var de_FpgaDeviceInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_man] != null) { + contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); + } + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_mIe] != null) { + contents[_MIe] = de_FpgaDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}, "de_FpgaDeviceInfo"); +var de_FpgaDeviceInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FpgaDeviceInfo(entry, context); + }); +}, "de_FpgaDeviceInfoList"); +var de_FpgaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); + } + return contents; +}, "de_FpgaDeviceMemoryInfo"); +var de_FpgaImage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fII] != null) { + contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); + } + if (output[_fIGI] != null) { + contents[_FIGI] = (0, import_smithy_client.expectString)(output[_fIGI]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_sVh] != null) { + contents[_SVh] = (0, import_smithy_client.expectString)(output[_sVh]); + } + if (output[_pIc] != null) { + contents[_PIc] = de_PciId(output[_pIc], context); + } + if (output[_st] != null) { + contents[_Stat] = de_FpgaImageState(output[_st], context); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_uT] != null) { + contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output.tags === "") { + contents[_Ta] = []; + } else if (output[_ta] != null && output[_ta][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_ta][_i]), context); + } + if (output[_pu] != null) { + contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_pu]); + } + if (output[_dRS] != null) { + contents[_DRS] = (0, import_smithy_client.parseBoolean)(output[_dRS]); + } + if (output.instanceTypes === "") { + contents[_ITnst] = []; + } else if (output[_iTn] != null && output[_iTn][_i] != null) { + contents[_ITnst] = de_InstanceTypesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iTn][_i]), context); + } + return contents; +}, "de_FpgaImage"); +var de_FpgaImageAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fII] != null) { + contents[_FII] = (0, import_smithy_client.expectString)(output[_fII]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.loadPermissions === "") { + contents[_LPo] = []; + } else if (output[_lP] != null && output[_lP][_i] != null) { + contents[_LPo] = de_LoadPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lP][_i]), context); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + return contents; +}, "de_FpgaImageAttribute"); +var de_FpgaImageList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_FpgaImage(entry, context); + }); +}, "de_FpgaImageList"); +var de_FpgaImageState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_FpgaImageState"); +var de_FpgaInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.fpgas === "") { + contents[_Fp] = []; + } else if (output[_fp] != null && output[_fp][_i] != null) { + contents[_Fp] = de_FpgaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_fp][_i]), context); + } + if (output[_tFMIMB] != null) { + contents[_TFMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tFMIMB]); + } + return contents; +}, "de_FpgaInfo"); +var de_GetAssociatedEnclaveCertificateIamRolesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.associatedRoleSet === "") { + contents[_ARss] = []; + } else if (output[_aRS] != null && output[_aRS][_i] != null) { + contents[_ARss] = de_AssociatedRolesList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRS][_i]), context); + } + return contents; +}, "de_GetAssociatedEnclaveCertificateIamRolesResult"); +var de_GetAssociatedIpv6PoolCidrsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipv6CidrAssociationSet === "") { + contents[_ICA] = []; + } else if (output[_iCAS] != null && output[_iCAS][_i] != null) { + contents[_ICA] = de_Ipv6CidrAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetAssociatedIpv6PoolCidrsResult"); +var de_GetAwsNetworkPerformanceDataResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.dataResponseSet === "") { + contents[_DRa] = []; + } else if (output[_dRSa] != null && output[_dRSa][_i] != null) { + contents[_DRa] = de_DataResponses((0, import_smithy_client.getArrayIfSingleItem)(output[_dRSa][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetAwsNetworkPerformanceDataResult"); +var de_GetCapacityReservationUsageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_tIC] != null) { + contents[_TICo] = (0, import_smithy_client.strictParseInt32)(output[_tIC]); + } + if (output[_aICv] != null) { + contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.instanceUsageSet === "") { + contents[_IU] = []; + } else if (output[_iUS] != null && output[_iUS][_i] != null) { + contents[_IU] = de_InstanceUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iUS][_i]), context); + } + return contents; +}, "de_GetCapacityReservationUsageResult"); +var de_GetCoipPoolUsageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cPI] != null) { + contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); + } + if (output.coipAddressUsageSet === "") { + contents[_CAU] = []; + } else if (output[_cAUS] != null && output[_cAUS][_i] != null) { + contents[_CAU] = de_CoipAddressUsageSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cAUS][_i]), context); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetCoipPoolUsageResult"); +var de_GetConsoleOutputResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_ou] != null) { + contents[_Ou] = (0, import_smithy_client.expectString)(output[_ou]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_GetConsoleOutputResult"); +var de_GetConsoleScreenshotResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iD] != null) { + contents[_IDm] = (0, import_smithy_client.expectString)(output[_iD]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + return contents; +}, "de_GetConsoleScreenshotResult"); +var de_GetDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iFCS] != null) { + contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context); + } + return contents; +}, "de_GetDefaultCreditSpecificationResult"); +var de_GetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + return contents; +}, "de_GetEbsDefaultKmsKeyIdResult"); +var de_GetEbsEncryptionByDefaultResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eEBD] != null) { + contents[_EEBD] = (0, import_smithy_client.parseBoolean)(output[_eEBD]); + } + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); + } + return contents; +}, "de_GetEbsEncryptionByDefaultResult"); +var de_GetFlowLogsIntegrationTemplateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_re] != null) { + contents[_Resu] = (0, import_smithy_client.expectString)(output[_re]); + } + return contents; +}, "de_GetFlowLogsIntegrationTemplateResult"); +var de_GetGroupsForCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.capacityReservationGroupSet === "") { + contents[_CRG] = []; + } else if (output[_cRGS] != null && output[_cRGS][_i] != null) { + contents[_CRG] = de_CapacityReservationGroupSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRGS][_i]), context); + } + return contents; +}, "de_GetGroupsForCapacityReservationResult"); +var de_GetHostReservationPurchasePreviewResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output.purchase === "") { + contents[_Pur] = []; + } else if (output[_pur] != null && output[_pur][_i] != null) { + contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context); + } + if (output[_tHP] != null) { + contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]); + } + if (output[_tUP] != null) { + contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]); + } + return contents; +}, "de_GetHostReservationPurchasePreviewResult"); +var de_GetImageBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iBPAS] != null) { + contents[_IBPAS] = (0, import_smithy_client.expectString)(output[_iBPAS]); + } + return contents; +}, "de_GetImageBlockPublicAccessStateResult"); +var de_GetInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aL] != null) { + contents[_ALc] = de_InstanceMetadataDefaultsResponse(output[_aL], context); + } + return contents; +}, "de_GetInstanceMetadataDefaultsResult"); +var de_GetInstanceTpmEkPubResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_kT] != null) { + contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]); + } + if (output[_kF] != null) { + contents[_KF] = (0, import_smithy_client.expectString)(output[_kF]); + } + if (output[_kV] != null) { + contents[_KV] = (0, import_smithy_client.expectString)(output[_kV]); + } + return contents; +}, "de_GetInstanceTpmEkPubResult"); +var de_GetInstanceTypesFromInstanceRequirementsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceTypeSet === "") { + contents[_ITnst] = []; + } else if (output[_iTS] != null && output[_iTS][_i] != null) { + contents[_ITnst] = de_InstanceTypeInfoFromInstanceRequirementsSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_iTS][_i]), + context + ); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetInstanceTypesFromInstanceRequirementsResult"); +var de_GetInstanceUefiDataResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_uD] != null) { + contents[_UDe] = (0, import_smithy_client.expectString)(output[_uD]); + } + return contents; +}, "de_GetInstanceUefiDataResult"); +var de_GetIpamAddressHistoryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.historyRecordSet === "") { + contents[_HRi] = []; + } else if (output[_hRS] != null && output[_hRS][_i] != null) { + contents[_HRi] = de_IpamAddressHistoryRecordSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamAddressHistoryResult"); +var de_GetIpamDiscoveredAccountsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamDiscoveredAccountSet === "") { + contents[_IDA] = []; + } else if (output[_iDAS] != null && output[_iDAS][_i] != null) { + contents[_IDA] = de_IpamDiscoveredAccountSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamDiscoveredAccountsResult"); +var de_GetIpamDiscoveredPublicAddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamDiscoveredPublicAddressSet === "") { + contents[_IDPA] = []; + } else if (output[_iDPAS] != null && output[_iDPAS][_i] != null) { + contents[_IDPA] = de_IpamDiscoveredPublicAddressSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDPAS][_i]), context); + } + if (output[_oST] != null) { + contents[_OST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oST])); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamDiscoveredPublicAddressesResult"); +var de_GetIpamDiscoveredResourceCidrsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamDiscoveredResourceCidrSet === "") { + contents[_IDRC] = []; + } else if (output[_iDRCS] != null && output[_iDRCS][_i] != null) { + contents[_IDRC] = de_IpamDiscoveredResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iDRCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamDiscoveredResourceCidrsResult"); +var de_GetIpamPoolAllocationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamPoolAllocationSet === "") { + contents[_IPAp] = []; + } else if (output[_iPAS] != null && output[_iPAS][_i] != null) { + contents[_IPAp] = de_IpamPoolAllocationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamPoolAllocationsResult"); +var de_GetIpamPoolCidrsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.ipamPoolCidrSet === "") { + contents[_IPCpam] = []; + } else if (output[_iPCS] != null && output[_iPCS][_i] != null) { + contents[_IPCpam] = de_IpamPoolCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iPCS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetIpamPoolCidrsResult"); +var de_GetIpamResourceCidrsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.ipamResourceCidrSet === "") { + contents[_IRC] = []; + } else if (output[_iRCS] != null && output[_iRCS][_i] != null) { + contents[_IRC] = de_IpamResourceCidrSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iRCS][_i]), context); + } + return contents; +}, "de_GetIpamResourceCidrsResult"); +var de_GetLaunchTemplateDataResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTD] != null) { + contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context); + } + return contents; +}, "de_GetLaunchTemplateDataResult"); +var de_GetManagedPrefixListAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.prefixListAssociationSet === "") { + contents[_PLA] = []; + } else if (output[_pLAS] != null && output[_pLAS][_i] != null) { + contents[_PLA] = de_PrefixListAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetManagedPrefixListAssociationsResult"); +var de_GetManagedPrefixListEntriesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.entrySet === "") { + contents[_Ent] = []; + } else if (output[_eSnt] != null && output[_eSnt][_i] != null) { + contents[_Ent] = de_PrefixListEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetManagedPrefixListEntriesResult"); +var de_GetNetworkInsightsAccessScopeAnalysisFindingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASAI] != null) { + contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); + } + if (output[_aSn] != null) { + contents[_ASn] = (0, import_smithy_client.expectString)(output[_aSn]); + } + if (output.analysisFindingSet === "") { + contents[_AFn] = []; + } else if (output[_aFS] != null && output[_aFS][_i] != null) { + contents[_AFn] = de_AccessScopeAnalysisFindingList((0, import_smithy_client.getArrayIfSingleItem)(output[_aFS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetNetworkInsightsAccessScopeAnalysisFindingsResult"); +var de_GetNetworkInsightsAccessScopeContentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASC] != null) { + contents[_NIASC] = de_NetworkInsightsAccessScopeContent(output[_nIASC], context); + } + return contents; +}, "de_GetNetworkInsightsAccessScopeContentResult"); +var de_GetPasswordDataResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_pD] != null) { + contents[_PDa] = (0, import_smithy_client.expectString)(output[_pD]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_GetPasswordDataResult"); +var de_GetReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_iVE] != null) { + contents[_IVE] = (0, import_smithy_client.parseBoolean)(output[_iVE]); + } + if (output[_oRIWEA] != null) { + contents[_ORIWEA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oRIWEA])); + } + if (output[_pDa] != null) { + contents[_PDay] = (0, import_smithy_client.expectString)(output[_pDa]); + } + if (output[_rIVR] != null) { + contents[_RIVR] = de_ReservationValue(output[_rIVR], context); + } + if (output.reservedInstanceValueSet === "") { + contents[_RIVS] = []; + } else if (output[_rIVS] != null && output[_rIVS][_i] != null) { + contents[_RIVS] = de_ReservedInstanceReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rIVS][_i]), context); + } + if (output[_tCVR] != null) { + contents[_TCVR] = de_ReservationValue(output[_tCVR], context); + } + if (output.targetConfigurationValueSet === "") { + contents[_TCVS] = []; + } else if (output[_tCVS] != null && output[_tCVS][_i] != null) { + contents[_TCVS] = de_TargetReservationValueSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tCVS][_i]), context); + } + if (output[_vFR] != null) { + contents[_VFR] = (0, import_smithy_client.expectString)(output[_vFR]); + } + return contents; +}, "de_GetReservedInstancesExchangeQuoteResult"); +var de_GetSecurityGroupsForVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.securityGroupForVpcSet === "") { + contents[_SGFV] = []; + } else if (output[_sGFVS] != null && output[_sGFVS][_i] != null) { + contents[_SGFV] = de_SecurityGroupForVpcList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGFVS][_i]), context); + } + return contents; +}, "de_GetSecurityGroupsForVpcResult"); +var de_GetSerialConsoleAccessStatusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCAE] != null) { + contents[_SCAE] = (0, import_smithy_client.parseBoolean)(output[_sCAE]); + } + return contents; +}, "de_GetSerialConsoleAccessStatusResult"); +var de_GetSnapshotBlockPublicAccessStateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_GetSnapshotBlockPublicAccessStateResult"); +var de_GetSpotPlacementScoresResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.spotPlacementScoreSet === "") { + contents[_SPS] = []; + } else if (output[_sPSS] != null && output[_sPSS][_i] != null) { + contents[_SPS] = de_SpotPlacementScores((0, import_smithy_client.getArrayIfSingleItem)(output[_sPSS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetSpotPlacementScoresResult"); +var de_GetSubnetCidrReservationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.subnetIpv4CidrReservationSet === "") { + contents[_SICR] = []; + } else if (output[_sICRS] != null && output[_sICRS][_i] != null) { + contents[_SICR] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRS][_i]), context); + } + if (output.subnetIpv6CidrReservationSet === "") { + contents[_SICRu] = []; + } else if (output[_sICRSu] != null && output[_sICRSu][_i] != null) { + contents[_SICRu] = de_SubnetCidrReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sICRSu][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetSubnetCidrReservationsResult"); +var de_GetTransitGatewayAttachmentPropagationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayAttachmentPropagations === "") { + contents[_TGAP] = []; + } else if (output[_tGAP] != null && output[_tGAP][_i] != null) { + contents[_TGAP] = de_TransitGatewayAttachmentPropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGAP][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayAttachmentPropagationsResult"); +var de_GetTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.multicastDomainAssociations === "") { + contents[_MDA] = []; + } else if (output[_mDA] != null && output[_mDA][_i] != null) { + contents[_MDA] = de_TransitGatewayMulticastDomainAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_mDA][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayMulticastDomainAssociationsResult"); +var de_GetTransitGatewayPolicyTableAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.associations === "") { + contents[_Ass] = []; + } else if (output[_a] != null && output[_a][_i] != null) { + contents[_Ass] = de_TransitGatewayPolicyTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayPolicyTableAssociationsResult"); +var de_GetTransitGatewayPolicyTableEntriesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayPolicyTableEntries === "") { + contents[_TGPTE] = []; + } else if (output[_tGPTE] != null && output[_tGPTE][_i] != null) { + contents[_TGPTE] = de_TransitGatewayPolicyTableEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPTE][_i]), context); + } + return contents; +}, "de_GetTransitGatewayPolicyTableEntriesResult"); +var de_GetTransitGatewayPrefixListReferencesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayPrefixListReferenceSet === "") { + contents[_TGPLRr] = []; + } else if (output[_tGPLRS] != null && output[_tGPLRS][_i] != null) { + contents[_TGPLRr] = de_TransitGatewayPrefixListReferenceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tGPLRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayPrefixListReferencesResult"); +var de_GetTransitGatewayRouteTableAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.associations === "") { + contents[_Ass] = []; + } else if (output[_a] != null && output[_a][_i] != null) { + contents[_Ass] = de_TransitGatewayRouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_a][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayRouteTableAssociationsResult"); +var de_GetTransitGatewayRouteTablePropagationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.transitGatewayRouteTablePropagations === "") { + contents[_TGRTP] = []; + } else if (output[_tGRTP] != null && output[_tGRTP][_i] != null) { + contents[_TGRTP] = de_TransitGatewayRouteTablePropagationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGRTP][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetTransitGatewayRouteTablePropagationsResult"); +var de_GetVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pE] != null) { + contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); + } + if (output[_pDo] != null) { + contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); + } + return contents; +}, "de_GetVerifiedAccessEndpointPolicyResult"); +var de_GetVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pE] != null) { + contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); + } + if (output[_pDo] != null) { + contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); + } + return contents; +}, "de_GetVerifiedAccessGroupPolicyResult"); +var de_GetVpnConnectionDeviceSampleConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vCDSC] != null) { + contents[_VCDSC] = (0, import_smithy_client.expectString)(output[_vCDSC]); + } + return contents; +}, "de_GetVpnConnectionDeviceSampleConfigurationResult"); +var de_GetVpnConnectionDeviceTypesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpnConnectionDeviceTypeSet === "") { + contents[_VCDT] = []; + } else if (output[_vCDTS] != null && output[_vCDTS][_i] != null) { + contents[_VCDT] = de_VpnConnectionDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCDTS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetVpnConnectionDeviceTypesResult"); +var de_GetVpnTunnelReplacementStatusResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vCI] != null) { + contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_cGIu] != null) { + contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); + } + if (output[_vGI] != null) { + contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); + } + if (output[_vTOIA] != null) { + contents[_VTOIA] = (0, import_smithy_client.expectString)(output[_vTOIA]); + } + if (output[_mD] != null) { + contents[_MDa] = de_MaintenanceDetails(output[_mD], context); + } + return contents; +}, "de_GetVpnTunnelReplacementStatusResult"); +var de_GpuDeviceInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_man] != null) { + contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); + } + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_mIe] != null) { + contents[_MIe] = de_GpuDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}, "de_GpuDeviceInfo"); +var de_GpuDeviceInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_GpuDeviceInfo(entry, context); + }); +}, "de_GpuDeviceInfoList"); +var de_GpuDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); + } + return contents; +}, "de_GpuDeviceMemoryInfo"); +var de_GpuInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.gpus === "") { + contents[_Gp] = []; + } else if (output[_gp] != null && output[_gp][_i] != null) { + contents[_Gp] = de_GpuDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_gp][_i]), context); + } + if (output[_tGMIMB] != null) { + contents[_TGMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tGMIMB]); + } + return contents; +}, "de_GpuInfo"); +var de_GroupIdentifier = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + return contents; +}, "de_GroupIdentifier"); +var de_GroupIdentifierList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_GroupIdentifier(entry, context); + }); +}, "de_GroupIdentifierList"); +var de_GroupIdentifierSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroupIdentifier(entry, context); + }); +}, "de_GroupIdentifierSet"); +var de_GroupIdStringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_GroupIdStringList"); +var de_HibernationOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_conf] != null) { + contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]); + } + return contents; +}, "de_HibernationOptions"); +var de_HistoryRecord = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eIv] != null) { + contents[_EIv] = de_EventInformation(output[_eIv], context); + } + if (output[_eTv] != null) { + contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_HistoryRecord"); +var de_HistoryRecordEntry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eIv] != null) { + contents[_EIv] = de_EventInformation(output[_eIv], context); + } + if (output[_eTv] != null) { + contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_HistoryRecordEntry"); +var de_HistoryRecords = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_HistoryRecord(entry, context); + }); +}, "de_HistoryRecords"); +var de_HistoryRecordSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_HistoryRecordEntry(entry, context); + }); +}, "de_HistoryRecordSet"); +var de_Host = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aPu] != null) { + contents[_AP] = (0, import_smithy_client.expectString)(output[_aPu]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_aC] != null) { + contents[_ACv] = de_AvailableCapacity(output[_aC], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_hI] != null) { + contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); + } + if (output[_hP] != null) { + contents[_HP] = de_HostProperties(output[_hP], context); + } + if (output[_hRI] != null) { + contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); + } + if (output.instances === "") { + contents[_In] = []; + } else if (output[_ins] != null && output[_ins][_i] != null) { + contents[_In] = de_HostInstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_ins][_i]), context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_aTll] != null) { + contents[_ATll] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTll])); + } + if (output[_rTel] != null) { + contents[_RTel] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTel])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_hR] != null) { + contents[_HR] = (0, import_smithy_client.expectString)(output[_hR]); + } + if (output[_aMIT] != null) { + contents[_AMIT] = (0, import_smithy_client.expectString)(output[_aMIT]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_mOSLRG] != null) { + contents[_MOSLRG] = (0, import_smithy_client.parseBoolean)(output[_mOSLRG]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_hM] != null) { + contents[_HM] = (0, import_smithy_client.expectString)(output[_hM]); + } + if (output[_aIss] != null) { + contents[_AIsse] = (0, import_smithy_client.expectString)(output[_aIss]); + } + return contents; +}, "de_Host"); +var de_HostInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + return contents; +}, "de_HostInstance"); +var de_HostInstanceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_HostInstance(entry, context); + }); +}, "de_HostInstanceList"); +var de_HostList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Host(entry, context); + }); +}, "de_HostList"); +var de_HostOffering = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); + } + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + if (output[_oIf] != null) { + contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); + } + if (output[_pO] != null) { + contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); + } + if (output[_uP] != null) { + contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); + } + return contents; +}, "de_HostOffering"); +var de_HostOfferingSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_HostOffering(entry, context); + }); +}, "de_HostOfferingSet"); +var de_HostProperties = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cor] != null) { + contents[_Cor] = (0, import_smithy_client.strictParseInt32)(output[_cor]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + if (output[_so] != null) { + contents[_Soc] = (0, import_smithy_client.strictParseInt32)(output[_so]); + } + if (output[_tVC] != null) { + contents[_TVC] = (0, import_smithy_client.strictParseInt32)(output[_tVC]); + } + return contents; +}, "de_HostProperties"); +var de_HostReservation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); + } + if (output[_end] != null) { + contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end])); + } + if (output.hostIdSet === "") { + contents[_HIS] = []; + } else if (output[_hIS] != null && output[_hIS][_i] != null) { + contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); + } + if (output[_hRI] != null) { + contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); + } + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + if (output[_oIf] != null) { + contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); + } + if (output[_pO] != null) { + contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); + } + if (output[_star] != null) { + contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star])); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_uP] != null) { + contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_HostReservation"); +var de_HostReservationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_HostReservation(entry, context); + }); +}, "de_HostReservationSet"); +var de_IamInstanceProfile = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + if (output[_id] != null) { + contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); + } + return contents; +}, "de_IamInstanceProfile"); +var de_IamInstanceProfileAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iIP] != null) { + contents[_IIP] = de_IamInstanceProfile(output[_iIP], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_IamInstanceProfileAssociation"); +var de_IamInstanceProfileAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IamInstanceProfileAssociation(entry, context); + }); +}, "de_IamInstanceProfileAssociationSet"); +var de_IamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_IamInstanceProfileSpecification"); +var de_IcmpTypeCode = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.strictParseInt32)(output[_ty]); + } + return contents; +}, "de_IcmpTypeCode"); +var de_IdFormat = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dea] != null) { + contents[_Dea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dea])); + } + if (output[_res] != null) { + contents[_Res] = (0, import_smithy_client.expectString)(output[_res]); + } + if (output[_uLI] != null) { + contents[_ULI] = (0, import_smithy_client.parseBoolean)(output[_uLI]); + } + return contents; +}, "de_IdFormat"); +var de_IdFormatList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IdFormat(entry, context); + }); +}, "de_IdFormatList"); +var de_IKEVersionsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IKEVersionsListValue(entry, context); + }); +}, "de_IKEVersionsList"); +var de_IKEVersionsListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_IKEVersionsListValue"); +var de_Image = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_arc] != null) { + contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); + } + if (output[_cDr] != null) { + contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iL] != null) { + contents[_IL] = (0, import_smithy_client.expectString)(output[_iL]); + } + if (output[_iTm] != null) { + contents[_ITm] = (0, import_smithy_client.expectString)(output[_iTm]); + } + if (output[_iPs] != null) { + contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_iPs]); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_iOI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pDl] != null) { + contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]); + } + if (output[_uO] != null) { + contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_iSma] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]); + } + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_eSna] != null) { + contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]); + } + if (output[_h] != null) { + contents[_H] = (0, import_smithy_client.expectString)(output[_h]); + } + if (output[_iOA] != null) { + contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_rDN] != null) { + contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]); + } + if (output[_rDT] != null) { + contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]); + } + if (output[_sNSr] != null) { + contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]); + } + if (output[_sR] != null) { + contents[_SRt] = de_StateReason(output[_sR], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vTi] != null) { + contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]); + } + if (output[_bM] != null) { + contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); + } + if (output[_tSp] != null) { + contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]); + } + if (output[_dTe] != null) { + contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]); + } + if (output[_iSmd] != null) { + contents[_ISm] = (0, import_smithy_client.expectString)(output[_iSmd]); + } + if (output[_sII] != null) { + contents[_SIIo] = (0, import_smithy_client.expectString)(output[_sII]); + } + if (output[_dP] != null) { + contents[_DPer] = (0, import_smithy_client.expectString)(output[_dP]); + } + if (output[_lLT] != null) { + contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]); + } + return contents; +}, "de_Image"); +var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output.launchPermission === "") { + contents[_LPau] = []; + } else if (output[_lPa] != null && output[_lPa][_i] != null) { + contents[_LPau] = de_LaunchPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_lPa][_i]), context); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_de] != null) { + contents[_De] = de_AttributeValue(output[_de], context); + } + if (output[_ke] != null) { + contents[_KI] = de_AttributeValue(output[_ke], context); + } + if (output[_ra] != null) { + contents[_RIa] = de_AttributeValue(output[_ra], context); + } + if (output[_sNSr] != null) { + contents[_SNS] = de_AttributeValue(output[_sNSr], context); + } + if (output[_bM] != null) { + contents[_BM] = de_AttributeValue(output[_bM], context); + } + if (output[_tSp] != null) { + contents[_TSp] = de_AttributeValue(output[_tSp], context); + } + if (output[_uD] != null) { + contents[_UDe] = de_AttributeValue(output[_uD], context); + } + if (output[_lLT] != null) { + contents[_LLT] = de_AttributeValue(output[_lLT], context); + } + if (output[_iSmd] != null) { + contents[_ISm] = de_AttributeValue(output[_iSmd], context); + } + if (output[_dP] != null) { + contents[_DPer] = de_AttributeValue(output[_dP], context); + } + return contents; +}, "de_ImageAttribute"); +var de_ImageList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Image(entry, context); + }); +}, "de_ImageList"); +var de_ImageRecycleBinInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_rBET] != null) { + contents[_RBET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBET])); + } + if (output[_rBETe] != null) { + contents[_RBETe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBETe])); + } + return contents; +}, "de_ImageRecycleBinInfo"); +var de_ImageRecycleBinInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImageRecycleBinInfo(entry, context); + }); +}, "de_ImageRecycleBinInfoList"); +var de_ImportClientVpnClientCertificateRevocationListResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ImportClientVpnClientCertificateRevocationListResult"); +var de_ImportImageLicenseConfigurationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lCA] != null) { + contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); + } + return contents; +}, "de_ImportImageLicenseConfigurationResponse"); +var de_ImportImageLicenseSpecificationListResponse = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImportImageLicenseConfigurationResponse(entry, context); + }); +}, "de_ImportImageLicenseSpecificationListResponse"); +var de_ImportImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_arc] != null) { + contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_h] != null) { + contents[_H] = (0, import_smithy_client.expectString)(output[_h]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iTI] != null) { + contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_lTi] != null) { + contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output.snapshotDetailSet === "") { + contents[_SDn] = []; + } else if (output[_sDSn] != null && output[_sDSn][_i] != null) { + contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.licenseSpecifications === "") { + contents[_LSi] = []; + } else if (output[_lS] != null && output[_lS][_i] != null) { + contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_uO] != null) { + contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); + } + return contents; +}, "de_ImportImageResult"); +var de_ImportImageTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_arc] != null) { + contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_h] != null) { + contents[_H] = (0, import_smithy_client.expectString)(output[_h]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iTI] != null) { + contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_lTi] != null) { + contents[_LTi] = (0, import_smithy_client.expectString)(output[_lTi]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output.snapshotDetailSet === "") { + contents[_SDn] = []; + } else if (output[_sDSn] != null && output[_sDSn][_i] != null) { + contents[_SDn] = de_SnapshotDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_sDSn][_i]), context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output.licenseSpecifications === "") { + contents[_LSi] = []; + } else if (output[_lS] != null && output[_lS][_i] != null) { + contents[_LSi] = de_ImportImageLicenseSpecificationListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_lS][_i]), context); + } + if (output[_uO] != null) { + contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); + } + if (output[_bM] != null) { + contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); + } + return contents; +}, "de_ImportImageTask"); +var de_ImportImageTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImportImageTask(entry, context); + }); +}, "de_ImportImageTaskList"); +var de_ImportInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cTon] != null) { + contents[_CTonv] = de_ConversionTask(output[_cTon], context); + } + return contents; +}, "de_ImportInstanceResult"); +var de_ImportInstanceTaskDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output.volumes === "") { + contents[_Vol] = []; + } else if (output[_vo] != null && output[_vo][_i] != null) { + contents[_Vol] = de_ImportInstanceVolumeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vo][_i]), context); + } + return contents; +}, "de_ImportInstanceTaskDetails"); +var de_ImportInstanceVolumeDetailItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_bCy] != null) { + contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_im] != null) { + contents[_Im] = de_DiskImageDescription(output[_im], context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_vol] != null) { + contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context); + } + return contents; +}, "de_ImportInstanceVolumeDetailItem"); +var de_ImportInstanceVolumeDetailSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImportInstanceVolumeDetailItem(entry, context); + }); +}, "de_ImportInstanceVolumeDetailSet"); +var de_ImportKeyPairResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kFe] != null) { + contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_kPI] != null) { + contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ImportKeyPairResult"); +var de_ImportSnapshotResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_iTI] != null) { + contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); + } + if (output[_sTD] != null) { + contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ImportSnapshotResult"); +var de_ImportSnapshotTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_iTI] != null) { + contents[_ITI] = (0, import_smithy_client.expectString)(output[_iTI]); + } + if (output[_sTD] != null) { + contents[_STD] = de_SnapshotTaskDetail(output[_sTD], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ImportSnapshotTask"); +var de_ImportSnapshotTaskList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImportSnapshotTask(entry, context); + }); +}, "de_ImportSnapshotTaskList"); +var de_ImportVolumeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cTon] != null) { + contents[_CTonv] = de_ConversionTask(output[_cTon], context); + } + return contents; +}, "de_ImportVolumeResult"); +var de_ImportVolumeTaskDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_bCy] != null) { + contents[_BCyt] = (0, import_smithy_client.strictParseLong)(output[_bCy]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_im] != null) { + contents[_Im] = de_DiskImageDescription(output[_im], context); + } + if (output[_vol] != null) { + contents[_Vo] = de_DiskImageVolumeDescription(output[_vol], context); + } + return contents; +}, "de_ImportVolumeTaskDetails"); +var de_InferenceAcceleratorInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.accelerators === "") { + contents[_Acc] = []; + } else if (output[_acc] != null && output[_acc][_mem] != null) { + contents[_Acc] = de_InferenceDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_mem]), context); + } + if (output[_tIMIMB] != null) { + contents[_TIMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tIMIMB]); + } + return contents; +}, "de_InferenceAcceleratorInfo"); +var de_InferenceDeviceInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_man] != null) { + contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); + } + if (output[_mIe] != null) { + contents[_MIe] = de_InferenceDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}, "de_InferenceDeviceInfo"); +var de_InferenceDeviceInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InferenceDeviceInfo(entry, context); + }); +}, "de_InferenceDeviceInfoList"); +var de_InferenceDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); + } + return contents; +}, "de_InferenceDeviceMemoryInfo"); +var de_InsideCidrBlocksStringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InsideCidrBlocksStringList"); +var de_Instance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aLI] != null) { + contents[_ALI] = (0, import_smithy_client.strictParseInt32)(output[_aLI]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_lTau] != null) { + contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau])); + } + if (output[_mo] != null) { + contents[_Mon] = de_Monitoring(output[_mo], context); + } + if (output[_pla] != null) { + contents[_Pl] = de_Placement(output[_pla], context); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_dNn] != null) { + contents[_PDNu] = (0, import_smithy_client.expectString)(output[_dNn]); + } + if (output[_iAp] != null) { + contents[_PIAu] = (0, import_smithy_client.expectString)(output[_iAp]); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_iSnst] != null) { + contents[_Stat] = de_InstanceState(output[_iSnst], context); + } + if (output[_rea] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_arc] != null) { + contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); + } + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_eSna] != null) { + contents[_ESn] = (0, import_smithy_client.parseBoolean)(output[_eSna]); + } + if (output[_h] != null) { + contents[_H] = (0, import_smithy_client.expectString)(output[_h]); + } + if (output[_iIP] != null) { + contents[_IIP] = de_IamInstanceProfile(output[_iIP], context); + } + if (output[_iLn] != null) { + contents[_ILn] = (0, import_smithy_client.expectString)(output[_iLn]); + } + if (output.elasticGpuAssociationSet === "") { + contents[_EGA] = []; + } else if (output[_eGASl] != null && output[_eGASl][_i] != null) { + contents[_EGA] = de_ElasticGpuAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eGASl][_i]), context); + } + if (output.elasticInferenceAcceleratorAssociationSet === "") { + contents[_EIAAl] = []; + } else if (output[_eIAASl] != null && output[_eIAASl][_i] != null) { + contents[_EIAAl] = de_ElasticInferenceAcceleratorAssociationList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_eIAASl][_i]), + context + ); + } + if (output.networkInterfaceSet === "") { + contents[_NI] = []; + } else if (output[_nIS] != null && output[_nIS][_i] != null) { + contents[_NI] = de_InstanceNetworkInterfaceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_rDN] != null) { + contents[_RDN] = (0, import_smithy_client.expectString)(output[_rDN]); + } + if (output[_rDT] != null) { + contents[_RDT] = (0, import_smithy_client.expectString)(output[_rDT]); + } + if (output.groupSet === "") { + contents[_SG] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_sDC] != null) { + contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); + } + if (output[_sIRI] != null) { + contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); + } + if (output[_sNSr] != null) { + contents[_SNS] = (0, import_smithy_client.expectString)(output[_sNSr]); + } + if (output[_sR] != null) { + contents[_SRt] = de_StateReason(output[_sR], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vTi] != null) { + contents[_VTir] = (0, import_smithy_client.expectString)(output[_vTi]); + } + if (output[_cO] != null) { + contents[_CO] = de_CpuOptions(output[_cO], context); + } + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_cRSa] != null) { + contents[_CRS] = de_CapacityReservationSpecificationResponse(output[_cRSa], context); + } + if (output[_hO] != null) { + contents[_HO] = de_HibernationOptions(output[_hO], context); + } + if (output.licenseSet === "") { + contents[_Lic] = []; + } else if (output[_lSi] != null && output[_lSi][_i] != null) { + contents[_Lic] = de_LicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context); + } + if (output[_mO] != null) { + contents[_MO] = de_InstanceMetadataOptionsResponse(output[_mO], context); + } + if (output[_eOn] != null) { + contents[_EOn] = de_EnclaveOptions(output[_eOn], context); + } + if (output[_bM] != null) { + contents[_BM] = (0, import_smithy_client.expectString)(output[_bM]); + } + if (output[_pDl] != null) { + contents[_PDl] = (0, import_smithy_client.expectString)(output[_pDl]); + } + if (output[_uO] != null) { + contents[_UO] = (0, import_smithy_client.expectString)(output[_uO]); + } + if (output[_uOUT] != null) { + contents[_UOUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uOUT])); + } + if (output[_pDNO] != null) { + contents[_PDNO] = de_PrivateDnsNameOptionsResponse(output[_pDNO], context); + } + if (output[_iApv] != null) { + contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); + } + if (output[_tSp] != null) { + contents[_TSp] = (0, import_smithy_client.expectString)(output[_tSp]); + } + if (output[_mOa] != null) { + contents[_MOa] = de_InstanceMaintenanceOptions(output[_mOa], context); + } + if (output[_cIBM] != null) { + contents[_CIBM] = (0, import_smithy_client.expectString)(output[_cIBM]); + } + return contents; +}, "de_Instance"); +var de_InstanceAttachmentEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSE] != null) { + contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); + } + if (output[_eSUS] != null) { + contents[_ESUS] = de_InstanceAttachmentEnaSrdUdpSpecification(output[_eSUS], context); + } + return contents; +}, "de_InstanceAttachmentEnaSrdSpecification"); +var de_InstanceAttachmentEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSUE] != null) { + contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); + } + return contents; +}, "de_InstanceAttachmentEnaSrdUdpSpecification"); +var de_InstanceAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_InstanceBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_dAT] != null) { + contents[_DATis] = de_AttributeBooleanValue(output[_dAT], context); + } + if (output[_eSna] != null) { + contents[_ESn] = de_AttributeBooleanValue(output[_eSna], context); + } + if (output[_eOn] != null) { + contents[_EOn] = de_EnclaveOptions(output[_eOn], context); + } + if (output[_eO] != null) { + contents[_EO] = de_AttributeBooleanValue(output[_eO], context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iISB] != null) { + contents[_IISB] = de_AttributeValue(output[_iISB], context); + } + if (output[_iT] != null) { + contents[_IT] = de_AttributeValue(output[_iT], context); + } + if (output[_ke] != null) { + contents[_KI] = de_AttributeValue(output[_ke], context); + } + if (output.productCodes === "") { + contents[_PCr] = []; + } else if (output[_pC] != null && output[_pC][_i] != null) { + contents[_PCr] = de_ProductCodeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pC][_i]), context); + } + if (output[_ra] != null) { + contents[_RIa] = de_AttributeValue(output[_ra], context); + } + if (output[_rDN] != null) { + contents[_RDN] = de_AttributeValue(output[_rDN], context); + } + if (output[_sDC] != null) { + contents[_SDC] = de_AttributeBooleanValue(output[_sDC], context); + } + if (output[_sNSr] != null) { + contents[_SNS] = de_AttributeValue(output[_sNSr], context); + } + if (output[_uDs] != null) { + contents[_UD] = de_AttributeValue(output[_uDs], context); + } + if (output[_dASi] != null) { + contents[_DAS] = de_AttributeBooleanValue(output[_dASi], context); + } + return contents; +}, "de_InstanceAttribute"); +var de_InstanceBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); + } + if (output[_eb] != null) { + contents[_E] = de_EbsInstanceBlockDevice(output[_eb], context); + } + return contents; +}, "de_InstanceBlockDeviceMapping"); +var de_InstanceBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceBlockDeviceMapping(entry, context); + }); +}, "de_InstanceBlockDeviceMappingList"); +var de_InstanceCapacity = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aC] != null) { + contents[_ACv] = (0, import_smithy_client.strictParseInt32)(output[_aC]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_tC] != null) { + contents[_TCo] = (0, import_smithy_client.strictParseInt32)(output[_tC]); + } + return contents; +}, "de_InstanceCapacity"); +var de_InstanceConnectEndpointSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ec2InstanceConnectEndpoint(entry, context); + }); +}, "de_InstanceConnectEndpointSet"); +var de_InstanceCount = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_InstanceCount"); +var de_InstanceCountList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceCount(entry, context); + }); +}, "de_InstanceCountList"); +var de_InstanceCreditSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_cCp] != null) { + contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); + } + return contents; +}, "de_InstanceCreditSpecification"); +var de_InstanceCreditSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceCreditSpecification(entry, context); + }); +}, "de_InstanceCreditSpecificationList"); +var de_InstanceEventWindow = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEWI] != null) { + contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]); + } + if (output.timeRangeSet === "") { + contents[_TRi] = []; + } else if (output[_tRSi] != null && output[_tRSi][_i] != null) { + contents[_TRi] = de_InstanceEventWindowTimeRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_tRSi][_i]), context); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_cEr] != null) { + contents[_CE] = (0, import_smithy_client.expectString)(output[_cEr]); + } + if (output[_aTs] != null) { + contents[_AT] = de_InstanceEventWindowAssociationTarget(output[_aTs], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_InstanceEventWindow"); +var de_InstanceEventWindowAssociationTarget = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceIdSet === "") { + contents[_IIns] = []; + } else if (output[_iIS] != null && output[_iIS][_i] != null) { + contents[_IIns] = de_InstanceIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output.dedicatedHostIdSet === "") { + contents[_DHI] = []; + } else if (output[_dHIS] != null && output[_dHIS][_i] != null) { + contents[_DHI] = de_DedicatedHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_dHIS][_i]), context); + } + return contents; +}, "de_InstanceEventWindowAssociationTarget"); +var de_InstanceEventWindowSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceEventWindow(entry, context); + }); +}, "de_InstanceEventWindowSet"); +var de_InstanceEventWindowStateChange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEWI] != null) { + contents[_IEWI] = (0, import_smithy_client.expectString)(output[_iEWI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_InstanceEventWindowStateChange"); +var de_InstanceEventWindowTimeRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sWD] != null) { + contents[_SWD] = (0, import_smithy_client.expectString)(output[_sWD]); + } + if (output[_sH] != null) { + contents[_SH] = (0, import_smithy_client.strictParseInt32)(output[_sH]); + } + if (output[_eWD] != null) { + contents[_EWD] = (0, import_smithy_client.expectString)(output[_eWD]); + } + if (output[_eH] != null) { + contents[_EH] = (0, import_smithy_client.strictParseInt32)(output[_eH]); + } + return contents; +}, "de_InstanceEventWindowTimeRange"); +var de_InstanceEventWindowTimeRangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceEventWindowTimeRange(entry, context); + }); +}, "de_InstanceEventWindowTimeRangeList"); +var de_InstanceExportDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_tE] != null) { + contents[_TE] = (0, import_smithy_client.expectString)(output[_tE]); + } + return contents; +}, "de_InstanceExportDetails"); +var de_InstanceFamilyCreditSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + if (output[_cCp] != null) { + contents[_CCp] = (0, import_smithy_client.expectString)(output[_cCp]); + } + return contents; +}, "de_InstanceFamilyCreditSpecification"); +var de_InstanceGenerationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceGenerationSet"); +var de_InstanceIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceIdList"); +var de_InstanceIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceIdSet"); +var de_InstanceIdsSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceIdsSet"); +var de_InstanceIpv4Prefix = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpv] != null) { + contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); + } + return contents; +}, "de_InstanceIpv4Prefix"); +var de_InstanceIpv4PrefixList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceIpv4Prefix(entry, context); + }); +}, "de_InstanceIpv4PrefixList"); +var de_InstanceIpv6Address = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iApv] != null) { + contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); + } + if (output[_iPI] != null) { + contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]); + } + return contents; +}, "de_InstanceIpv6Address"); +var de_InstanceIpv6AddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceIpv6Address(entry, context); + }); +}, "de_InstanceIpv6AddressList"); +var de_InstanceIpv6Prefix = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpvr] != null) { + contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); + } + return contents; +}, "de_InstanceIpv6Prefix"); +var de_InstanceIpv6PrefixList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceIpv6Prefix(entry, context); + }); +}, "de_InstanceIpv6PrefixList"); +var de_InstanceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Instance(entry, context); + }); +}, "de_InstanceList"); +var de_InstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aRu] != null) { + contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); + } + return contents; +}, "de_InstanceMaintenanceOptions"); +var de_InstanceMetadataDefaultsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hT] != null) { + contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); + } + if (output[_hPRHL] != null) { + contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); + } + if (output[_hE] != null) { + contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); + } + if (output[_iMT] != null) { + contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); + } + return contents; +}, "de_InstanceMetadataDefaultsResponse"); +var de_InstanceMetadataOptionsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_hT] != null) { + contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); + } + if (output[_hPRHL] != null) { + contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); + } + if (output[_hE] != null) { + contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); + } + if (output[_hPI] != null) { + contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]); + } + if (output[_iMT] != null) { + contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); + } + return contents; +}, "de_InstanceMetadataOptionsResponse"); +var de_InstanceMonitoring = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_mo] != null) { + contents[_Mon] = de_Monitoring(output[_mo], context); + } + return contents; +}, "de_InstanceMonitoring"); +var de_InstanceMonitoringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceMonitoring(entry, context); + }); +}, "de_InstanceMonitoringList"); +var de_InstanceNetworkInterface = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context); + } + if (output[_at] != null) { + contents[_Att] = de_InstanceNetworkInterfaceAttachment(output[_at], context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output.ipv6AddressesSet === "") { + contents[_IA] = []; + } else if (output[_iASp] != null && output[_iASp][_i] != null) { + contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); + } + if (output[_mAa] != null) { + contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.privateIpAddressesSet === "") { + contents[_PIA] = []; + } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { + contents[_PIA] = de_InstancePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); + } + if (output[_sDC] != null) { + contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_iTnt] != null) { + contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); + } + if (output.ipv4PrefixSet === "") { + contents[_IPp] = []; + } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { + contents[_IPp] = de_InstanceIpv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); + } + if (output.ipv6PrefixSet === "") { + contents[_IP] = []; + } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { + contents[_IP] = de_InstanceIpv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); + } + if (output[_cTC] != null) { + contents[_CTC] = de_ConnectionTrackingSpecificationResponse(output[_cTC], context); + } + return contents; +}, "de_InstanceNetworkInterface"); +var de_InstanceNetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cI] != null) { + contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); + } + if (output[_cOI] != null) { + contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); + } + if (output[_iOIp] != null) { + contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]); + } + if (output[_pDNu] != null) { + contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + return contents; +}, "de_InstanceNetworkInterfaceAssociation"); +var de_InstanceNetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aTt] != null) { + contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); + } + if (output[_aIt] != null) { + contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_dIe] != null) { + contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_nCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); + } + if (output[_eSS] != null) { + contents[_ESS] = de_InstanceAttachmentEnaSrdSpecification(output[_eSS], context); + } + return contents; +}, "de_InstanceNetworkInterfaceAttachment"); +var de_InstanceNetworkInterfaceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceNetworkInterface(entry, context); + }); +}, "de_InstanceNetworkInterfaceList"); +var de_InstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aPIA] != null) { + contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_dIe] != null) { + contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); + } + if (output.SecurityGroupId === "") { + contents[_G] = []; + } else if (output[_SGIe] != null && output[_SGIe][_SGIe] != null) { + contents[_G] = de_SecurityGroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_SGIe][_SGIe]), context); + } + if (output[_iAC] != null) { + contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]); + } + if (output.ipv6AddressesSet === "") { + contents[_IA] = []; + } else if (output[_iASp] != null && output[_iASp][_i] != null) { + contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.privateIpAddressesSet === "") { + contents[_PIA] = []; + } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { + contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); + } + if (output[_sPIAC] != null) { + contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_ACIA] != null) { + contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_ACIA]); + } + if (output[_ITn] != null) { + contents[_ITn] = (0, import_smithy_client.expectString)(output[_ITn]); + } + if (output[_NCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_NCI]); + } + if (output.Ipv4Prefix === "") { + contents[_IPp] = []; + } else if (output[_IPpvr] != null && output[_IPpvr][_i] != null) { + contents[_IPp] = de_Ipv4PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvr][_i]), context); + } + if (output[_IPCp] != null) { + contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_IPCp]); + } + if (output.Ipv6Prefix === "") { + contents[_IP] = []; + } else if (output[_IPpvre] != null && output[_IPpvre][_i] != null) { + contents[_IP] = de_Ipv6PrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_IPpvre][_i]), context); + } + if (output[_IPC] != null) { + contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_IPC]); + } + if (output[_PIr] != null) { + contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_PIr]); + } + if (output[_ESS] != null) { + contents[_ESS] = de_EnaSrdSpecificationRequest(output[_ESS], context); + } + if (output[_CTS] != null) { + contents[_CTS] = de_ConnectionTrackingSpecificationRequest(output[_CTS], context); + } + return contents; +}, "de_InstanceNetworkInterfaceSpecification"); +var de_InstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceNetworkInterfaceSpecification(entry, context); + }); +}, "de_InstanceNetworkInterfaceSpecificationList"); +var de_InstancePrivateIpAddress = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_InstanceNetworkInterfaceAssociation(output[_ass], context); + } + if (output[_prim] != null) { + contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + return contents; +}, "de_InstancePrivateIpAddress"); +var de_InstancePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstancePrivateIpAddress(entry, context); + }); +}, "de_InstancePrivateIpAddressList"); +var de_InstanceRequirements = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vCC] != null) { + contents[_VCC] = de_VCpuCountRange(output[_vCC], context); + } + if (output[_mMB] != null) { + contents[_MMB] = de_MemoryMiB(output[_mMB], context); + } + if (output.cpuManufacturerSet === "") { + contents[_CM] = []; + } else if (output[_cMS] != null && output[_cMS][_i] != null) { + contents[_CM] = de_CpuManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cMS][_i]), context); + } + if (output[_mGBPVC] != null) { + contents[_MGBPVC] = de_MemoryGiBPerVCpu(output[_mGBPVC], context); + } + if (output.excludedInstanceTypeSet === "") { + contents[_EIT] = []; + } else if (output[_eITSx] != null && output[_eITSx][_i] != null) { + contents[_EIT] = de_ExcludedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eITSx][_i]), context); + } + if (output.instanceGenerationSet === "") { + contents[_IG] = []; + } else if (output[_iGSn] != null && output[_iGSn][_i] != null) { + contents[_IG] = de_InstanceGenerationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iGSn][_i]), context); + } + if (output[_sMPPOLP] != null) { + contents[_SMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_sMPPOLP]); + } + if (output[_oDMPPOLP] != null) { + contents[_ODMPPOLP] = (0, import_smithy_client.strictParseInt32)(output[_oDMPPOLP]); + } + if (output[_bMa] != null) { + contents[_BMa] = (0, import_smithy_client.expectString)(output[_bMa]); + } + if (output[_bP] != null) { + contents[_BP] = (0, import_smithy_client.expectString)(output[_bP]); + } + if (output[_rHS] != null) { + contents[_RHS] = (0, import_smithy_client.parseBoolean)(output[_rHS]); + } + if (output[_nIC] != null) { + contents[_NIC] = de_NetworkInterfaceCount(output[_nIC], context); + } + if (output[_lSo] != null) { + contents[_LSo] = (0, import_smithy_client.expectString)(output[_lSo]); + } + if (output.localStorageTypeSet === "") { + contents[_LST] = []; + } else if (output[_lSTS] != null && output[_lSTS][_i] != null) { + contents[_LST] = de_LocalStorageTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lSTS][_i]), context); + } + if (output[_tLSGB] != null) { + contents[_TLSGB] = de_TotalLocalStorageGB(output[_tLSGB], context); + } + if (output[_bEBM] != null) { + contents[_BEBM] = de_BaselineEbsBandwidthMbps(output[_bEBM], context); + } + if (output.acceleratorTypeSet === "") { + contents[_ATc] = []; + } else if (output[_aTSc] != null && output[_aTSc][_i] != null) { + contents[_ATc] = de_AcceleratorTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aTSc][_i]), context); + } + if (output[_aCc] != null) { + contents[_ACc] = de_AcceleratorCount(output[_aCc], context); + } + if (output.acceleratorManufacturerSet === "") { + contents[_AM] = []; + } else if (output[_aMS] != null && output[_aMS][_i] != null) { + contents[_AM] = de_AcceleratorManufacturerSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aMS][_i]), context); + } + if (output.acceleratorNameSet === "") { + contents[_ANc] = []; + } else if (output[_aNS] != null && output[_aNS][_i] != null) { + contents[_ANc] = de_AcceleratorNameSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aNS][_i]), context); + } + if (output[_aTMMB] != null) { + contents[_ATMMB] = de_AcceleratorTotalMemoryMiB(output[_aTMMB], context); + } + if (output[_nBGe] != null) { + contents[_NBGe] = de_NetworkBandwidthGbps(output[_nBGe], context); + } + if (output.allowedInstanceTypeSet === "") { + contents[_AIT] = []; + } else if (output[_aITS] != null && output[_aITS][_i] != null) { + contents[_AIT] = de_AllowedInstanceTypeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aITS][_i]), context); + } + if (output[_mSPAPOOODP] != null) { + contents[_MSPAPOOODP] = (0, import_smithy_client.strictParseInt32)(output[_mSPAPOOODP]); + } + return contents; +}, "de_InstanceRequirements"); +var de_InstanceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceTopology(entry, context); + }); +}, "de_InstanceSet"); +var de_InstanceState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.strictParseInt32)(output[_co]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_InstanceState"); +var de_InstanceStateChange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cSu] != null) { + contents[_CSu] = de_InstanceState(output[_cSu], context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_pS] != null) { + contents[_PSr] = de_InstanceState(output[_pS], context); + } + return contents; +}, "de_InstanceStateChange"); +var de_InstanceStateChangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceStateChange(entry, context); + }); +}, "de_InstanceStateChangeList"); +var de_InstanceStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output.eventsSet === "") { + contents[_Ev] = []; + } else if (output[_eSv] != null && output[_eSv][_i] != null) { + contents[_Ev] = de_InstanceStatusEventList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iSnst] != null) { + contents[_ISnst] = de_InstanceState(output[_iSnst], context); + } + if (output[_iSnsta] != null) { + contents[_ISnsta] = de_InstanceStatusSummary(output[_iSnsta], context); + } + if (output[_sSy] != null) { + contents[_SSy] = de_InstanceStatusSummary(output[_sSy], context); + } + return contents; +}, "de_InstanceStatus"); +var de_InstanceStatusDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iSmp] != null) { + contents[_ISmp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_iSmp])); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_InstanceStatusDetails"); +var de_InstanceStatusDetailsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceStatusDetails(entry, context); + }); +}, "de_InstanceStatusDetailsList"); +var de_InstanceStatusEvent = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEI] != null) { + contents[_IEI] = (0, import_smithy_client.expectString)(output[_iEI]); + } + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_nAo] != null) { + contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo])); + } + if (output[_nB] != null) { + contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB])); + } + if (output[_nBD] != null) { + contents[_NBD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nBD])); + } + return contents; +}, "de_InstanceStatusEvent"); +var de_InstanceStatusEventList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceStatusEvent(entry, context); + }); +}, "de_InstanceStatusEventList"); +var de_InstanceStatusList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceStatus(entry, context); + }); +}, "de_InstanceStatusList"); +var de_InstanceStatusSummary = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.details === "") { + contents[_Det] = []; + } else if (output[_det] != null && output[_det][_i] != null) { + contents[_Det] = de_InstanceStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_InstanceStatusSummary"); +var de_InstanceStorageInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tSIGB] != null) { + contents[_TSIGB] = (0, import_smithy_client.strictParseLong)(output[_tSIGB]); + } + if (output.disks === "") { + contents[_Dis] = []; + } else if (output[_dis] != null && output[_dis][_i] != null) { + contents[_Dis] = de_DiskInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_dis][_i]), context); + } + if (output[_nS] != null) { + contents[_NS] = (0, import_smithy_client.expectString)(output[_nS]); + } + if (output[_eSn] != null) { + contents[_ESnc] = (0, import_smithy_client.expectString)(output[_eSn]); + } + return contents; +}, "de_InstanceStorageInfo"); +var de_InstanceTagKeySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceTagKeySet"); +var de_InstanceTagNotificationAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceTagKeySet === "") { + contents[_ITK] = []; + } else if (output[_iTKS] != null && output[_iTKS][_i] != null) { + contents[_ITK] = de_InstanceTagKeySet((0, import_smithy_client.getArrayIfSingleItem)(output[_iTKS][_i]), context); + } + if (output[_iATOI] != null) { + contents[_IATOI] = (0, import_smithy_client.parseBoolean)(output[_iATOI]); + } + return contents; +}, "de_InstanceTagNotificationAttribute"); +var de_InstanceTopology = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output.networkNodeSet === "") { + contents[_NN] = []; + } else if (output[_nNS] != null && output[_nNS][_i] != null) { + contents[_NN] = de_NetworkNodesList((0, import_smithy_client.getArrayIfSingleItem)(output[_nNS][_i]), context); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_zI] != null) { + contents[_ZIo] = (0, import_smithy_client.expectString)(output[_zI]); + } + return contents; +}, "de_InstanceTopology"); +var de_InstanceTypeInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_cGur] != null) { + contents[_CGur] = (0, import_smithy_client.parseBoolean)(output[_cGur]); + } + if (output[_fTE] != null) { + contents[_FTE] = (0, import_smithy_client.parseBoolean)(output[_fTE]); + } + if (output.supportedUsageClasses === "") { + contents[_SUC] = []; + } else if (output[_sUC] != null && output[_sUC][_i] != null) { + contents[_SUC] = de_UsageClassTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sUC][_i]), context); + } + if (output.supportedRootDeviceTypes === "") { + contents[_SRDT] = []; + } else if (output[_sRDT] != null && output[_sRDT][_i] != null) { + contents[_SRDT] = de_RootDeviceTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sRDT][_i]), context); + } + if (output.supportedVirtualizationTypes === "") { + contents[_SVT] = []; + } else if (output[_sVT] != null && output[_sVT][_i] != null) { + contents[_SVT] = de_VirtualizationTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVT][_i]), context); + } + if (output[_bMa] != null) { + contents[_BMa] = (0, import_smithy_client.parseBoolean)(output[_bMa]); + } + if (output[_h] != null) { + contents[_H] = (0, import_smithy_client.expectString)(output[_h]); + } + if (output[_pIr] != null) { + contents[_PIro] = de_ProcessorInfo(output[_pIr], context); + } + if (output[_vCIp] != null) { + contents[_VCIpu] = de_VCpuInfo(output[_vCIp], context); + } + if (output[_mIe] != null) { + contents[_MIe] = de_MemoryInfo(output[_mIe], context); + } + if (output[_iSSn] != null) { + contents[_ISS] = (0, import_smithy_client.parseBoolean)(output[_iSSn]); + } + if (output[_iSI] != null) { + contents[_ISIn] = de_InstanceStorageInfo(output[_iSI], context); + } + if (output[_eIb] != null) { + contents[_EIb] = de_EbsInfo(output[_eIb], context); + } + if (output[_nIet] != null) { + contents[_NIetw] = de_NetworkInfo(output[_nIet], context); + } + if (output[_gIp] != null) { + contents[_GIp] = de_GpuInfo(output[_gIp], context); + } + if (output[_fIp] != null) { + contents[_FIpg] = de_FpgaInfo(output[_fIp], context); + } + if (output[_pGI] != null) { + contents[_PGI] = de_PlacementGroupInfo(output[_pGI], context); + } + if (output[_iAI] != null) { + contents[_IAIn] = de_InferenceAcceleratorInfo(output[_iAI], context); + } + if (output[_hSi] != null) { + contents[_HS] = (0, import_smithy_client.parseBoolean)(output[_hSi]); + } + if (output[_bPS] != null) { + contents[_BPS] = (0, import_smithy_client.parseBoolean)(output[_bPS]); + } + if (output[_dHS] != null) { + contents[_DHS] = (0, import_smithy_client.parseBoolean)(output[_dHS]); + } + if (output[_aRSu] != null) { + contents[_ARS] = (0, import_smithy_client.parseBoolean)(output[_aRSu]); + } + if (output.supportedBootModes === "") { + contents[_SBM] = []; + } else if (output[_sBM] != null && output[_sBM][_i] != null) { + contents[_SBM] = de_BootModeTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sBM][_i]), context); + } + if (output[_nES] != null) { + contents[_NES] = (0, import_smithy_client.expectString)(output[_nES]); + } + if (output[_nTS] != null) { + contents[_NTS] = (0, import_smithy_client.expectString)(output[_nTS]); + } + if (output[_nTI] != null) { + contents[_NTI] = de_NitroTpmInfo(output[_nTI], context); + } + if (output[_mAIe] != null) { + contents[_MAIe] = de_MediaAcceleratorInfo(output[_mAIe], context); + } + if (output[_nIeu] != null) { + contents[_NIeu] = de_NeuronInfo(output[_nIeu], context); + } + return contents; +}, "de_InstanceTypeInfo"); +var de_InstanceTypeInfoFromInstanceRequirements = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + return contents; +}, "de_InstanceTypeInfoFromInstanceRequirements"); +var de_InstanceTypeInfoFromInstanceRequirementsSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceTypeInfoFromInstanceRequirements(entry, context); + }); +}, "de_InstanceTypeInfoFromInstanceRequirementsSet"); +var de_InstanceTypeInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceTypeInfo(entry, context); + }); +}, "de_InstanceTypeInfoList"); +var de_InstanceTypeOffering = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_lTo] != null) { + contents[_LT] = (0, import_smithy_client.expectString)(output[_lTo]); + } + if (output[_lo] != null) { + contents[_Lo] = (0, import_smithy_client.expectString)(output[_lo]); + } + return contents; +}, "de_InstanceTypeOffering"); +var de_InstanceTypeOfferingsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceTypeOffering(entry, context); + }); +}, "de_InstanceTypeOfferingsList"); +var de_InstanceTypesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_InstanceTypesList"); +var de_InstanceUsage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIc] != null) { + contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]); + } + if (output[_uIC] != null) { + contents[_UIC] = (0, import_smithy_client.strictParseInt32)(output[_uIC]); + } + return contents; +}, "de_InstanceUsage"); +var de_InstanceUsageSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceUsage(entry, context); + }); +}, "de_InstanceUsageSet"); +var de_InternetGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.attachmentSet === "") { + contents[_Atta] = []; + } else if (output[_aSt] != null && output[_aSt][_i] != null) { + contents[_Atta] = de_InternetGatewayAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context); + } + if (output[_iGI] != null) { + contents[_IGI] = (0, import_smithy_client.expectString)(output[_iGI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_InternetGateway"); +var de_InternetGatewayAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_InternetGatewayAttachment"); +var de_InternetGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InternetGatewayAttachment(entry, context); + }); +}, "de_InternetGatewayAttachmentList"); +var de_InternetGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InternetGateway(entry, context); + }); +}, "de_InternetGatewayList"); +var de_IpAddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_IpAddressList"); +var de_Ipam = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iIp] != null) { + contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); + } + if (output[_iApa] != null) { + contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); + } + if (output[_iRp] != null) { + contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); + } + if (output[_pDSI] != null) { + contents[_PDSI] = (0, import_smithy_client.expectString)(output[_pDSI]); + } + if (output[_pDSIr] != null) { + contents[_PDSIr] = (0, import_smithy_client.expectString)(output[_pDSIr]); + } + if (output[_sCc] != null) { + contents[_SCc] = (0, import_smithy_client.strictParseInt32)(output[_sCc]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.operatingRegionSet === "") { + contents[_OR] = []; + } else if (output[_oRS] != null && output[_oRS][_i] != null) { + contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_dRDI] != null) { + contents[_DRDI] = (0, import_smithy_client.expectString)(output[_dRDI]); + } + if (output[_dRDAI] != null) { + contents[_DRDAI] = (0, import_smithy_client.expectString)(output[_dRDAI]); + } + if (output[_rDAC] != null) { + contents[_RDAC] = (0, import_smithy_client.strictParseInt32)(output[_rDAC]); + } + if (output[_sMt] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); + } + if (output[_tie] != null) { + contents[_Ti] = (0, import_smithy_client.expectString)(output[_tie]); + } + return contents; +}, "de_Ipam"); +var de_IpamAddressHistoryRecord = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_rR] != null) { + contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rCe] != null) { + contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); + } + if (output[_rNes] != null) { + contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]); + } + if (output[_rCS] != null) { + contents[_RCS] = (0, import_smithy_client.expectString)(output[_rCS]); + } + if (output[_rOSe] != null) { + contents[_ROS] = (0, import_smithy_client.expectString)(output[_rOSe]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_sST] != null) { + contents[_SST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sST])); + } + if (output[_sET] != null) { + contents[_SET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sET])); + } + return contents; +}, "de_IpamAddressHistoryRecord"); +var de_IpamAddressHistoryRecordSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamAddressHistoryRecord(entry, context); + }); +}, "de_IpamAddressHistoryRecordSet"); +var de_IpamDiscoveredAccount = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIc] != null) { + contents[_AIcc] = (0, import_smithy_client.expectString)(output[_aIc]); + } + if (output[_dR] != null) { + contents[_DRi] = (0, import_smithy_client.expectString)(output[_dR]); + } + if (output[_fR] != null) { + contents[_FR] = de_IpamDiscoveryFailureReason(output[_fR], context); + } + if (output[_lADT] != null) { + contents[_LADT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lADT])); + } + if (output[_lSDT] != null) { + contents[_LSDT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lSDT])); + } + return contents; +}, "de_IpamDiscoveredAccount"); +var de_IpamDiscoveredAccountSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamDiscoveredAccount(entry, context); + }); +}, "de_IpamDiscoveredAccountSet"); +var de_IpamDiscoveredPublicAddress = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRDI] != null) { + contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); + } + if (output[_aRd] != null) { + contents[_ARd] = (0, import_smithy_client.expectString)(output[_aRd]); + } + if (output[_ad] != null) { + contents[_Ad] = (0, import_smithy_client.expectString)(output[_ad]); + } + if (output[_aOI] != null) { + contents[_AOI] = (0, import_smithy_client.expectString)(output[_aOI]); + } + if (output[_aAId] != null) { + contents[_AAId] = (0, import_smithy_client.expectString)(output[_aAId]); + } + if (output[_aSs] != null) { + contents[_ASss] = (0, import_smithy_client.expectString)(output[_aSs]); + } + if (output[_aTd] != null) { + contents[_ATddre] = (0, import_smithy_client.expectString)(output[_aTd]); + } + if (output[_se] != null) { + contents[_Se] = (0, import_smithy_client.expectString)(output[_se]); + } + if (output[_sRe] != null) { + contents[_SRe] = (0, import_smithy_client.expectString)(output[_sRe]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_pIPI] != null) { + contents[_PIPI] = (0, import_smithy_client.expectString)(output[_pIPI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_nID] != null) { + contents[_NID] = (0, import_smithy_client.expectString)(output[_nID]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_ta] != null) { + contents[_Ta] = de_IpamPublicAddressTags(output[_ta], context); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output.securityGroupSet === "") { + contents[_SG] = []; + } else if (output[_sGS] != null && output[_sGS][_i] != null) { + contents[_SG] = de_IpamPublicAddressSecurityGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context); + } + if (output[_sTa] != null) { + contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa])); + } + return contents; +}, "de_IpamDiscoveredPublicAddress"); +var de_IpamDiscoveredPublicAddressSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamDiscoveredPublicAddress(entry, context); + }); +}, "de_IpamDiscoveredPublicAddressSet"); +var de_IpamDiscoveredResourceCidr = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRDI] != null) { + contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); + } + if (output[_rR] != null) { + contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_rCe] != null) { + contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output.resourceTagSet === "") { + contents[_RTesou] = []; + } else if (output[_rTSe] != null && output[_rTSe][_i] != null) { + contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context); + } + if (output[_iU] != null) { + contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_sTa] != null) { + contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa])); + } + return contents; +}, "de_IpamDiscoveredResourceCidr"); +var de_IpamDiscoveredResourceCidrSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamDiscoveredResourceCidr(entry, context); + }); +}, "de_IpamDiscoveredResourceCidrSet"); +var de_IpamDiscoveryFailureReason = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_IpamDiscoveryFailureReason"); +var de_IpamOperatingRegion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rNe] != null) { + contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); + } + return contents; +}, "de_IpamOperatingRegion"); +var de_IpamOperatingRegionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamOperatingRegion(entry, context); + }); +}, "de_IpamOperatingRegionSet"); +var de_IpamPool = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iPIp] != null) { + contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]); + } + if (output[_sIPI] != null) { + contents[_SIPI] = (0, import_smithy_client.expectString)(output[_sIPI]); + } + if (output[_iPAp] != null) { + contents[_IPApa] = (0, import_smithy_client.expectString)(output[_iPAp]); + } + if (output[_iSA] != null) { + contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]); + } + if (output[_iST] != null) { + contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]); + } + if (output[_iApa] != null) { + contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); + } + if (output[_iRp] != null) { + contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); + } + if (output[_loc] != null) { + contents[_L] = (0, import_smithy_client.expectString)(output[_loc]); + } + if (output[_pDoo] != null) { + contents[_PDo] = (0, import_smithy_client.strictParseInt32)(output[_pDoo]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sMt] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_aIu] != null) { + contents[_AIu] = (0, import_smithy_client.parseBoolean)(output[_aIu]); + } + if (output[_pAu] != null) { + contents[_PA] = (0, import_smithy_client.parseBoolean)(output[_pAu]); + } + if (output[_aF] != null) { + contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]); + } + if (output[_aMNL] != null) { + contents[_AMNL] = (0, import_smithy_client.strictParseInt32)(output[_aMNL]); + } + if (output[_aMNLl] != null) { + contents[_AMNLl] = (0, import_smithy_client.strictParseInt32)(output[_aMNLl]); + } + if (output[_aDNL] != null) { + contents[_ADNL] = (0, import_smithy_client.strictParseInt32)(output[_aDNL]); + } + if (output.allocationResourceTagSet === "") { + contents[_ARTl] = []; + } else if (output[_aRTS] != null && output[_aRTS][_i] != null) { + contents[_ARTl] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_aRTS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_aSw] != null) { + contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); + } + if (output[_pIS] != null) { + contents[_PIS] = (0, import_smithy_client.expectString)(output[_pIS]); + } + if (output[_sRo] != null) { + contents[_SRo] = de_IpamPoolSourceResource(output[_sRo], context); + } + return contents; +}, "de_IpamPool"); +var de_IpamPoolAllocation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_iPAI] != null) { + contents[_IPAI] = (0, import_smithy_client.expectString)(output[_iPAI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rR] != null) { + contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); + } + if (output[_rO] != null) { + contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); + } + return contents; +}, "de_IpamPoolAllocation"); +var de_IpamPoolAllocationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamPoolAllocation(entry, context); + }); +}, "de_IpamPoolAllocationSet"); +var de_IpamPoolCidr = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_fR] != null) { + contents[_FR] = de_IpamPoolCidrFailureReason(output[_fR], context); + } + if (output[_iPCI] != null) { + contents[_IPCI] = (0, import_smithy_client.expectString)(output[_iPCI]); + } + if (output[_nL] != null) { + contents[_NL] = (0, import_smithy_client.strictParseInt32)(output[_nL]); + } + return contents; +}, "de_IpamPoolCidr"); +var de_IpamPoolCidrFailureReason = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_IpamPoolCidrFailureReason"); +var de_IpamPoolCidrSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamPoolCidr(entry, context); + }); +}, "de_IpamPoolCidrSet"); +var de_IpamPoolSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamPool(entry, context); + }); +}, "de_IpamPoolSet"); +var de_IpamPoolSourceResource = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rR] != null) { + contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); + } + if (output[_rO] != null) { + contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); + } + return contents; +}, "de_IpamPoolSourceResource"); +var de_IpamPublicAddressSecurityGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + return contents; +}, "de_IpamPublicAddressSecurityGroup"); +var de_IpamPublicAddressSecurityGroupList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamPublicAddressSecurityGroup(entry, context); + }); +}, "de_IpamPublicAddressSecurityGroupList"); +var de_IpamPublicAddressTag = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_k] != null) { + contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_IpamPublicAddressTag"); +var de_IpamPublicAddressTagList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamPublicAddressTag(entry, context); + }); +}, "de_IpamPublicAddressTagList"); +var de_IpamPublicAddressTags = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.eipTagSet === "") { + contents[_ETi] = []; + } else if (output[_eTSi] != null && output[_eTSi][_i] != null) { + contents[_ETi] = de_IpamPublicAddressTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_eTSi][_i]), context); + } + return contents; +}, "de_IpamPublicAddressTags"); +var de_IpamResourceCidr = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIp] != null) { + contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); + } + if (output[_iSIp] != null) { + contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]); + } + if (output[_iPIp] != null) { + contents[_IPI] = (0, import_smithy_client.expectString)(output[_iPIp]); + } + if (output[_rR] != null) { + contents[_RRe] = (0, import_smithy_client.expectString)(output[_rR]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rNes] != null) { + contents[_RNes] = (0, import_smithy_client.expectString)(output[_rNes]); + } + if (output[_rCe] != null) { + contents[_RC] = (0, import_smithy_client.expectString)(output[_rCe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output.resourceTagSet === "") { + contents[_RTesou] = []; + } else if (output[_rTSe] != null && output[_rTSe][_i] != null) { + contents[_RTesou] = de_IpamResourceTagList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSe][_i]), context); + } + if (output[_iU] != null) { + contents[_IUp] = (0, import_smithy_client.strictParseFloat)(output[_iU]); + } + if (output[_cSo] != null) { + contents[_CSo] = (0, import_smithy_client.expectString)(output[_cSo]); + } + if (output[_mSa] != null) { + contents[_MSa] = (0, import_smithy_client.expectString)(output[_mSa]); + } + if (output[_oSv] != null) { + contents[_OSv] = (0, import_smithy_client.expectString)(output[_oSv]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_IpamResourceCidr"); +var de_IpamResourceCidrSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamResourceCidr(entry, context); + }); +}, "de_IpamResourceCidrSet"); +var de_IpamResourceDiscovery = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iRDI] != null) { + contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); + } + if (output[_iRDAp] != null) { + contents[_IRDApa] = (0, import_smithy_client.expectString)(output[_iRDAp]); + } + if (output[_iRDR] != null) { + contents[_IRDR] = (0, import_smithy_client.expectString)(output[_iRDR]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.operatingRegionSet === "") { + contents[_OR] = []; + } else if (output[_oRS] != null && output[_oRS][_i] != null) { + contents[_OR] = de_IpamOperatingRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oRS][_i]), context); + } + if (output[_iDs] != null) { + contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_IpamResourceDiscovery"); +var de_IpamResourceDiscoveryAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iRDAI] != null) { + contents[_IRDAIp] = (0, import_smithy_client.expectString)(output[_iRDAI]); + } + if (output[_iRDAA] != null) { + contents[_IRDAA] = (0, import_smithy_client.expectString)(output[_iRDAA]); + } + if (output[_iRDI] != null) { + contents[_IRDI] = (0, import_smithy_client.expectString)(output[_iRDI]); + } + if (output[_iIp] != null) { + contents[_IIp] = (0, import_smithy_client.expectString)(output[_iIp]); + } + if (output[_iApa] != null) { + contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); + } + if (output[_iRp] != null) { + contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); + } + if (output[_iDs] != null) { + contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); + } + if (output[_rDS] != null) { + contents[_RDS] = (0, import_smithy_client.expectString)(output[_rDS]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_IpamResourceDiscoveryAssociation"); +var de_IpamResourceDiscoveryAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamResourceDiscoveryAssociation(entry, context); + }); +}, "de_IpamResourceDiscoveryAssociationSet"); +var de_IpamResourceDiscoverySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamResourceDiscovery(entry, context); + }); +}, "de_IpamResourceDiscoverySet"); +var de_IpamResourceTag = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_k] != null) { + contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_IpamResourceTag"); +var de_IpamResourceTagList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamResourceTag(entry, context); + }); +}, "de_IpamResourceTagList"); +var de_IpamScope = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iSIp] != null) { + contents[_ISI] = (0, import_smithy_client.expectString)(output[_iSIp]); + } + if (output[_iSA] != null) { + contents[_ISA] = (0, import_smithy_client.expectString)(output[_iSA]); + } + if (output[_iApa] != null) { + contents[_IApa] = (0, import_smithy_client.expectString)(output[_iApa]); + } + if (output[_iRp] != null) { + contents[_IRpa] = (0, import_smithy_client.expectString)(output[_iRp]); + } + if (output[_iST] != null) { + contents[_ISTp] = (0, import_smithy_client.expectString)(output[_iST]); + } + if (output[_iDs] != null) { + contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_pCo] != null) { + contents[_PCoo] = (0, import_smithy_client.strictParseInt32)(output[_pCo]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_IpamScope"); +var de_IpamScopeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamScope(entry, context); + }); +}, "de_IpamScopeSet"); +var de_IpamSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipam(entry, context); + }); +}, "de_IpamSet"); +var de_IpPermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fP] != null) { + contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); + } + if (output[_iPpr] != null) { + contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]); + } + if (output.ipRanges === "") { + contents[_IRp] = []; + } else if (output[_iRpa] != null && output[_iRpa][_i] != null) { + contents[_IRp] = de_IpRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpa][_i]), context); + } + if (output.ipv6Ranges === "") { + contents[_IRpv] = []; + } else if (output[_iRpv] != null && output[_iRpv][_i] != null) { + contents[_IRpv] = de_Ipv6RangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpv][_i]), context); + } + if (output.prefixListIds === "") { + contents[_PLIr] = []; + } else if (output[_pLIr] != null && output[_pLIr][_i] != null) { + contents[_PLIr] = de_PrefixListIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_pLIr][_i]), context); + } + if (output[_tPo] != null) { + contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); + } + if (output.groups === "") { + contents[_UIGP] = []; + } else if (output[_gr] != null && output[_gr][_i] != null) { + contents[_UIGP] = de_UserIdGroupPairList((0, import_smithy_client.getArrayIfSingleItem)(output[_gr][_i]), context); + } + return contents; +}, "de_IpPermission"); +var de_IpPermissionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpPermission(entry, context); + }); +}, "de_IpPermissionList"); +var de_IpPrefixList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_IpPrefixList"); +var de_IpRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cIi] != null) { + contents[_CIi] = (0, import_smithy_client.expectString)(output[_cIi]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_IpRange"); +var de_IpRangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpRange(entry, context); + }); +}, "de_IpRangeList"); +var de_IpRanges = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_IpRanges"); +var de_Ipv4PrefixesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv4PrefixSpecification(entry, context); + }); +}, "de_Ipv4PrefixesList"); +var de_Ipv4PrefixList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv4PrefixSpecificationRequest(entry, context); + }); +}, "de_Ipv4PrefixList"); +var de_Ipv4PrefixListResponse = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv4PrefixSpecificationResponse(entry, context); + }); +}, "de_Ipv4PrefixListResponse"); +var de_Ipv4PrefixSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpv] != null) { + contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); + } + return contents; +}, "de_Ipv4PrefixSpecification"); +var de_Ipv4PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_IPpvr] != null) { + contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_IPpvr]); + } + return contents; +}, "de_Ipv4PrefixSpecificationRequest"); +var de_Ipv4PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpv] != null) { + contents[_IPpvr] = (0, import_smithy_client.expectString)(output[_iPpv]); + } + return contents; +}, "de_Ipv4PrefixSpecificationResponse"); +var de_Ipv6AddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_Ipv6AddressList"); +var de_Ipv6CidrAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCp] != null) { + contents[_ICp] = (0, import_smithy_client.expectString)(output[_iCp]); + } + if (output[_aRs] != null) { + contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); + } + return contents; +}, "de_Ipv6CidrAssociation"); +var de_Ipv6CidrAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6CidrAssociation(entry, context); + }); +}, "de_Ipv6CidrAssociationSet"); +var de_Ipv6CidrBlock = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iCB] != null) { + contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); + } + return contents; +}, "de_Ipv6CidrBlock"); +var de_Ipv6CidrBlockSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6CidrBlock(entry, context); + }); +}, "de_Ipv6CidrBlockSet"); +var de_Ipv6Pool = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.poolCidrBlockSet === "") { + contents[_PCBo] = []; + } else if (output[_pCBS] != null && output[_pCBS][_i] != null) { + contents[_PCBo] = de_PoolCidrBlocksSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pCBS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_Ipv6Pool"); +var de_Ipv6PoolSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6Pool(entry, context); + }); +}, "de_Ipv6PoolSet"); +var de_Ipv6PrefixesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6PrefixSpecification(entry, context); + }); +}, "de_Ipv6PrefixesList"); +var de_Ipv6PrefixList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6PrefixSpecificationRequest(entry, context); + }); +}, "de_Ipv6PrefixList"); +var de_Ipv6PrefixListResponse = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6PrefixSpecificationResponse(entry, context); + }); +}, "de_Ipv6PrefixListResponse"); +var de_Ipv6PrefixSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpvr] != null) { + contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); + } + return contents; +}, "de_Ipv6PrefixSpecification"); +var de_Ipv6PrefixSpecificationRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_IPpvre] != null) { + contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_IPpvre]); + } + return contents; +}, "de_Ipv6PrefixSpecificationRequest"); +var de_Ipv6PrefixSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPpvr] != null) { + contents[_IPpvre] = (0, import_smithy_client.expectString)(output[_iPpvr]); + } + return contents; +}, "de_Ipv6PrefixSpecificationResponse"); +var de_Ipv6Range = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cIid] != null) { + contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_Ipv6Range"); +var de_Ipv6RangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Ipv6Range(entry, context); + }); +}, "de_Ipv6RangeList"); +var de_KeyPair = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kFe] != null) { + contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]); + } + if (output[_kM] != null) { + contents[_KM] = (0, import_smithy_client.expectString)(output[_kM]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_kPI] != null) { + contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_KeyPair"); +var de_KeyPairInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kPI] != null) { + contents[_KPI] = (0, import_smithy_client.expectString)(output[_kPI]); + } + if (output[_kFe] != null) { + contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_kT] != null) { + contents[_KT] = (0, import_smithy_client.expectString)(output[_kT]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_pK] != null) { + contents[_PK] = (0, import_smithy_client.expectString)(output[_pK]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + return contents; +}, "de_KeyPairInfo"); +var de_KeyPairList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_KeyPairInfo(entry, context); + }); +}, "de_KeyPairList"); +var de_LastError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + return contents; +}, "de_LastError"); +var de_LaunchPermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_g] != null) { + contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); + } + if (output[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + if (output[_oAr] != null) { + contents[_OAr] = (0, import_smithy_client.expectString)(output[_oAr]); + } + if (output[_oUA] != null) { + contents[_OUA] = (0, import_smithy_client.expectString)(output[_oUA]); + } + return contents; +}, "de_LaunchPermission"); +var de_LaunchPermissionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchPermission(entry, context); + }); +}, "de_LaunchPermissionList"); +var de_LaunchSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_uDs] != null) { + contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]); + } + if (output.groupSet === "") { + contents[_SG] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_aTdd] != null) { + contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]); + } + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_iIP] != null) { + contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output.networkInterfaceSet === "") { + contents[_NI] = []; + } else if (output[_nIS] != null && output[_nIS][_i] != null) { + contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); + } + if (output[_pla] != null) { + contents[_Pl] = de_SpotPlacement(output[_pla], context); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_mo] != null) { + contents[_Mon] = de_RunInstancesMonitoringEnabled(output[_mo], context); + } + return contents; +}, "de_LaunchSpecification"); +var de_LaunchSpecsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotFleetLaunchSpecification(entry, context); + }); +}, "de_LaunchSpecsList"); +var de_LaunchTemplate = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_cBr] != null) { + contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]); + } + if (output[_dVN] != null) { + contents[_DVN] = (0, import_smithy_client.strictParseLong)(output[_dVN]); + } + if (output[_lVN] != null) { + contents[_LVN] = (0, import_smithy_client.strictParseLong)(output[_lVN]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LaunchTemplate"); +var de_LaunchTemplateAndOverridesResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTS] != null) { + contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); + } + if (output[_ov] != null) { + contents[_Ov] = de_FleetLaunchTemplateOverrides(output[_ov], context); + } + return contents; +}, "de_LaunchTemplateAndOverridesResponse"); +var de_LaunchTemplateBlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); + } + if (output[_vN] != null) { + contents[_VN] = (0, import_smithy_client.expectString)(output[_vN]); + } + if (output[_eb] != null) { + contents[_E] = de_LaunchTemplateEbsBlockDevice(output[_eb], context); + } + if (output[_nD] != null) { + contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]); + } + return contents; +}, "de_LaunchTemplateBlockDeviceMapping"); +var de_LaunchTemplateBlockDeviceMappingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateBlockDeviceMapping(entry, context); + }); +}, "de_LaunchTemplateBlockDeviceMappingList"); +var de_LaunchTemplateCapacityReservationSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRP] != null) { + contents[_CRP] = (0, import_smithy_client.expectString)(output[_cRP]); + } + if (output[_cRT] != null) { + contents[_CRTa] = de_CapacityReservationTargetResponse(output[_cRT], context); + } + return contents; +}, "de_LaunchTemplateCapacityReservationSpecificationResponse"); +var de_LaunchTemplateConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTS] != null) { + contents[_LTS] = de_FleetLaunchTemplateSpecification(output[_lTS], context); + } + if (output.overrides === "") { + contents[_Ov] = []; + } else if (output[_ov] != null && output[_ov][_i] != null) { + contents[_Ov] = de_LaunchTemplateOverridesList((0, import_smithy_client.getArrayIfSingleItem)(output[_ov][_i]), context); + } + return contents; +}, "de_LaunchTemplateConfig"); +var de_LaunchTemplateConfigList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateConfig(entry, context); + }); +}, "de_LaunchTemplateConfigList"); +var de_LaunchTemplateCpuOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cCo] != null) { + contents[_CC] = (0, import_smithy_client.strictParseInt32)(output[_cCo]); + } + if (output[_tPC] != null) { + contents[_TPC] = (0, import_smithy_client.strictParseInt32)(output[_tPC]); + } + if (output[_aSS] != null) { + contents[_ASS] = (0, import_smithy_client.expectString)(output[_aSS]); + } + return contents; +}, "de_LaunchTemplateCpuOptions"); +var de_LaunchTemplateEbsBlockDevice = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_io] != null) { + contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + if (output[_vT] != null) { + contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); + } + if (output[_th] != null) { + contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); + } + return contents; +}, "de_LaunchTemplateEbsBlockDevice"); +var de_LaunchTemplateElasticInferenceAcceleratorResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + return contents; +}, "de_LaunchTemplateElasticInferenceAcceleratorResponse"); +var de_LaunchTemplateElasticInferenceAcceleratorResponseList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateElasticInferenceAcceleratorResponse(entry, context); + }); +}, "de_LaunchTemplateElasticInferenceAcceleratorResponseList"); +var de_LaunchTemplateEnaSrdSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSE] != null) { + contents[_ESE] = (0, import_smithy_client.parseBoolean)(output[_eSE]); + } + if (output[_eSUS] != null) { + contents[_ESUS] = de_LaunchTemplateEnaSrdUdpSpecification(output[_eSUS], context); + } + return contents; +}, "de_LaunchTemplateEnaSrdSpecification"); +var de_LaunchTemplateEnaSrdUdpSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eSUE] != null) { + contents[_ESUE] = (0, import_smithy_client.parseBoolean)(output[_eSUE]); + } + return contents; +}, "de_LaunchTemplateEnaSrdUdpSpecification"); +var de_LaunchTemplateEnclaveOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + return contents; +}, "de_LaunchTemplateEnclaveOptions"); +var de_LaunchTemplateHibernationOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_conf] != null) { + contents[_Conf] = (0, import_smithy_client.parseBoolean)(output[_conf]); + } + return contents; +}, "de_LaunchTemplateHibernationOptions"); +var de_LaunchTemplateIamInstanceProfileSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_LaunchTemplateIamInstanceProfileSpecification"); +var de_LaunchTemplateInstanceMaintenanceOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aRu] != null) { + contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); + } + return contents; +}, "de_LaunchTemplateInstanceMaintenanceOptions"); +var de_LaunchTemplateInstanceMarketOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mT] != null) { + contents[_MT] = (0, import_smithy_client.expectString)(output[_mT]); + } + if (output[_sO] != null) { + contents[_SO] = de_LaunchTemplateSpotMarketOptions(output[_sO], context); + } + return contents; +}, "de_LaunchTemplateInstanceMarketOptions"); +var de_LaunchTemplateInstanceMetadataOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_hT] != null) { + contents[_HT] = (0, import_smithy_client.expectString)(output[_hT]); + } + if (output[_hPRHL] != null) { + contents[_HPRHL] = (0, import_smithy_client.strictParseInt32)(output[_hPRHL]); + } + if (output[_hE] != null) { + contents[_HE] = (0, import_smithy_client.expectString)(output[_hE]); + } + if (output[_hPI] != null) { + contents[_HPI] = (0, import_smithy_client.expectString)(output[_hPI]); + } + if (output[_iMT] != null) { + contents[_IMT] = (0, import_smithy_client.expectString)(output[_iMT]); + } + return contents; +}, "de_LaunchTemplateInstanceMetadataOptions"); +var de_LaunchTemplateInstanceNetworkInterfaceSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aCIA] != null) { + contents[_ACIA] = (0, import_smithy_client.parseBoolean)(output[_aCIA]); + } + if (output[_aPIA] != null) { + contents[_APIAs] = (0, import_smithy_client.parseBoolean)(output[_aPIA]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_dIe] != null) { + contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); + } + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_gIr] != null) { + contents[_G] = de_GroupIdStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_gIr]), context); + } + if (output[_iTnt] != null) { + contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); + } + if (output[_iAC] != null) { + contents[_IAC] = (0, import_smithy_client.strictParseInt32)(output[_iAC]); + } + if (output.ipv6AddressesSet === "") { + contents[_IA] = []; + } else if (output[_iASp] != null && output[_iASp][_i] != null) { + contents[_IA] = de_InstanceIpv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.privateIpAddressesSet === "") { + contents[_PIA] = []; + } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { + contents[_PIA] = de_PrivateIpAddressSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); + } + if (output[_sPIAC] != null) { + contents[_SPIAC] = (0, import_smithy_client.strictParseInt32)(output[_sPIAC]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_nCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); + } + if (output.ipv4PrefixSet === "") { + contents[_IPp] = []; + } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { + contents[_IPp] = de_Ipv4PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); + } + if (output[_iPCp] != null) { + contents[_IPCp] = (0, import_smithy_client.strictParseInt32)(output[_iPCp]); + } + if (output.ipv6PrefixSet === "") { + contents[_IP] = []; + } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { + contents[_IP] = de_Ipv6PrefixListResponse((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); + } + if (output[_iPCpv] != null) { + contents[_IPC] = (0, import_smithy_client.strictParseInt32)(output[_iPCpv]); + } + if (output[_pIri] != null) { + contents[_PIr] = (0, import_smithy_client.parseBoolean)(output[_pIri]); + } + if (output[_eSS] != null) { + contents[_ESS] = de_LaunchTemplateEnaSrdSpecification(output[_eSS], context); + } + if (output[_cTS] != null) { + contents[_CTS] = de_ConnectionTrackingSpecification(output[_cTS], context); + } + return contents; +}, "de_LaunchTemplateInstanceNetworkInterfaceSpecification"); +var de_LaunchTemplateInstanceNetworkInterfaceSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateInstanceNetworkInterfaceSpecification(entry, context); + }); +}, "de_LaunchTemplateInstanceNetworkInterfaceSpecificationList"); +var de_LaunchTemplateLicenseConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lCA] != null) { + contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); + } + return contents; +}, "de_LaunchTemplateLicenseConfiguration"); +var de_LaunchTemplateLicenseList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateLicenseConfiguration(entry, context); + }); +}, "de_LaunchTemplateLicenseList"); +var de_LaunchTemplateOverrides = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_wC] != null) { + contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]); + } + if (output[_pri] != null) { + contents[_Pri] = (0, import_smithy_client.strictParseFloat)(output[_pri]); + } + if (output[_iR] != null) { + contents[_IR] = de_InstanceRequirements(output[_iR], context); + } + return contents; +}, "de_LaunchTemplateOverrides"); +var de_LaunchTemplateOverridesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateOverrides(entry, context); + }); +}, "de_LaunchTemplateOverridesList"); +var de_LaunchTemplatePlacement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_af] != null) { + contents[_Af] = (0, import_smithy_client.expectString)(output[_af]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_hI] != null) { + contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + if (output[_sDp] != null) { + contents[_SD] = (0, import_smithy_client.expectString)(output[_sDp]); + } + if (output[_hRGA] != null) { + contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]); + } + if (output[_pN] != null) { + contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + return contents; +}, "de_LaunchTemplatePlacement"); +var de_LaunchTemplatePrivateDnsNameOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hTo] != null) { + contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); + } + if (output[_eRNDAR] != null) { + contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); + } + if (output[_eRNDAAAAR] != null) { + contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); + } + return contents; +}, "de_LaunchTemplatePrivateDnsNameOptions"); +var de_LaunchTemplateSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplate(entry, context); + }); +}, "de_LaunchTemplateSet"); +var de_LaunchTemplatesMonitoring = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + return contents; +}, "de_LaunchTemplatesMonitoring"); +var de_LaunchTemplateSpotMarketOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mP] != null) { + contents[_MPa] = (0, import_smithy_client.expectString)(output[_mP]); + } + if (output[_sIT] != null) { + contents[_SIT] = (0, import_smithy_client.expectString)(output[_sIT]); + } + if (output[_bDMl] != null) { + contents[_BDMl] = (0, import_smithy_client.strictParseInt32)(output[_bDMl]); + } + if (output[_vU] != null) { + contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); + } + if (output[_iIB] != null) { + contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]); + } + return contents; +}, "de_LaunchTemplateSpotMarketOptions"); +var de_LaunchTemplateTagSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LaunchTemplateTagSpecification"); +var de_LaunchTemplateTagSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateTagSpecification(entry, context); + }); +}, "de_LaunchTemplateTagSpecificationList"); +var de_LaunchTemplateVersion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lTI] != null) { + contents[_LTI] = (0, import_smithy_client.expectString)(output[_lTI]); + } + if (output[_lTN] != null) { + contents[_LTN] = (0, import_smithy_client.expectString)(output[_lTN]); + } + if (output[_vNe] != null) { + contents[_VNe] = (0, import_smithy_client.strictParseLong)(output[_vNe]); + } + if (output[_vD] != null) { + contents[_VD] = (0, import_smithy_client.expectString)(output[_vD]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_cBr] != null) { + contents[_CBr] = (0, import_smithy_client.expectString)(output[_cBr]); + } + if (output[_dVe] != null) { + contents[_DVef] = (0, import_smithy_client.parseBoolean)(output[_dVe]); + } + if (output[_lTD] != null) { + contents[_LTD] = de_ResponseLaunchTemplateData(output[_lTD], context); + } + return contents; +}, "de_LaunchTemplateVersion"); +var de_LaunchTemplateVersionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LaunchTemplateVersion(entry, context); + }); +}, "de_LaunchTemplateVersionSet"); +var de_LicenseConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lCA] != null) { + contents[_LCA] = (0, import_smithy_client.expectString)(output[_lCA]); + } + return contents; +}, "de_LicenseConfiguration"); +var de_LicenseList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LicenseConfiguration(entry, context); + }); +}, "de_LicenseList"); +var de_ListImagesInRecycleBinResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.imageSet === "") { + contents[_Ima] = []; + } else if (output[_iSmag] != null && output[_iSmag][_i] != null) { + contents[_Ima] = de_ImageRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSmag][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_ListImagesInRecycleBinResult"); +var de_ListSnapshotsInRecycleBinResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.snapshotSet === "") { + contents[_Sn] = []; + } else if (output[_sS] != null && output[_sS][_i] != null) { + contents[_Sn] = de_SnapshotRecycleBinInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_sS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_ListSnapshotsInRecycleBinResult"); +var de_LoadBalancersConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cLBC] != null) { + contents[_CLBC] = de_ClassicLoadBalancersConfig(output[_cLBC], context); + } + if (output[_tGCa] != null) { + contents[_TGC] = de_TargetGroupsConfig(output[_tGCa], context); + } + return contents; +}, "de_LoadBalancersConfig"); +var de_LoadPermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + if (output[_g] != null) { + contents[_Gr] = (0, import_smithy_client.expectString)(output[_g]); + } + return contents; +}, "de_LoadPermission"); +var de_LoadPermissionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LoadPermission(entry, context); + }); +}, "de_LoadPermissionList"); +var de_LocalGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LocalGateway"); +var de_LocalGatewayRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_lGVIGI] != null) { + contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output[_lGRTA] != null) { + contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_cPI] != null) { + contents[_CPIo] = (0, import_smithy_client.expectString)(output[_cPI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_dPLI] != null) { + contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); + } + return contents; +}, "de_LocalGatewayRoute"); +var de_LocalGatewayRouteList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayRoute(entry, context); + }); +}, "de_LocalGatewayRouteList"); +var de_LocalGatewayRouteTable = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output[_lGRTA] != null) { + contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_mod] != null) { + contents[_Mo] = (0, import_smithy_client.expectString)(output[_mod]); + } + if (output[_sR] != null) { + contents[_SRt] = de_StateReason(output[_sR], context); + } + return contents; +}, "de_LocalGatewayRouteTable"); +var de_LocalGatewayRouteTableSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayRouteTable(entry, context); + }); +}, "de_LocalGatewayRouteTableSet"); +var de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVIGAI] != null) { + contents[_LGRTVIGAI] = (0, import_smithy_client.expectString)(output[_lGRTVIGAI]); + } + if (output[_lGVIGI] != null) { + contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output[_lGRTA] != null) { + contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation"); +var de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayRouteTableVirtualInterfaceGroupAssociation(entry, context); + }); +}, "de_LocalGatewayRouteTableVirtualInterfaceGroupAssociationSet"); +var de_LocalGatewayRouteTableVpcAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGRTVAI] != null) { + contents[_LGRTVAI] = (0, import_smithy_client.expectString)(output[_lGRTVAI]); + } + if (output[_lGRTI] != null) { + contents[_LGRTI] = (0, import_smithy_client.expectString)(output[_lGRTI]); + } + if (output[_lGRTA] != null) { + contents[_LGRTA] = (0, import_smithy_client.expectString)(output[_lGRTA]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LocalGatewayRouteTableVpcAssociation"); +var de_LocalGatewayRouteTableVpcAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayRouteTableVpcAssociation(entry, context); + }); +}, "de_LocalGatewayRouteTableVpcAssociationSet"); +var de_LocalGatewaySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGateway(entry, context); + }); +}, "de_LocalGatewaySet"); +var de_LocalGatewayVirtualInterface = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGVII] != null) { + contents[_LGVIIo] = (0, import_smithy_client.expectString)(output[_lGVII]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_vl] != null) { + contents[_Vl] = (0, import_smithy_client.strictParseInt32)(output[_vl]); + } + if (output[_lA] != null) { + contents[_LA] = (0, import_smithy_client.expectString)(output[_lA]); + } + if (output[_pAe] != null) { + contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); + } + if (output[_lBAo] != null) { + contents[_LBAo] = (0, import_smithy_client.strictParseInt32)(output[_lBAo]); + } + if (output[_pBA] != null) { + contents[_PBA] = (0, import_smithy_client.strictParseInt32)(output[_pBA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LocalGatewayVirtualInterface"); +var de_LocalGatewayVirtualInterfaceGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lGVIGI] != null) { + contents[_LGVIGI] = (0, import_smithy_client.expectString)(output[_lGVIGI]); + } + if (output.localGatewayVirtualInterfaceIdSet === "") { + contents[_LGVII] = []; + } else if (output[_lGVIIS] != null && output[_lGVIIS][_i] != null) { + contents[_LGVII] = de_LocalGatewayVirtualInterfaceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_lGVIIS][_i]), context); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_LocalGatewayVirtualInterfaceGroup"); +var de_LocalGatewayVirtualInterfaceGroupSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayVirtualInterfaceGroup(entry, context); + }); +}, "de_LocalGatewayVirtualInterfaceGroupSet"); +var de_LocalGatewayVirtualInterfaceIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_LocalGatewayVirtualInterfaceIdSet"); +var de_LocalGatewayVirtualInterfaceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LocalGatewayVirtualInterface(entry, context); + }); +}, "de_LocalGatewayVirtualInterfaceSet"); +var de_LocalStorageTypeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_LocalStorageTypeSet"); +var de_LockedSnapshotsInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_lSoc] != null) { + contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]); + } + if (output[_lDo] != null) { + contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]); + } + if (output[_cOP] != null) { + contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]); + } + if (output[_cOPEO] != null) { + contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO])); + } + if (output[_lCO] != null) { + contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO])); + } + if (output[_lDST] != null) { + contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST])); + } + if (output[_lEO] != null) { + contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO])); + } + return contents; +}, "de_LockedSnapshotsInfo"); +var de_LockedSnapshotsInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_LockedSnapshotsInfo(entry, context); + }); +}, "de_LockedSnapshotsInfoList"); +var de_LockSnapshotResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_lSoc] != null) { + contents[_LSoc] = (0, import_smithy_client.expectString)(output[_lSoc]); + } + if (output[_lDo] != null) { + contents[_LDo] = (0, import_smithy_client.strictParseInt32)(output[_lDo]); + } + if (output[_cOP] != null) { + contents[_COP] = (0, import_smithy_client.strictParseInt32)(output[_cOP]); + } + if (output[_cOPEO] != null) { + contents[_COPEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cOPEO])); + } + if (output[_lCO] != null) { + contents[_LCO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lCO])); + } + if (output[_lEO] != null) { + contents[_LEO] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lEO])); + } + if (output[_lDST] != null) { + contents[_LDST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lDST])); + } + return contents; +}, "de_LockSnapshotResult"); +var de_MacHost = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hI] != null) { + contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); + } + if (output.macOSLatestSupportedVersionSet === "") { + contents[_MOSLSV] = []; + } else if (output[_mOSLSVS] != null && output[_mOSLSVS][_i] != null) { + contents[_MOSLSV] = de_MacOSVersionStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_mOSLSVS][_i]), context); + } + return contents; +}, "de_MacHost"); +var de_MacHostList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_MacHost(entry, context); + }); +}, "de_MacHostList"); +var de_MacOSVersionStringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_MacOSVersionStringList"); +var de_MaintenanceDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pM] != null) { + contents[_PM] = (0, import_smithy_client.expectString)(output[_pM]); + } + if (output[_mAAA] != null) { + contents[_MAAA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_mAAA])); + } + if (output[_lMA] != null) { + contents[_LMA] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lMA])); + } + return contents; +}, "de_MaintenanceDetails"); +var de_ManagedPrefixList = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_aF] != null) { + contents[_AF] = (0, import_smithy_client.expectString)(output[_aF]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sMt] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sMt]); + } + if (output[_pLA] != null) { + contents[_PLAr] = (0, import_smithy_client.expectString)(output[_pLA]); + } + if (output[_pLN] != null) { + contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]); + } + if (output[_mE] != null) { + contents[_ME] = (0, import_smithy_client.strictParseInt32)(output[_mE]); + } + if (output[_ve] != null) { + contents[_V] = (0, import_smithy_client.strictParseLong)(output[_ve]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + return contents; +}, "de_ManagedPrefixList"); +var de_ManagedPrefixListSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ManagedPrefixList(entry, context); + }); +}, "de_ManagedPrefixListSet"); +var de_MediaAcceleratorInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.accelerators === "") { + contents[_Acc] = []; + } else if (output[_acc] != null && output[_acc][_i] != null) { + contents[_Acc] = de_MediaDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_acc][_i]), context); + } + if (output[_tMMIMB] != null) { + contents[_TMMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tMMIMB]); + } + return contents; +}, "de_MediaAcceleratorInfo"); +var de_MediaDeviceInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_man] != null) { + contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); + } + if (output[_mIe] != null) { + contents[_MIe] = de_MediaDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}, "de_MediaDeviceInfo"); +var de_MediaDeviceInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_MediaDeviceInfo(entry, context); + }); +}, "de_MediaDeviceInfoList"); +var de_MediaDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); + } + return contents; +}, "de_MediaDeviceMemoryInfo"); +var de_MemoryGiBPerVCpu = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); + } + return contents; +}, "de_MemoryGiBPerVCpu"); +var de_MemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseLong)(output[_sIMB]); + } + return contents; +}, "de_MemoryInfo"); +var de_MemoryMiB = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_MemoryMiB"); +var de_MetricPoint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sD] != null) { + contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.strictParseFloat)(output[_v]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_MetricPoint"); +var de_MetricPoints = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_MetricPoint(entry, context); + }); +}, "de_MetricPoints"); +var de_ModifyAddressAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ad] != null) { + contents[_Ad] = de_AddressAttribute(output[_ad], context); + } + return contents; +}, "de_ModifyAddressAttributeResult"); +var de_ModifyAvailabilityZoneGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyAvailabilityZoneGroupResult"); +var de_ModifyCapacityReservationFleetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyCapacityReservationFleetResult"); +var de_ModifyCapacityReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyCapacityReservationResult"); +var de_ModifyClientVpnEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyClientVpnEndpointResult"); +var de_ModifyDefaultCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iFCS] != null) { + contents[_IFCS] = de_InstanceFamilyCreditSpecification(output[_iFCS], context); + } + return contents; +}, "de_ModifyDefaultCreditSpecificationResult"); +var de_ModifyEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + return contents; +}, "de_ModifyEbsDefaultKmsKeyIdResult"); +var de_ModifyFleetResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyFleetResult"); +var de_ModifyFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fIA] != null) { + contents[_FIAp] = de_FpgaImageAttribute(output[_fIA], context); + } + return contents; +}, "de_ModifyFpgaImageAttributeResult"); +var de_ModifyHostsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successful === "") { + contents[_Suc] = []; + } else if (output[_suc] != null && output[_suc][_i] != null) { + contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); + } + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_ModifyHostsResult"); +var de_ModifyInstanceCapacityReservationAttributesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyInstanceCapacityReservationAttributesResult"); +var de_ModifyInstanceCreditSpecificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successfulInstanceCreditSpecificationSet === "") { + contents[_SICS] = []; + } else if (output[_sICSS] != null && output[_sICSS][_i] != null) { + contents[_SICS] = de_SuccessfulInstanceCreditSpecificationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sICSS][_i]), context); + } + if (output.unsuccessfulInstanceCreditSpecificationSet === "") { + contents[_UICS] = []; + } else if (output[_uICSS] != null && output[_uICSS][_i] != null) { + contents[_UICS] = de_UnsuccessfulInstanceCreditSpecificationSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_uICSS][_i]), + context + ); + } + return contents; +}, "de_ModifyInstanceCreditSpecificationResult"); +var de_ModifyInstanceEventStartTimeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ev] != null) { + contents[_Eve] = de_InstanceStatusEvent(output[_ev], context); + } + return contents; +}, "de_ModifyInstanceEventStartTimeResult"); +var de_ModifyInstanceEventWindowResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iEW] != null) { + contents[_IEW] = de_InstanceEventWindow(output[_iEW], context); + } + return contents; +}, "de_ModifyInstanceEventWindowResult"); +var de_ModifyInstanceMaintenanceOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_aRu] != null) { + contents[_ARu] = (0, import_smithy_client.expectString)(output[_aRu]); + } + return contents; +}, "de_ModifyInstanceMaintenanceOptionsResult"); +var de_ModifyInstanceMetadataDefaultsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyInstanceMetadataDefaultsResult"); +var de_ModifyInstanceMetadataOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iMO] != null) { + contents[_IMOn] = de_InstanceMetadataOptionsResponse(output[_iMO], context); + } + return contents; +}, "de_ModifyInstanceMetadataOptionsResult"); +var de_ModifyInstancePlacementResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyInstancePlacementResult"); +var de_ModifyIpamPoolResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPp] != null) { + contents[_IPpa] = de_IpamPool(output[_iPp], context); + } + return contents; +}, "de_ModifyIpamPoolResult"); +var de_ModifyIpamResourceCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRC] != null) { + contents[_IRCp] = de_IpamResourceCidr(output[_iRC], context); + } + return contents; +}, "de_ModifyIpamResourceCidrResult"); +var de_ModifyIpamResourceDiscoveryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iRD] != null) { + contents[_IRD] = de_IpamResourceDiscovery(output[_iRD], context); + } + return contents; +}, "de_ModifyIpamResourceDiscoveryResult"); +var de_ModifyIpamResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ip] != null) { + contents[_Ipa] = de_Ipam(output[_ip], context); + } + return contents; +}, "de_ModifyIpamResult"); +var de_ModifyIpamScopeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iS] != null) { + contents[_ISpa] = de_IpamScope(output[_iS], context); + } + return contents; +}, "de_ModifyIpamScopeResult"); +var de_ModifyLaunchTemplateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lT] != null) { + contents[_LTa] = de_LaunchTemplate(output[_lT], context); + } + return contents; +}, "de_ModifyLaunchTemplateResult"); +var de_ModifyLocalGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_LocalGatewayRoute(output[_ro], context); + } + return contents; +}, "de_ModifyLocalGatewayRouteResult"); +var de_ModifyManagedPrefixListResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pL] != null) { + contents[_PLr] = de_ManagedPrefixList(output[_pL], context); + } + return contents; +}, "de_ModifyManagedPrefixListResult"); +var de_ModifyPrivateDnsNameOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyPrivateDnsNameOptionsResult"); +var de_ModifyReservedInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rIMI] != null) { + contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]); + } + return contents; +}, "de_ModifyReservedInstancesResult"); +var de_ModifySecurityGroupRulesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifySecurityGroupRulesResult"); +var de_ModifySnapshotTierResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_tST] != null) { + contents[_TST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tST])); + } + return contents; +}, "de_ModifySnapshotTierResult"); +var de_ModifySpotFleetRequestResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifySpotFleetRequestResponse"); +var de_ModifyTrafficMirrorFilterNetworkServicesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMF] != null) { + contents[_TMF] = de_TrafficMirrorFilter(output[_tMF], context); + } + return contents; +}, "de_ModifyTrafficMirrorFilterNetworkServicesResult"); +var de_ModifyTrafficMirrorFilterRuleResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFR] != null) { + contents[_TMFR] = de_TrafficMirrorFilterRule(output[_tMFR], context); + } + return contents; +}, "de_ModifyTrafficMirrorFilterRuleResult"); +var de_ModifyTrafficMirrorSessionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMS] != null) { + contents[_TMS] = de_TrafficMirrorSession(output[_tMS], context); + } + return contents; +}, "de_ModifyTrafficMirrorSessionResult"); +var de_ModifyTransitGatewayPrefixListReferenceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPLR] != null) { + contents[_TGPLR] = de_TransitGatewayPrefixListReference(output[_tGPLR], context); + } + return contents; +}, "de_ModifyTransitGatewayPrefixListReferenceResult"); +var de_ModifyTransitGatewayResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tG] != null) { + contents[_TGr] = de_TransitGateway(output[_tG], context); + } + return contents; +}, "de_ModifyTransitGatewayResult"); +var de_ModifyTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGVA] != null) { + contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); + } + return contents; +}, "de_ModifyTransitGatewayVpcAttachmentResult"); +var de_ModifyVerifiedAccessEndpointPolicyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pE] != null) { + contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); + } + if (output[_pDo] != null) { + contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); + } + if (output[_sSs] != null) { + contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); + } + return contents; +}, "de_ModifyVerifiedAccessEndpointPolicyResult"); +var de_ModifyVerifiedAccessEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAE] != null) { + contents[_VAE] = de_VerifiedAccessEndpoint(output[_vAE], context); + } + return contents; +}, "de_ModifyVerifiedAccessEndpointResult"); +var de_ModifyVerifiedAccessGroupPolicyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pE] != null) { + contents[_PE] = (0, import_smithy_client.parseBoolean)(output[_pE]); + } + if (output[_pDo] != null) { + contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); + } + if (output[_sSs] != null) { + contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); + } + return contents; +}, "de_ModifyVerifiedAccessGroupPolicyResult"); +var de_ModifyVerifiedAccessGroupResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAG] != null) { + contents[_VAG] = de_VerifiedAccessGroup(output[_vAG], context); + } + return contents; +}, "de_ModifyVerifiedAccessGroupResult"); +var de_ModifyVerifiedAccessInstanceLoggingConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_lC] != null) { + contents[_LCo] = de_VerifiedAccessInstanceLoggingConfiguration(output[_lC], context); + } + return contents; +}, "de_ModifyVerifiedAccessInstanceLoggingConfigurationResult"); +var de_ModifyVerifiedAccessInstanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAI] != null) { + contents[_VAI] = de_VerifiedAccessInstance(output[_vAI], context); + } + return contents; +}, "de_ModifyVerifiedAccessInstanceResult"); +var de_ModifyVerifiedAccessTrustProviderResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATP] != null) { + contents[_VATP] = de_VerifiedAccessTrustProvider(output[_vATP], context); + } + return contents; +}, "de_ModifyVerifiedAccessTrustProviderResult"); +var de_ModifyVolumeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vM] != null) { + contents[_VMo] = de_VolumeModification(output[_vM], context); + } + return contents; +}, "de_ModifyVolumeResult"); +var de_ModifyVpcEndpointConnectionNotificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcEndpointConnectionNotificationResult"); +var de_ModifyVpcEndpointResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcEndpointResult"); +var de_ModifyVpcEndpointServiceConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcEndpointServiceConfigurationResult"); +var de_ModifyVpcEndpointServicePayerResponsibilityResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcEndpointServicePayerResponsibilityResult"); +var de_ModifyVpcEndpointServicePermissionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.addedPrincipalSet === "") { + contents[_APd] = []; + } else if (output[_aPS] != null && output[_aPS][_i] != null) { + contents[_APd] = de_AddedPrincipalSet((0, import_smithy_client.getArrayIfSingleItem)(output[_aPS][_i]), context); + } + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcEndpointServicePermissionsResult"); +var de_ModifyVpcPeeringConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aPCO] != null) { + contents[_APCO] = de_PeeringConnectionOptions(output[_aPCO], context); + } + if (output[_rPCO] != null) { + contents[_RPCO] = de_PeeringConnectionOptions(output[_rPCO], context); + } + return contents; +}, "de_ModifyVpcPeeringConnectionOptionsResult"); +var de_ModifyVpcTenancyResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ModifyVpcTenancyResult"); +var de_ModifyVpnConnectionOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vC] != null) { + contents[_VC] = de_VpnConnection(output[_vC], context); + } + return contents; +}, "de_ModifyVpnConnectionOptionsResult"); +var de_ModifyVpnConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vC] != null) { + contents[_VC] = de_VpnConnection(output[_vC], context); + } + return contents; +}, "de_ModifyVpnConnectionResult"); +var de_ModifyVpnTunnelCertificateResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vC] != null) { + contents[_VC] = de_VpnConnection(output[_vC], context); + } + return contents; +}, "de_ModifyVpnTunnelCertificateResult"); +var de_ModifyVpnTunnelOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vC] != null) { + contents[_VC] = de_VpnConnection(output[_vC], context); + } + return contents; +}, "de_ModifyVpnTunnelOptionsResult"); +var de_Monitoring = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_Monitoring"); +var de_MonitorInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_IMn] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + return contents; +}, "de_MonitorInstancesResult"); +var de_MoveAddressToVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_MoveAddressToVpcResult"); +var de_MoveByoipCidrToIpamResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bC] != null) { + contents[_BC] = de_ByoipCidr(output[_bC], context); + } + return contents; +}, "de_MoveByoipCidrToIpamResult"); +var de_MovingAddressStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mSo] != null) { + contents[_MSo] = (0, import_smithy_client.expectString)(output[_mSo]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + return contents; +}, "de_MovingAddressStatus"); +var de_MovingAddressStatusSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_MovingAddressStatus(entry, context); + }); +}, "de_MovingAddressStatusSet"); +var de_NatGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_dTel] != null) { + contents[_DTele] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTel])); + } + if (output[_fCa] != null) { + contents[_FCa] = (0, import_smithy_client.expectString)(output[_fCa]); + } + if (output[_fM] != null) { + contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]); + } + if (output.natGatewayAddressSet === "") { + contents[_NGA] = []; + } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { + contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); + } + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output[_pB] != null) { + contents[_PB] = de_ProvisionedBandwidth(output[_pB], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_cTonn] != null) { + contents[_CTo] = (0, import_smithy_client.expectString)(output[_cTonn]); + } + return contents; +}, "de_NatGateway"); +var de_NatGatewayAddress = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_pIriv] != null) { + contents[_PIri] = (0, import_smithy_client.expectString)(output[_pIriv]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_iPsr] != null) { + contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPsr]); + } + if (output[_fM] != null) { + contents[_FM] = (0, import_smithy_client.expectString)(output[_fM]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_NatGatewayAddress"); +var de_NatGatewayAddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NatGatewayAddress(entry, context); + }); +}, "de_NatGatewayAddressList"); +var de_NatGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NatGateway(entry, context); + }); +}, "de_NatGatewayList"); +var de_NetworkAcl = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.associationSet === "") { + contents[_Ass] = []; + } else if (output[_aSss] != null && output[_aSss][_i] != null) { + contents[_Ass] = de_NetworkAclAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context); + } + if (output.entrySet === "") { + contents[_Ent] = []; + } else if (output[_eSnt] != null && output[_eSnt][_i] != null) { + contents[_Ent] = de_NetworkAclEntryList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSnt][_i]), context); + } + if (output[_def] != null) { + contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_def]); + } + if (output[_nAI] != null) { + contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + return contents; +}, "de_NetworkAcl"); +var de_NetworkAclAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nAAI] != null) { + contents[_NAAI] = (0, import_smithy_client.expectString)(output[_nAAI]); + } + if (output[_nAI] != null) { + contents[_NAI] = (0, import_smithy_client.expectString)(output[_nAI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + return contents; +}, "de_NetworkAclAssociation"); +var de_NetworkAclAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkAclAssociation(entry, context); + }); +}, "de_NetworkAclAssociationList"); +var de_NetworkAclEntry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_e] != null) { + contents[_Eg] = (0, import_smithy_client.parseBoolean)(output[_e]); + } + if (output[_iTC] != null) { + contents[_ITC] = de_IcmpTypeCode(output[_iTC], context); + } + if (output[_iCB] != null) { + contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); + } + if (output[_pRo] != null) { + contents[_PR] = de_PortRange(output[_pRo], context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_rA] != null) { + contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); + } + if (output[_rN] != null) { + contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); + } + return contents; +}, "de_NetworkAclEntry"); +var de_NetworkAclEntryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkAclEntry(entry, context); + }); +}, "de_NetworkAclEntryList"); +var de_NetworkAclList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkAcl(entry, context); + }); +}, "de_NetworkAclList"); +var de_NetworkBandwidthGbps = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); + } + return contents; +}, "de_NetworkBandwidthGbps"); +var de_NetworkCardInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); + } + if (output[_nP] != null) { + contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]); + } + if (output[_mNI] != null) { + contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]); + } + if (output[_bBIG] != null) { + contents[_BBIG] = (0, import_smithy_client.strictParseFloat)(output[_bBIG]); + } + if (output[_pBIG] != null) { + contents[_PBIG] = (0, import_smithy_client.strictParseFloat)(output[_pBIG]); + } + return contents; +}, "de_NetworkCardInfo"); +var de_NetworkCardInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkCardInfo(entry, context); + }); +}, "de_NetworkCardInfoList"); +var de_NetworkInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nP] != null) { + contents[_NP] = (0, import_smithy_client.expectString)(output[_nP]); + } + if (output[_mNI] != null) { + contents[_MNI] = (0, import_smithy_client.strictParseInt32)(output[_mNI]); + } + if (output[_mNC] != null) { + contents[_MNC] = (0, import_smithy_client.strictParseInt32)(output[_mNC]); + } + if (output[_dNCI] != null) { + contents[_DNCI] = (0, import_smithy_client.strictParseInt32)(output[_dNCI]); + } + if (output.networkCards === "") { + contents[_NC] = []; + } else if (output[_nC] != null && output[_nC][_i] != null) { + contents[_NC] = de_NetworkCardInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nC][_i]), context); + } + if (output[_iAPI] != null) { + contents[_IAPI] = (0, import_smithy_client.strictParseInt32)(output[_iAPI]); + } + if (output[_iAPIp] != null) { + contents[_IAPIp] = (0, import_smithy_client.strictParseInt32)(output[_iAPIp]); + } + if (output[_iSpv] != null) { + contents[_ISpv] = (0, import_smithy_client.parseBoolean)(output[_iSpv]); } - return apiLoader.services[svc][version]; -} - -/** - * @api private - * - * This member of AWS.apiLoader is private, but changing it will necessitate a - * change to ../scripts/services-table-generator.ts - */ -apiLoader.services = {}; - -/** - * @api private - */ -module.exports = apiLoader; - - -/***/ }), - -/***/ 71786: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -__nccwpck_require__(73639); - -var AWS = __nccwpck_require__(28437); - -// Load all service classes -__nccwpck_require__(26296); - -/** - * @api private - */ -module.exports = AWS; - - -/***/ }), - -/***/ 93260: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437), - url = AWS.util.url, - crypto = AWS.util.crypto.lib, - base64Encode = AWS.util.base64.encode, - inherit = AWS.util.inherit; - -var queryEncode = function (string) { - var replacements = { - '+': '-', - '=': '_', - '/': '~' - }; - return string.replace(/[\+=\/]/g, function (match) { - return replacements[match]; - }); -}; - -var signPolicy = function (policy, privateKey) { - var sign = crypto.createSign('RSA-SHA1'); - sign.write(policy); - return queryEncode(sign.sign(privateKey, 'base64')); -}; - -var signWithCannedPolicy = function (url, expires, keyPairId, privateKey) { - var policy = JSON.stringify({ - Statement: [ - { - Resource: url, - Condition: { DateLessThan: { 'AWS:EpochTime': expires } } - } - ] - }); - - return { - Expires: expires, - 'Key-Pair-Id': keyPairId, - Signature: signPolicy(policy.toString(), privateKey) - }; -}; - -var signWithCustomPolicy = function (policy, keyPairId, privateKey) { - policy = policy.replace(/\s/mg, ''); - - return { - Policy: queryEncode(base64Encode(policy)), - 'Key-Pair-Id': keyPairId, - Signature: signPolicy(policy, privateKey) - }; -}; - -var determineScheme = function (url) { - var parts = url.split('://'); - if (parts.length < 2) { - throw new Error('Invalid URL.'); - } - - return parts[0].replace('*', ''); -}; - -var getRtmpUrl = function (rtmpUrl) { - var parsed = url.parse(rtmpUrl); - return parsed.path.replace(/^\//, '') + (parsed.hash || ''); -}; - -var getResource = function (url) { - switch (determineScheme(url)) { - case 'http': - case 'https': - return url; - case 'rtmp': - return getRtmpUrl(url); - default: - throw new Error('Invalid URI scheme. Scheme must be one of' - + ' http, https, or rtmp'); - } -}; - -var handleError = function (err, callback) { - if (!callback || typeof callback !== 'function') { - throw err; - } - - callback(err); -}; - -var handleSuccess = function (result, callback) { - if (!callback || typeof callback !== 'function') { - return result; - } - - callback(null, result); -}; - -AWS.CloudFront.Signer = inherit({ - /** - * A signer object can be used to generate signed URLs and cookies for granting - * access to content on restricted CloudFront distributions. - * - * @see http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html - * - * @param keyPairId [String] (Required) The ID of the CloudFront key pair - * being used. - * @param privateKey [String] (Required) A private key in RSA format. - */ - constructor: function Signer(keyPairId, privateKey) { - if (keyPairId === void 0 || privateKey === void 0) { - throw new Error('A key pair ID and private key are required'); - } - - this.keyPairId = keyPairId; - this.privateKey = privateKey; - }, - - /** - * Create a signed Amazon CloudFront Cookie. - * - * @param options [Object] The options to create a signed cookie. - * @option options url [String] The URL to which the signature will grant - * access. Required unless you pass in a full - * policy. - * @option options expires [Number] A Unix UTC timestamp indicating when the - * signature should expire. Required unless you - * pass in a full policy. - * @option options policy [String] A CloudFront JSON policy. Required unless - * you pass in a url and an expiry time. - * - * @param cb [Function] if a callback is provided, this function will - * pass the hash as the second parameter (after the error parameter) to - * the callback function. - * - * @return [Object] if called synchronously (with no callback), returns the - * signed cookie parameters. - * @return [null] nothing is returned if a callback is provided. - */ - getSignedCookie: function (options, cb) { - var signatureHash = 'policy' in options - ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) - : signWithCannedPolicy(options.url, options.expires, this.keyPairId, this.privateKey); - - var cookieHash = {}; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - cookieHash['CloudFront-' + key] = signatureHash[key]; - } - } - - return handleSuccess(cookieHash, cb); - }, - - /** - * Create a signed Amazon CloudFront URL. - * - * Keep in mind that URLs meant for use in media/flash players may have - * different requirements for URL formats (e.g. some require that the - * extension be removed, some require the file name to be prefixed - * - mp4:, some require you to add "/cfx/st" into your URL). - * - * @param options [Object] The options to create a signed URL. - * @option options url [String] The URL to which the signature will grant - * access. Any query params included with - * the URL should be encoded. Required. - * @option options expires [Number] A Unix UTC timestamp indicating when the - * signature should expire. Required unless you - * pass in a full policy. - * @option options policy [String] A CloudFront JSON policy. Required unless - * you pass in a url and an expiry time. - * - * @param cb [Function] if a callback is provided, this function will - * pass the URL as the second parameter (after the error parameter) to - * the callback function. - * - * @return [String] if called synchronously (with no callback), returns the - * signed URL. - * @return [null] nothing is returned if a callback is provided. - */ - getSignedUrl: function (options, cb) { - try { - var resource = getResource(options.url); - } catch (err) { - return handleError(err, cb); - } - - var parsedUrl = url.parse(options.url, true), - signatureHash = Object.prototype.hasOwnProperty.call(options, 'policy') - ? signWithCustomPolicy(options.policy, this.keyPairId, this.privateKey) - : signWithCannedPolicy(resource, options.expires, this.keyPairId, this.privateKey); - - parsedUrl.search = null; - for (var key in signatureHash) { - if (Object.prototype.hasOwnProperty.call(signatureHash, key)) { - parsedUrl.query[key] = signatureHash[key]; - } - } - - try { - var signedUrl = determineScheme(options.url) === 'rtmp' - ? getRtmpUrl(url.format(parsedUrl)) - : url.format(parsedUrl); - } catch (err) { - return handleError(err, cb); - } - - return handleSuccess(signedUrl, cb); - } -}); - -/** - * @api private - */ -module.exports = AWS.CloudFront.Signer; - - -/***/ }), - -/***/ 38110: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -__nccwpck_require__(53819); -__nccwpck_require__(36965); -var PromisesDependency; - -/** - * The main configuration class used by all service objects to set - * the region, credentials, and other options for requests. - * - * By default, credentials and region settings are left unconfigured. - * This should be configured by the application before using any - * AWS service APIs. - * - * In order to set global configuration options, properties should - * be assigned to the global {AWS.config} object. - * - * @see AWS.config - * - * @!group General Configuration Options - * - * @!attribute credentials - * @return [AWS.Credentials] the AWS credentials to sign requests with. - * - * @!attribute region - * @example Set the global region setting to us-west-2 - * AWS.config.update({region: 'us-west-2'}); - * @return [AWS.Credentials] The region to send service requests to. - * @see http://docs.amazonwebservices.com/general/latest/gr/rande.html - * A list of available endpoints for each AWS service - * - * @!attribute maxRetries - * @return [Integer] the maximum amount of retries to perform for a - * service request. By default this value is calculated by the specific - * service object that the request is being made to. - * - * @!attribute maxRedirects - * @return [Integer] the maximum amount of redirects to follow for a - * service request. Defaults to 10. - * - * @!attribute paramValidation - * @return [Boolean|map] whether input parameters should be validated against - * the operation description before sending the request. Defaults to true. - * Pass a map to enable any of the following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * - * @!attribute computeChecksums - * @return [Boolean] whether to compute checksums for payload bodies when - * the service accepts it (currently supported in S3 and SQS only). - * - * @!attribute convertResponseTypes - * @return [Boolean] whether types are converted when parsing response data. - * Currently only supported for JSON based services. Turning this off may - * improve performance on large response payloads. Defaults to `true`. - * - * @!attribute correctClockSkew - * @return [Boolean] whether to apply a clock skew correction and retry - * requests that fail because of an skewed client clock. Defaults to - * `false`. - * - * @!attribute sslEnabled - * @return [Boolean] whether SSL is enabled for requests - * - * @!attribute s3ForcePathStyle - * @return [Boolean] whether to force path style URLs for S3 objects - * - * @!attribute s3BucketEndpoint - * @note Setting this configuration option requires an `endpoint` to be - * provided explicitly to the service constructor. - * @return [Boolean] whether the provided endpoint addresses an individual - * bucket (false if it addresses the root API endpoint). - * - * @!attribute s3DisableBodySigning - * @return [Boolean] whether to disable S3 body signing when using signature version `v4`. - * Body signing can only be disabled when using https. Defaults to `true`. - * - * @!attribute s3UsEast1RegionalEndpoint - * @return ['legacy'|'regional'] when region is set to 'us-east-1', whether to send s3 - * request to global endpoints or 'us-east-1' regional endpoints. This config is only - * applicable to S3 client; - * Defaults to 'legacy' - * @!attribute s3UseArnRegion - * @return [Boolean] whether to override the request region with the region inferred - * from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @!attribute useAccelerateEndpoint - * @note This configuration option is only compatible with S3 while accessing - * dns-compatible buckets. - * @return [Boolean] Whether to use the Accelerate endpoint with the S3 service. - * Defaults to `false`. - * - * @!attribute retryDelayOptions - * @example Set the base retry delay for all services to 300 ms - * AWS.config.update({retryDelayOptions: {base: 300}}); - * // Delays with maxRetries = 3: 300, 600, 1200 - * @example Set a custom backoff function to provide delay values on retries - * AWS.config.update({retryDelayOptions: {customBackoff: function(retryCount, err) { - * // returns delay in ms - * }}}); - * @return [map] A set of options to configure the retry delay on retryable errors. - * Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all services except - * DynamoDB, where it defaults to 50ms. - * - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. The function is only called for retryable errors. - * - * @!attribute httpOptions - * @return [map] A set of options to pass to the low-level HTTP request. - * Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only supported in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — The number of milliseconds a request can - * take before automatically being terminated. - * Defaults to two minutes (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @!attribute logger - * @return [#write,#log] an object that responds to .write() (like a stream) - * or .log() (like the console object) in order to log information about - * requests - * - * @!attribute systemClockOffset - * @return [Number] an offset value in milliseconds to apply to all signing - * times. Use this to compensate for clock skew when your system may be - * out of sync with the service time. Note that this configuration option - * can only be applied to the global `AWS.config` object and cannot be - * overridden in service-specific configuration. Defaults to 0 milliseconds. - * - * @!attribute signatureVersion - * @return [String] the signature version to sign requests with (overriding - * the API configuration). Possible values are: 'v2', 'v3', 'v4'. - * - * @!attribute signatureCache - * @return [Boolean] whether the signature to sign requests with (overriding - * the API configuration) is cached. Only applies to the signature version 'v4'. - * Defaults to `true`. - * - * @!attribute endpointDiscoveryEnabled - * @return [Boolean|undefined] whether to call operations with endpoints - * given by service dynamically. Setting this config to `true` will enable - * endpoint discovery for all applicable operations. Setting it to `false` - * will explicitly disable endpoint discovery even though operations that - * require endpoint discovery will presumably fail. Leaving it to - * `undefined` means SDK only do endpoint discovery when it's required. - * Defaults to `undefined` - * - * @!attribute endpointCacheSize - * @return [Number] the size of the global cache storing endpoints from endpoint - * discovery operations. Once endpoint cache is created, updating this setting - * cannot change existing cache size. - * Defaults to 1000 - * - * @!attribute hostPrefixEnabled - * @return [Boolean] whether to marshal request parameters to the prefix of - * hostname. Defaults to `true`. - * - * @!attribute stsRegionalEndpoints - * @return ['legacy'|'regional'] whether to send sts request to global endpoints or - * regional endpoints. - * Defaults to 'legacy'. - * - * @!attribute useFipsEndpoint - * @return [Boolean] Enables FIPS compatible endpoints. Defaults to `false`. - * - * @!attribute useDualstackEndpoint - * @return [Boolean] Enables IPv6 dualstack endpoint. Defaults to `false`. - */ -AWS.Config = AWS.util.inherit({ - /** - * @!endgroup - */ - - /** - * Creates a new configuration object. This is the object that passes - * option data along to service requests, including credentials, security, - * region information, and some service specific settings. - * - * @example Creating a new configuration object with credentials and region - * var config = new AWS.Config({ - * accessKeyId: 'AKID', secretAccessKey: 'SECRET', region: 'us-west-2' - * }); - * @option options accessKeyId [String] your AWS access key ID. - * @option options secretAccessKey [String] your AWS secret access key. - * @option options sessionToken [AWS.Credentials] the optional AWS - * session token to sign requests with. - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. You can either specify this object, or - * specify the accessKeyId and secretAccessKey options directly. - * @option options credentialProvider [AWS.CredentialProviderChain] the - * provider chain used to resolve credentials if no static `credentials` - * property is set. - * @option options region [String] the region to send service requests to. - * See {region} for more information. - * @option options maxRetries [Integer] the maximum amount of retries to - * attempt with a request. See {maxRetries} for more information. - * @option options maxRedirects [Integer] the maximum amount of redirects to - * follow with a request. See {maxRedirects} for more information. - * @option options sslEnabled [Boolean] whether to enable SSL for - * requests. - * @option options paramValidation [Boolean|map] whether input parameters - * should be validated against the operation description before sending - * the request. Defaults to true. Pass a map to enable any of the - * following specific validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - * @option options computeChecksums [Boolean] whether to compute checksums - * for payload bodies when the service accepts it (currently supported - * in S3 only) - * @option options convertResponseTypes [Boolean] whether types are converted - * when parsing response data. Currently only supported for JSON based - * services. Turning this off may improve performance on large response - * payloads. Defaults to `true`. - * @option options correctClockSkew [Boolean] whether to apply a clock skew - * correction and retry requests that fail because of an skewed client - * clock. Defaults to `false`. - * @option options s3ForcePathStyle [Boolean] whether to force path - * style URLs for S3 objects. - * @option options s3BucketEndpoint [Boolean] whether the provided endpoint - * addresses an individual bucket (false if it addresses the root API - * endpoint). Note that setting this configuration option requires an - * `endpoint` to be provided explicitly to the service constructor. - * @option options s3DisableBodySigning [Boolean] whether S3 body signing - * should be disabled when using signature version `v4`. Body signing - * can only be disabled when using https. Defaults to `true`. - * @option options s3UsEast1RegionalEndpoint ['legacy'|'regional'] when region - * is set to 'us-east-1', whether to send s3 request to global endpoints or - * 'us-east-1' regional endpoints. This config is only applicable to S3 client. - * Defaults to `legacy` - * @option options s3UseArnRegion [Boolean] whether to override the request region - * with the region inferred from requested resource's ARN. Only available for S3 buckets - * Defaults to `true` - * - * @option options retryDelayOptions [map] A set of options to configure - * the retry delay on retryable errors. Currently supported options are: - * - * * **base** [Integer] — The base number of milliseconds to use in the - * exponential backoff for operation retries. Defaults to 100 ms for all - * services except DynamoDB, where it defaults to 50ms. - * * **customBackoff ** [function] — A custom function that accepts a - * retry count and error and returns the amount of time to delay in - * milliseconds. If the result is a non-zero negative value, no further - * retry attempts will be made. The `base` option will be ignored if this - * option is supplied. The function is only called for retryable errors. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — Sets the socket to timeout after timeout - * milliseconds of inactivity on the socket. Defaults to two minutes - * (120000). - * * **xhrAsync** [Boolean] — Whether the SDK will send asynchronous - * HTTP requests. Used in the browser environment only. Set to false to - * send requests synchronously. Defaults to true (async on). - * * **xhrWithCredentials** [Boolean] — Sets the "withCredentials" - * property of an XMLHttpRequest object. Used in the browser environment - * only. Defaults to false. - * @option options apiVersion [String, Date] a String in YYYY-MM-DD format - * (or a date) that represents the latest possible API version that can be - * used in all services (unless overridden by `apiVersions`). Specify - * 'latest' to use the latest possible version. - * @option options apiVersions [map] a map of service - * identifiers (the lowercase service class name) with the API version to - * use when instantiating a service. Specify 'latest' for each individual - * that can use the latest available version. - * @option options logger [#write,#log] an object that responds to .write() - * (like a stream) or .log() (like the console object) in order to log - * information about requests - * @option options systemClockOffset [Number] an offset value in milliseconds - * to apply to all signing times. Use this to compensate for clock skew - * when your system may be out of sync with the service time. Note that - * this configuration option can only be applied to the global `AWS.config` - * object and cannot be overridden in service-specific configuration. - * Defaults to 0 milliseconds. - * @option options signatureVersion [String] the signature version to sign - * requests with (overriding the API configuration). Possible values are: - * 'v2', 'v3', 'v4'. - * @option options signatureCache [Boolean] whether the signature to sign - * requests with (overriding the API configuration) is cached. Only applies - * to the signature version 'v4'. Defaults to `true`. - * @option options dynamoDbCrc32 [Boolean] whether to validate the CRC32 - * checksum of HTTP response bodies returned by DynamoDB. Default: `true`. - * @option options useAccelerateEndpoint [Boolean] Whether to use the - * S3 Transfer Acceleration endpoint with the S3 service. Default: `false`. - * @option options clientSideMonitoring [Boolean] whether to collect and - * publish this client's performance metrics of all its API requests. - * @option options endpointDiscoveryEnabled [Boolean|undefined] whether to - * call operations with endpoints given by service dynamically. Setting this - * config to `true` will enable endpoint discovery for all applicable operations. - * Setting it to `false` will explicitly disable endpoint discovery even though - * operations that require endpoint discovery will presumably fail. Leaving it - * to `undefined` means SDK will only do endpoint discovery when it's required. - * Defaults to `undefined` - * @option options endpointCacheSize [Number] the size of the global cache storing - * endpoints from endpoint discovery operations. Once endpoint cache is created, - * updating this setting cannot change existing cache size. - * Defaults to 1000 - * @option options hostPrefixEnabled [Boolean] whether to marshal request - * parameters to the prefix of hostname. - * Defaults to `true`. - * @option options stsRegionalEndpoints ['legacy'|'regional'] whether to send sts request - * to global endpoints or regional endpoints. - * Defaults to 'legacy'. - * @option options useFipsEndpoint [Boolean] Enables FIPS compatible endpoints. - * Defaults to `false`. - * @option options useDualstackEndpoint [Boolean] Enables IPv6 dualstack endpoint. - * Defaults to `false`. - */ - constructor: function Config(options) { - if (options === undefined) options = {}; - options = this.extractCredentials(options); - - AWS.util.each.call(this, this.keys, function (key, value) { - this.set(key, options[key], value); - }); - }, - - /** - * @!group Managing Credentials - */ - - /** - * Loads credentials from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Credentials} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your credentials are loaded prior to a request, you can use this method - * directly to provide accurate credential data stored in the object. - * - * @note If you configure the SDK with static or environment credentials, - * the credential data should already be present in {credentials} attribute. - * This method is primarily necessary to load credentials from asynchronous - * sources, or sources that can refresh credentials periodically. - * @example Getting your access key - * AWS.config.getCredentials(function(err) { - * if (err) console.log(err.stack); // credentials not loaded - * else console.log("Access Key:", AWS.config.credentials.accessKeyId); - * }) - * @callback callback function(err) - * Called when the {credentials} have been properly set on the configuration - * object. - * - * @param err [Error] if this is set, credentials were not successfully - * loaded and this error provides information why. - * @see credentials - * @see Credentials - */ - getCredentials: function getCredentials(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.credentials); - } - - function credError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: 'CredentialsError', - message: msg, - name: 'CredentialsError' - }); - } - - function getAsyncCredentials() { - self.credentials.get(function(err) { - if (err) { - var msg = 'Could not load credentials from ' + - self.credentials.constructor.name; - err = credError(msg, err); - } - finish(err); - }); - } - - function getStaticCredentials() { - var err = null; - if (!self.credentials.accessKeyId || !self.credentials.secretAccessKey) { - err = credError('Missing credentials'); - } - finish(err); - } - - if (self.credentials) { - if (typeof self.credentials.get === 'function') { - getAsyncCredentials(); - } else { // static credentials - getStaticCredentials(); - } - } else if (self.credentialProvider) { - self.credentialProvider.resolve(function(err, creds) { - if (err) { - err = credError('Could not load credentials from any providers', err); - } - self.credentials = creds; - finish(err); - }); - } else { - finish(credError('No credentials to load')); - } - }, - - /** - * Loads token from the configuration object. This is used internally - * by the SDK to ensure that refreshable {Token} objects are properly - * refreshed and loaded when sending a request. If you want to ensure that - * your token is loaded prior to a request, you can use this method - * directly to provide accurate token data stored in the object. - * - * @note If you configure the SDK with static token, the token data should - * already be present in {token} attribute. This method is primarily necessary - * to load token from asynchronous sources, or sources that can refresh - * token periodically. - * @example Getting your access token - * AWS.config.getToken(function(err) { - * if (err) console.log(err.stack); // token not loaded - * else console.log("Token:", AWS.config.token.token); - * }) - * @callback callback function(err) - * Called when the {token} have been properly set on the configuration object. - * - * @param err [Error] if this is set, token was not successfully loaded and - * this error provides information why. - * @see token - */ - getToken: function getToken(callback) { - var self = this; - - function finish(err) { - callback(err, err ? null : self.token); - } - - function tokenError(msg, err) { - return new AWS.util.error(err || new Error(), { - code: 'TokenError', - message: msg, - name: 'TokenError' - }); - } - - function getAsyncToken() { - self.token.get(function(err) { - if (err) { - var msg = 'Could not load token from ' + - self.token.constructor.name; - err = tokenError(msg, err); - } - finish(err); - }); - } - - function getStaticToken() { - var err = null; - if (!self.token.token) { - err = tokenError('Missing token'); - } - finish(err); - } - - if (self.token) { - if (typeof self.token.get === 'function') { - getAsyncToken(); - } else { // static token - getStaticToken(); - } - } else if (self.tokenProvider) { - self.tokenProvider.resolve(function(err, token) { - if (err) { - err = tokenError('Could not load token from any providers', err); - } - self.token = token; - finish(err); - }); - } else { - finish(tokenError('No token to load')); - } - }, - - /** - * @!group Loading and Setting Configuration Options - */ - - /** - * @overload update(options, allowUnknownKeys = false) - * Updates the current configuration object with new options. - * - * @example Update maxRetries property of a configuration object - * config.update({maxRetries: 10}); - * @param [Object] options a map of option keys and values. - * @param [Boolean] allowUnknownKeys whether unknown keys can be set on - * the configuration object. Defaults to `false`. - * @see constructor - */ - update: function update(options, allowUnknownKeys) { - allowUnknownKeys = allowUnknownKeys || false; - options = this.extractCredentials(options); - AWS.util.each.call(this, options, function (key, value) { - if (allowUnknownKeys || Object.prototype.hasOwnProperty.call(this.keys, key) || - AWS.Service.hasService(key)) { - this.set(key, value); - } - }); - }, - - /** - * Loads configuration data from a JSON file into this config object. - * @note Loading configuration will reset all existing configuration - * on the object. - * @!macro nobrowser - * @param path [String] the path relative to your process's current - * working directory to load configuration from. - * @return [AWS.Config] the same configuration object - */ - loadFromPath: function loadFromPath(path) { - this.clear(); - - var options = JSON.parse(AWS.util.readFileSync(path)); - var fileSystemCreds = new AWS.FileSystemCredentials(path); - var chain = new AWS.CredentialProviderChain(); - chain.providers.unshift(fileSystemCreds); - chain.resolve(function (err, creds) { - if (err) throw err; - else options.credentials = creds; - }); - - this.constructor(options); - - return this; - }, - - /** - * Clears configuration data on this object - * - * @api private - */ - clear: function clear() { - /*jshint forin:false */ - AWS.util.each.call(this, this.keys, function (key) { - delete this[key]; - }); - - // reset credential provider - this.set('credentials', undefined); - this.set('credentialProvider', undefined); - }, - - /** - * Sets a property on the configuration object, allowing for a - * default value - * @api private - */ - set: function set(property, value, defaultValue) { - if (value === undefined) { - if (defaultValue === undefined) { - defaultValue = this.keys[property]; - } - if (typeof defaultValue === 'function') { - this[property] = defaultValue.call(this); - } else { - this[property] = defaultValue; - } - } else if (property === 'httpOptions' && this[property]) { - // deep merge httpOptions - this[property] = AWS.util.merge(this[property], value); - } else { - this[property] = value; - } - }, - - /** - * All of the keys with their default values. - * - * @constant - * @api private - */ - keys: { - credentials: null, - credentialProvider: null, - region: null, - logger: null, - apiVersions: {}, - apiVersion: null, - endpoint: undefined, - httpOptions: { - timeout: 120000 - }, - maxRetries: undefined, - maxRedirects: 10, - paramValidation: true, - sslEnabled: true, - s3ForcePathStyle: false, - s3BucketEndpoint: false, - s3DisableBodySigning: true, - s3UsEast1RegionalEndpoint: 'legacy', - s3UseArnRegion: undefined, - computeChecksums: true, - convertResponseTypes: true, - correctClockSkew: false, - customUserAgent: null, - dynamoDbCrc32: true, - systemClockOffset: 0, - signatureVersion: null, - signatureCache: true, - retryDelayOptions: {}, - useAccelerateEndpoint: false, - clientSideMonitoring: false, - endpointDiscoveryEnabled: undefined, - endpointCacheSize: 1000, - hostPrefixEnabled: true, - stsRegionalEndpoints: 'legacy', - useFipsEndpoint: false, - useDualstackEndpoint: false, - token: null - }, - - /** - * Extracts accessKeyId, secretAccessKey and sessionToken - * from a configuration hash. - * - * @api private - */ - extractCredentials: function extractCredentials(options) { - if (options.accessKeyId && options.secretAccessKey) { - options = AWS.util.copy(options); - options.credentials = new AWS.Credentials(options); - } - return options; - }, - - /** - * Sets the promise dependency the SDK will use wherever Promises are returned. - * Passing `null` will force the SDK to use native Promises if they are available. - * If native Promises are not available, passing `null` will have no effect. - * @param [Constructor] dep A reference to a Promise constructor - */ - setPromisesDependency: function setPromisesDependency(dep) { - PromisesDependency = dep; - // if null was passed in, we should try to use native promises - if (dep === null && typeof Promise === 'function') { - PromisesDependency = Promise; - } - var constructors = [AWS.Request, AWS.Credentials, AWS.CredentialProviderChain]; - if (AWS.S3) { - constructors.push(AWS.S3); - if (AWS.S3.ManagedUpload) { - constructors.push(AWS.S3.ManagedUpload); - } - } - AWS.util.addPromises(constructors, PromisesDependency); - }, - - /** - * Gets the promise dependency set by `AWS.config.setPromisesDependency`. - */ - getPromisesDependency: function getPromisesDependency() { - return PromisesDependency; + if (output[_eSna] != null) { + contents[_ESn] = (0, import_smithy_client.expectString)(output[_eSna]); } -}); - -/** - * @return [AWS.Config] The global configuration object singleton instance - * @readonly - * @see AWS.Config - */ -AWS.config = new AWS.Config(); - - -/***/ }), - -/***/ 85566: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -/** - * @api private - */ -function validateRegionalEndpointsFlagValue(configValue, errorOptions) { - if (typeof configValue !== 'string') return undefined; - else if (['legacy', 'regional'].indexOf(configValue.toLowerCase()) >= 0) { - return configValue.toLowerCase(); - } else { - throw AWS.util.error(new Error(), errorOptions); + if (output[_eSf] != null) { + contents[_ESf] = (0, import_smithy_client.parseBoolean)(output[_eSf]); + } + if (output[_eIf] != null) { + contents[_EIf] = de_EfaInfo(output[_eIf], context); + } + if (output[_eITSn] != null) { + contents[_EITS] = (0, import_smithy_client.parseBoolean)(output[_eITSn]); + } + if (output[_eSSn] != null) { + contents[_ESSn] = (0, import_smithy_client.parseBoolean)(output[_eSSn]); + } + return contents; +}, "de_NetworkInfo"); +var de_NetworkInsightsAccessScope = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASI] != null) { + contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); + } + if (output[_nIASA] != null) { + contents[_NIASAe] = (0, import_smithy_client.expectString)(output[_nIASA]); + } + if (output[_cDre] != null) { + contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre])); + } + if (output[_uDp] != null) { + contents[_UDp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDp])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_NetworkInsightsAccessScope"); +var de_NetworkInsightsAccessScopeAnalysis = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASAI] != null) { + contents[_NIASAI] = (0, import_smithy_client.expectString)(output[_nIASAI]); + } + if (output[_nIASAA] != null) { + contents[_NIASAA] = (0, import_smithy_client.expectString)(output[_nIASAA]); + } + if (output[_nIASI] != null) { + contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_wM] != null) { + contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]); + } + if (output[_sD] != null) { + contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_eD] != null) { + contents[_ED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eD])); + } + if (output[_fFi] != null) { + contents[_FFi] = (0, import_smithy_client.expectString)(output[_fFi]); + } + if (output[_aEC] != null) { + contents[_AEC] = (0, import_smithy_client.strictParseInt32)(output[_aEC]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_NetworkInsightsAccessScopeAnalysis"); +var de_NetworkInsightsAccessScopeAnalysisList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInsightsAccessScopeAnalysis(entry, context); + }); +}, "de_NetworkInsightsAccessScopeAnalysisList"); +var de_NetworkInsightsAccessScopeContent = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASI] != null) { + contents[_NIASI] = (0, import_smithy_client.expectString)(output[_nIASI]); + } + if (output.matchPathSet === "") { + contents[_MP] = []; + } else if (output[_mPSa] != null && output[_mPSa][_i] != null) { + contents[_MP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_mPSa][_i]), context); + } + if (output.excludePathSet === "") { + contents[_EP] = []; + } else if (output[_ePS] != null && output[_ePS][_i] != null) { + contents[_EP] = de_AccessScopePathList((0, import_smithy_client.getArrayIfSingleItem)(output[_ePS][_i]), context); + } + return contents; +}, "de_NetworkInsightsAccessScopeContent"); +var de_NetworkInsightsAccessScopeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInsightsAccessScope(entry, context); + }); +}, "de_NetworkInsightsAccessScopeList"); +var de_NetworkInsightsAnalysis = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIAI] != null) { + contents[_NIAI] = (0, import_smithy_client.expectString)(output[_nIAI]); + } + if (output[_nIAA] != null) { + contents[_NIAA] = (0, import_smithy_client.expectString)(output[_nIAA]); + } + if (output[_nIPI] != null) { + contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); + } + if (output.additionalAccountSet === "") { + contents[_AAd] = []; + } else if (output[_aASd] != null && output[_aASd][_i] != null) { + contents[_AAd] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aASd][_i]), context); + } + if (output.filterInArnSet === "") { + contents[_FIA] = []; + } else if (output[_fIAS] != null && output[_fIAS][_i] != null) { + contents[_FIA] = de_ArnList((0, import_smithy_client.getArrayIfSingleItem)(output[_fIAS][_i]), context); + } + if (output[_sD] != null) { + contents[_SDt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_wM] != null) { + contents[_WM] = (0, import_smithy_client.expectString)(output[_wM]); + } + if (output[_nPF] != null) { + contents[_NPF] = (0, import_smithy_client.parseBoolean)(output[_nPF]); + } + if (output.forwardPathComponentSet === "") { + contents[_FPC] = []; + } else if (output[_fPCS] != null && output[_fPCS][_i] != null) { + contents[_FPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_fPCS][_i]), context); + } + if (output.returnPathComponentSet === "") { + contents[_RPC] = []; + } else if (output[_rPCS] != null && output[_rPCS][_i] != null) { + contents[_RPC] = de_PathComponentList((0, import_smithy_client.getArrayIfSingleItem)(output[_rPCS][_i]), context); + } + if (output.explanationSet === "") { + contents[_Ex] = []; + } else if (output[_eSx] != null && output[_eSx][_i] != null) { + contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context); + } + if (output.alternatePathHintSet === "") { + contents[_APH] = []; + } else if (output[_aPHS] != null && output[_aPHS][_i] != null) { + contents[_APH] = de_AlternatePathHintList((0, import_smithy_client.getArrayIfSingleItem)(output[_aPHS][_i]), context); + } + if (output.suggestedAccountSet === "") { + contents[_SAu] = []; + } else if (output[_sASu] != null && output[_sASu][_i] != null) { + contents[_SAu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sASu][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_NetworkInsightsAnalysis"); +var de_NetworkInsightsAnalysisList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInsightsAnalysis(entry, context); + }); +}, "de_NetworkInsightsAnalysisList"); +var de_NetworkInsightsPath = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIPI] != null) { + contents[_NIPI] = (0, import_smithy_client.expectString)(output[_nIPI]); + } + if (output[_nIPA] != null) { + contents[_NIPA] = (0, import_smithy_client.expectString)(output[_nIPA]); + } + if (output[_cDre] != null) { + contents[_CDrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cDre])); + } + if (output[_s] != null) { + contents[_S] = (0, import_smithy_client.expectString)(output[_s]); + } + if (output[_d] != null) { + contents[_D] = (0, import_smithy_client.expectString)(output[_d]); + } + if (output[_sA] != null) { + contents[_SAour] = (0, import_smithy_client.expectString)(output[_sA]); + } + if (output[_dA] != null) { + contents[_DAesti] = (0, import_smithy_client.expectString)(output[_dA]); + } + if (output[_sIo] != null) { + contents[_SIo] = (0, import_smithy_client.expectString)(output[_sIo]); + } + if (output[_dIes] != null) { + contents[_DIest] = (0, import_smithy_client.expectString)(output[_dIes]); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_dPe] != null) { + contents[_DP] = (0, import_smithy_client.strictParseInt32)(output[_dPe]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_fAS] != null) { + contents[_FAS] = de_PathFilter(output[_fAS], context); + } + if (output[_fAD] != null) { + contents[_FAD] = de_PathFilter(output[_fAD], context); + } + return contents; +}, "de_NetworkInsightsPath"); +var de_NetworkInsightsPathList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInsightsPath(entry, context); + }); +}, "de_NetworkInsightsPathList"); +var de_NetworkInterface = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context); + } + if (output[_at] != null) { + contents[_Att] = de_NetworkInterfaceAttachment(output[_at], context); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_cTC] != null) { + contents[_CTC] = de_ConnectionTrackingConfiguration(output[_cTC], context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_iTnt] != null) { + contents[_ITn] = (0, import_smithy_client.expectString)(output[_iTnt]); + } + if (output.ipv6AddressesSet === "") { + contents[_IA] = []; + } else if (output[_iASp] != null && output[_iASp][_i] != null) { + contents[_IA] = de_NetworkInterfaceIpv6AddressesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iASp][_i]), context); + } + if (output[_mAa] != null) { + contents[_MAa] = (0, import_smithy_client.expectString)(output[_mAa]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output.privateIpAddressesSet === "") { + contents[_PIA] = []; + } else if (output[_pIAS] != null && output[_pIAS][_i] != null) { + contents[_PIA] = de_NetworkInterfacePrivateIpAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIAS][_i]), context); + } + if (output.ipv4PrefixSet === "") { + contents[_IPp] = []; + } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { + contents[_IPp] = de_Ipv4PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpv][_i]), context); + } + if (output.ipv6PrefixSet === "") { + contents[_IP] = []; + } else if (output[_iPSpvr] != null && output[_iPSpvr][_i] != null) { + contents[_IP] = de_Ipv6PrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); + } + if (output[_rIeq] != null) { + contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]); + } + if (output[_rM] != null) { + contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]); + } + if (output[_sDC] != null) { + contents[_SDC] = (0, import_smithy_client.parseBoolean)(output[_sDC]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output.tagSet === "") { + contents[_TSag] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_TSag] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_dAIT] != null) { + contents[_DAIT] = (0, import_smithy_client.parseBoolean)(output[_dAIT]); + } + if (output[_iN] != null) { + contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]); + } + if (output[_iApv] != null) { + contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); + } + return contents; +}, "de_NetworkInterface"); +var de_NetworkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aI] != null) { + contents[_AIl] = (0, import_smithy_client.expectString)(output[_aI]); + } + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_iOIp] != null) { + contents[_IOI] = (0, import_smithy_client.expectString)(output[_iOIp]); + } + if (output[_pDNu] != null) { + contents[_PDNu] = (0, import_smithy_client.expectString)(output[_pDNu]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_cOI] != null) { + contents[_COI] = (0, import_smithy_client.expectString)(output[_cOI]); + } + if (output[_cI] != null) { + contents[_CIa] = (0, import_smithy_client.expectString)(output[_cI]); + } + return contents; +}, "de_NetworkInterfaceAssociation"); +var de_NetworkInterfaceAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aTt] != null) { + contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); + } + if (output[_aIt] != null) { + contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_dIe] != null) { + contents[_DIev] = (0, import_smithy_client.strictParseInt32)(output[_dIe]); + } + if (output[_nCI] != null) { + contents[_NCI] = (0, import_smithy_client.strictParseInt32)(output[_nCI]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iOIn] != null) { + contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_eSS] != null) { + contents[_ESS] = de_AttachmentEnaSrdSpecification(output[_eSS], context); + } + return contents; +}, "de_NetworkInterfaceAttachment"); +var de_NetworkInterfaceCount = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_NetworkInterfaceCount"); +var de_NetworkInterfaceIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_NetworkInterfaceIdSet"); +var de_NetworkInterfaceIpv6Address = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iApv] != null) { + contents[_IApv] = (0, import_smithy_client.expectString)(output[_iApv]); + } + if (output[_iPI] != null) { + contents[_IPIs] = (0, import_smithy_client.parseBoolean)(output[_iPI]); + } + return contents; +}, "de_NetworkInterfaceIpv6Address"); +var de_NetworkInterfaceIpv6AddressesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInterfaceIpv6Address(entry, context); + }); +}, "de_NetworkInterfaceIpv6AddressesList"); +var de_NetworkInterfaceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInterface(entry, context); + }); +}, "de_NetworkInterfaceList"); +var de_NetworkInterfacePermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIPIe] != null) { + contents[_NIPIe] = (0, import_smithy_client.expectString)(output[_nIPIe]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_aAI] != null) { + contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]); + } + if (output[_aSw] != null) { + contents[_ASw] = (0, import_smithy_client.expectString)(output[_aSw]); + } + if (output[_per] != null) { + contents[_Pe] = (0, import_smithy_client.expectString)(output[_per]); + } + if (output[_pSe] != null) { + contents[_PSer] = de_NetworkInterfacePermissionState(output[_pSe], context); + } + return contents; +}, "de_NetworkInterfacePermission"); +var de_NetworkInterfacePermissionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInterfacePermission(entry, context); + }); +}, "de_NetworkInterfacePermissionList"); +var de_NetworkInterfacePermissionState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + return contents; +}, "de_NetworkInterfacePermissionState"); +var de_NetworkInterfacePrivateIpAddress = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ass] != null) { + contents[_Asso] = de_NetworkInterfaceAssociation(output[_ass], context); + } + if (output[_prim] != null) { + contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + return contents; +}, "de_NetworkInterfacePrivateIpAddress"); +var de_NetworkInterfacePrivateIpAddressList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NetworkInterfacePrivateIpAddress(entry, context); + }); +}, "de_NetworkInterfacePrivateIpAddressList"); +var de_NetworkNodesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_NetworkNodesList"); +var de_NeuronDeviceCoreInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_ve] != null) { + contents[_V] = (0, import_smithy_client.strictParseInt32)(output[_ve]); + } + return contents; +}, "de_NeuronDeviceCoreInfo"); +var de_NeuronDeviceInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_cIor] != null) { + contents[_CIor] = de_NeuronDeviceCoreInfo(output[_cIor], context); + } + if (output[_mIe] != null) { + contents[_MIe] = de_NeuronDeviceMemoryInfo(output[_mIe], context); + } + return contents; +}, "de_NeuronDeviceInfo"); +var de_NeuronDeviceInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_NeuronDeviceInfo(entry, context); + }); +}, "de_NeuronDeviceInfoList"); +var de_NeuronDeviceMemoryInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIMB] != null) { + contents[_SIMB] = (0, import_smithy_client.strictParseInt32)(output[_sIMB]); + } + return contents; +}, "de_NeuronDeviceMemoryInfo"); +var de_NeuronInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.neuronDevices === "") { + contents[_NDe] = []; + } else if (output[_nDe] != null && output[_nDe][_i] != null) { + contents[_NDe] = de_NeuronDeviceInfoList((0, import_smithy_client.getArrayIfSingleItem)(output[_nDe][_i]), context); + } + if (output[_tNDMIMB] != null) { + contents[_TNDMIMB] = (0, import_smithy_client.strictParseInt32)(output[_tNDMIMB]); + } + return contents; +}, "de_NeuronInfo"); +var de_NitroTpmInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.supportedVersions === "") { + contents[_SVu] = []; + } else if (output[_sVu] != null && output[_sVu][_i] != null) { + contents[_SVu] = de_NitroTpmSupportedVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_sVu][_i]), context); + } + return contents; +}, "de_NitroTpmInfo"); +var de_NitroTpmSupportedVersionsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_NitroTpmSupportedVersionsList"); +var de_OccurrenceDaySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.strictParseInt32)(entry); + }); +}, "de_OccurrenceDaySet"); +var de_OidcOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_is] != null) { + contents[_I] = (0, import_smithy_client.expectString)(output[_is]); + } + if (output[_aE] != null) { + contents[_AE] = (0, import_smithy_client.expectString)(output[_aE]); + } + if (output[_tEo] != null) { + contents[_TEo] = (0, import_smithy_client.expectString)(output[_tEo]); + } + if (output[_uIE] != null) { + contents[_UIE] = (0, import_smithy_client.expectString)(output[_uIE]); + } + if (output[_cIli] != null) { + contents[_CIl] = (0, import_smithy_client.expectString)(output[_cIli]); + } + if (output[_cSl] != null) { + contents[_CSl] = (0, import_smithy_client.expectString)(output[_cSl]); + } + if (output[_sc] != null) { + contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); + } + return contents; +}, "de_OidcOptions"); +var de_OnDemandOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSl] != null) { + contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); + } + if (output[_cRO] != null) { + contents[_CRO] = de_CapacityReservationOptions(output[_cRO], context); + } + if (output[_sITi] != null) { + contents[_SITi] = (0, import_smithy_client.parseBoolean)(output[_sITi]); + } + if (output[_sAZ] != null) { + contents[_SAZ] = (0, import_smithy_client.parseBoolean)(output[_sAZ]); + } + if (output[_mTC] != null) { + contents[_MTC] = (0, import_smithy_client.strictParseInt32)(output[_mTC]); + } + if (output[_mTP] != null) { + contents[_MTP] = (0, import_smithy_client.expectString)(output[_mTP]); + } + return contents; +}, "de_OnDemandOptions"); +var de_PacketHeaderStatement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.sourceAddressSet === "") { + contents[_SAo] = []; + } else if (output[_sAS] != null && output[_sAS][_i] != null) { + contents[_SAo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAS][_i]), context); + } + if (output.destinationAddressSet === "") { + contents[_DAes] = []; + } else if (output[_dAS] != null && output[_dAS][_i] != null) { + contents[_DAes] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dAS][_i]), context); + } + if (output.sourcePortSet === "") { + contents[_SPo] = []; + } else if (output[_sPS] != null && output[_sPS][_i] != null) { + contents[_SPo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPS][_i]), context); + } + if (output.destinationPortSet === "") { + contents[_DPe] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPS][_i]), context); + } + if (output.sourcePrefixListSet === "") { + contents[_SPL] = []; + } else if (output[_sPLS] != null && output[_sPLS][_i] != null) { + contents[_SPL] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sPLS][_i]), context); + } + if (output.destinationPrefixListSet === "") { + contents[_DPLe] = []; + } else if (output[_dPLS] != null && output[_dPLS][_i] != null) { + contents[_DPLe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dPLS][_i]), context); + } + if (output.protocolSet === "") { + contents[_Pro] = []; + } else if (output[_pSro] != null && output[_pSro][_i] != null) { + contents[_Pro] = de_ProtocolList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSro][_i]), context); + } + return contents; +}, "de_PacketHeaderStatement"); +var de_PathComponent = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sNe] != null) { + contents[_SNeq] = (0, import_smithy_client.strictParseInt32)(output[_sNe]); + } + if (output[_aRc] != null) { + contents[_ARcl] = de_AnalysisAclRule(output[_aRc], context); + } + if (output[_aTtt] != null) { + contents[_ATtta] = de_AnalysisComponent(output[_aTtt], context); + } + if (output[_c] != null) { + contents[_Com] = de_AnalysisComponent(output[_c], context); + } + if (output[_dV] != null) { + contents[_DVest] = de_AnalysisComponent(output[_dV], context); + } + if (output[_oH] != null) { + contents[_OH] = de_AnalysisPacketHeader(output[_oH], context); + } + if (output[_iHn] != null) { + contents[_IHn] = de_AnalysisPacketHeader(output[_iHn], context); + } + if (output[_rTR] != null) { + contents[_RTR] = de_AnalysisRouteTableRoute(output[_rTR], context); + } + if (output[_sGR] != null) { + contents[_SGRe] = de_AnalysisSecurityGroupRule(output[_sGR], context); + } + if (output[_sV] != null) { + contents[_SVo] = de_AnalysisComponent(output[_sV], context); + } + if (output[_su] != null) { + contents[_Su] = de_AnalysisComponent(output[_su], context); + } + if (output[_vp] != null) { + contents[_Vp] = de_AnalysisComponent(output[_vp], context); + } + if (output.additionalDetailSet === "") { + contents[_ADd] = []; + } else if (output[_aDS] != null && output[_aDS][_i] != null) { + contents[_ADd] = de_AdditionalDetailList((0, import_smithy_client.getArrayIfSingleItem)(output[_aDS][_i]), context); + } + if (output[_tG] != null) { + contents[_TGr] = de_AnalysisComponent(output[_tG], context); + } + if (output[_tGRTR] != null) { + contents[_TGRTR] = de_TransitGatewayRouteTableRoute(output[_tGRTR], context); + } + if (output.explanationSet === "") { + contents[_Ex] = []; + } else if (output[_eSx] != null && output[_eSx][_i] != null) { + contents[_Ex] = de_ExplanationList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSx][_i]), context); + } + if (output[_eLBL] != null) { + contents[_ELBL] = de_AnalysisComponent(output[_eLBL], context); + } + if (output[_fSR] != null) { + contents[_FSRi] = de_FirewallStatelessRule(output[_fSR], context); + } + if (output[_fSRi] != null) { + contents[_FSRir] = de_FirewallStatefulRule(output[_fSRi], context); + } + if (output[_sN] != null) { + contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); + } + return contents; +}, "de_PathComponent"); +var de_PathComponentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PathComponent(entry, context); + }); +}, "de_PathComponentList"); +var de_PathFilter = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sAo] != null) { + contents[_SAou] = (0, import_smithy_client.expectString)(output[_sAo]); + } + if (output[_sPR] != null) { + contents[_SPR] = de_FilterPortRange(output[_sPR], context); + } + if (output[_dAe] != null) { + contents[_DAest] = (0, import_smithy_client.expectString)(output[_dAe]); + } + if (output[_dPR] != null) { + contents[_DPR] = de_FilterPortRange(output[_dPR], context); + } + return contents; +}, "de_PathFilter"); +var de_PathStatement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pHS] != null) { + contents[_PHS] = de_PacketHeaderStatement(output[_pHS], context); + } + if (output[_rSes] != null) { + contents[_RSe] = de_ResourceStatement(output[_rSes], context); + } + return contents; +}, "de_PathStatement"); +var de_PciId = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_DIevi] != null) { + contents[_DIevi] = (0, import_smithy_client.expectString)(output[_DIevi]); + } + if (output[_VIe] != null) { + contents[_VIe] = (0, import_smithy_client.expectString)(output[_VIe]); + } + if (output[_SIubs] != null) { + contents[_SIubs] = (0, import_smithy_client.expectString)(output[_SIubs]); + } + if (output[_SVI] != null) { + contents[_SVI] = (0, import_smithy_client.expectString)(output[_SVI]); + } + return contents; +}, "de_PciId"); +var de_PeeringAttachmentStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_PeeringAttachmentStatus"); +var de_PeeringConnectionOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aDRFRV] != null) { + contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]); + } + if (output[_aEFLCLTRV] != null) { + contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]); + } + if (output[_aEFLVTRCL] != null) { + contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]); + } + return contents; +}, "de_PeeringConnectionOptions"); +var de_PeeringTgwInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_cNIo] != null) { + contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_reg] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); + } + return contents; +}, "de_PeeringTgwInfo"); +var de_Phase1DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase1DHGroupNumbersListValue(entry, context); + }); +}, "de_Phase1DHGroupNumbersList"); +var de_Phase1DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]); + } + return contents; +}, "de_Phase1DHGroupNumbersListValue"); +var de_Phase1EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase1EncryptionAlgorithmsListValue(entry, context); + }); +}, "de_Phase1EncryptionAlgorithmsList"); +var de_Phase1EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_Phase1EncryptionAlgorithmsListValue"); +var de_Phase1IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase1IntegrityAlgorithmsListValue(entry, context); + }); +}, "de_Phase1IntegrityAlgorithmsList"); +var de_Phase1IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_Phase1IntegrityAlgorithmsListValue"); +var de_Phase2DHGroupNumbersList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase2DHGroupNumbersListValue(entry, context); + }); +}, "de_Phase2DHGroupNumbersList"); +var de_Phase2DHGroupNumbersListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.strictParseInt32)(output[_v]); + } + return contents; +}, "de_Phase2DHGroupNumbersListValue"); +var de_Phase2EncryptionAlgorithmsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase2EncryptionAlgorithmsListValue(entry, context); + }); +}, "de_Phase2EncryptionAlgorithmsList"); +var de_Phase2EncryptionAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_Phase2EncryptionAlgorithmsListValue"); +var de_Phase2IntegrityAlgorithmsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Phase2IntegrityAlgorithmsListValue(entry, context); + }); +}, "de_Phase2IntegrityAlgorithmsList"); +var de_Phase2IntegrityAlgorithmsListValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_Phase2IntegrityAlgorithmsListValue"); +var de_Placement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_af] != null) { + contents[_Af] = (0, import_smithy_client.expectString)(output[_af]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_pN] != null) { + contents[_PN] = (0, import_smithy_client.strictParseInt32)(output[_pN]); + } + if (output[_hI] != null) { + contents[_HIo] = (0, import_smithy_client.expectString)(output[_hI]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + if (output[_sDp] != null) { + contents[_SD] = (0, import_smithy_client.expectString)(output[_sDp]); + } + if (output[_hRGA] != null) { + contents[_HRGA] = (0, import_smithy_client.expectString)(output[_hRGA]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + return contents; +}, "de_Placement"); +var de_PlacementGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_str] != null) { + contents[_Str] = (0, import_smithy_client.expectString)(output[_str]); + } + if (output[_pCa] != null) { + contents[_PCa] = (0, import_smithy_client.strictParseInt32)(output[_pCa]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_gA] != null) { + contents[_GA] = (0, import_smithy_client.expectString)(output[_gA]); + } + if (output[_sLp] != null) { + contents[_SL] = (0, import_smithy_client.expectString)(output[_sLp]); + } + return contents; +}, "de_PlacementGroup"); +var de_PlacementGroupInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.supportedStrategies === "") { + contents[_SSu] = []; + } else if (output[_sSup] != null && output[_sSup][_i] != null) { + contents[_SSu] = de_PlacementGroupStrategyList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSup][_i]), context); + } + return contents; +}, "de_PlacementGroupInfo"); +var de_PlacementGroupList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PlacementGroup(entry, context); + }); +}, "de_PlacementGroupList"); +var de_PlacementGroupStrategyList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_PlacementGroupStrategyList"); +var de_PlacementResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + return contents; +}, "de_PlacementResponse"); +var de_PoolCidrBlock = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pCB] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_pCB]); + } + return contents; +}, "de_PoolCidrBlock"); +var de_PoolCidrBlocksSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PoolCidrBlock(entry, context); + }); +}, "de_PoolCidrBlocksSet"); +var de_PortRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fr] != null) { + contents[_Fr] = (0, import_smithy_client.strictParseInt32)(output[_fr]); + } + if (output[_to] != null) { + contents[_To] = (0, import_smithy_client.strictParseInt32)(output[_to]); + } + return contents; +}, "de_PortRange"); +var de_PortRangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PortRange(entry, context); + }); +}, "de_PortRangeList"); +var de_PrefixList = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.cidrSet === "") { + contents[_Ci] = []; + } else if (output[_cS] != null && output[_cS][_i] != null) { + contents[_Ci] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_cS][_i]), context); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_pLN] != null) { + contents[_PLN] = (0, import_smithy_client.expectString)(output[_pLN]); + } + return contents; +}, "de_PrefixList"); +var de_PrefixListAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rO] != null) { + contents[_RO] = (0, import_smithy_client.expectString)(output[_rO]); + } + return contents; +}, "de_PrefixListAssociation"); +var de_PrefixListAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrefixListAssociation(entry, context); + }); +}, "de_PrefixListAssociationSet"); +var de_PrefixListEntry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_PrefixListEntry"); +var de_PrefixListEntrySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrefixListEntry(entry, context); + }); +}, "de_PrefixListEntrySet"); +var de_PrefixListId = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + return contents; +}, "de_PrefixListId"); +var de_PrefixListIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrefixListId(entry, context); + }); +}, "de_PrefixListIdList"); +var de_PrefixListIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_PrefixListIdSet"); +var de_PrefixListSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrefixList(entry, context); + }); +}, "de_PrefixListSet"); +var de_PriceSchedule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_act] != null) { + contents[_Act] = (0, import_smithy_client.parseBoolean)(output[_act]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_pric] != null) { + contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]); + } + if (output[_te] != null) { + contents[_Ter] = (0, import_smithy_client.strictParseLong)(output[_te]); + } + return contents; +}, "de_PriceSchedule"); +var de_PriceScheduleList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PriceSchedule(entry, context); + }); +}, "de_PriceScheduleList"); +var de_PricingDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cou] != null) { + contents[_Cou] = (0, import_smithy_client.strictParseInt32)(output[_cou]); + } + if (output[_pric] != null) { + contents[_Pric] = (0, import_smithy_client.strictParseFloat)(output[_pric]); + } + return contents; +}, "de_PricingDetail"); +var de_PricingDetailsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PricingDetail(entry, context); + }); +}, "de_PricingDetailsList"); +var de_PrincipalIdFormat = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + if (output.statusSet === "") { + contents[_Status] = []; + } else if (output[_sSt] != null && output[_sSt][_i] != null) { + contents[_Status] = de_IdFormatList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSt][_i]), context); + } + return contents; +}, "de_PrincipalIdFormat"); +var de_PrincipalIdFormatList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrincipalIdFormat(entry, context); + }); +}, "de_PrincipalIdFormatList"); +var de_PrivateDnsDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + return contents; +}, "de_PrivateDnsDetails"); +var de_PrivateDnsDetailsSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrivateDnsDetails(entry, context); + }); +}, "de_PrivateDnsDetailsSet"); +var de_PrivateDnsNameConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + return contents; +}, "de_PrivateDnsNameConfiguration"); +var de_PrivateDnsNameOptionsOnLaunch = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hTo] != null) { + contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); + } + if (output[_eRNDAR] != null) { + contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); + } + if (output[_eRNDAAAAR] != null) { + contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); + } + return contents; +}, "de_PrivateDnsNameOptionsOnLaunch"); +var de_PrivateDnsNameOptionsResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hTo] != null) { + contents[_HTo] = (0, import_smithy_client.expectString)(output[_hTo]); + } + if (output[_eRNDAR] != null) { + contents[_ERNDAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAR]); + } + if (output[_eRNDAAAAR] != null) { + contents[_ERNDAAAAR] = (0, import_smithy_client.parseBoolean)(output[_eRNDAAAAR]); + } + return contents; +}, "de_PrivateDnsNameOptionsResponse"); +var de_PrivateIpAddressSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_prim] != null) { + contents[_Prim] = (0, import_smithy_client.parseBoolean)(output[_prim]); + } + if (output[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + return contents; +}, "de_PrivateIpAddressSpecification"); +var de_PrivateIpAddressSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PrivateIpAddressSpecification(entry, context); + }); +}, "de_PrivateIpAddressSpecificationList"); +var de_ProcessorInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.supportedArchitectures === "") { + contents[_SAup] = []; + } else if (output[_sAu] != null && output[_sAu][_i] != null) { + contents[_SAup] = de_ArchitectureTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_sAu][_i]), context); + } + if (output[_sCSIG] != null) { + contents[_SCSIG] = (0, import_smithy_client.strictParseFloat)(output[_sCSIG]); + } + if (output.supportedFeatures === "") { + contents[_SF] = []; + } else if (output[_sF] != null && output[_sF][_i] != null) { + contents[_SF] = de_SupportedAdditionalProcessorFeatureList((0, import_smithy_client.getArrayIfSingleItem)(output[_sF][_i]), context); + } + if (output[_man] != null) { + contents[_Man] = (0, import_smithy_client.expectString)(output[_man]); + } + return contents; +}, "de_ProcessorInfo"); +var de_ProductCode = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pCr] != null) { + contents[_PCIr] = (0, import_smithy_client.expectString)(output[_pCr]); + } + if (output[_ty] != null) { + contents[_PCT] = (0, import_smithy_client.expectString)(output[_ty]); + } + return contents; +}, "de_ProductCode"); +var de_ProductCodeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ProductCode(entry, context); + }); +}, "de_ProductCodeList"); +var de_PropagatingVgw = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gI] != null) { + contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); + } + return contents; +}, "de_PropagatingVgw"); +var de_PropagatingVgwList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PropagatingVgw(entry, context); + }); +}, "de_PropagatingVgwList"); +var de_ProtocolIntList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.strictParseInt32)(entry); + }); +}, "de_ProtocolIntList"); +var de_ProtocolList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ProtocolList"); +var de_ProvisionByoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bC] != null) { + contents[_BC] = de_ByoipCidr(output[_bC], context); + } + return contents; +}, "de_ProvisionByoipCidrResult"); +var de_ProvisionedBandwidth = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pTr] != null) { + contents[_PTro] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pTr])); + } + if (output[_prov] != null) { + contents[_Prov] = (0, import_smithy_client.expectString)(output[_prov]); + } + if (output[_rTeq] != null) { + contents[_RTeq] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rTeq])); + } + if (output[_req] != null) { + contents[_Req] = (0, import_smithy_client.expectString)(output[_req]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_ProvisionedBandwidth"); +var de_ProvisionIpamByoasnResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_b] != null) { + contents[_Byo] = de_Byoasn(output[_b], context); + } + return contents; +}, "de_ProvisionIpamByoasnResult"); +var de_ProvisionIpamPoolCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPC] != null) { + contents[_IPCpa] = de_IpamPoolCidr(output[_iPC], context); + } + return contents; +}, "de_ProvisionIpamPoolCidrResult"); +var de_ProvisionPublicIpv4PoolCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + if (output[_pAR] != null) { + contents[_PAR] = de_PublicIpv4PoolRange(output[_pAR], context); + } + return contents; +}, "de_ProvisionPublicIpv4PoolCidrResult"); +var de_PtrUpdateStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_rea] != null) { + contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]); + } + return contents; +}, "de_PtrUpdateStatus"); +var de_PublicIpv4Pool = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pIo] != null) { + contents[_PIo] = (0, import_smithy_client.expectString)(output[_pIo]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.poolAddressRangeSet === "") { + contents[_PARo] = []; + } else if (output[_pARS] != null && output[_pARS][_i] != null) { + contents[_PARo] = de_PublicIpv4PoolRangeSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pARS][_i]), context); + } + if (output[_tAC] != null) { + contents[_TAC] = (0, import_smithy_client.strictParseInt32)(output[_tAC]); + } + if (output[_tAAC] != null) { + contents[_TAAC] = (0, import_smithy_client.strictParseInt32)(output[_tAAC]); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_PublicIpv4Pool"); +var de_PublicIpv4PoolRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fAi] != null) { + contents[_FAi] = (0, import_smithy_client.expectString)(output[_fAi]); + } + if (output[_lAa] != null) { + contents[_LAa] = (0, import_smithy_client.expectString)(output[_lAa]); + } + if (output[_aCd] != null) { + contents[_ACd] = (0, import_smithy_client.strictParseInt32)(output[_aCd]); + } + if (output[_aAC] != null) { + contents[_AACv] = (0, import_smithy_client.strictParseInt32)(output[_aAC]); + } + return contents; +}, "de_PublicIpv4PoolRange"); +var de_PublicIpv4PoolRangeSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PublicIpv4PoolRange(entry, context); + }); +}, "de_PublicIpv4PoolRangeSet"); +var de_PublicIpv4PoolSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PublicIpv4Pool(entry, context); + }); +}, "de_PublicIpv4PoolSet"); +var de_Purchase = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseInt32)(output[_du]); + } + if (output.hostIdSet === "") { + contents[_HIS] = []; + } else if (output[_hIS] != null && output[_hIS][_i] != null) { + contents[_HIS] = de_ResponseHostIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_hIS][_i]), context); + } + if (output[_hRI] != null) { + contents[_HRI] = (0, import_smithy_client.expectString)(output[_hRI]); + } + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + if (output[_pO] != null) { + contents[_PO] = (0, import_smithy_client.expectString)(output[_pO]); + } + if (output[_uP] != null) { + contents[_UPp] = (0, import_smithy_client.expectString)(output[_uP]); + } + return contents; +}, "de_Purchase"); +var de_PurchaseCapacityBlockResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cR] != null) { + contents[_CRapa] = de_CapacityReservation(output[_cR], context); + } + return contents; +}, "de_PurchaseCapacityBlockResult"); +var de_PurchasedScheduledInstanceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ScheduledInstance(entry, context); + }); +}, "de_PurchasedScheduledInstanceSet"); +var de_PurchaseHostReservationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output.purchase === "") { + contents[_Pur] = []; + } else if (output[_pur] != null && output[_pur][_i] != null) { + contents[_Pur] = de_PurchaseSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pur][_i]), context); + } + if (output[_tHP] != null) { + contents[_THP] = (0, import_smithy_client.expectString)(output[_tHP]); + } + if (output[_tUP] != null) { + contents[_TUP] = (0, import_smithy_client.expectString)(output[_tUP]); + } + return contents; +}, "de_PurchaseHostReservationResult"); +var de_PurchaseReservedInstancesOfferingResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + return contents; +}, "de_PurchaseReservedInstancesOfferingResult"); +var de_PurchaseScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.scheduledInstanceSet === "") { + contents[_SIS] = []; + } else if (output[_sIS] != null && output[_sIS][_i] != null) { + contents[_SIS] = de_PurchasedScheduledInstanceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIS][_i]), context); + } + return contents; +}, "de_PurchaseScheduledInstancesResult"); +var de_PurchaseSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Purchase(entry, context); + }); +}, "de_PurchaseSet"); +var de_RecurringCharge = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_am] != null) { + contents[_Am] = (0, import_smithy_client.strictParseFloat)(output[_am]); + } + if (output[_fre] != null) { + contents[_Fre] = (0, import_smithy_client.expectString)(output[_fre]); + } + return contents; +}, "de_RecurringCharge"); +var de_RecurringChargesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RecurringCharge(entry, context); + }); +}, "de_RecurringChargesList"); +var de_ReferencedSecurityGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_pSee] != null) { + contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]); + } + if (output[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + return contents; +}, "de_ReferencedSecurityGroup"); +var de_Region = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rEe] != null) { + contents[_Endp] = (0, import_smithy_client.expectString)(output[_rEe]); + } + if (output[_rNe] != null) { + contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); + } + if (output[_oIS] != null) { + contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]); + } + return contents; +}, "de_Region"); +var de_RegionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Region(entry, context); + }); +}, "de_RegionList"); +var de_RegisterImageResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + return contents; +}, "de_RegisterImageResult"); +var de_RegisterInstanceEventNotificationAttributesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iTA] != null) { + contents[_ITA] = de_InstanceTagNotificationAttribute(output[_iTA], context); + } + return contents; +}, "de_RegisterInstanceEventNotificationAttributesResult"); +var de_RegisterTransitGatewayMulticastGroupMembersResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rMGM] != null) { + contents[_RMGM] = de_TransitGatewayMulticastRegisteredGroupMembers(output[_rMGM], context); + } + return contents; +}, "de_RegisterTransitGatewayMulticastGroupMembersResult"); +var de_RegisterTransitGatewayMulticastGroupSourcesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rMGS] != null) { + contents[_RMGS] = de_TransitGatewayMulticastRegisteredGroupSources(output[_rMGS], context); + } + return contents; +}, "de_RegisterTransitGatewayMulticastGroupSourcesResult"); +var de_RejectTransitGatewayMulticastDomainAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_a] != null) { + contents[_Ass] = de_TransitGatewayMulticastDomainAssociations(output[_a], context); + } + return contents; +}, "de_RejectTransitGatewayMulticastDomainAssociationsResult"); +var de_RejectTransitGatewayPeeringAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPA] != null) { + contents[_TGPA] = de_TransitGatewayPeeringAttachment(output[_tGPA], context); + } + return contents; +}, "de_RejectTransitGatewayPeeringAttachmentResult"); +var de_RejectTransitGatewayVpcAttachmentResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGVA] != null) { + contents[_TGVA] = de_TransitGatewayVpcAttachment(output[_tGVA], context); + } + return contents; +}, "de_RejectTransitGatewayVpcAttachmentResult"); +var de_RejectVpcEndpointConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemSet((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_RejectVpcEndpointConnectionsResult"); +var de_RejectVpcPeeringConnectionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_RejectVpcPeeringConnectionResult"); +var de_ReleaseHostsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.successful === "") { + contents[_Suc] = []; + } else if (output[_suc] != null && output[_suc][_i] != null) { + contents[_Suc] = de_ResponseHostIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_suc][_i]), context); + } + if (output.unsuccessful === "") { + contents[_Un] = []; + } else if (output[_u] != null && output[_u][_i] != null) { + contents[_Un] = de_UnsuccessfulItemList((0, import_smithy_client.getArrayIfSingleItem)(output[_u][_i]), context); + } + return contents; +}, "de_ReleaseHostsResult"); +var de_ReleaseIpamPoolAllocationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_succ] != null) { + contents[_Succ] = (0, import_smithy_client.parseBoolean)(output[_succ]); + } + return contents; +}, "de_ReleaseIpamPoolAllocationResult"); +var de_ReplaceIamInstanceProfileAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iIPA] != null) { + contents[_IIPA] = de_IamInstanceProfileAssociation(output[_iIPA], context); + } + return contents; +}, "de_ReplaceIamInstanceProfileAssociationResult"); +var de_ReplaceNetworkAclAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nAIe] != null) { + contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]); + } + return contents; +}, "de_ReplaceNetworkAclAssociationResult"); +var de_ReplaceRootVolumeTask = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rRVTI] != null) { + contents[_RRVTIe] = (0, import_smithy_client.expectString)(output[_rRVTI]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_tSas] != null) { + contents[_TSas] = (0, import_smithy_client.expectString)(output[_tSas]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectString)(output[_sT]); + } + if (output[_cTom] != null) { + contents[_CTom] = (0, import_smithy_client.expectString)(output[_cTom]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_dRRV] != null) { + contents[_DRRV] = (0, import_smithy_client.parseBoolean)(output[_dRRV]); + } + return contents; +}, "de_ReplaceRootVolumeTask"); +var de_ReplaceRootVolumeTasks = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReplaceRootVolumeTask(entry, context); + }); +}, "de_ReplaceRootVolumeTasks"); +var de_ReplaceRouteTableAssociationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nAIe] != null) { + contents[_NAIew] = (0, import_smithy_client.expectString)(output[_nAIe]); + } + if (output[_aS] != null) { + contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); + } + return contents; +}, "de_ReplaceRouteTableAssociationResult"); +var de_ReplaceTransitGatewayRouteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ro] != null) { + contents[_Ro] = de_TransitGatewayRoute(output[_ro], context); + } + return contents; +}, "de_ReplaceTransitGatewayRouteResult"); +var de_ReplaceVpnTunnelResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ReplaceVpnTunnelResult"); +var de_RequestSpotFleetResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + return contents; +}, "de_RequestSpotFleetResponse"); +var de_RequestSpotInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.spotInstanceRequestSet === "") { + contents[_SIR] = []; + } else if (output[_sIRS] != null && output[_sIRS][_i] != null) { + contents[_SIR] = de_SpotInstanceRequestList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIRS][_i]), context); + } + return contents; +}, "de_RequestSpotInstancesResult"); +var de_Reservation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output.instancesSet === "") { + contents[_In] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_In] = de_InstanceList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_rIeq] != null) { + contents[_RIeq] = (0, import_smithy_client.expectString)(output[_rIeq]); + } + if (output[_rIes] != null) { + contents[_RIeser] = (0, import_smithy_client.expectString)(output[_rIes]); + } + return contents; +}, "de_Reservation"); +var de_ReservationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Reservation(entry, context); + }); +}, "de_ReservationList"); +var de_ReservationValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_rTV] != null) { + contents[_RTV] = (0, import_smithy_client.expectString)(output[_rTV]); + } + if (output[_rUV] != null) { + contents[_RUV] = (0, import_smithy_client.expectString)(output[_rUV]); + } + return contents; +}, "de_ReservationValue"); +var de_ReservedInstanceReservationValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rVe] != null) { + contents[_RVe] = de_ReservationValue(output[_rVe], context); + } + if (output[_rIIe] != null) { + contents[_RIIese] = (0, import_smithy_client.expectString)(output[_rIIe]); + } + return contents; +}, "de_ReservedInstanceReservationValue"); +var de_ReservedInstanceReservationValueSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstanceReservationValue(entry, context); + }); +}, "de_ReservedInstanceReservationValueSet"); +var de_ReservedInstances = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); + } + if (output[_end] != null) { + contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end])); + } + if (output[_fPi] != null) { + contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); + } + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + if (output[_star] != null) { + contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star])); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_uPs] != null) { + contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_iTns] != null) { + contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); + } + if (output[_oC] != null) { + contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]); + } + if (output[_oTf] != null) { + contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]); + } + if (output.recurringCharges === "") { + contents[_RCec] = []; + } else if (output[_rCec] != null && output[_rCec][_i] != null) { + contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context); + } + if (output[_sc] != null) { + contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ReservedInstances"); +var de_ReservedInstancesConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_sc] != null) { + contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); + } + return contents; +}, "de_ReservedInstancesConfiguration"); +var de_ReservedInstancesId = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + return contents; +}, "de_ReservedInstancesId"); +var de_ReservedInstancesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstances(entry, context); + }); +}, "de_ReservedInstancesList"); +var de_ReservedInstancesListing = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_cD] != null) { + contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); + } + if (output.instanceCounts === "") { + contents[_ICn] = []; + } else if (output[_iCn] != null && output[_iCn][_i] != null) { + contents[_ICn] = de_InstanceCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCn][_i]), context); + } + if (output.priceSchedules === "") { + contents[_PS] = []; + } else if (output[_pSri] != null && output[_pSri][_i] != null) { + contents[_PS] = de_PriceScheduleList((0, import_smithy_client.getArrayIfSingleItem)(output[_pSri][_i]), context); + } + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + if (output[_rILI] != null) { + contents[_RILI] = (0, import_smithy_client.expectString)(output[_rILI]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_uDpd] != null) { + contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd])); + } + return contents; +}, "de_ReservedInstancesListing"); +var de_ReservedInstancesListingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstancesListing(entry, context); + }); +}, "de_ReservedInstancesListingList"); +var de_ReservedInstancesModification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_cD] != null) { + contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); + } + if (output[_eDf] != null) { + contents[_EDf] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eDf])); + } + if (output.modificationResultSet === "") { + contents[_MRo] = []; + } else if (output[_mRS] != null && output[_mRS][_i] != null) { + contents[_MRo] = de_ReservedInstancesModificationResultList((0, import_smithy_client.getArrayIfSingleItem)(output[_mRS][_i]), context); + } + if (output.reservedInstancesSet === "") { + contents[_RIIes] = []; + } else if (output[_rIS] != null && output[_rIS][_i] != null) { + contents[_RIIes] = de_ReservedIntancesIds((0, import_smithy_client.getArrayIfSingleItem)(output[_rIS][_i]), context); + } + if (output[_rIMI] != null) { + contents[_RIMIe] = (0, import_smithy_client.expectString)(output[_rIMI]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_uDpd] != null) { + contents[_UDpd] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uDpd])); + } + return contents; +}, "de_ReservedInstancesModification"); +var de_ReservedInstancesModificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstancesModification(entry, context); + }); +}, "de_ReservedInstancesModificationList"); +var de_ReservedInstancesModificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + if (output[_tCa] != null) { + contents[_TCar] = de_ReservedInstancesConfiguration(output[_tCa], context); + } + return contents; +}, "de_ReservedInstancesModificationResult"); +var de_ReservedInstancesModificationResultList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstancesModificationResult(entry, context); + }); +}, "de_ReservedInstancesModificationResultList"); +var de_ReservedInstancesOffering = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); + } + if (output[_fPi] != null) { + contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); + } + if (output[_rIOI] != null) { + contents[_RIOIe] = (0, import_smithy_client.expectString)(output[_rIOI]); + } + if (output[_uPs] != null) { + contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); + } + if (output[_cC] != null) { + contents[_CCu] = (0, import_smithy_client.expectString)(output[_cC]); + } + if (output[_iTns] != null) { + contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); + } + if (output[_mar] != null) { + contents[_Mar] = (0, import_smithy_client.parseBoolean)(output[_mar]); + } + if (output[_oC] != null) { + contents[_OC] = (0, import_smithy_client.expectString)(output[_oC]); + } + if (output[_oTf] != null) { + contents[_OT] = (0, import_smithy_client.expectString)(output[_oTf]); + } + if (output.pricingDetailsSet === "") { + contents[_PDri] = []; + } else if (output[_pDS] != null && output[_pDS][_i] != null) { + contents[_PDri] = de_PricingDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDS][_i]), context); + } + if (output.recurringCharges === "") { + contents[_RCec] = []; + } else if (output[_rCec] != null && output[_rCec][_i] != null) { + contents[_RCec] = de_RecurringChargesList((0, import_smithy_client.getArrayIfSingleItem)(output[_rCec][_i]), context); + } + if (output[_sc] != null) { + contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); + } + return contents; +}, "de_ReservedInstancesOffering"); +var de_ReservedInstancesOfferingList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstancesOffering(entry, context); + }); +}, "de_ReservedInstancesOfferingList"); +var de_ReservedIntancesIds = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ReservedInstancesId(entry, context); + }); +}, "de_ReservedIntancesIds"); +var de_ResetAddressAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ad] != null) { + contents[_Ad] = de_AddressAttribute(output[_ad], context); + } + return contents; +}, "de_ResetAddressAttributeResult"); +var de_ResetEbsDefaultKmsKeyIdResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + return contents; +}, "de_ResetEbsDefaultKmsKeyIdResult"); +var de_ResetFpgaImageAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ResetFpgaImageAttributeResult"); +var de_ResourceStatement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.resourceSet === "") { + contents[_R] = []; + } else if (output[_rSeso] != null && output[_rSeso][_i] != null) { + contents[_R] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSeso][_i]), context); + } + if (output.resourceTypeSet === "") { + contents[_RTeso] = []; + } else if (output[_rTSes] != null && output[_rTSes][_i] != null) { + contents[_RTeso] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTSes][_i]), context); + } + return contents; +}, "de_ResourceStatement"); +var de_ResponseError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ResponseError"); +var de_ResponseHostIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ResponseHostIdList"); +var de_ResponseHostIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ResponseHostIdSet"); +var de_ResponseLaunchTemplateData = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_iIP] != null) { + contents[_IIP] = de_LaunchTemplateIamInstanceProfileSpecification(output[_iIP], context); + } + if (output.blockDeviceMappingSet === "") { + contents[_BDM] = []; + } else if (output[_bDMS] != null && output[_bDMS][_i] != null) { + contents[_BDM] = de_LaunchTemplateBlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDMS][_i]), context); + } + if (output.networkInterfaceSet === "") { + contents[_NI] = []; + } else if (output[_nIS] != null && output[_nIS][_i] != null) { + contents[_NI] = de_LaunchTemplateInstanceNetworkInterfaceSpecificationList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), + context + ); } -} - -/** - * Resolve the configuration value for regional endpoint from difference sources: client - * config, environmental variable, shared config file. Value can be case-insensitive - * 'legacy' or 'reginal'. - * @param originalConfig user-supplied config object to resolve - * @param options a map of config property names from individual configuration source - * - env: name of environmental variable that refers to the config - * - sharedConfig: name of shared configuration file property that refers to the config - * - clientConfig: name of client configuration property that refers to the config - * - * @api private - */ -function resolveRegionalEndpointsFlag(originalConfig, options) { - originalConfig = originalConfig || {}; - //validate config value - var resolved; - if (originalConfig[options.clientConfig]) { - resolved = validateRegionalEndpointsFlagValue(originalConfig[options.clientConfig], { - code: 'InvalidConfiguration', - message: 'invalid "' + options.clientConfig + '" configuration. Expect "legacy" ' + - ' or "regional". Got "' + originalConfig[options.clientConfig] + '".' - }); - if (resolved) return resolved; - } - if (!AWS.util.isNode()) return resolved; - //validate environmental variable - if (Object.prototype.hasOwnProperty.call(process.env, options.env)) { - var envFlag = process.env[options.env]; - resolved = validateRegionalEndpointsFlagValue(envFlag, { - code: 'InvalidEnvironmentalVariable', - message: 'invalid ' + options.env + ' environmental variable. Expect "legacy" ' + - ' or "regional". Got "' + process.env[options.env] + '".' - }); - if (resolved) return resolved; - } - //validate shared config file - var profile = {}; - try { - var profiles = AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader); - profile = profiles[process.env.AWS_PROFILE || AWS.util.defaultProfile]; - } catch (e) {}; - if (profile && Object.prototype.hasOwnProperty.call(profile, options.sharedConfig)) { - var fileFlag = profile[options.sharedConfig]; - resolved = validateRegionalEndpointsFlagValue(fileFlag, { - code: 'InvalidConfiguration', - message: 'invalid ' + options.sharedConfig + ' profile config. Expect "legacy" ' + - ' or "regional". Got "' + profile[options.sharedConfig] + '".' - }); - if (resolved) return resolved; + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); } - return resolved; -} - -module.exports = resolveRegionalEndpointsFlag; - - -/***/ }), - -/***/ 28437: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -/** - * The main AWS namespace - */ -var AWS = { util: __nccwpck_require__(77985) }; - -/** - * @api private - * @!macro [new] nobrowser - * @note This feature is not supported in the browser environment of the SDK. - */ -var _hidden = {}; _hidden.toString(); // hack to parse macro - -/** - * @api private - */ -module.exports = AWS; - -AWS.util.update(AWS, { - - /** - * @constant - */ - VERSION: '2.1535.0', - - /** - * @api private - */ - Signers: {}, - - /** - * @api private - */ - Protocol: { - Json: __nccwpck_require__(30083), - Query: __nccwpck_require__(90761), - Rest: __nccwpck_require__(98200), - RestJson: __nccwpck_require__(5883), - RestXml: __nccwpck_require__(15143) - }, - - /** - * @api private - */ - XML: { - Builder: __nccwpck_require__(23546), - Parser: null // conditionally set based on environment - }, - - /** - * @api private - */ - JSON: { - Builder: __nccwpck_require__(47495), - Parser: __nccwpck_require__(5474) - }, - - /** - * @api private - */ - Model: { - Api: __nccwpck_require__(17657), - Operation: __nccwpck_require__(28083), - Shape: __nccwpck_require__(71349), - Paginator: __nccwpck_require__(45938), - ResourceWaiter: __nccwpck_require__(41368) - }, - - /** - * @api private - */ - apiLoader: __nccwpck_require__(52793), - - /** - * @api private - */ - EndpointCache: (__nccwpck_require__(96323)/* .EndpointCache */ .$) -}); -__nccwpck_require__(55948); -__nccwpck_require__(68903); -__nccwpck_require__(38110); -__nccwpck_require__(1556); -__nccwpck_require__(54995); -__nccwpck_require__(78652); -__nccwpck_require__(58743); -__nccwpck_require__(39925); -__nccwpck_require__(9897); -__nccwpck_require__(99127); -__nccwpck_require__(93985); - -/** - * @readonly - * @return [AWS.SequentialExecutor] a collection of global event listeners that - * are attached to every sent request. - * @see AWS.Request AWS.Request for a list of events to listen for - * @example Logging the time taken to send a request - * AWS.events.on('send', function startSend(resp) { - * resp.startTime = new Date().getTime(); - * }).on('complete', function calculateTime(resp) { - * var time = (new Date().getTime() - resp.startTime) / 1000; - * console.log('Request took ' + time + ' seconds'); - * }); - * - * new AWS.S3().listBuckets(); // prints 'Request took 0.285 seconds' - */ -AWS.events = new AWS.SequentialExecutor(); - -//create endpoint cache lazily -AWS.util.memoizedProperty(AWS, 'endpointCache', function() { - return new AWS.EndpointCache(AWS.config.endpointCacheSize); -}, true); - - -/***/ }), - -/***/ 53819: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); - -/** - * Represents your AWS security credentials, specifically the - * {accessKeyId}, {secretAccessKey}, and optional {sessionToken}. - * Creating a `Credentials` object allows you to pass around your - * security information to configuration and service objects. - * - * Note that this class typically does not need to be constructed manually, - * as the {AWS.Config} and {AWS.Service} classes both accept simple - * options hashes with the three keys. These structures will be converted - * into Credentials objects automatically. - * - * ## Expiring and Refreshing Credentials - * - * Occasionally credentials can expire in the middle of a long-running - * application. In this case, the SDK will automatically attempt to - * refresh the credentials from the storage location if the Credentials - * class implements the {refresh} method. - * - * If you are implementing a credential storage location, you - * will want to create a subclass of the `Credentials` class and - * override the {refresh} method. This method allows credentials to be - * retrieved from the backing store, be it a file system, database, or - * some network storage. The method should reset the credential attributes - * on the object. - * - * @!attribute expired - * @return [Boolean] whether the credentials have been expired and - * require a refresh. Used in conjunction with {expireTime}. - * @!attribute expireTime - * @return [Date] a time when credentials should be considered expired. Used - * in conjunction with {expired}. - * @!attribute accessKeyId - * @return [String] the AWS access key ID - * @!attribute secretAccessKey - * @return [String] the AWS secret access key - * @!attribute sessionToken - * @return [String] an optional AWS session token - */ -AWS.Credentials = AWS.util.inherit({ - /** - * A credentials object can be created using positional arguments or an options - * hash. - * - * @overload AWS.Credentials(accessKeyId, secretAccessKey, sessionToken=null) - * Creates a Credentials object with a given set of credential information - * as positional arguments. - * @param accessKeyId [String] the AWS access key ID - * @param secretAccessKey [String] the AWS secret access key - * @param sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials('akid', 'secret', 'session'); - * @overload AWS.Credentials(options) - * Creates a Credentials object with a given set of credential information - * as an options hash. - * @option options accessKeyId [String] the AWS access key ID - * @option options secretAccessKey [String] the AWS secret access key - * @option options sessionToken [String] the optional AWS session token - * @example Create a credentials object with AWS credentials - * var creds = new AWS.Credentials({ - * accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session' - * }); - */ - constructor: function Credentials() { - // hide secretAccessKey from being displayed with util.inspect - AWS.util.hideProperties(this, ['secretAccessKey']); - - this.expired = false; - this.expireTime = null; - this.refreshCallbacks = []; - if (arguments.length === 1 && typeof arguments[0] === 'object') { - var creds = arguments[0].credentials || arguments[0]; - this.accessKeyId = creds.accessKeyId; - this.secretAccessKey = creds.secretAccessKey; - this.sessionToken = creds.sessionToken; - } else { - this.accessKeyId = arguments[0]; - this.secretAccessKey = arguments[1]; - this.sessionToken = arguments[2]; - } - }, - - /** - * @return [Integer] the number of seconds before {expireTime} during which - * the credentials will be considered expired. - */ - expiryWindow: 15, - - /** - * @return [Boolean] whether the credentials object should call {refresh} - * @note Subclasses should override this method to provide custom refresh - * logic. - */ - needsRefresh: function needsRefresh() { - var currentTime = AWS.util.date.getDate().getTime(); - var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); - - if (this.expireTime && adjustedTime > this.expireTime) { - return true; - } else { - return this.expired || !this.accessKeyId || !this.secretAccessKey; - } - }, - - /** - * Gets the existing credentials, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload credentials when they are already - * loaded into the object. - * - * @callback callback function(err) - * When this callback is called with no error, it means either credentials - * do not need to be refreshed or refreshed credentials information has - * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - */ - get: function get(callback) { - var self = this; - if (this.needsRefresh()) { - this.refresh(function(err) { - if (!err) self.expired = false; // reset expired flag - if (callback) callback(err); - }); - } else if (callback) { - callback(); - } - }, - - /** - * @!method getPromise() - * Returns a 'thenable' promise. - * Gets the existing credentials, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload credentials when they are already - * loaded into the object. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it - * means either credentials do not need to be refreshed or refreshed - * credentials information has been loaded into the object (as the - * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled - * @return [Promise] A promise that represents the state of the `get` call. - * @example Calling the `getPromise` method. - * var promise = credProvider.getPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ - - /** - * @!method refreshPromise() - * Returns a 'thenable' promise. - * Refreshes the credentials. Users should call {get} before attempting - * to forcibly refresh credentials. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it - * means refreshed credentials information has been loaded into the object - * (as the `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled - * @return [Promise] A promise that represents the state of the `refresh` call. - * @example Calling the `refreshPromise` method. - * var promise = credProvider.refreshPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ - - /** - * Refreshes the credentials. Users should call {get} before attempting - * to forcibly refresh credentials. - * - * @callback callback function(err) - * When this callback is called with no error, it means refreshed - * credentials information has been loaded into the object (as the - * `accessKeyId`, `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @note Subclasses should override this class to reset the - * {accessKeyId}, {secretAccessKey} and optional {sessionToken} - * on the credentials object and then call the callback with - * any error information. - * @see get - */ - refresh: function refresh(callback) { - this.expired = false; - callback(); - }, - - /** - * @api private - * @param callback - */ - coalesceRefresh: function coalesceRefresh(callback, sync) { - var self = this; - if (self.refreshCallbacks.push(callback) === 1) { - self.load(function onLoad(err) { - AWS.util.arrayEach(self.refreshCallbacks, function(callback) { - if (sync) { - callback(err); - } else { - // callback could throw, so defer to ensure all callbacks are notified - AWS.util.defer(function () { - callback(err); - }); - } - }); - self.refreshCallbacks.length = 0; - }); - } - }, - - /** - * @api private - * @param callback - */ - load: function load(callback) { - callback(); + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); } -}); - -/** - * @api private - */ -AWS.Credentials.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.getPromise = AWS.util.promisifyMethod('get', PromiseDependency); - this.prototype.refreshPromise = AWS.util.promisifyMethod('refresh', PromiseDependency); -}; - -/** - * @api private - */ -AWS.Credentials.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.getPromise; - delete this.prototype.refreshPromise; -}; - -AWS.util.addPromises(AWS.Credentials); - - -/***/ }), - -/***/ 57083: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var STS = __nccwpck_require__(57513); - -/** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * AWS.ChainableTemporaryCredentials differs from AWS.TemporaryCredentials in - * the way masterCredentials and refreshes are handled. - * AWS.ChainableTemporaryCredentials refreshes expired credentials using the - * masterCredentials passed by the user to support chaining of STS credentials. - * However, AWS.TemporaryCredentials recursively collapses the masterCredentials - * during instantiation, precluding the ability to refresh credentials which - * require intermediate, temporary credentials. - * - * For example, if the application should use RoleA, which must be assumed from - * RoleB, and the environment provides credentials which can assume RoleB, then - * AWS.ChainableTemporaryCredentials must be used to support refreshing the - * temporary credentials for RoleA: - * - * ```javascript - * var roleACreds = new AWS.ChainableTemporaryCredentials({ - * params: {RoleArn: 'RoleA'}, - * masterCredentials: new AWS.ChainableTemporaryCredentials({ - * params: {RoleArn: 'RoleB'}, - * masterCredentials: new AWS.EnvironmentCredentials('AWS') - * }) - * }); - * ``` - * - * If AWS.TemporaryCredentials had been used in the previous example, - * `roleACreds` would fail to refresh because `roleACreds` would - * use the environment credentials for the AssumeRole request. - * - * Another difference is that AWS.ChainableTemporaryCredentials creates the STS - * service instance during instantiation while AWS.TemporaryCredentials creates - * the STS service instance during the first refresh. Creating the service - * instance during instantiation effectively captures the master credentials - * from the global config, so that subsequent changes to the global config do - * not affect the master credentials used to refresh the temporary credentials. - * - * This allows an instance of AWS.ChainableTemporaryCredentials to be assigned - * to AWS.config.credentials: - * - * ```javascript - * var envCreds = new AWS.EnvironmentCredentials('AWS'); - * AWS.config.credentials = envCreds; - * // masterCredentials will be envCreds - * AWS.config.credentials = new AWS.ChainableTemporaryCredentials({ - * params: {RoleArn: '...'} - * }); - * ``` - * - * Similarly, to use the CredentialProviderChain's default providers as the - * master credentials, simply create a new instance of - * AWS.ChainableTemporaryCredentials: - * - * ```javascript - * AWS.config.credentials = new ChainableTemporaryCredentials({ - * params: {RoleArn: '...'} - * }); - * ``` - * - * @!attribute service - * @return [AWS.STS] the STS service instance used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ -AWS.ChainableTemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @param options [map] a set of options - * @option options params [map] ({}) a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. If a `SerialNumber` parameter is passed in, {tokenCodeFn} must - * also be passed in or an error will be thrown. - * @option options masterCredentials [AWS.Credentials] the master credentials - * used to get and refresh temporary credentials from AWS STS. By default, - * AWS.config.credentials or AWS.config.credentialProvider will be used. - * @option options tokenCodeFn [Function] (null) Function to provide - * `TokenCode`, if `SerialNumber` is provided for profile in {params}. Function - * is called with value of `SerialNumber` and `callback`, and should provide - * the `TokenCode` or an error to the callback in the format - * `callback(err, token)`. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.ChainableTemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.ChainableTemporaryCredentials({ - * params: { - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials' - * } - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function ChainableTemporaryCredentials(options) { - AWS.Credentials.call(this); - options = options || {}; - this.errorCode = 'ChainableTemporaryCredentialsProviderFailure'; - this.expired = true; - this.tokenCodeFn = null; - - var params = AWS.util.copy(options.params) || {}; - if (params.RoleArn) { - params.RoleSessionName = params.RoleSessionName || 'temporary-credentials'; - } - if (params.SerialNumber) { - if (!options.tokenCodeFn || (typeof options.tokenCodeFn !== 'function')) { - throw new AWS.util.error( - new Error('tokenCodeFn must be a function when params.SerialNumber is given'), - {code: this.errorCode} - ); - } else { - this.tokenCodeFn = options.tokenCodeFn; - } - } - var config = AWS.util.merge( - { - params: params, - credentials: options.masterCredentials || AWS.config.credentials - }, - options.stsConfig || {} + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_mo] != null) { + contents[_Mon] = de_LaunchTemplatesMonitoring(output[_mo], context); + } + if (output[_pla] != null) { + contents[_Pl] = de_LaunchTemplatePlacement(output[_pla], context); + } + if (output[_rDI] != null) { + contents[_RDI] = (0, import_smithy_client.expectString)(output[_rDI]); + } + if (output[_dAT] != null) { + contents[_DATis] = (0, import_smithy_client.parseBoolean)(output[_dAT]); + } + if (output[_iISB] != null) { + contents[_IISB] = (0, import_smithy_client.expectString)(output[_iISB]); + } + if (output[_uDs] != null) { + contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]); + } + if (output.tagSpecificationSet === "") { + contents[_TS] = []; + } else if (output[_tSS] != null && output[_tSS][_i] != null) { + contents[_TS] = de_LaunchTemplateTagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tSS][_i]), context); + } + if (output.elasticGpuSpecificationSet === "") { + contents[_EGS] = []; + } else if (output[_eGSS] != null && output[_eGSS][_i] != null) { + contents[_EGS] = de_ElasticGpuSpecificationResponseList((0, import_smithy_client.getArrayIfSingleItem)(output[_eGSS][_i]), context); + } + if (output.elasticInferenceAcceleratorSet === "") { + contents[_EIA] = []; + } else if (output[_eIAS] != null && output[_eIAS][_i] != null) { + contents[_EIA] = de_LaunchTemplateElasticInferenceAcceleratorResponseList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_eIAS][_i]), + context ); - this.service = new STS(config); - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see AWS.Credentials.get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - * @param callback - */ - load: function load(callback) { - var self = this; - var operation = self.service.config.params.RoleArn ? 'assumeRole' : 'getSessionToken'; - this.getTokenCode(function (err, tokenCode) { - var params = {}; - if (err) { - callback(err); - return; - } - if (tokenCode) { - params.TokenCode = tokenCode; - } - self.service[operation](params, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }); - }, - - /** - * @api private - */ - getTokenCode: function getTokenCode(callback) { - var self = this; - if (this.tokenCodeFn) { - this.tokenCodeFn(this.service.config.params.SerialNumber, function (err, token) { - if (err) { - var message = err; - if (err instanceof Error) { - message = err.message; - } - callback( - AWS.util.error( - new Error('Error fetching MFA token: ' + message), - { code: self.errorCode} - ) - ); - return; - } - callback(null, token); - }); - } else { - callback(null); - } } -}); - - -/***/ }), - -/***/ 3498: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var CognitoIdentity = __nccwpck_require__(58291); -var STS = __nccwpck_require__(57513); - -/** - * Represents credentials retrieved from STS Web Identity Federation using - * the Amazon Cognito Identity service. - * - * By default this provider gets credentials using the - * {AWS.CognitoIdentity.getCredentialsForIdentity} service operation, which - * requires either an `IdentityId` or an `IdentityPoolId` (Amazon Cognito - * Identity Pool ID), which is used to call {AWS.CognitoIdentity.getId} to - * obtain an `IdentityId`. If the identity or identity pool is not configured in - * the Amazon Cognito Console to use IAM roles with the appropriate permissions, - * then additionally a `RoleArn` is required containing the ARN of the IAM trust - * policy for the Amazon Cognito role that the user will log into. If a `RoleArn` - * is provided, then this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation, after first getting an - * Open ID token from {AWS.CognitoIdentity.getOpenIdToken}. - * - * In addition, if this credential provider is used to provide authenticated - * login, the `Logins` map may be set to the tokens provided by the respective - * identity providers. See {constructor} for an example on creating a credentials - * object with proper property values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.Logins['graph.facebook.com'] = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.CognitoIdentity.getId}, - * {AWS.CognitoIdentity.getOpenIdToken}, and - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.CognitoIdentity.getCredentialsForIdentity}, or - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - * @!attribute identityId - * @return [String] the Cognito ID returned by the last call to - * {AWS.CognitoIdentity.getOpenIdToken}. This ID represents the actual - * final resolved identity ID from Amazon Cognito. - */ -AWS.CognitoIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * @api private - */ - localStorageKey: { - id: 'aws.cognito.identity-id.', - providers: 'aws.cognito.identity-providers.' - }, - - /** - * Creates a new credentials object. - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.CognitoIdentityCredentials({ - * - * // either IdentityPoolId or IdentityId is required - * // See the IdentityPoolId param for AWS.CognitoIdentity.getID (linked below) - * // See the IdentityId param for AWS.CognitoIdentity.getCredentialsForIdentity - * // or AWS.CognitoIdentity.getOpenIdToken (linked below) - * IdentityPoolId: 'us-east-1:1699ebc0-7900-4099-b910-2df94f52a030', - * IdentityId: 'us-east-1:128d0a74-c82f-4553-916d-90053e4a8b0f' - * - * // optional, only necessary when the identity pool is not configured - * // to use IAM roles in the Amazon Cognito Console - * // See the RoleArn param for AWS.STS.assumeRoleWithWebIdentity (linked below) - * RoleArn: 'arn:aws:iam::1234567890:role/MYAPP-CognitoIdentity', - * - * // optional tokens, used for authenticated login - * // See the Logins param for AWS.CognitoIdentity.getID (linked below) - * Logins: { - * 'graph.facebook.com': 'FBTOKEN', - * 'www.amazon.com': 'AMAZONTOKEN', - * 'accounts.google.com': 'GOOGLETOKEN', - * 'api.twitter.com': 'TWITTERTOKEN', - * 'www.digits.com': 'DIGITSTOKEN' - * }, - * - * // optional name, defaults to web-identity - * // See the RoleSessionName param for AWS.STS.assumeRoleWithWebIdentity (linked below) - * RoleSessionName: 'web', - * - * // optional, only necessary when application runs in a browser - * // and multiple users are signed in at once, used for caching - * LoginId: 'example@gmail.com' - * - * }, { - * // optionally provide configuration to apply to the underlying service clients - * // if configuration is not provided, then configuration will be pulled from AWS.config - * - * // region should match the region your identity pool is located in - * region: 'us-east-1', - * - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.CognitoIdentity.getId - * @see AWS.CognitoIdentity.getCredentialsForIdentity - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.CognitoIdentity.getOpenIdToken - * @see AWS.Config - * @note If a region is not provided in the global AWS.config, or - * specified in the `clientConfig` to the CognitoIdentityCredentials - * constructor, you may encounter a 'Missing credentials in config' error - * when calling making a service call. - */ - constructor: function CognitoIdentityCredentials(params, clientConfig) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.data = null; - this._identityId = null; - this._clientConfig = AWS.util.copy(clientConfig || {}); - this.loadCachedId(); - var self = this; - Object.defineProperty(this, 'identityId', { - get: function() { - self.loadCachedId(); - return self._identityId || self.params.IdentityId; - }, - set: function(identityId) { - self._identityId = identityId; - } - }); - }, - - /** - * Refreshes credentials using {AWS.CognitoIdentity.getCredentialsForIdentity}, - * or {AWS.STS.assumeRoleWithWebIdentity}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see AWS.Credentials.get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - * @param callback - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.data = null; - self._identityId = null; - self.getId(function(err) { - if (!err) { - if (!self.params.RoleArn) { - self.getCredentialsForIdentity(callback); - } else { - self.getCredentialsFromSTS(callback); - } - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - /** - * Clears the cached Cognito ID associated with the currently configured - * identity pool ID. Use this to manually invalidate your cache if - * the identity pool ID was deleted. - */ - clearCachedId: function clearCache() { - this._identityId = null; - delete this.params.IdentityId; - - var poolId = this.params.IdentityPoolId; - var loginId = this.params.LoginId || ''; - delete this.storage[this.localStorageKey.id + poolId + loginId]; - delete this.storage[this.localStorageKey.providers + poolId + loginId]; - }, - - /** - * @api private - */ - clearIdOnNotAuthorized: function clearIdOnNotAuthorized(err) { - var self = this; - if (err.code == 'NotAuthorizedException') { - self.clearCachedId(); - } - }, - - /** - * Retrieves a Cognito ID, loading from cache if it was already retrieved - * on this device. - * - * @callback callback function(err, identityId) - * @param err [Error, null] an error object if the call failed or null if - * it succeeded. - * @param identityId [String, null] if successful, the callback will return - * the Cognito ID. - * @note If not loaded explicitly, the Cognito ID is loaded and stored in - * localStorage in the browser environment of a device. - * @api private - */ - getId: function getId(callback) { - var self = this; - if (typeof self.params.IdentityId === 'string') { - return callback(null, self.params.IdentityId); - } - - self.cognito.getId(function(err, data) { - if (!err && data.IdentityId) { - self.params.IdentityId = data.IdentityId; - callback(null, data.IdentityId); - } else { - callback(err); - } - }); - }, - - - /** - * @api private - */ - loadCredentials: function loadCredentials(data, credentials) { - if (!data || !credentials) return; - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - }, - - /** - * @api private - */ - getCredentialsForIdentity: function getCredentialsForIdentity(callback) { - var self = this; - self.cognito.getCredentialsForIdentity(function(err, data) { - if (!err) { - self.cacheId(data); - self.data = data; - self.loadCredentials(self.data, self); - } else { - self.clearIdOnNotAuthorized(err); - } - callback(err); - }); - }, - - /** - * @api private - */ - getCredentialsFromSTS: function getCredentialsFromSTS(callback) { - var self = this; - self.cognito.getOpenIdToken(function(err, data) { - if (!err) { - self.cacheId(data); - self.params.WebIdentityToken = data.Token; - self.webIdentityCredentials.refresh(function(webErr) { - if (!webErr) { - self.data = self.webIdentityCredentials.data; - self.sts.credentialsFrom(self.data, self); - } - callback(webErr); - }); - } else { - self.clearIdOnNotAuthorized(err); - callback(err); - } - }); - }, - - /** - * @api private - */ - loadCachedId: function loadCachedId() { - var self = this; - - // in the browser we source default IdentityId from localStorage - if (AWS.util.isBrowser() && !self.params.IdentityId) { - var id = self.getStorage('id'); - if (id && self.params.Logins) { - var actualProviders = Object.keys(self.params.Logins); - var cachedProviders = - (self.getStorage('providers') || '').split(','); - - // only load ID if at least one provider used this ID before - var intersect = cachedProviders.filter(function(n) { - return actualProviders.indexOf(n) !== -1; - }); - if (intersect.length !== 0) { - self.params.IdentityId = id; - } - } else if (id) { - self.params.IdentityId = id; - } - } - }, - - /** - * @api private - */ - createClients: function() { - var clientConfig = this._clientConfig; - this.webIdentityCredentials = this.webIdentityCredentials || - new AWS.WebIdentityCredentials(this.params, clientConfig); - if (!this.cognito) { - var cognitoConfig = AWS.util.merge({}, clientConfig); - cognitoConfig.params = this.params; - this.cognito = new CognitoIdentity(cognitoConfig); - } - this.sts = this.sts || new STS(clientConfig); - }, - - /** - * @api private - */ - cacheId: function cacheId(data) { - this._identityId = data.IdentityId; - this.params.IdentityId = this._identityId; - - // cache this IdentityId in browser localStorage if possible - if (AWS.util.isBrowser()) { - this.setStorage('id', data.IdentityId); - - if (this.params.Logins) { - this.setStorage('providers', Object.keys(this.params.Logins).join(',')); - } - } - }, - - /** - * @api private - */ - getStorage: function getStorage(key) { - return this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')]; - }, - - /** - * @api private - */ - setStorage: function setStorage(key, val) { - try { - this.storage[this.localStorageKey[key] + this.params.IdentityPoolId + (this.params.LoginId || '')] = val; - } catch (_) {} - }, - - /** - * @api private - */ - storage: (function() { - try { - var storage = AWS.util.isBrowser() && window.localStorage !== null && typeof window.localStorage === 'object' ? - window.localStorage : {}; - - // Test set/remove which would throw an error in Safari's private browsing - storage['aws.test-storage'] = 'foobar'; - delete storage['aws.test-storage']; - - return storage; - } catch (_) { - return {}; - } - })() -}); - - -/***/ }), - -/***/ 36965: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); - -/** - * Creates a credential provider chain that searches for AWS credentials - * in a list of credential providers specified by the {providers} property. - * - * By default, the chain will use the {defaultProviders} to resolve credentials. - * These providers will look in the environment using the - * {AWS.EnvironmentCredentials} class with the 'AWS' and 'AMAZON' prefixes. - * - * ## Setting Providers - * - * Each provider in the {providers} list should be a function that returns - * a {AWS.Credentials} object, or a hardcoded credentials object. The function - * form allows for delayed execution of the credential construction. - * - * ## Resolving Credentials from a Chain - * - * Call {resolve} to return the first valid credential object that can be - * loaded by the provider chain. - * - * For example, to resolve a chain with a custom provider that checks a file - * on disk after the set of {defaultProviders}: - * - * ```javascript - * var diskProvider = new AWS.FileSystemCredentials('./creds.json'); - * var chain = new AWS.CredentialProviderChain(); - * chain.providers.push(diskProvider); - * chain.resolve(); - * ``` - * - * The above code will return the `diskProvider` object if the - * file contains credentials and the `defaultProviders` do not contain - * any credential settings. - * - * @!attribute providers - * @return [Array] - * a list of credentials objects or functions that return credentials - * objects. If the provider is a function, the function will be - * executed lazily when the provider needs to be checked for valid - * credentials. By default, this object will be set to the - * {defaultProviders}. - * @see defaultProviders - */ -AWS.CredentialProviderChain = AWS.util.inherit(AWS.Credentials, { - - /** - * Creates a new CredentialProviderChain with a default set of providers - * specified by {defaultProviders}. - */ - constructor: function CredentialProviderChain(providers) { - if (providers) { - this.providers = providers; - } else { - this.providers = AWS.CredentialProviderChain.defaultProviders.slice(0); - } - this.resolveCallbacks = []; - }, - - /** - * @!method resolvePromise() - * Returns a 'thenable' promise. - * Resolves the provider chain by searching for the first set of - * credentials in {providers}. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(credentials) - * Called if the promise is fulfilled and the provider resolves the chain - * to a credentials object - * @param credentials [AWS.Credentials] the credentials object resolved - * by the provider chain. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param err [Error] the error object returned if no credentials are found. - * @return [Promise] A promise that represents the state of the `resolve` method call. - * @example Calling the `resolvePromise` method. - * var promise = chain.resolvePromise(); - * promise.then(function(credentials) { ... }, function(err) { ... }); - */ - - /** - * Resolves the provider chain by searching for the first set of - * credentials in {providers}. - * - * @callback callback function(err, credentials) - * Called when the provider resolves the chain to a credentials object - * or null if no credentials can be found. - * - * @param err [Error] the error object returned if no credentials are - * found. - * @param credentials [AWS.Credentials] the credentials object resolved - * by the provider chain. - * @return [AWS.CredentialProviderChain] the provider, for chaining. - */ - resolve: function resolve(callback) { - var self = this; - if (self.providers.length === 0) { - callback(new Error('No providers')); - return self; - } - - if (self.resolveCallbacks.push(callback) === 1) { - var index = 0; - var providers = self.providers.slice(0); - - function resolveNext(err, creds) { - if ((!err && creds) || index === providers.length) { - AWS.util.arrayEach(self.resolveCallbacks, function (callback) { - callback(err, creds); - }); - self.resolveCallbacks.length = 0; - return; - } - - var provider = providers[index++]; - if (typeof provider === 'function') { - creds = provider.call(); - } else { - creds = provider; - } - - if (creds.get) { - creds.get(function (getErr) { - resolveNext(getErr, getErr ? null : creds); - }); - } else { - resolveNext(null, creds); - } - } - - resolveNext(); - } - - return self; + if (output.securityGroupIdSet === "") { + contents[_SGI] = []; + } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { + contents[_SGI] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); } -}); - -/** - * The default set of providers used by a vanilla CredentialProviderChain. - * - * In the browser: - * - * ```javascript - * AWS.CredentialProviderChain.defaultProviders = [] - * ``` - * - * In Node.js: - * - * ```javascript - * AWS.CredentialProviderChain.defaultProviders = [ - * function () { return new AWS.EnvironmentCredentials('AWS'); }, - * function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - * function () { return new AWS.SsoCredentials(); }, - * function () { return new AWS.SharedIniFileCredentials(); }, - * function () { return new AWS.ECSCredentials(); }, - * function () { return new AWS.ProcessCredentials(); }, - * function () { return new AWS.TokenFileWebIdentityCredentials(); }, - * function () { return new AWS.EC2MetadataCredentials() } - * ] - * ``` - */ -AWS.CredentialProviderChain.defaultProviders = []; - -/** - * @api private - */ -AWS.CredentialProviderChain.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.resolvePromise = AWS.util.promisifyMethod('resolve', PromiseDependency); -}; - -/** - * @api private - */ -AWS.CredentialProviderChain.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.resolvePromise; -}; - -AWS.util.addPromises(AWS.CredentialProviderChain); - - -/***/ }), - -/***/ 73379: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -__nccwpck_require__(25768); - -/** - * Represents credentials received from the metadata service on an EC2 instance. - * - * By default, this class will connect to the metadata service using - * {AWS.MetadataService} and attempt to load any available credentials. If it - * can connect, and credentials are available, these will be used with zero - * configuration. - * - * This credentials class will by default timeout after 1 second of inactivity - * and retry 3 times. - * If your requests to the EC2 metadata service are timing out, you can increase - * these values by configuring them directly: - * - * ```javascript - * AWS.config.credentials = new AWS.EC2MetadataCredentials({ - * httpOptions: { timeout: 5000 }, // 5 second timeout - * maxRetries: 10, // retry 10 times - * retryDelayOptions: { base: 200 }, // see AWS.Config for information - * logger: console // see AWS.Config for information - * ec2MetadataV1Disabled: false // whether to block IMDS v1 fallback. - * }); - * ``` - * - * If your requests are timing out in connecting to the metadata service, such - * as when testing on a development machine, you can use the connectTimeout - * option, specified in milliseconds, which also defaults to 1 second. - * - * If the requests failed or returns expired credentials, it will - * extend the expiration of current credential, with a warning message. For more - * information, please go to: - * https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html - * - * @!attribute originalExpiration - * @return [Date] The optional original expiration of the current credential. - * In case of AWS outage, the EC2 metadata will extend expiration of the - * existing credential. - * - * @see AWS.Config.retryDelayOptions - * @see AWS.Config.logger - * - * @!macro nobrowser - */ -AWS.EC2MetadataCredentials = AWS.util.inherit(AWS.Credentials, { - constructor: function EC2MetadataCredentials(options) { - AWS.Credentials.call(this); - - options = options ? AWS.util.copy(options) : {}; - options = AWS.util.merge( - {maxRetries: this.defaultMaxRetries}, options); - if (!options.httpOptions) options.httpOptions = {}; - options.httpOptions = AWS.util.merge( - {timeout: this.defaultTimeout, - connectTimeout: this.defaultConnectTimeout}, - options.httpOptions); - - this.metadataService = new AWS.MetadataService(options); - this.logger = options.logger || AWS.config && AWS.config.logger; - }, - - /** - * @api private - */ - defaultTimeout: 1000, - - /** - * @api private - */ - defaultConnectTimeout: 1000, - - /** - * @api private - */ - defaultMaxRetries: 3, - - /** - * The original expiration of the current credential. In case of AWS - * outage, the EC2 metadata will extend expiration of the existing - * credential. - */ - originalExpiration: undefined, - - /** - * Loads the credentials from the instance metadata service - * - * @callback callback function(err) - * Called when the instance metadata service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - * @param callback - */ - load: function load(callback) { - var self = this; - self.metadataService.loadCredentials(function(err, creds) { - if (err) { - if (self.hasLoadedCredentials()) { - self.extendExpirationIfExpired(); - callback(); - } else { - callback(err); - } - } else { - self.setCredentials(creds); - self.extendExpirationIfExpired(); - callback(); - } - }); - }, - - /** - * Whether this credential has been loaded. - * @api private - */ - hasLoadedCredentials: function hasLoadedCredentials() { - return this.AccessKeyId && this.secretAccessKey; - }, - - /** - * if expired, extend the expiration by 15 minutes base plus a jitter of 5 - * minutes range. - * @api private - */ - extendExpirationIfExpired: function extendExpirationIfExpired() { - if (this.needsRefresh()) { - this.originalExpiration = this.originalExpiration || this.expireTime; - this.expired = false; - var nextTimeout = 15 * 60 + Math.floor(Math.random() * 5 * 60); - var currentTime = AWS.util.date.getDate().getTime(); - this.expireTime = new Date(currentTime + nextTimeout * 1000); - // TODO: add doc link; - this.logger.warn('Attempting credential expiration extension due to a ' - + 'credential service availability issue. A refresh of these ' - + 'credentials will be attempted again at ' + this.expireTime - + '\nFor more information, please visit: https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html'); - } - }, - - /** - * Update the credential with new credential responded from EC2 metadata - * service. - * @api private - */ - setCredentials: function setCredentials(creds) { - var currentTime = AWS.util.date.getDate().getTime(); - var expireTime = new Date(creds.Expiration); - this.expired = currentTime >= expireTime ? true : false; - this.metadata = creds; - this.accessKeyId = creds.AccessKeyId; - this.secretAccessKey = creds.SecretAccessKey; - this.sessionToken = creds.Token; - this.expireTime = expireTime; + if (output.securityGroupSet === "") { + contents[_SG] = []; + } else if (output[_sGS] != null && output[_sGS][_i] != null) { + contents[_SG] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGS][_i]), context); + } + if (output[_iMOn] != null) { + contents[_IMO] = de_LaunchTemplateInstanceMarketOptions(output[_iMOn], context); + } + if (output[_cSr] != null) { + contents[_CSred] = de_CreditSpecification(output[_cSr], context); + } + if (output[_cO] != null) { + contents[_CO] = de_LaunchTemplateCpuOptions(output[_cO], context); + } + if (output[_cRSa] != null) { + contents[_CRS] = de_LaunchTemplateCapacityReservationSpecificationResponse(output[_cRSa], context); + } + if (output.licenseSet === "") { + contents[_LSi] = []; + } else if (output[_lSi] != null && output[_lSi][_i] != null) { + contents[_LSi] = de_LaunchTemplateLicenseList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSi][_i]), context); + } + if (output[_hO] != null) { + contents[_HO] = de_LaunchTemplateHibernationOptions(output[_hO], context); + } + if (output[_mO] != null) { + contents[_MO] = de_LaunchTemplateInstanceMetadataOptions(output[_mO], context); + } + if (output[_eOn] != null) { + contents[_EOn] = de_LaunchTemplateEnclaveOptions(output[_eOn], context); + } + if (output[_iR] != null) { + contents[_IR] = de_InstanceRequirements(output[_iR], context); + } + if (output[_pDNO] != null) { + contents[_PDNO] = de_LaunchTemplatePrivateDnsNameOptions(output[_pDNO], context); + } + if (output[_mOa] != null) { + contents[_MOa] = de_LaunchTemplateInstanceMaintenanceOptions(output[_mOa], context); + } + if (output[_dASi] != null) { + contents[_DAS] = (0, import_smithy_client.parseBoolean)(output[_dASi]); + } + return contents; +}, "de_ResponseLaunchTemplateData"); +var de_RestoreAddressToClassicResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_RestoreAddressToClassicResult"); +var de_RestoreImageFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_RestoreImageFromRecycleBinResult"); +var de_RestoreManagedPrefixListVersionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pL] != null) { + contents[_PLr] = de_ManagedPrefixList(output[_pL], context); + } + return contents; +}, "de_RestoreManagedPrefixListVersionResult"); +var de_RestoreSnapshotFromRecycleBinResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); + } + return contents; +}, "de_RestoreSnapshotFromRecycleBinResult"); +var de_RestoreSnapshotTierResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_rST] != null) { + contents[_RSTe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rST])); + } + if (output[_rD] != null) { + contents[_RD] = (0, import_smithy_client.strictParseInt32)(output[_rD]); + } + if (output[_iPR] != null) { + contents[_IPR] = (0, import_smithy_client.parseBoolean)(output[_iPR]); + } + return contents; +}, "de_RestoreSnapshotTierResult"); +var de_RevokeClientVpnIngressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sta] != null) { + contents[_Statu] = de_ClientVpnAuthorizationRuleStatus(output[_sta], context); + } + return contents; +}, "de_RevokeClientVpnIngressResult"); +var de_RevokeSecurityGroupEgressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output.unknownIpPermissionSet === "") { + contents[_UIP] = []; + } else if (output[_uIPS] != null && output[_uIPS][_i] != null) { + contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context); + } + return contents; +}, "de_RevokeSecurityGroupEgressResult"); +var de_RevokeSecurityGroupIngressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output.unknownIpPermissionSet === "") { + contents[_UIP] = []; + } else if (output[_uIPS] != null && output[_uIPS][_i] != null) { + contents[_UIP] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPS][_i]), context); + } + return contents; +}, "de_RevokeSecurityGroupIngressResult"); +var de_RootDeviceTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_RootDeviceTypeList"); +var de_Route = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_dICB] != null) { + contents[_DICB] = (0, import_smithy_client.expectString)(output[_dICB]); + } + if (output[_dPLI] != null) { + contents[_DPLI] = (0, import_smithy_client.expectString)(output[_dPLI]); + } + if (output[_eOIGI] != null) { + contents[_EOIGI] = (0, import_smithy_client.expectString)(output[_eOIGI]); + } + if (output[_gI] != null) { + contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iOIn] != null) { + contents[_IOIn] = (0, import_smithy_client.expectString)(output[_iOIn]); + } + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_lGI] != null) { + contents[_LGI] = (0, import_smithy_client.expectString)(output[_lGI]); + } + if (output[_cGI] != null) { + contents[_CGI] = (0, import_smithy_client.expectString)(output[_cGI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_o] != null) { + contents[_Or] = (0, import_smithy_client.expectString)(output[_o]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + if (output[_cNA] != null) { + contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); + } + return contents; +}, "de_Route"); +var de_RouteList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Route(entry, context); + }); +}, "de_RouteList"); +var de_RouteTable = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.associationSet === "") { + contents[_Ass] = []; + } else if (output[_aSss] != null && output[_aSss][_i] != null) { + contents[_Ass] = de_RouteTableAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSss][_i]), context); + } + if (output.propagatingVgwSet === "") { + contents[_PVr] = []; + } else if (output[_pVS] != null && output[_pVS][_i] != null) { + contents[_PVr] = de_PropagatingVgwList((0, import_smithy_client.getArrayIfSingleItem)(output[_pVS][_i]), context); + } + if (output[_rTI] != null) { + contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]); + } + if (output.routeSet === "") { + contents[_Rou] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rou] = de_RouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + return contents; +}, "de_RouteTable"); +var de_RouteTableAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mai] != null) { + contents[_Mai] = (0, import_smithy_client.parseBoolean)(output[_mai]); + } + if (output[_rTAI] != null) { + contents[_RTAI] = (0, import_smithy_client.expectString)(output[_rTAI]); + } + if (output[_rTI] != null) { + contents[_RTI] = (0, import_smithy_client.expectString)(output[_rTI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_gI] != null) { + contents[_GI] = (0, import_smithy_client.expectString)(output[_gI]); + } + if (output[_aS] != null) { + contents[_ASs] = de_RouteTableAssociationState(output[_aS], context); + } + return contents; +}, "de_RouteTableAssociation"); +var de_RouteTableAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RouteTableAssociation(entry, context); + }); +}, "de_RouteTableAssociationList"); +var de_RouteTableAssociationState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + return contents; +}, "de_RouteTableAssociationState"); +var de_RouteTableList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RouteTable(entry, context); + }); +}, "de_RouteTableList"); +var de_RuleGroupRuleOptionsPair = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rGA] != null) { + contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); + } + if (output.ruleOptionSet === "") { + contents[_ROu] = []; + } else if (output[_rOS] != null && output[_rOS][_i] != null) { + contents[_ROu] = de_RuleOptionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rOS][_i]), context); + } + return contents; +}, "de_RuleGroupRuleOptionsPair"); +var de_RuleGroupRuleOptionsPairList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RuleGroupRuleOptionsPair(entry, context); + }); +}, "de_RuleGroupRuleOptionsPairList"); +var de_RuleGroupTypePair = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rGA] != null) { + contents[_RGA] = (0, import_smithy_client.expectString)(output[_rGA]); + } + if (output[_rGT] != null) { + contents[_RGT] = (0, import_smithy_client.expectString)(output[_rGT]); + } + return contents; +}, "de_RuleGroupTypePair"); +var de_RuleGroupTypePairList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RuleGroupTypePair(entry, context); + }); +}, "de_RuleGroupTypePairList"); +var de_RuleOption = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_key] != null) { + contents[_Key] = (0, import_smithy_client.expectString)(output[_key]); + } + if (output.settingSet === "") { + contents[_Set] = []; + } else if (output[_sSe] != null && output[_sSe][_i] != null) { + contents[_Set] = de_StringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sSe][_i]), context); + } + return contents; +}, "de_RuleOption"); +var de_RuleOptionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RuleOption(entry, context); + }); +}, "de_RuleOptionList"); +var de_RunInstancesMonitoringEnabled = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + return contents; +}, "de_RunInstancesMonitoringEnabled"); +var de_RunScheduledInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceIdSet === "") { + contents[_IIS] = []; + } else if (output[_iIS] != null && output[_iIS][_i] != null) { + contents[_IIS] = de_InstanceIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iIS][_i]), context); + } + return contents; +}, "de_RunScheduledInstancesResult"); +var de_S3Storage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_AWSAKI] != null) { + contents[_AWSAKI] = (0, import_smithy_client.expectString)(output[_AWSAKI]); + } + if (output[_bu] != null) { + contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); + } + if (output[_pre] != null) { + contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); + } + if (output[_uPp] != null) { + contents[_UP] = context.base64Decoder(output[_uPp]); + } + if (output[_uPS] != null) { + contents[_UPS] = (0, import_smithy_client.expectString)(output[_uPS]); + } + return contents; +}, "de_S3Storage"); +var de_ScheduledInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_cD] != null) { + contents[_CDr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cD])); + } + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_nPe] != null) { + contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]); + } + if (output[_nSST] != null) { + contents[_NSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nSST])); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pSET] != null) { + contents[_PSET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_pSET])); + } + if (output[_rec] != null) { + contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context); + } + if (output[_sIIc] != null) { + contents[_SIIch] = (0, import_smithy_client.expectString)(output[_sIIc]); + } + if (output[_sDIH] != null) { + contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]); + } + if (output[_tED] != null) { + contents[_TED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tED])); + } + if (output[_tSD] != null) { + contents[_TSD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSD])); + } + if (output[_tSIH] != null) { + contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]); + } + return contents; +}, "de_ScheduledInstance"); +var de_ScheduledInstanceAvailability = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_aICv] != null) { + contents[_AICv] = (0, import_smithy_client.strictParseInt32)(output[_aICv]); + } + if (output[_fSST] != null) { + contents[_FSST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_fSST])); + } + if (output[_hPo] != null) { + contents[_HPo] = (0, import_smithy_client.expectString)(output[_hPo]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_mTDID] != null) { + contents[_MTDID] = (0, import_smithy_client.strictParseInt32)(output[_mTDID]); + } + if (output[_mTDIDi] != null) { + contents[_MTDIDi] = (0, import_smithy_client.strictParseInt32)(output[_mTDIDi]); } -}); - - -/***/ }), - -/***/ 10645: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); - -/** - * Represents credentials received from relative URI specified in the ECS container. - * - * This class will request refreshable credentials from the relative URI - * specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or the - * AWS_CONTAINER_CREDENTIALS_FULL_URI environment variable. If valid credentials - * are returned in the response, these will be used with zero configuration. - * - * This credentials class will by default timeout after 1 second of inactivity - * and retry 3 times. - * If your requests to the relative URI are timing out, you can increase - * the value by configuring them directly: - * - * ```javascript - * AWS.config.credentials = new AWS.ECSCredentials({ - * httpOptions: { timeout: 5000 }, // 5 second timeout - * maxRetries: 10, // retry 10 times - * retryDelayOptions: { base: 200 } // see AWS.Config for information - * }); - * ``` - * - * @see AWS.Config.retryDelayOptions - * - * @!macro nobrowser - */ -AWS.ECSCredentials = AWS.RemoteCredentials; - - -/***/ }), - -/***/ 57714: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); - -/** - * Represents credentials from the environment. - * - * By default, this class will look for the matching environment variables - * prefixed by a given {envPrefix}. The un-prefixed environment variable names - * for each credential value is listed below: - * - * ```javascript - * accessKeyId: ACCESS_KEY_ID - * secretAccessKey: SECRET_ACCESS_KEY - * sessionToken: SESSION_TOKEN - * ``` - * - * With the default prefix of 'AWS', the environment variables would be: - * - * AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_SESSION_TOKEN - * - * @!attribute envPrefix - * @readonly - * @return [String] the prefix for the environment variable names excluding - * the separating underscore ('_'). - */ -AWS.EnvironmentCredentials = AWS.util.inherit(AWS.Credentials, { - - /** - * Creates a new EnvironmentCredentials class with a given variable - * prefix {envPrefix}. For example, to load credentials using the 'AWS' - * prefix: - * - * ```javascript - * var creds = new AWS.EnvironmentCredentials('AWS'); - * creds.accessKeyId == 'AKID' // from AWS_ACCESS_KEY_ID env var - * ``` - * - * @param envPrefix [String] the prefix to use (e.g., 'AWS') for environment - * variables. Do not include the separating underscore. - */ - constructor: function EnvironmentCredentials(envPrefix) { - AWS.Credentials.call(this); - this.envPrefix = envPrefix; - this.get(function() {}); - }, - - /** - * Loads credentials from the environment using the prefixed - * environment variables. - * - * @callback callback function(err) - * Called after the (prefixed) ACCESS_KEY_ID, SECRET_ACCESS_KEY, and - * SESSION_TOKEN environment variables are read. When this callback is - * called with no error, it means that the credentials information has - * been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = AWS.util.fn.callback; - - if (!process || !process.env) { - callback(AWS.util.error( - new Error('No process info or environment variables available'), - { code: 'EnvironmentCredentialsProviderFailure' } - )); - return; - } - - var keys = ['ACCESS_KEY_ID', 'SECRET_ACCESS_KEY', 'SESSION_TOKEN']; - var values = []; - - for (var i = 0; i < keys.length; i++) { - var prefix = ''; - if (this.envPrefix) prefix = this.envPrefix + '_'; - values[i] = process.env[prefix + keys[i]]; - if (!values[i] && keys[i] !== 'SESSION_TOKEN') { - callback(AWS.util.error( - new Error('Variable ' + prefix + keys[i] + ' not set.'), - { code: 'EnvironmentCredentialsProviderFailure' } - )); - return; - } - } - - this.expired = false; - AWS.Credentials.apply(this, values); - callback(); + if (output[_nPe] != null) { + contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]); } - -}); - - -/***/ }), - -/***/ 27454: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); - -/** - * Represents credentials from a JSON file on disk. - * If the credentials expire, the SDK can {refresh} the credentials - * from the file. - * - * The format of the file should be similar to the options passed to - * {AWS.Config}: - * - * ```javascript - * {accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'optional'} - * ``` - * - * @example Loading credentials from disk - * var creds = new AWS.FileSystemCredentials('./configuration.json'); - * creds.accessKeyId == 'AKID' - * - * @!attribute filename - * @readonly - * @return [String] the path to the JSON file on disk containing the - * credentials. - * @!macro nobrowser - */ -AWS.FileSystemCredentials = AWS.util.inherit(AWS.Credentials, { - - /** - * @overload AWS.FileSystemCredentials(filename) - * Creates a new FileSystemCredentials object from a filename - * - * @param filename [String] the path on disk to the JSON file to load. - */ - constructor: function FileSystemCredentials(filename) { - AWS.Credentials.call(this); - this.filename = filename; - this.get(function() {}); - }, - - /** - * Loads the credentials from the {filename} on disk. - * - * @callback callback function(err) - * Called after the JSON file on disk is read and parsed. When this callback - * is called with no error, it means that the credentials information - * has been loaded into the object (as the `accessKeyId`, `secretAccessKey`, - * and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - if (!callback) callback = AWS.util.fn.callback; - try { - var creds = JSON.parse(AWS.util.readFileSync(this.filename)); - AWS.Credentials.call(this, creds); - if (!this.accessKeyId || !this.secretAccessKey) { - throw AWS.util.error( - new Error('Credentials not set in ' + this.filename), - { code: 'FileSystemCredentialsProviderFailure' } - ); - } - this.expired = false; - callback(); - } catch (err) { - callback(err); - } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); } - -}); - - -/***/ }), - -/***/ 80371: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var proc = __nccwpck_require__(32081); -var iniLoader = AWS.util.iniLoader; - -/** - * Represents credentials loaded from shared credentials file - * (defaulting to ~/.aws/credentials or defined by the - * `AWS_SHARED_CREDENTIALS_FILE` environment variable). - * - * ## Using process credentials - * - * The credentials file can specify a credential provider that executes - * a given process and attempts to read its stdout to recieve a JSON payload - * containing the credentials: - * - * [default] - * credential_process = /usr/bin/credential_proc - * - * Automatically handles refreshing credentials if an Expiration time is - * provided in the credentials payload. Credentials supplied in the same profile - * will take precedence over the credential_process. - * - * Sourcing credentials from an external process can potentially be dangerous, - * so proceed with caution. Other credential providers should be preferred if - * at all possible. If using this option, you should make sure that the shared - * credentials file is as locked down as possible using security best practices - * for your operating system. - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.ProcessCredentials provider: - * - * ```javascript - * var creds = new AWS.ProcessCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ -AWS.ProcessCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new ProcessCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var) - * the filename to use when loading credentials. - * @option options callback [Function] (err) Credentials are eagerly loaded - * by the constructor. When the callback is called with no error, the - * credentials have been loaded successfully. - */ - constructor: function ProcessCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - - this.filename = options.filename; - this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; - this.get(options.callback || AWS.util.fn.noop); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - try { - var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename); - var profile = profiles[this.profile] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' not found'), - { code: 'ProcessCredentialsProviderFailure' } - ); - } - - if (profile['credential_process']) { - this.loadViaCredentialProcess(profile, function(err, data) { - if (err) { - callback(err, null); - } else { - self.expired = false; - self.accessKeyId = data.AccessKeyId; - self.secretAccessKey = data.SecretAccessKey; - self.sessionToken = data.SessionToken; - if (data.Expiration) { - self.expireTime = new Date(data.Expiration); - } - callback(null); - } - }); - } else { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' did not include credential process'), - { code: 'ProcessCredentialsProviderFailure' } - ); - } - } catch (err) { - callback(err); - } - }, - - /** - * Executes the credential_process and retrieves - * credentials from the output - * @api private - * @param profile [map] credentials profile - * @throws ProcessCredentialsProviderFailure - */ - loadViaCredentialProcess: function loadViaCredentialProcess(profile, callback) { - proc.exec(profile['credential_process'], { env: process.env }, function(err, stdOut, stdErr) { - if (err) { - callback(AWS.util.error( - new Error('credential_process returned error'), - { code: 'ProcessCredentialsProviderFailure'} - ), null); - } else { - try { - var credData = JSON.parse(stdOut); - if (credData.Expiration) { - var currentTime = AWS.util.date.getDate(); - var expireTime = new Date(credData.Expiration); - if (expireTime < currentTime) { - throw Error('credential_process returned expired credentials'); - } - } - - if (credData.Version !== 1) { - throw Error('credential_process does not return Version == 1'); - } - callback(null, credData); - } catch (err) { - callback(AWS.util.error( - new Error(err.message), - { code: 'ProcessCredentialsProviderFailure'} - ), null); - } - } - }); - }, - - /** - * Loads the credentials from the credential process - * - * @callback callback function(err) - * Called after the credential process has been executed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh(callback || AWS.util.fn.callback); + if (output[_pTu] != null) { + contents[_PT] = (0, import_smithy_client.expectString)(output[_pTu]); } -}); - - -/***/ }), - -/***/ 88764: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437), - ENV_RELATIVE_URI = 'AWS_CONTAINER_CREDENTIALS_RELATIVE_URI', - ENV_FULL_URI = 'AWS_CONTAINER_CREDENTIALS_FULL_URI', - ENV_AUTH_TOKEN = 'AWS_CONTAINER_AUTHORIZATION_TOKEN', - FULL_URI_UNRESTRICTED_PROTOCOLS = ['https:'], - FULL_URI_ALLOWED_PROTOCOLS = ['http:', 'https:'], - FULL_URI_ALLOWED_HOSTNAMES = ['localhost', '127.0.0.1'], - RELATIVE_URI_HOST = '169.254.170.2'; - -/** - * Represents credentials received from specified URI. - * - * This class will request refreshable credentials from the relative URI - * specified by the AWS_CONTAINER_CREDENTIALS_RELATIVE_URI or the - * AWS_CONTAINER_CREDENTIALS_FULL_URI environment variable. If valid credentials - * are returned in the response, these will be used with zero configuration. - * - * This credentials class will by default timeout after 1 second of inactivity - * and retry 3 times. - * If your requests to the relative URI are timing out, you can increase - * the value by configuring them directly: - * - * ```javascript - * AWS.config.credentials = new AWS.RemoteCredentials({ - * httpOptions: { timeout: 5000 }, // 5 second timeout - * maxRetries: 10, // retry 10 times - * retryDelayOptions: { base: 200 } // see AWS.Config for information - * }); - * ``` - * - * @see AWS.Config.retryDelayOptions - * - * @!macro nobrowser - */ -AWS.RemoteCredentials = AWS.util.inherit(AWS.Credentials, { - constructor: function RemoteCredentials(options) { - AWS.Credentials.call(this); - options = options ? AWS.util.copy(options) : {}; - if (!options.httpOptions) options.httpOptions = {}; - options.httpOptions = AWS.util.merge( - this.httpOptions, options.httpOptions); - AWS.util.update(this, options); - }, - - /** - * @api private - */ - httpOptions: { timeout: 1000 }, - - /** - * @api private - */ - maxRetries: 3, - - /** - * @api private - */ - isConfiguredForEcsCredentials: function isConfiguredForEcsCredentials() { - return Boolean( - process && - process.env && - (process.env[ENV_RELATIVE_URI] || process.env[ENV_FULL_URI]) - ); - }, - - /** - * @api private - */ - getECSFullUri: function getECSFullUri() { - if (process && process.env) { - var relative = process.env[ENV_RELATIVE_URI], - full = process.env[ENV_FULL_URI]; - if (relative) { - return 'http://' + RELATIVE_URI_HOST + relative; - } else if (full) { - var parsed = AWS.util.urlParse(full); - if (FULL_URI_ALLOWED_PROTOCOLS.indexOf(parsed.protocol) < 0) { - throw AWS.util.error( - new Error('Unsupported protocol: AWS.RemoteCredentials supports ' - + FULL_URI_ALLOWED_PROTOCOLS.join(',') + ' only; ' - + parsed.protocol + ' requested.'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - - if (FULL_URI_UNRESTRICTED_PROTOCOLS.indexOf(parsed.protocol) < 0 && - FULL_URI_ALLOWED_HOSTNAMES.indexOf(parsed.hostname) < 0) { - throw AWS.util.error( - new Error('Unsupported hostname: AWS.RemoteCredentials only supports ' - + FULL_URI_ALLOWED_HOSTNAMES.join(',') + ' for ' + parsed.protocol + '; ' - + parsed.protocol + '//' + parsed.hostname + ' requested.'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - - return full; - } else { - throw AWS.util.error( - new Error('Variable ' + ENV_RELATIVE_URI + ' or ' + ENV_FULL_URI + - ' must be set to use AWS.RemoteCredentials.'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - } else { - throw AWS.util.error( - new Error('No process info available'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - }, - - /** - * @api private - */ - getECSAuthToken: function getECSAuthToken() { - if (process && process.env && process.env[ENV_FULL_URI]) { - return process.env[ENV_AUTH_TOKEN]; - } - }, - - /** - * @api private - */ - credsFormatIsValid: function credsFormatIsValid(credData) { - return (!!credData.accessKeyId && !!credData.secretAccessKey && - !!credData.sessionToken && !!credData.expireTime); - }, - - /** - * @api private - */ - formatCreds: function formatCreds(credData) { - if (!!credData.credentials) { - credData = credData.credentials; - } - - return { - expired: false, - accessKeyId: credData.accessKeyId || credData.AccessKeyId, - secretAccessKey: credData.secretAccessKey || credData.SecretAccessKey, - sessionToken: credData.sessionToken || credData.Token, - expireTime: new Date(credData.expiration || credData.Expiration) - }; - }, - - /** - * @api private - */ - request: function request(url, callback) { - var httpRequest = new AWS.HttpRequest(url); - httpRequest.method = 'GET'; - httpRequest.headers.Accept = 'application/json'; - var token = this.getECSAuthToken(); - if (token) { - httpRequest.headers.Authorization = token; - } - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * Loads the credentials from the relative URI specified by container - * - * @callback callback function(err) - * Called when the request to the relative URI responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, `sessionToken`, and `expireTime` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - var fullUri; - - try { - fullUri = this.getECSFullUri(); - } catch (err) { - callback(err); - return; - } - - this.request(fullUri, function(err, data) { - if (!err) { - try { - data = JSON.parse(data); - var creds = self.formatCreds(data); - if (!self.credsFormatIsValid(creds)) { - throw AWS.util.error( - new Error('Response data is not in valid format'), - { code: 'ECSCredentialsProviderFailure' } - ); - } - AWS.util.update(self, creds); - } catch (dataError) { - err = dataError; - } - } - callback(err, creds); - }); + if (output[_rec] != null) { + contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context); } -}); - - -/***/ }), - -/***/ 15037: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var STS = __nccwpck_require__(57513); - -/** - * Represents credentials retrieved from STS SAML support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithSAML} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given, as well as a `PrincipalArn` - * representing the ARN for the SAML identity provider. In addition, the - * `SAMLAssertion` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn`, `PrincipalArn`, and `SAMLAssertion` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the SAMLAssertion, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.SAMLAssertion = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithSAML}. To update the token, set the - * `params.SAMLAssertion` property. - */ -AWS.SAMLCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithSAML) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.SAMLCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/SAMLRole', - * PrincipalArn: 'arn:aws:iam::1234567890:role/SAMLPrincipal', - * SAMLAssertion: 'base64-token', // base64-encoded token from IdP - * }); - * @see AWS.STS.assumeRoleWithSAML - */ - constructor: function SAMLCredentials(params) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithSAML} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.service.assumeRoleWithSAML(function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function() { - this.service = this.service || new STS({params: this.params}); + if (output[_sDIH] != null) { + contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]); } - -}); - - -/***/ }), - -/***/ 13754: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var STS = __nccwpck_require__(57513); -var iniLoader = AWS.util.iniLoader; - -var ASSUME_ROLE_DEFAULT_REGION = 'us-east-1'; - -/** - * Represents credentials loaded from shared credentials file - * (defaulting to ~/.aws/credentials or defined by the - * `AWS_SHARED_CREDENTIALS_FILE` environment variable). - * - * ## Using the shared credentials file - * - * This provider is checked by default in the Node.js environment. To use the - * credentials file provider, simply add your access and secret keys to the - * ~/.aws/credentials file in the following format: - * - * [default] - * aws_access_key_id = AKID... - * aws_secret_access_key = YOUR_SECRET_KEY - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.SharedIniFileCredentials provider: - * - * ```javascript - * var creds = new AWS.SharedIniFileCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ -AWS.SharedIniFileCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new SharedIniFileCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var) - * the filename to use when loading credentials. - * @option options disableAssumeRole [Boolean] (false) True to disable - * support for profiles that assume an IAM role. If true, and an assume - * role profile is selected, an error is raised. - * @option options preferStaticCredentials [Boolean] (false) True to - * prefer static credentials to role_arn if both are present. - * @option options tokenCodeFn [Function] (null) Function to provide - * STS Assume Role TokenCode, if mfa_serial is provided for profile in ini - * file. Function is called with value of mfa_serial and callback, and - * should provide the TokenCode or an error to the callback in the format - * callback(err, token) - * @option options callback [Function] (err) Credentials are eagerly loaded - * by the constructor. When the callback is called with no error, the - * credentials have been loaded successfully. - * @option options httpOptions [map] A set of options to pass to the low-level - * HTTP request. Currently supported options are: - * * **proxy** [String] — the URL to proxy requests through - * * **agent** [http.Agent, https.Agent] — the Agent object to perform - * HTTP requests with. Used for connection pooling. Defaults to the global - * agent (`http.globalAgent`) for non-SSL connections. Note that for - * SSL connections, a special Agent object is used in order to enable - * peer certificate verification. This feature is only available in the - * Node.js environment. - * * **connectTimeout** [Integer] — Sets the socket to timeout after - * failing to establish a connection with the server after - * `connectTimeout` milliseconds. This timeout has no effect once a socket - * connection has been established. - * * **timeout** [Integer] — The number of milliseconds a request can - * take before automatically being terminated. - * Defaults to two minutes (120000). - */ - constructor: function SharedIniFileCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - - this.filename = options.filename; - this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; - this.disableAssumeRole = Boolean(options.disableAssumeRole); - this.preferStaticCredentials = Boolean(options.preferStaticCredentials); - this.tokenCodeFn = options.tokenCodeFn || null; - this.httpOptions = options.httpOptions || null; - this.get(options.callback || AWS.util.fn.noop); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - try { - var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename); - var profile = profiles[this.profile] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' not found'), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - /* - In the CLI, the presence of both a role_arn and static credentials have - different meanings depending on how many profiles have been visited. For - the first profile processed, role_arn takes precedence over any static - credentials, but for all subsequent profiles, static credentials are - used if present, and only in their absence will the profile's - source_profile and role_arn keys be used to load another set of - credentials. This var is intended to yield compatible behaviour in this - sdk. - */ - var preferStaticCredentialsToRoleArn = Boolean( - this.preferStaticCredentials - && profile['aws_access_key_id'] - && profile['aws_secret_access_key'] - ); - - if (profile['role_arn'] && !preferStaticCredentialsToRoleArn) { - this.loadRoleProfile(profiles, profile, function(err, data) { - if (err) { - callback(err); - } else { - self.expired = false; - self.accessKeyId = data.Credentials.AccessKeyId; - self.secretAccessKey = data.Credentials.SecretAccessKey; - self.sessionToken = data.Credentials.SessionToken; - self.expireTime = data.Credentials.Expiration; - callback(null); - } - }); - return; - } - - this.accessKeyId = profile['aws_access_key_id']; - this.secretAccessKey = profile['aws_secret_access_key']; - this.sessionToken = profile['aws_session_token']; - - if (!this.accessKeyId || !this.secretAccessKey) { - throw AWS.util.error( - new Error('Credentials not set for profile ' + this.profile), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - this.expired = false; - callback(null); - } catch (err) { - callback(err); - } - }, - - /** - * Loads the credentials from the shared credentials file - * - * @callback callback function(err) - * Called after the shared INI file on disk is read and parsed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh( - callback || AWS.util.fn.callback, - this.disableAssumeRole - ); - }, - - /** - * @api private - */ - loadRoleProfile: function loadRoleProfile(creds, roleProfile, callback) { - if (this.disableAssumeRole) { - throw AWS.util.error( - new Error('Role assumption profiles are disabled. ' + - 'Failed to load profile ' + this.profile + - ' from ' + creds.filename), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var self = this; - var roleArn = roleProfile['role_arn']; - var roleSessionName = roleProfile['role_session_name']; - var externalId = roleProfile['external_id']; - var mfaSerial = roleProfile['mfa_serial']; - var sourceProfileName = roleProfile['source_profile']; - var durationSeconds = parseInt(roleProfile['duration_seconds'], 10) || undefined; - - // From experimentation, the following behavior mimics the AWS CLI: - // - // 1. Use region from the profile if present. - // 2. Otherwise fall back to N. Virginia (global endpoint). - // - // It is necessary to do the fallback explicitly, because if - // 'AWS_STS_REGIONAL_ENDPOINTS=regional', the underlying STS client will - // otherwise throw an error if region is left 'undefined'. - // - // Experimentation shows that the AWS CLI (tested at version 1.18.136) - // ignores the following potential sources of a region for the purposes of - // this AssumeRole call: - // - // - The [default] profile - // - The AWS_REGION environment variable - // - // Ignoring the [default] profile for the purposes of AssumeRole is arguably - // a bug in the CLI since it does use the [default] region for service - // calls... but right now we're matching behavior of the other tool. - var profileRegion = roleProfile['region'] || ASSUME_ROLE_DEFAULT_REGION; - - if (!sourceProfileName) { - throw AWS.util.error( - new Error('source_profile is not set using profile ' + this.profile), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var sourceProfileExistanceTest = creds[sourceProfileName]; - - if (typeof sourceProfileExistanceTest !== 'object') { - throw AWS.util.error( - new Error('source_profile ' + sourceProfileName + ' using profile ' - + this.profile + ' does not exist'), - { code: 'SharedIniFileCredentialsProviderFailure' } - ); - } - - var sourceCredentials = new AWS.SharedIniFileCredentials( - AWS.util.merge(this.options || {}, { - profile: sourceProfileName, - preferStaticCredentials: true - }) - ); - - this.roleArn = roleArn; - var sts = new STS({ - credentials: sourceCredentials, - region: profileRegion, - httpOptions: this.httpOptions - }); - - var roleParams = { - DurationSeconds: durationSeconds, - RoleArn: roleArn, - RoleSessionName: roleSessionName || 'aws-sdk-js-' + Date.now() - }; - - if (externalId) { - roleParams.ExternalId = externalId; - } - - if (mfaSerial && self.tokenCodeFn) { - roleParams.SerialNumber = mfaSerial; - self.tokenCodeFn(mfaSerial, function(err, token) { - if (err) { - var message; - if (err instanceof Error) { - message = err.message; - } else { - message = err; - } - callback( - AWS.util.error( - new Error('Error fetching MFA token: ' + message), - { code: 'SharedIniFileCredentialsProviderFailure' } - )); - return; - } - - roleParams.TokenCode = token; - sts.assumeRole(roleParams, callback); - }); - return; - } - sts.assumeRole(roleParams, callback); + if (output[_tSIH] != null) { + contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]); } -}); - - -/***/ }), - -/***/ 68335: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var path = __nccwpck_require__(71017); -var crypto = __nccwpck_require__(6113); -var iniLoader = AWS.util.iniLoader; - -/** - * Represents credentials from sso.getRoleCredentials API for - * `sso_*` values defined in shared credentials file. - * - * ## Using SSO credentials - * - * The credentials file must specify the information below to use sso: - * - * [profile sso-profile] - * sso_account_id = 012345678901 - * sso_region = **-****-* - * sso_role_name = SampleRole - * sso_start_url = https://d-******.awsapps.com/start - * - * or using the session format: - * - * [profile sso-token] - * sso_session = prod - * sso_account_id = 012345678901 - * sso_role_name = SampleRole - * - * [sso-session prod] - * sso_region = **-****-* - * sso_start_url = https://d-******.awsapps.com/start - * - * This information will be automatically added to your shared credentials file by running - * `aws configure sso`. - * - * ## Using custom profiles - * - * The SDK supports loading credentials for separate profiles. This can be done - * in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to - * loading the SDK. - * 2. Directly load the AWS.SsoCredentials provider: - * - * ```javascript - * var creds = new AWS.SsoCredentials({profile: 'myprofile'}); - * AWS.config.credentials = creds; - * ``` - * - * @!macro nobrowser - */ -AWS.SsoCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new SsoCredentials object. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var) - * the filename to use when loading credentials. - * @option options callback [Function] (err) Credentials are eagerly loaded - * by the constructor. When the callback is called with no error, the - * credentials have been loaded successfully. - */ - constructor: function SsoCredentials(options) { - AWS.Credentials.call(this); - - options = options || {}; - this.errorCode = 'SsoCredentialsProviderFailure'; - this.expired = true; - - this.filename = options.filename; - this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; - this.service = options.ssoClient; - this.httpOptions = options.httpOptions || null; - this.get(options.callback || AWS.util.fn.noop); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - - try { - var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader, this.filename); - var profile = profiles[this.profile] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' not found'), - { code: self.errorCode } - ); - } - - if (profile.sso_session) { - if (!profile.sso_account_id || !profile.sso_role_name) { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' with session ' + profile.sso_session + - ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_session", ' + - '"sso_role_name". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'), - { code: self.errorCode } - ); - } - } else { - if (!profile.sso_start_url || !profile.sso_account_id || !profile.sso_region || !profile.sso_role_name) { - throw AWS.util.error( - new Error('Profile ' + this.profile + ' does not have valid SSO credentials. Required parameters "sso_account_id", "sso_region", ' + - '"sso_role_name", "sso_start_url". Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html'), - { code: self.errorCode } - ); - } - } - - this.getToken(this.profile, profile, function (err, token) { - if (err) { - return callback(err); - } - var request = { - accessToken: token, - accountId: profile.sso_account_id, - roleName: profile.sso_role_name, - }; - - if (!self.service || self.service.config.region !== profile.sso_region) { - self.service = new AWS.SSO({ - region: profile.sso_region, - httpOptions: self.httpOptions, - }); - } - - self.service.getRoleCredentials(request, function(err, data) { - if (err || !data || !data.roleCredentials) { - callback(AWS.util.error( - err || new Error('Please log in using "aws sso login"'), - { code: self.errorCode } - ), null); - } else if (!data.roleCredentials.accessKeyId || !data.roleCredentials.secretAccessKey || !data.roleCredentials.sessionToken || !data.roleCredentials.expiration) { - throw AWS.util.error(new Error( - 'SSO returns an invalid temporary credential.' - )); - } else { - self.expired = false; - self.accessKeyId = data.roleCredentials.accessKeyId; - self.secretAccessKey = data.roleCredentials.secretAccessKey; - self.sessionToken = data.roleCredentials.sessionToken; - self.expireTime = new Date(data.roleCredentials.expiration); - callback(null); - } - }); - }); - } catch (err) { - callback(err); - } - }, - - /** - * @private - * Uses legacy file system retrieval or if sso-session is set, - * use the SSOTokenProvider. - * - * @param {string} profileName - name of the profile. - * @param {object} profile - profile data containing sso_session or sso_start_url etc. - * @param {function} callback - called with (err, (string) token). - * - * @returns {void} - */ - getToken: function getToken(profileName, profile, callback) { - var self = this; - - if (profile.sso_session) { - var _iniLoader = AWS.util.iniLoader; - var ssoSessions = _iniLoader.loadSsoSessionsFrom(); - var ssoSession = ssoSessions[profile.sso_session]; - Object.assign(profile, ssoSession); - - var ssoTokenProvider = new AWS.SSOTokenProvider({ - profile: profileName, - }); - ssoTokenProvider.load(function (err) { - if (err) { - return callback(err); - } - return callback(null, ssoTokenProvider.token); - }); - return; - } - - try { - /** - * The time window (15 mins) that SDK will treat the SSO token expires in before the defined expiration date in token. - * This is needed because server side may have invalidated the token before the defined expiration date. - */ - var EXPIRE_WINDOW_MS = 15 * 60 * 1000; - var hasher = crypto.createHash('sha1'); - var fileName = hasher.update(profile.sso_start_url).digest('hex') + '.json'; - var cachePath = path.join( - iniLoader.getHomeDir(), - '.aws', - 'sso', - 'cache', - fileName - ); - var cacheFile = AWS.util.readFileSync(cachePath); - var cacheContent = null; - if (cacheFile) { - cacheContent = JSON.parse(cacheFile); - } - if (!cacheContent) { - throw AWS.util.error( - new Error('Cached credentials not found under ' + this.profile + ' profile. Please make sure you log in with aws sso login first'), - { code: self.errorCode } - ); - } - - if (!cacheContent.startUrl || !cacheContent.region || !cacheContent.accessToken || !cacheContent.expiresAt) { - throw AWS.util.error( - new Error('Cached credentials are missing required properties. Try running aws sso login.') - ); - } - - if (new Date(cacheContent.expiresAt).getTime() - Date.now() <= EXPIRE_WINDOW_MS) { - throw AWS.util.error(new Error( - 'The SSO session associated with this profile has expired. To refresh this SSO session run aws sso login with the corresponding profile.' - )); - } - - return callback(null, cacheContent.accessToken); - } catch (err) { - return callback(err, null); - } - }, - - /** - * Loads the credentials from the AWS SSO process - * - * @callback callback function(err) - * Called after the AWS SSO process has been executed. When this - * callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, -}); - - -/***/ }), - -/***/ 77360: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var STS = __nccwpck_require__(57513); - -/** - * Represents temporary credentials retrieved from {AWS.STS}. Without any - * extra parameters, credentials will be fetched from the - * {AWS.STS.getSessionToken} operation. If an IAM role is provided, the - * {AWS.STS.assumeRole} operation will be used to fetch credentials for the - * role instead. - * - * @note AWS.TemporaryCredentials is deprecated, but remains available for - * backwards compatibility. {AWS.ChainableTemporaryCredentials} is the - * preferred class for temporary credentials. - * - * To setup temporary credentials, configure a set of master credentials - * using the standard credentials providers (environment, EC2 instance metadata, - * or from the filesystem), then set the global credentials to a new - * temporary credentials object: - * - * ```javascript - * // Note that environment credentials are loaded by default, - * // the following line is shown for clarity: - * AWS.config.credentials = new AWS.EnvironmentCredentials('AWS'); - * - * // Now set temporary credentials seeded from the master credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * - * // subsequent requests will now use temporary credentials from AWS STS. - * new AWS.S3().listBucket(function(err, data) { ... }); - * ``` - * - * @!attribute masterCredentials - * @return [AWS.Credentials] the master (non-temporary) credentials used to - * get and refresh temporary credentials from AWS STS. - * @note (see constructor) - */ -AWS.TemporaryCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new temporary credentials object. - * - * @note In order to create temporary credentials, you first need to have - * "master" credentials configured in {AWS.Config.credentials}. These - * master credentials are necessary to retrieve the temporary credentials, - * as well as refresh the credentials when they expire. - * @param params [map] a map of options that are passed to the - * {AWS.STS.assumeRole} or {AWS.STS.getSessionToken} operations. - * If a `RoleArn` parameter is passed in, credentials will be based on the - * IAM role. - * @param masterCredentials [AWS.Credentials] the master (non-temporary) credentials - * used to get and refresh temporary credentials from AWS STS. - * @example Creating a new credentials object for generic temporary credentials - * AWS.config.credentials = new AWS.TemporaryCredentials(); - * @example Creating a new credentials object for an IAM role - * AWS.config.credentials = new AWS.TemporaryCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/TemporaryCredentials', - * }); - * @see AWS.STS.assumeRole - * @see AWS.STS.getSessionToken - */ - constructor: function TemporaryCredentials(params, masterCredentials) { - AWS.Credentials.call(this); - this.loadMasterCredentials(masterCredentials); - this.expired = true; - - this.params = params || {}; - if (this.params.RoleArn) { - this.params.RoleSessionName = - this.params.RoleSessionName || 'temporary-credentials'; - } - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRole} or - * {AWS.STS.getSessionToken}, depending on whether an IAM role ARN was passed - * to the credentials {constructor}. - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh (callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load (callback) { - var self = this; - self.createClients(); - self.masterCredentials.get(function () { - self.service.config.credentials = self.masterCredentials; - var operation = self.params.RoleArn ? - self.service.assumeRole : self.service.getSessionToken; - operation.call(self.service, function (err, data) { - if (!err) { - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }); - }, - - /** - * @api private - */ - loadMasterCredentials: function loadMasterCredentials (masterCredentials) { - this.masterCredentials = masterCredentials || AWS.config.credentials; - while (this.masterCredentials.masterCredentials) { - this.masterCredentials = this.masterCredentials.masterCredentials; - } - - if (typeof this.masterCredentials.get !== 'function') { - this.masterCredentials = new AWS.Credentials(this.masterCredentials); - } - }, - - /** - * @api private - */ - createClients: function () { - this.service = this.service || new STS({params: this.params}); + return contents; +}, "de_ScheduledInstanceAvailability"); +var de_ScheduledInstanceAvailabilitySet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ScheduledInstanceAvailability(entry, context); + }); +}, "de_ScheduledInstanceAvailabilitySet"); +var de_ScheduledInstanceRecurrence = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fre] != null) { + contents[_Fre] = (0, import_smithy_client.expectString)(output[_fre]); + } + if (output[_int] != null) { + contents[_Int] = (0, import_smithy_client.strictParseInt32)(output[_int]); + } + if (output.occurrenceDaySet === "") { + contents[_ODS] = []; + } else if (output[_oDS] != null && output[_oDS][_i] != null) { + contents[_ODS] = de_OccurrenceDaySet((0, import_smithy_client.getArrayIfSingleItem)(output[_oDS][_i]), context); + } + if (output[_oRTE] != null) { + contents[_ORTE] = (0, import_smithy_client.parseBoolean)(output[_oRTE]); + } + if (output[_oU] != null) { + contents[_OU] = (0, import_smithy_client.expectString)(output[_oU]); + } + return contents; +}, "de_ScheduledInstanceRecurrence"); +var de_ScheduledInstanceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ScheduledInstance(entry, context); + }); +}, "de_ScheduledInstanceSet"); +var de_SearchLocalGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.routeSet === "") { + contents[_Rou] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rou] = de_LocalGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_SearchLocalGatewayRoutesResult"); +var de_SearchTransitGatewayMulticastGroupsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.multicastGroups === "") { + contents[_MG] = []; + } else if (output[_mG] != null && output[_mG][_i] != null) { + contents[_MG] = de_TransitGatewayMulticastGroupList((0, import_smithy_client.getArrayIfSingleItem)(output[_mG][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_SearchTransitGatewayMulticastGroupsResult"); +var de_SearchTransitGatewayRoutesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.routeSet === "") { + contents[_Rou] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rou] = de_TransitGatewayRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), context); + } + if (output[_aRAd] != null) { + contents[_ARAd] = (0, import_smithy_client.parseBoolean)(output[_aRAd]); + } + return contents; +}, "de_SearchTransitGatewayRoutesResult"); +var de_SecurityGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gD] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_gD]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output.ipPermissions === "") { + contents[_IPpe] = []; + } else if (output[_iPpe] != null && output[_iPpe][_i] != null) { + contents[_IPpe] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPpe][_i]), context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output.ipPermissionsEgress === "") { + contents[_IPE] = []; + } else if (output[_iPE] != null && output[_iPE][_i] != null) { + contents[_IPE] = de_IpPermissionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPE][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_SecurityGroup"); +var de_SecurityGroupForVpc = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_pVI] != null) { + contents[_PVIr] = (0, import_smithy_client.expectString)(output[_pVI]); + } + return contents; +}, "de_SecurityGroupForVpc"); +var de_SecurityGroupForVpcList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroupForVpc(entry, context); + }); +}, "de_SecurityGroupForVpcList"); +var de_SecurityGroupIdentifier = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + return contents; +}, "de_SecurityGroupIdentifier"); +var de_SecurityGroupIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_SecurityGroupIdList"); +var de_SecurityGroupIdSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_SecurityGroupIdSet"); +var de_SecurityGroupIdStringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_SecurityGroupIdStringList"); +var de_SecurityGroupList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroup(entry, context); + }); +}, "de_SecurityGroupList"); +var de_SecurityGroupReference = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_rVI] != null) { + contents[_RVI] = (0, import_smithy_client.expectString)(output[_rVI]); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + return contents; +}, "de_SecurityGroupReference"); +var de_SecurityGroupReferences = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroupReference(entry, context); + }); +}, "de_SecurityGroupReferences"); +var de_SecurityGroupRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sGRI] != null) { + contents[_SGRIe] = (0, import_smithy_client.expectString)(output[_sGRI]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_gOI] != null) { + contents[_GOI] = (0, import_smithy_client.expectString)(output[_gOI]); + } + if (output[_iEs] != null) { + contents[_IE] = (0, import_smithy_client.parseBoolean)(output[_iEs]); + } + if (output[_iPpr] != null) { + contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]); + } + if (output[_fP] != null) { + contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); + } + if (output[_tPo] != null) { + contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); + } + if (output[_cIidr] != null) { + contents[_CIidr] = (0, import_smithy_client.expectString)(output[_cIidr]); + } + if (output[_cIid] != null) { + contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_rGI] != null) { + contents[_RGIe] = de_ReferencedSecurityGroup(output[_rGI], context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_SecurityGroupRule"); +var de_SecurityGroupRuleList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroupRule(entry, context); + }); +}, "de_SecurityGroupRuleList"); +var de_ServiceConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.serviceType === "") { + contents[_STe] = []; + } else if (output[_sTe] != null && output[_sTe][_i] != null) { + contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context); + } + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + if (output[_sN] != null) { + contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); + } + if (output[_sSer] != null) { + contents[_SSe] = (0, import_smithy_client.expectString)(output[_sSer]); + } + if (output.availabilityZoneSet === "") { + contents[_AZv] = []; + } else if (output[_aZS] != null && output[_aZS][_i] != null) { + contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); + } + if (output[_aRcc] != null) { + contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]); + } + if (output[_mVE] != null) { + contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]); + } + if (output.networkLoadBalancerArnSet === "") { + contents[_NLBAe] = []; + } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) { + contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context); + } + if (output.gatewayLoadBalancerArnSet === "") { + contents[_GLBA] = []; + } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) { + contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context); + } + if (output.supportedIpAddressTypeSet === "") { + contents[_SIAT] = []; + } else if (output[_sIATS] != null && output[_sIATS][_i] != null) { + contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context); + } + if (output.baseEndpointDnsNameSet === "") { + contents[_BEDN] = []; + } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) { + contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_pDNC] != null) { + contents[_PDNC] = de_PrivateDnsNameConfiguration(output[_pDNC], context); + } + if (output[_pRa] != null) { + contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_ServiceConfiguration"); +var de_ServiceConfigurationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ServiceConfiguration(entry, context); + }); +}, "de_ServiceConfigurationSet"); +var de_ServiceDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sN] != null) { + contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); + } + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + if (output.serviceType === "") { + contents[_STe] = []; + } else if (output[_sTe] != null && output[_sTe][_i] != null) { + contents[_STe] = de_ServiceTypeDetailSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sTe][_i]), context); + } + if (output.availabilityZoneSet === "") { + contents[_AZv] = []; + } else if (output[_aZS] != null && output[_aZS][_i] != null) { + contents[_AZv] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_aZS][_i]), context); + } + if (output[_ow] != null) { + contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]); + } + if (output.baseEndpointDnsNameSet === "") { + contents[_BEDN] = []; + } else if (output[_bEDNS] != null && output[_bEDNS][_i] != null) { + contents[_BEDN] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_bEDNS][_i]), context); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output.privateDnsNameSet === "") { + contents[_PDNr] = []; + } else if (output[_pDNS] != null && output[_pDNS][_i] != null) { + contents[_PDNr] = de_PrivateDnsDetailsSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pDNS][_i]), context); + } + if (output[_vEPS] != null) { + contents[_VEPS] = (0, import_smithy_client.parseBoolean)(output[_vEPS]); + } + if (output[_aRcc] != null) { + contents[_ARc] = (0, import_smithy_client.parseBoolean)(output[_aRcc]); + } + if (output[_mVE] != null) { + contents[_MVEa] = (0, import_smithy_client.parseBoolean)(output[_mVE]); + } + if (output[_pRa] != null) { + contents[_PRa] = (0, import_smithy_client.expectString)(output[_pRa]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_pDNVS] != null) { + contents[_PDNVS] = (0, import_smithy_client.expectString)(output[_pDNVS]); + } + if (output.supportedIpAddressTypeSet === "") { + contents[_SIAT] = []; + } else if (output[_sIATS] != null && output[_sIATS][_i] != null) { + contents[_SIAT] = de_SupportedIpAddressTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_sIATS][_i]), context); + } + return contents; +}, "de_ServiceDetail"); +var de_ServiceDetailSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ServiceDetail(entry, context); + }); +}, "de_ServiceDetailSet"); +var de_ServiceTypeDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sTe] != null) { + contents[_STe] = (0, import_smithy_client.expectString)(output[_sTe]); + } + return contents; +}, "de_ServiceTypeDetail"); +var de_ServiceTypeDetailSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ServiceTypeDetail(entry, context); + }); +}, "de_ServiceTypeDetailSet"); +var de_Snapshot = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dEKI] != null) { + contents[_DEKI] = (0, import_smithy_client.expectString)(output[_dEKI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + if (output[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); } - -}); - - -/***/ }), - -/***/ 11017: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var fs = __nccwpck_require__(57147); -var STS = __nccwpck_require__(57513); -var iniLoader = AWS.util.iniLoader; - -/** - * Represents OIDC credentials from a file on disk - * If the credentials expire, the SDK can {refresh} the credentials - * from the file. - * - * ## Using the web identity token file - * - * This provider is checked by default in the Node.js environment. To use - * the provider simply add your OIDC token to a file (ASCII encoding) and - * share the filename in either AWS_WEB_IDENTITY_TOKEN_FILE environment - * variable or web_identity_token_file shared config variable - * - * The file contains encoded OIDC token and the characters are - * ASCII encoded. OIDC tokens are JSON Web Tokens (JWT). - * JWT's are 3 base64 encoded strings joined by the '.' character. - * - * This class will read filename from AWS_WEB_IDENTITY_TOKEN_FILE - * environment variable or web_identity_token_file shared config variable, - * and get the OIDC token from filename. - * It will also read IAM role to be assumed from AWS_ROLE_ARN - * environment variable or role_arn shared config variable. - * This provider gets credetials using the {AWS.STS.assumeRoleWithWebIdentity} - * service operation - * - * @!macro nobrowser - */ -AWS.TokenFileWebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - - /** - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.TokenFileWebIdentityCredentials( - * // optionally provide configuration to apply to the underlying AWS.STS service client - * // if configuration is not provided, then configuration will be pulled from AWS.config - * { - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.Config - */ - constructor: function TokenFileWebIdentityCredentials(clientConfig) { - AWS.Credentials.call(this); - this.data = null; - this.clientConfig = AWS.util.copy(clientConfig || {}); - }, - - /** - * Returns params from environment variables - * - * @api private - */ - getParamsFromEnv: function getParamsFromEnv() { - var ENV_TOKEN_FILE = 'AWS_WEB_IDENTITY_TOKEN_FILE', - ENV_ROLE_ARN = 'AWS_ROLE_ARN'; - if (process.env[ENV_TOKEN_FILE] && process.env[ENV_ROLE_ARN]) { - return [{ - envTokenFile: process.env[ENV_TOKEN_FILE], - roleArn: process.env[ENV_ROLE_ARN], - roleSessionName: process.env['AWS_ROLE_SESSION_NAME'] - }]; - } - }, - - /** - * Returns params from shared config variables - * - * @api private - */ - getParamsFromSharedConfig: function getParamsFromSharedConfig() { - var profiles = AWS.util.getProfilesFromSharedConfig(iniLoader); - var profileName = process.env.AWS_PROFILE || AWS.util.defaultProfile; - var profile = profiles[profileName] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error('Profile ' + profileName + ' not found'), - { code: 'TokenFileWebIdentityCredentialsProviderFailure' } - ); - } - - var paramsArray = []; - - while (!profile['web_identity_token_file'] && profile['source_profile']) { - paramsArray.unshift({ - roleArn: profile['role_arn'], - roleSessionName: profile['role_session_name'] - }); - var sourceProfile = profile['source_profile']; - profile = profiles[sourceProfile]; - } - - paramsArray.unshift({ - envTokenFile: profile['web_identity_token_file'], - roleArn: profile['role_arn'], - roleSessionName: profile['role_session_name'] - }); - - return paramsArray; - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see AWS.Credentials.get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - assumeRoleChaining: function assumeRoleChaining(paramsArray, callback) { - var self = this; - if (paramsArray.length === 0) { - self.service.credentialsFrom(self.data, self); - callback(); - } else { - var params = paramsArray.shift(); - self.service.config.credentials = self.service.credentialsFrom(self.data, self); - self.service.assumeRole( - { - RoleArn: params.roleArn, - RoleSessionName: params.roleSessionName || 'token-file-web-identity' - }, - function (err, data) { - self.data = null; - if (err) { - callback(err); - } else { - self.data = data; - self.assumeRoleChaining(paramsArray, callback); - } - } - ); - } - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - try { - var paramsArray = self.getParamsFromEnv(); - if (!paramsArray) { - paramsArray = self.getParamsFromSharedConfig(); - } - if (paramsArray) { - var params = paramsArray.shift(); - var oidcToken = fs.readFileSync(params.envTokenFile, {encoding: 'ascii'}); - if (!self.service) { - self.createClients(); - } - self.service.assumeRoleWithWebIdentity( - { - WebIdentityToken: oidcToken, - RoleArn: params.roleArn, - RoleSessionName: params.roleSessionName || 'token-file-web-identity' - }, - function (err, data) { - self.data = null; - if (err) { - callback(err); - } else { - self.data = data; - self.assumeRoleChaining(paramsArray, callback); - } - } - ); - } - } catch (err) { - callback(err); - } - }, - - /** - * @api private - */ - createClients: function() { - if (!this.service) { - var stsConfig = AWS.util.merge({}, this.clientConfig); - this.service = new STS(stsConfig); - - // Retry in case of IDPCommunicationErrorException or InvalidIdentityToken - this.service.retryableError = function(error) { - if (error.code === 'IDPCommunicationErrorException' || error.code === 'InvalidIdentityToken') { - return true; - } else { - return AWS.Service.prototype.retryableError.call(this, error); - } - }; - } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); } -}); - - -/***/ }), - -/***/ 74998: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var STS = __nccwpck_require__(57513); - -/** - * Represents credentials retrieved from STS Web Identity Federation support. - * - * By default this provider gets credentials using the - * {AWS.STS.assumeRoleWithWebIdentity} service operation. This operation - * requires a `RoleArn` containing the ARN of the IAM trust policy for the - * application for which credentials will be given. In addition, the - * `WebIdentityToken` must be set to the token provided by the identity - * provider. See {constructor} for an example on creating a credentials - * object with proper `RoleArn` and `WebIdentityToken` values. - * - * ## Refreshing Credentials from Identity Service - * - * In addition to AWS credentials expiring after a given amount of time, the - * login token from the identity provider will also expire. Once this token - * expires, it will not be usable to refresh AWS credentials, and another - * token will be needed. The SDK does not manage refreshing of the token value, - * but this can be done through a "refresh token" supported by most identity - * providers. Consult the documentation for the identity provider for refreshing - * tokens. Once the refreshed token is acquired, you should make sure to update - * this new token in the credentials object's {params} property. The following - * code will update the WebIdentityToken, assuming you have retrieved an updated - * token from the identity provider: - * - * ```javascript - * AWS.config.credentials.params.WebIdentityToken = updatedToken; - * ``` - * - * Future calls to `credentials.refresh()` will now use the new token. - * - * @!attribute params - * @return [map] the map of params passed to - * {AWS.STS.assumeRoleWithWebIdentity}. To update the token, set the - * `params.WebIdentityToken` property. - * @!attribute data - * @return [map] the raw data response from the call to - * {AWS.STS.assumeRoleWithWebIdentity}. Use this if you want to get - * access to other properties from the response. - */ -AWS.WebIdentityCredentials = AWS.util.inherit(AWS.Credentials, { - /** - * Creates a new credentials object. - * @param (see AWS.STS.assumeRoleWithWebIdentity) - * @example Creating a new credentials object - * AWS.config.credentials = new AWS.WebIdentityCredentials({ - * RoleArn: 'arn:aws:iam::1234567890:role/WebIdentity', - * WebIdentityToken: 'ABCDEFGHIJKLMNOP', // token from identity service - * RoleSessionName: 'web' // optional name, defaults to web-identity - * }, { - * // optionally provide configuration to apply to the underlying AWS.STS service client - * // if configuration is not provided, then configuration will be pulled from AWS.config - * - * // specify timeout options - * httpOptions: { - * timeout: 100 - * } - * }); - * @see AWS.STS.assumeRoleWithWebIdentity - * @see AWS.Config - */ - constructor: function WebIdentityCredentials(params, clientConfig) { - AWS.Credentials.call(this); - this.expired = true; - this.params = params; - this.params.RoleSessionName = this.params.RoleSessionName || 'web-identity'; - this.data = null; - this._clientConfig = AWS.util.copy(clientConfig || {}); - }, - - /** - * Refreshes credentials using {AWS.STS.assumeRoleWithWebIdentity} - * - * @callback callback function(err) - * Called when the STS service responds (or fails). When - * this callback is called with no error, it means that the credentials - * information has been loaded into the object (as the `accessKeyId`, - * `secretAccessKey`, and `sessionToken` properties). - * @param err [Error] if an error occurred, this value will be filled - * @see get - */ - refresh: function refresh(callback) { - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, - - /** - * @api private - */ - load: function load(callback) { - var self = this; - self.createClients(); - self.service.assumeRoleWithWebIdentity(function (err, data) { - self.data = null; - if (!err) { - self.data = data; - self.service.credentialsFrom(data, self); - } - callback(err); - }); - }, - - /** - * @api private - */ - createClients: function() { - if (!this.service) { - var stsConfig = AWS.util.merge({}, this._clientConfig); - stsConfig.params = this.params; - this.service = new STS(stsConfig); - } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); } - -}); - - -/***/ }), - -/***/ 45313: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var util = __nccwpck_require__(77985); -var endpointDiscoveryEnabledEnvs = ['AWS_ENABLE_ENDPOINT_DISCOVERY', 'AWS_ENDPOINT_DISCOVERY_ENABLED']; - -/** - * Generate key (except resources and operation part) to index the endpoints in the cache - * If input shape has endpointdiscoveryid trait then use - * accessKey + operation + resources + region + service as cache key - * If input shape doesn't have endpointdiscoveryid trait then use - * accessKey + region + service as cache key - * @return [map] object with keys to index endpoints. - * @api private - */ -function getCacheKey(request) { - var service = request.service; - var api = service.api || {}; - var operations = api.operations; - var identifiers = {}; - if (service.config.region) { - identifiers.region = service.config.region; + if (output[_sTt] != null) { + contents[_STto] = (0, import_smithy_client.expectString)(output[_sTt]); } - if (api.serviceId) { - identifiers.serviceId = api.serviceId; + if (output[_rET] != null) { + contents[_RET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rET])); } - if (service.config.credentials.accessKeyId) { - identifiers.accessKeyId = service.config.credentials.accessKeyId; + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); } - return identifiers; -} - -/** - * Recursive helper for marshallCustomIdentifiers(). - * Looks for required string input members that have 'endpointdiscoveryid' trait. - * @api private - */ -function marshallCustomIdentifiersHelper(result, params, shape) { - if (!shape || params === undefined || params === null) return; - if (shape.type === 'structure' && shape.required && shape.required.length > 0) { - util.arrayEach(shape.required, function(name) { - var memberShape = shape.members[name]; - if (memberShape.endpointDiscoveryId === true) { - var locationName = memberShape.isLocationName ? memberShape.name : name; - result[locationName] = String(params[name]); - } else { - marshallCustomIdentifiersHelper(result, params[name], memberShape); - } - }); + return contents; +}, "de_Snapshot"); +var de_SnapshotDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); } -} - -/** - * Get custom identifiers for cache key. - * Identifies custom identifiers by checking each shape's `endpointDiscoveryId` trait. - * @param [object] request object - * @param [object] input shape of the given operation's api - * @api private - */ -function marshallCustomIdentifiers(request, shape) { - var identifiers = {}; - marshallCustomIdentifiersHelper(identifiers, request.params, shape); - return identifiers; -} - -/** - * Call endpoint discovery operation when it's optional. - * When endpoint is available in cache then use the cached endpoints. If endpoints - * are unavailable then use regional endpoints and call endpoint discovery operation - * asynchronously. This is turned off by default. - * @param [object] request object - * @api private - */ -function optionalDiscoverEndpoint(request) { - var service = request.service; - var api = service.api; - var operationModel = api.operations ? api.operations[request.operation] : undefined; - var inputShape = operationModel ? operationModel.input : undefined; - - var identifiers = marshallCustomIdentifiers(request, inputShape); - var cacheKey = getCacheKey(request); - if (Object.keys(identifiers).length > 0) { - cacheKey = util.update(cacheKey, identifiers); - if (operationModel) cacheKey.operation = operationModel.name; - } - var endpoints = AWS.endpointCache.get(cacheKey); - if (endpoints && endpoints.length === 1 && endpoints[0].Address === '') { - //endpoint operation is being made but response not yet received - //or endpoint operation just failed in 1 minute - return; - } else if (endpoints && endpoints.length > 0) { - //found endpoint record from cache - request.httpRequest.updateEndpoint(endpoints[0].Address); - } else { - //endpoint record not in cache or outdated. make discovery operation - var endpointRequest = service.makeRequest(api.endpointOperation, { - Operation: operationModel.name, - Identifiers: identifiers, - }); - addApiVersionHeader(endpointRequest); - endpointRequest.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); - endpointRequest.removeListener('retry', AWS.EventListeners.Core.RETRY_CHECK); - //put in a placeholder for endpoints already requested, prevent - //too much in-flight calls - AWS.endpointCache.put(cacheKey, [{ - Address: '', - CachePeriodInMinutes: 1 - }]); - endpointRequest.send(function(err, data) { - if (data && data.Endpoints) { - AWS.endpointCache.put(cacheKey, data.Endpoints); - } else if (err) { - AWS.endpointCache.put(cacheKey, [{ - Address: '', - CachePeriodInMinutes: 1 //not to make more endpoint operation in next 1 minute - }]); - } - }); + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); } -} - -var requestQueue = {}; - -/** - * Call endpoint discovery operation when it's required. - * When endpoint is available in cache then use cached ones. If endpoints are - * unavailable then SDK should call endpoint operation then use returned new - * endpoint for the api call. SDK will automatically attempt to do endpoint - * discovery. This is turned off by default - * @param [object] request object - * @api private - */ -function requiredDiscoverEndpoint(request, done) { - var service = request.service; - var api = service.api; - var operationModel = api.operations ? api.operations[request.operation] : undefined; - var inputShape = operationModel ? operationModel.input : undefined; - - var identifiers = marshallCustomIdentifiers(request, inputShape); - var cacheKey = getCacheKey(request); - if (Object.keys(identifiers).length > 0) { - cacheKey = util.update(cacheKey, identifiers); - if (operationModel) cacheKey.operation = operationModel.name; - } - var cacheKeyStr = AWS.EndpointCache.getKeyString(cacheKey); - var endpoints = AWS.endpointCache.get(cacheKeyStr); //endpoint cache also accepts string keys - if (endpoints && endpoints.length === 1 && endpoints[0].Address === '') { - //endpoint operation is being made but response not yet received - //push request object to a pending queue - if (!requestQueue[cacheKeyStr]) requestQueue[cacheKeyStr] = []; - requestQueue[cacheKeyStr].push({request: request, callback: done}); - return; - } else if (endpoints && endpoints.length > 0) { - request.httpRequest.updateEndpoint(endpoints[0].Address); - done(); - } else { - var endpointRequest = service.makeRequest(api.endpointOperation, { - Operation: operationModel.name, - Identifiers: identifiers, - }); - endpointRequest.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); - addApiVersionHeader(endpointRequest); - - //put in a placeholder for endpoints already requested, prevent - //too much in-flight calls - AWS.endpointCache.put(cacheKeyStr, [{ - Address: '', - CachePeriodInMinutes: 60 //long-live cache - }]); - endpointRequest.send(function(err, data) { - if (err) { - request.response.error = util.error(err, { retryable: false }); - AWS.endpointCache.remove(cacheKey); - - //fail all the pending requests in batch - if (requestQueue[cacheKeyStr]) { - var pendingRequests = requestQueue[cacheKeyStr]; - util.arrayEach(pendingRequests, function(requestContext) { - requestContext.request.response.error = util.error(err, { retryable: false }); - requestContext.callback(); - }); - delete requestQueue[cacheKeyStr]; - } - } else if (data) { - AWS.endpointCache.put(cacheKeyStr, data.Endpoints); - request.httpRequest.updateEndpoint(data.Endpoints[0].Address); - - //update the endpoint for all the pending requests in batch - if (requestQueue[cacheKeyStr]) { - var pendingRequests = requestQueue[cacheKeyStr]; - util.arrayEach(pendingRequests, function(requestContext) { - requestContext.request.httpRequest.updateEndpoint(data.Endpoints[0].Address); - requestContext.callback(); - }); - delete requestQueue[cacheKeyStr]; - } - } - done(); - }); + if (output[_dIS] != null) { + contents[_DISi] = (0, import_smithy_client.strictParseFloat)(output[_dIS]); } -} - -/** - * add api version header to endpoint operation - * @api private - */ -function addApiVersionHeader(endpointRequest) { - var api = endpointRequest.service.api; - var apiVersion = api.apiVersion; - if (apiVersion && !endpointRequest.httpRequest.headers['x-amz-api-version']) { - endpointRequest.httpRequest.headers['x-amz-api-version'] = apiVersion; + if (output[_f] != null) { + contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]); } -} - -/** - * If api call gets invalid endpoint exception, SDK should attempt to remove the invalid - * endpoint from cache. - * @api private - */ -function invalidateCachedEndpoints(response) { - var error = response.error; - var httpResponse = response.httpResponse; - if (error && - (error.code === 'InvalidEndpointException' || httpResponse.statusCode === 421) - ) { - var request = response.request; - var operations = request.service.api.operations || {}; - var inputShape = operations[request.operation] ? operations[request.operation].input : undefined; - var identifiers = marshallCustomIdentifiers(request, inputShape); - var cacheKey = getCacheKey(request); - if (Object.keys(identifiers).length > 0) { - cacheKey = util.update(cacheKey, identifiers); - if (operations[request.operation]) cacheKey.operation = operations[request.operation].name; - } - AWS.endpointCache.remove(cacheKey); + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); } -} - -/** - * If endpoint is explicitly configured, SDK should not do endpoint discovery in anytime. - * @param [object] client Service client object. - * @api private - */ -function hasCustomEndpoint(client) { - //if set endpoint is set for specific client, enable endpoint discovery will raise an error. - if (client._originalConfig && client._originalConfig.endpoint && client._originalConfig.endpointDiscoveryEnabled === true) { - throw util.error(new Error(), { - code: 'ConfigurationException', - message: 'Custom endpoint is supplied; endpointDiscoveryEnabled must not be true.' - }); - }; - var svcConfig = AWS.config[client.serviceIdentifier] || {}; - return Boolean(AWS.config.endpoint || svcConfig.endpoint || (client._originalConfig && client._originalConfig.endpoint)); -} - -/** - * @api private - */ -function isFalsy(value) { - return ['false', '0'].indexOf(value) >= 0; -} - -/** - * If endpoint discovery should perform for this request when no operation requires endpoint - * discovery for the given service. - * SDK performs config resolution in order like below: - * 1. If set in client configuration. - * 2. If set in env AWS_ENABLE_ENDPOINT_DISCOVERY. - * 3. If set in shared ini config file with key 'endpoint_discovery_enabled'. - * @param [object] request request object. - * @returns [boolean|undefined] if endpoint discovery config is not set in any source, this - * function returns undefined - * @api private - */ -function resolveEndpointDiscoveryConfig(request) { - var service = request.service || {}; - if (service.config.endpointDiscoveryEnabled !== undefined) { - return service.config.endpointDiscoveryEnabled; - } - - //shared ini file is only available in Node - //not to check env in browser - if (util.isBrowser()) return undefined; - - // If any of recognized endpoint discovery config env is set - for (var i = 0; i < endpointDiscoveryEnabledEnvs.length; i++) { - var env = endpointDiscoveryEnabledEnvs[i]; - if (Object.prototype.hasOwnProperty.call(process.env, env)) { - if (process.env[env] === '' || process.env[env] === undefined) { - throw util.error(new Error(), { - code: 'ConfigurationException', - message: 'environmental variable ' + env + ' cannot be set to nothing' - }); - } - return !isFalsy(process.env[env]); - } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); } - - var configFile = {}; - try { - configFile = AWS.util.iniLoader ? AWS.util.iniLoader.loadFrom({ - isConfig: true, - filename: process.env[AWS.util.sharedConfigFileEnv] - }) : {}; - } catch (e) {} - var sharedFileConfig = configFile[ - process.env.AWS_PROFILE || AWS.util.defaultProfile - ] || {}; - if (Object.prototype.hasOwnProperty.call(sharedFileConfig, 'endpoint_discovery_enabled')) { - if (sharedFileConfig.endpoint_discovery_enabled === undefined) { - throw util.error(new Error(), { - code: 'ConfigurationException', - message: 'config file entry \'endpoint_discovery_enabled\' cannot be set to nothing' - }); - } - return !isFalsy(sharedFileConfig.endpoint_discovery_enabled); + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); } - return undefined; -} - -/** - * attach endpoint discovery logic to request object - * @param [object] request - * @api private - */ -function discoverEndpoint(request, done) { - var service = request.service || {}; - if (hasCustomEndpoint(service) || request.isPresigned()) return done(); - - var operations = service.api.operations || {}; - var operationModel = operations[request.operation]; - var isEndpointDiscoveryRequired = operationModel ? operationModel.endpointDiscoveryRequired : 'NULL'; - var isEnabled = resolveEndpointDiscoveryConfig(request); - var hasRequiredEndpointDiscovery = service.api.hasRequiredEndpointDiscovery; - if (isEnabled || hasRequiredEndpointDiscovery) { - // Once a customer enables endpoint discovery, the SDK should start appending - // the string endpoint-discovery to the user-agent on all requests. - request.httpRequest.appendToUserAgent('endpoint-discovery'); - } - switch (isEndpointDiscoveryRequired) { - case 'OPTIONAL': - if (isEnabled || hasRequiredEndpointDiscovery) { - // For a given service; if at least one operation requires endpoint discovery then the SDK must enable endpoint discovery - // by default for all operations of that service, including operations where endpoint discovery is optional. - optionalDiscoverEndpoint(request); - request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS', 'extractError', invalidateCachedEndpoints); - } - done(); - break; - case 'REQUIRED': - if (isEnabled === false) { - // For a given operation; if endpoint discovery is required and it has been disabled on the SDK client, - // then the SDK must return a clear and actionable exception. - request.response.error = util.error(new Error(), { - code: 'ConfigurationException', - message: 'Endpoint Discovery is disabled but ' + service.api.className + '.' + request.operation + - '() requires it. Please check your configurations.' - }); - done(); - break; - } - request.addNamedListener('INVALIDATE_CACHED_ENDPOINTS', 'extractError', invalidateCachedEndpoints); - requiredDiscoverEndpoint(request, done); - break; - case 'NULL': - default: - done(); - break; + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); } -} - -module.exports = { - discoverEndpoint: discoverEndpoint, - requiredDiscoverEndpoint: requiredDiscoverEndpoint, - optionalDiscoverEndpoint: optionalDiscoverEndpoint, - marshallCustomIdentifiers: marshallCustomIdentifiers, - getCacheKey: getCacheKey, - invalidateCachedEndpoint: invalidateCachedEndpoints, -}; - - -/***/ }), - -/***/ 76663: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var util = AWS.util; -var typeOf = (__nccwpck_require__(48084).typeOf); -var DynamoDBSet = __nccwpck_require__(20304); -var NumberValue = __nccwpck_require__(91593); - -AWS.DynamoDB.Converter = { - /** - * Convert a JavaScript value to its equivalent DynamoDB AttributeValue type - * - * @param data [any] The data to convert to a DynamoDB AttributeValue - * @param options [map] - * @option options convertEmptyValues [Boolean] Whether to automatically - * convert empty strings, blobs, - * and sets to `null` - * @option options wrapNumbers [Boolean] Whether to return numbers as a - * NumberValue object instead of - * converting them to native JavaScript - * numbers. This allows for the safe - * round-trip transport of numbers of - * arbitrary size. - * @return [map] An object in the Amazon DynamoDB AttributeValue format - * - * @see AWS.DynamoDB.Converter.marshall AWS.DynamoDB.Converter.marshall to - * convert entire records (rather than individual attributes) - */ - input: function convertInput(data, options) { - options = options || {}; - var type = typeOf(data); - if (type === 'Object') { - return formatMap(data, options); - } else if (type === 'Array') { - return formatList(data, options); - } else if (type === 'Set') { - return formatSet(data, options); - } else if (type === 'String') { - if (data.length === 0 && options.convertEmptyValues) { - return convertInput(null); - } - return { S: data }; - } else if (type === 'Number' || type === 'NumberValue') { - return { N: data.toString() }; - } else if (type === 'Binary') { - if (data.length === 0 && options.convertEmptyValues) { - return convertInput(null); - } - return { B: data }; - } else if (type === 'Boolean') { - return { BOOL: data }; - } else if (type === 'null') { - return { NULL: true }; - } else if (type !== 'undefined' && type !== 'Function') { - // this value has a custom constructor - return formatMap(data, options); - } - }, - - /** - * Convert a JavaScript object into a DynamoDB record. - * - * @param data [any] The data to convert to a DynamoDB record - * @param options [map] - * @option options convertEmptyValues [Boolean] Whether to automatically - * convert empty strings, blobs, - * and sets to `null` - * @option options wrapNumbers [Boolean] Whether to return numbers as a - * NumberValue object instead of - * converting them to native JavaScript - * numbers. This allows for the safe - * round-trip transport of numbers of - * arbitrary size. - * - * @return [map] An object in the DynamoDB record format. - * - * @example Convert a JavaScript object into a DynamoDB record - * var marshalled = AWS.DynamoDB.Converter.marshall({ - * string: 'foo', - * list: ['fizz', 'buzz', 'pop'], - * map: { - * nestedMap: { - * key: 'value', - * } - * }, - * number: 123, - * nullValue: null, - * boolValue: true, - * stringSet: new DynamoDBSet(['foo', 'bar', 'baz']) - * }); - */ - marshall: function marshallItem(data, options) { - return AWS.DynamoDB.Converter.input(data, options).M; - }, - - /** - * Convert a DynamoDB AttributeValue object to its equivalent JavaScript type. - * - * @param data [map] An object in the Amazon DynamoDB AttributeValue format - * @param options [map] - * @option options convertEmptyValues [Boolean] Whether to automatically - * convert empty strings, blobs, - * and sets to `null` - * @option options wrapNumbers [Boolean] Whether to return numbers as a - * NumberValue object instead of - * converting them to native JavaScript - * numbers. This allows for the safe - * round-trip transport of numbers of - * arbitrary size. - * - * @return [Object|Array|String|Number|Boolean|null] - * - * @see AWS.DynamoDB.Converter.unmarshall AWS.DynamoDB.Converter.unmarshall to - * convert entire records (rather than individual attributes) - */ - output: function convertOutput(data, options) { - options = options || {}; - var list, map, i; - for (var type in data) { - var values = data[type]; - if (type === 'M') { - map = {}; - for (var key in values) { - map[key] = convertOutput(values[key], options); - } - return map; - } else if (type === 'L') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(convertOutput(values[i], options)); - } - return list; - } else if (type === 'SS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(values[i] + ''); - } - return new DynamoDBSet(list); - } else if (type === 'NS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(convertNumber(values[i], options.wrapNumbers)); - } - return new DynamoDBSet(list); - } else if (type === 'BS') { - list = []; - for (i = 0; i < values.length; i++) { - list.push(AWS.util.buffer.toBuffer(values[i])); - } - return new DynamoDBSet(list); - } else if (type === 'S') { - return values + ''; - } else if (type === 'N') { - return convertNumber(values, options.wrapNumbers); - } else if (type === 'B') { - return util.buffer.toBuffer(values); - } else if (type === 'BOOL') { - return (values === 'true' || values === 'TRUE' || values === true); - } else if (type === 'NULL') { - return null; - } - } - }, - - /** - * Convert a DynamoDB record into a JavaScript object. - * - * @param data [any] The DynamoDB record - * @param options [map] - * @option options convertEmptyValues [Boolean] Whether to automatically - * convert empty strings, blobs, - * and sets to `null` - * @option options wrapNumbers [Boolean] Whether to return numbers as a - * NumberValue object instead of - * converting them to native JavaScript - * numbers. This allows for the safe - * round-trip transport of numbers of - * arbitrary size. - * - * @return [map] An object whose properties have been converted from - * DynamoDB's AttributeValue format into their corresponding native - * JavaScript types. - * - * @example Convert a record received from a DynamoDB stream - * var unmarshalled = AWS.DynamoDB.Converter.unmarshall({ - * string: {S: 'foo'}, - * list: {L: [{S: 'fizz'}, {S: 'buzz'}, {S: 'pop'}]}, - * map: { - * M: { - * nestedMap: { - * M: { - * key: {S: 'value'} - * } - * } - * } - * }, - * number: {N: '123'}, - * nullValue: {NULL: true}, - * boolValue: {BOOL: true} - * }); - */ - unmarshall: function unmarshall(data, options) { - return AWS.DynamoDB.Converter.output({M: data}, options); + if (output[_ur] != null) { + contents[_U] = (0, import_smithy_client.expectString)(output[_ur]); } -}; - -/** - * @api private - * @param data [Array] - * @param options [map] - */ -function formatList(data, options) { - var list = {L: []}; - for (var i = 0; i < data.length; i++) { - list['L'].push(AWS.DynamoDB.Converter.input(data[i], options)); + if (output[_uB] != null) { + contents[_UB] = de_UserBucketDetails(output[_uB], context); } - return list; -} - -/** - * @api private - * @param value [String] - * @param wrapNumbers [Boolean] - */ -function convertNumber(value, wrapNumbers) { - return wrapNumbers ? new NumberValue(value) : Number(value); -} - -/** - * @api private - * @param data [map] - * @param options [map] - */ -function formatMap(data, options) { - var map = {M: {}}; - for (var key in data) { - var formatted = AWS.DynamoDB.Converter.input(data[key], options); - if (formatted !== void 0) { - map['M'][key] = formatted; - } + return contents; +}, "de_SnapshotDetail"); +var de_SnapshotDetailList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SnapshotDetail(entry, context); + }); +}, "de_SnapshotDetailList"); +var de_SnapshotInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); } - return map; -} - -/** - * @api private - */ -function formatSet(data, options) { - options = options || {}; - var values = data.values; - if (options.convertEmptyValues) { - values = filterEmptySetValues(data); - if (values.length === 0) { - return AWS.DynamoDB.Converter.input(null); - } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); } - - var map = {}; - switch (data.type) { - case 'String': map['SS'] = values; break; - case 'Binary': map['BS'] = values; break; - case 'Number': map['NS'] = values.map(function (value) { - return value.toString(); - }); + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); } - return map; -} - -/** - * @api private - */ -function filterEmptySetValues(set) { - var nonEmptyValues = []; - var potentiallyEmptyTypes = { - String: true, - Binary: true, - Number: false - }; - if (potentiallyEmptyTypes[set.type]) { - for (var i = 0; i < set.values.length; i++) { - if (set.values[i].length === 0) { - continue; - } - nonEmptyValues.push(set.values[i]); - } - - return nonEmptyValues; - } - - return set.values; -} - -/** - * @api private - */ -module.exports = AWS.DynamoDB.Converter; - - -/***/ }), - -/***/ 90030: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var Translator = __nccwpck_require__(34222); -var DynamoDBSet = __nccwpck_require__(20304); - -/** - * The document client simplifies working with items in Amazon DynamoDB - * by abstracting away the notion of attribute values. This abstraction - * annotates native JavaScript types supplied as input parameters, as well - * as converts annotated response data to native JavaScript types. - * - * ## Marshalling Input and Unmarshalling Response Data - * - * The document client affords developers the use of native JavaScript types - * instead of `AttributeValue`s to simplify the JavaScript development - * experience with Amazon DynamoDB. JavaScript objects passed in as parameters - * are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. - * Responses from DynamoDB are unmarshalled into plain JavaScript objects - * by the `DocumentClient`. The `DocumentClient`, does not accept - * `AttributeValue`s in favor of native JavaScript types. - * - * | JavaScript Type | DynamoDB AttributeValue | - * |:----------------------------------------------------------------------:|-------------------------| - * | String | S | - * | Number | N | - * | Boolean | BOOL | - * | null | NULL | - * | Array | L | - * | Object | M | - * | Buffer, File, Blob, ArrayBuffer, DataView, and JavaScript typed arrays | B | - * - * ## Support for Sets - * - * The `DocumentClient` offers a convenient way to create sets from - * JavaScript Arrays. The type of set is inferred from the first element - * in the array. DynamoDB supports string, number, and binary sets. To - * learn more about supported types see the - * [Amazon DynamoDB Data Model Documentation](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) - * For more information see {AWS.DynamoDB.DocumentClient.createSet} - * - */ -AWS.DynamoDB.DocumentClient = AWS.util.inherit({ - - /** - * Creates a DynamoDB document client with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.DynamoDB] An optional pre-configured instance - * of the AWS.DynamoDB service object. This instance's config will be - * copied to a new instance used by this client. You should not need to - * retain a reference to the input object, and may destroy it or allow it - * to be garbage collected. - * @option options convertEmptyValues [Boolean] set to true if you would like - * the document client to convert empty values (0-length strings, binary - * buffers, and sets) to be converted to NULL types when persisting to - * DynamoDB. - * @option options wrapNumbers [Boolean] Set to true to return numbers as a - * NumberValue object instead of converting them to native JavaScript numbers. - * This allows for the safe round-trip transport of numbers of arbitrary size. - * @see AWS.DynamoDB.constructor - * - */ - constructor: function DocumentClient(options) { - var self = this; - self.options = options || {}; - self.configure(self.options); - }, - - /** - * @api private - */ - configure: function configure(options) { - var self = this; - self.service = options.service; - self.bindServiceObject(options); - self.attrValue = options.attrValue = - self.service.api.operations.putItem.input.members.Item.value.shape; - }, - - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - var self = this; - options = options || {}; - - if (!self.service) { - self.service = new AWS.DynamoDB(options); - } else { - var config = AWS.util.copy(self.service.config); - self.service = new self.service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, options.params); - } - }, - - /** - * @api private - */ - makeServiceRequest: function(operation, params, callback) { - var self = this; - var request = self.service[operation](params); - self.setupRequest(request); - self.setupResponse(request); - if (typeof callback === 'function') { - request.send(callback); - } - return request; - }, - - /** - * @api private - */ - serviceClientOperationsMap: { - batchGet: 'batchGetItem', - batchWrite: 'batchWriteItem', - delete: 'deleteItem', - get: 'getItem', - put: 'putItem', - query: 'query', - scan: 'scan', - update: 'updateItem', - transactGet: 'transactGetItems', - transactWrite: 'transactWriteItems' - }, - - /** - * Returns the attributes of one or more items from one or more tables - * by delegating to `AWS.DynamoDB.batchGetItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchGetItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchGetItem - * @example Get items from multiple tables - * var params = { - * RequestItems: { - * 'Table-1': { - * Keys: [ - * { - * HashKey: 'haskey', - * NumberRangeKey: 1 - * } - * ] - * }, - * 'Table-2': { - * Keys: [ - * { foo: 'bar' }, - * ] - * } - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.batchGet(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchGet: function(params, callback) { - var operation = this.serviceClientOperationsMap['batchGet']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Puts or deletes multiple items in one or more tables by delegating - * to `AWS.DynamoDB.batchWriteItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.batchWriteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.batchWriteItem - * @example Write to and delete from a table - * var params = { - * RequestItems: { - * 'Table-1': [ - * { - * DeleteRequest: { - * Key: { HashKey: 'someKey' } - * } - * }, - * { - * PutRequest: { - * Item: { - * HashKey: 'anotherKey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar' } - * } - * } - * } - * ] - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.batchWrite(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - batchWrite: function(params, callback) { - var operation = this.serviceClientOperationsMap['batchWrite']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Deletes a single item in a table by primary key by delegating to - * `AWS.DynamoDB.deleteItem()` - * - * Supply the same parameters as {AWS.DynamoDB.deleteItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.deleteItem - * @example Delete an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey', - * NumberRangeKey: 1 - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.delete(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - delete: function(params, callback) { - var operation = this.serviceClientOperationsMap['delete']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Returns a set of attributes for the item with the given primary key - * by delegating to `AWS.DynamoDB.getItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.getItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.getItem - * @example Get an item from a table - * var params = { - * TableName : 'Table', - * Key: { - * HashKey: 'hashkey' - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.get(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - get: function(params, callback) { - var operation = this.serviceClientOperationsMap['get']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Creates a new item, or replaces an old item with a new item by - * delegating to `AWS.DynamoDB.putItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.putItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.putItem - * @example Create a new item in a table - * var params = { - * TableName : 'Table', - * Item: { - * HashKey: 'haskey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar'}, - * NullAttribute: null - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - put: function(params, callback) { - var operation = this.serviceClientOperationsMap['put']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Edits an existing item's attributes, or adds a new item to the table if - * it does not already exist by delegating to `AWS.DynamoDB.updateItem()`. - * - * Supply the same parameters as {AWS.DynamoDB.updateItem} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.updateItem - * @example Update an item with expressions - * var params = { - * TableName: 'Table', - * Key: { HashKey : 'hashkey' }, - * UpdateExpression: 'set #a = :x + :y', - * ConditionExpression: '#a < :MAX', - * ExpressionAttributeNames: {'#a' : 'Sum'}, - * ExpressionAttributeValues: { - * ':x' : 20, - * ':y' : 45, - * ':MAX' : 100, - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.update(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - update: function(params, callback) { - var operation = this.serviceClientOperationsMap['update']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Returns one or more items and item attributes by accessing every item - * in a table or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.scan} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.scan - * @example Scan the table with a filter expression - * var params = { - * TableName : 'Table', - * FilterExpression : 'Year = :this_year', - * ExpressionAttributeValues : {':this_year' : 2015} - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.scan(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - scan: function(params, callback) { - var operation = this.serviceClientOperationsMap['scan']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Directly access items from a table by primary key or a secondary index. - * - * Supply the same parameters as {AWS.DynamoDB.query} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.query - * @example Query an index - * var params = { - * TableName: 'Table', - * IndexName: 'Index', - * KeyConditionExpression: 'HashKey = :hkey and RangeKey > :rkey', - * ExpressionAttributeValues: { - * ':hkey': 'key', - * ':rkey': 2015 - * } - * }; - * - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * documentClient.query(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - query: function(params, callback) { - var operation = this.serviceClientOperationsMap['query']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Synchronous write operation that groups up to 100 action requests. - * - * Supply the same parameters as {AWS.DynamoDB.transactWriteItems} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.transactWriteItems - * @example Get items from multiple tables - * var params = { - * TransactItems: [{ - * Put: { - * TableName : 'Table0', - * Item: { - * HashKey: 'haskey', - * NumAttribute: 1, - * BoolAttribute: true, - * ListAttribute: [1, 'two', false], - * MapAttribute: { foo: 'bar'}, - * NullAttribute: null - * } - * } - * }, { - * Update: { - * TableName: 'Table1', - * Key: { HashKey : 'hashkey' }, - * UpdateExpression: 'set #a = :x + :y', - * ConditionExpression: '#a < :MAX', - * ExpressionAttributeNames: {'#a' : 'Sum'}, - * ExpressionAttributeValues: { - * ':x' : 20, - * ':y' : 45, - * ':MAX' : 100, - * } - * } - * }] - * }; - * - * documentClient.transactWrite(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - */ - transactWrite: function(params, callback) { - var operation = this.serviceClientOperationsMap['transactWrite']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Atomically retrieves multiple items from one or more tables (but not from indexes) - * in a single account and region. - * - * Supply the same parameters as {AWS.DynamoDB.transactGetItems} with - * `AttributeValue`s substituted by native JavaScript types. - * - * @see AWS.DynamoDB.transactGetItems - * @example Get items from multiple tables - * var params = { - * TransactItems: [{ - * Get: { - * TableName : 'Table0', - * Key: { - * HashKey: 'hashkey0' - * } - * } - * }, { - * Get: { - * TableName : 'Table1', - * Key: { - * HashKey: 'hashkey1' - * } - * } - * }] - * }; - * - * documentClient.transactGet(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - */ - transactGet: function(params, callback) { - var operation = this.serviceClientOperationsMap['transactGet']; - return this.makeServiceRequest(operation, params, callback); - }, - - /** - * Creates a set of elements inferring the type of set from - * the type of the first element. Amazon DynamoDB currently supports - * the number sets, string sets, and binary sets. For more information - * about DynamoDB data types see the documentation on the - * [Amazon DynamoDB Data Model](http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html#DataModel.DataTypes). - * - * @param list [Array] Collection to represent your DynamoDB Set - * @param options [map] - * * **validate** [Boolean] set to true if you want to validate the type - * of each element in the set. Defaults to `false`. - * @example Creating a number set - * var documentClient = new AWS.DynamoDB.DocumentClient(); - * - * var params = { - * Item: { - * hashkey: 'hashkey' - * numbers: documentClient.createSet([1, 2, 3]); - * } - * }; - * - * documentClient.put(params, function(err, data) { - * if (err) console.log(err); - * else console.log(data); - * }); - * - */ - createSet: function(list, options) { - options = options || {}; - return new DynamoDBSet(list, options); - }, - - /** - * @api private - */ - getTranslator: function() { - return new Translator(this.options); - }, - - /** - * @api private - */ - setupRequest: function setupRequest(request) { - var self = this; - var translator = self.getTranslator(); - var operation = request.operation; - var inputShape = request.service.api.operations[operation].input; - request._events.validate.unshift(function(req) { - req.rawParams = AWS.util.copy(req.params); - req.params = translator.translateInput(req.rawParams, inputShape); - }); - }, - - /** - * @api private - */ - setupResponse: function setupResponse(request) { - var self = this; - var translator = self.getTranslator(); - var outputShape = self.service.api.operations[request.operation].output; - request.on('extractData', function(response) { - response.data = translator.translateOutput(response.data, outputShape); - }); - - var response = request.response; - response.nextPage = function(cb) { - var resp = this; - var req = resp.request; - var config; - var service = req.service; - var operation = req.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { resp.error = e; } - - if (!resp.hasNextPage()) { - if (cb) cb(resp.error, null); - else if (resp.error) throw resp.error; - return null; - } - - var params = AWS.util.copy(req.rawParams); - if (!resp.nextPageTokens) { - return cb ? cb(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = resp.nextPageTokens[i]; - } - return self[operation](params, cb); - } - }; + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); + } + return contents; +}, "de_SnapshotInfo"); +var de_SnapshotList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Snapshot(entry, context); + }); +}, "de_SnapshotList"); +var de_SnapshotRecycleBinInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_rBET] != null) { + contents[_RBET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBET])); + } + if (output[_rBETe] != null) { + contents[_RBETe] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rBETe])); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + return contents; +}, "de_SnapshotRecycleBinInfo"); +var de_SnapshotRecycleBinInfoList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SnapshotRecycleBinInfo(entry, context); + }); +}, "de_SnapshotRecycleBinInfoList"); +var de_SnapshotSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SnapshotInfo(entry, context); + }); +}, "de_SnapshotSet"); +var de_SnapshotTaskDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_dIS] != null) { + contents[_DISi] = (0, import_smithy_client.strictParseFloat)(output[_dIS]); + } + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + if (output[_f] != null) { + contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]); + } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_ur] != null) { + contents[_U] = (0, import_smithy_client.expectString)(output[_ur]); + } + if (output[_uB] != null) { + contents[_UB] = de_UserBucketDetails(output[_uB], context); + } + return contents; +}, "de_SnapshotTaskDetail"); +var de_SnapshotTierStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_sTt] != null) { + contents[_STto] = (0, import_smithy_client.expectString)(output[_sTt]); + } + if (output[_lTST] != null) { + contents[_LTST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTST])); + } + if (output[_lTP] != null) { + contents[_LTP] = (0, import_smithy_client.strictParseInt32)(output[_lTP]); + } + if (output[_lTOS] != null) { + contents[_LTOS] = (0, import_smithy_client.expectString)(output[_lTOS]); + } + if (output[_lTOSD] != null) { + contents[_LTOSD] = (0, import_smithy_client.expectString)(output[_lTOSD]); + } + if (output[_aCT] != null) { + contents[_ACT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aCT])); + } + if (output[_rET] != null) { + contents[_RET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rET])); + } + return contents; +}, "de_SnapshotTierStatus"); +var de_snapshotTierStatusSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SnapshotTierStatus(entry, context); + }); +}, "de_snapshotTierStatusSet"); +var de_SpotCapacityRebalance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rSe] != null) { + contents[_RS] = (0, import_smithy_client.expectString)(output[_rSe]); + } + if (output[_tD] != null) { + contents[_TDe] = (0, import_smithy_client.strictParseInt32)(output[_tD]); + } + return contents; +}, "de_SpotCapacityRebalance"); +var de_SpotDatafeedSubscription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bu] != null) { + contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); + } + if (output[_fa] != null) { + contents[_Fa] = de_SpotInstanceStateFault(output[_fa], context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pre] != null) { + contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_SpotDatafeedSubscription"); +var de_SpotFleetLaunchSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.groupSet === "") { + contents[_SG] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_SG] = de_GroupIdentifierList((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_aTdd] != null) { + contents[_ATd] = (0, import_smithy_client.expectString)(output[_aTdd]); + } + if (output.blockDeviceMapping === "") { + contents[_BDM] = []; + } else if (output[_bDM] != null && output[_bDM][_i] != null) { + contents[_BDM] = de_BlockDeviceMappingList((0, import_smithy_client.getArrayIfSingleItem)(output[_bDM][_i]), context); + } + if (output[_eO] != null) { + contents[_EO] = (0, import_smithy_client.parseBoolean)(output[_eO]); + } + if (output[_iIP] != null) { + contents[_IIP] = de_IamInstanceProfileSpecification(output[_iIP], context); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_mo] != null) { + contents[_Mon] = de_SpotFleetMonitoring(output[_mo], context); + } + if (output.networkInterfaceSet === "") { + contents[_NI] = []; + } else if (output[_nIS] != null && output[_nIS][_i] != null) { + contents[_NI] = de_InstanceNetworkInterfaceSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIS][_i]), context); + } + if (output[_pla] != null) { + contents[_Pl] = de_SpotPlacement(output[_pla], context); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_uDs] != null) { + contents[_UD] = (0, import_smithy_client.expectString)(output[_uDs]); + } + if (output[_wC] != null) { + contents[_WCe] = (0, import_smithy_client.strictParseFloat)(output[_wC]); + } + if (output.tagSpecificationSet === "") { + contents[_TS] = []; + } else if (output[_tSS] != null && output[_tSS][_i] != null) { + contents[_TS] = de_SpotFleetTagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_tSS][_i]), context); + } + if (output[_iR] != null) { + contents[_IR] = de_InstanceRequirements(output[_iR], context); + } + return contents; +}, "de_SpotFleetLaunchSpecification"); +var de_SpotFleetMonitoring = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + return contents; +}, "de_SpotFleetMonitoring"); +var de_SpotFleetRequestConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSc] != null) { + contents[_ASc] = (0, import_smithy_client.expectString)(output[_aSc]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_sFRC] != null) { + contents[_SFRC] = de_SpotFleetRequestConfigData(output[_sFRC], context); + } + if (output[_sFRI] != null) { + contents[_SFRIp] = (0, import_smithy_client.expectString)(output[_sFRI]); + } + if (output[_sFRSp] != null) { + contents[_SFRS] = (0, import_smithy_client.expectString)(output[_sFRSp]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_SpotFleetRequestConfig"); +var de_SpotFleetRequestConfigData = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSl] != null) { + contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); + } + if (output[_oDAS] != null) { + contents[_ODAS] = (0, import_smithy_client.expectString)(output[_oDAS]); + } + if (output[_sMS] != null) { + contents[_SMS] = de_SpotMaintenanceStrategies(output[_sMS], context); + } + if (output[_cT] != null) { + contents[_CTl] = (0, import_smithy_client.expectString)(output[_cT]); + } + if (output[_eCTP] != null) { + contents[_ECTP] = (0, import_smithy_client.expectString)(output[_eCTP]); + } + if (output[_fC] != null) { + contents[_FC] = (0, import_smithy_client.strictParseFloat)(output[_fC]); + } + if (output[_oDFC] != null) { + contents[_ODFC] = (0, import_smithy_client.strictParseFloat)(output[_oDFC]); + } + if (output[_iFR] != null) { + contents[_IFR] = (0, import_smithy_client.expectString)(output[_iFR]); + } + if (output.launchSpecifications === "") { + contents[_LSau] = []; + } else if (output[_lSa] != null && output[_lSa][_i] != null) { + contents[_LSau] = de_LaunchSpecsList((0, import_smithy_client.getArrayIfSingleItem)(output[_lSa][_i]), context); } - -}); - -/** - * @api private - */ -module.exports = AWS.DynamoDB.DocumentClient; - - -/***/ }), - -/***/ 91593: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); - -/** - * An object recognizable as a numeric value that stores the underlying number - * as a string. - * - * Intended to be a deserialization target for the DynamoDB Document Client when - * the `wrapNumbers` flag is set. This allows for numeric values that lose - * precision when converted to JavaScript's `number` type. - */ -var DynamoDBNumberValue = util.inherit({ - constructor: function NumberValue(value) { - this.wrapperName = 'NumberValue'; - this.value = value.toString(); - }, - - /** - * Render the underlying value as a number when converting to JSON. - */ - toJSON: function () { - return this.toNumber(); - }, - - /** - * Convert the underlying value to a JavaScript number. - */ - toNumber: function () { - return Number(this.value); - }, - - /** - * Return a string representing the unaltered value provided to the - * constructor. - */ - toString: function () { - return this.value; + if (output.launchTemplateConfigs === "") { + contents[_LTC] = []; + } else if (output[_lTC] != null && output[_lTC][_i] != null) { + contents[_LTC] = de_LaunchTemplateConfigList((0, import_smithy_client.getArrayIfSingleItem)(output[_lTC][_i]), context); } -}); - -/** - * @api private - */ -module.exports = DynamoDBNumberValue; - - -/***/ }), - -/***/ 20304: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); -var typeOf = (__nccwpck_require__(48084).typeOf); - -/** - * @api private - */ -var memberTypeToSetType = { - 'String': 'String', - 'Number': 'Number', - 'NumberValue': 'Number', - 'Binary': 'Binary' -}; - -/** - * @api private - */ -var DynamoDBSet = util.inherit({ - - constructor: function Set(list, options) { - options = options || {}; - this.wrapperName = 'Set'; - this.initialize(list, options.validate); - }, - - initialize: function(list, validate) { - var self = this; - self.values = [].concat(list); - self.detectType(); - if (validate) { - self.validate(); - } - }, - - detectType: function() { - this.type = memberTypeToSetType[typeOf(this.values[0])]; - if (!this.type) { - throw util.error(new Error(), { - code: 'InvalidSetType', - message: 'Sets can contain string, number, or binary values' - }); - } - }, - - validate: function() { - var self = this; - var length = self.values.length; - var values = self.values; - for (var i = 0; i < length; i++) { - if (memberTypeToSetType[typeOf(values[i])] !== self.type) { - throw util.error(new Error(), { - code: 'InvalidType', - message: self.type + ' Set contains ' + typeOf(values[i]) + ' value' - }); - } - } - }, - - /** - * Render the underlying values only when converting to JSON. - */ - toJSON: function() { - var self = this; - return self.values; + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); } - -}); - -/** - * @api private - */ -module.exports = DynamoDBSet; - - -/***/ }), - -/***/ 34222: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); -var convert = __nccwpck_require__(76663); - -var Translator = function(options) { - options = options || {}; - this.attrValue = options.attrValue; - this.convertEmptyValues = Boolean(options.convertEmptyValues); - this.wrapNumbers = Boolean(options.wrapNumbers); -}; - -Translator.prototype.translateInput = function(value, shape) { - this.mode = 'input'; - return this.translate(value, shape); -}; - -Translator.prototype.translateOutput = function(value, shape) { - this.mode = 'output'; - return this.translate(value, shape); -}; - -Translator.prototype.translate = function(value, shape) { - var self = this; - if (!shape || value === undefined) return undefined; - - if (shape.shape === self.attrValue) { - return convert[self.mode](value, { - convertEmptyValues: self.convertEmptyValues, - wrapNumbers: self.wrapNumbers, - }); + if (output[_tCar] != null) { + contents[_TCa] = (0, import_smithy_client.strictParseInt32)(output[_tCar]); } - switch (shape.type) { - case 'structure': return self.translateStructure(value, shape); - case 'map': return self.translateMap(value, shape); - case 'list': return self.translateList(value, shape); - default: return self.translateScalar(value, shape); + if (output[_oDTC] != null) { + contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]); } -}; - -Translator.prototype.translateStructure = function(structure, shape) { - var self = this; - if (structure == null) return undefined; - - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - var result = self.translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } + if (output[_oDMTP] != null) { + contents[_ODMTP] = (0, import_smithy_client.expectString)(output[_oDMTP]); + } + if (output[_sMTP] != null) { + contents[_SMTP] = (0, import_smithy_client.expectString)(output[_sMTP]); + } + if (output[_tIWE] != null) { + contents[_TIWE] = (0, import_smithy_client.parseBoolean)(output[_tIWE]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_vF] != null) { + contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF])); + } + if (output[_vU] != null) { + contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); + } + if (output[_rUI] != null) { + contents[_RUI] = (0, import_smithy_client.parseBoolean)(output[_rUI]); + } + if (output[_iIB] != null) { + contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]); + } + if (output[_lBC] != null) { + contents[_LBC] = de_LoadBalancersConfig(output[_lBC], context); + } + if (output[_iPTUC] != null) { + contents[_IPTUC] = (0, import_smithy_client.strictParseInt32)(output[_iPTUC]); + } + if (output[_cont] != null) { + contents[_Con] = (0, import_smithy_client.expectString)(output[_cont]); + } + if (output[_tCUT] != null) { + contents[_TCUT] = (0, import_smithy_client.expectString)(output[_tCUT]); + } + if (output.TagSpecification === "") { + contents[_TS] = []; + } else if (output[_TSagp] != null && output[_TSagp][_i] != null) { + contents[_TS] = de_TagSpecificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_TSagp][_i]), context); + } + return contents; +}, "de_SpotFleetRequestConfigData"); +var de_SpotFleetRequestConfigSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotFleetRequestConfig(entry, context); }); - return struct; -}; - -Translator.prototype.translateList = function(list, shape) { - var self = this; - if (list == null) return undefined; - - var out = []; - util.arrayEach(list, function(value) { - var result = self.translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); +}, "de_SpotFleetRequestConfigSet"); +var de_SpotFleetTagSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output.tag === "") { + contents[_Ta] = []; + } else if (output[_tag] != null && output[_tag][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tag][_i]), context); + } + return contents; +}, "de_SpotFleetTagSpecification"); +var de_SpotFleetTagSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotFleetTagSpecification(entry, context); }); - return out; -}; - -Translator.prototype.translateMap = function(map, shape) { - var self = this; - if (map == null) return undefined; - - var out = {}; - util.each(map, function(key, value) { - var result = self.translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; +}, "de_SpotFleetTagSpecificationList"); +var de_SpotInstanceRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aBHP] != null) { + contents[_ABHP] = (0, import_smithy_client.expectString)(output[_aBHP]); + } + if (output[_aZG] != null) { + contents[_AZG] = (0, import_smithy_client.expectString)(output[_aZG]); + } + if (output[_bDMl] != null) { + contents[_BDMl] = (0, import_smithy_client.strictParseInt32)(output[_bDMl]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + if (output[_fa] != null) { + contents[_Fa] = de_SpotInstanceStateFault(output[_fa], context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_lG] != null) { + contents[_LG] = (0, import_smithy_client.expectString)(output[_lG]); + } + if (output[_lSau] != null) { + contents[_LSa] = de_LaunchSpecification(output[_lSau], context); + } + if (output[_lAZ] != null) { + contents[_LAZ] = (0, import_smithy_client.expectString)(output[_lAZ]); + } + if (output[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); + } + if (output[_sIRI] != null) { + contents[_SIRIp] = (0, import_smithy_client.expectString)(output[_sIRI]); + } + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sta] != null) { + contents[_Statu] = de_SpotInstanceStatus(output[_sta], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_vF] != null) { + contents[_VF] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vF])); + } + if (output[_vU] != null) { + contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_vU])); + } + if (output[_iIB] != null) { + contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]); + } + return contents; +}, "de_SpotInstanceRequest"); +var de_SpotInstanceRequestList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotInstanceRequest(entry, context); }); - return out; -}; - -Translator.prototype.translateScalar = function(value, shape) { - return shape.toType(value); -}; - -/** - * @api private - */ -module.exports = Translator; - - -/***/ }), - -/***/ 48084: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); - -function typeOf(data) { - if (data === null && typeof data === 'object') { - return 'null'; - } else if (data !== undefined && isBinary(data)) { - return 'Binary'; - } else if (data !== undefined && data.constructor) { - return data.wrapperName || util.typeName(data.constructor); - } else if (data !== undefined && typeof data === 'object') { - // this object is the result of Object.create(null), hence the absence of a - // defined constructor - return 'Object'; - } else { - return 'undefined'; +}, "de_SpotInstanceRequestList"); +var de_SpotInstanceStateFault = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_SpotInstanceStateFault"); +var de_SpotInstanceStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + if (output[_uT] != null) { + contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); + } + return contents; +}, "de_SpotInstanceStatus"); +var de_SpotMaintenanceStrategies = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRa] != null) { + contents[_CRap] = de_SpotCapacityRebalance(output[_cRa], context); + } + return contents; +}, "de_SpotMaintenanceStrategies"); +var de_SpotOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSl] != null) { + contents[_AS] = (0, import_smithy_client.expectString)(output[_aSl]); + } + if (output[_mSai] != null) { + contents[_MS] = de_FleetSpotMaintenanceStrategies(output[_mSai], context); + } + if (output[_iIB] != null) { + contents[_IIB] = (0, import_smithy_client.expectString)(output[_iIB]); + } + if (output[_iPTUC] != null) { + contents[_IPTUC] = (0, import_smithy_client.strictParseInt32)(output[_iPTUC]); + } + if (output[_sITi] != null) { + contents[_SITi] = (0, import_smithy_client.parseBoolean)(output[_sITi]); + } + if (output[_sAZ] != null) { + contents[_SAZ] = (0, import_smithy_client.parseBoolean)(output[_sAZ]); + } + if (output[_mTC] != null) { + contents[_MTC] = (0, import_smithy_client.strictParseInt32)(output[_mTC]); + } + if (output[_mTP] != null) { + contents[_MTP] = (0, import_smithy_client.expectString)(output[_mTP]); + } + return contents; +}, "de_SpotOptions"); +var de_SpotPlacement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + return contents; +}, "de_SpotPlacement"); +var de_SpotPlacementScore = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_reg] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_sco] != null) { + contents[_Sco] = (0, import_smithy_client.strictParseInt32)(output[_sco]); + } + return contents; +}, "de_SpotPlacementScore"); +var de_SpotPlacementScores = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotPlacementScore(entry, context); + }); +}, "de_SpotPlacementScores"); +var de_SpotPrice = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); } -} - -function isBinary(data) { - var types = [ - 'Buffer', 'File', 'Blob', 'ArrayBuffer', 'DataView', - 'Int8Array', 'Uint8Array', 'Uint8ClampedArray', - 'Int16Array', 'Uint16Array', 'Int32Array', 'Uint32Array', - 'Float32Array', 'Float64Array' - ]; - if (util.isNode()) { - var Stream = util.stream.Stream; - if (util.Buffer.isBuffer(data) || data instanceof Stream) { - return true; - } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); } - - for (var i = 0; i < types.length; i++) { - if (data !== undefined && data.constructor) { - if (util.isType(data, types[i])) return true; - if (util.typeName(data.constructor) === types[i]) return true; - } + if (output[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); } - - return false; -} - -/** - * @api private - */ -module.exports = { - typeOf: typeOf, - isBinary: isBinary -}; - - -/***/ }), - -/***/ 63727: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var eventMessageChunker = (__nccwpck_require__(73630).eventMessageChunker); -var parseEvent = (__nccwpck_require__(52123).parseEvent); - -function createEventStream(body, parser, model) { - var eventMessages = eventMessageChunker(body); - - var events = []; - - for (var i = 0; i < eventMessages.length; i++) { - events.push(parseEvent(parser, eventMessages[i], model)); - } - - return events; -} - -/** - * @api private - */ -module.exports = { - createEventStream: createEventStream -}; - - -/***/ }), - -/***/ 18518: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); -var Transform = (__nccwpck_require__(12781).Transform); -var allocBuffer = util.buffer.alloc; - -/** @type {Transform} */ -function EventMessageChunkerStream(options) { - Transform.call(this, options); - - this.currentMessageTotalLength = 0; - this.currentMessagePendingLength = 0; - /** @type {Buffer} */ - this.currentMessage = null; - - /** @type {Buffer} */ - this.messageLengthBuffer = null; -} - -EventMessageChunkerStream.prototype = Object.create(Transform.prototype); - -/** - * - * @param {Buffer} chunk - * @param {string} encoding - * @param {*} callback - */ -EventMessageChunkerStream.prototype._transform = function(chunk, encoding, callback) { - var chunkLength = chunk.length; - var currentOffset = 0; - - while (currentOffset < chunkLength) { - // create new message if necessary - if (!this.currentMessage) { - // working on a new message, determine total length - var bytesRemaining = chunkLength - currentOffset; - // prevent edge case where total length spans 2 chunks - if (!this.messageLengthBuffer) { - this.messageLengthBuffer = allocBuffer(4); - } - var numBytesForTotal = Math.min( - 4 - this.currentMessagePendingLength, // remaining bytes to fill the messageLengthBuffer - bytesRemaining // bytes left in chunk - ); - - chunk.copy( - this.messageLengthBuffer, - this.currentMessagePendingLength, - currentOffset, - currentOffset + numBytesForTotal - ); - - this.currentMessagePendingLength += numBytesForTotal; - currentOffset += numBytesForTotal; - - if (this.currentMessagePendingLength < 4) { - // not enough information to create the current message - break; - } - this.allocateMessage(this.messageLengthBuffer.readUInt32BE(0)); - this.messageLengthBuffer = null; - } - - // write data into current message - var numBytesToWrite = Math.min( - this.currentMessageTotalLength - this.currentMessagePendingLength, // number of bytes left to complete message - chunkLength - currentOffset // number of bytes left in the original chunk - ); - chunk.copy( - this.currentMessage, // target buffer - this.currentMessagePendingLength, // target offset - currentOffset, // chunk offset - currentOffset + numBytesToWrite // chunk end to write - ); - this.currentMessagePendingLength += numBytesToWrite; - currentOffset += numBytesToWrite; - - // check if a message is ready to be pushed - if (this.currentMessageTotalLength && this.currentMessageTotalLength === this.currentMessagePendingLength) { - // push out the message - this.push(this.currentMessage); - // cleanup - this.currentMessage = null; - this.currentMessageTotalLength = 0; - this.currentMessagePendingLength = 0; - } - } - - callback(); -}; - -EventMessageChunkerStream.prototype._flush = function(callback) { - if (this.currentMessageTotalLength) { - if (this.currentMessageTotalLength === this.currentMessagePendingLength) { - callback(null, this.currentMessage); - } else { - callback(new Error('Truncated event message received.')); - } - } else { - callback(); - } -}; - -/** - * @param {number} size Size of the message to be allocated. - * @api private - */ -EventMessageChunkerStream.prototype.allocateMessage = function(size) { - if (typeof size !== 'number') { - throw new Error('Attempted to allocate an event message where size was not a number: ' + size); - } - this.currentMessageTotalLength = size; - this.currentMessagePendingLength = 4; - this.currentMessage = allocBuffer(size); - this.currentMessage.writeUInt32BE(size, 0); -}; - -/** - * @api private - */ -module.exports = { - EventMessageChunkerStream: EventMessageChunkerStream -}; - - -/***/ }), - -/***/ 73630: -/***/ ((module) => { - -/** - * Takes in a buffer of event messages and splits them into individual messages. - * @param {Buffer} buffer - * @api private - */ -function eventMessageChunker(buffer) { - /** @type Buffer[] */ - var messages = []; - var offset = 0; - - while (offset < buffer.length) { - var totalLength = buffer.readInt32BE(offset); - - // create new buffer for individual message (shares memory with original) - var message = buffer.slice(offset, totalLength + offset); - // increment offset to it starts at the next message - offset += totalLength; - - messages.push(message); - } - - return messages; -} - -/** - * @api private - */ -module.exports = { - eventMessageChunker: eventMessageChunker -}; - - -/***/ }), - -/***/ 93773: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var Transform = (__nccwpck_require__(12781).Transform); -var parseEvent = (__nccwpck_require__(52123).parseEvent); - -/** @type {Transform} */ -function EventUnmarshallerStream(options) { - options = options || {}; - // set output to object mode - options.readableObjectMode = true; - Transform.call(this, options); - this._readableState.objectMode = true; - - this.parser = options.parser; - this.eventStreamModel = options.eventStreamModel; -} - -EventUnmarshallerStream.prototype = Object.create(Transform.prototype); - -/** - * - * @param {Buffer} chunk - * @param {string} encoding - * @param {*} callback - */ -EventUnmarshallerStream.prototype._transform = function(chunk, encoding, callback) { - try { - var event = parseEvent(this.parser, chunk, this.eventStreamModel); - this.push(event); - return callback(); - } catch (err) { - callback(err); - } -}; - -/** - * @api private - */ -module.exports = { - EventUnmarshallerStream: EventUnmarshallerStream -}; - - -/***/ }), - -/***/ 48583: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); -var toBuffer = util.buffer.toBuffer; - -/** - * A lossless representation of a signed, 64-bit integer. Instances of this - * class may be used in arithmetic expressions as if they were numeric - * primitives, but the binary representation will be preserved unchanged as the - * `bytes` property of the object. The bytes should be encoded as big-endian, - * two's complement integers. - * @param {Buffer} bytes - * - * @api private - */ -function Int64(bytes) { - if (bytes.length !== 8) { - throw new Error('Int64 buffers must be exactly 8 bytes'); - } - if (!util.Buffer.isBuffer(bytes)) bytes = toBuffer(bytes); - - this.bytes = bytes; -} - -/** - * @param {number} number - * @returns {Int64} - * - * @api private - */ -Int64.fromNumber = function(number) { - if (number > 9223372036854775807 || number < -9223372036854775808) { - throw new Error( - number + ' is too large (or, if negative, too small) to represent as an Int64' - ); - } - - var bytes = new Uint8Array(8); - for ( - var i = 7, remaining = Math.abs(Math.round(number)); - i > -1 && remaining > 0; - i--, remaining /= 256 - ) { - bytes[i] = remaining; - } - - if (number < 0) { - negate(bytes); - } - - return new Int64(bytes); -}; - -/** - * @returns {number} - * - * @api private - */ -Int64.prototype.valueOf = function() { - var bytes = this.bytes.slice(0); - var negative = bytes[0] & 128; - if (negative) { - negate(bytes); - } - - return parseInt(bytes.toString('hex'), 16) * (negative ? -1 : 1); -}; - -Int64.prototype.toString = function() { - return String(this.valueOf()); -}; - -/** - * @param {Buffer} bytes - * - * @api private - */ -function negate(bytes) { - for (var i = 0; i < 8; i++) { - bytes[i] ^= 0xFF; - } - for (var i = 7; i > -1; i--) { - bytes[i]++; - if (bytes[i] !== 0) { - break; - } - } -} - -/** - * @api private - */ -module.exports = { - Int64: Int64 -}; - - -/***/ }), - -/***/ 52123: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var parseMessage = (__nccwpck_require__(30866).parseMessage); - -/** - * - * @param {*} parser - * @param {Buffer} message - * @param {*} shape - * @api private - */ -function parseEvent(parser, message, shape) { - var parsedMessage = parseMessage(message); - - // check if message is an event or error - var messageType = parsedMessage.headers[':message-type']; - if (messageType) { - if (messageType.value === 'error') { - throw parseError(parsedMessage); - } else if (messageType.value !== 'event') { - // not sure how to parse non-events/non-errors, ignore for now - return; - } - } - - // determine event type - var eventType = parsedMessage.headers[':event-type']; - // check that the event type is modeled - var eventModel = shape.members[eventType.value]; - if (!eventModel) { - return; - } - - var result = {}; - // check if an event payload exists - var eventPayloadMemberName = eventModel.eventPayloadMemberName; - if (eventPayloadMemberName) { - var payloadShape = eventModel.members[eventPayloadMemberName]; - // if the shape is binary, return the byte array - if (payloadShape.type === 'binary') { - result[eventPayloadMemberName] = parsedMessage.body; - } else { - result[eventPayloadMemberName] = parser.parse(parsedMessage.body.toString(), payloadShape); - } - } - - // read event headers - var eventHeaderNames = eventModel.eventHeaderMemberNames; - for (var i = 0; i < eventHeaderNames.length; i++) { - var name = eventHeaderNames[i]; - if (parsedMessage.headers[name]) { - // parse the header! - result[name] = eventModel.members[name].toType(parsedMessage.headers[name].value); - } - } - - var output = {}; - output[eventType.value] = result; - return output; -} - -function parseError(message) { - var errorCode = message.headers[':error-code']; - var errorMessage = message.headers[':error-message']; - var error = new Error(errorMessage.value || errorMessage); - error.code = error.name = errorCode.value || errorCode; - return error; -} - -/** - * @api private - */ -module.exports = { - parseEvent: parseEvent -}; - - -/***/ }), - -/***/ 30866: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var Int64 = (__nccwpck_require__(48583).Int64); - -var splitMessage = (__nccwpck_require__(71765).splitMessage); - -var BOOLEAN_TAG = 'boolean'; -var BYTE_TAG = 'byte'; -var SHORT_TAG = 'short'; -var INT_TAG = 'integer'; -var LONG_TAG = 'long'; -var BINARY_TAG = 'binary'; -var STRING_TAG = 'string'; -var TIMESTAMP_TAG = 'timestamp'; -var UUID_TAG = 'uuid'; - -/** - * @api private - * - * @param {Buffer} headers - */ -function parseHeaders(headers) { - var out = {}; - var position = 0; - while (position < headers.length) { - var nameLength = headers.readUInt8(position++); - var name = headers.slice(position, position + nameLength).toString(); - position += nameLength; - switch (headers.readUInt8(position++)) { - case 0 /* boolTrue */: - out[name] = { - type: BOOLEAN_TAG, - value: true - }; - break; - case 1 /* boolFalse */: - out[name] = { - type: BOOLEAN_TAG, - value: false - }; - break; - case 2 /* byte */: - out[name] = { - type: BYTE_TAG, - value: headers.readInt8(position++) - }; - break; - case 3 /* short */: - out[name] = { - type: SHORT_TAG, - value: headers.readInt16BE(position) - }; - position += 2; - break; - case 4 /* integer */: - out[name] = { - type: INT_TAG, - value: headers.readInt32BE(position) - }; - position += 4; - break; - case 5 /* long */: - out[name] = { - type: LONG_TAG, - value: new Int64(headers.slice(position, position + 8)) - }; - position += 8; - break; - case 6 /* byteArray */: - var binaryLength = headers.readUInt16BE(position); - position += 2; - out[name] = { - type: BINARY_TAG, - value: headers.slice(position, position + binaryLength) - }; - position += binaryLength; - break; - case 7 /* string */: - var stringLength = headers.readUInt16BE(position); - position += 2; - out[name] = { - type: STRING_TAG, - value: headers.slice( - position, - position + stringLength - ).toString() - }; - position += stringLength; - break; - case 8 /* timestamp */: - out[name] = { - type: TIMESTAMP_TAG, - value: new Date( - new Int64(headers.slice(position, position + 8)) - .valueOf() - ) - }; - position += 8; - break; - case 9 /* uuid */: - var uuidChars = headers.slice(position, position + 16) - .toString('hex'); - position += 16; - out[name] = { - type: UUID_TAG, - value: uuidChars.substr(0, 8) + '-' + - uuidChars.substr(8, 4) + '-' + - uuidChars.substr(12, 4) + '-' + - uuidChars.substr(16, 4) + '-' + - uuidChars.substr(20) - }; - break; - default: - throw new Error('Unrecognized header type tag'); - } - } - return out; -} - -function parseMessage(message) { - var parsed = splitMessage(message); - return { headers: parseHeaders(parsed.headers), body: parsed.body }; -} - -/** - * @api private - */ -module.exports = { - parseMessage: parseMessage -}; - - -/***/ }), - -/***/ 71765: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = (__nccwpck_require__(28437).util); -var toBuffer = util.buffer.toBuffer; - -// All prelude components are unsigned, 32-bit integers -var PRELUDE_MEMBER_LENGTH = 4; -// The prelude consists of two components -var PRELUDE_LENGTH = PRELUDE_MEMBER_LENGTH * 2; -// Checksums are always CRC32 hashes. -var CHECKSUM_LENGTH = 4; -// Messages must include a full prelude, a prelude checksum, and a message checksum -var MINIMUM_MESSAGE_LENGTH = PRELUDE_LENGTH + CHECKSUM_LENGTH * 2; - -/** - * @api private - * - * @param {Buffer} message - */ -function splitMessage(message) { - if (!util.Buffer.isBuffer(message)) message = toBuffer(message); - - if (message.length < MINIMUM_MESSAGE_LENGTH) { - throw new Error('Provided message too short to accommodate event stream message overhead'); - } - - if (message.length !== message.readUInt32BE(0)) { - throw new Error('Reported message length does not match received message length'); - } - - var expectedPreludeChecksum = message.readUInt32BE(PRELUDE_LENGTH); - - if ( - expectedPreludeChecksum !== util.crypto.crc32( - message.slice(0, PRELUDE_LENGTH) - ) - ) { - throw new Error( - 'The prelude checksum specified in the message (' + - expectedPreludeChecksum + - ') does not match the calculated CRC32 checksum.' - ); - } - - var expectedMessageChecksum = message.readUInt32BE(message.length - CHECKSUM_LENGTH); - - if ( - expectedMessageChecksum !== util.crypto.crc32( - message.slice(0, message.length - CHECKSUM_LENGTH) - ) - ) { - throw new Error( - 'The message checksum did not match the expected value of ' + - expectedMessageChecksum - ); - } - - var headersStart = PRELUDE_LENGTH + CHECKSUM_LENGTH; - var headersEnd = headersStart + message.readUInt32BE(PRELUDE_MEMBER_LENGTH); - - return { - headers: message.slice(headersStart, headersEnd), - body: message.slice(headersEnd, message.length - CHECKSUM_LENGTH), - }; -} - -/** - * @api private - */ -module.exports = { - splitMessage: splitMessage -}; - - -/***/ }), - -/***/ 69643: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -/** - * What is necessary to create an event stream in node? - * - http response stream - * - parser - * - event stream model - */ - -var EventMessageChunkerStream = (__nccwpck_require__(18518).EventMessageChunkerStream); -var EventUnmarshallerStream = (__nccwpck_require__(93773).EventUnmarshallerStream); - -function createEventStream(stream, parser, model) { - var eventStream = new EventUnmarshallerStream({ - parser: parser, - eventStreamModel: model - }); - - var eventMessageChunker = new EventMessageChunkerStream(); - - stream.pipe( - eventMessageChunker - ).pipe(eventStream); - - stream.on('error', function(err) { - eventMessageChunker.emit('error', err); - }); - - eventMessageChunker.on('error', function(err) { - eventStream.emit('error', err); - }); - - return eventStream; -} - -/** - * @api private - */ -module.exports = { - createEventStream: createEventStream -}; - - -/***/ }), - -/***/ 54995: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var SequentialExecutor = __nccwpck_require__(55948); -var DISCOVER_ENDPOINT = (__nccwpck_require__(45313).discoverEndpoint); -/** - * The namespace used to register global event listeners for request building - * and sending. - */ -AWS.EventListeners = { - /** - * @!attribute VALIDATE_CREDENTIALS - * A request listener that validates whether the request is being - * sent with credentials. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating credentials - * var listener = AWS.EventListeners.Core.VALIDATE_CREDENTIALS; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_REGION - * A request listener that validates whether the region is set - * for a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating region configuration - * var listener = AWS.EventListeners.Core.VALIDATE_REGION; - * request.removeListener('validate', listener); - * @readonly - * @return [Function] - * @!attribute VALIDATE_PARAMETERS - * A request listener that validates input parameters in a request. - * Handles the {AWS.Request~validate 'validate' Request event} - * @example Sending a request without validating parameters - * var listener = AWS.EventListeners.Core.VALIDATE_PARAMETERS; - * request.removeListener('validate', listener); - * @example Disable parameter validation globally - * AWS.EventListeners.Core.removeListener('validate', - * AWS.EventListeners.Core.VALIDATE_REGION); - * @readonly - * @return [Function] - * @!attribute SEND - * A request listener that initiates the HTTP connection for a - * request being sent. Handles the {AWS.Request~send 'send' Request event} - * @example Replacing the HTTP handler - * var listener = AWS.EventListeners.Core.SEND; - * request.removeListener('send', listener); - * request.on('send', function(response) { - * customHandler.send(response); - * }); - * @return [Function] - * @readonly - * @!attribute HTTP_DATA - * A request listener that reads data from the HTTP connection in order - * to build the response data. - * Handles the {AWS.Request~httpData 'httpData' Request event}. - * Remove this handler if you are overriding the 'httpData' event and - * do not want extra data processing and buffering overhead. - * @example Disabling default data processing - * var listener = AWS.EventListeners.Core.HTTP_DATA; - * request.removeListener('httpData', listener); - * @return [Function] - * @readonly - */ - Core: {} /* doc hack */ -}; - -/** - * @api private - */ -function getOperationAuthtype(req) { - if (!req.service.api.operations) { - return ''; + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); + } + if (output[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + return contents; +}, "de_SpotPrice"); +var de_SpotPriceHistoryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SpotPrice(entry, context); + }); +}, "de_SpotPriceHistoryList"); +var de_StaleIpPermission = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fP] != null) { + contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); + } + if (output[_iPpr] != null) { + contents[_IPpr] = (0, import_smithy_client.expectString)(output[_iPpr]); + } + if (output.ipRanges === "") { + contents[_IRp] = []; + } else if (output[_iRpa] != null && output[_iRpa][_i] != null) { + contents[_IRp] = de_IpRanges((0, import_smithy_client.getArrayIfSingleItem)(output[_iRpa][_i]), context); + } + if (output.prefixListIds === "") { + contents[_PLIr] = []; + } else if (output[_pLIr] != null && output[_pLIr][_i] != null) { + contents[_PLIr] = de_PrefixListIdSet((0, import_smithy_client.getArrayIfSingleItem)(output[_pLIr][_i]), context); + } + if (output[_tPo] != null) { + contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); + } + if (output.groups === "") { + contents[_UIGP] = []; + } else if (output[_gr] != null && output[_gr][_i] != null) { + contents[_UIGP] = de_UserIdGroupPairSet((0, import_smithy_client.getArrayIfSingleItem)(output[_gr][_i]), context); + } + return contents; +}, "de_StaleIpPermission"); +var de_StaleIpPermissionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_StaleIpPermission(entry, context); + }); +}, "de_StaleIpPermissionSet"); +var de_StaleSecurityGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output.staleIpPermissions === "") { + contents[_SIP] = []; + } else if (output[_sIP] != null && output[_sIP][_i] != null) { + contents[_SIP] = de_StaleIpPermissionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIP][_i]), context); + } + if (output.staleIpPermissionsEgress === "") { + contents[_SIPE] = []; + } else if (output[_sIPE] != null && output[_sIPE][_i] != null) { + contents[_SIPE] = de_StaleIpPermissionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sIPE][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_StaleSecurityGroup"); +var de_StaleSecurityGroupSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_StaleSecurityGroup(entry, context); + }); +}, "de_StaleSecurityGroupSet"); +var de_StartInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_SIta] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_SIta] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + return contents; +}, "de_StartInstancesResult"); +var de_StartNetworkInsightsAccessScopeAnalysisResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIASAe] != null) { + contents[_NIASAet] = de_NetworkInsightsAccessScopeAnalysis(output[_nIASAe], context); + } + return contents; +}, "de_StartNetworkInsightsAccessScopeAnalysisResult"); +var de_StartNetworkInsightsAnalysisResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nIA] != null) { + contents[_NIAe] = de_NetworkInsightsAnalysis(output[_nIA], context); + } + return contents; +}, "de_StartNetworkInsightsAnalysisResult"); +var de_StartVpcEndpointServicePrivateDnsVerificationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_StartVpcEndpointServicePrivateDnsVerificationResult"); +var de_StateReason = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_StateReason"); +var de_StopInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_SIto] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_SIto] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + return contents; +}, "de_StopInstancesResult"); +var de_Storage = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_S_] != null) { + contents[_S_] = de_S3Storage(output[_S_], context); + } + return contents; +}, "de_Storage"); +var de_StoreImageTaskResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIm] != null) { + contents[_AIm] = (0, import_smithy_client.expectString)(output[_aIm]); + } + if (output[_tSTa] != null) { + contents[_TSTa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_tSTa])); + } + if (output[_bu] != null) { + contents[_B] = (0, import_smithy_client.expectString)(output[_bu]); + } + if (output[_sKo] != null) { + contents[_SKo] = (0, import_smithy_client.expectString)(output[_sKo]); + } + if (output[_pP] != null) { + contents[_PP] = (0, import_smithy_client.strictParseInt32)(output[_pP]); + } + if (output[_sTS] != null) { + contents[_STSt] = (0, import_smithy_client.expectString)(output[_sTS]); + } + if (output[_sTFR] != null) { + contents[_STFR] = (0, import_smithy_client.expectString)(output[_sTFR]); + } + return contents; +}, "de_StoreImageTaskResult"); +var de_StoreImageTaskResultSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_StoreImageTaskResult(entry, context); + }); +}, "de_StoreImageTaskResultSet"); +var de_StringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_StringList"); +var de_Subnet = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_aIAC] != null) { + contents[_AIAC] = (0, import_smithy_client.strictParseInt32)(output[_aIAC]); + } + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_dFA] != null) { + contents[_DFA] = (0, import_smithy_client.parseBoolean)(output[_dFA]); + } + if (output[_eLADI] != null) { + contents[_ELADI] = (0, import_smithy_client.strictParseInt32)(output[_eLADI]); + } + if (output[_mPIOL] != null) { + contents[_MPIOL] = (0, import_smithy_client.parseBoolean)(output[_mPIOL]); + } + if (output[_mCOIOL] != null) { + contents[_MCOIOL] = (0, import_smithy_client.parseBoolean)(output[_mCOIOL]); + } + if (output[_cOIP] != null) { + contents[_COIP] = (0, import_smithy_client.expectString)(output[_cOIP]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_aIAOC] != null) { + contents[_AIAOC] = (0, import_smithy_client.parseBoolean)(output[_aIAOC]); + } + if (output.ipv6CidrBlockAssociationSet === "") { + contents[_ICBAS] = []; + } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) { + contents[_ICBAS] = de_SubnetIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_sAub] != null) { + contents[_SAub] = (0, import_smithy_client.expectString)(output[_sAub]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_eDn] != null) { + contents[_EDn] = (0, import_smithy_client.parseBoolean)(output[_eDn]); + } + if (output[_iN] != null) { + contents[_IN] = (0, import_smithy_client.parseBoolean)(output[_iN]); + } + if (output[_pDNOOL] != null) { + contents[_PDNOOL] = de_PrivateDnsNameOptionsOnLaunch(output[_pDNOOL], context); + } + return contents; +}, "de_Subnet"); +var de_SubnetAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_SubnetAssociation"); +var de_SubnetAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SubnetAssociation(entry, context); + }); +}, "de_SubnetAssociationList"); +var de_SubnetCidrBlockState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + return contents; +}, "de_SubnetCidrBlockState"); +var de_SubnetCidrReservation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCRI] != null) { + contents[_SCRI] = (0, import_smithy_client.expectString)(output[_sCRI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output[_rT] != null) { + contents[_RTe] = (0, import_smithy_client.expectString)(output[_rT]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_SubnetCidrReservation"); +var de_SubnetCidrReservationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SubnetCidrReservation(entry, context); + }); +}, "de_SubnetCidrReservationList"); +var de_SubnetIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_iCB] != null) { + contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); + } + if (output[_iCBS] != null) { + contents[_ICBS] = de_SubnetCidrBlockState(output[_iCBS], context); + } + return contents; +}, "de_SubnetIpv6CidrBlockAssociation"); +var de_SubnetIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SubnetIpv6CidrBlockAssociation(entry, context); + }); +}, "de_SubnetIpv6CidrBlockAssociationSet"); +var de_SubnetList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Subnet(entry, context); + }); +}, "de_SubnetList"); +var de_Subscription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_s] != null) { + contents[_S] = (0, import_smithy_client.expectString)(output[_s]); } - var operation = req.service.api.operations[req.operation]; - return operation ? operation.authtype : ''; -} - -/** - * @api private - */ -function getIdentityType(req) { - var service = req.service; - - if (service.config.signatureVersion) { - return service.config.signatureVersion; + if (output[_d] != null) { + contents[_D] = (0, import_smithy_client.expectString)(output[_d]); } - - if (service.api.signatureVersion) { - return service.api.signatureVersion; + if (output[_met] != null) { + contents[_Met] = (0, import_smithy_client.expectString)(output[_met]); } - - return getOperationAuthtype(req); -} - -AWS.EventListeners = { - Core: new SequentialExecutor().addNamedListeners(function(add, addAsync) { - addAsync( - 'VALIDATE_CREDENTIALS', 'validate', - function VALIDATE_CREDENTIALS(req, done) { - if (!req.service.api.signatureVersion && !req.service.config.signatureVersion) return done(); // none - - var identityType = getIdentityType(req); - if (identityType === 'bearer') { - req.service.config.getToken(function(err) { - if (err) { - req.response.error = AWS.util.error(err, {code: 'TokenError'}); - } - done(); - }); - return; - } - - req.service.config.getCredentials(function(err) { - if (err) { - req.response.error = AWS.util.error(err, - { - code: 'CredentialsError', - message: 'Missing credentials in config, if using AWS_CONFIG_FILE, set AWS_SDK_LOAD_CONFIG=1' - } - ); - } - done(); - }); - }); - - add('VALIDATE_REGION', 'validate', function VALIDATE_REGION(req) { - if (!req.service.isGlobalEndpoint) { - var dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/); - if (!req.service.config.region) { - req.response.error = AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Missing region in config'}); - } else if (!dnsHostRegex.test(req.service.config.region)) { - req.response.error = AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Invalid region in config'}); - } - } - }); - - add('BUILD_IDEMPOTENCY_TOKENS', 'validate', function BUILD_IDEMPOTENCY_TOKENS(req) { - if (!req.service.api.operations) { - return; - } - var operation = req.service.api.operations[req.operation]; - if (!operation) { - return; - } - var idempotentMembers = operation.idempotentMembers; - if (!idempotentMembers.length) { - return; - } - // creates a copy of params so user's param object isn't mutated - var params = AWS.util.copy(req.params); - for (var i = 0, iLen = idempotentMembers.length; i < iLen; i++) { - if (!params[idempotentMembers[i]]) { - // add the member - params[idempotentMembers[i]] = AWS.util.uuid.v4(); - } - } - req.params = params; - }); - - add('VALIDATE_PARAMETERS', 'validate', function VALIDATE_PARAMETERS(req) { - if (!req.service.api.operations) { - return; - } - var rules = req.service.api.operations[req.operation].input; - var validation = req.service.config.paramValidation; - new AWS.ParamValidator(validation).validate(rules, req.params); - }); - - add('COMPUTE_CHECKSUM', 'afterBuild', function COMPUTE_CHECKSUM(req) { - if (!req.service.api.operations) { - return; - } - var operation = req.service.api.operations[req.operation]; - if (!operation) { - return; - } - var body = req.httpRequest.body; - var isNonStreamingPayload = body && (AWS.util.Buffer.isBuffer(body) || typeof body === 'string'); - var headers = req.httpRequest.headers; - if ( - operation.httpChecksumRequired && - req.service.config.computeChecksums && - isNonStreamingPayload && - !headers['Content-MD5'] - ) { - var md5 = AWS.util.crypto.md5(body, 'base64'); - headers['Content-MD5'] = md5; - } - }); - - addAsync('COMPUTE_SHA256', 'afterBuild', function COMPUTE_SHA256(req, done) { - req.haltHandlersOnError(); - if (!req.service.api.operations) { - return; - } - var operation = req.service.api.operations[req.operation]; - var authtype = operation ? operation.authtype : ''; - if (!req.service.api.signatureVersion && !authtype && !req.service.config.signatureVersion) return done(); // none - if (req.service.getSignerClass(req) === AWS.Signers.V4) { - var body = req.httpRequest.body || ''; - if (authtype.indexOf('unsigned-body') >= 0) { - req.httpRequest.headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; - return done(); - } - AWS.util.computeSha256(body, function(err, sha) { - if (err) { - done(err); - } - else { - req.httpRequest.headers['X-Amz-Content-Sha256'] = sha; - done(); - } - }); - } else { - done(); - } - }); - - add('SET_CONTENT_LENGTH', 'afterBuild', function SET_CONTENT_LENGTH(req) { - var authtype = getOperationAuthtype(req); - var payloadMember = AWS.util.getRequestPayloadShape(req); - if (req.httpRequest.headers['Content-Length'] === undefined) { - try { - var length = AWS.util.string.byteLength(req.httpRequest.body); - req.httpRequest.headers['Content-Length'] = length; - } catch (err) { - if (payloadMember && payloadMember.isStreaming) { - if (payloadMember.requiresLength) { - //streaming payload requires length(s3, glacier) - throw err; - } else if (authtype.indexOf('unsigned-body') >= 0) { - //unbounded streaming payload(lex, mediastore) - req.httpRequest.headers['Transfer-Encoding'] = 'chunked'; - return; - } else { - throw err; - } - } - throw err; - } - } - }); - - add('SET_HTTP_HOST', 'afterBuild', function SET_HTTP_HOST(req) { - req.httpRequest.headers['Host'] = req.httpRequest.endpoint.host; - }); - - add('SET_TRACE_ID', 'afterBuild', function SET_TRACE_ID(req) { - var traceIdHeaderName = 'X-Amzn-Trace-Id'; - if (AWS.util.isNode() && !Object.hasOwnProperty.call(req.httpRequest.headers, traceIdHeaderName)) { - var ENV_LAMBDA_FUNCTION_NAME = 'AWS_LAMBDA_FUNCTION_NAME'; - var ENV_TRACE_ID = '_X_AMZN_TRACE_ID'; - var functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; - var traceId = process.env[ENV_TRACE_ID]; - if ( - typeof functionName === 'string' && - functionName.length > 0 && - typeof traceId === 'string' && - traceId.length > 0 - ) { - req.httpRequest.headers[traceIdHeaderName] = traceId; - } - } - }); - - add('RESTART', 'restart', function RESTART() { - var err = this.response.error; - if (!err || !err.retryable) return; - - this.httpRequest = new AWS.HttpRequest( - this.service.endpoint, - this.service.region - ); - - if (this.response.retryCount < this.service.config.maxRetries) { - this.response.retryCount++; - } else { - this.response.error = null; - } - }); - - var addToHead = true; - addAsync('DISCOVER_ENDPOINT', 'sign', DISCOVER_ENDPOINT, addToHead); - - addAsync('SIGN', 'sign', function SIGN(req, done) { - var service = req.service; - var identityType = getIdentityType(req); - if (!identityType || identityType.length === 0) return done(); // none - - if (identityType === 'bearer') { - service.config.getToken(function (err, token) { - if (err) { - req.response.error = err; - return done(); - } - - try { - var SignerClass = service.getSignerClass(req); - var signer = new SignerClass(req.httpRequest); - signer.addAuthorization(token); - } catch (e) { - req.response.error = e; - } - done(); - }); - } else { - service.config.getCredentials(function (err, credentials) { - if (err) { - req.response.error = err; - return done(); - } - - try { - var date = service.getSkewCorrectedDate(); - var SignerClass = service.getSignerClass(req); - var operations = req.service.api.operations || {}; - var operation = operations[req.operation]; - var signer = new SignerClass(req.httpRequest, - service.getSigningName(req), - { - signatureCache: service.config.signatureCache, - operation: operation, - signatureVersion: service.api.signatureVersion - }); - signer.setServiceClientId(service._clientId); - - // clear old authorization headers - delete req.httpRequest.headers['Authorization']; - delete req.httpRequest.headers['Date']; - delete req.httpRequest.headers['X-Amz-Date']; - - // add new authorization - signer.addAuthorization(credentials, date); - req.signedAt = date; - } catch (e) { - req.response.error = e; - } - done(); - }); - - } - }); - - add('VALIDATE_RESPONSE', 'validateResponse', function VALIDATE_RESPONSE(resp) { - if (this.service.successfulResponse(resp, this)) { - resp.data = {}; - resp.error = null; - } else { - resp.data = null; - resp.error = AWS.util.error(new Error(), - {code: 'UnknownError', message: 'An unknown error occurred.'}); - } - }); - - add('ERROR', 'error', function ERROR(err, resp) { - var awsQueryCompatible = resp.request.service.api.awsQueryCompatible; - if (awsQueryCompatible) { - var headers = resp.httpResponse.headers; - var queryErrorCode = headers ? headers['x-amzn-query-error'] : undefined; - if (queryErrorCode && queryErrorCode.includes(';')) { - resp.error.code = queryErrorCode.split(';')[0]; - } - } - }, true); - - addAsync('SEND', 'send', function SEND(resp, done) { - resp.httpResponse._abortCallback = done; - resp.error = null; - resp.data = null; - - function callback(httpResp) { - resp.httpResponse.stream = httpResp; - var stream = resp.request.httpRequest.stream; - var service = resp.request.service; - var api = service.api; - var operationName = resp.request.operation; - var operation = api.operations[operationName] || {}; - - httpResp.on('headers', function onHeaders(statusCode, headers, statusMessage) { - resp.request.emit( - 'httpHeaders', - [statusCode, headers, resp, statusMessage] - ); - - if (!resp.httpResponse.streaming) { - if (AWS.HttpClient.streamsApiVersion === 2) { // streams2 API check - // if we detect event streams, we're going to have to - // return the stream immediately - if (operation.hasEventOutput && service.successfulResponse(resp)) { - // skip reading the IncomingStream - resp.request.emit('httpDone'); - done(); - return; - } - - httpResp.on('readable', function onReadable() { - var data = httpResp.read(); - if (data !== null) { - resp.request.emit('httpData', [data, resp]); - } - }); - } else { // legacy streams API - httpResp.on('data', function onData(data) { - resp.request.emit('httpData', [data, resp]); - }); - } - } - }); - - httpResp.on('end', function onEnd() { - if (!stream || !stream.didCallback) { - if (AWS.HttpClient.streamsApiVersion === 2 && (operation.hasEventOutput && service.successfulResponse(resp))) { - // don't concatenate response chunks when streaming event stream data when response is successful - return; - } - resp.request.emit('httpDone'); - done(); - } - }); - } - - function progress(httpResp) { - httpResp.on('sendProgress', function onSendProgress(value) { - resp.request.emit('httpUploadProgress', [value, resp]); - }); - - httpResp.on('receiveProgress', function onReceiveProgress(value) { - resp.request.emit('httpDownloadProgress', [value, resp]); - }); - } - - function error(err) { - if (err.code !== 'RequestAbortedError') { - var errCode = err.code === 'TimeoutError' ? err.code : 'NetworkingError'; - err = AWS.util.error(err, { - code: errCode, - region: resp.request.httpRequest.region, - hostname: resp.request.httpRequest.endpoint.hostname, - retryable: true - }); - } - resp.error = err; - resp.request.emit('httpError', [resp.error, resp], function() { - done(); - }); - } - - function executeSend() { - var http = AWS.HttpClient.getInstance(); - var httpOptions = resp.request.service.config.httpOptions || {}; - try { - var stream = http.handleRequest(resp.request.httpRequest, httpOptions, - callback, error); - progress(stream); - } catch (err) { - error(err); - } - } - var timeDiff = (resp.request.service.getSkewCorrectedDate() - this.signedAt) / 1000; - if (timeDiff >= 60 * 10) { // if we signed 10min ago, re-sign - this.emit('sign', [this], function(err) { - if (err) done(err); - else executeSend(); - }); - } else { - executeSend(); - } - }); - - add('HTTP_HEADERS', 'httpHeaders', - function HTTP_HEADERS(statusCode, headers, resp, statusMessage) { - resp.httpResponse.statusCode = statusCode; - resp.httpResponse.statusMessage = statusMessage; - resp.httpResponse.headers = headers; - resp.httpResponse.body = AWS.util.buffer.toBuffer(''); - resp.httpResponse.buffers = []; - resp.httpResponse.numBytes = 0; - var dateHeader = headers.date || headers.Date; - var service = resp.request.service; - if (dateHeader) { - var serverTime = Date.parse(dateHeader); - if (service.config.correctClockSkew - && service.isClockSkewed(serverTime)) { - service.applyClockOffset(serverTime); - } - } - }); - - add('HTTP_DATA', 'httpData', function HTTP_DATA(chunk, resp) { - if (chunk) { - if (AWS.util.isNode()) { - resp.httpResponse.numBytes += chunk.length; - - var total = resp.httpResponse.headers['content-length']; - var progress = { loaded: resp.httpResponse.numBytes, total: total }; - resp.request.emit('httpDownloadProgress', [progress, resp]); - } - - resp.httpResponse.buffers.push(AWS.util.buffer.toBuffer(chunk)); - } - }); - - add('HTTP_DONE', 'httpDone', function HTTP_DONE(resp) { - // convert buffers array into single buffer - if (resp.httpResponse.buffers && resp.httpResponse.buffers.length > 0) { - var body = AWS.util.buffer.concat(resp.httpResponse.buffers); - resp.httpResponse.body = body; - } - delete resp.httpResponse.numBytes; - delete resp.httpResponse.buffers; - }); - - add('FINALIZE_ERROR', 'retry', function FINALIZE_ERROR(resp) { - if (resp.httpResponse.statusCode) { - resp.error.statusCode = resp.httpResponse.statusCode; - if (resp.error.retryable === undefined) { - resp.error.retryable = this.service.retryableError(resp.error, this); - } - } - }); - - add('INVALIDATE_CREDENTIALS', 'retry', function INVALIDATE_CREDENTIALS(resp) { - if (!resp.error) return; - switch (resp.error.code) { - case 'RequestExpired': // EC2 only - case 'ExpiredTokenException': - case 'ExpiredToken': - resp.error.retryable = true; - resp.request.service.config.credentials.expired = true; - } - }); - - add('EXPIRED_SIGNATURE', 'retry', function EXPIRED_SIGNATURE(resp) { - var err = resp.error; - if (!err) return; - if (typeof err.code === 'string' && typeof err.message === 'string') { - if (err.code.match(/Signature/) && err.message.match(/expired/)) { - resp.error.retryable = true; - } - } - }); - - add('CLOCK_SKEWED', 'retry', function CLOCK_SKEWED(resp) { - if (!resp.error) return; - if (this.service.clockSkewError(resp.error) - && this.service.config.correctClockSkew) { - resp.error.retryable = true; - } - }); - - add('REDIRECT', 'retry', function REDIRECT(resp) { - if (resp.error && resp.error.statusCode >= 300 && - resp.error.statusCode < 400 && resp.httpResponse.headers['location']) { - this.httpRequest.endpoint = - new AWS.Endpoint(resp.httpResponse.headers['location']); - this.httpRequest.headers['Host'] = this.httpRequest.endpoint.host; - resp.error.redirect = true; - resp.error.retryable = true; - } - }); - - add('RETRY_CHECK', 'retry', function RETRY_CHECK(resp) { - if (resp.error) { - if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.error.retryDelay = 0; - } else if (resp.retryCount < resp.maxRetries) { - resp.error.retryDelay = this.service.retryDelays(resp.retryCount, resp.error) || 0; - } - } - }); - - addAsync('RESET_RETRY_STATE', 'afterRetry', function RESET_RETRY_STATE(resp, done) { - var delay, willRetry = false; - - if (resp.error) { - delay = resp.error.retryDelay || 0; - if (resp.error.retryable && resp.retryCount < resp.maxRetries) { - resp.retryCount++; - willRetry = true; - } else if (resp.error.redirect && resp.redirectCount < resp.maxRedirects) { - resp.redirectCount++; - willRetry = true; - } - } - - // delay < 0 is a signal from customBackoff to skip retries - if (willRetry && delay >= 0) { - resp.error = null; - setTimeout(done, delay); - } else { - done(); - } - }); - }), - - CorePost: new SequentialExecutor().addNamedListeners(function(add) { - add('EXTRACT_REQUEST_ID', 'extractData', AWS.util.extractRequestId); - add('EXTRACT_REQUEST_ID', 'extractError', AWS.util.extractRequestId); - - add('ENOTFOUND_ERROR', 'httpError', function ENOTFOUND_ERROR(err) { - function isDNSError(err) { - return err.errno === 'ENOTFOUND' || - typeof err.errno === 'number' && - typeof AWS.util.getSystemErrorName === 'function' && - ['EAI_NONAME', 'EAI_NODATA'].indexOf(AWS.util.getSystemErrorName(err.errno) >= 0); - } - if (err.code === 'NetworkingError' && isDNSError(err)) { - var message = 'Inaccessible host: `' + err.hostname + '\' at port `' + err.port + - '\'. This service may not be available in the `' + err.region + - '\' region.'; - this.response.error = AWS.util.error(new Error(message), { - code: 'UnknownEndpoint', - region: err.region, - hostname: err.hostname, - retryable: true, - originalError: err - }); - } - }); - }), - - Logger: new SequentialExecutor().addNamedListeners(function(add) { - add('LOG_REQUEST', 'complete', function LOG_REQUEST(resp) { - var req = resp.request; - var logger = req.service.config.logger; - if (!logger) return; - function filterSensitiveLog(inputShape, shape) { - if (!shape) { - return shape; - } - if (inputShape.isSensitive) { - return '***SensitiveInformation***'; - } - switch (inputShape.type) { - case 'structure': - var struct = {}; - AWS.util.each(shape, function(subShapeName, subShape) { - if (Object.prototype.hasOwnProperty.call(inputShape.members, subShapeName)) { - struct[subShapeName] = filterSensitiveLog(inputShape.members[subShapeName], subShape); - } else { - struct[subShapeName] = subShape; - } - }); - return struct; - case 'list': - var list = []; - AWS.util.arrayEach(shape, function(subShape, index) { - list.push(filterSensitiveLog(inputShape.member, subShape)); - }); - return list; - case 'map': - var map = {}; - AWS.util.each(shape, function(key, value) { - map[key] = filterSensitiveLog(inputShape.value, value); - }); - return map; - default: - return shape; - } - } - - function buildMessage() { - var time = resp.request.service.getSkewCorrectedDate().getTime(); - var delta = (time - req.startTime.getTime()) / 1000; - var ansi = logger.isTTY ? true : false; - var status = resp.httpResponse.statusCode; - var censoredParams = req.params; - if ( - req.service.api.operations && - req.service.api.operations[req.operation] && - req.service.api.operations[req.operation].input - ) { - var inputShape = req.service.api.operations[req.operation].input; - censoredParams = filterSensitiveLog(inputShape, req.params); - } - var params = (__nccwpck_require__(73837).inspect)(censoredParams, true, null); - var message = ''; - if (ansi) message += '\x1B[33m'; - message += '[AWS ' + req.service.serviceIdentifier + ' ' + status; - message += ' ' + delta.toString() + 's ' + resp.retryCount + ' retries]'; - if (ansi) message += '\x1B[0;1m'; - message += ' ' + AWS.util.string.lowerFirst(req.operation); - message += '(' + params + ')'; - if (ansi) message += '\x1B[0m'; - return message; - } - - var line = buildMessage(); - if (typeof logger.log === 'function') { - logger.log(line); - } else if (typeof logger.write === 'function') { - logger.write(line + '\n'); - } - }); - }), - - Json: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __nccwpck_require__(30083); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Rest: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __nccwpck_require__(98200); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - RestJson: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __nccwpck_require__(5883); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - add('UNSET_CONTENT_LENGTH', 'afterBuild', svc.unsetContentLength); - }), - - RestXml: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __nccwpck_require__(15143); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }), - - Query: new SequentialExecutor().addNamedListeners(function(add) { - var svc = __nccwpck_require__(90761); - add('BUILD', 'build', svc.buildRequest); - add('EXTRACT_DATA', 'extractData', svc.extractData); - add('EXTRACT_ERROR', 'extractError', svc.extractError); - }) -}; - - -/***/ }), - -/***/ 1556: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; - -/** - * The endpoint that a service will talk to, for example, - * `'https://ec2.ap-southeast-1.amazonaws.com'`. If - * you need to override an endpoint for a service, you can - * set the endpoint on a service by passing the endpoint - * object with the `endpoint` option key: - * - * ```javascript - * var ep = new AWS.Endpoint('awsproxy.example.com'); - * var s3 = new AWS.S3({endpoint: ep}); - * s3.service.endpoint.hostname == 'awsproxy.example.com' - * ``` - * - * Note that if you do not specify a protocol, the protocol will - * be selected based on your current {AWS.config} configuration. - * - * @!attribute protocol - * @return [String] the protocol (http or https) of the endpoint - * URL - * @!attribute hostname - * @return [String] the host portion of the endpoint, e.g., - * example.com - * @!attribute host - * @return [String] the host portion of the endpoint including - * the port, e.g., example.com:80 - * @!attribute port - * @return [Integer] the port of the endpoint - * @!attribute href - * @return [String] the full URL of the endpoint - */ -AWS.Endpoint = inherit({ - - /** - * @overload Endpoint(endpoint) - * Constructs a new endpoint given an endpoint URL. If the - * URL omits a protocol (http or https), the default protocol - * set in the global {AWS.config} will be used. - * @param endpoint [String] the URL to construct an endpoint from - */ - constructor: function Endpoint(endpoint, config) { - AWS.util.hideProperties(this, ['slashes', 'auth', 'hash', 'search', 'query']); - - if (typeof endpoint === 'undefined' || endpoint === null) { - throw new Error('Invalid endpoint: ' + endpoint); - } else if (typeof endpoint !== 'string') { - return AWS.util.copy(endpoint); - } - - if (!endpoint.match(/^http/)) { - var useSSL = config && config.sslEnabled !== undefined ? - config.sslEnabled : AWS.config.sslEnabled; - endpoint = (useSSL ? 'https' : 'http') + '://' + endpoint; - } - - AWS.util.update(this, AWS.util.urlParse(endpoint)); - - // Ensure the port property is set as an integer - if (this.port) { - this.port = parseInt(this.port, 10); - } else { - this.port = this.protocol === 'https:' ? 443 : 80; - } + if (output[_stat] != null) { + contents[_Sta] = (0, import_smithy_client.expectString)(output[_stat]); + } + if (output[_pe] != null) { + contents[_Per] = (0, import_smithy_client.expectString)(output[_pe]); + } + return contents; +}, "de_Subscription"); +var de_SubscriptionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Subscription(entry, context); + }); +}, "de_SubscriptionList"); +var de_SuccessfulInstanceCreditSpecificationItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + return contents; +}, "de_SuccessfulInstanceCreditSpecificationItem"); +var de_SuccessfulInstanceCreditSpecificationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SuccessfulInstanceCreditSpecificationItem(entry, context); + }); +}, "de_SuccessfulInstanceCreditSpecificationSet"); +var de_SuccessfulQueuedPurchaseDeletion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + return contents; +}, "de_SuccessfulQueuedPurchaseDeletion"); +var de_SuccessfulQueuedPurchaseDeletionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SuccessfulQueuedPurchaseDeletion(entry, context); + }); +}, "de_SuccessfulQueuedPurchaseDeletionSet"); +var de_SupportedAdditionalProcessorFeatureList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_SupportedAdditionalProcessorFeatureList"); +var de_SupportedIpAddressTypes = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_SupportedIpAddressTypes"); +var de_Tag = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_k] != null) { + contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_Tag"); +var de_TagDescription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_k] != null) { + contents[_Ke] = (0, import_smithy_client.expectString)(output[_k]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_v] != null) { + contents[_Va] = (0, import_smithy_client.expectString)(output[_v]); + } + return contents; +}, "de_TagDescription"); +var de_TagDescriptionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TagDescription(entry, context); + }); +}, "de_TagDescriptionList"); +var de_TagList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Tag(entry, context); + }); +}, "de_TagList"); +var de_TagSpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output.Tag === "") { + contents[_Ta] = []; + } else if (output[_Tag] != null && output[_Tag][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_Tag][_i]), context); + } + return contents; +}, "de_TagSpecification"); +var de_TagSpecificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TagSpecification(entry, context); + }); +}, "de_TagSpecificationList"); +var de_TargetCapacitySpecification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tTC] != null) { + contents[_TTC] = (0, import_smithy_client.strictParseInt32)(output[_tTC]); + } + if (output[_oDTC] != null) { + contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]); + } + if (output[_sTC] != null) { + contents[_STC] = (0, import_smithy_client.strictParseInt32)(output[_sTC]); + } + if (output[_dTCT] != null) { + contents[_DTCT] = (0, import_smithy_client.expectString)(output[_dTCT]); + } + if (output[_tCUT] != null) { + contents[_TCUT] = (0, import_smithy_client.expectString)(output[_tCUT]); + } + return contents; +}, "de_TargetCapacitySpecification"); +var de_TargetConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + if (output[_oIf] != null) { + contents[_OI] = (0, import_smithy_client.expectString)(output[_oIf]); + } + return contents; +}, "de_TargetConfiguration"); +var de_TargetGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_ar]); + } + return contents; +}, "de_TargetGroup"); +var de_TargetGroups = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TargetGroup(entry, context); + }); +}, "de_TargetGroups"); +var de_TargetGroupsConfig = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.targetGroups === "") { + contents[_TG] = []; + } else if (output[_tGa] != null && output[_tGa][_i] != null) { + contents[_TG] = de_TargetGroups((0, import_smithy_client.getArrayIfSingleItem)(output[_tGa][_i]), context); + } + return contents; +}, "de_TargetGroupsConfig"); +var de_TargetNetwork = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_tNI] != null) { + contents[_TNI] = (0, import_smithy_client.expectString)(output[_tNI]); + } + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_sta] != null) { + contents[_Statu] = de_AssociationStatus(output[_sta], context); + } + if (output.securityGroups === "") { + contents[_SG] = []; + } else if (output[_sGe] != null && output[_sGe][_i] != null) { + contents[_SG] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGe][_i]), context); + } + return contents; +}, "de_TargetNetwork"); +var de_TargetNetworkSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TargetNetwork(entry, context); + }); +}, "de_TargetNetworkSet"); +var de_TargetReservationValue = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rVe] != null) { + contents[_RVe] = de_ReservationValue(output[_rVe], context); + } + if (output[_tCa] != null) { + contents[_TCar] = de_TargetConfiguration(output[_tCa], context); + } + return contents; +}, "de_TargetReservationValue"); +var de_TargetReservationValueSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TargetReservationValue(entry, context); + }); +}, "de_TargetReservationValueSet"); +var de_TerminateClientVpnConnectionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cVEI] != null) { + contents[_CVEI] = (0, import_smithy_client.expectString)(output[_cVEI]); + } + if (output[_us] != null) { + contents[_Us] = (0, import_smithy_client.expectString)(output[_us]); + } + if (output.connectionStatuses === "") { + contents[_CSon] = []; + } else if (output[_cSon] != null && output[_cSon][_i] != null) { + contents[_CSon] = de_TerminateConnectionStatusSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cSon][_i]), context); + } + return contents; +}, "de_TerminateClientVpnConnectionsResult"); +var de_TerminateConnectionStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cIon] != null) { + contents[_CIo] = (0, import_smithy_client.expectString)(output[_cIon]); + } + if (output[_pSre] != null) { + contents[_PSre] = de_ClientVpnConnectionStatus(output[_pSre], context); + } + if (output[_cSur] != null) { + contents[_CSur] = de_ClientVpnConnectionStatus(output[_cSur], context); + } + return contents; +}, "de_TerminateConnectionStatus"); +var de_TerminateConnectionStatusSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TerminateConnectionStatus(entry, context); + }); +}, "de_TerminateConnectionStatusSet"); +var de_TerminateInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_TIer] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_TIer] = de_InstanceStateChangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + return contents; +}, "de_TerminateInstancesResult"); +var de_ThreadsPerCoreList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.strictParseInt32)(entry); + }); +}, "de_ThreadsPerCoreList"); +var de_ThroughResourcesStatement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rSes] != null) { + contents[_RSe] = de_ResourceStatement(output[_rSes], context); + } + return contents; +}, "de_ThroughResourcesStatement"); +var de_ThroughResourcesStatementList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ThroughResourcesStatement(entry, context); + }); +}, "de_ThroughResourcesStatementList"); +var de_TotalLocalStorageGB = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseFloat)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseFloat)(output[_ma]); + } + return contents; +}, "de_TotalLocalStorageGB"); +var de_TrafficMirrorFilter = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFI] != null) { + contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); + } + if (output.ingressFilterRuleSet === "") { + contents[_IFRn] = []; + } else if (output[_iFRS] != null && output[_iFRS][_i] != null) { + contents[_IFRn] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_iFRS][_i]), context); + } + if (output.egressFilterRuleSet === "") { + contents[_EFR] = []; + } else if (output[_eFRS] != null && output[_eFRS][_i] != null) { + contents[_EFR] = de_TrafficMirrorFilterRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_eFRS][_i]), context); + } + if (output.networkServiceSet === "") { + contents[_NSe] = []; + } else if (output[_nSS] != null && output[_nSS][_i] != null) { + contents[_NSe] = de_TrafficMirrorNetworkServiceList((0, import_smithy_client.getArrayIfSingleItem)(output[_nSS][_i]), context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TrafficMirrorFilter"); +var de_TrafficMirrorFilterRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMFRI] != null) { + contents[_TMFRI] = (0, import_smithy_client.expectString)(output[_tMFRI]); + } + if (output[_tMFI] != null) { + contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); + } + if (output[_tDr] != null) { + contents[_TD] = (0, import_smithy_client.expectString)(output[_tDr]); + } + if (output[_rN] != null) { + contents[_RNu] = (0, import_smithy_client.strictParseInt32)(output[_rN]); + } + if (output[_rA] != null) { + contents[_RAu] = (0, import_smithy_client.expectString)(output[_rA]); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.strictParseInt32)(output[_pr]); + } + if (output[_dPR] != null) { + contents[_DPR] = de_TrafficMirrorPortRange(output[_dPR], context); + } + if (output[_sPR] != null) { + contents[_SPR] = de_TrafficMirrorPortRange(output[_sPR], context); + } + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_sCB] != null) { + contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_TrafficMirrorFilterRule"); +var de_TrafficMirrorFilterRuleList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrafficMirrorFilterRule(entry, context); + }); +}, "de_TrafficMirrorFilterRuleList"); +var de_TrafficMirrorFilterSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrafficMirrorFilter(entry, context); + }); +}, "de_TrafficMirrorFilterSet"); +var de_TrafficMirrorNetworkServiceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_TrafficMirrorNetworkServiceList"); +var de_TrafficMirrorPortRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_fP] != null) { + contents[_FP] = (0, import_smithy_client.strictParseInt32)(output[_fP]); + } + if (output[_tPo] != null) { + contents[_TP] = (0, import_smithy_client.strictParseInt32)(output[_tPo]); + } + return contents; +}, "de_TrafficMirrorPortRange"); +var de_TrafficMirrorSession = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMSI] != null) { + contents[_TMSI] = (0, import_smithy_client.expectString)(output[_tMSI]); + } + if (output[_tMTI] != null) { + contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); + } + if (output[_tMFI] != null) { + contents[_TMFI] = (0, import_smithy_client.expectString)(output[_tMFI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pLa] != null) { + contents[_PL] = (0, import_smithy_client.strictParseInt32)(output[_pLa]); + } + if (output[_sNes] != null) { + contents[_SN] = (0, import_smithy_client.strictParseInt32)(output[_sNes]); + } + if (output[_vNI] != null) { + contents[_VNI] = (0, import_smithy_client.strictParseInt32)(output[_vNI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TrafficMirrorSession"); +var de_TrafficMirrorSessionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrafficMirrorSession(entry, context); + }); +}, "de_TrafficMirrorSessionSet"); +var de_TrafficMirrorTarget = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tMTI] != null) { + contents[_TMTI] = (0, import_smithy_client.expectString)(output[_tMTI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_nLBA] != null) { + contents[_NLBA] = (0, import_smithy_client.expectString)(output[_nLBA]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_gLBEI] != null) { + contents[_GLBEI] = (0, import_smithy_client.expectString)(output[_gLBEI]); + } + return contents; +}, "de_TrafficMirrorTarget"); +var de_TrafficMirrorTargetSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrafficMirrorTarget(entry, context); + }); +}, "de_TrafficMirrorTargetSet"); +var de_TransitGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_tGAra] != null) { + contents[_TGAran] = (0, import_smithy_client.expectString)(output[_tGAra]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output[_op] != null) { + contents[_O] = de_TransitGatewayOptions(output[_op], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGateway"); +var de_TransitGatewayAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayAssociation"); +var de_TransitGatewayAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_tGOI] != null) { + contents[_TGOI] = (0, import_smithy_client.expectString)(output[_tGOI]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ass] != null) { + contents[_Asso] = de_TransitGatewayAttachmentAssociation(output[_ass], context); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayAttachment"); +var de_TransitGatewayAttachmentAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayAttachmentAssociation"); +var de_TransitGatewayAttachmentBgpConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAran] != null) { + contents[_TGArans] = (0, import_smithy_client.strictParseLong)(output[_tGAran]); + } + if (output[_pAee] != null) { + contents[_PAee] = (0, import_smithy_client.strictParseLong)(output[_pAee]); + } + if (output[_tGArans] != null) { + contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]); + } + if (output[_pAe] != null) { + contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); + } + if (output[_bSg] != null) { + contents[_BS] = (0, import_smithy_client.expectString)(output[_bSg]); + } + return contents; +}, "de_TransitGatewayAttachmentBgpConfiguration"); +var de_TransitGatewayAttachmentBgpConfigurationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayAttachmentBgpConfiguration(entry, context); + }); +}, "de_TransitGatewayAttachmentBgpConfigurationList"); +var de_TransitGatewayAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayAttachment(entry, context); + }); +}, "de_TransitGatewayAttachmentList"); +var de_TransitGatewayAttachmentPropagation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayAttachmentPropagation"); +var de_TransitGatewayAttachmentPropagationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayAttachmentPropagation(entry, context); + }); +}, "de_TransitGatewayAttachmentPropagationList"); +var de_TransitGatewayConnect = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_tTGAI] != null) { + contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output[_op] != null) { + contents[_O] = de_TransitGatewayConnectOptions(output[_op], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayConnect"); +var de_TransitGatewayConnectList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayConnect(entry, context); + }); +}, "de_TransitGatewayConnectList"); +var de_TransitGatewayConnectOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + return contents; +}, "de_TransitGatewayConnectOptions"); +var de_TransitGatewayConnectPeer = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_tGCPI] != null) { + contents[_TGCPI] = (0, import_smithy_client.expectString)(output[_tGCPI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output[_cPC] != null) { + contents[_CPC] = de_TransitGatewayConnectPeerConfiguration(output[_cPC], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayConnectPeer"); +var de_TransitGatewayConnectPeerConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGArans] != null) { + contents[_TGA] = (0, import_smithy_client.expectString)(output[_tGArans]); + } + if (output[_pAe] != null) { + contents[_PAe] = (0, import_smithy_client.expectString)(output[_pAe]); + } + if (output.insideCidrBlocks === "") { + contents[_ICBn] = []; + } else if (output[_iCBn] != null && output[_iCBn][_i] != null) { + contents[_ICBn] = de_InsideCidrBlocksStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBn][_i]), context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output.bgpConfigurations === "") { + contents[_BCg] = []; + } else if (output[_bCg] != null && output[_bCg][_i] != null) { + contents[_BCg] = de_TransitGatewayAttachmentBgpConfigurationList((0, import_smithy_client.getArrayIfSingleItem)(output[_bCg][_i]), context); + } + return contents; +}, "de_TransitGatewayConnectPeerConfiguration"); +var de_TransitGatewayConnectPeerList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayConnectPeer(entry, context); + }); +}, "de_TransitGatewayConnectPeerList"); +var de_TransitGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGateway(entry, context); + }); +}, "de_TransitGatewayList"); +var de_TransitGatewayMulticastDeregisteredGroupMembers = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output.deregisteredNetworkInterfaceIds === "") { + contents[_DNII] = []; + } else if (output[_dNII] != null && output[_dNII][_i] != null) { + contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context); + } + if (output[_gIA] != null) { + contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); + } + return contents; +}, "de_TransitGatewayMulticastDeregisteredGroupMembers"); +var de_TransitGatewayMulticastDeregisteredGroupSources = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output.deregisteredNetworkInterfaceIds === "") { + contents[_DNII] = []; + } else if (output[_dNII] != null && output[_dNII][_i] != null) { + contents[_DNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_dNII][_i]), context); + } + if (output[_gIA] != null) { + contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); + } + return contents; +}, "de_TransitGatewayMulticastDeregisteredGroupSources"); +var de_TransitGatewayMulticastDomain = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_tGMDA] != null) { + contents[_TGMDA] = (0, import_smithy_client.expectString)(output[_tGMDA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_op] != null) { + contents[_O] = de_TransitGatewayMulticastDomainOptions(output[_op], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayMulticastDomain"); +var de_TransitGatewayMulticastDomainAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_su] != null) { + contents[_Su] = de_SubnetAssociation(output[_su], context); + } + return contents; +}, "de_TransitGatewayMulticastDomainAssociation"); +var de_TransitGatewayMulticastDomainAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayMulticastDomainAssociation(entry, context); + }); +}, "de_TransitGatewayMulticastDomainAssociationList"); +var de_TransitGatewayMulticastDomainAssociations = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output.subnets === "") { + contents[_Subn] = []; + } else if (output[_sub] != null && output[_sub][_i] != null) { + contents[_Subn] = de_SubnetAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sub][_i]), context); + } + return contents; +}, "de_TransitGatewayMulticastDomainAssociations"); +var de_TransitGatewayMulticastDomainList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayMulticastDomain(entry, context); + }); +}, "de_TransitGatewayMulticastDomainList"); +var de_TransitGatewayMulticastDomainOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iSg] != null) { + contents[_ISg] = (0, import_smithy_client.expectString)(output[_iSg]); + } + if (output[_sSS] != null) { + contents[_SSS] = (0, import_smithy_client.expectString)(output[_sSS]); + } + if (output[_aASA] != null) { + contents[_AASA] = (0, import_smithy_client.expectString)(output[_aASA]); + } + return contents; +}, "de_TransitGatewayMulticastDomainOptions"); +var de_TransitGatewayMulticastGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIA] != null) { + contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); + } + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rOI] != null) { + contents[_ROI] = (0, import_smithy_client.expectString)(output[_rOI]); + } + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output[_gM] != null) { + contents[_GM] = (0, import_smithy_client.parseBoolean)(output[_gM]); + } + if (output[_gSr] != null) { + contents[_GS] = (0, import_smithy_client.parseBoolean)(output[_gSr]); + } + if (output[_mTe] != null) { + contents[_MTe] = (0, import_smithy_client.expectString)(output[_mTe]); + } + if (output[_sTo] != null) { + contents[_STo] = (0, import_smithy_client.expectString)(output[_sTo]); + } + return contents; +}, "de_TransitGatewayMulticastGroup"); +var de_TransitGatewayMulticastGroupList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayMulticastGroup(entry, context); + }); +}, "de_TransitGatewayMulticastGroupList"); +var de_TransitGatewayMulticastRegisteredGroupMembers = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output.registeredNetworkInterfaceIds === "") { + contents[_RNII] = []; + } else if (output[_rNII] != null && output[_rNII][_i] != null) { + contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context); + } + if (output[_gIA] != null) { + contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); + } + return contents; +}, "de_TransitGatewayMulticastRegisteredGroupMembers"); +var de_TransitGatewayMulticastRegisteredGroupSources = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGMDI] != null) { + contents[_TGMDI] = (0, import_smithy_client.expectString)(output[_tGMDI]); + } + if (output.registeredNetworkInterfaceIds === "") { + contents[_RNII] = []; + } else if (output[_rNII] != null && output[_rNII][_i] != null) { + contents[_RNII] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rNII][_i]), context); + } + if (output[_gIA] != null) { + contents[_GIA] = (0, import_smithy_client.expectString)(output[_gIA]); + } + return contents; +}, "de_TransitGatewayMulticastRegisteredGroupSources"); +var de_TransitGatewayOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aSA] != null) { + contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]); + } + if (output.transitGatewayCidrBlocks === "") { + contents[_TGCB] = []; + } else if (output[_tGCB] != null && output[_tGCB][_i] != null) { + contents[_TGCB] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGCB][_i]), context); + } + if (output[_aASAu] != null) { + contents[_AASAu] = (0, import_smithy_client.expectString)(output[_aASAu]); + } + if (output[_dRTA] != null) { + contents[_DRTA] = (0, import_smithy_client.expectString)(output[_dRTA]); + } + if (output[_aDRTI] != null) { + contents[_ADRTI] = (0, import_smithy_client.expectString)(output[_aDRTI]); + } + if (output[_dRTP] != null) { + contents[_DRTP] = (0, import_smithy_client.expectString)(output[_dRTP]); + } + if (output[_pDRTI] != null) { + contents[_PDRTI] = (0, import_smithy_client.expectString)(output[_pDRTI]); + } + if (output[_vESpn] != null) { + contents[_VES] = (0, import_smithy_client.expectString)(output[_vESpn]); + } + if (output[_dSn] != null) { + contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]); + } + if (output[_sGRSec] != null) { + contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]); + } + if (output[_mSu] != null) { + contents[_MSu] = (0, import_smithy_client.expectString)(output[_mSu]); + } + return contents; +}, "de_TransitGatewayOptions"); +var de_TransitGatewayPeeringAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_aTGAI] != null) { + contents[_ATGAI] = (0, import_smithy_client.expectString)(output[_aTGAI]); + } + if (output[_rTIe] != null) { + contents[_RTIe] = de_PeeringTgwInfo(output[_rTIe], context); + } + if (output[_aTI] != null) { + contents[_ATIc] = de_PeeringTgwInfo(output[_aTI], context); + } + if (output[_op] != null) { + contents[_O] = de_TransitGatewayPeeringAttachmentOptions(output[_op], context); + } + if (output[_sta] != null) { + contents[_Statu] = de_PeeringAttachmentStatus(output[_sta], context); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayPeeringAttachment"); +var de_TransitGatewayPeeringAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayPeeringAttachment(entry, context); + }); +}, "de_TransitGatewayPeeringAttachmentList"); +var de_TransitGatewayPeeringAttachmentOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dRy] != null) { + contents[_DRy] = (0, import_smithy_client.expectString)(output[_dRy]); + } + return contents; +}, "de_TransitGatewayPeeringAttachmentOptions"); +var de_TransitGatewayPolicyRule = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCB] != null) { + contents[_SCB] = (0, import_smithy_client.expectString)(output[_sCB]); + } + if (output[_sPR] != null) { + contents[_SPR] = (0, import_smithy_client.expectString)(output[_sPR]); + } + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_dPR] != null) { + contents[_DPR] = (0, import_smithy_client.expectString)(output[_dPR]); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_mDe] != null) { + contents[_MDe] = de_TransitGatewayPolicyRuleMetaData(output[_mDe], context); + } + return contents; +}, "de_TransitGatewayPolicyRule"); +var de_TransitGatewayPolicyRuleMetaData = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mDK] != null) { + contents[_MDK] = (0, import_smithy_client.expectString)(output[_mDK]); + } + if (output[_mDV] != null) { + contents[_MDV] = (0, import_smithy_client.expectString)(output[_mDV]); + } + return contents; +}, "de_TransitGatewayPolicyRuleMetaData"); +var de_TransitGatewayPolicyTable = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPTI] != null) { + contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayPolicyTable"); +var de_TransitGatewayPolicyTableAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGPTI] != null) { + contents[_TGPTI] = (0, import_smithy_client.expectString)(output[_tGPTI]); + } + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayPolicyTableAssociation"); +var de_TransitGatewayPolicyTableAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayPolicyTableAssociation(entry, context); + }); +}, "de_TransitGatewayPolicyTableAssociationList"); +var de_TransitGatewayPolicyTableEntry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pRN] != null) { + contents[_PRNo] = (0, import_smithy_client.expectString)(output[_pRN]); + } + if (output[_pRol] != null) { + contents[_PRol] = de_TransitGatewayPolicyRule(output[_pRol], context); + } + if (output[_tRTI] != null) { + contents[_TRTI] = (0, import_smithy_client.expectString)(output[_tRTI]); + } + return contents; +}, "de_TransitGatewayPolicyTableEntry"); +var de_TransitGatewayPolicyTableEntryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayPolicyTableEntry(entry, context); + }); +}, "de_TransitGatewayPolicyTableEntryList"); +var de_TransitGatewayPolicyTableList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayPolicyTable(entry, context); + }); +}, "de_TransitGatewayPolicyTableList"); +var de_TransitGatewayPrefixListAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + return contents; +}, "de_TransitGatewayPrefixListAttachment"); +var de_TransitGatewayPrefixListReference = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_pLOI] != null) { + contents[_PLOI] = (0, import_smithy_client.expectString)(output[_pLOI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_bl] != null) { + contents[_Bl] = (0, import_smithy_client.parseBoolean)(output[_bl]); + } + if (output[_tGAr] != null) { + contents[_TGAra] = de_TransitGatewayPrefixListAttachment(output[_tGAr], context); + } + return contents; +}, "de_TransitGatewayPrefixListReference"); +var de_TransitGatewayPrefixListReferenceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayPrefixListReference(entry, context); + }); +}, "de_TransitGatewayPrefixListReferenceSet"); +var de_TransitGatewayPropagation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_tGRTAI] != null) { + contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); + } + return contents; +}, "de_TransitGatewayPropagation"); +var de_TransitGatewayRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_tGRTAI] != null) { + contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); + } + if (output.transitGatewayAttachments === "") { + contents[_TGAr] = []; + } else if (output[_tGA] != null && output[_tGA][_i] != null) { + contents[_TGAr] = de_TransitGatewayRouteAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_tGA][_i]), context); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayRoute"); +var de_TransitGatewayRouteAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + return contents; +}, "de_TransitGatewayRouteAttachment"); +var de_TransitGatewayRouteAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRouteAttachment(entry, context); + }); +}, "de_TransitGatewayRouteAttachmentList"); +var de_TransitGatewayRouteList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRoute(entry, context); + }); +}, "de_TransitGatewayRouteList"); +var de_TransitGatewayRouteTable = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_dART] != null) { + contents[_DART] = (0, import_smithy_client.parseBoolean)(output[_dART]); + } + if (output[_dPRT] != null) { + contents[_DPRT] = (0, import_smithy_client.parseBoolean)(output[_dPRT]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayRouteTable"); +var de_TransitGatewayRouteTableAnnouncement = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGRTAI] != null) { + contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_cNIo] != null) { + contents[_CNIor] = (0, import_smithy_client.expectString)(output[_cNIo]); + } + if (output[_pTGI] != null) { + contents[_PTGI] = (0, import_smithy_client.expectString)(output[_pTGI]); + } + if (output[_pCNI] != null) { + contents[_PCNI] = (0, import_smithy_client.expectString)(output[_pCNI]); + } + if (output[_pAI] != null) { + contents[_PAIe] = (0, import_smithy_client.expectString)(output[_pAI]); + } + if (output[_aDn] != null) { + contents[_ADn] = (0, import_smithy_client.expectString)(output[_aDn]); + } + if (output[_tGRTI] != null) { + contents[_TGRTI] = (0, import_smithy_client.expectString)(output[_tGRTI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayRouteTableAnnouncement"); +var de_TransitGatewayRouteTableAnnouncementList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRouteTableAnnouncement(entry, context); + }); +}, "de_TransitGatewayRouteTableAnnouncementList"); +var de_TransitGatewayRouteTableAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_TransitGatewayRouteTableAssociation"); +var de_TransitGatewayRouteTableAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRouteTableAssociation(entry, context); + }); +}, "de_TransitGatewayRouteTableAssociationList"); +var de_TransitGatewayRouteTableList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRouteTable(entry, context); + }); +}, "de_TransitGatewayRouteTableList"); +var de_TransitGatewayRouteTablePropagation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_tGRTAI] != null) { + contents[_TGRTAI] = (0, import_smithy_client.expectString)(output[_tGRTAI]); + } + return contents; +}, "de_TransitGatewayRouteTablePropagation"); +var de_TransitGatewayRouteTablePropagationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayRouteTablePropagation(entry, context); + }); +}, "de_TransitGatewayRouteTablePropagationList"); +var de_TransitGatewayRouteTableRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dC] != null) { + contents[_DCe] = (0, import_smithy_client.expectString)(output[_dC]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_rOo] != null) { + contents[_ROo] = (0, import_smithy_client.expectString)(output[_rOo]); + } + if (output[_pLI] != null) { + contents[_PLI] = (0, import_smithy_client.expectString)(output[_pLI]); + } + if (output[_aIt] != null) { + contents[_AIt] = (0, import_smithy_client.expectString)(output[_aIt]); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + if (output[_rTe] != null) { + contents[_RT] = (0, import_smithy_client.expectString)(output[_rTe]); + } + return contents; +}, "de_TransitGatewayRouteTableRoute"); +var de_TransitGatewayVpcAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_tGAI] != null) { + contents[_TGAI] = (0, import_smithy_client.expectString)(output[_tGAI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_vOIp] != null) { + contents[_VOIp] = (0, import_smithy_client.expectString)(output[_vOIp]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.subnetIds === "") { + contents[_SIu] = []; + } else if (output[_sIub] != null && output[_sIub][_i] != null) { + contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sIub][_i]), context); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTre])); + } + if (output[_op] != null) { + contents[_O] = de_TransitGatewayVpcAttachmentOptions(output[_op], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TransitGatewayVpcAttachment"); +var de_TransitGatewayVpcAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TransitGatewayVpcAttachment(entry, context); + }); +}, "de_TransitGatewayVpcAttachmentList"); +var de_TransitGatewayVpcAttachmentOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dSn] != null) { + contents[_DSns] = (0, import_smithy_client.expectString)(output[_dSn]); + } + if (output[_sGRSec] != null) { + contents[_SGRS] = (0, import_smithy_client.expectString)(output[_sGRSec]); + } + if (output[_iSpvu] != null) { + contents[_ISp] = (0, import_smithy_client.expectString)(output[_iSpvu]); + } + if (output[_aMSp] != null) { + contents[_AMS] = (0, import_smithy_client.expectString)(output[_aMSp]); + } + return contents; +}, "de_TransitGatewayVpcAttachmentOptions"); +var de_TrunkInterfaceAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_bII] != null) { + contents[_BII] = (0, import_smithy_client.expectString)(output[_bII]); + } + if (output[_tII] != null) { + contents[_TII] = (0, import_smithy_client.expectString)(output[_tII]); + } + if (output[_iPnte] != null) { + contents[_IPnte] = (0, import_smithy_client.expectString)(output[_iPnte]); + } + if (output[_vIl] != null) { + contents[_VIl] = (0, import_smithy_client.strictParseInt32)(output[_vIl]); + } + if (output[_gK] != null) { + contents[_GK] = (0, import_smithy_client.strictParseInt32)(output[_gK]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_TrunkInterfaceAssociation"); +var de_TrunkInterfaceAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrunkInterfaceAssociation(entry, context); + }); +}, "de_TrunkInterfaceAssociationList"); +var de_TunnelOption = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oIA] != null) { + contents[_OIA] = (0, import_smithy_client.expectString)(output[_oIA]); + } + if (output[_tICu] != null) { + contents[_TIC] = (0, import_smithy_client.expectString)(output[_tICu]); + } + if (output[_tIIC] != null) { + contents[_TIIC] = (0, import_smithy_client.expectString)(output[_tIIC]); + } + if (output[_pSK] != null) { + contents[_PSK] = (0, import_smithy_client.expectString)(output[_pSK]); + } + if (output[_pLSh] != null) { + contents[_PLS] = (0, import_smithy_client.strictParseInt32)(output[_pLSh]); + } + if (output[_pLSha] != null) { + contents[_PLSh] = (0, import_smithy_client.strictParseInt32)(output[_pLSha]); + } + if (output[_rMTS] != null) { + contents[_RMTS] = (0, import_smithy_client.strictParseInt32)(output[_rMTS]); + } + if (output[_rFP] != null) { + contents[_RFP] = (0, import_smithy_client.strictParseInt32)(output[_rFP]); + } + if (output[_rWS] != null) { + contents[_RWS] = (0, import_smithy_client.strictParseInt32)(output[_rWS]); + } + if (output[_dTS] != null) { + contents[_DTS] = (0, import_smithy_client.strictParseInt32)(output[_dTS]); + } + if (output[_dTA] != null) { + contents[_DTA] = (0, import_smithy_client.expectString)(output[_dTA]); + } + if (output.phase1EncryptionAlgorithmSet === "") { + contents[_PEA] = []; + } else if (output[_pEAS] != null && output[_pEAS][_i] != null) { + contents[_PEA] = de_Phase1EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEAS][_i]), context); + } + if (output.phase2EncryptionAlgorithmSet === "") { + contents[_PEAh] = []; + } else if (output[_pEASh] != null && output[_pEASh][_i] != null) { + contents[_PEAh] = de_Phase2EncryptionAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pEASh][_i]), context); + } + if (output.phase1IntegrityAlgorithmSet === "") { + contents[_PIAh] = []; + } else if (output[_pIASh] != null && output[_pIASh][_i] != null) { + contents[_PIAh] = de_Phase1IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASh][_i]), context); + } + if (output.phase2IntegrityAlgorithmSet === "") { + contents[_PIAha] = []; + } else if (output[_pIASha] != null && output[_pIASha][_i] != null) { + contents[_PIAha] = de_Phase2IntegrityAlgorithmsList((0, import_smithy_client.getArrayIfSingleItem)(output[_pIASha][_i]), context); + } + if (output.phase1DHGroupNumberSet === "") { + contents[_PDHGN] = []; + } else if (output[_pDHGNS] != null && output[_pDHGNS][_i] != null) { + contents[_PDHGN] = de_Phase1DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNS][_i]), context); + } + if (output.phase2DHGroupNumberSet === "") { + contents[_PDHGNh] = []; + } else if (output[_pDHGNSh] != null && output[_pDHGNSh][_i] != null) { + contents[_PDHGNh] = de_Phase2DHGroupNumbersList((0, import_smithy_client.getArrayIfSingleItem)(output[_pDHGNSh][_i]), context); + } + if (output.ikeVersionSet === "") { + contents[_IVk] = []; + } else if (output[_iVS] != null && output[_iVS][_i] != null) { + contents[_IVk] = de_IKEVersionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_iVS][_i]), context); + } + if (output[_sAt] != null) { + contents[_SA] = (0, import_smithy_client.expectString)(output[_sAt]); + } + if (output[_lO] != null) { + contents[_LO] = de_VpnTunnelLogOptions(output[_lO], context); + } + if (output[_eTLC] != null) { + contents[_ETLC] = (0, import_smithy_client.parseBoolean)(output[_eTLC]); + } + return contents; +}, "de_TunnelOption"); +var de_TunnelOptionsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TunnelOption(entry, context); + }); +}, "de_TunnelOptionsList"); +var de_UnassignIpv6AddressesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + if (output.unassignedIpv6Addresses === "") { + contents[_UIAn] = []; + } else if (output[_uIA] != null && output[_uIA][_i] != null) { + contents[_UIAn] = de_Ipv6AddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIA][_i]), context); + } + if (output.unassignedIpv6PrefixSet === "") { + contents[_UIPn] = []; + } else if (output[_uIPSn] != null && output[_uIPSn][_i] != null) { + contents[_UIPn] = de_IpPrefixList((0, import_smithy_client.getArrayIfSingleItem)(output[_uIPSn][_i]), context); + } + return contents; +}, "de_UnassignIpv6AddressesResult"); +var de_UnassignPrivateNatGatewayAddressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nGI] != null) { + contents[_NGI] = (0, import_smithy_client.expectString)(output[_nGI]); + } + if (output.natGatewayAddressSet === "") { + contents[_NGA] = []; + } else if (output[_nGAS] != null && output[_nGAS][_i] != null) { + contents[_NGA] = de_NatGatewayAddressList((0, import_smithy_client.getArrayIfSingleItem)(output[_nGAS][_i]), context); + } + return contents; +}, "de_UnassignPrivateNatGatewayAddressResult"); +var de_UnlockSnapshotResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + return contents; +}, "de_UnlockSnapshotResult"); +var de_UnmonitorInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instancesSet === "") { + contents[_IMn] = []; + } else if (output[_iSn] != null && output[_iSn][_i] != null) { + contents[_IMn] = de_InstanceMonitoringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iSn][_i]), context); + } + return contents; +}, "de_UnmonitorInstancesResult"); +var de_UnsuccessfulInstanceCreditSpecificationItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_er] != null) { + contents[_Er] = de_UnsuccessfulInstanceCreditSpecificationItemError(output[_er], context); + } + return contents; +}, "de_UnsuccessfulInstanceCreditSpecificationItem"); +var de_UnsuccessfulInstanceCreditSpecificationItemError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_UnsuccessfulInstanceCreditSpecificationItemError"); +var de_UnsuccessfulInstanceCreditSpecificationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_UnsuccessfulInstanceCreditSpecificationItem(entry, context); + }); +}, "de_UnsuccessfulInstanceCreditSpecificationSet"); +var de_UnsuccessfulItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_er] != null) { + contents[_Er] = de_UnsuccessfulItemError(output[_er], context); + } + if (output[_rIe] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIe]); + } + return contents; +}, "de_UnsuccessfulItem"); +var de_UnsuccessfulItemError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_UnsuccessfulItemError"); +var de_UnsuccessfulItemList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_UnsuccessfulItem(entry, context); + }); +}, "de_UnsuccessfulItemList"); +var de_UnsuccessfulItemSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_UnsuccessfulItem(entry, context); + }); +}, "de_UnsuccessfulItemSet"); +var de_UpdateSecurityGroupRuleDescriptionsEgressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_UpdateSecurityGroupRuleDescriptionsEgressResult"); +var de_UpdateSecurityGroupRuleDescriptionsIngressResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_UpdateSecurityGroupRuleDescriptionsIngressResult"); +var de_UsageClassTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_UsageClassTypeList"); +var de_UserBucketDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sB] != null) { + contents[_SB] = (0, import_smithy_client.expectString)(output[_sB]); + } + if (output[_sK] != null) { + contents[_SK] = (0, import_smithy_client.expectString)(output[_sK]); + } + return contents; +}, "de_UserBucketDetails"); +var de_UserIdGroupPair = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_pSee] != null) { + contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]); + } + if (output[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + return contents; +}, "de_UserIdGroupPair"); +var de_UserIdGroupPairList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_UserIdGroupPair(entry, context); + }); +}, "de_UserIdGroupPairList"); +var de_UserIdGroupPairSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_UserIdGroupPair(entry, context); + }); +}, "de_UserIdGroupPairSet"); +var de_ValidationError = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_ValidationError"); +var de_ValidationWarning = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.errorSet === "") { + contents[_Err] = []; + } else if (output[_eSr] != null && output[_eSr][_i] != null) { + contents[_Err] = de_ErrorSet((0, import_smithy_client.getArrayIfSingleItem)(output[_eSr][_i]), context); + } + return contents; +}, "de_ValidationWarning"); +var de_ValueStringList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ValueStringList"); +var de_VCpuCountRange = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_M] = (0, import_smithy_client.strictParseInt32)(output[_m]); + } + if (output[_ma] != null) { + contents[_Ma] = (0, import_smithy_client.strictParseInt32)(output[_ma]); + } + return contents; +}, "de_VCpuCountRange"); +var de_VCpuInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dVC] != null) { + contents[_DVCef] = (0, import_smithy_client.strictParseInt32)(output[_dVC]); + } + if (output[_dCe] != null) { + contents[_DCef] = (0, import_smithy_client.strictParseInt32)(output[_dCe]); + } + if (output[_dTPC] != null) { + contents[_DTPC] = (0, import_smithy_client.strictParseInt32)(output[_dTPC]); + } + if (output.validCores === "") { + contents[_VCa] = []; + } else if (output[_vCa] != null && output[_vCa][_i] != null) { + contents[_VCa] = de_CoreCountList((0, import_smithy_client.getArrayIfSingleItem)(output[_vCa][_i]), context); + } + if (output.validThreadsPerCore === "") { + contents[_VTPC] = []; + } else if (output[_vTPC] != null && output[_vTPC][_i] != null) { + contents[_VTPC] = de_ThreadsPerCoreList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTPC][_i]), context); + } + return contents; +}, "de_VCpuInfo"); +var de_VerifiedAccessEndpoint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAII] != null) { + contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); + } + if (output[_vAGI] != null) { + contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]); + } + if (output[_vAEI] != null) { + contents[_VAEI] = (0, import_smithy_client.expectString)(output[_vAEI]); + } + if (output[_aDp] != null) { + contents[_ADp] = (0, import_smithy_client.expectString)(output[_aDp]); + } + if (output[_eTnd] != null) { + contents[_ET] = (0, import_smithy_client.expectString)(output[_eTnd]); + } + if (output[_aTtta] != null) { + contents[_ATt] = (0, import_smithy_client.expectString)(output[_aTtta]); + } + if (output[_dCA] != null) { + contents[_DCA] = (0, import_smithy_client.expectString)(output[_dCA]); + } + if (output[_eDnd] != null) { + contents[_EDnd] = (0, import_smithy_client.expectString)(output[_eDnd]); + } + if (output[_dVD] != null) { + contents[_DVD] = (0, import_smithy_client.expectString)(output[_dVD]); + } + if (output.securityGroupIdSet === "") { + contents[_SGI] = []; + } else if (output[_sGIS] != null && output[_sGIS][_i] != null) { + contents[_SGI] = de_SecurityGroupIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGIS][_i]), context); + } + if (output[_lBO] != null) { + contents[_LBO] = de_VerifiedAccessEndpointLoadBalancerOptions(output[_lBO], context); + } + if (output[_nIO] != null) { + contents[_NIO] = de_VerifiedAccessEndpointEniOptions(output[_nIO], context); + } + if (output[_sta] != null) { + contents[_Statu] = de_VerifiedAccessEndpointStatus(output[_sta], context); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); + } + if (output[_lUT] != null) { + contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); + } + if (output[_dT] != null) { + contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); } - -}); - -/** - * The low level HTTP request object, encapsulating all HTTP header - * and body data sent by a service request. - * - * @!attribute method - * @return [String] the HTTP method of the request - * @!attribute path - * @return [String] the path portion of the URI, e.g., - * "/list/?start=5&num=10" - * @!attribute headers - * @return [map] - * a map of header keys and their respective values - * @!attribute body - * @return [String] the request body payload - * @!attribute endpoint - * @return [AWS.Endpoint] the endpoint for the request - * @!attribute region - * @api private - * @return [String] the region, for signing purposes only. - */ -AWS.HttpRequest = inherit({ - - /** - * @api private - */ - constructor: function HttpRequest(endpoint, region) { - endpoint = new AWS.Endpoint(endpoint); - this.method = 'POST'; - this.path = endpoint.path || '/'; - this.headers = {}; - this.body = ''; - this.endpoint = endpoint; - this.region = region; - this._userAgent = ''; - this.setUserAgent(); - }, - - /** - * @api private - */ - setUserAgent: function setUserAgent() { - this._userAgent = this.headers[this.getUserAgentHeaderName()] = AWS.util.userAgent(); - }, - - getUserAgentHeaderName: function getUserAgentHeaderName() { - var prefix = AWS.util.isBrowser() ? 'X-Amz-' : ''; - return prefix + 'User-Agent'; - }, - - /** - * @api private - */ - appendToUserAgent: function appendToUserAgent(agentPartial) { - if (typeof agentPartial === 'string' && agentPartial) { - this._userAgent += ' ' + agentPartial; - } - this.headers[this.getUserAgentHeaderName()] = this._userAgent; - }, - - /** - * @api private - */ - getUserAgent: function getUserAgent() { - return this._userAgent; - }, - - /** - * @return [String] the part of the {path} excluding the - * query string - */ - pathname: function pathname() { - return this.path.split('?', 1)[0]; - }, - - /** - * @return [String] the query string portion of the {path} - */ - search: function search() { - var query = this.path.split('?', 2)[1]; - if (query) { - query = AWS.util.queryStringParse(query); - return AWS.util.queryParamsToString(query); - } - return ''; - }, - - /** - * @api private - * update httpRequest endpoint with endpoint string - */ - updateEndpoint: function updateEndpoint(endpointStr) { - var newEndpoint = new AWS.Endpoint(endpointStr); - this.endpoint = newEndpoint; - this.path = newEndpoint.path || '/'; - if (this.headers['Host']) { - this.headers['Host'] = newEndpoint.host; - } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); } -}); - -/** - * The low level HTTP response object, encapsulating all HTTP header - * and body data returned from the request. - * - * @!attribute statusCode - * @return [Integer] the HTTP status code of the response (e.g., 200, 404) - * @!attribute headers - * @return [map] - * a map of response header keys and their respective values - * @!attribute body - * @return [String] the response body payload - * @!attribute [r] streaming - * @return [Boolean] whether this response is being streamed at a low-level. - * Defaults to `false` (buffered reads). Do not modify this manually, use - * {createUnbufferedStream} to convert the stream to unbuffered mode - * instead. - */ -AWS.HttpResponse = inherit({ - - /** - * @api private - */ - constructor: function HttpResponse() { - this.statusCode = undefined; - this.headers = {}; - this.body = undefined; - this.streaming = false; - this.stream = null; - }, - - /** - * Disables buffering on the HTTP response and returns the stream for reading. - * @return [Stream, XMLHttpRequest, null] the underlying stream object. - * Use this object to directly read data off of the stream. - * @note This object is only available after the {AWS.Request~httpHeaders} - * event has fired. This method must be called prior to - * {AWS.Request~httpData}. - * @example Taking control of a stream - * request.on('httpHeaders', function(statusCode, headers) { - * if (statusCode < 300) { - * if (headers.etag === 'xyz') { - * // pipe the stream, disabling buffering - * var stream = this.response.httpResponse.createUnbufferedStream(); - * stream.pipe(process.stdout); - * } else { // abort this request and set a better error message - * this.abort(); - * this.response.error = new Error('Invalid ETag'); - * } - * } - * }).send(console.log); - */ - createUnbufferedStream: function createUnbufferedStream() { - this.streaming = true; - return this.stream; + if (output[_sSs] != null) { + contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); } -}); - - -AWS.HttpClient = inherit({}); - -/** - * @api private - */ -AWS.HttpClient.getInstance = function getInstance() { - if (this.singleton === undefined) { - this.singleton = new this(); + return contents; +}, "de_VerifiedAccessEndpoint"); +var de_VerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); } - return this.singleton; -}; - - -/***/ }), - -/***/ 2310: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -var Stream = AWS.util.stream.Stream; -var TransformStream = AWS.util.stream.Transform; -var ReadableStream = AWS.util.stream.Readable; -__nccwpck_require__(1556); -var CONNECTION_REUSE_ENV_NAME = 'AWS_NODEJS_CONNECTION_REUSE_ENABLED'; - -/** - * @api private - */ -AWS.NodeHttpClient = AWS.util.inherit({ - handleRequest: function handleRequest(httpRequest, httpOptions, callback, errCallback) { - var self = this; - var endpoint = httpRequest.endpoint; - var pathPrefix = ''; - if (!httpOptions) httpOptions = {}; - if (httpOptions.proxy) { - pathPrefix = endpoint.protocol + '//' + endpoint.hostname; - if (endpoint.port !== 80 && endpoint.port !== 443) { - pathPrefix += ':' + endpoint.port; - } - endpoint = new AWS.Endpoint(httpOptions.proxy); - } - - var useSSL = endpoint.protocol === 'https:'; - var http = useSSL ? __nccwpck_require__(95687) : __nccwpck_require__(13685); - var options = { - host: endpoint.hostname, - port: endpoint.port, - method: httpRequest.method, - headers: httpRequest.headers, - path: pathPrefix + httpRequest.path - }; - - AWS.util.update(options, httpOptions); - - if (!httpOptions.agent) { - options.agent = this.getAgent(useSSL, { - keepAlive: process.env[CONNECTION_REUSE_ENV_NAME] === '1' ? true : false - }); - } - - delete options.proxy; // proxy isn't an HTTP option - delete options.timeout; // timeout isn't an HTTP option - - var stream = http.request(options, function (httpResp) { - if (stream.didCallback) return; - - callback(httpResp); - httpResp.emit( - 'headers', - httpResp.statusCode, - httpResp.headers, - httpResp.statusMessage - ); - }); - httpRequest.stream = stream; // attach stream to httpRequest - stream.didCallback = false; - - // connection timeout support - if (httpOptions.connectTimeout) { - var connectTimeoutId; - stream.on('socket', function(socket) { - if (socket.connecting) { - connectTimeoutId = setTimeout(function connectTimeout() { - if (stream.didCallback) return; stream.didCallback = true; - - stream.abort(); - errCallback(AWS.util.error( - new Error('Socket timed out without establishing a connection'), - {code: 'TimeoutError'} - )); - }, httpOptions.connectTimeout); - socket.on('connect', function() { - clearTimeout(connectTimeoutId); - connectTimeoutId = null; - }); - } - }); - } - - // timeout support - stream.setTimeout(httpOptions.timeout || 0, function() { - if (stream.didCallback) return; stream.didCallback = true; - - var msg = 'Connection timed out after ' + httpOptions.timeout + 'ms'; - errCallback(AWS.util.error(new Error(msg), {code: 'TimeoutError'})); - stream.abort(); - }); - - stream.on('error', function(err) { - if (connectTimeoutId) { - clearTimeout(connectTimeoutId); - connectTimeoutId = null; - } - if (stream.didCallback) return; stream.didCallback = true; - if ('ECONNRESET' === err.code || 'EPIPE' === err.code || 'ETIMEDOUT' === err.code) { - errCallback(AWS.util.error(err, {code: 'TimeoutError'})); - } else { - errCallback(err); - } - }); - - var expect = httpRequest.headers.Expect || httpRequest.headers.expect; - if (expect === '100-continue') { - stream.once('continue', function() { - self.writeBody(stream, httpRequest); - }); - } else { - this.writeBody(stream, httpRequest); - } - - return stream; - }, - - writeBody: function writeBody(stream, httpRequest) { - var body = httpRequest.body; - var totalBytes = parseInt(httpRequest.headers['Content-Length'], 10); - - if (body instanceof Stream) { - // For progress support of streaming content - - // pipe the data through a transform stream to emit 'sendProgress' events - var progressStream = this.progressStream(stream, totalBytes); - if (progressStream) { - body.pipe(progressStream).pipe(stream); - } else { - body.pipe(stream); - } - } else if (body) { - // The provided body is a buffer/string and is already fully available in memory - - // For performance it's best to send it as a whole by calling stream.end(body), - // Callers expect a 'sendProgress' event which is best emitted once - // the http request stream has been fully written and all data flushed. - // The use of totalBytes is important over body.length for strings where - // length is char length and not byte length. - stream.once('finish', function() { - stream.emit('sendProgress', { - loaded: totalBytes, - total: totalBytes - }); - }); - stream.end(body); - } else { - // no request body - stream.end(); - } - }, - - /** - * Create the https.Agent or http.Agent according to the request schema. - */ - getAgent: function getAgent(useSSL, agentOptions) { - var http = useSSL ? __nccwpck_require__(95687) : __nccwpck_require__(13685); - if (useSSL) { - if (!AWS.NodeHttpClient.sslAgent) { - AWS.NodeHttpClient.sslAgent = new http.Agent(AWS.util.merge({ - rejectUnauthorized: process.env.NODE_TLS_REJECT_UNAUTHORIZED === '0' ? false : true - }, agentOptions || {})); - AWS.NodeHttpClient.sslAgent.setMaxListeners(0); - - // delegate maxSockets to globalAgent, set a default limit of 50 if current value is Infinity. - // Users can bypass this default by supplying their own Agent as part of SDK configuration. - Object.defineProperty(AWS.NodeHttpClient.sslAgent, 'maxSockets', { - enumerable: true, - get: function() { - var defaultMaxSockets = 50; - var globalAgent = http.globalAgent; - if (globalAgent && globalAgent.maxSockets !== Infinity && typeof globalAgent.maxSockets === 'number') { - return globalAgent.maxSockets; - } - return defaultMaxSockets; - } - }); - } - return AWS.NodeHttpClient.sslAgent; - } else { - if (!AWS.NodeHttpClient.agent) { - AWS.NodeHttpClient.agent = new http.Agent(agentOptions); - } - return AWS.NodeHttpClient.agent; - } - }, - - progressStream: function progressStream(stream, totalBytes) { - if (typeof TransformStream === 'undefined') { - // for node 0.8 there is no streaming progress - return; - } - var loadedBytes = 0; - var reporter = new TransformStream(); - reporter._transform = function(chunk, encoding, callback) { - if (chunk) { - loadedBytes += chunk.length; - stream.emit('sendProgress', { - loaded: loadedBytes, - total: totalBytes - }); - } - callback(null, chunk); - }; - return reporter; - }, - - emitter: null -}); - -/** - * @!ignore - */ - -/** - * @api private - */ -AWS.HttpClient.prototype = AWS.NodeHttpClient.prototype; - -/** - * @api private - */ -AWS.HttpClient.streamsApiVersion = ReadableStream ? 2 : 1; - - -/***/ }), - -/***/ 47495: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = __nccwpck_require__(77985); - -function JsonBuilder() { } - -JsonBuilder.prototype.build = function(value, shape) { - return JSON.stringify(translate(value, shape)); -}; - -function translate(value, shape) { - if (!shape || value === undefined || value === null) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); } -} - -function translateStructure(structure, shape) { - if (shape.isDocument) { - return structure; + if (output[_po] != null) { + contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); } - var struct = {}; - util.each(structure, function(name, value) { - var memberShape = shape.members[name]; - if (memberShape) { - if (memberShape.location !== 'body') return; - var locationName = memberShape.isLocationName ? memberShape.name : name; - var result = translate(value, memberShape); - if (result !== undefined) struct[locationName] = result; - } + return contents; +}, "de_VerifiedAccessEndpointEniOptions"); +var de_VerifiedAccessEndpointList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessEndpoint(entry, context); }); - return struct; -} - -function translateList(list, shape) { - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result !== undefined) out.push(result); +}, "de_VerifiedAccessEndpointList"); +var de_VerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + if (output[_po] != null) { + contents[_Po] = (0, import_smithy_client.strictParseInt32)(output[_po]); + } + if (output[_lBA] != null) { + contents[_LBA] = (0, import_smithy_client.expectString)(output[_lBA]); + } + if (output.subnetIdSet === "") { + contents[_SIu] = []; + } else if (output[_sISu] != null && output[_sISu][_i] != null) { + contents[_SIu] = de_VerifiedAccessEndpointSubnetIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context); + } + return contents; +}, "de_VerifiedAccessEndpointLoadBalancerOptions"); +var de_VerifiedAccessEndpointStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_VerifiedAccessEndpointStatus"); +var de_VerifiedAccessEndpointSubnetIdList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); }); - return out; -} - -function translateMap(map, shape) { - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result !== undefined) out[key] = result; +}, "de_VerifiedAccessEndpointSubnetIdList"); +var de_VerifiedAccessGroup = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAGI] != null) { + contents[_VAGI] = (0, import_smithy_client.expectString)(output[_vAGI]); + } + if (output[_vAII] != null) { + contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_ow] != null) { + contents[_Own] = (0, import_smithy_client.expectString)(output[_ow]); + } + if (output[_vAGA] != null) { + contents[_VAGA] = (0, import_smithy_client.expectString)(output[_vAGA]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); + } + if (output[_lUT] != null) { + contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); + } + if (output[_dT] != null) { + contents[_DTel] = (0, import_smithy_client.expectString)(output[_dT]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_sSs] != null) { + contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); + } + return contents; +}, "de_VerifiedAccessGroup"); +var de_VerifiedAccessGroupList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessGroup(entry, context); }); - return out; -} - -function translateScalar(value, shape) { - return shape.toWireFormat(value); -} - -/** - * @api private - */ -module.exports = JsonBuilder; - - -/***/ }), - -/***/ 5474: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var util = __nccwpck_require__(77985); - -function JsonParser() { } - -JsonParser.prototype.parse = function(value, shape) { - return translate(JSON.parse(value), shape); -}; - -function translate(value, shape) { - if (!shape || value === undefined) return undefined; - - switch (shape.type) { - case 'structure': return translateStructure(value, shape); - case 'map': return translateMap(value, shape); - case 'list': return translateList(value, shape); - default: return translateScalar(value, shape); +}, "de_VerifiedAccessGroupList"); +var de_VerifiedAccessInstance = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAII] != null) { + contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output.verifiedAccessTrustProviderSet === "") { + contents[_VATPe] = []; + } else if (output[_vATPS] != null && output[_vATPS][_i] != null) { + contents[_VATPe] = de_VerifiedAccessTrustProviderCondensedList((0, import_smithy_client.getArrayIfSingleItem)(output[_vATPS][_i]), context); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); + } + if (output[_lUT] != null) { + contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_fE] != null) { + contents[_FE] = (0, import_smithy_client.parseBoolean)(output[_fE]); + } + return contents; +}, "de_VerifiedAccessInstance"); +var de_VerifiedAccessInstanceList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessInstance(entry, context); + }); +}, "de_VerifiedAccessInstanceList"); +var de_VerifiedAccessInstanceLoggingConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAII] != null) { + contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); + } + if (output[_aLc] != null) { + contents[_AL] = de_VerifiedAccessLogs(output[_aLc], context); + } + return contents; +}, "de_VerifiedAccessInstanceLoggingConfiguration"); +var de_VerifiedAccessInstanceLoggingConfigurationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessInstanceLoggingConfiguration(entry, context); + }); +}, "de_VerifiedAccessInstanceLoggingConfigurationList"); +var de_VerifiedAccessLogCloudWatchLogsDestination = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); } -} - -function translateStructure(structure, shape) { - if (structure == null) return undefined; - if (shape.isDocument) return structure; - - var struct = {}; - var shapeMembers = shape.members; - var isAwsQueryCompatible = shape.api && shape.api.awsQueryCompatible; - util.each(shapeMembers, function(name, memberShape) { - var locationName = memberShape.isLocationName ? memberShape.name : name; - if (Object.prototype.hasOwnProperty.call(structure, locationName)) { - var value = structure[locationName]; - var result = translate(value, memberShape); - if (result !== undefined) struct[name] = result; - } else if (isAwsQueryCompatible && memberShape.defaultValue) { - if (memberShape.type === 'list') { - struct[name] = typeof memberShape.defaultValue === 'function' ? memberShape.defaultValue() : memberShape.defaultValue; - } - } + if (output[_dSel] != null) { + contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); + } + if (output[_lGo] != null) { + contents[_LGo] = (0, import_smithy_client.expectString)(output[_lGo]); + } + return contents; +}, "de_VerifiedAccessLogCloudWatchLogsDestination"); +var de_VerifiedAccessLogDeliveryStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_VerifiedAccessLogDeliveryStatus"); +var de_VerifiedAccessLogKinesisDataFirehoseDestination = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + if (output[_dSel] != null) { + contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); + } + if (output[_dSeli] != null) { + contents[_DSel] = (0, import_smithy_client.expectString)(output[_dSeli]); + } + return contents; +}, "de_VerifiedAccessLogKinesisDataFirehoseDestination"); +var de_VerifiedAccessLogs = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_s_] != null) { + contents[_S_] = de_VerifiedAccessLogS3Destination(output[_s_], context); + } + if (output[_cWL] != null) { + contents[_CWL] = de_VerifiedAccessLogCloudWatchLogsDestination(output[_cWL], context); + } + if (output[_kDF] != null) { + contents[_KDF] = de_VerifiedAccessLogKinesisDataFirehoseDestination(output[_kDF], context); + } + if (output[_lV] != null) { + contents[_LV] = (0, import_smithy_client.expectString)(output[_lV]); + } + if (output[_iTCn] != null) { + contents[_ITCn] = (0, import_smithy_client.parseBoolean)(output[_iTCn]); + } + return contents; +}, "de_VerifiedAccessLogs"); +var de_VerifiedAccessLogS3Destination = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_en] != null) { + contents[_En] = (0, import_smithy_client.parseBoolean)(output[_en]); + } + if (output[_dSel] != null) { + contents[_DSeli] = de_VerifiedAccessLogDeliveryStatus(output[_dSel], context); + } + if (output[_bN] != null) { + contents[_BN] = (0, import_smithy_client.expectString)(output[_bN]); + } + if (output[_pre] != null) { + contents[_Pr] = (0, import_smithy_client.expectString)(output[_pre]); + } + if (output[_bO] != null) { + contents[_BOu] = (0, import_smithy_client.expectString)(output[_bO]); + } + return contents; +}, "de_VerifiedAccessLogS3Destination"); +var de_VerifiedAccessSseSpecificationResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cMKE] != null) { + contents[_CMKE] = (0, import_smithy_client.parseBoolean)(output[_cMKE]); + } + if (output[_kKA] != null) { + contents[_KKA] = (0, import_smithy_client.expectString)(output[_kKA]); + } + return contents; +}, "de_VerifiedAccessSseSpecificationResponse"); +var de_VerifiedAccessTrustProvider = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATPI] != null) { + contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_tPT] != null) { + contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]); + } + if (output[_uTPT] != null) { + contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]); + } + if (output[_dTPT] != null) { + contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]); + } + if (output[_oO] != null) { + contents[_OO] = de_OidcOptions(output[_oO], context); + } + if (output[_dOev] != null) { + contents[_DOe] = de_DeviceOptions(output[_dOev], context); + } + if (output[_pRNo] != null) { + contents[_PRN] = (0, import_smithy_client.expectString)(output[_pRNo]); + } + if (output[_cTre] != null) { + contents[_CTre] = (0, import_smithy_client.expectString)(output[_cTre]); + } + if (output[_lUT] != null) { + contents[_LUT] = (0, import_smithy_client.expectString)(output[_lUT]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_sSs] != null) { + contents[_SS] = de_VerifiedAccessSseSpecificationResponse(output[_sSs], context); + } + return contents; +}, "de_VerifiedAccessTrustProvider"); +var de_VerifiedAccessTrustProviderCondensed = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vATPI] != null) { + contents[_VATPI] = (0, import_smithy_client.expectString)(output[_vATPI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_tPT] != null) { + contents[_TPT] = (0, import_smithy_client.expectString)(output[_tPT]); + } + if (output[_uTPT] != null) { + contents[_UTPT] = (0, import_smithy_client.expectString)(output[_uTPT]); + } + if (output[_dTPT] != null) { + contents[_DTPT] = (0, import_smithy_client.expectString)(output[_dTPT]); + } + return contents; +}, "de_VerifiedAccessTrustProviderCondensed"); +var de_VerifiedAccessTrustProviderCondensedList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessTrustProviderCondensed(entry, context); }); - return struct; -} - -function translateList(list, shape) { - if (list == null) return undefined; - - var out = []; - util.arrayEach(list, function(value) { - var result = translate(value, shape.member); - if (result === undefined) out.push(null); - else out.push(result); +}, "de_VerifiedAccessTrustProviderCondensedList"); +var de_VerifiedAccessTrustProviderList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessTrustProvider(entry, context); }); - return out; -} - -function translateMap(map, shape) { - if (map == null) return undefined; - - var out = {}; - util.each(map, function(key, value) { - var result = translate(value, shape.value); - if (result === undefined) out[key] = null; - else out[key] = result; +}, "de_VerifiedAccessTrustProviderList"); +var de_VgwTelemetry = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aRC] != null) { + contents[_ARC] = (0, import_smithy_client.strictParseInt32)(output[_aRC]); + } + if (output[_lSC] != null) { + contents[_LSC] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lSC])); + } + if (output[_oIA] != null) { + contents[_OIA] = (0, import_smithy_client.expectString)(output[_oIA]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_cAe] != null) { + contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]); + } + return contents; +}, "de_VgwTelemetry"); +var de_VgwTelemetryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VgwTelemetry(entry, context); }); - return out; -} - -function translateScalar(value, shape) { - return shape.toType(value); -} - -/** - * @api private - */ -module.exports = JsonParser; - - -/***/ }), - -/***/ 93985: -/***/ ((module) => { - -var warning = [ - 'We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.\n', - 'Please migrate your code to use AWS SDK for JavaScript (v3).', - 'For more information, check the migration guide at https://a.co/7PzMCcy' -].join('\n'); - -module.exports = { - suppress: false -}; - -/** - * To suppress this message: - * @example - * require('aws-sdk/lib/maintenance_mode_message').suppress = true; - */ -function emitWarning() { - if (typeof process === 'undefined') - return; - - // Skip maintenance mode message in Lambda environments - if ( - typeof process.env === 'object' && - typeof process.env.AWS_EXECUTION_ENV !== 'undefined' && - process.env.AWS_EXECUTION_ENV.indexOf('AWS_Lambda_') === 0 - ) { - return; +}, "de_VgwTelemetryList"); +var de_VirtualizationTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_VirtualizationTypeList"); +var de_Volume = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.attachmentSet === "") { + contents[_Atta] = []; + } else if (output[_aSt] != null && output[_aSt][_i] != null) { + contents[_Atta] = de_VolumeAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSt][_i]), context); } - - if ( - typeof process.env === 'object' && - typeof process.env.AWS_SDK_JS_SUPPRESS_MAINTENANCE_MODE_MESSAGE !== 'undefined' - ) { - return; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); } - - if (typeof process.emitWarning === 'function') { - process.emitWarning(warning, { - type: 'NOTE' - }); + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); } -} - -setTimeout(function () { - if (!module.exports.suppress) { - emitWarning(); + if (output[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); } -}, 0); - - -/***/ }), - -/***/ 25768: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { - -var AWS = __nccwpck_require__(28437); -__nccwpck_require__(1556); -var inherit = AWS.util.inherit; -var getMetadataServiceEndpoint = __nccwpck_require__(608); -var URL = (__nccwpck_require__(57310).URL); - -/** - * Represents a metadata service available on EC2 instances. Using the - * {request} method, you can receieve metadata about any available resource - * on the metadata service. - * - * You can disable the use of the IMDS by setting the AWS_EC2_METADATA_DISABLED - * environment variable to a truthy value. - * - * @!attribute [r] httpOptions - * @return [map] a map of options to pass to the underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * - * @!macro nobrowser - */ -AWS.MetadataService = inherit({ - /** - * @return [String] the endpoint of the instance metadata service - */ - endpoint: getMetadataServiceEndpoint(), - - /** - * @!ignore - */ - - /** - * Default HTTP options. By default, the metadata service is set to not - * timeout on long requests. This means that on non-EC2 machines, this - * request will never return. If you are calling this operation from an - * environment that may not always run on EC2, set a `timeout` value so - * the SDK will abort the request after a given number of milliseconds. - */ - httpOptions: { timeout: 0 }, - - /** - * when enabled, metadata service will not fetch token - */ - disableFetchToken: false, - - /** - * Creates a new MetadataService object with a given set of options. - * - * @option options host [String] the hostname of the instance metadata - * service - * @option options httpOptions [map] a map of options to pass to the - * underlying HTTP request: - * - * * **timeout** (Number) — a timeout value in milliseconds to wait - * before aborting the connection. Set to 0 for no timeout. - * @option options maxRetries [Integer] the maximum number of retries to - * perform for timeout errors - * @option options retryDelayOptions [map] A set of options to configure the - * retry delay on retryable errors. See AWS.Config for details. - * @option options ec2MetadataV1Disabled [boolean] Whether to block IMDS v1 fallback. - * @option options profile [string] A profile to check for IMDSv1 fallback settings. - * @option options filename [string] Optional filename for the config file. - */ - constructor: function MetadataService(options) { - if (options && options.host) { - options.endpoint = 'http://' + options.host; - delete options.host; - } - this.profile = options && options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; - this.ec2MetadataV1Disabled = !!(options && options.ec2MetadataV1Disabled); - this.filename = options && options.filename; - AWS.util.update(this, options); - }, - - /** - * Sends a request to the instance metadata service for a given resource. - * - * @param path [String] the path of the resource to get - * - * @param options [map] an optional map used to make request - * - * * **method** (String) — HTTP request method - * - * * **headers** (map) — a map of response header keys and their respective values - * - * @callback callback function(err, data) - * Called when a response is available from the service. - * @param err [Error, null] if an error occurred, this value will be set - * @param data [String, null] if the request was successful, the body of - * the response - */ - request: function request(path, options, callback) { - if (arguments.length === 2) { - callback = options; - options = {}; - } - - if (process.env[AWS.util.imdsDisabledEnv]) { - callback(new Error('EC2 Instance Metadata Service access disabled')); - return; - } - - path = path || '/'; - - // Verify that host is a valid URL - if (URL) { new URL(this.endpoint); } - - var httpRequest = new AWS.HttpRequest(this.endpoint + path); - httpRequest.method = options.method || 'GET'; - if (options.headers) { - httpRequest.headers = options.headers; - } - AWS.util.handleRequestWithRetries(httpRequest, this, callback); - }, - - /** - * @api private - */ - loadCredentialsCallbacks: [], - - /** - * Fetches metadata token used for getting credentials - * - * @api private - * @callback callback function(err, token) - * Called when token is loaded from the resource - */ - fetchMetadataToken: function fetchMetadataToken(callback) { - var self = this; - var tokenFetchPath = '/latest/api/token'; - self.request( - tokenFetchPath, - { - 'method': 'PUT', - 'headers': { - 'x-aws-ec2-metadata-token-ttl-seconds': '21600' - } - }, - callback - ); - }, - - /** - * Fetches credentials - * - * @api private - * @callback cb function(err, creds) - * Called when credentials are loaded from the resource - */ - fetchCredentials: function fetchCredentials(options, cb) { - var self = this; - var basePath = '/latest/meta-data/iam/security-credentials/'; - - var isImdsV1Fallback = self.disableFetchToken - || !(options && options.headers && options.headers['x-aws-ec2-metadata-token']); - - if (isImdsV1Fallback && !(process.env.AWS_EC2_METADATA_DISABLED)) { - try { - var profiles = AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader, this.filename); - var profileSettings = profiles[this.profile] || {}; - } catch (e) { - profileSettings = {}; - } - - if (profileSettings.ec2_metadata_v1_disabled && profileSettings.ec2_metadata_v1_disabled !== 'false') { - return cb(AWS.util.error( - new Error('AWS EC2 Metadata v1 fallback has been blocked by AWS config file profile.') - )); - } - - if (self.ec2MetadataV1Disabled) { - return cb(AWS.util.error( - new Error('AWS EC2 Metadata v1 fallback has been blocked by AWS.MetadataService::options.ec2MetadataV1Disabled=true.') - )); - } - - if (process.env.AWS_EC2_METADATA_V1_DISABLED && process.env.AWS_EC2_METADATA_V1_DISABLED !== 'false') { - return cb(AWS.util.error( - new Error('AWS EC2 Metadata v1 fallback has been blocked by process.env.AWS_EC2_METADATA_V1_DISABLED.') - )); - } - } - - self.request(basePath, options, function (err, roleName) { - if (err) { - self.disableFetchToken = !(err.statusCode === 401); - cb(AWS.util.error( - err, - { - message: 'EC2 Metadata roleName request returned error' - } - )); - return; - } - roleName = roleName.split('\n')[0]; // grab first (and only) role - self.request(basePath + roleName, options, function (credErr, credData) { - if (credErr) { - self.disableFetchToken = !(credErr.statusCode === 401); - cb(AWS.util.error( - credErr, - { - message: 'EC2 Metadata creds request returned error' - } - )); - return; - } - try { - var credentials = JSON.parse(credData); - cb(null, credentials); - } catch (parseError) { - cb(parseError); - } - }); - }); - }, - - /** - * Loads a set of credentials stored in the instance metadata service - * - * @api private - * @callback callback function(err, credentials) - * Called when credentials are loaded from the resource - * @param err [Error] if an error occurred, this value will be set - * @param credentials [Object] the raw JSON object containing all - * metadata from the credentials resource - */ - loadCredentials: function loadCredentials(callback) { - var self = this; - self.loadCredentialsCallbacks.push(callback); - if (self.loadCredentialsCallbacks.length > 1) { return; } - - function callbacks(err, creds) { - var cb; - while ((cb = self.loadCredentialsCallbacks.shift()) !== undefined) { - cb(err, creds); - } - } - - if (self.disableFetchToken) { - self.fetchCredentials({}, callbacks); - } else { - self.fetchMetadataToken(function(tokenError, token) { - if (tokenError) { - if (tokenError.code === 'TimeoutError') { - self.disableFetchToken = true; - } else if (tokenError.retryable === true) { - callbacks(AWS.util.error( - tokenError, - { - message: 'EC2 Metadata token request returned error' - } - )); - return; - } else if (tokenError.statusCode === 400) { - callbacks(AWS.util.error( - tokenError, - { - message: 'EC2 Metadata token request returned 400' - } - )); - return; - } - } - var options = {}; - if (token) { - options.headers = { - 'x-aws-ec2-metadata-token': token - }; - } - self.fetchCredentials(options, callbacks); - }); - - } + if (output[_kKI] != null) { + contents[_KKI] = (0, import_smithy_client.expectString)(output[_kKI]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output[_si] != null) { + contents[_Siz] = (0, import_smithy_client.strictParseInt32)(output[_si]); + } + if (output[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_io] != null) { + contents[_Io] = (0, import_smithy_client.strictParseInt32)(output[_io]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vT] != null) { + contents[_VT] = (0, import_smithy_client.expectString)(output[_vT]); + } + if (output[_fRa] != null) { + contents[_FRa] = (0, import_smithy_client.parseBoolean)(output[_fRa]); + } + if (output[_mAE] != null) { + contents[_MAE] = (0, import_smithy_client.parseBoolean)(output[_mAE]); + } + if (output[_th] != null) { + contents[_Th] = (0, import_smithy_client.strictParseInt32)(output[_th]); + } + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); + } + return contents; +}, "de_Volume"); +var de_VolumeAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aTt] != null) { + contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); + } + if (output[_dev] != null) { + contents[_Dev] = (0, import_smithy_client.expectString)(output[_dev]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_dOT] != null) { + contents[_DOT] = (0, import_smithy_client.parseBoolean)(output[_dOT]); + } + if (output[_aRs] != null) { + contents[_ARs] = (0, import_smithy_client.expectString)(output[_aRs]); + } + if (output[_iOS] != null) { + contents[_IOS] = (0, import_smithy_client.expectString)(output[_iOS]); + } + return contents; +}, "de_VolumeAttachment"); +var de_VolumeAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeAttachment(entry, context); + }); +}, "de_VolumeAttachmentList"); +var de_VolumeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Volume(entry, context); + }); +}, "de_VolumeList"); +var de_VolumeModification = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_mSod] != null) { + contents[_MSod] = (0, import_smithy_client.expectString)(output[_mSod]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + if (output[_tSar] != null) { + contents[_TSar] = (0, import_smithy_client.strictParseInt32)(output[_tSar]); + } + if (output[_tIa] != null) { + contents[_TIa] = (0, import_smithy_client.strictParseInt32)(output[_tIa]); + } + if (output[_tVT] != null) { + contents[_TVT] = (0, import_smithy_client.expectString)(output[_tVT]); + } + if (output[_tTa] != null) { + contents[_TTa] = (0, import_smithy_client.strictParseInt32)(output[_tTa]); + } + if (output[_tMAE] != null) { + contents[_TMAE] = (0, import_smithy_client.parseBoolean)(output[_tMAE]); + } + if (output[_oSr] != null) { + contents[_OSr] = (0, import_smithy_client.strictParseInt32)(output[_oSr]); + } + if (output[_oIr] != null) { + contents[_OIr] = (0, import_smithy_client.strictParseInt32)(output[_oIr]); + } + if (output[_oVT] != null) { + contents[_OVT] = (0, import_smithy_client.expectString)(output[_oVT]); + } + if (output[_oTr] != null) { + contents[_OTr] = (0, import_smithy_client.strictParseInt32)(output[_oTr]); + } + if (output[_oMAE] != null) { + contents[_OMAE] = (0, import_smithy_client.parseBoolean)(output[_oMAE]); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.strictParseLong)(output[_pro]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_eTndi] != null) { + contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTndi])); + } + return contents; +}, "de_VolumeModification"); +var de_VolumeModificationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeModification(entry, context); + }); +}, "de_VolumeModificationList"); +var de_VolumeStatusAction = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_eIve] != null) { + contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]); + } + if (output[_eTv] != null) { + contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); + } + return contents; +}, "de_VolumeStatusAction"); +var de_VolumeStatusActionsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeStatusAction(entry, context); + }); +}, "de_VolumeStatusActionsList"); +var de_VolumeStatusAttachmentStatus = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iPo] != null) { + contents[_IPo] = (0, import_smithy_client.expectString)(output[_iPo]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + return contents; +}, "de_VolumeStatusAttachmentStatus"); +var de_VolumeStatusAttachmentStatusList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeStatusAttachmentStatus(entry, context); + }); +}, "de_VolumeStatusAttachmentStatusList"); +var de_VolumeStatusDetails = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_n] != null) { + contents[_N] = (0, import_smithy_client.expectString)(output[_n]); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_VolumeStatusDetails"); +var de_VolumeStatusDetailsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeStatusDetails(entry, context); + }); +}, "de_VolumeStatusDetailsList"); +var de_VolumeStatusEvent = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_eIve] != null) { + contents[_EIve] = (0, import_smithy_client.expectString)(output[_eIve]); + } + if (output[_eTv] != null) { + contents[_ETv] = (0, import_smithy_client.expectString)(output[_eTv]); + } + if (output[_nAo] != null) { + contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo])); + } + if (output[_nB] != null) { + contents[_NB] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nB])); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + return contents; +}, "de_VolumeStatusEvent"); +var de_VolumeStatusEventsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeStatusEvent(entry, context); + }); +}, "de_VolumeStatusEventsList"); +var de_VolumeStatusInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.details === "") { + contents[_Det] = []; + } else if (output[_det] != null && output[_det][_i] != null) { + contents[_Det] = de_VolumeStatusDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_det][_i]), context); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + return contents; +}, "de_VolumeStatusInfo"); +var de_VolumeStatusItem = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.actionsSet === "") { + contents[_Acti] = []; + } else if (output[_aSct] != null && output[_aSct][_i] != null) { + contents[_Acti] = de_VolumeStatusActionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSct][_i]), context); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + if (output.eventsSet === "") { + contents[_Ev] = []; + } else if (output[_eSv] != null && output[_eSv][_i] != null) { + contents[_Ev] = de_VolumeStatusEventsList((0, import_smithy_client.getArrayIfSingleItem)(output[_eSv][_i]), context); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_vSol] != null) { + contents[_VSol] = de_VolumeStatusInfo(output[_vSol], context); + } + if (output.attachmentStatuses === "") { + contents[_ASt] = []; + } else if (output[_aStt] != null && output[_aStt][_i] != null) { + contents[_ASt] = de_VolumeStatusAttachmentStatusList((0, import_smithy_client.getArrayIfSingleItem)(output[_aStt][_i]), context); + } + return contents; +}, "de_VolumeStatusItem"); +var de_VolumeStatusList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VolumeStatusItem(entry, context); + }); +}, "de_VolumeStatusList"); +var de_Vpc = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_dOI] != null) { + contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_iTns] != null) { + contents[_ITns] = (0, import_smithy_client.expectString)(output[_iTns]); + } + if (output.ipv6CidrBlockAssociationSet === "") { + contents[_ICBAS] = []; + } else if (output[_iCBAS] != null && output[_iCBAS][_i] != null) { + contents[_ICBAS] = de_VpcIpv6CidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBAS][_i]), context); + } + if (output.cidrBlockAssociationSet === "") { + contents[_CBAS] = []; + } else if (output[_cBAS] != null && output[_cBAS][_i] != null) { + contents[_CBAS] = de_VpcCidrBlockAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBAS][_i]), context); + } + if (output[_iDs] != null) { + contents[_IDs] = (0, import_smithy_client.parseBoolean)(output[_iDs]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_Vpc"); +var de_VpcAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_VpcAttachment"); +var de_VpcAttachmentList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcAttachment(entry, context); + }); +}, "de_VpcAttachmentList"); +var de_VpcCidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_cBS] != null) { + contents[_CBS] = de_VpcCidrBlockState(output[_cBS], context); + } + return contents; +}, "de_VpcCidrBlockAssociation"); +var de_VpcCidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcCidrBlockAssociation(entry, context); + }); +}, "de_VpcCidrBlockAssociationSet"); +var de_VpcCidrBlockState = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sM] != null) { + contents[_SM] = (0, import_smithy_client.expectString)(output[_sM]); + } + return contents; +}, "de_VpcCidrBlockState"); +var de_VpcClassicLink = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cLE] != null) { + contents[_CLE] = (0, import_smithy_client.parseBoolean)(output[_cLE]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_VpcClassicLink"); +var de_VpcClassicLinkList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcClassicLink(entry, context); + }); +}, "de_VpcClassicLinkList"); +var de_VpcEndpoint = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vEI] != null) { + contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); + } + if (output[_vET] != null) { + contents[_VET] = (0, import_smithy_client.expectString)(output[_vET]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_sN] != null) { + contents[_SNe] = (0, import_smithy_client.expectString)(output[_sN]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_pDo] != null) { + contents[_PD] = (0, import_smithy_client.expectString)(output[_pDo]); + } + if (output.routeTableIdSet === "") { + contents[_RTIo] = []; + } else if (output[_rTIS] != null && output[_rTIS][_i] != null) { + contents[_RTIo] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rTIS][_i]), context); + } + if (output.subnetIdSet === "") { + contents[_SIu] = []; + } else if (output[_sISu] != null && output[_sISu][_i] != null) { + contents[_SIu] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_sISu][_i]), context); + } + if (output.groupSet === "") { + contents[_G] = []; + } else if (output[_gS] != null && output[_gS][_i] != null) { + contents[_G] = de_GroupIdentifierSet((0, import_smithy_client.getArrayIfSingleItem)(output[_gS][_i]), context); + } + if (output[_iAT] != null) { + contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]); + } + if (output[_dOn] != null) { + contents[_DOn] = de_DnsOptions(output[_dOn], context); + } + if (output[_pDE] != null) { + contents[_PDE] = (0, import_smithy_client.parseBoolean)(output[_pDE]); + } + if (output[_rM] != null) { + contents[_RMe] = (0, import_smithy_client.parseBoolean)(output[_rM]); + } + if (output.networkInterfaceIdSet === "") { + contents[_NIIe] = []; + } else if (output[_nIIS] != null && output[_nIIS][_i] != null) { + contents[_NIIe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nIIS][_i]), context); + } + if (output.dnsEntrySet === "") { + contents[_DE] = []; + } else if (output[_dES] != null && output[_dES][_i] != null) { + contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context); + } + if (output[_cTrea] != null) { + contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea])); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_lEa] != null) { + contents[_LEa] = de_LastError(output[_lEa], context); + } + return contents; +}, "de_VpcEndpoint"); +var de_VpcEndpointConnection = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sI] != null) { + contents[_SIe] = (0, import_smithy_client.expectString)(output[_sI]); + } + if (output[_vEI] != null) { + contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); + } + if (output[_vEO] != null) { + contents[_VEO] = (0, import_smithy_client.expectString)(output[_vEO]); + } + if (output[_vESpc] != null) { + contents[_VESpc] = (0, import_smithy_client.expectString)(output[_vESpc]); + } + if (output[_cTrea] != null) { + contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea])); + } + if (output.dnsEntrySet === "") { + contents[_DE] = []; + } else if (output[_dES] != null && output[_dES][_i] != null) { + contents[_DE] = de_DnsEntrySet((0, import_smithy_client.getArrayIfSingleItem)(output[_dES][_i]), context); + } + if (output.networkLoadBalancerArnSet === "") { + contents[_NLBAe] = []; + } else if (output[_nLBAS] != null && output[_nLBAS][_i] != null) { + contents[_NLBAe] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nLBAS][_i]), context); + } + if (output.gatewayLoadBalancerArnSet === "") { + contents[_GLBA] = []; + } else if (output[_gLBAS] != null && output[_gLBAS][_i] != null) { + contents[_GLBA] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_gLBAS][_i]), context); + } + if (output[_iAT] != null) { + contents[_IAT] = (0, import_smithy_client.expectString)(output[_iAT]); + } + if (output[_vECI] != null) { + contents[_VECI] = (0, import_smithy_client.expectString)(output[_vECI]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_VpcEndpointConnection"); +var de_VpcEndpointConnectionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcEndpointConnection(entry, context); + }); +}, "de_VpcEndpointConnectionSet"); +var de_VpcEndpointSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcEndpoint(entry, context); + }); +}, "de_VpcEndpointSet"); +var de_VpcIpv6CidrBlockAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aIs] != null) { + contents[_AIss] = (0, import_smithy_client.expectString)(output[_aIs]); + } + if (output[_iCB] != null) { + contents[_ICB] = (0, import_smithy_client.expectString)(output[_iCB]); + } + if (output[_iCBS] != null) { + contents[_ICBS] = de_VpcCidrBlockState(output[_iCBS], context); + } + if (output[_nBG] != null) { + contents[_NBG] = (0, import_smithy_client.expectString)(output[_nBG]); + } + if (output[_iPpvo] != null) { + contents[_IPpv] = (0, import_smithy_client.expectString)(output[_iPpvo]); + } + return contents; +}, "de_VpcIpv6CidrBlockAssociation"); +var de_VpcIpv6CidrBlockAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcIpv6CidrBlockAssociation(entry, context); + }); +}, "de_VpcIpv6CidrBlockAssociationSet"); +var de_VpcList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Vpc(entry, context); + }); +}, "de_VpcList"); +var de_VpcPeeringConnection = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aVI] != null) { + contents[_AVI] = de_VpcPeeringConnectionVpcInfo(output[_aVI], context); + } + if (output[_eT] != null) { + contents[_ETx] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eT])); + } + if (output[_rVIe] != null) { + contents[_RVIe] = de_VpcPeeringConnectionVpcInfo(output[_rVIe], context); + } + if (output[_sta] != null) { + contents[_Statu] = de_VpcPeeringConnectionStateReason(output[_sta], context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output[_vPCI] != null) { + contents[_VPCI] = (0, import_smithy_client.expectString)(output[_vPCI]); + } + return contents; +}, "de_VpcPeeringConnection"); +var de_VpcPeeringConnectionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcPeeringConnection(entry, context); + }); +}, "de_VpcPeeringConnectionList"); +var de_VpcPeeringConnectionOptionsDescription = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aDRFRV] != null) { + contents[_ADRFRV] = (0, import_smithy_client.parseBoolean)(output[_aDRFRV]); + } + if (output[_aEFLCLTRV] != null) { + contents[_AEFLCLTRV] = (0, import_smithy_client.parseBoolean)(output[_aEFLCLTRV]); + } + if (output[_aEFLVTRCL] != null) { + contents[_AEFLVTRCL] = (0, import_smithy_client.parseBoolean)(output[_aEFLVTRCL]); + } + return contents; +}, "de_VpcPeeringConnectionOptionsDescription"); +var de_VpcPeeringConnectionStateReason = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_co] != null) { + contents[_Cod] = (0, import_smithy_client.expectString)(output[_co]); + } + if (output[_me] != null) { + contents[_Me] = (0, import_smithy_client.expectString)(output[_me]); + } + return contents; +}, "de_VpcPeeringConnectionStateReason"); +var de_VpcPeeringConnectionVpcInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output.ipv6CidrBlockSet === "") { + contents[_ICBSp] = []; + } else if (output[_iCBSp] != null && output[_iCBSp][_i] != null) { + contents[_ICBSp] = de_Ipv6CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_iCBSp][_i]), context); + } + if (output.cidrBlockSet === "") { + contents[_CBSi] = []; + } else if (output[_cBSi] != null && output[_cBSi][_i] != null) { + contents[_CBSi] = de_CidrBlockSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBSi][_i]), context); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_pOe] != null) { + contents[_POe] = de_VpcPeeringConnectionOptionsDescription(output[_pOe], context); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_reg] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_reg]); + } + return contents; +}, "de_VpcPeeringConnectionVpcInfo"); +var de_VpnConnection = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cGC] != null) { + contents[_CGC] = (0, import_smithy_client.expectString)(output[_cGC]); + } + if (output[_cGIu] != null) { + contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); + } + if (output[_ca] != null) { + contents[_Cat] = (0, import_smithy_client.expectString)(output[_ca]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_vCI] != null) { + contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]); + } + if (output[_vGI] != null) { + contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); + } + if (output[_tGI] != null) { + contents[_TGI] = (0, import_smithy_client.expectString)(output[_tGI]); + } + if (output[_cNA] != null) { + contents[_CNAo] = (0, import_smithy_client.expectString)(output[_cNA]); + } + if (output[_cNAA] != null) { + contents[_CNAA] = (0, import_smithy_client.expectString)(output[_cNAA]); + } + if (output[_gAS] != null) { + contents[_GAS] = (0, import_smithy_client.expectString)(output[_gAS]); + } + if (output[_op] != null) { + contents[_O] = de_VpnConnectionOptions(output[_op], context); + } + if (output.routes === "") { + contents[_Rou] = []; + } else if (output[_rou] != null && output[_rou][_i] != null) { + contents[_Rou] = de_VpnStaticRouteList((0, import_smithy_client.getArrayIfSingleItem)(output[_rou][_i]), context); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + if (output.vgwTelemetry === "") { + contents[_VTg] = []; + } else if (output[_vTg] != null && output[_vTg][_i] != null) { + contents[_VTg] = de_VgwTelemetryList((0, import_smithy_client.getArrayIfSingleItem)(output[_vTg][_i]), context); + } + return contents; +}, "de_VpnConnection"); +var de_VpnConnectionDeviceType = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vCDTI] != null) { + contents[_VCDTI] = (0, import_smithy_client.expectString)(output[_vCDTI]); + } + if (output[_ven] != null) { + contents[_Ven] = (0, import_smithy_client.expectString)(output[_ven]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_sof] != null) { + contents[_Sof] = (0, import_smithy_client.expectString)(output[_sof]); + } + return contents; +}, "de_VpnConnectionDeviceType"); +var de_VpnConnectionDeviceTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpnConnectionDeviceType(entry, context); + }); +}, "de_VpnConnectionDeviceTypeList"); +var de_VpnConnectionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpnConnection(entry, context); + }); +}, "de_VpnConnectionList"); +var de_VpnConnectionOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eA] != null) { + contents[_EA] = (0, import_smithy_client.parseBoolean)(output[_eA]); + } + if (output[_sRO] != null) { + contents[_SRO] = (0, import_smithy_client.parseBoolean)(output[_sRO]); + } + if (output[_lINC] != null) { + contents[_LINC] = (0, import_smithy_client.expectString)(output[_lINC]); + } + if (output[_rINC] != null) { + contents[_RINC] = (0, import_smithy_client.expectString)(output[_rINC]); + } + if (output[_lINCo] != null) { + contents[_LINCo] = (0, import_smithy_client.expectString)(output[_lINCo]); + } + if (output[_rINCe] != null) { + contents[_RINCe] = (0, import_smithy_client.expectString)(output[_rINCe]); + } + if (output[_oIAT] != null) { + contents[_OIAT] = (0, import_smithy_client.expectString)(output[_oIAT]); + } + if (output[_tTGAI] != null) { + contents[_TTGAI] = (0, import_smithy_client.expectString)(output[_tTGAI]); + } + if (output[_tIIV] != null) { + contents[_TIIV] = (0, import_smithy_client.expectString)(output[_tIIV]); } -}); + if (output.tunnelOptionSet === "") { + contents[_TO] = []; + } else if (output[_tOS] != null && output[_tOS][_i] != null) { + contents[_TO] = de_TunnelOptionsList((0, import_smithy_client.getArrayIfSingleItem)(output[_tOS][_i]), context); + } + return contents; +}, "de_VpnConnectionOptions"); +var de_VpnGateway = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output.attachments === "") { + contents[_VAp] = []; + } else if (output[_att] != null && output[_att][_i] != null) { + contents[_VAp] = de_VpcAttachmentList((0, import_smithy_client.getArrayIfSingleItem)(output[_att][_i]), context); + } + if (output[_vGI] != null) { + contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); + } + if (output[_aSA] != null) { + contents[_ASA] = (0, import_smithy_client.strictParseLong)(output[_aSA]); + } + if (output.tagSet === "") { + contents[_Ta] = []; + } else if (output[_tS] != null && output[_tS][_i] != null) { + contents[_Ta] = de_TagList((0, import_smithy_client.getArrayIfSingleItem)(output[_tS][_i]), context); + } + return contents; +}, "de_VpnGateway"); +var de_VpnGatewayList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpnGateway(entry, context); + }); +}, "de_VpnGatewayList"); +var de_VpnStaticRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_dCB] != null) { + contents[_DCB] = (0, import_smithy_client.expectString)(output[_dCB]); + } + if (output[_s] != null) { + contents[_S] = (0, import_smithy_client.expectString)(output[_s]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_VpnStaticRoute"); +var de_VpnStaticRouteList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpnStaticRoute(entry, context); + }); +}, "de_VpnStaticRouteList"); +var de_VpnTunnelLogOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cWLO] != null) { + contents[_CWLO] = de_CloudWatchLogOptions(output[_cWLO], context); + } + return contents; +}, "de_VpnTunnelLogOptions"); +var de_WithdrawByoipCidrResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bC] != null) { + contents[_BC] = de_ByoipCidr(output[_bC], context); + } + return contents; +}, "de_WithdrawByoipCidrResult"); +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 throwDefaultError = (0, import_smithy_client.withBaseException)(EC2ServiceException); +var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers + }; + if (resolvedHostname !== void 0) { + contents.hostname = resolvedHostname; + } + if (body !== void 0) { + contents.body = body; + } + return new import_protocol_http.HttpRequest(contents); +}, "buildHttpRpcRequest"); +var SHARED_HEADERS = { + "content-type": "application/x-www-form-urlencoded" +}; +var _ = "2016-11-15"; +var _A = "Action"; +var _AA = "AllocateAddress"; +var _AAC = "AsnAuthorizationContext"; +var _AACv = "AvailableAddressCount"; +var _AAG = "AuthorizeAllGroups"; +var _AAI = "AwsAccountId"; +var _AAId = "AddressAllocationId"; +var _AAP = "AddAllowedPrincipals"; +var _AART = "AddAllocationResourceTags"; +var _AASA = "AutoAcceptSharedAssociations"; +var _AASAu = "AutoAcceptSharedAttachments"; +var _AAT = "AcceptAddressTransfer"; +var _AAZ = "AllAvailabilityZones"; +var _AAc = "AccessAll"; +var _AAcc = "AccountAttributes"; +var _AAd = "AdditionalAccounts"; +var _AAs = "AssociateAddress"; +var _AAsn = "AsnAssociation"; +var _AAsns = "AsnAssociations"; +var _ABC = "AdvertiseByoipCidr"; +var _ABHP = "ActualBlockHourlyPrice"; +var _AC = "AllowedCidrs"; +var _ACIA = "AssociateCarrierIpAddress"; +var _ACLV = "AttachClassicLinkVpc"; +var _ACT = "ArchivalCompleteTime"; +var _ACVI = "AuthorizeClientVpnIngress"; +var _ACVTN = "AssociateClientVpnTargetNetwork"; +var _ACc = "AcceleratorCount"; +var _ACd = "AddressCount"; +var _ACv = "AvailableCapacity"; +var _AD = "ActiveDirectory"; +var _ADNL = "AllocationDefaultNetmaskLength"; +var _ADO = "AssociateDhcpOptions"; +var _ADRFRV = "AllowDnsResolutionFromRemoteVpc"; +var _ADRTI = "AssociationDefaultRouteTableId"; +var _ADT = "AdditionalDetailType"; +var _ADd = "AdditionalDetails"; +var _ADn = "AnnouncementDirection"; +var _ADp = "ApplicationDomain"; +var _AE = "AuthorizationEndpoint"; +var _AEC = "AnalyzedEniCount"; +var _AECIR = "AssociateEnclaveCertificateIamRole"; +var _AEFLCLTRV = "AllowEgressFromLocalClassicLinkToRemoteVpc"; +var _AEFLVTRCL = "AllowEgressFromLocalVpcToRemoteClassicLink"; +var _AEIO = "AutoEnableIO"; +var _AET = "AnalysisEndTime"; +var _AEd = "AddEntries"; +var _AF = "AddressFamily"; +var _AFn = "AnalysisFindings"; +var _AGI = "AccessGroupId"; +var _AGLBA = "AddGatewayLoadBalancerArns"; +var _AH = "AllocateHosts"; +var _AI = "AssetIds"; +var _AIA = "AssignIpv6Addresses"; +var _AIAC = "AvailableIpAddressCount"; +var _AIAOC = "AssignIpv6AddressOnCreation"; +var _AIAs = "AssignedIpv6Addresses"; +var _AIB = "AssociateIpamByoasn"; +var _AIC = "AvailableInstanceCapacity"; +var _AICv = "AvailableInstanceCount"; +var _AIEW = "AssociateInstanceEventWindow"; +var _AIG = "AttachInternetGateway"; +var _AIIP = "AssociateIamInstanceProfile"; +var _AIP = "AssignedIpv6Prefixes"; +var _AIPC = "AllocateIpamPoolCidr"; +var _AIPs = "AssignedIpv4Prefixes"; +var _AIRD = "AssociateIpamResourceDiscovery"; +var _AIT = "AllowedInstanceTypes"; +var _AIc = "ActiveInstances"; +var _AIcc = "AccountId"; +var _AId = "AdditionalInfo"; +var _AIl = "AllocationId"; +var _AIll = "AllocationIds"; +var _AIm = "AmiId"; +var _AIs = "AssociationIds"; +var _AIss = "AssociationId"; +var _AIsse = "AssetId"; +var _AIt = "AttachmentId"; +var _AIth = "AthenaIntegrations"; +var _AIu = "AutoImport"; +var _AL = "AccessLogs"; +var _ALI = "AmiLaunchIndex"; +var _ALc = "AccountLevel"; +var _AM = "AcceleratorManufacturers"; +var _AMIT = "AllowsMultipleInstanceTypes"; +var _AMNL = "AllocationMinNetmaskLength"; +var _AMNLl = "AllocationMaxNetmaskLength"; +var _AMS = "ApplianceModeSupport"; +var _AN = "AttributeNames"; +var _ANGA = "AssociateNatGatewayAddress"; +var _ANI = "AttachNetworkInterface"; +var _ANLBA = "AddNetworkLoadBalancerArns"; +var _ANS = "AddNetworkServices"; +var _ANc = "AcceleratorNames"; +var _ANt = "AttributeName"; +var _AO = "AuthenticationOptions"; +var _AOI = "AddressOwnerId"; +var _AOR = "AddOperatingRegions"; +var _AP = "AutoPlacement"; +var _APCO = "AccepterPeeringConnectionOptions"; +var _APH = "AlternatePathHints"; +var _APIA = "AssignPrivateIpAddresses"; +var _APIAs = "AssociatePublicIpAddress"; +var _APIAss = "AssignedPrivateIpAddresses"; +var _APICB = "AmazonProvidedIpv6CidrBlock"; +var _APM = "ApplyPendingMaintenance"; +var _APNGA = "AssignPrivateNatGatewayAddress"; +var _APd = "AddedPrincipals"; +var _APl = "AllowedPrincipals"; +var _AR = "AllowReassignment"; +var _ARA = "AssociatedRoleArn"; +var _ARAd = "AdditionalRoutesAvailable"; +var _ARC = "AcceptedRouteCount"; +var _ARIEQ = "AcceptReservedInstancesExchangeQuote"; +var _ARS = "AutoRecoverySupported"; +var _ART = "AssociateRouteTable"; +var _ARTI = "AddRouteTableIds"; +var _ARTl = "AllocationResourceTags"; +var _ARc = "AcceptanceRequired"; +var _ARcl = "AclRule"; +var _ARd = "AddressRegion"; +var _ARl = "AllowReassociation"; +var _ARll = "AllRegions"; +var _ARs = "AssociatedResource"; +var _ARss = "AssociatedRoles"; +var _ARu = "AutoRecovery"; +var _ARut = "AuthorizationRules"; +var _AS = "AllocationStrategy"; +var _ASA = "AmazonSideAsn"; +var _ASCB = "AssociateSubnetCidrBlock"; +var _ASGE = "AuthorizeSecurityGroupEgress"; +var _ASGI = "AuthorizeSecurityGroupIngress"; +var _ASGId = "AddSecurityGroupIds"; +var _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork"; +var _ASI = "AddSubnetIds"; +var _ASIAT = "AddSupportedIpAddressTypes"; +var _ASS = "AmdSevSnp"; +var _AST = "AnalysisStartTime"; +var _ASTB = "AnalysisStartTimeBegin"; +var _ASTE = "AnalysisStartTimeEnd"; +var _ASc = "ActivityStatus"; +var _ASn = "AnalysisStatus"; +var _ASs = "AssociationState"; +var _ASss = "AssociationStatus"; +var _ASt = "AttachmentStatuses"; +var _ASw = "AwsService"; +var _AT = "AssociationTarget"; +var _ATGAI = "AccepterTransitGatewayAttachmentId"; +var _ATGCB = "AddTransitGatewayCidrBlocks"; +var _ATGMD = "AssociateTransitGatewayMulticastDomain"; +var _ATGMDA = "AcceptTransitGatewayMulticastDomainAssociations"; +var _ATGPA = "AcceptTransitGatewayPeeringAttachment"; +var _ATGPT = "AssociateTransitGatewayPolicyTable"; +var _ATGRT = "AssociateTransitGatewayRouteTable"; +var _ATGVA = "AcceptTransitGatewayVpcAttachment"; +var _ATI = "AssociateTrunkInterface"; +var _ATIc = "AccepterTgwInfo"; +var _ATMMB = "AcceleratorTotalMemoryMiB"; +var _ATN = "AssociatedTargetNetworks"; +var _ATS = "AddressTransferStatus"; +var _ATc = "AcceleratorTypes"; +var _ATd = "AddressingType"; +var _ATdd = "AddressTransfer"; +var _ATddr = "AddressTransfers"; +var _ATddre = "AddressType"; +var _ATl = "AllocationType"; +var _ATll = "AllocationTime"; +var _ATr = "ArchitectureTypes"; +var _ATt = "AttachmentType"; +var _ATtt = "AttachTime"; +var _ATtta = "AttachedTo"; +var _AV = "AttachVolume"; +var _AVATP = "AttachVerifiedAccessTrustProvider"; +var _AVC = "AvailableVCpus"; +var _AVCB = "AssociateVpcCidrBlock"; +var _AVEC = "AcceptVpcEndpointConnections"; +var _AVG = "AttachVpnGateway"; +var _AVI = "AccepterVpcInfo"; +var _AVPC = "AcceptVpcPeeringConnection"; +var _AVt = "AttributeValues"; +var _AVtt = "AttributeValue"; +var _AWSAKI = "AWSAccessKeyId"; +var _AZ = "AvailabilityZone"; +var _AZG = "AvailabilityZoneGroup"; +var _AZI = "AvailabilityZoneId"; +var _AZv = "AvailabilityZones"; +var _Ac = "Accept"; +var _Acc = "Accelerators"; +var _Acl = "Acl"; +var _Act = "Active"; +var _Acti = "Actions"; +var _Ad = "Address"; +var _Add = "Add"; +var _Addr = "Addresses"; +var _Af = "Affinity"; +var _Am = "Amount"; +var _Ar = "Arn"; +var _Arc = "Architecture"; +var _As = "Asn"; +var _Ass = "Associations"; +var _Asso = "Association"; +var _At = "Attribute"; +var _Att = "Attachment"; +var _Atta = "Attachments"; +var _B = "Bucket"; +var _BA = "BgpAsn"; +var _BBIG = "BaselineBandwidthInGbps"; +var _BBIM = "BaselineBandwidthInMbps"; +var _BC = "ByoipCidr"; +var _BCg = "BgpConfigurations"; +var _BCy = "ByoipCidrs"; +var _BCyt = "BytesConverted"; +var _BDM = "BlockDeviceMappings"; +var _BDMl = "BlockDurationMinutes"; +var _BEBM = "BaselineEbsBandwidthMbps"; +var _BEDN = "BaseEndpointDnsNames"; +var _BI = "BundleInstance"; +var _BII = "BranchInterfaceId"; +var _BIa = "BaselineIops"; +var _BIu = "BundleId"; +var _BIun = "BundleIds"; +var _BM = "BootMode"; +var _BMa = "BareMetal"; +var _BN = "BucketName"; +var _BO = "BgpOptions"; +var _BOu = "BucketOwner"; +var _BP = "BurstablePerformance"; +var _BPS = "BurstablePerformanceSupported"; +var _BPi = "BillingProducts"; +var _BS = "BgpStatus"; +var _BT = "BannerText"; +var _BTE = "BundleTaskError"; +var _BTIMB = "BaselineThroughputInMBps"; +var _BTu = "BundleTask"; +var _BTun = "BundleTasks"; +var _Bl = "Blackhole"; +var _By = "Bytes"; +var _Byo = "Byoasn"; +var _Byoa = "Byoasns"; +var _C = "Cidr"; +var _CA = "CertificateArn"; +var _CAC = "CidrAuthorizationContext"; +var _CADNL = "ClearAllocationDefaultNetmaskLength"; +var _CAU = "CoipAddressUsages"; +var _CAa = "CapacityAllocations"; +var _CAo = "ComponentArn"; +var _CAom = "ComponentAccount"; +var _CAr = "CreatedAt"; +var _CB = "CidrBlock"; +var _CBA = "CidrBlockAssociation"; +var _CBAS = "CidrBlockAssociationSet"; +var _CBDH = "CapacityBlockDurationHours"; +var _CBO = "CapacityBlockOfferings"; +var _CBOI = "CapacityBlockOfferingId"; +var _CBS = "CidrBlockState"; +var _CBSi = "CidrBlockSet"; +var _CBT = "CancelBundleTask"; +var _CBr = "CreatedBy"; +var _CC = "CoreCount"; +var _CCB = "ClientCidrBlock"; +var _CCC = "CreateCoipCidr"; +var _CCG = "CreateCarrierGateway"; +var _CCGr = "CreateCustomerGateway"; +var _CCO = "ClientConnectOptions"; +var _CCP = "CreateCoipPool"; +var _CCR = "CancelCapacityReservation"; +var _CCRF = "CancelCapacityReservationFleets"; +var _CCRFE = "CancelCapacityReservationFleetError"; +var _CCRFr = "CreateCapacityReservationFleet"; +var _CCRr = "CreateCapacityReservation"; +var _CCT = "CancelConversionTask"; +var _CCVE = "CreateClientVpnEndpoint"; +var _CCVR = "CreateClientVpnRoute"; +var _CCl = "ClientConfiguration"; +var _CCo = "CoipCidr"; +var _CCp = "CpuCredits"; +var _CCu = "CurrencyCode"; +var _CD = "ClientData"; +var _CDH = "CapacityDurationHours"; +var _CDO = "CreateDhcpOptions"; +var _CDS = "CreateDefaultSubnet"; +var _CDSDA = "ConfigDeliveryS3DestinationArn"; +var _CDSu = "CustomDnsServers"; +var _CDV = "CreateDefaultVpc"; +var _CDr = "CreateDate"; +var _CDre = "CreationDate"; +var _CDrea = "CreatedDate"; +var _CE = "CronExpression"; +var _CEOIG = "CreateEgressOnlyInternetGateway"; +var _CET = "CancelExportTask"; +var _CETo = "ConnectionEstablishedTime"; +var _CETon = "ConnectionEndTime"; +var _CEo = "ConnectionEvents"; +var _CF = "CreateFleet"; +var _CFI = "CopyFpgaImage"; +var _CFIr = "CreateFpgaImage"; +var _CFL = "CreateFlowLogs"; +var _CFS = "CurrentFleetState"; +var _CFo = "ContainerFormat"; +var _CG = "CarrierGateway"; +var _CGC = "CustomerGatewayConfiguration"; +var _CGI = "CarrierGatewayId"; +var _CGIa = "CarrierGatewayIds"; +var _CGIu = "CustomerGatewayId"; +var _CGIus = "CustomerGatewayIds"; +var _CGa = "CarrierGateways"; +var _CGu = "CustomerGateway"; +var _CGur = "CurrentGeneration"; +var _CGus = "CustomerGateways"; +var _CI = "CopyImage"; +var _CIBM = "CurrentInstanceBootMode"; +var _CICE = "CreateInstanceConnectEndpoint"; +var _CIET = "CreateInstanceExportTask"; +var _CIEW = "CreateInstanceEventWindow"; +var _CIG = "CreateInternetGateway"; +var _CILP = "CancelImageLaunchPermission"; +var _CIP = "CreateIpamPool"; +var _CIRD = "CreateIpamResourceDiscovery"; +var _CIS = "CreateIpamScope"; +var _CISI = "CurrentIpamScopeId"; +var _CIT = "CancelImportTask"; +var _CITo = "CopyImageTags"; +var _CIa = "CarrierIp"; +var _CIi = "CidrIp"; +var _CIid = "CidrIpv6"; +var _CIidr = "CidrIpv4"; +var _CIl = "ClientId"; +var _CIli = "ClientIp"; +var _CIo = "ConnectionId"; +var _CIom = "ComponentId"; +var _CIop = "CoIp"; +var _CIor = "CoreInfo"; +var _CIr = "CreateImage"; +var _CIre = "CreateIpam"; +var _CKP = "CreateKeyPair"; +var _CLB = "ClassicLoadBalancers"; +var _CLBC = "ClassicLoadBalancersConfig"; +var _CLBL = "ClassicLoadBalancerListener"; +var _CLBO = "ClientLoginBannerOptions"; +var _CLDS = "ClassicLinkDnsSupported"; +var _CLE = "ClassicLinkEnabled"; +var _CLG = "CloudwatchLogGroup"; +var _CLGR = "CreateLocalGatewayRoute"; +var _CLGRT = "CreateLocalGatewayRouteTable"; +var _CLGRTVA = "CreateLocalGatewayRouteTableVpcAssociation"; +var _CLGRTVIGA = "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +var _CLO = "ConnectionLogOptions"; +var _CLS = "CloudwatchLogStream"; +var _CLT = "CreateLaunchTemplate"; +var _CLTV = "CreateLaunchTemplateVersion"; +var _CM = "CpuManufacturers"; +var _CMKE = "CustomerManagedKeyEnabled"; +var _CMPL = "CreateManagedPrefixList"; +var _CN = "CommonName"; +var _CNA = "CreateNetworkAcl"; +var _CNAA = "CoreNetworkAttachmentArn"; +var _CNAE = "CreateNetworkAclEntry"; +var _CNAo = "CoreNetworkArn"; +var _CNAon = "ConnectionNotificationArn"; +var _CNG = "CreateNatGateway"; +var _CNI = "CreateNetworkInterface"; +var _CNIAS = "CreateNetworkInsightsAccessScope"; +var _CNIP = "CreateNetworkInsightsPath"; +var _CNIPr = "CreateNetworkInterfacePermission"; +var _CNIo = "ConnectionNotificationIds"; +var _CNIon = "ConnectionNotificationId"; +var _CNIor = "CoreNetworkId"; +var _CNS = "ConnectionNotificationState"; +var _CNSo = "ConnectionNotificationSet"; +var _CNT = "ConnectionNotificationType"; +var _CNo = "ConnectionNotification"; +var _CO = "CpuOptions"; +var _COI = "CustomerOwnedIp"; +var _COIP = "CustomerOwnedIpv4Pool"; +var _COP = "CoolOffPeriod"; +var _COPEO = "CoolOffPeriodExpiresOn"; +var _CP = "CoipPool"; +var _CPC = "ConnectPeerConfiguration"; +var _CPG = "CreatePlacementGroup"; +var _CPI = "ConfirmProductInstance"; +var _CPIP = "CreatePublicIpv4Pool"; +var _CPIo = "CoipPoolId"; +var _CPo = "CoipPools"; +var _CR = "CreateRoute"; +var _CRA = "CapacityReservationArn"; +var _CRCC = "ClientRootCertificateChain"; +var _CRCCA = "ClientRootCertificateChainArn"; +var _CRF = "CapacityReservationFleets"; +var _CRFA = "CapacityReservationFleetArn"; +var _CRFI = "CapacityReservationFleetIds"; +var _CRFIa = "CapacityReservationFleetId"; +var _CRG = "CapacityReservationGroups"; +var _CRI = "CapacityReservationId"; +var _CRIL = "CancelReservedInstancesListing"; +var _CRILr = "CreateReservedInstancesListing"; +var _CRIT = "CreateRestoreImageTask"; +var _CRIa = "CapacityReservationIds"; +var _CRL = "CertificateRevocationList"; +var _CRO = "CapacityReservationOptions"; +var _CRP = "CapacityReservationPreference"; +var _CRRGA = "CapacityReservationResourceGroupArn"; +var _CRRVT = "CreateReplaceRootVolumeTask"; +var _CRS = "CapacityReservationSpecification"; +var _CRT = "CreateRouteTable"; +var _CRTa = "CapacityReservationTarget"; +var _CRa = "CancelReason"; +var _CRap = "CapacityRebalance"; +var _CRapa = "CapacityReservation"; +var _CRapac = "CapacityReservations"; +var _CRo = "ComponentRegion"; +var _CS = "CopySnapshot"; +var _CSBN = "CertificateS3BucketName"; +var _CSCR = "CreateSubnetCidrReservation"; +var _CSDS = "CreateSpotDatafeedSubscription"; +var _CSFR = "CancelSpotFleetRequests"; +var _CSFRS = "CurrentSpotFleetRequestState"; +var _CSG = "CreateSecurityGroup"; +var _CSIR = "CancelSpotInstanceRequests"; +var _CSIRa = "CancelledSpotInstanceRequests"; +var _CSIT = "CreateStoreImageTask"; +var _CSOK = "CertificateS3ObjectKey"; +var _CSl = "ClientSecret"; +var _CSo = "ComplianceStatus"; +var _CSon = "ConnectionStatuses"; +var _CSr = "CreateSnapshot"; +var _CSre = "CreateSnapshots"; +var _CSrea = "CreateSubnet"; +var _CSred = "CreditSpecification"; +var _CSu = "CurrentState"; +var _CSur = "CurrentStatus"; +var _CT = "CreateTags"; +var _CTC = "ConnectionTrackingConfiguration"; +var _CTFS = "CopyTagsFromSource"; +var _CTG = "CreateTransitGateway"; +var _CTGC = "CreateTransitGatewayConnect"; +var _CTGCP = "CreateTransitGatewayConnectPeer"; +var _CTGMD = "CreateTransitGatewayMulticastDomain"; +var _CTGPA = "CreateTransitGatewayPeeringAttachment"; +var _CTGPLR = "CreateTransitGatewayPrefixListReference"; +var _CTGPT = "CreateTransitGatewayPolicyTable"; +var _CTGR = "CreateTransitGatewayRoute"; +var _CTGRT = "CreateTransitGatewayRouteTable"; +var _CTGRTA = "CreateTransitGatewayRouteTableAnnouncement"; +var _CTGVA = "CreateTransitGatewayVpcAttachment"; +var _CTI = "ConversionTaskId"; +var _CTIo = "ConversionTaskIds"; +var _CTMF = "CreateTrafficMirrorFilter"; +var _CTMFR = "CreateTrafficMirrorFilterRule"; +var _CTMS = "CreateTrafficMirrorSession"; +var _CTMT = "CreateTrafficMirrorTarget"; +var _CTS = "ConnectionTrackingSpecification"; +var _CTl = "ClientToken"; +var _CTo = "ConnectivityType"; +var _CTom = "CompleteTime"; +var _CTon = "ConversionTasks"; +var _CTonv = "ConversionTask"; +var _CTr = "CreateTime"; +var _CTre = "CreationTime"; +var _CTrea = "CreationTimestamp"; +var _CV = "CreateVolume"; +var _CVAE = "CreateVerifiedAccessEndpoint"; +var _CVAG = "CreateVerifiedAccessGroup"; +var _CVAI = "CreateVerifiedAccessInstance"; +var _CVATP = "CreateVerifiedAccessTrustProvider"; +var _CVC = "CreateVpnConnection"; +var _CVCR = "CreateVpnConnectionRoute"; +var _CVE = "CreateVpcEndpoint"; +var _CVECN = "CreateVpcEndpointConnectionNotification"; +var _CVEI = "ClientVpnEndpointId"; +var _CVEIl = "ClientVpnEndpointIds"; +var _CVESC = "CreateVpcEndpointServiceConfiguration"; +var _CVEl = "ClientVpnEndpoints"; +var _CVG = "CreateVpnGateway"; +var _CVP = "CreateVolumePermission"; +var _CVPC = "CreateVpcPeeringConnection"; +var _CVPr = "CreateVolumePermissions"; +var _CVTN = "ClientVpnTargetNetworks"; +var _CVr = "CreateVpc"; +var _CVu = "CurrentVersion"; +var _CWL = "CloudWatchLogs"; +var _CWLO = "CloudWatchLogOptions"; +var _Ca = "Cascade"; +var _Cat = "Category"; +var _Ch = "Checksum"; +var _Ci = "Cidrs"; +var _Co = "Comment"; +var _Cod = "Code"; +var _Com = "Component"; +var _Con = "Context"; +var _Conf = "Configured"; +var _Conn = "Connections"; +var _Cor = "Cores"; +var _Cou = "Count"; +var _D = "Destination"; +var _DA = "DescribeAddresses"; +var _DAA = "DescribeAccountAttributes"; +var _DAAI = "DelegatedAdminAccountId"; +var _DAAe = "DescribeAddressesAttribute"; +var _DAIF = "DescribeAggregateIdFormat"; +var _DAIT = "DenyAllIgwTraffic"; +var _DANPMS = "DescribeAwsNetworkPerformanceMetricSubscriptions"; +var _DANPMSi = "DisableAwsNetworkPerformanceMetricSubscription"; +var _DART = "DefaultAssociationRouteTable"; +var _DAS = "DisableApiStop"; +var _DAT = "DescribeAddressTransfers"; +var _DATi = "DisableAddressTransfer"; +var _DATis = "DisableApiTermination"; +var _DAZ = "DescribeAvailabilityZones"; +var _DAe = "DeprecateAt"; +var _DAep = "DeprovisionedAddresses"; +var _DAes = "DestinationAddresses"; +var _DAest = "DestinationAddress"; +var _DAesti = "DestinationArn"; +var _DAi = "DisassociateAddress"; +var _DBC = "DeprovisionByoipCidr"; +var _DBCe = "DescribeByoipCidrs"; +var _DBT = "DescribeBundleTasks"; +var _DC = "DisallowedCidrs"; +var _DCA = "DomainCertificateArn"; +var _DCAR = "DeliverCrossAccountRole"; +var _DCB = "DestinationCidrBlock"; +var _DCBO = "DescribeCapacityBlockOfferings"; +var _DCC = "DeleteCoipCidr"; +var _DCG = "DeleteCarrierGateway"; +var _DCGe = "DeleteCustomerGateway"; +var _DCGes = "DescribeCarrierGateways"; +var _DCGesc = "DescribeCustomerGateways"; +var _DCLI = "DescribeClassicLinkInstances"; +var _DCLV = "DetachClassicLinkVpc"; +var _DCP = "DeleteCoipPool"; +var _DCPe = "DescribeCoipPools"; +var _DCR = "DescribeCapacityReservations"; +var _DCRF = "DescribeCapacityReservationFleets"; +var _DCT = "DescribeConversionTasks"; +var _DCVAR = "DescribeClientVpnAuthorizationRules"; +var _DCVC = "DescribeClientVpnConnections"; +var _DCVE = "DeleteClientVpnEndpoint"; +var _DCVEe = "DescribeClientVpnEndpoints"; +var _DCVR = "DeleteClientVpnRoute"; +var _DCVRe = "DescribeClientVpnRoutes"; +var _DCVTN = "DescribeClientVpnTargetNetworks"; +var _DCVTNi = "DisassociateClientVpnTargetNetwork"; +var _DCe = "DestinationCidr"; +var _DCef = "DefaultCores"; +var _DCh = "DhcpConfigurations"; +var _DCi = "DiskContainers"; +var _DCis = "DiskContainer"; +var _DDO = "DeleteDhcpOptions"; +var _DDOe = "DescribeDhcpOptions"; +var _DE = "DnsEntries"; +var _DECIR = "DisassociateEnclaveCertificateIamRole"; +var _DEEBD = "DisableEbsEncryptionByDefault"; +var _DEG = "DescribeElasticGpus"; +var _DEIT = "DescribeExportImageTasks"; +var _DEKI = "DataEncryptionKeyId"; +var _DEOIG = "DeleteEgressOnlyInternetGateway"; +var _DEOIGe = "DescribeEgressOnlyInternetGateways"; +var _DET = "DescribeExportTasks"; +var _DF = "DeleteFleets"; +var _DFA = "DefaultForAz"; +var _DFH = "DescribeFleetHistory"; +var _DFI = "DeleteFpgaImage"; +var _DFIA = "DescribeFpgaImageAttribute"; +var _DFIe = "DescribeFleetInstances"; +var _DFIes = "DescribeFpgaImages"; +var _DFL = "DeleteFlowLogs"; +var _DFLI = "DescribeFastLaunchImages"; +var _DFLe = "DescribeFlowLogs"; +var _DFLi = "DisableFastLaunch"; +var _DFSR = "DescribeFastSnapshotRestores"; +var _DFSRi = "DisableFastSnapshotRestores"; +var _DFe = "DescribeFleets"; +var _DH = "DescribeHosts"; +var _DHI = "DedicatedHostIds"; +var _DHR = "DescribeHostReservations"; +var _DHRO = "DescribeHostReservationOfferings"; +var _DHS = "DedicatedHostsSupported"; +var _DI = "DeleteIpam"; +var _DIA = "DescribeImageAttribute"; +var _DIAe = "DescribeInstanceAttribute"; +var _DIB = "DeprovisionIpamByoasn"; +var _DIBPA = "DisableImageBlockPublicAccess"; +var _DIBe = "DescribeIpamByoasn"; +var _DIBi = "DisassociateIpamByoasn"; +var _DICB = "DestinationIpv6CidrBlock"; +var _DICE = "DeleteInstanceConnectEndpoint"; +var _DICEe = "DescribeInstanceConnectEndpoints"; +var _DICS = "DescribeInstanceCreditSpecifications"; +var _DID = "DisableImageDeprecation"; +var _DIDP = "DisableImageDeregistrationProtection"; +var _DIENA = "DeregisterInstanceEventNotificationAttributes"; +var _DIENAe = "DescribeInstanceEventNotificationAttributes"; +var _DIEW = "DeleteInstanceEventWindow"; +var _DIEWe = "DescribeInstanceEventWindows"; +var _DIEWi = "DisassociateInstanceEventWindow"; +var _DIF = "DescribeIdFormat"; +var _DIFi = "DiskImageFormat"; +var _DIG = "DeleteInternetGateway"; +var _DIGe = "DescribeInternetGateways"; +var _DIGet = "DetachInternetGateway"; +var _DIIF = "DescribeIdentityIdFormat"; +var _DIIP = "DisassociateIamInstanceProfile"; +var _DIIPA = "DescribeIamInstanceProfileAssociations"; +var _DIIT = "DescribeImportImageTasks"; +var _DIOAA = "DisableIpamOrganizationAdminAccount"; +var _DIP = "DeleteIpamPool"; +var _DIPC = "DeprovisionIpamPoolCidr"; +var _DIPe = "DescribeIpamPools"; +var _DIPes = "DescribeIpv6Pools"; +var _DIRD = "DeleteIpamResourceDiscovery"; +var _DIRDA = "DescribeIpamResourceDiscoveryAssociations"; +var _DIRDe = "DescribeIpamResourceDiscoveries"; +var _DIRDi = "DisassociateIpamResourceDiscovery"; +var _DIS = "DeleteIpamScope"; +var _DISI = "DestinationIpamScopeId"; +var _DIST = "DescribeImportSnapshotTasks"; +var _DISe = "DescribeInstanceStatus"; +var _DISes = "DescribeIpamScopes"; +var _DISi = "DiskImageSize"; +var _DIT = "DescribeInstanceTopology"; +var _DITO = "DescribeInstanceTypeOfferings"; +var _DITe = "DescribeInstanceTypes"; +var _DIe = "DeregisterImage"; +var _DIes = "DescribeImages"; +var _DIesc = "DescribeInstances"; +var _DIescr = "DescribeIpams"; +var _DIest = "DestinationIp"; +var _DIev = "DeviceIndex"; +var _DIevi = "DeviceId"; +var _DIi = "DisableImage"; +var _DIir = "DirectoryId"; +var _DIis = "DiskImages"; +var _DKP = "DeleteKeyPair"; +var _DKPe = "DescribeKeyPairs"; +var _DLADI = "DisableLniAtDeviceIndex"; +var _DLEM = "DeliverLogsErrorMessage"; +var _DLG = "DescribeLocalGateways"; +var _DLGR = "DeleteLocalGatewayRoute"; +var _DLGRT = "DeleteLocalGatewayRouteTable"; +var _DLGRTVA = "DeleteLocalGatewayRouteTableVpcAssociation"; +var _DLGRTVAe = "DescribeLocalGatewayRouteTableVpcAssociations"; +var _DLGRTVIGA = "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +var _DLGRTVIGAe = "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations"; +var _DLGRTe = "DescribeLocalGatewayRouteTables"; +var _DLGVI = "DescribeLocalGatewayVirtualInterfaces"; +var _DLGVIG = "DescribeLocalGatewayVirtualInterfaceGroups"; +var _DLPA = "DeliverLogsPermissionArn"; +var _DLS = "DescribeLockedSnapshots"; +var _DLSe = "DeliverLogsStatus"; +var _DLT = "DeleteLaunchTemplate"; +var _DLTV = "DeleteLaunchTemplateVersions"; +var _DLTVe = "DescribeLaunchTemplateVersions"; +var _DLTe = "DescribeLaunchTemplates"; +var _DMA = "DescribeMovingAddresses"; +var _DMGM = "DeregisteredMulticastGroupMembers"; +var _DMGS = "DeregisteredMulticastGroupSources"; +var _DMH = "DescribeMacHosts"; +var _DMPL = "DeleteManagedPrefixList"; +var _DMPLe = "DescribeManagedPrefixLists"; +var _DN = "DeviceName"; +var _DNA = "DeleteNetworkAcl"; +var _DNAE = "DeleteNetworkAclEntry"; +var _DNAe = "DescribeNetworkAcls"; +var _DNCI = "DefaultNetworkCardIndex"; +var _DNG = "DeleteNatGateway"; +var _DNGA = "DisassociateNatGatewayAddress"; +var _DNGe = "DescribeNatGateways"; +var _DNI = "DeleteNetworkInterface"; +var _DNIA = "DeleteNetworkInsightsAnalysis"; +var _DNIAS = "DeleteNetworkInsightsAccessScope"; +var _DNIASA = "DeleteNetworkInsightsAccessScopeAnalysis"; +var _DNIASAe = "DescribeNetworkInsightsAccessScopeAnalyses"; +var _DNIASe = "DescribeNetworkInsightsAccessScopes"; +var _DNIAe = "DescribeNetworkInsightsAnalyses"; +var _DNIAes = "DescribeNetworkInterfaceAttribute"; +var _DNII = "DeregisteredNetworkInterfaceIds"; +var _DNIP = "DeleteNetworkInsightsPath"; +var _DNIPe = "DeleteNetworkInterfacePermission"; +var _DNIPes = "DescribeNetworkInsightsPaths"; +var _DNIPesc = "DescribeNetworkInterfacePermissions"; +var _DNIe = "DescribeNetworkInterfaces"; +var _DNIet = "DetachNetworkInterface"; +var _DNn = "DnsName"; +var _DNo = "DomainName"; +var _DO = "DestinationOptions"; +var _DOA = "DestinationOutpostArn"; +var _DOI = "DhcpOptionsId"; +var _DOIh = "DhcpOptionsIds"; +var _DOT = "DeleteOnTermination"; +var _DOe = "DeviceOptions"; +var _DOh = "DhcpOptions"; +var _DOn = "DnsOptions"; +var _DP = "DestinationPort"; +var _DPDTA = "DPDTimeoutAction"; +var _DPDTS = "DPDTimeoutSeconds"; +var _DPG = "DeletePlacementGroup"; +var _DPGe = "DescribePlacementGroups"; +var _DPIF = "DescribePrincipalIdFormat"; +var _DPIP = "DeletePublicIpv4Pool"; +var _DPIPC = "DeprovisionPublicIpv4PoolCidr"; +var _DPIPe = "DescribePublicIpv4Pools"; +var _DPL = "DescribePrefixLists"; +var _DPLI = "DestinationPrefixListId"; +var _DPLe = "DestinationPrefixLists"; +var _DPR = "DestinationPortRange"; +var _DPRT = "DefaultPropagationRouteTable"; +var _DPRe = "DestinationPortRanges"; +var _DPe = "DestinationPorts"; +var _DPer = "DeregistrationProtection"; +var _DQ = "DataQueries"; +var _DQRI = "DeleteQueuedReservedInstances"; +var _DR = "DeleteRoute"; +var _DRDAI = "DefaultResourceDiscoveryAssociationId"; +var _DRDI = "DefaultResourceDiscoveryId"; +var _DRI = "DescribeReservedInstances"; +var _DRIL = "DescribeReservedInstancesListings"; +var _DRIM = "DescribeReservedInstancesModifications"; +var _DRIO = "DescribeReservedInstancesOfferings"; +var _DRIT = "DnsRecordIpType"; +var _DRRV = "DeleteReplacedRootVolume"; +var _DRRVT = "DescribeReplaceRootVolumeTasks"; +var _DRS = "DataRetentionSupport"; +var _DRT = "DeleteRouteTable"; +var _DRTA = "DefaultRouteTableAssociation"; +var _DRTP = "DefaultRouteTablePropagation"; +var _DRTe = "DescribeRouteTables"; +var _DRTi = "DisassociateRouteTable"; +var _DRa = "DataResponses"; +var _DRe = "DescribeRegions"; +var _DRes = "DestinationRegion"; +var _DRi = "DiscoveryRegion"; +var _DRr = "DryRun"; +var _DRy = "DynamicRouting"; +var _DS = "DeleteSnapshot"; +var _DSA = "DescribeSnapshotAttribute"; +var _DSBPA = "DisableSnapshotBlockPublicAccess"; +var _DSCA = "DisableSerialConsoleAccess"; +var _DSCB = "DisassociateSubnetCidrBlock"; +var _DSCR = "DeleteSubnetCidrReservation"; +var _DSCRe = "DeletedSubnetCidrReservation"; +var _DSDS = "DeleteSpotDatafeedSubscription"; +var _DSDSe = "DescribeSpotDatafeedSubscription"; +var _DSFI = "DescribeSpotFleetInstances"; +var _DSFR = "DescribeSpotFleetRequests"; +var _DSFRH = "DescribeSpotFleetRequestHistory"; +var _DSG = "DeleteSecurityGroup"; +var _DSGR = "DescribeSecurityGroupReferences"; +var _DSGRe = "DescribeSecurityGroupRules"; +var _DSGe = "DescribeSecurityGroups"; +var _DSI = "DescribeScheduledInstances"; +var _DSIA = "DescribeScheduledInstanceAvailability"; +var _DSIR = "DescribeSpotInstanceRequests"; +var _DSIT = "DescribeStoreImageTasks"; +var _DSPH = "DescribeSpotPriceHistory"; +var _DSSG = "DescribeStaleSecurityGroups"; +var _DSTS = "DescribeSnapshotTierStatus"; +var _DSe = "DeleteSubnet"; +var _DSel = "DeliveryStream"; +var _DSeli = "DeliveryStatus"; +var _DSes = "DescribeSnapshots"; +var _DSesc = "DescribeSubnets"; +var _DSn = "DnsServers"; +var _DSns = "DnsSupport"; +var _DT = "DeleteTags"; +var _DTA = "DpdTimeoutAction"; +var _DTCT = "DefaultTargetCapacityType"; +var _DTG = "DeleteTransitGateway"; +var _DTGA = "DescribeTransitGatewayAttachments"; +var _DTGC = "DeleteTransitGatewayConnect"; +var _DTGCP = "DeleteTransitGatewayConnectPeer"; +var _DTGCPe = "DescribeTransitGatewayConnectPeers"; +var _DTGCe = "DescribeTransitGatewayConnects"; +var _DTGMD = "DeleteTransitGatewayMulticastDomain"; +var _DTGMDe = "DescribeTransitGatewayMulticastDomains"; +var _DTGMDi = "DisassociateTransitGatewayMulticastDomain"; +var _DTGMGM = "DeregisterTransitGatewayMulticastGroupMembers"; +var _DTGMGS = "DeregisterTransitGatewayMulticastGroupSources"; +var _DTGPA = "DeleteTransitGatewayPeeringAttachment"; +var _DTGPAe = "DescribeTransitGatewayPeeringAttachments"; +var _DTGPLR = "DeleteTransitGatewayPrefixListReference"; +var _DTGPT = "DeleteTransitGatewayPolicyTable"; +var _DTGPTe = "DescribeTransitGatewayPolicyTables"; +var _DTGPTi = "DisassociateTransitGatewayPolicyTable"; +var _DTGR = "DeleteTransitGatewayRoute"; +var _DTGRT = "DeleteTransitGatewayRouteTable"; +var _DTGRTA = "DeleteTransitGatewayRouteTableAnnouncement"; +var _DTGRTAe = "DescribeTransitGatewayRouteTableAnnouncements"; +var _DTGRTP = "DisableTransitGatewayRouteTablePropagation"; +var _DTGRTe = "DescribeTransitGatewayRouteTables"; +var _DTGRTi = "DisassociateTransitGatewayRouteTable"; +var _DTGVA = "DeleteTransitGatewayVpcAttachment"; +var _DTGVAe = "DescribeTransitGatewayVpcAttachments"; +var _DTGe = "DescribeTransitGateways"; +var _DTI = "DisassociateTrunkInterface"; +var _DTIA = "DescribeTrunkInterfaceAssociations"; +var _DTMF = "DeleteTrafficMirrorFilter"; +var _DTMFR = "DeleteTrafficMirrorFilterRule"; +var _DTMFe = "DescribeTrafficMirrorFilters"; +var _DTMS = "DeleteTrafficMirrorSession"; +var _DTMSe = "DescribeTrafficMirrorSessions"; +var _DTMT = "DeleteTrafficMirrorTarget"; +var _DTMTe = "DescribeTrafficMirrorTargets"; +var _DTPC = "DefaultThreadsPerCore"; +var _DTPT = "DeviceTrustProviderType"; +var _DTS = "DpdTimeoutSeconds"; +var _DTe = "DescribeTags"; +var _DTel = "DeletionTime"; +var _DTele = "DeleteTime"; +var _DTep = "DeprecationTime"; +var _DTi = "DisablingTime"; +var _DTis = "DisabledTime"; +var _DV = "DeleteVolume"; +var _DVA = "DescribeVolumeAttribute"; +var _DVAE = "DeleteVerifiedAccessEndpoint"; +var _DVAEe = "DescribeVerifiedAccessEndpoints"; +var _DVAG = "DeleteVerifiedAccessGroup"; +var _DVAGe = "DescribeVerifiedAccessGroups"; +var _DVAI = "DeleteVerifiedAccessInstance"; +var _DVAILC = "DescribeVerifiedAccessInstanceLoggingConfigurations"; +var _DVAIe = "DescribeVerifiedAccessInstances"; +var _DVATP = "DeleteVerifiedAccessTrustProvider"; +var _DVATPe = "DescribeVerifiedAccessTrustProviders"; +var _DVATPet = "DetachVerifiedAccessTrustProvider"; +var _DVAe = "DescribeVpcAttribute"; +var _DVC = "DeleteVpnConnection"; +var _DVCB = "DisassociateVpcCidrBlock"; +var _DVCL = "DescribeVpcClassicLink"; +var _DVCLDS = "DescribeVpcClassicLinkDnsSupport"; +var _DVCLDSi = "DisableVpcClassicLinkDnsSupport"; +var _DVCLi = "DisableVpcClassicLink"; +var _DVCR = "DeleteVpnConnectionRoute"; +var _DVCe = "DescribeVpnConnections"; +var _DVCef = "DefaultVCpus"; +var _DVD = "DeviceValidationDomain"; +var _DVE = "DeleteVpcEndpoints"; +var _DVEC = "DescribeVpcEndpointConnections"; +var _DVECN = "DeleteVpcEndpointConnectionNotifications"; +var _DVECNe = "DescribeVpcEndpointConnectionNotifications"; +var _DVES = "DescribeVpcEndpointServices"; +var _DVESC = "DeleteVpcEndpointServiceConfigurations"; +var _DVESCe = "DescribeVpcEndpointServiceConfigurations"; +var _DVESP = "DescribeVpcEndpointServicePermissions"; +var _DVEe = "DescribeVpcEndpoints"; +var _DVG = "DeleteVpnGateway"; +var _DVGe = "DescribeVpnGateways"; +var _DVGet = "DetachVpnGateway"; +var _DVM = "DescribeVolumesModifications"; +var _DVN = "DefaultVersionNumber"; +var _DVPC = "DeleteVpcPeeringConnection"; +var _DVPCe = "DescribeVpcPeeringConnections"; +var _DVRP = "DisableVgwRoutePropagation"; +var _DVS = "DescribeVolumeStatus"; +var _DVe = "DeleteVpc"; +var _DVef = "DefaultVersion"; +var _DVes = "DescribeVolumes"; +var _DVesc = "DescribeVpcs"; +var _DVest = "DestinationVpc"; +var _DVet = "DetachVolume"; +var _Da = "Data"; +var _De = "Description"; +var _Dea = "Deadline"; +var _Des = "Destinations"; +var _Det = "Details"; +var _Dev = "Device"; +var _Di = "Direction"; +var _Dis = "Disks"; +var _Do = "Domain"; +var _Du = "Duration"; +var _E = "Ebs"; +var _EA = "EnableAcceleration"; +var _EANPMS = "EnableAwsNetworkPerformanceMetricSubscription"; +var _EAT = "EnableAddressTransfer"; +var _EB = "EgressBytes"; +var _EBV = "ExcludeBootVolume"; +var _EC = "ErrorCode"; +var _ECTP = "ExcessCapacityTerminationPolicy"; +var _ECVCC = "ExportClientVpnClientConfiguration"; +var _ECVCCRL = "ExportClientVpnClientCertificateRevocationList"; +var _ECx = "ExplanationCode"; +var _ED = "EndDate"; +var _EDH = "EnableDnsHostnames"; +var _EDP = "EndpointDomainPrefix"; +var _EDR = "EndDateRange"; +var _EDS = "EnableDnsSupport"; +var _EDT = "EndDateType"; +var _EDVI = "ExcludeDataVolumeIds"; +var _EDf = "EffectiveDate"; +var _EDn = "EnableDns64"; +var _EDnd = "EndpointDomain"; +var _EDv = "EventDescription"; +var _EDx = "ExpirationDate"; +var _EEBD = "EbsEncryptionByDefault"; +var _EEEBD = "EnableEbsEncryptionByDefault"; +var _EFL = "EnableFastLaunch"; +var _EFR = "EgressFilterRules"; +var _EFSR = "EnableFastSnapshotRestores"; +var _EGA = "ElasticGpuAssociations"; +var _EGAI = "ElasticGpuAssociationId"; +var _EGAS = "ElasticGpuAssociationState"; +var _EGAT = "ElasticGpuAssociationTime"; +var _EGH = "ElasticGpuHealth"; +var _EGI = "ElasticGpuIds"; +var _EGIl = "ElasticGpuId"; +var _EGS = "ElasticGpuSpecifications"; +var _EGSl = "ElasticGpuSpecification"; +var _EGSla = "ElasticGpuSet"; +var _EGSlas = "ElasticGpuState"; +var _EGT = "ElasticGpuType"; +var _EH = "EndHour"; +var _EI = "EnableImage"; +var _EIA = "ElasticInferenceAccelerators"; +var _EIAA = "ElasticInferenceAcceleratorArn"; +var _EIAAI = "ElasticInferenceAcceleratorAssociationId"; +var _EIAAS = "ElasticInferenceAcceleratorAssociationState"; +var _EIAAT = "ElasticInferenceAcceleratorAssociationTime"; +var _EIAAl = "ElasticInferenceAcceleratorAssociations"; +var _EIBPA = "EnableImageBlockPublicAccess"; +var _EID = "EnableImageDeprecation"; +var _EIDP = "EnableImageDeregistrationProtection"; +var _EIOAA = "EnableIpamOrganizationAdminAccount"; +var _EIT = "ExcludedInstanceTypes"; +var _EITI = "ExportImageTaskIds"; +var _EITIx = "ExportImageTaskId"; +var _EITS = "EncryptionInTransitSupported"; +var _EITx = "ExportImageTasks"; +var _EIb = "EbsInfo"; +var _EIf = "EfaInfo"; +var _EIv = "EventInformation"; +var _EIve = "EventId"; +var _EIx = "ExportImage"; +var _EIxc = "ExchangeId"; +var _EKKI = "EncryptionKmsKeyId"; +var _ELADI = "EnableLniAtDeviceIndex"; +var _ELBL = "ElasticLoadBalancerListener"; +var _EM = "ErrorMessage"; +var _ENAUM = "EnableNetworkAddressUsageMetrics"; +var _EO = "EbsOptimized"; +var _EOI = "EbsOptimizedInfo"; +var _EOIG = "EgressOnlyInternetGateway"; +var _EOIGI = "EgressOnlyInternetGatewayId"; +var _EOIGIg = "EgressOnlyInternetGatewayIds"; +var _EOIGg = "EgressOnlyInternetGateways"; +var _EOS = "EbsOptimizedSupport"; +var _EOn = "EnclaveOptions"; +var _EP = "ExcludePaths"; +var _EPI = "EnablePrimaryIpv6"; +var _EPg = "EgressPackets"; +var _ERAOS = "EnableReachabilityAnalyzerOrganizationSharing"; +var _ERNDAAAAR = "EnableResourceNameDnsAAAARecord"; +var _ERNDAAAAROL = "EnableResourceNameDnsAAAARecordOnLaunch"; +var _ERNDAR = "EnableResourceNameDnsARecord"; +var _ERNDAROL = "EnableResourceNameDnsARecordOnLaunch"; +var _ES = "EphemeralStorage"; +var _ESBPA = "EnableSnapshotBlockPublicAccess"; +var _ESCA = "EnableSerialConsoleAccess"; +var _ESE = "EnaSrdEnabled"; +var _ESS = "EnaSrdSpecification"; +var _ESSn = "EnaSrdSupported"; +var _EST = "EventSubType"; +var _ESUE = "EnaSrdUdpEnabled"; +var _ESUS = "EnaSrdUdpSpecification"; +var _ESf = "EfaSupported"; +var _ESn = "EnaSupport"; +var _ESnc = "EncryptionSupport"; +var _ET = "EndpointType"; +var _ETGR = "ExportTransitGatewayRoutes"; +var _ETGRTP = "EnableTransitGatewayRouteTablePropagation"; +var _ETI = "ExportTaskId"; +var _ETIx = "ExportTaskIds"; +var _ETLC = "EnableTunnelLifecycleControl"; +var _ETST = "ExportToS3Task"; +var _ETa = "EarliestTime"; +var _ETi = "EipTags"; +var _ETn = "EndTime"; +var _ETna = "EnablingTime"; +var _ETnab = "EnabledTime"; +var _ETv = "EventType"; +var _ETx = "ExpirationTime"; +var _ETxp = "ExportTask"; +var _ETxpo = "ExportTasks"; +var _EU = "ExecutableUsers"; +var _EVCL = "EnableVpcClassicLink"; +var _EVCLDS = "EnableVpcClassicLinkDnsSupport"; +var _EVIO = "EnableVolumeIO"; +var _EVRP = "EnableVgwRoutePropagation"; +var _EWD = "EndWeekDay"; +var _Eg = "Egress"; +var _En = "Enabled"; +var _Enc = "Encrypted"; +var _End = "End"; +var _Endp = "Endpoint"; +var _Ent = "Entries"; +var _Er = "Error"; +var _Err = "Errors"; +var _Ev = "Events"; +var _Eve = "Event"; +var _Ex = "Explanations"; +var _F = "Force"; +var _FA = "FederatedAuthentication"; +var _FAD = "FilterAtDestination"; +var _FAS = "FilterAtSource"; +var _FAi = "FirstAddress"; +var _FC = "FulfilledCapacity"; +var _FCR = "FleetCapacityReservations"; +var _FCa = "FailureCode"; +var _FCi = "FindingComponents"; +var _FD = "ForceDelete"; +var _FDN = "FipsDnsName"; +var _FE = "FipsEnabled"; +var _FF = "FileFormat"; +var _FFC = "FailedFleetCancellations"; +var _FFi = "FindingsFound"; +var _FI = "FleetIds"; +var _FIA = "FilterInArns"; +var _FIAp = "FpgaImageAttribute"; +var _FIGI = "FpgaImageGlobalId"; +var _FII = "FpgaImageId"; +var _FIIp = "FpgaImageIds"; +var _FIPSE = "FIPSEnabled"; +var _FIi = "FindingId"; +var _FIl = "FleetId"; +var _FIp = "FpgaImages"; +var _FIpg = "FpgaInfo"; +var _FL = "FlowLogs"; +var _FLI = "FlowLogIds"; +var _FLIa = "FastLaunchImages"; +var _FLIl = "FlowLogId"; +var _FLS = "FlowLogStatus"; +var _FM = "FailureMessage"; +var _FODC = "FulfilledOnDemandCapacity"; +var _FP = "FromPort"; +var _FPC = "ForwardPathComponents"; +var _FPi = "FixedPrice"; +var _FQPD = "FailedQueuedPurchaseDeletions"; +var _FR = "FailureReason"; +var _FRa = "FastRestored"; +var _FS = "FleetState"; +var _FSR = "FastSnapshotRestores"; +var _FSRSE = "FastSnapshotRestoreStateErrors"; +var _FSRi = "FirewallStatelessRule"; +var _FSRir = "FirewallStatefulRule"; +var _FSST = "FirstSlotStartTime"; +var _FSSTR = "FirstSlotStartTimeRange"; +var _FTE = "FreeTierEligible"; +var _Fa = "Fault"; +var _Fi = "Filters"; +var _Fil = "Filter"; +var _Fl = "Fleets"; +var _Fo = "Format"; +var _Fp = "Fpgas"; +var _Fr = "From"; +var _Fre = "Frequency"; +var _G = "Groups"; +var _GA = "GroupArn"; +var _GAECIR = "GetAssociatedEnclaveCertificateIamRoles"; +var _GAIPC = "GetAssociatedIpv6PoolCidrs"; +var _GANPD = "GetAwsNetworkPerformanceData"; +var _GAS = "GatewayAssociationState"; +var _GCO = "GetConsoleOutput"; +var _GCPU = "GetCoipPoolUsage"; +var _GCRU = "GetCapacityReservationUsage"; +var _GCS = "GetConsoleScreenshot"; +var _GD = "GroupDescription"; +var _GDCS = "GetDefaultCreditSpecification"; +var _GEDKKI = "GetEbsDefaultKmsKeyId"; +var _GEEBD = "GetEbsEncryptionByDefault"; +var _GFLIT = "GetFlowLogsIntegrationTemplate"; +var _GGFCR = "GetGroupsForCapacityReservation"; +var _GHRPP = "GetHostReservationPurchasePreview"; +var _GI = "GatewayId"; +var _GIA = "GroupIpAddress"; +var _GIAH = "GetIpamAddressHistory"; +var _GIBPAS = "GetImageBlockPublicAccessState"; +var _GIDA = "GetIpamDiscoveredAccounts"; +var _GIDPA = "GetIpamDiscoveredPublicAddresses"; +var _GIDRC = "GetIpamDiscoveredResourceCidrs"; +var _GIMD = "GetInstanceMetadataDefaults"; +var _GIPA = "GetIpamPoolAllocations"; +var _GIPC = "GetIpamPoolCidrs"; +var _GIRC = "GetIpamResourceCidrs"; +var _GITEP = "GetInstanceTpmEkPub"; +var _GITFIR = "GetInstanceTypesFromInstanceRequirements"; +var _GIUD = "GetInstanceUefiData"; +var _GIp = "GpuInfo"; +var _GIr = "GroupId"; +var _GIro = "GroupIds"; +var _GK = "GreKey"; +var _GLBA = "GatewayLoadBalancerArns"; +var _GLBEI = "GatewayLoadBalancerEndpointId"; +var _GLTD = "GetLaunchTemplateData"; +var _GM = "GroupMember"; +var _GMPLA = "GetManagedPrefixListAssociations"; +var _GMPLE = "GetManagedPrefixListEntries"; +var _GN = "GroupName"; +var _GNIASAF = "GetNetworkInsightsAccessScopeAnalysisFindings"; +var _GNIASC = "GetNetworkInsightsAccessScopeContent"; +var _GNr = "GroupNames"; +var _GOI = "GroupOwnerId"; +var _GPD = "GetPasswordData"; +var _GRIEQ = "GetReservedInstancesExchangeQuote"; +var _GS = "GroupSource"; +var _GSBPAS = "GetSnapshotBlockPublicAccessState"; +var _GSCAS = "GetSerialConsoleAccessStatus"; +var _GSCR = "GetSubnetCidrReservations"; +var _GSGFV = "GetSecurityGroupsForVpc"; +var _GSPS = "GetSpotPlacementScores"; +var _GTGAP = "GetTransitGatewayAttachmentPropagations"; +var _GTGMDA = "GetTransitGatewayMulticastDomainAssociations"; +var _GTGPLR = "GetTransitGatewayPrefixListReferences"; +var _GTGPTA = "GetTransitGatewayPolicyTableAssociations"; +var _GTGPTE = "GetTransitGatewayPolicyTableEntries"; +var _GTGRTA = "GetTransitGatewayRouteTableAssociations"; +var _GTGRTP = "GetTransitGatewayRouteTablePropagations"; +var _GVAEP = "GetVerifiedAccessEndpointPolicy"; +var _GVAGP = "GetVerifiedAccessGroupPolicy"; +var _GVCDSC = "GetVpnConnectionDeviceSampleConfiguration"; +var _GVCDT = "GetVpnConnectionDeviceTypes"; +var _GVTRS = "GetVpnTunnelReplacementStatus"; +var _Gp = "Gpus"; +var _Gr = "Group"; +var _H = "Hypervisor"; +var _HCP = "HiveCompatiblePartitions"; +var _HE = "HttpEndpoint"; +var _HI = "HostIds"; +var _HIS = "HostIdSet"; +var _HIo = "HostId"; +var _HM = "HostMaintenance"; +var _HO = "HibernationOptions"; +var _HP = "HostProperties"; +var _HPI = "HttpProtocolIpv6"; +var _HPRHL = "HttpPutResponseHopLimit"; +var _HPo = "HourlyPrice"; +var _HR = "HostRecovery"; +var _HRGA = "HostResourceGroupArn"; +var _HRI = "HostReservationId"; +var _HRIS = "HostReservationIdSet"; +var _HRS = "HostReservationSet"; +var _HRi = "HistoryRecords"; +var _HS = "HibernationSupported"; +var _HT = "HttpTokens"; +var _HTo = "HostnameType"; +var _HZI = "HostedZoneId"; +var _Hi = "Hibernate"; +var _Ho = "Hosts"; +var _I = "Issuer"; +var _IA = "Ipv6Addresses"; +var _IAC = "Ipv6AddressCount"; +var _IAI = "IncludeAllInstances"; +var _IAIn = "InferenceAcceleratorInfo"; +var _IAPI = "Ipv4AddressesPerInterface"; +var _IAPIp = "Ipv6AddressesPerInterface"; +var _IAT = "IpAddressType"; +var _IATOI = "IncludeAllTagsOfInstance"; +var _IAn = "InterfaceAssociation"; +var _IAnt = "InterfaceAssociations"; +var _IAp = "IpAddress"; +var _IApa = "IpamArn"; +var _IApv = "Ipv6Address"; +var _IB = "IngressBytes"; +var _IBPAS = "ImageBlockPublicAccessState"; +var _IC = "InstanceCount"; +var _ICA = "Ipv6CidrAssociations"; +var _ICB = "Ipv6CidrBlock"; +var _ICBA = "Ipv6CidrBlockAssociation"; +var _ICBAS = "Ipv6CidrBlockAssociationSet"; +var _ICBNBG = "Ipv6CidrBlockNetworkBorderGroup"; +var _ICBS = "Ipv6CidrBlockState"; +var _ICBSp = "Ipv6CidrBlockSet"; +var _ICBn = "InsideCidrBlocks"; +var _ICE = "InstanceConnectEndpoint"; +var _ICEA = "InstanceConnectEndpointArn"; +var _ICEI = "InstanceConnectEndpointId"; +var _ICEIn = "InstanceConnectEndpointIds"; +var _ICEn = "InstanceConnectEndpoints"; +var _ICS = "InstanceCreditSpecifications"; +var _ICVCCRL = "ImportClientVpnClientCertificateRevocationList"; +var _ICn = "InstanceCounts"; +var _ICp = "Ipv6Cidr"; +var _ID = "IncludeDeprecated"; +var _IDA = "IpamDiscoveredAccounts"; +var _IDPA = "IpamDiscoveredPublicAddresses"; +var _IDRC = "IpamDiscoveredResourceCidrs"; +var _IDm = "ImageData"; +var _IDn = "IncludeDisabled"; +var _IDs = "IsDefault"; +var _IE = "IsEgress"; +var _IED = "InstanceExportDetails"; +var _IEI = "InstanceEventId"; +var _IEW = "InstanceEventWindow"; +var _IEWI = "InstanceEventWindowId"; +var _IEWIn = "InstanceEventWindowIds"; +var _IEWS = "InstanceEventWindowState"; +var _IEWn = "InstanceEventWindows"; +var _IF = "InstanceFamily"; +var _IFCS = "InstanceFamilyCreditSpecification"; +var _IFR = "IamFleetRole"; +var _IFRn = "IngressFilterRules"; +var _IG = "InstanceGenerations"; +var _IGI = "InternetGatewayId"; +var _IGIn = "InternetGatewayIds"; +var _IGn = "InternetGateway"; +var _IGnt = "InternetGateways"; +var _IH = "InstanceHealth"; +var _IHn = "InboundHeader"; +var _II = "ImportImage"; +var _IIB = "InstanceInterruptionBehavior"; +var _IIP = "IamInstanceProfile"; +var _IIPA = "IamInstanceProfileAssociation"; +var _IIPAa = "IamInstanceProfileAssociations"; +var _IIPI = "Ipv6IpamPoolId"; +var _IIPIp = "Ipv4IpamPoolId"; +var _IIS = "InstanceIdSet"; +var _IISB = "InstanceInitiatedShutdownBehavior"; +var _IIT = "ImportImageTasks"; +var _IIm = "ImportInstance"; +var _IIma = "ImageId"; +var _IImag = "ImageIds"; +var _IIn = "InstanceId"; +var _IIns = "InstanceIds"; +var _IIp = "IpamId"; +var _IIpa = "IpamIds"; +var _IKEV = "InternetKeyExchangeVersion"; +var _IKEVe = "IKEVersions"; +var _IKP = "ImportKeyPair"; +var _IL = "ImageLocation"; +var _ILn = "InstanceLifecycle"; +var _IM = "IncludeMarketplace"; +var _IMC = "InstanceMatchCriteria"; +var _IMO = "InstanceMarketOptions"; +var _IMOn = "InstanceMetadataOptions"; +var _IMT = "InstanceMetadataTags"; +var _IMU = "ImportManifestUrl"; +var _IMn = "InstanceMonitorings"; +var _IN = "Ipv6Native"; +var _INL = "Ipv6NetmaskLength"; +var _INLp = "Ipv4NetmaskLength"; +var _IOA = "ImageOwnerAlias"; +var _IOI = "IpOwnerId"; +var _IOIn = "InstanceOwnerId"; +var _IOS = "InstanceOwningService"; +var _IP = "Ipv6Prefixes"; +var _IPA = "IpamPoolAllocation"; +var _IPAI = "IpamPoolAllocationId"; +var _IPAp = "IpamPoolAllocations"; +var _IPApa = "IpamPoolArn"; +var _IPC = "Ipv6PrefixCount"; +var _IPCI = "IpamPoolCidrId"; +var _IPCp = "Ipv4PrefixCount"; +var _IPCpa = "IpamPoolCidr"; +var _IPCpam = "IpamPoolCidrs"; +var _IPE = "IpPermissionsEgress"; +var _IPI = "IpamPoolId"; +var _IPIp = "IpamPoolIds"; +var _IPIs = "IsPrimaryIpv6"; +var _IPK = "IncludePublicKey"; +var _IPO = "IpamPoolOwner"; +var _IPR = "IsPermanentRestore"; +var _IPTUC = "InstancePoolsToUseCount"; +var _IPn = "InstancePlatform"; +var _IPng = "IngressPackets"; +var _IPns = "InstancePort"; +var _IPnt = "InterfacePermission"; +var _IPnte = "InterfaceProtocol"; +var _IPo = "IoPerformance"; +var _IPp = "Ipv4Prefixes"; +var _IPpa = "IpamPool"; +var _IPpam = "IpamPools"; +var _IPpe = "IpPermissions"; +var _IPpr = "IpProtocol"; +var _IPpv = "Ipv6Pool"; +var _IPpvo = "Ipv6Pools"; +var _IPpvr = "Ipv4Prefix"; +var _IPpvre = "Ipv6Prefix"; +var _IPs = "IsPrimary"; +var _IR = "InstanceRequirements"; +var _IRC = "IpamResourceCidrs"; +var _IRCp = "IpamResourceCidr"; +var _IRD = "IpamResourceDiscovery"; +var _IRDA = "IpamResourceDiscoveryAssociation"; +var _IRDAA = "IpamResourceDiscoveryAssociationArn"; +var _IRDAI = "IpamResourceDiscoveryAssociationIds"; +var _IRDAIp = "IpamResourceDiscoveryAssociationId"; +var _IRDAp = "IpamResourceDiscoveryAssociations"; +var _IRDApa = "IpamResourceDiscoveryArn"; +var _IRDI = "IpamResourceDiscoveryId"; +var _IRDIp = "IpamResourceDiscoveryIds"; +var _IRDR = "IpamResourceDiscoveryRegion"; +var _IRDp = "IpamResourceDiscoveries"; +var _IRSDA = "IntegrationResultS3DestinationArn"; +var _IRT = "IngressRouteTable"; +var _IRWM = "InstanceRequirementsWithMetadata"; +var _IRp = "IpRanges"; +var _IRpa = "IpamRegion"; +var _IRpv = "Ipv6Ranges"; +var _IS = "ImportSnapshot"; +var _ISA = "IpamScopeArn"; +var _ISI = "IpamScopeId"; +var _ISIn = "InstanceStorageInfo"; +var _ISIp = "IpamScopeIds"; +var _ISL = "InputStorageLocation"; +var _ISS = "InstanceStorageSupported"; +var _IST = "ImportSnapshotTasks"; +var _ISTp = "IpamScopeType"; +var _ISg = "Igmpv2Support"; +var _ISm = "ImdsSupport"; +var _ISmp = "ImpairedSince"; +var _ISn = "InstanceSpecification"; +var _ISns = "InstanceStatuses"; +var _ISnst = "InstanceState"; +var _ISnsta = "InstanceStatus"; +var _ISnt = "IntegrateServices"; +var _ISp = "Ipv6Support"; +var _ISpa = "IpamScope"; +var _ISpam = "IpamScopes"; +var _ISpv = "Ipv6Supported"; +var _IT = "InstanceType"; +var _ITA = "InstanceTagAttribute"; +var _ITC = "IcmpTypeCode"; +var _ITCn = "IncludeTrustContext"; +var _ITI = "ImportTaskId"; +var _ITIm = "ImportTaskIds"; +var _ITK = "InstanceTagKeys"; +var _ITO = "InstanceTypeOfferings"; +var _ITS = "InstanceTypeSpecifications"; +var _ITm = "ImageType"; +var _ITn = "InterfaceType"; +var _ITns = "InstanceTenancy"; +var _ITnst = "InstanceTypes"; +var _ITnsta = "InstanceTags"; +var _IU = "InstanceUsages"; +var _IUp = "IpUsage"; +var _IV = "ImportVolume"; +var _IVE = "IsValidExchange"; +var _IVk = "IkeVersions"; +var _Id = "Id"; +var _Im = "Image"; +var _Ima = "Images"; +var _In = "Instances"; +var _Ins = "Instance"; +var _Int = "Interval"; +var _Io = "Iops"; +var _Ip = "Ipv4"; +var _Ipa = "Ipam"; +var _Ipam = "Ipams"; +var _Ipv = "Ipv6"; +var _K = "Kernel"; +var _KDF = "KinesisDataFirehose"; +var _KF = "KeyFormat"; +var _KFe = "KeyFingerprint"; +var _KI = "KernelId"; +var _KKA = "KmsKeyArn"; +var _KKI = "KmsKeyId"; +var _KM = "KeyMaterial"; +var _KN = "KeyName"; +var _KNe = "KeyNames"; +var _KP = "KeyPairs"; +var _KPI = "KeyPairId"; +var _KPIe = "KeyPairIds"; +var _KT = "KeyType"; +var _KV = "KeyValue"; +var _Ke = "Key"; +var _Key = "Keyword"; +var _L = "Locale"; +var _LA = "LocalAddress"; +var _LADT = "LastAttemptedDiscoveryTime"; +var _LAZ = "LaunchedAvailabilityZone"; +var _LAa = "LastAddress"; +var _LB = "LoadBalancers"; +var _LBA = "LoadBalancerArn"; +var _LBAo = "LocalBgpAsn"; +var _LBC = "LoadBalancersConfig"; +var _LBLP = "LoadBalancerListenerPort"; +var _LBO = "LoadBalancerOptions"; +var _LBP = "LoadBalancerPort"; +var _LBT = "LoadBalancerTarget"; +var _LBTG = "LoadBalancerTargetGroup"; +var _LBTGo = "LoadBalancerTargetGroups"; +var _LBTP = "LoadBalancerTargetPort"; +var _LC = "LoggingConfigurations"; +var _LCA = "LicenseConfigurationArn"; +var _LCO = "LockCreatedOn"; +var _LCo = "LoggingConfiguration"; +var _LD = "LogDestination"; +var _LDST = "LockDurationStartTime"; +var _LDT = "LogDestinationType"; +var _LDo = "LockDuration"; +var _LE = "LogEnabled"; +var _LEO = "LockExpiresOn"; +var _LET = "LastEvaluatedTime"; +var _LEa = "LastError"; +var _LF = "LogFormat"; +var _LFA = "LambdaFunctionArn"; +var _LG = "LaunchGroup"; +var _LGA = "LogGroupArn"; +var _LGI = "LocalGatewayId"; +var _LGIo = "LocalGatewayIds"; +var _LGN = "LogGroupName"; +var _LGRT = "LocalGatewayRouteTable"; +var _LGRTA = "LocalGatewayRouteTableArn"; +var _LGRTI = "LocalGatewayRouteTableId"; +var _LGRTIo = "LocalGatewayRouteTableIds"; +var _LGRTVA = "LocalGatewayRouteTableVpcAssociation"; +var _LGRTVAI = "LocalGatewayRouteTableVpcAssociationId"; +var _LGRTVAIo = "LocalGatewayRouteTableVpcAssociationIds"; +var _LGRTVAo = "LocalGatewayRouteTableVpcAssociations"; +var _LGRTVIGA = "LocalGatewayRouteTableVirtualInterfaceGroupAssociation"; +var _LGRTVIGAI = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationId"; +var _LGRTVIGAIo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociationIds"; +var _LGRTVIGAo = "LocalGatewayRouteTableVirtualInterfaceGroupAssociations"; +var _LGRTo = "LocalGatewayRouteTables"; +var _LGVI = "LocalGatewayVirtualInterfaces"; +var _LGVIG = "LocalGatewayVirtualInterfaceGroups"; +var _LGVIGI = "LocalGatewayVirtualInterfaceGroupId"; +var _LGVIGIo = "LocalGatewayVirtualInterfaceGroupIds"; +var _LGVII = "LocalGatewayVirtualInterfaceIds"; +var _LGVIIo = "LocalGatewayVirtualInterfaceId"; +var _LGo = "LogGroup"; +var _LGoc = "LocalGateways"; +var _LIIRB = "ListImagesInRecycleBin"; +var _LINC = "LocalIpv4NetworkCidr"; +var _LINCo = "LocalIpv6NetworkCidr"; +var _LLT = "LastLaunchedTime"; +var _LM = "LockMode"; +var _LMA = "LastMaintenanceApplied"; +var _LO = "LogOptions"; +var _LOF = "LogOutputFormat"; +var _LP = "LoadPermission"; +var _LPa = "LaunchPermission"; +var _LPau = "LaunchPermissions"; +var _LPi = "LimitPrice"; +var _LPo = "LoadPermissions"; +var _LS = "LockSnapshot"; +var _LSC = "LastStatusChange"; +var _LSDT = "LastSuccessfulDiscoveryTime"; +var _LSIRB = "ListSnapshotsInRecycleBin"; +var _LSL = "LogsStorageLocation"; +var _LST = "LocalStorageTypes"; +var _LSa = "LaunchSpecification"; +var _LSau = "LaunchSpecifications"; +var _LSi = "LicenseSpecifications"; +var _LSo = "LocalStorage"; +var _LSoc = "LockState"; +var _LT = "LocationType"; +var _LTAO = "LaunchTemplateAndOverrides"; +var _LTC = "LaunchTemplateConfigs"; +var _LTD = "LaunchTemplateData"; +var _LTI = "LaunchTemplateId"; +var _LTIa = "LaunchTemplateIds"; +var _LTN = "LaunchTemplateName"; +var _LTNa = "LaunchTemplateNames"; +var _LTOS = "LastTieringOperationStatus"; +var _LTOSD = "LastTieringOperationStatusDetail"; +var _LTP = "LastTieringProgress"; +var _LTS = "LaunchTemplateSpecification"; +var _LTST = "LastTieringStartTime"; +var _LTV = "LaunchTemplateVersion"; +var _LTVa = "LaunchTemplateVersions"; +var _LTa = "LaunchTemplate"; +var _LTat = "LatestTime"; +var _LTau = "LaunchTemplates"; +var _LTaun = "LaunchTime"; +var _LTi = "LicenseType"; +var _LTo = "LocalTarget"; +var _LUT = "LastUpdatedTime"; +var _LV = "LogVersion"; +var _LVN = "LatestVersionNumber"; +var _La = "Latest"; +var _Li = "Lifecycle"; +var _Lic = "Licenses"; +var _Lo = "Location"; +var _M = "Min"; +var _MA = "MutualAuthentication"; +var _MAA = "ModifyAddressAttribute"; +var _MAAA = "MaintenanceAutoAppliedAfter"; +var _MAE = "MultiAttachEnabled"; +var _MAI = "MaxAggregationInterval"; +var _MAIe = "MediaAcceleratorInfo"; +var _MAS = "MovingAddressStatuses"; +var _MATV = "MoveAddressToVpc"; +var _MAZG = "ModifyAvailabilityZoneGroup"; +var _MAa = "MacAddress"; +var _MBCTI = "MoveByoipCidrToIpam"; +var _MBIM = "MaximumBandwidthInMbps"; +var _MC = "MaxCount"; +var _MCOIOL = "MapCustomerOwnedIpOnLaunch"; +var _MCR = "ModifyCapacityReservation"; +var _MCRF = "ModifyCapacityReservationFleet"; +var _MCVE = "ModifyClientVpnEndpoint"; +var _MCi = "MinCount"; +var _MCis = "MissingComponent"; +var _MD = "MaxDuration"; +var _MDA = "MulticastDomainAssociations"; +var _MDCS = "ModifyDefaultCreditSpecification"; +var _MDDS = "MaxDrainDurationSeconds"; +var _MDK = "MetaDataKey"; +var _MDV = "MetaDataValue"; +var _MDa = "MaintenanceDetails"; +var _MDe = "MetaData"; +var _MDi = "MinDuration"; +var _ME = "MaxEntries"; +var _MEDKKI = "ModifyEbsDefaultKmsKeyId"; +var _MEI = "MaximumEfaInterfaces"; +var _MF = "ModifyFleet"; +var _MFIA = "ModifyFpgaImageAttribute"; +var _MG = "MulticastGroups"; +var _MGBPVC = "MemoryGiBPerVCpu"; +var _MH = "ModifyHosts"; +var _MHa = "MacHosts"; +var _MI = "ModifyIpam"; +var _MIA = "ModifyImageAttribute"; +var _MIAo = "ModifyInstanceAttribute"; +var _MIC = "MaxInstanceCount"; +var _MICRA = "ModifyInstanceCapacityReservationAttributes"; +var _MICS = "ModifyInstanceCreditSpecification"; +var _MIEST = "ModifyInstanceEventStartTime"; +var _MIEW = "ModifyInstanceEventWindow"; +var _MIF = "ModifyIdFormat"; +var _MIIF = "ModifyIdentityIdFormat"; +var _MIMD = "ModifyInstanceMetadataDefaults"; +var _MIMO = "ModifyInstanceMaintenanceOptions"; +var _MIMOo = "ModifyInstanceMetadataOptions"; +var _MIP = "ModifyInstancePlacement"; +var _MIPo = "ModifyIpamPool"; +var _MIRC = "ModifyIpamResourceCidr"; +var _MIRD = "ModifyIpamResourceDiscovery"; +var _MIS = "ModifyIpamScope"; +var _MIa = "MaximumIops"; +var _MIe = "MemoryInfo"; +var _MIo = "MonitorInstances"; +var _MLGR = "ModifyLocalGatewayRoute"; +var _MLT = "ModifyLaunchTemplate"; +var _MMB = "MemoryMiB"; +var _MMPL = "ModifyManagedPrefixList"; +var _MNC = "MaximumNetworkCards"; +var _MNI = "MaximumNetworkInterfaces"; +var _MNIA = "ModifyNetworkInterfaceAttribute"; +var _MO = "MetadataOptions"; +var _MOSLRG = "MemberOfServiceLinkedResourceGroup"; +var _MOSLSV = "MacOSLatestSupportedVersions"; +var _MOa = "MaintenanceOptions"; +var _MP = "MatchPaths"; +var _MPDNO = "ModifyPrivateDnsNameOptions"; +var _MPIOL = "MapPublicIpOnLaunch"; +var _MPL = "MaxParallelLaunches"; +var _MPa = "MaxPrice"; +var _MPe = "MetricPoints"; +var _MR = "MaxResults"; +var _MRI = "ModifyReservedInstances"; +var _MRo = "ModificationResults"; +var _MRu = "MultiRegion"; +var _MS = "MaintenanceStrategies"; +var _MSA = "ModifySnapshotAttribute"; +var _MSAo = "ModifySubnetAttribute"; +var _MSDIH = "MaxSlotDurationInHours"; +var _MSDIHi = "MinSlotDurationInHours"; +var _MSFR = "ModifySpotFleetRequest"; +var _MSGR = "ModifySecurityGroupRules"; +var _MSPAPOOODP = "MaxSpotPriceAsPercentageOfOptimalOnDemandPrice"; +var _MST = "ModifySnapshotTier"; +var _MSa = "ManagementState"; +var _MSo = "MoveStatus"; +var _MSod = "ModificationState"; +var _MSu = "MulticastSupport"; +var _MT = "MarketType"; +var _MTC = "MinTargetCapacity"; +var _MTDID = "MaxTermDurationInDays"; +var _MTDIDi = "MinTermDurationInDays"; +var _MTG = "ModifyTransitGateway"; +var _MTGPLR = "ModifyTransitGatewayPrefixListReference"; +var _MTGVA = "ModifyTransitGatewayVpcAttachment"; +var _MTIMB = "MaximumThroughputInMBps"; +var _MTMFNS = "ModifyTrafficMirrorFilterNetworkServices"; +var _MTMFR = "ModifyTrafficMirrorFilterRule"; +var _MTMS = "ModifyTrafficMirrorSession"; +var _MTP = "MaxTotalPrice"; +var _MTe = "MemberType"; +var _MV = "ModifyVolume"; +var _MVA = "ModifyVolumeAttribute"; +var _MVAE = "ModifyVerifiedAccessEndpoint"; +var _MVAEP = "ModifyVerifiedAccessEndpointPolicy"; +var _MVAG = "ModifyVerifiedAccessGroup"; +var _MVAGP = "ModifyVerifiedAccessGroupPolicy"; +var _MVAI = "ModifyVerifiedAccessInstance"; +var _MVAILC = "ModifyVerifiedAccessInstanceLoggingConfiguration"; +var _MVATP = "ModifyVerifiedAccessTrustProvider"; +var _MVAo = "ModifyVpcAttribute"; +var _MVC = "ModifyVpnConnection"; +var _MVCO = "ModifyVpnConnectionOptions"; +var _MVE = "ModifyVpcEndpoint"; +var _MVECN = "ModifyVpcEndpointConnectionNotification"; +var _MVESC = "ModifyVpcEndpointServiceConfiguration"; +var _MVESP = "ModifyVpcEndpointServicePermissions"; +var _MVESPR = "ModifyVpcEndpointServicePayerResponsibility"; +var _MVEa = "ManagesVpcEndpoints"; +var _MVPCO = "ModifyVpcPeeringConnectionOptions"; +var _MVT = "ModifyVpcTenancy"; +var _MVTC = "ModifyVpnTunnelCertificate"; +var _MVTO = "ModifyVpnTunnelOptions"; +var _MVa = "MaxVersion"; +var _MVi = "MinVersion"; +var _Ma = "Max"; +var _Mai = "Main"; +var _Man = "Manufacturer"; +var _Mar = "Marketplace"; +var _Me = "Message"; +var _Mes = "Messages"; +var _Met = "Metric"; +var _Mo = "Mode"; +var _Mon = "Monitoring"; +var _Moni = "Monitored"; +var _N = "Name"; +var _NA = "NetworkAcl"; +var _NAAI = "NetworkAclAssociationId"; +var _NAI = "NetworkAclId"; +var _NAIe = "NetworkAclIds"; +var _NAIew = "NewAssociationId"; +var _NAe = "NetworkAcls"; +var _NAo = "NotAfter"; +var _NB = "NotBefore"; +var _NBD = "NotBeforeDeadline"; +var _NBG = "NetworkBorderGroup"; +var _NBGe = "NetworkBandwidthGbps"; +var _NC = "NetworkCards"; +var _NCI = "NetworkCardIndex"; +var _ND = "NoDevice"; +var _NDe = "NeuronDevices"; +var _NES = "NitroEnclavesSupport"; +var _NG = "NatGateway"; +var _NGA = "NatGatewayAddresses"; +var _NGI = "NatGatewayId"; +var _NGIa = "NatGatewayIds"; +var _NGa = "NatGateways"; +var _NI = "NetworkInterfaces"; +var _NIA = "NetworkInsightsAnalyses"; +var _NIAA = "NetworkInsightsAnalysisArn"; +var _NIAI = "NetworkInsightsAnalysisId"; +var _NIAIe = "NetworkInsightsAnalysisIds"; +var _NIAS = "NetworkInsightsAccessScope"; +var _NIASA = "NetworkInsightsAccessScopeAnalyses"; +var _NIASAA = "NetworkInsightsAccessScopeAnalysisArn"; +var _NIASAI = "NetworkInsightsAccessScopeAnalysisId"; +var _NIASAIe = "NetworkInsightsAccessScopeAnalysisIds"; +var _NIASAe = "NetworkInsightsAccessScopeArn"; +var _NIASAet = "NetworkInsightsAccessScopeAnalysis"; +var _NIASC = "NetworkInsightsAccessScopeContent"; +var _NIASI = "NetworkInsightsAccessScopeId"; +var _NIASIe = "NetworkInsightsAccessScopeIds"; +var _NIASe = "NetworkInsightsAccessScopes"; +var _NIAe = "NetworkInsightsAnalysis"; +var _NIC = "NetworkInterfaceCount"; +var _NID = "NetworkInterfaceDescription"; +var _NII = "NetworkInterfaceId"; +var _NIIe = "NetworkInterfaceIds"; +var _NIO = "NetworkInterfaceOptions"; +var _NIOI = "NetworkInterfaceOwnerId"; +var _NIP = "NetworkInsightsPath"; +var _NIPA = "NetworkInsightsPathArn"; +var _NIPI = "NetworkInsightsPathId"; +var _NIPIe = "NetworkInterfacePermissionId"; +var _NIPIet = "NetworkInsightsPathIds"; +var _NIPIetw = "NetworkInterfacePermissionIds"; +var _NIPe = "NetworkInsightsPaths"; +var _NIPet = "NetworkInterfacePermissions"; +var _NIe = "NetworkId"; +var _NIet = "NetworkInterface"; +var _NIetw = "NetworkInfo"; +var _NIeu = "NeuronInfo"; +var _NL = "NetmaskLength"; +var _NLBA = "NetworkLoadBalancerArn"; +var _NLBAe = "NetworkLoadBalancerArns"; +var _NN = "NetworkNodes"; +var _NP = "NetworkPerformance"; +var _NPF = "NetworkPathFound"; +var _NPe = "NetworkPlatform"; +var _NR = "NoReboot"; +var _NS = "NvmeSupport"; +var _NSST = "NextSlotStartTime"; +var _NSe = "NetworkServices"; +var _NT = "NextToken"; +var _NTI = "NitroTpmInfo"; +var _NTS = "NitroTpmSupport"; +var _NTe = "NetworkType"; +var _O = "Options"; +var _OA = "OutpostArn"; +var _OAr = "OrganizationArn"; +var _OArg = "OrganizationArns"; +var _OAw = "OwnerAlias"; +var _OC = "OfferingClass"; +var _OD = "OccurrenceDays"; +var _ODAS = "OnDemandAllocationStrategy"; +var _ODFC = "OnDemandFulfilledCapacity"; +var _ODMPPOLP = "OnDemandMaxPricePercentageOverLowestPrice"; +var _ODMTP = "OnDemandMaxTotalPrice"; +var _ODO = "OnDemandOptions"; +var _ODS = "OccurrenceDaySet"; +var _ODTC = "OnDemandTargetCapacity"; +var _OH = "OutboundHeader"; +var _OI = "OfferingId"; +var _OIA = "OutsideIpAddress"; +var _OIAT = "OutsideIpAddressType"; +var _OIS = "OptInStatus"; +var _OIr = "OriginalIops"; +var _OIw = "OwnerIds"; +var _OIwn = "OwnerId"; +var _OK = "ObjectKey"; +var _OMAE = "OriginalMultiAttachEnabled"; +var _OO = "OidcOptions"; +var _OR = "OperatingRegions"; +var _ORIWEA = "OutputReservedInstancesWillExpireAt"; +var _ORTE = "OccurrenceRelativeToEnd"; +var _OS = "OfferingSet"; +var _OST = "OldestSampleTime"; +var _OSr = "OriginalSize"; +var _OSv = "OverlapStatus"; +var _OT = "OfferingType"; +var _OTp = "OperationType"; +var _OTpt = "OptimizingTime"; +var _OTr = "OriginalThroughput"; +var _OU = "OccurrenceUnit"; +var _OUA = "OrganizationalUnitArn"; +var _OUAr = "OrganizationalUnitArns"; +var _OVT = "OriginalVolumeType"; +var _Or = "Origin"; +var _Ou = "Output"; +var _Ov = "Overrides"; +var _Ow = "Owners"; +var _Own = "Owner"; +var _P = "Protocol"; +var _PA = "PubliclyAdvertisable"; +var _PAI = "PeerAccountId"; +var _PAIe = "PeeringAttachmentId"; +var _PAR = "PoolAddressRange"; +var _PARo = "PoolAddressRanges"; +var _PAe = "PeerAddress"; +var _PAee = "PeerAsn"; +var _PAo = "PoolArn"; +var _PAr = "PrincipalArn"; +var _PB = "ProvisionedBandwidth"; +var _PBA = "PeerBgpAsn"; +var _PBC = "ProvisionByoipCidr"; +var _PBIG = "PeakBandwidthInGbps"; +var _PC = "ProductCode"; +var _PCB = "PurchaseCapacityBlock"; +var _PCBo = "PoolCidrBlocks"; +var _PCI = "PreserveClientIp"; +var _PCIr = "ProductCodeId"; +var _PCNI = "PeerCoreNetworkId"; +var _PCS = "PostureComplianceStatuses"; +var _PCT = "ProductCodeType"; +var _PCa = "PartitionCount"; +var _PCo = "PoolCidrs"; +var _PCoo = "PoolCount"; +var _PCr = "ProductCodes"; +var _PD = "PolicyDocument"; +var _PDE = "PrivateDnsEnabled"; +var _PDHGN = "Phase1DHGroupNumbers"; +var _PDHGNh = "Phase2DHGroupNumbers"; +var _PDHT = "PrivateDnsHostnameType"; +var _PDHTOL = "PrivateDnsHostnameTypeOnLaunch"; +var _PDN = "PrivateDnsName"; +var _PDNC = "PrivateDnsNameConfiguration"; +var _PDNO = "PrivateDnsNameOptions"; +var _PDNOOL = "PrivateDnsNameOptionsOnLaunch"; +var _PDNVS = "PrivateDnsNameVerificationState"; +var _PDNr = "PrivateDnsNames"; +var _PDNu = "PublicDnsName"; +var _PDOFIRE = "PrivateDnsOnlyForInboundResolverEndpoint"; +var _PDRTI = "PropagationDefaultRouteTableId"; +var _PDSI = "PublicDefaultScopeId"; +var _PDSIr = "PrivateDefaultScopeId"; +var _PDa = "PasswordData"; +var _PDay = "PaymentDue"; +var _PDl = "PlatformDetails"; +var _PDo = "PoolDepth"; +var _PDr = "ProductDescription"; +var _PDri = "PricingDetails"; +var _PDro = "ProductDescriptions"; +var _PE = "PolicyEnabled"; +var _PEA = "Phase1EncryptionAlgorithms"; +var _PEAh = "Phase2EncryptionAlgorithms"; +var _PED = "PartitionEndDate"; +var _PF = "PacketField"; +var _PFS = "PreviousFleetState"; +var _PG = "PlacementGroup"; +var _PGA = "PlacementGroupArn"; +var _PGI = "PlacementGroupInfo"; +var _PGl = "PlacementGroups"; +var _PHP = "PerHourPartition"; +var _PHR = "PurchaseHostReservation"; +var _PHS = "PacketHeaderStatement"; +var _PI = "PublicIp"; +var _PIA = "PrivateIpAddresses"; +var _PIAC = "PrivateIpAddressCount"; +var _PIACr = "PrivateIpAddressConfigs"; +var _PIAh = "Phase1IntegrityAlgorithms"; +var _PIAha = "Phase2IntegrityAlgorithms"; +var _PIAr = "PrivateIpAddress"; +var _PIAu = "PublicIpAddress"; +var _PIB = "ProvisionIpamByoasn"; +var _PIP = "PublicIpv4Pool"; +var _PIPC = "ProvisionIpamPoolCidr"; +var _PIPI = "PublicIpv4PoolId"; +var _PIPu = "PublicIpv4Pools"; +var _PIS = "PublicIpSource"; +var _PIc = "PciId"; +var _PIo = "PoolId"; +var _PIoo = "PoolIds"; +var _PIr = "PrimaryIpv6"; +var _PIri = "PrivateIp"; +var _PIro = "ProcessorInfo"; +var _PIu = "PublicIps"; +var _PK = "PublicKey"; +var _PKM = "PublicKeyMaterial"; +var _PL = "PacketLength"; +var _PLA = "PrefixListAssociations"; +var _PLAr = "PrefixListArn"; +var _PLF = "PartitionLoadFrequency"; +var _PLI = "PrefixListId"; +var _PLIr = "PrefixListIds"; +var _PLN = "PrefixListName"; +var _PLOI = "PrefixListOwnerId"; +var _PLS = "Phase1LifetimeSeconds"; +var _PLSh = "Phase2LifetimeSeconds"; +var _PLr = "PrefixList"; +var _PLre = "PrefixLists"; +var _PM = "PendingMaintenance"; +var _PN = "PartitionNumber"; +var _PNC = "PreviewNextCidr"; +var _PO = "PaymentOption"; +var _POI = "PeerOwnerId"; +var _POe = "PeeringOptions"; +var _PP = "ProgressPercentage"; +var _PPIPC = "ProvisionPublicIpv4PoolCidr"; +var _PR = "PortRange"; +var _PRIO = "PurchaseReservedInstancesOffering"; +var _PRN = "PolicyReferenceName"; +var _PRNo = "PolicyRuleNumber"; +var _PRU = "PtrRecordUpdate"; +var _PRa = "PayerResponsibility"; +var _PRe = "PeerRegion"; +var _PRer = "PermanentRestore"; +var _PRo = "PortRanges"; +var _PRol = "PolicyRule"; +var _PRt = "PtrRecord"; +var _PRu = "PurchaseRequests"; +var _PS = "PriceSchedules"; +var _PSD = "PartitionStartDate"; +var _PSET = "PreviousSlotEndTime"; +var _PSFRS = "PreviousSpotFleetRequestState"; +var _PSI = "PurchaseScheduledInstances"; +var _PSK = "PreSharedKey"; +var _PSKU = "PublicSigningKeyUrl"; +var _PSe = "PeeringStatus"; +var _PSer = "PermissionState"; +var _PSr = "PreviousState"; +var _PSre = "PreviousStatus"; +var _PT = "PurchaseToken"; +var _PTGI = "PeerTransitGatewayId"; +var _PTS = "PoolTagSpecifications"; +var _PTr = "PrincipalType"; +var _PTro = "ProvisionTime"; +var _PTu = "PurchaseTime"; +var _PU = "PresignedUrl"; +var _PV = "PreviousVersion"; +var _PVI = "PeerVpcId"; +var _PVIr = "PrimaryVpcId"; +var _PVr = "PropagatingVgws"; +var _PZI = "ParentZoneId"; +var _PZN = "ParentZoneName"; +var _Pe = "Permission"; +var _Per = "Period"; +var _Pl = "Placement"; +var _Pla = "Platform"; +var _Po = "Port"; +var _Pr = "Prefix"; +var _Pri = "Priority"; +var _Pric = "Price"; +var _Prim = "Primary"; +var _Prin = "Principal"; +var _Princ = "Principals"; +var _Pro = "Protocols"; +var _Prog = "Progress"; +var _Prop = "Propagation"; +var _Prov = "Provisioned"; +var _Pu = "Public"; +var _Pur = "Purchase"; +var _Q = "Quantity"; +var _R = "Resources"; +var _RA = "ReleaseAddress"; +var _RAA = "ResetAddressAttribute"; +var _RAG = "RevokeAllGroups"; +var _RAP = "RemoveAllowedPrincipals"; +var _RART = "RemoveAllocationResourceTags"; +var _RATC = "RestoreAddressToClassic"; +var _RAe = "ResolveAlias"; +var _RAo = "RoleArn"; +var _RAu = "RuleAction"; +var _RBET = "RecycleBinEnterTime"; +var _RBETe = "RecycleBinExitTime"; +var _RBUI = "RestorableByUserIds"; +var _RC = "ResourceCidr"; +var _RCS = "ResourceComplianceStatus"; +var _RCVI = "RevokeClientVpnIngress"; +var _RCe = "ReasonCodes"; +var _RCec = "RecurringCharges"; +var _RCet = "ReturnCode"; +var _RD = "RestoreDuration"; +var _RDAC = "ResourceDiscoveryAssociationCount"; +var _RDI = "RamDiskId"; +var _RDN = "RootDeviceName"; +var _RDS = "ResourceDiscoveryStatus"; +var _RDT = "RootDeviceType"; +var _RE = "RemoveEntries"; +var _RED = "RemoveEndDate"; +var _REDKKI = "ResetEbsDefaultKmsKeyId"; +var _RET = "RestoreExpiryTime"; +var _REe = "ResponseError"; +var _RF = "RemoveFields"; +var _RFIA = "ResetFpgaImageAttribute"; +var _RFP = "RekeyFuzzPercentage"; +var _RGA = "RuleGroupArn"; +var _RGI = "ReferencedGroupId"; +var _RGIe = "ReferencedGroupInfo"; +var _RGLBA = "RemoveGatewayLoadBalancerArns"; +var _RGROP = "RuleGroupRuleOptionsPairs"; +var _RGT = "RuleGroupType"; +var _RGTP = "RuleGroupTypePairs"; +var _RH = "ReleaseHosts"; +var _RHS = "RequireHibernateSupport"; +var _RI = "RebootInstances"; +var _RIA = "ResetImageAttribute"; +var _RIAe = "ResetInstanceAttribute"; +var _RIENA = "RegisterInstanceEventNotificationAttributes"; +var _RIFRB = "RestoreImageFromRecycleBin"; +var _RII = "ReservedInstanceIds"; +var _RIIPA = "ReplaceIamInstanceProfileAssociation"; +var _RIIe = "ReservedInstancesId"; +var _RIIes = "ReservedInstancesIds"; +var _RIIese = "ReservedInstanceId"; +var _RIL = "ReservedInstancesListings"; +var _RILI = "ReservedInstancesListingId"; +var _RIM = "ReservedInstancesModifications"; +var _RIMI = "ReservedInstancesModificationIds"; +var _RIMIe = "ReservedInstancesModificationId"; +var _RINC = "RemoteIpv4NetworkCidr"; +var _RINCe = "RemoteIpv6NetworkCidr"; +var _RIO = "ReservedInstancesOfferings"; +var _RIOI = "ReservedInstancesOfferingIds"; +var _RIOIe = "ReservedInstancesOfferingId"; +var _RIPA = "ReleaseIpamPoolAllocation"; +var _RIS = "ReportInstanceStatus"; +var _RIVR = "ReservedInstanceValueRollup"; +var _RIVS = "ReservedInstanceValueSet"; +var _RIa = "RamdiskId"; +var _RIe = "RegisterImage"; +var _RIeq = "RequesterId"; +var _RIes = "ResourceIds"; +var _RIese = "ReservedInstances"; +var _RIeser = "ReservationId"; +var _RIeso = "ResourceId"; +var _RIu = "RunInstances"; +var _RM = "ReasonMessage"; +var _RMGM = "RegisteredMulticastGroupMembers"; +var _RMGS = "RegisteredMulticastGroupSources"; +var _RMPLV = "RestoreManagedPrefixListVersion"; +var _RMTS = "RekeyMarginTimeSeconds"; +var _RMe = "RequesterManaged"; +var _RN = "RegionName"; +var _RNAA = "ReplaceNetworkAclAssociation"; +var _RNAE = "ReplaceNetworkAclEntry"; +var _RNIA = "ResetNetworkInterfaceAttribute"; +var _RNII = "RegisteredNetworkInterfaceIds"; +var _RNLBA = "RemoveNetworkLoadBalancerArns"; +var _RNS = "RemoveNetworkServices"; +var _RNe = "RegionNames"; +var _RNes = "ResourceName"; +var _RNo = "RoleName"; +var _RNu = "RuleNumber"; +var _RO = "ResourceOwner"; +var _ROI = "ResourceOwnerId"; +var _ROR = "RemoveOperatingRegions"; +var _ROS = "ResourceOverlapStatus"; +var _ROo = "RouteOrigin"; +var _ROu = "RuleOptions"; +var _RP = "ResetPolicy"; +var _RPC = "ReturnPathComponents"; +var _RPCO = "RequesterPeeringConnectionOptions"; +var _RPDN = "RemovePrivateDnsName"; +var _RR = "ReplaceRoute"; +var _RRTA = "ReplaceRouteTableAssociation"; +var _RRTI = "RemoveRouteTableIds"; +var _RRVT = "ReplaceRootVolumeTask"; +var _RRVTI = "ReplaceRootVolumeTaskIds"; +var _RRVTIe = "ReplaceRootVolumeTaskId"; +var _RRVTe = "ReplaceRootVolumeTasks"; +var _RRe = "ResourceRegion"; +var _RS = "ReplacementStrategy"; +var _RSA = "ResetSnapshotAttribute"; +var _RSF = "RequestSpotFleet"; +var _RSFRB = "RestoreSnapshotFromRecycleBin"; +var _RSGE = "RevokeSecurityGroupEgress"; +var _RSGI = "RevokeSecurityGroupIngress"; +var _RSGIe = "RemoveSecurityGroupIds"; +var _RSI = "RequestSpotInstances"; +var _RSIAT = "RemoveSupportedIpAddressTypes"; +var _RSIe = "RemoveSubnetIds"; +var _RSIu = "RunScheduledInstances"; +var _RST = "RestoreSnapshotTier"; +var _RSTe = "RestoreStartTime"; +var _RSe = "ResourceStatement"; +var _RT = "ResourceType"; +var _RTAI = "RouteTableAssociationId"; +var _RTGCB = "RemoveTransitGatewayCidrBlocks"; +var _RTGMDA = "RejectTransitGatewayMulticastDomainAssociations"; +var _RTGMGM = "RegisterTransitGatewayMulticastGroupMembers"; +var _RTGMGS = "RegisterTransitGatewayMulticastGroupSources"; +var _RTGPA = "RejectTransitGatewayPeeringAttachment"; +var _RTGR = "ReplaceTransitGatewayRoute"; +var _RTGVA = "RejectTransitGatewayVpcAttachment"; +var _RTI = "RouteTableId"; +var _RTIe = "RequesterTgwInfo"; +var _RTIo = "RouteTableIds"; +var _RTR = "RouteTableRoute"; +var _RTV = "RemainingTotalValue"; +var _RTe = "ReservationType"; +var _RTel = "ReleaseTime"; +var _RTeq = "RequestTime"; +var _RTes = "ResourceTag"; +var _RTeso = "ResourceTypes"; +var _RTesou = "ResourceTags"; +var _RTo = "RouteTable"; +var _RTou = "RouteTables"; +var _RUI = "ReplaceUnhealthyInstances"; +var _RUV = "RemainingUpfrontValue"; +var _RV = "ReturnValue"; +var _RVEC = "RejectVpcEndpointConnections"; +var _RVI = "ReferencingVpcId"; +var _RVIe = "RequesterVpcInfo"; +var _RVPC = "RejectVpcPeeringConnection"; +var _RVT = "ReplaceVpnTunnel"; +var _RVe = "ReservationValue"; +var _RWS = "ReplayWindowSize"; +var _Ra = "Ramdisk"; +var _Re = "Remove"; +var _Rea = "Reason"; +var _Rec = "Recurrence"; +var _Reg = "Regions"; +var _Regi = "Region"; +var _Req = "Requested"; +var _Res = "Resource"; +var _Rese = "Reservations"; +var _Resu = "Result"; +var _Ret = "Return"; +var _Ro = "Route"; +var _Rou = "Routes"; +var _S = "Source"; +var _SA = "StartupAction"; +var _SAI = "SecondaryAllocationIds"; +var _SAMLPA = "SAMLProviderArn"; +var _SAZ = "SingleAvailabilityZone"; +var _SAo = "SourceAddresses"; +var _SAou = "SourceAddress"; +var _SAour = "SourceArn"; +var _SAu = "SuggestedAccounts"; +var _SAub = "SubnetArn"; +var _SAup = "SupportedArchitectures"; +var _SB = "S3Bucket"; +var _SBM = "SupportedBootModes"; +var _SC = "SubnetConfigurations"; +var _SCA = "ServerCertificateArn"; +var _SCAE = "SerialConsoleAccessEnabled"; +var _SCB = "SourceCidrBlock"; +var _SCR = "SubnetCidrReservation"; +var _SCRI = "SubnetCidrReservationId"; +var _SCSIG = "SustainedClockSpeedInGhz"; +var _SCc = "ScopeCount"; +var _SCe = "ServiceConfiguration"; +var _SCer = "ServiceConfigurations"; +var _SCn = "SnapshotConfiguration"; +var _SD = "SpreadDomain"; +var _SDC = "SourceDestCheck"; +var _SDI = "SendDiagnosticInterrupt"; +var _SDIH = "SlotDurationInHours"; +var _SDLTV = "SuccessfullyDeletedLaunchTemplateVersions"; +var _SDR = "StartDateRange"; +var _SDS = "SpotDatafeedSubscription"; +var _SDV = "SetDefaultVersion"; +var _SDe = "ServiceDetails"; +var _SDn = "SnapshotDetails"; +var _SDt = "StartDate"; +var _SEL = "S3ExportLocation"; +var _SET = "SampledEndTime"; +var _SF = "SupportedFeatures"; +var _SFC = "SuccessfulFleetCancellations"; +var _SFD = "SuccessfulFleetDeletions"; +var _SFII = "SourceFpgaImageId"; +var _SFR = "SuccessfulFleetRequests"; +var _SFRC = "SpotFleetRequestConfig"; +var _SFRCp = "SpotFleetRequestConfigs"; +var _SFRI = "SpotFleetRequestIds"; +var _SFRIp = "SpotFleetRequestId"; +var _SFRS = "SpotFleetRequestState"; +var _SG = "SecurityGroups"; +var _SGFV = "SecurityGroupForVpcs"; +var _SGI = "SecurityGroupIds"; +var _SGIe = "SecurityGroupId"; +var _SGR = "SecurityGroupRules"; +var _SGRD = "SecurityGroupRuleDescriptions"; +var _SGRI = "SecurityGroupRuleIds"; +var _SGRIe = "SecurityGroupRuleId"; +var _SGRS = "SecurityGroupReferencingSupport"; +var _SGRSe = "SecurityGroupReferenceSet"; +var _SGRe = "SecurityGroupRule"; +var _SGe = "SecurityGroup"; +var _SH = "StartHour"; +var _SI = "StartInstances"; +var _SIAS = "ScheduledInstanceAvailabilitySet"; +var _SIAT = "SupportedIpAddressTypes"; +var _SICR = "SubnetIpv4CidrReservations"; +var _SICRu = "SubnetIpv6CidrReservations"; +var _SICS = "SuccessfulInstanceCreditSpecifications"; +var _SIGB = "SizeInGB"; +var _SII = "SourceImageId"; +var _SIIc = "ScheduledInstanceIds"; +var _SIIch = "ScheduledInstanceId"; +var _SIIo = "SourceInstanceId"; +var _SIMB = "SizeInMiB"; +var _SIP = "StaleIpPermissions"; +var _SIPE = "StaleIpPermissionsEgress"; +var _SIPI = "SourceIpamPoolId"; +var _SIR = "SpotInstanceRequests"; +var _SIRI = "SpotInstanceRequestIds"; +var _SIRIp = "SpotInstanceRequestId"; +var _SIS = "ScheduledInstanceSet"; +var _SIT = "SpotInstanceType"; +var _SITR = "StoreImageTaskResults"; +var _SITi = "SingleInstanceType"; +var _SIe = "ServiceId"; +var _SIer = "ServiceIds"; +var _SIn = "SnapshotId"; +var _SIna = "SnapshotIds"; +var _SIo = "SourceIp"; +var _SIt = "StopInstances"; +var _SIta = "StartingInstances"; +var _SIto = "StoppingInstances"; +var _SIu = "SubnetIds"; +var _SIub = "SubnetId"; +var _SIubs = "SubsystemId"; +var _SK = "S3Key"; +var _SKo = "S3objectKey"; +var _SL = "SpreadLevel"; +var _SLGR = "SearchLocalGatewayRoutes"; +var _SLo = "S3Location"; +var _SM = "StatusMessage"; +var _SMPPOLP = "SpotMaxPricePercentageOverLowestPrice"; +var _SMS = "SpotMaintenanceStrategies"; +var _SMTP = "SpotMaxTotalPrice"; +var _SMt = "StateMessage"; +var _SN = "SessionNumber"; +var _SNIA = "StartNetworkInsightsAnalysis"; +var _SNIASA = "StartNetworkInsightsAccessScopeAnalysis"; +var _SNS = "SriovNetSupport"; +var _SNe = "ServiceName"; +var _SNeq = "SequenceNumber"; +var _SNer = "ServiceNames"; +var _SO = "SpotOptions"; +var _SOT = "S3ObjectTags"; +var _SP = "S3Prefix"; +var _SPA = "SamlProviderArn"; +var _SPH = "SpotPriceHistory"; +var _SPI = "ServicePermissionId"; +var _SPIA = "SecondaryPrivateIpAddresses"; +var _SPIAC = "SecondaryPrivateIpAddressCount"; +var _SPL = "SourcePrefixLists"; +var _SPR = "SourcePortRange"; +var _SPRo = "SourcePortRanges"; +var _SPS = "SpotPlacementScores"; +var _SPo = "SourcePorts"; +var _SPp = "SpotPrice"; +var _SQPD = "SuccessfulQueuedPurchaseDeletions"; +var _SR = "SourceRegion"; +var _SRDT = "SupportedRootDeviceTypes"; +var _SRO = "StaticRoutesOnly"; +var _SRT = "SubnetRouteTable"; +var _SRe = "ServiceResource"; +var _SRo = "SourceResource"; +var _SRt = "StateReason"; +var _SS = "SseSpecification"; +var _SSGN = "SourceSecurityGroupName"; +var _SSGOI = "SourceSecurityGroupOwnerId"; +var _SSGS = "StaleSecurityGroupSet"; +var _SSI = "SourceSnapshotId"; +var _SSIo = "SourceSnapshotIds"; +var _SSP = "SelfServicePortal"; +var _SSPU = "SelfServicePortalUrl"; +var _SSS = "StaticSourcesSupport"; +var _SSSAMLPA = "SelfServiceSAMLProviderArn"; +var _SSSPA = "SelfServiceSamlProviderArn"; +var _SST = "SampledStartTime"; +var _SSTR = "SlotStartTimeRange"; +var _SSe = "ServiceState"; +var _SSu = "SupportedStrategies"; +var _SSy = "SystemStatus"; +var _ST = "SplitTunnel"; +var _STC = "SpotTargetCapacity"; +var _STD = "SnapshotTaskDetail"; +var _STFR = "StoreTaskFailureReason"; +var _STGMG = "SearchTransitGatewayMulticastGroups"; +var _STGR = "SearchTransitGatewayRoutes"; +var _STH = "SessionTimeoutHours"; +var _STR = "SkipTunnelReplacement"; +var _STRt = "StateTransitionReason"; +var _STS = "SnapshotTierStatuses"; +var _STSt = "StoreTaskState"; +var _STT = "StateTransitionTime"; +var _STa = "SampleTime"; +var _STe = "ServiceType"; +var _STo = "SourceType"; +var _STs = "SseType"; +var _STt = "StartTime"; +var _STto = "StorageTier"; +var _SUC = "SupportedUsageClasses"; +var _SV = "SourceVersion"; +var _SVESPDV = "StartVpcEndpointServicePrivateDnsVerification"; +var _SVI = "SubsystemVendorId"; +var _SVT = "SupportedVirtualizationTypes"; +var _SVh = "ShellVersion"; +var _SVo = "SourceVpc"; +var _SVu = "SupportedVersions"; +var _SWD = "StartWeekDay"; +var _S_ = "S3"; +var _Sc = "Scope"; +var _Sco = "Score"; +var _Se = "Service"; +var _Set = "Settings"; +var _Si = "Signature"; +var _Siz = "Size"; +var _Sn = "Snapshots"; +var _So = "Sources"; +var _Soc = "Sockets"; +var _Sof = "Software"; +var _St = "Storage"; +var _Sta = "Statistic"; +var _Star = "Start"; +var _Stat = "State"; +var _Statu = "Status"; +var _Status = "Statuses"; +var _Str = "Strategy"; +var _Su = "Subnet"; +var _Sub = "Subscriptions"; +var _Subn = "Subnets"; +var _Suc = "Successful"; +var _Succ = "Success"; +var _T = "Type"; +var _TAAC = "TotalAvailableAddressCount"; +var _TAC = "TotalAddressCount"; +var _TAI = "TransferAccountId"; +var _TC = "TargetConfigurations"; +var _TCS = "TargetCapacitySpecification"; +var _TCUT = "TargetCapacityUnitType"; +var _TCVC = "TerminateClientVpnConnections"; +var _TCVR = "TargetConfigurationValueRollup"; +var _TCVS = "TargetConfigurationValueSet"; +var _TCa = "TargetCapacity"; +var _TCar = "TargetConfiguration"; +var _TCo = "TotalCapacity"; +var _TD = "TrafficDirection"; +var _TDe = "TerminationDelay"; +var _TE = "TargetEnvironment"; +var _TED = "TermEndDate"; +var _TET = "TcpEstablishedTimeout"; +var _TEo = "TokenEndpoint"; +var _TFC = "TotalFulfilledCapacity"; +var _TFMIMB = "TotalFpgaMemoryInMiB"; +var _TG = "TargetGroups"; +var _TGA = "TransitGatewayAddress"; +var _TGAI = "TransitGatewayAttachmentId"; +var _TGAIr = "TransitGatewayAttachmentIds"; +var _TGAP = "TransitGatewayAttachmentPropagations"; +var _TGAr = "TransitGatewayAttachments"; +var _TGAra = "TransitGatewayAttachment"; +var _TGAran = "TransitGatewayArn"; +var _TGArans = "TransitGatewayAsn"; +var _TGC = "TargetGroupsConfig"; +var _TGCB = "TransitGatewayCidrBlocks"; +var _TGCP = "TransitGatewayConnectPeer"; +var _TGCPI = "TransitGatewayConnectPeerId"; +var _TGCPIr = "TransitGatewayConnectPeerIds"; +var _TGCPr = "TransitGatewayConnectPeers"; +var _TGCr = "TransitGatewayConnect"; +var _TGCra = "TransitGatewayConnects"; +var _TGI = "TransitGatewayId"; +var _TGIr = "TransitGatewayIds"; +var _TGMD = "TransitGatewayMulticastDomain"; +var _TGMDA = "TransitGatewayMulticastDomainArn"; +var _TGMDI = "TransitGatewayMulticastDomainId"; +var _TGMDIr = "TransitGatewayMulticastDomainIds"; +var _TGMDr = "TransitGatewayMulticastDomains"; +var _TGMIMB = "TotalGpuMemoryInMiB"; +var _TGOI = "TransitGatewayOwnerId"; +var _TGPA = "TransitGatewayPeeringAttachment"; +var _TGPAr = "TransitGatewayPeeringAttachments"; +var _TGPLR = "TransitGatewayPrefixListReference"; +var _TGPLRr = "TransitGatewayPrefixListReferences"; +var _TGPT = "TransitGatewayPolicyTable"; +var _TGPTE = "TransitGatewayPolicyTableEntries"; +var _TGPTI = "TransitGatewayPolicyTableId"; +var _TGPTIr = "TransitGatewayPolicyTableIds"; +var _TGPTr = "TransitGatewayPolicyTables"; +var _TGRT = "TransitGatewayRouteTable"; +var _TGRTA = "TransitGatewayRouteTableAnnouncement"; +var _TGRTAI = "TransitGatewayRouteTableAnnouncementId"; +var _TGRTAIr = "TransitGatewayRouteTableAnnouncementIds"; +var _TGRTAr = "TransitGatewayRouteTableAnnouncements"; +var _TGRTI = "TransitGatewayRouteTableId"; +var _TGRTIr = "TransitGatewayRouteTableIds"; +var _TGRTP = "TransitGatewayRouteTablePropagations"; +var _TGRTR = "TransitGatewayRouteTableRoute"; +var _TGRTr = "TransitGatewayRouteTables"; +var _TGVA = "TransitGatewayVpcAttachment"; +var _TGVAr = "TransitGatewayVpcAttachments"; +var _TGr = "TransitGateway"; +var _TGra = "TransitGateways"; +var _THP = "TotalHourlyPrice"; +var _TI = "TerminateInstances"; +var _TIC = "TunnelInsideCidr"; +var _TICo = "TotalInstanceCount"; +var _TII = "TrunkInterfaceId"; +var _TIIC = "TunnelInsideIpv6Cidr"; +var _TIIV = "TunnelInsideIpVersion"; +var _TIMIMB = "TotalInferenceMemoryInMiB"; +var _TIWE = "TerminateInstancesWithExpiration"; +var _TIa = "TargetIops"; +var _TIe = "TenantId"; +var _TIer = "TerminatingInstances"; +var _TLSGB = "TotalLocalStorageGB"; +var _TMAE = "TargetMultiAttachEnabled"; +var _TMF = "TrafficMirrorFilter"; +var _TMFI = "TrafficMirrorFilterId"; +var _TMFIr = "TrafficMirrorFilterIds"; +var _TMFR = "TrafficMirrorFilterRule"; +var _TMFRI = "TrafficMirrorFilterRuleId"; +var _TMFr = "TrafficMirrorFilters"; +var _TMMIMB = "TotalMediaMemoryInMiB"; +var _TMS = "TrafficMirrorSession"; +var _TMSI = "TrafficMirrorSessionId"; +var _TMSIr = "TrafficMirrorSessionIds"; +var _TMSr = "TrafficMirrorSessions"; +var _TMT = "TrafficMirrorTarget"; +var _TMTI = "TrafficMirrorTargetId"; +var _TMTIr = "TrafficMirrorTargetIds"; +var _TMTr = "TrafficMirrorTargets"; +var _TNC = "TargetNetworkCidr"; +var _TNDMIMB = "TotalNeuronDeviceMemoryInMiB"; +var _TNI = "TargetNetworkId"; +var _TO = "TunnelOptions"; +var _TOAT = "TransferOfferAcceptedTimestamp"; +var _TOET = "TransferOfferExpirationTimestamp"; +var _TP = "ToPort"; +var _TPC = "ThreadsPerCore"; +var _TPT = "TrustProviderType"; +var _TPr = "TransportProtocol"; +var _TR = "ThroughResources"; +var _TRC = "TargetResourceCount"; +var _TRD = "TemporaryRestoreDays"; +var _TRTI = "TargetRouteTableId"; +var _TRi = "TimeRanges"; +var _TS = "TagSpecifications"; +var _TSD = "TermStartDate"; +var _TSIGB = "TotalSizeInGB"; +var _TSIH = "TotalScheduledInstanceHours"; +var _TST = "TieringStartTime"; +var _TSTa = "TaskStartTime"; +var _TSa = "TargetSubnet"; +var _TSag = "TagSet"; +var _TSagp = "TagSpecification"; +var _TSar = "TargetSize"; +var _TSas = "TaskState"; +var _TSp = "TpmSupport"; +var _TT = "TrafficType"; +var _TTC = "TotalTargetCapacity"; +var _TTGAI = "TransportTransitGatewayAttachmentId"; +var _TTa = "TargetThroughput"; +var _TUP = "TotalUpfrontPrice"; +var _TV = "TargetVersion"; +var _TVC = "TotalVCpus"; +var _TVSI = "TargetVpcSubnetId"; +var _TVT = "TargetVolumeType"; +var _Ta = "Tags"; +var _Tag = "Tag"; +var _Te = "Tenancy"; +var _Ter = "Term"; +var _Th = "Throughput"; +var _Ti = "Tier"; +var _Tim = "Timestamp"; +var _To = "To"; +var _U = "Url"; +var _UB = "UserBucket"; +var _UD = "UserData"; +var _UDLTV = "UnsuccessfullyDeletedLaunchTemplateVersions"; +var _UDe = "UefiData"; +var _UDp = "UpdatedDate"; +var _UDpd = "UpdateDate"; +var _UE = "UploadEnd"; +var _UF = "UpfrontFee"; +var _UFD = "UnsuccessfulFleetDeletions"; +var _UFR = "UnsuccessfulFleetRequests"; +var _UG = "UserGroups"; +var _UI = "UnmonitorInstances"; +var _UIA = "UnassignIpv6Addresses"; +var _UIAn = "UnassignedIpv6Addresses"; +var _UIC = "UsedInstanceCount"; +var _UICS = "UnsuccessfulInstanceCreditSpecifications"; +var _UIE = "UserInfoEndpoint"; +var _UIGP = "UserIdGroupPairs"; +var _UIP = "UnknownIpPermissions"; +var _UIPn = "UnassignedIpv6Prefixes"; +var _UIs = "UserId"; +var _UIse = "UserIds"; +var _ULI = "UseLongIds"; +var _ULIA = "UseLongIdsAggregated"; +var _UO = "UsageOperation"; +var _UOUT = "UsageOperationUpdateTime"; +var _UP = "UploadPolicy"; +var _UPIA = "UnassignPrivateIpAddresses"; +var _UPNGA = "UnassignPrivateNatGatewayAddress"; +var _UPS = "UploadPolicySignature"; +var _UPp = "UpfrontPrice"; +var _UPs = "UsagePrice"; +var _US = "UnlockSnapshot"; +var _USGRDE = "UpdateSecurityGroupRuleDescriptionsEgress"; +var _USGRDI = "UpdateSecurityGroupRuleDescriptionsIngress"; +var _UST = "UdpStreamTimeout"; +var _USp = "UploadSize"; +var _USpl = "UploadStart"; +var _USs = "UsageStrategy"; +var _UT = "UdpTimeout"; +var _UTPT = "UserTrustProviderType"; +var _UTp = "UpdateTime"; +var _Un = "Unsuccessful"; +var _Us = "Username"; +var _V = "Version"; +var _VA = "VpcAttachment"; +var _VAE = "VerifiedAccessEndpoint"; +var _VAEI = "VerifiedAccessEndpointId"; +var _VAEIe = "VerifiedAccessEndpointIds"; +var _VAEe = "VerifiedAccessEndpoints"; +var _VAG = "VerifiedAccessGroup"; +var _VAGA = "VerifiedAccessGroupArn"; +var _VAGI = "VerifiedAccessGroupId"; +var _VAGIe = "VerifiedAccessGroupIds"; +var _VAGe = "VerifiedAccessGroups"; +var _VAI = "VerifiedAccessInstance"; +var _VAII = "VerifiedAccessInstanceId"; +var _VAIIe = "VerifiedAccessInstanceIds"; +var _VAIe = "VerifiedAccessInstances"; +var _VATP = "VerifiedAccessTrustProvider"; +var _VATPI = "VerifiedAccessTrustProviderId"; +var _VATPIe = "VerifiedAccessTrustProviderIds"; +var _VATPe = "VerifiedAccessTrustProviders"; +var _VAp = "VpcAttachments"; +var _VC = "VpnConnection"; +var _VCC = "VCpuCount"; +var _VCDSC = "VpnConnectionDeviceSampleConfiguration"; +var _VCDT = "VpnConnectionDeviceTypes"; +var _VCDTI = "VpnConnectionDeviceTypeId"; +var _VCI = "VpnConnectionId"; +var _VCIp = "VpnConnectionIds"; +var _VCIpu = "VCpuInfo"; +var _VCa = "ValidCores"; +var _VCp = "VpnConnections"; +var _VD = "VersionDescription"; +var _VE = "VpcEndpoint"; +var _VEC = "VpcEndpointConnections"; +var _VECI = "VpcEndpointConnectionId"; +var _VEI = "VpcEndpointIds"; +var _VEIp = "VpcEndpointId"; +var _VEO = "VpcEndpointOwner"; +var _VEPS = "VpcEndpointPolicySupported"; +var _VES = "VpnEcmpSupport"; +var _VESp = "VpcEndpointService"; +var _VESpc = "VpcEndpointState"; +var _VET = "VpcEndpointType"; +var _VEp = "VpcEndpoints"; +var _VF = "ValidFrom"; +var _VFR = "ValidationFailureReason"; +var _VG = "VpnGateway"; +var _VGI = "VpnGatewayId"; +var _VGIp = "VpnGatewayIds"; +var _VGp = "VpnGateways"; +var _VI = "VpcId"; +var _VIe = "VendorId"; +var _VIl = "VlanId"; +var _VIo = "VolumeId"; +var _VIol = "VolumeIds"; +var _VIp = "VpcIds"; +var _VM = "VolumesModifications"; +var _VMo = "VolumeModification"; +var _VN = "VirtualName"; +var _VNI = "VirtualNetworkId"; +var _VNe = "VersionNumber"; +var _VOI = "VolumeOwnerId"; +var _VOIp = "VpcOwnerId"; +var _VP = "VpnPort"; +var _VPC = "VpcPeeringConnection"; +var _VPCI = "VpcPeeringConnectionId"; +var _VPCIp = "VpcPeeringConnectionIds"; +var _VPCp = "VpcPeeringConnections"; +var _VPp = "VpnProtocol"; +var _VS = "VolumeSize"; +var _VSo = "VolumeStatuses"; +var _VSol = "VolumeStatus"; +var _VT = "VolumeType"; +var _VTOIA = "VpnTunnelOutsideIpAddress"; +var _VTPC = "ValidThreadsPerCore"; +var _VTg = "VgwTelemetry"; +var _VTi = "VirtualizationTypes"; +var _VTir = "VirtualizationType"; +var _VU = "ValidUntil"; +var _Va = "Value"; +var _Val = "Values"; +var _Ve = "Versions"; +var _Ven = "Vendor"; +var _Vl = "Vlan"; +var _Vo = "Volume"; +var _Vol = "Volumes"; +var _Vp = "Vpc"; +var _Vpc = "Vpcs"; +var _W = "Weight"; +var _WBC = "WithdrawByoipCidr"; +var _WC = "WithCooldown"; +var _WCe = "WeightedCapacity"; +var _WM = "WarningMessage"; +var _WU = "WakeUp"; +var _Wa = "Warning"; +var _ZI = "ZoneIds"; +var _ZIo = "ZoneId"; +var _ZN = "ZoneNames"; +var _ZNo = "ZoneName"; +var _ZT = "ZoneType"; +var _a = "associations"; +var _aA = "asnAssociation"; +var _aAC = "availableAddressCount"; +var _aAI = "awsAccountId"; +var _aAId = "addressAllocationId"; +var _aAS = "asnAssociationSet"; +var _aASA = "autoAcceptSharedAssociations"; +var _aASAu = "autoAcceptSharedAttachments"; +var _aASc = "accountAttributeSet"; +var _aASd = "additionalAccountSet"; +var _aAc = "accessAll"; +var _aBHP = "actualBlockHourlyPrice"; +var _aC = "availableCapacity"; +var _aCIA = "associateCarrierIpAddress"; +var _aCT = "archivalCompleteTime"; +var _aCc = "acceleratorCount"; +var _aCd = "addressCount"; +var _aD = "activeDirectory"; +var _aDNL = "allocationDefaultNetmaskLength"; +var _aDRFRV = "allowDnsResolutionFromRemoteVpc"; +var _aDRTI = "associationDefaultRouteTableId"; +var _aDS = "additionalDetailSet"; +var _aDT = "additionalDetailType"; +var _aDn = "announcementDirection"; +var _aDp = "applicationDomain"; +var _aE = "authorizationEndpoint"; +var _aEC = "analyzedEniCount"; +var _aEFLCLTRV = "allowEgressFromLocalClassicLinkToRemoteVpc"; +var _aEFLVTRCL = "allowEgressFromLocalVpcToRemoteClassicLink"; +var _aEIO = "autoEnableIO"; +var _aF = "addressFamily"; +var _aFS = "analysisFindingSet"; +var _aI = "allocationId"; +var _aIA = "assignedIpv6Addresses"; +var _aIAC = "availableIpAddressCount"; +var _aIAOC = "assignIpv6AddressOnCreation"; +var _aIC = "availableInstanceCapacity"; +var _aICv = "availableInstanceCount"; +var _aIPS = "assignedIpv6PrefixSet"; +var _aIPSs = "assignedIpv4PrefixSet"; +var _aIS = "activeInstanceSet"; +var _aITS = "allowedInstanceTypeSet"; +var _aIc = "accountId"; +var _aIm = "amiId"; +var _aIs = "associationId"; +var _aIss = "assetId"; +var _aIt = "attachmentId"; +var _aIu = "autoImport"; +var _aL = "accountLevel"; +var _aLI = "amiLaunchIndex"; +var _aLc = "accessLogs"; +var _aMIT = "allowsMultipleInstanceTypes"; +var _aMNL = "allocationMinNetmaskLength"; +var _aMNLl = "allocationMaxNetmaskLength"; +var _aMS = "acceleratorManufacturerSet"; +var _aMSp = "applianceModeSupport"; +var _aN = "attributeName"; +var _aNS = "acceleratorNameSet"; +var _aO = "authenticationOptions"; +var _aOI = "addressOwnerId"; +var _aP = "allowedPrincipals"; +var _aPCO = "accepterPeeringConnectionOptions"; +var _aPHS = "alternatePathHintSet"; +var _aPIA = "associatePublicIpAddress"; +var _aPIAS = "assignedPrivateIpAddressesSet"; +var _aPS = "addedPrincipalSet"; +var _aPu = "autoPlacement"; +var _aR = "authorizationRule"; +var _aRA = "associatedRoleArn"; +var _aRAd = "additionalRoutesAvailable"; +var _aRC = "acceptedRouteCount"; +var _aRS = "associatedRoleSet"; +var _aRSu = "autoRecoverySupported"; +var _aRTS = "allocationResourceTagSet"; +var _aRc = "aclRule"; +var _aRcc = "acceptanceRequired"; +var _aRd = "addressRegion"; +var _aRs = "associatedResource"; +var _aRu = "autoRecovery"; +var _aS = "associationState"; +var _aSA = "amazonSideAsn"; +var _aSS = "amdSevSnp"; +var _aSc = "activityStatus"; +var _aSct = "actionsSet"; +var _aSd = "addressSet"; +var _aSdd = "addressesSet"; +var _aSl = "allocationStrategy"; +var _aSn = "analysisStatus"; +var _aSs = "associationStatus"; +var _aSss = "associationSet"; +var _aSt = "attachmentSet"; +var _aStt = "attachmentStatuses"; +var _aSw = "awsService"; +var _aT = "addressTransfer"; +var _aTGAI = "accepterTransitGatewayAttachmentId"; +var _aTI = "accepterTgwInfo"; +var _aTMMB = "acceleratorTotalMemoryMiB"; +var _aTN = "associatedTargetNetwork"; +var _aTS = "addressTransferStatus"; +var _aTSc = "acceleratorTypeSet"; +var _aTSd = "addressTransferSet"; +var _aTd = "addressType"; +var _aTdd = "addressingType"; +var _aTl = "allocationType"; +var _aTll = "allocationTime"; +var _aTs = "associationTarget"; +var _aTt = "attachTime"; +var _aTtt = "attachedTo"; +var _aTtta = "attachmentType"; +var _aV = "attributeValue"; +var _aVC = "availableVCpus"; +var _aVI = "accepterVpcInfo"; +var _aVS = "attributeValueSet"; +var _aZ = "availabilityZone"; +var _aZG = "availabilityZoneGroup"; +var _aZI = "availabilityZoneId"; +var _aZIv = "availabilityZoneInfo"; +var _aZS = "availabilityZoneSet"; +var _ac = "acl"; +var _acc = "accelerators"; +var _act = "active"; +var _ad = "address"; +var _af = "affinity"; +var _am = "amount"; +var _ar = "arn"; +var _arc = "architecture"; +var _as = "asn"; +var _ass = "association"; +var _at = "attachment"; +var _att = "attachments"; +var _b = "byoasn"; +var _bA = "bgpAsn"; +var _bBIG = "baselineBandwidthInGbps"; +var _bBIM = "baselineBandwidthInMbps"; +var _bC = "byoipCidr"; +var _bCS = "byoipCidrSet"; +var _bCg = "bgpConfigurations"; +var _bCy = "bytesConverted"; +var _bDM = "blockDeviceMapping"; +var _bDMS = "blockDeviceMappingSet"; +var _bDMl = "blockDurationMinutes"; +var _bEBM = "baselineEbsBandwidthMbps"; +var _bEDNS = "baseEndpointDnsNameSet"; +var _bI = "bundleId"; +var _bII = "branchInterfaceId"; +var _bIT = "bundleInstanceTask"; +var _bITS = "bundleInstanceTasksSet"; +var _bIa = "baselineIops"; +var _bM = "bootMode"; +var _bMa = "bareMetal"; +var _bN = "bucketName"; +var _bO = "bucketOwner"; +var _bP = "burstablePerformance"; +var _bPS = "burstablePerformanceSupported"; +var _bS = "byoasnSet"; +var _bSg = "bgpStatus"; +var _bT = "bannerText"; +var _bTIMB = "baselineThroughputInMBps"; +var _bl = "blackhole"; +var _bu = "bucket"; +var _c = "component"; +var _cA = "componentArn"; +var _cAS = "capacityAllocationSet"; +var _cAUS = "coipAddressUsageSet"; +var _cAe = "certificateArn"; +var _cAo = "componentAccount"; +var _cAr = "createdAt"; +var _cB = "cidrBlock"; +var _cBA = "cidrBlockAssociation"; +var _cBAS = "cidrBlockAssociationSet"; +var _cBDH = "capacityBlockDurationHours"; +var _cBOI = "capacityBlockOfferingId"; +var _cBOS = "capacityBlockOfferingSet"; +var _cBS = "cidrBlockState"; +var _cBSi = "cidrBlockSet"; +var _cBr = "createdBy"; +var _cC = "currencyCode"; +var _cCB = "clientCidrBlock"; +var _cCO = "clientConnectOptions"; +var _cCRFE = "cancelCapacityReservationFleetError"; +var _cCl = "clientConfiguration"; +var _cCo = "coreCount"; +var _cCoi = "coipCidr"; +var _cCp = "cpuCredits"; +var _cD = "createDate"; +var _cDr = "creationDate"; +var _cDre = "createdDate"; +var _cE = "connectionEvents"; +var _cET = "connectionEstablishedTime"; +var _cETo = "connectionEndTime"; +var _cEr = "cronExpression"; +var _cF = "containerFormat"; +var _cFS = "currentFleetState"; +var _cG = "carrierGateway"; +var _cGC = "customerGatewayConfiguration"; +var _cGI = "carrierGatewayId"; +var _cGIu = "customerGatewayId"; +var _cGS = "carrierGatewaySet"; +var _cGSu = "customerGatewaySet"; +var _cGu = "customerGateway"; +var _cGur = "currentGeneration"; +var _cI = "carrierIp"; +var _cIBM = "currentInstanceBootMode"; +var _cIi = "cidrIp"; +var _cIid = "cidrIpv6"; +var _cIidr = "cidrIpv4"; +var _cIl = "clientIp"; +var _cIli = "clientId"; +var _cIo = "componentId"; +var _cIon = "connectionId"; +var _cIop = "coIp"; +var _cIor = "coreInfo"; +var _cLB = "classicLoadBalancers"; +var _cLBC = "classicLoadBalancersConfig"; +var _cLBL = "classicLoadBalancerListener"; +var _cLBO = "clientLoginBannerOptions"; +var _cLDS = "classicLinkDnsSupported"; +var _cLE = "classicLinkEnabled"; +var _cLO = "connectionLogOptions"; +var _cMKE = "customerManagedKeyEnabled"; +var _cMS = "cpuManufacturerSet"; +var _cN = "commonName"; +var _cNA = "coreNetworkArn"; +var _cNAA = "coreNetworkAttachmentArn"; +var _cNAo = "connectionNotificationArn"; +var _cNI = "connectionNotificationId"; +var _cNIo = "coreNetworkId"; +var _cNS = "connectionNotificationState"; +var _cNSo = "connectionNotificationSet"; +var _cNT = "connectionNotificationType"; +var _cNo = "connectionNotification"; +var _cO = "cpuOptions"; +var _cOI = "customerOwnedIp"; +var _cOIP = "customerOwnedIpv4Pool"; +var _cOP = "coolOffPeriod"; +var _cOPEO = "coolOffPeriodExpiresOn"; +var _cP = "coipPool"; +var _cPC = "connectPeerConfiguration"; +var _cPI = "coipPoolId"; +var _cPS = "coipPoolSet"; +var _cR = "capacityReservation"; +var _cRA = "capacityReservationArn"; +var _cRCC = "clientRootCertificateChain"; +var _cRFA = "capacityReservationFleetArn"; +var _cRFI = "capacityReservationFleetId"; +var _cRFS = "capacityReservationFleetSet"; +var _cRGS = "capacityReservationGroupSet"; +var _cRI = "capacityReservationId"; +var _cRL = "certificateRevocationList"; +var _cRO = "capacityReservationOptions"; +var _cRP = "capacityReservationPreference"; +var _cRRGA = "capacityReservationResourceGroupArn"; +var _cRS = "capacityReservationSet"; +var _cRSa = "capacityReservationSpecification"; +var _cRT = "capacityReservationTarget"; +var _cRa = "capacityRebalance"; +var _cRo = "componentRegion"; +var _cS = "cidrSet"; +var _cSBN = "certificateS3BucketName"; +var _cSFRS = "currentSpotFleetRequestState"; +var _cSOK = "certificateS3ObjectKey"; +var _cSl = "clientSecret"; +var _cSo = "complianceStatus"; +var _cSon = "connectionStatuses"; +var _cSr = "creditSpecification"; +var _cSu = "currentState"; +var _cSur = "currentStatus"; +var _cT = "clientToken"; +var _cTC = "connectionTrackingConfiguration"; +var _cTI = "conversionTaskId"; +var _cTS = "connectionTrackingSpecification"; +var _cTo = "conversionTasks"; +var _cTom = "completeTime"; +var _cTon = "conversionTask"; +var _cTonn = "connectivityType"; +var _cTr = "createTime"; +var _cTre = "creationTime"; +var _cTrea = "creationTimestamp"; +var _cVE = "clientVpnEndpoint"; +var _cVEI = "clientVpnEndpointId"; +var _cVP = "createVolumePermission"; +var _cVTN = "clientVpnTargetNetworks"; +var _cWL = "cloudWatchLogs"; +var _cWLO = "cloudWatchLogOptions"; +var _ca = "category"; +var _ch = "checksum"; +var _ci = "cidr"; +var _co = "code"; +var _con = "connections"; +var _conf = "configured"; +var _cont = "context"; +var _cor = "cores"; +var _cou = "count"; +var _d = "destination"; +var _dA = "destinationArn"; +var _dAIT = "denyAllIgwTraffic"; +var _dART = "defaultAssociationRouteTable"; +var _dAS = "destinationAddressSet"; +var _dASe = "deprovisionedAddressSet"; +var _dASi = "disableApiStop"; +var _dAT = "disableApiTermination"; +var _dAe = "destinationAddress"; +var _dC = "destinationCidr"; +var _dCA = "domainCertificateArn"; +var _dCAR = "deliverCrossAccountRole"; +var _dCB = "destinationCidrBlock"; +var _dCS = "dhcpConfigurationSet"; +var _dCe = "defaultCores"; +var _dEKI = "dataEncryptionKeyId"; +var _dES = "dnsEntrySet"; +var _dFA = "defaultForAz"; +var _dHIS = "dedicatedHostIdSet"; +var _dHS = "dedicatedHostsSupported"; +var _dI = "directoryId"; +var _dICB = "destinationIpv6CidrBlock"; +var _dIF = "diskImageFormat"; +var _dIS = "diskImageSize"; +var _dIe = "deviceIndex"; +var _dIes = "destinationIp"; +var _dLEM = "deliverLogsErrorMessage"; +var _dLPA = "deliverLogsPermissionArn"; +var _dLS = "deliverLogsStatus"; +var _dMGM = "deregisteredMulticastGroupMembers"; +var _dMGS = "deregisteredMulticastGroupSources"; +var _dN = "deviceName"; +var _dNCI = "defaultNetworkCardIndex"; +var _dNII = "deregisteredNetworkInterfaceIds"; +var _dNn = "dnsName"; +var _dO = "dhcpOptions"; +var _dOI = "dhcpOptionsId"; +var _dOS = "dhcpOptionsSet"; +var _dOT = "deleteOnTermination"; +var _dOe = "destinationOptions"; +var _dOev = "deviceOptions"; +var _dOn = "dnsOptions"; +var _dP = "deregistrationProtection"; +var _dPLI = "destinationPrefixListId"; +var _dPLS = "destinationPrefixListSet"; +var _dPR = "destinationPortRange"; +var _dPRS = "destinationPortRangeSet"; +var _dPRT = "defaultPropagationRouteTable"; +var _dPS = "destinationPortSet"; +var _dPe = "destinationPort"; +var _dR = "discoveryRegion"; +var _dRDAI = "defaultResourceDiscoveryAssociationId"; +var _dRDI = "defaultResourceDiscoveryId"; +var _dRIT = "dnsRecordIpType"; +var _dRRV = "deleteReplacedRootVolume"; +var _dRS = "dataRetentionSupport"; +var _dRSa = "dataResponseSet"; +var _dRTA = "defaultRouteTableAssociation"; +var _dRTP = "defaultRouteTablePropagation"; +var _dRy = "dynamicRouting"; +var _dS = "dnsServer"; +var _dSCR = "deletedSubnetCidrReservation"; +var _dSe = "destinationSet"; +var _dSel = "deliveryStatus"; +var _dSeli = "deliveryStream"; +var _dSn = "dnsSupport"; +var _dT = "deletionTime"; +var _dTA = "dpdTimeoutAction"; +var _dTCT = "defaultTargetCapacityType"; +var _dTPC = "defaultThreadsPerCore"; +var _dTPT = "deviceTrustProviderType"; +var _dTS = "dpdTimeoutSeconds"; +var _dTe = "deprecationTime"; +var _dTel = "deleteTime"; +var _dTi = "disablingTime"; +var _dTis = "disabledTime"; +var _dV = "destinationVpc"; +var _dVC = "defaultVCpus"; +var _dVD = "deviceValidationDomain"; +var _dVN = "defaultVersionNumber"; +var _dVe = "defaultVersion"; +var _de = "description"; +var _dea = "deadline"; +var _def = "default"; +var _det = "details"; +var _dev = "device"; +var _di = "direction"; +var _dis = "disks"; +var _do = "domain"; +var _du = "duration"; +var _e = "egress"; +var _eA = "enableAcceleration"; +var _eB = "egressBytes"; +var _eC = "errorCode"; +var _eCTP = "excessCapacityTerminationPolicy"; +var _eCx = "explanationCode"; +var _eD = "endDate"; +var _eDH = "enableDnsHostnames"; +var _eDS = "enableDnsSupport"; +var _eDT = "endDateType"; +var _eDf = "effectiveDate"; +var _eDn = "enableDns64"; +var _eDnd = "endpointDomain"; +var _eDv = "eventDescription"; +var _eEBD = "ebsEncryptionByDefault"; +var _eFRS = "egressFilterRuleSet"; +var _eGAI = "elasticGpuAssociationId"; +var _eGAS = "elasticGpuAssociationState"; +var _eGASl = "elasticGpuAssociationSet"; +var _eGAT = "elasticGpuAssociationTime"; +var _eGH = "elasticGpuHealth"; +var _eGI = "elasticGpuId"; +var _eGS = "elasticGpuSet"; +var _eGSS = "elasticGpuSpecificationSet"; +var _eGSl = "elasticGpuState"; +var _eGT = "elasticGpuType"; +var _eH = "endHour"; +var _eI = "exchangeId"; +var _eIAA = "elasticInferenceAcceleratorArn"; +var _eIAAI = "elasticInferenceAcceleratorAssociationId"; +var _eIAAS = "elasticInferenceAcceleratorAssociationState"; +var _eIAASl = "elasticInferenceAcceleratorAssociationSet"; +var _eIAAT = "elasticInferenceAcceleratorAssociationTime"; +var _eIAS = "elasticInferenceAcceleratorSet"; +var _eITI = "exportImageTaskId"; +var _eITS = "exportImageTaskSet"; +var _eITSn = "encryptionInTransitSupported"; +var _eITSx = "excludedInstanceTypeSet"; +var _eIb = "ebsInfo"; +var _eIf = "efaInfo"; +var _eIv = "eventInformation"; +var _eIve = "eventId"; +var _eKKI = "encryptionKmsKeyId"; +var _eLADI = "enableLniAtDeviceIndex"; +var _eLBL = "elasticLoadBalancerListener"; +var _eM = "errorMessage"; +var _eNAUM = "enableNetworkAddressUsageMetrics"; +var _eO = "ebsOptimized"; +var _eOI = "ebsOptimizedInfo"; +var _eOIG = "egressOnlyInternetGateway"; +var _eOIGI = "egressOnlyInternetGatewayId"; +var _eOIGS = "egressOnlyInternetGatewaySet"; +var _eOS = "ebsOptimizedSupport"; +var _eOn = "enclaveOptions"; +var _eP = "egressPackets"; +var _ePS = "excludePathSet"; +var _eRNDAAAAR = "enableResourceNameDnsAAAARecord"; +var _eRNDAR = "enableResourceNameDnsARecord"; +var _eS = "ephemeralStorage"; +var _eSE = "enaSrdEnabled"; +var _eSS = "enaSrdSpecification"; +var _eSSn = "enaSrdSupported"; +var _eST = "eventSubType"; +var _eSUE = "enaSrdUdpEnabled"; +var _eSUS = "enaSrdUdpSpecification"; +var _eSf = "efaSupported"; +var _eSn = "encryptionSupport"; +var _eSna = "enaSupport"; +var _eSnt = "entrySet"; +var _eSr = "errorSet"; +var _eSv = "eventsSet"; +var _eSx = "explanationSet"; +var _eT = "expirationTime"; +var _eTI = "exportTaskId"; +var _eTLC = "enableTunnelLifecycleControl"; +var _eTS = "exportTaskSet"; +var _eTSi = "eipTagSet"; +var _eTSx = "exportToS3"; +var _eTn = "enablingTime"; +var _eTna = "enabledTime"; +var _eTnd = "endpointType"; +var _eTndi = "endTime"; +var _eTv = "eventType"; +var _eTx = "exportTask"; +var _eWD = "endWeekDay"; +var _eb = "ebs"; +var _en = "enabled"; +var _enc = "encrypted"; +var _end = "end"; +var _er = "error"; +var _ev = "event"; +var _f = "format"; +var _fA = "federatedAuthentication"; +var _fAD = "filterAtDestination"; +var _fAS = "filterAtSource"; +var _fAi = "firstAddress"; +var _fC = "fulfilledCapacity"; +var _fCRS = "fleetCapacityReservationSet"; +var _fCS = "findingComponentSet"; +var _fCa = "failureCode"; +var _fDN = "fipsDnsName"; +var _fE = "fipsEnabled"; +var _fF = "fileFormat"; +var _fFCS = "failedFleetCancellationSet"; +var _fFi = "findingsFound"; +var _fI = "findingId"; +var _fIA = "fpgaImageAttribute"; +var _fIAS = "filterInArnSet"; +var _fIGI = "fpgaImageGlobalId"; +var _fII = "fpgaImageId"; +var _fIS = "fleetInstanceSet"; +var _fISp = "fpgaImageSet"; +var _fIl = "fleetId"; +var _fIp = "fpgaInfo"; +var _fLI = "flowLogId"; +var _fLIS = "flowLogIdSet"; +var _fLISa = "fastLaunchImageSet"; +var _fLS = "flowLogSet"; +var _fLSl = "flowLogStatus"; +var _fM = "failureMessage"; +var _fODC = "fulfilledOnDemandCapacity"; +var _fP = "fromPort"; +var _fPCS = "forwardPathComponentSet"; +var _fPi = "fixedPrice"; +var _fQPDS = "failedQueuedPurchaseDeletionSet"; +var _fR = "failureReason"; +var _fRa = "fastRestored"; +var _fS = "fleetSet"; +var _fSR = "firewallStatelessRule"; +var _fSRS = "fastSnapshotRestoreSet"; +var _fSRSES = "fastSnapshotRestoreStateErrorSet"; +var _fSRi = "firewallStatefulRule"; +var _fSST = "firstSlotStartTime"; +var _fSl = "fleetState"; +var _fTE = "freeTierEligible"; +var _fa = "fault"; +var _fp = "fpgas"; +var _fr = "from"; +var _fre = "frequency"; +var _g = "group"; +var _gA = "groupArn"; +var _gAS = "gatewayAssociationState"; +var _gD = "groupDescription"; +var _gI = "gatewayId"; +var _gIA = "groupIpAddress"; +var _gIp = "gpuInfo"; +var _gIr = "groupId"; +var _gK = "greKey"; +var _gLBAS = "gatewayLoadBalancerArnSet"; +var _gLBEI = "gatewayLoadBalancerEndpointId"; +var _gM = "groupMember"; +var _gN = "groupName"; +var _gOI = "groupOwnerId"; +var _gS = "groupSet"; +var _gSr = "groupSource"; +var _gp = "gpus"; +var _gr = "groups"; +var _h = "hypervisor"; +var _hCP = "hiveCompatiblePartitions"; +var _hE = "httpEndpoint"; +var _hI = "hostId"; +var _hIS = "hostIdSet"; +var _hM = "hostMaintenance"; +var _hO = "hibernationOptions"; +var _hP = "hostProperties"; +var _hPI = "httpProtocolIpv6"; +var _hPRHL = "httpPutResponseHopLimit"; +var _hPo = "hourlyPrice"; +var _hR = "hostRecovery"; +var _hRGA = "hostResourceGroupArn"; +var _hRI = "hostReservationId"; +var _hRS = "historyRecordSet"; +var _hRSo = "hostReservationSet"; +var _hS = "hostSet"; +var _hSi = "hibernationSupported"; +var _hT = "httpTokens"; +var _hTo = "hostnameType"; +var _hZI = "hostedZoneId"; +var _i = "item"; +var _iA = "interfaceAssociation"; +var _iAC = "ipv6AddressCount"; +var _iAI = "inferenceAcceleratorInfo"; +var _iAPI = "ipv4AddressesPerInterface"; +var _iAPIp = "ipv6AddressesPerInterface"; +var _iAS = "interfaceAssociationSet"; +var _iASp = "ipv6AddressesSet"; +var _iAT = "ipAddressType"; +var _iATOI = "includeAllTagsOfInstance"; +var _iAp = "ipAddress"; +var _iApa = "ipamArn"; +var _iApv = "ipv6Address"; +var _iB = "ingressBytes"; +var _iBPAS = "imageBlockPublicAccessState"; +var _iC = "instanceCount"; +var _iCAS = "ipv6CidrAssociationSet"; +var _iCB = "ipv6CidrBlock"; +var _iCBA = "ipv6CidrBlockAssociation"; +var _iCBAS = "ipv6CidrBlockAssociationSet"; +var _iCBS = "ipv6CidrBlockState"; +var _iCBSp = "ipv6CidrBlockSet"; +var _iCBn = "insideCidrBlocks"; +var _iCE = "instanceConnectEndpoint"; +var _iCEA = "instanceConnectEndpointArn"; +var _iCEI = "instanceConnectEndpointId"; +var _iCES = "instanceConnectEndpointSet"; +var _iCSS = "instanceCreditSpecificationSet"; +var _iCn = "instanceCounts"; +var _iCp = "ipv6Cidr"; +var _iD = "imageData"; +var _iDAS = "ipamDiscoveredAccountSet"; +var _iDPAS = "ipamDiscoveredPublicAddressSet"; +var _iDRCS = "ipamDiscoveredResourceCidrSet"; +var _iDs = "isDefault"; +var _iE = "instanceExport"; +var _iEI = "instanceEventId"; +var _iEW = "instanceEventWindow"; +var _iEWI = "instanceEventWindowId"; +var _iEWS = "instanceEventWindowState"; +var _iEWSn = "instanceEventWindowSet"; +var _iEs = "isEgress"; +var _iF = "instanceFamily"; +var _iFCS = "instanceFamilyCreditSpecification"; +var _iFR = "iamFleetRole"; +var _iFRS = "ingressFilterRuleSet"; +var _iG = "internetGateway"; +var _iGI = "internetGatewayId"; +var _iGS = "internetGatewaySet"; +var _iGSn = "instanceGenerationSet"; +var _iH = "instanceHealth"; +var _iHn = "inboundHeader"; +var _iI = "instanceId"; +var _iIB = "instanceInterruptionBehavior"; +var _iIP = "iamInstanceProfile"; +var _iIPA = "iamInstanceProfileAssociation"; +var _iIPAS = "iamInstanceProfileAssociationSet"; +var _iIS = "instanceIdSet"; +var _iISB = "instanceInitiatedShutdownBehavior"; +var _iITS = "importImageTaskSet"; +var _iIm = "importInstance"; +var _iIma = "imageId"; +var _iIn = "instanceIds"; +var _iIp = "ipamId"; +var _iL = "imageLocation"; +var _iLn = "instanceLifecycle"; +var _iMC = "instanceMatchCriteria"; +var _iMO = "instanceMetadataOptions"; +var _iMOn = "instanceMarketOptions"; +var _iMT = "instanceMetadataTags"; +var _iMU = "importManifestUrl"; +var _iN = "ipv6Native"; +var _iOA = "imageOwnerAlias"; +var _iOI = "imageOwnerId"; +var _iOIn = "instanceOwnerId"; +var _iOIp = "ipOwnerId"; +var _iOS = "instanceOwningService"; +var _iP = "instancePort"; +var _iPA = "ipamPoolAllocation"; +var _iPAI = "ipamPoolAllocationId"; +var _iPAS = "ipamPoolAllocationSet"; +var _iPAp = "ipamPoolArn"; +var _iPC = "ipamPoolCidr"; +var _iPCI = "ipamPoolCidrId"; +var _iPCS = "ipamPoolCidrSet"; +var _iPCp = "ipv4PrefixCount"; +var _iPCpv = "ipv6PrefixCount"; +var _iPE = "ipPermissionsEgress"; +var _iPI = "isPrimaryIpv6"; +var _iPIp = "ipamPoolId"; +var _iPR = "isPermanentRestore"; +var _iPS = "ipamPoolSet"; +var _iPSp = "ipv6PoolSet"; +var _iPSpv = "ipv4PrefixSet"; +var _iPSpvr = "ipv6PrefixSet"; +var _iPTUC = "instancePoolsToUseCount"; +var _iPn = "instancePlatform"; +var _iPng = "ingressPackets"; +var _iPnt = "interfacePermission"; +var _iPnte = "interfaceProtocol"; +var _iPo = "ioPerformance"; +var _iPp = "ipamPool"; +var _iPpe = "ipPermissions"; +var _iPpr = "ipProtocol"; +var _iPpv = "ipv4Prefix"; +var _iPpvo = "ipv6Pool"; +var _iPpvr = "ipv6Prefix"; +var _iPs = "isPublic"; +var _iPsr = "isPrimary"; +var _iR = "instanceRequirements"; +var _iRC = "ipamResourceCidr"; +var _iRCS = "ipamResourceCidrSet"; +var _iRD = "ipamResourceDiscovery"; +var _iRDA = "ipamResourceDiscoveryAssociation"; +var _iRDAA = "ipamResourceDiscoveryAssociationArn"; +var _iRDAI = "ipamResourceDiscoveryAssociationId"; +var _iRDAS = "ipamResourceDiscoveryAssociationSet"; +var _iRDAp = "ipamResourceDiscoveryArn"; +var _iRDI = "ipamResourceDiscoveryId"; +var _iRDR = "ipamResourceDiscoveryRegion"; +var _iRDS = "ipamResourceDiscoverySet"; +var _iRT = "ingressRouteTable"; +var _iRp = "ipamRegion"; +var _iRpa = "ipRanges"; +var _iRpv = "ipv6Ranges"; +var _iS = "ipamScope"; +var _iSA = "ipamScopeArn"; +var _iSI = "instanceStorageInfo"; +var _iSIp = "ipamScopeId"; +var _iSS = "instanceStatusSet"; +var _iSSn = "instanceStorageSupported"; +var _iSSp = "ipamScopeSet"; +var _iST = "ipamScopeType"; +var _iSTS = "importSnapshotTaskSet"; +var _iSg = "igmpv2Support"; +var _iSm = "imagesSet"; +var _iSma = "imageState"; +var _iSmag = "imageSet"; +var _iSmd = "imdsSupport"; +var _iSmp = "impairedSince"; +var _iSn = "instancesSet"; +var _iSns = "instanceSet"; +var _iSnst = "instanceState"; +var _iSnsta = "instanceStatus"; +var _iSp = "ipamSet"; +var _iSpv = "ipv6Supported"; +var _iSpvu = "ipv6Support"; +var _iT = "instanceType"; +var _iTA = "instanceTagAttribute"; +var _iTC = "icmpTypeCode"; +var _iTCn = "includeTrustContext"; +var _iTI = "importTaskId"; +var _iTKS = "instanceTagKeySet"; +var _iTOS = "instanceTypeOfferingSet"; +var _iTS = "instanceTypeSet"; +var _iTSS = "instanceTypeSpecificationSet"; +var _iTm = "imageType"; +var _iTn = "instanceTypes"; +var _iTns = "instanceTenancy"; +var _iTnt = "interfaceType"; +var _iU = "ipUsage"; +var _iUS = "instanceUsageSet"; +var _iV = "importVolume"; +var _iVE = "isValidExchange"; +var _iVS = "ikeVersionSet"; +var _id = "id"; +var _im = "image"; +var _in = "instance"; +var _ins = "instances"; +var _int = "interval"; +var _io = "iops"; +var _ip = "ipam"; +var _is = "issuer"; +var _k = "key"; +var _kDF = "kinesisDataFirehose"; +var _kF = "keyFormat"; +var _kFe = "keyFingerprint"; +var _kI = "kernelId"; +var _kKA = "kmsKeyArn"; +var _kKI = "kmsKeyId"; +var _kM = "keyMaterial"; +var _kN = "keyName"; +var _kPI = "keyPairId"; +var _kS = "keySet"; +var _kT = "keyType"; +var _kV = "keyValue"; +var _ke = "kernel"; +var _key = "keyword"; +var _l = "lifecycle"; +var _lA = "localAddress"; +var _lADT = "lastAttemptedDiscoveryTime"; +var _lAZ = "launchedAvailabilityZone"; +var _lAa = "lastAddress"; +var _lBA = "loadBalancerArn"; +var _lBAo = "localBgpAsn"; +var _lBC = "loadBalancersConfig"; +var _lBLP = "loadBalancerListenerPort"; +var _lBO = "loadBalancerOptions"; +var _lBP = "loadBalancerPort"; +var _lBS = "loadBalancerSet"; +var _lBT = "loadBalancerTarget"; +var _lBTG = "loadBalancerTargetGroup"; +var _lBTGS = "loadBalancerTargetGroupSet"; +var _lBTP = "loadBalancerTargetPort"; +var _lC = "loggingConfiguration"; +var _lCA = "licenseConfigurationArn"; +var _lCO = "lockCreatedOn"; +var _lCS = "loggingConfigurationSet"; +var _lD = "logDestination"; +var _lDST = "lockDurationStartTime"; +var _lDT = "logDestinationType"; +var _lDo = "lockDuration"; +var _lE = "logEnabled"; +var _lEO = "lockExpiresOn"; +var _lET = "lastEvaluatedTime"; +var _lEa = "lastError"; +var _lF = "logFormat"; +var _lFA = "lambdaFunctionArn"; +var _lG = "launchGroup"; +var _lGA = "logGroupArn"; +var _lGI = "localGatewayId"; +var _lGN = "logGroupName"; +var _lGRT = "localGatewayRouteTable"; +var _lGRTA = "localGatewayRouteTableArn"; +var _lGRTI = "localGatewayRouteTableId"; +var _lGRTS = "localGatewayRouteTableSet"; +var _lGRTVA = "localGatewayRouteTableVpcAssociation"; +var _lGRTVAI = "localGatewayRouteTableVpcAssociationId"; +var _lGRTVAS = "localGatewayRouteTableVpcAssociationSet"; +var _lGRTVIGA = "localGatewayRouteTableVirtualInterfaceGroupAssociation"; +var _lGRTVIGAI = "localGatewayRouteTableVirtualInterfaceGroupAssociationId"; +var _lGRTVIGAS = "localGatewayRouteTableVirtualInterfaceGroupAssociationSet"; +var _lGS = "localGatewaySet"; +var _lGVIGI = "localGatewayVirtualInterfaceGroupId"; +var _lGVIGS = "localGatewayVirtualInterfaceGroupSet"; +var _lGVII = "localGatewayVirtualInterfaceId"; +var _lGVIIS = "localGatewayVirtualInterfaceIdSet"; +var _lGVIS = "localGatewayVirtualInterfaceSet"; +var _lGo = "logGroup"; +var _lINC = "localIpv4NetworkCidr"; +var _lINCo = "localIpv6NetworkCidr"; +var _lLT = "lastLaunchedTime"; +var _lMA = "lastMaintenanceApplied"; +var _lO = "logOptions"; +var _lOF = "logOutputFormat"; +var _lP = "loadPermissions"; +var _lPa = "launchPermission"; +var _lS = "licenseSpecifications"; +var _lSC = "lastStatusChange"; +var _lSDT = "lastSuccessfulDiscoveryTime"; +var _lSTS = "localStorageTypeSet"; +var _lSa = "launchSpecifications"; +var _lSau = "launchSpecification"; +var _lSi = "licenseSet"; +var _lSo = "localStorage"; +var _lSoc = "lockState"; +var _lT = "launchTemplate"; +var _lTAO = "launchTemplateAndOverrides"; +var _lTC = "launchTemplateConfigs"; +var _lTD = "launchTemplateData"; +var _lTI = "launchTemplateId"; +var _lTN = "launchTemplateName"; +var _lTOS = "lastTieringOperationStatus"; +var _lTOSD = "lastTieringOperationStatusDetail"; +var _lTP = "lastTieringProgress"; +var _lTS = "launchTemplateSpecification"; +var _lTST = "lastTieringStartTime"; +var _lTV = "launchTemplateVersion"; +var _lTVS = "launchTemplateVersionSet"; +var _lTa = "launchTemplates"; +var _lTau = "launchTime"; +var _lTi = "licenseType"; +var _lTo = "locationType"; +var _lUT = "lastUpdatedTime"; +var _lV = "logVersion"; +var _lVN = "latestVersionNumber"; +var _lo = "location"; +var _loc = "locale"; +var _m = "min"; +var _mA = "mutualAuthentication"; +var _mAAA = "maintenanceAutoAppliedAfter"; +var _mAE = "multiAttachEnabled"; +var _mAI = "maxAggregationInterval"; +var _mAIe = "mediaAcceleratorInfo"; +var _mASS = "movingAddressStatusSet"; +var _mAa = "macAddress"; +var _mBIM = "maximumBandwidthInMbps"; +var _mC = "missingComponent"; +var _mCOIOL = "mapCustomerOwnedIpOnLaunch"; +var _mD = "maintenanceDetails"; +var _mDA = "multicastDomainAssociations"; +var _mDK = "metaDataKey"; +var _mDV = "metaDataValue"; +var _mDe = "metaData"; +var _mE = "maxEntries"; +var _mEI = "maximumEfaInterfaces"; +var _mG = "multicastGroups"; +var _mGBPVC = "memoryGiBPerVCpu"; +var _mHS = "macHostSet"; +var _mI = "maximumIops"; +var _mIe = "memoryInfo"; +var _mMB = "memoryMiB"; +var _mNC = "maximumNetworkCards"; +var _mNI = "maximumNetworkInterfaces"; +var _mO = "metadataOptions"; +var _mOSLRG = "memberOfServiceLinkedResourceGroup"; +var _mOSLSVS = "macOSLatestSupportedVersionSet"; +var _mOa = "maintenanceOptions"; +var _mP = "maxPrice"; +var _mPIOL = "mapPublicIpOnLaunch"; +var _mPL = "maxParallelLaunches"; +var _mPS = "metricPointSet"; +var _mPSa = "matchPathSet"; +var _mR = "maxResults"; +var _mRS = "modificationResultSet"; +var _mS = "messageSet"; +var _mSPAPOOODP = "maxSpotPriceAsPercentageOfOptimalOnDemandPrice"; +var _mSa = "managementState"; +var _mSai = "maintenanceStrategies"; +var _mSo = "moveStatus"; +var _mSod = "modificationState"; +var _mSu = "multicastSupport"; +var _mT = "marketType"; +var _mTC = "minTargetCapacity"; +var _mTDID = "maxTermDurationInDays"; +var _mTDIDi = "minTermDurationInDays"; +var _mTIMB = "maximumThroughputInMBps"; +var _mTP = "maxTotalPrice"; +var _mTe = "memberType"; +var _mVE = "managesVpcEndpoints"; +var _ma = "max"; +var _mai = "main"; +var _man = "manufacturer"; +var _mar = "marketplace"; +var _me = "message"; +var _mem = "member"; +var _met = "metric"; +var _mo = "monitoring"; +var _mod = "mode"; +var _n = "name"; +var _nA = "networkAcl"; +var _nAAI = "networkAclAssociationId"; +var _nAI = "networkAclId"; +var _nAIe = "newAssociationId"; +var _nAS = "networkAclSet"; +var _nAo = "notAfter"; +var _nB = "notBefore"; +var _nBD = "notBeforeDeadline"; +var _nBG = "networkBorderGroup"; +var _nBGe = "networkBandwidthGbps"; +var _nC = "networkCards"; +var _nCI = "networkCardIndex"; +var _nD = "noDevice"; +var _nDe = "neuronDevices"; +var _nES = "nitroEnclavesSupport"; +var _nG = "natGateway"; +var _nGAS = "natGatewayAddressSet"; +var _nGI = "natGatewayId"; +var _nGS = "natGatewaySet"; +var _nI = "networkId"; +var _nIA = "networkInsightsAnalysis"; +var _nIAA = "networkInsightsAnalysisArn"; +var _nIAI = "networkInsightsAnalysisId"; +var _nIAS = "networkInsightsAccessScope"; +var _nIASA = "networkInsightsAccessScopeArn"; +var _nIASAA = "networkInsightsAccessScopeAnalysisArn"; +var _nIASAI = "networkInsightsAccessScopeAnalysisId"; +var _nIASAS = "networkInsightsAccessScopeAnalysisSet"; +var _nIASAe = "networkInsightsAccessScopeAnalysis"; +var _nIASC = "networkInsightsAccessScopeContent"; +var _nIASI = "networkInsightsAccessScopeId"; +var _nIASS = "networkInsightsAccessScopeSet"; +var _nIASe = "networkInsightsAnalysisSet"; +var _nIC = "networkInterfaceCount"; +var _nID = "networkInterfaceDescription"; +var _nII = "networkInterfaceId"; +var _nIIS = "networkInterfaceIdSet"; +var _nIO = "networkInterfaceOptions"; +var _nIOI = "networkInterfaceOwnerId"; +var _nIP = "networkInsightsPath"; +var _nIPA = "networkInsightsPathArn"; +var _nIPI = "networkInsightsPathId"; +var _nIPIe = "networkInterfacePermissionId"; +var _nIPS = "networkInsightsPathSet"; +var _nIPe = "networkInterfacePermissions"; +var _nIS = "networkInterfaceSet"; +var _nIe = "networkInterface"; +var _nIet = "networkInfo"; +var _nIeu = "neuronInfo"; +var _nL = "netmaskLength"; +var _nLBA = "networkLoadBalancerArn"; +var _nLBAS = "networkLoadBalancerArnSet"; +var _nNS = "networkNodeSet"; +var _nP = "networkPerformance"; +var _nPF = "networkPathFound"; +var _nPe = "networkPlatform"; +var _nS = "nvmeSupport"; +var _nSS = "networkServiceSet"; +var _nSST = "nextSlotStartTime"; +var _nT = "networkType"; +var _nTI = "nitroTpmInfo"; +var _nTS = "nitroTpmSupport"; +var _nTe = "nextToken"; +var _o = "origin"; +var _oA = "outpostArn"; +var _oAr = "organizationArn"; +var _oAw = "ownerAlias"; +var _oC = "offeringClass"; +var _oDAS = "onDemandAllocationStrategy"; +var _oDFC = "onDemandFulfilledCapacity"; +var _oDMPPOLP = "onDemandMaxPricePercentageOverLowestPrice"; +var _oDMTP = "onDemandMaxTotalPrice"; +var _oDO = "onDemandOptions"; +var _oDS = "occurrenceDaySet"; +var _oDTC = "onDemandTargetCapacity"; +var _oH = "outboundHeader"; +var _oI = "ownerId"; +var _oIA = "outsideIpAddress"; +var _oIAT = "outsideIpAddressType"; +var _oIS = "optInStatus"; +var _oIf = "offeringId"; +var _oIr = "originalIops"; +var _oK = "objectKey"; +var _oMAE = "originalMultiAttachEnabled"; +var _oO = "oidcOptions"; +var _oRIWEA = "outputReservedInstancesWillExpireAt"; +var _oRS = "operatingRegionSet"; +var _oRTE = "occurrenceRelativeToEnd"; +var _oS = "offeringSet"; +var _oST = "oldestSampleTime"; +var _oSr = "originalSize"; +var _oSv = "overlapStatus"; +var _oT = "optimizingTime"; +var _oTf = "offeringType"; +var _oTr = "originalThroughput"; +var _oU = "occurrenceUnit"; +var _oUA = "organizationalUnitArn"; +var _oVT = "originalVolumeType"; +var _op = "options"; +var _ou = "output"; +var _ov = "overrides"; +var _ow = "owner"; +var _p = "principal"; +var _pA = "poolArn"; +var _pAI = "peeringAttachmentId"; +var _pAR = "poolAddressRange"; +var _pARS = "poolAddressRangeSet"; +var _pAe = "peerAddress"; +var _pAee = "peerAsn"; +var _pAu = "publiclyAdvertisable"; +var _pB = "provisionedBandwidth"; +var _pBA = "peerBgpAsn"; +var _pBIG = "peakBandwidthInGbps"; +var _pC = "productCodes"; +var _pCB = "poolCidrBlock"; +var _pCBS = "poolCidrBlockSet"; +var _pCI = "preserveClientIp"; +var _pCNI = "peerCoreNetworkId"; +var _pCS = "poolCidrSet"; +var _pCSS = "postureComplianceStatusSet"; +var _pCa = "partitionCount"; +var _pCo = "poolCount"; +var _pCr = "productCode"; +var _pD = "passwordData"; +var _pDE = "privateDnsEnabled"; +var _pDHGNS = "phase1DHGroupNumberSet"; +var _pDHGNSh = "phase2DHGroupNumberSet"; +var _pDN = "privateDnsName"; +var _pDNC = "privateDnsNameConfiguration"; +var _pDNO = "privateDnsNameOptions"; +var _pDNOOL = "privateDnsNameOptionsOnLaunch"; +var _pDNS = "privateDnsNameSet"; +var _pDNVS = "privateDnsNameVerificationState"; +var _pDNu = "publicDnsName"; +var _pDOFIRE = "privateDnsOnlyForInboundResolverEndpoint"; +var _pDRTI = "propagationDefaultRouteTableId"; +var _pDS = "pricingDetailsSet"; +var _pDSI = "publicDefaultScopeId"; +var _pDSIr = "privateDefaultScopeId"; +var _pDa = "paymentDue"; +var _pDl = "platformDetails"; +var _pDo = "policyDocument"; +var _pDoo = "poolDepth"; +var _pDr = "productDescription"; +var _pE = "policyEnabled"; +var _pEAS = "phase1EncryptionAlgorithmSet"; +var _pEASh = "phase2EncryptionAlgorithmSet"; +var _pF = "packetField"; +var _pFS = "previousFleetState"; +var _pG = "placementGroup"; +var _pGA = "placementGroupArn"; +var _pGI = "placementGroupInfo"; +var _pGS = "placementGroupSet"; +var _pHP = "perHourPartition"; +var _pHS = "packetHeaderStatement"; +var _pI = "publicIp"; +var _pIA = "privateIpAddress"; +var _pIAS = "privateIpAddressesSet"; +var _pIASh = "phase1IntegrityAlgorithmSet"; +var _pIASha = "phase2IntegrityAlgorithmSet"; +var _pIP = "publicIpv4Pool"; +var _pIPI = "publicIpv4PoolId"; +var _pIPS = "publicIpv4PoolSet"; +var _pIS = "publicIpSource"; +var _pIc = "pciId"; +var _pIo = "poolId"; +var _pIr = "processorInfo"; +var _pIri = "primaryIpv6"; +var _pIriv = "privateIp"; +var _pK = "publicKey"; +var _pL = "prefixList"; +var _pLA = "prefixListArn"; +var _pLAS = "prefixListAssociationSet"; +var _pLI = "prefixListId"; +var _pLIr = "prefixListIds"; +var _pLN = "prefixListName"; +var _pLOI = "prefixListOwnerId"; +var _pLS = "prefixListSet"; +var _pLSh = "phase1LifetimeSeconds"; +var _pLSha = "phase2LifetimeSeconds"; +var _pLa = "packetLength"; +var _pM = "pendingMaintenance"; +var _pN = "partitionNumber"; +var _pO = "paymentOption"; +var _pOe = "peeringOptions"; +var _pP = "progressPercentage"; +var _pR = "ptrRecord"; +var _pRN = "policyRuleNumber"; +var _pRNo = "policyReferenceName"; +var _pRS = "portRangeSet"; +var _pRU = "ptrRecordUpdate"; +var _pRa = "payerResponsibility"; +var _pRo = "portRange"; +var _pRol = "policyRule"; +var _pS = "previousState"; +var _pSET = "previousSlotEndTime"; +var _pSFRS = "previousSpotFleetRequestState"; +var _pSK = "preSharedKey"; +var _pSKU = "publicSigningKeyUrl"; +var _pSe = "permissionState"; +var _pSee = "peeringStatus"; +var _pSr = "principalSet"; +var _pSre = "previousStatus"; +var _pSri = "priceSchedules"; +var _pSro = "protocolSet"; +var _pT = "principalType"; +var _pTGI = "peerTransitGatewayId"; +var _pTr = "provisionTime"; +var _pTu = "purchaseToken"; +var _pVI = "primaryVpcId"; +var _pVS = "propagatingVgwSet"; +var _pZI = "parentZoneId"; +var _pZN = "parentZoneName"; +var _pe = "period"; +var _per = "permission"; +var _pl = "platform"; +var _pla = "placement"; +var _po = "port"; +var _pr = "protocol"; +var _pre = "prefix"; +var _pri = "priority"; +var _pric = "price"; +var _prim = "primary"; +var _pro = "progress"; +var _prop = "propagation"; +var _prov = "provisioned"; +var _pu = "public"; +var _pur = "purchase"; +var _r = "return"; +var _rA = "ruleAction"; +var _rBET = "recycleBinEnterTime"; +var _rBETe = "recycleBinExitTime"; +var _rC = "returnCode"; +var _rCS = "resourceComplianceStatus"; +var _rCe = "resourceCidr"; +var _rCec = "recurringCharges"; +var _rD = "restoreDuration"; +var _rDAC = "resourceDiscoveryAssociationCount"; +var _rDI = "ramDiskId"; +var _rDN = "rootDeviceName"; +var _rDS = "resourceDiscoveryStatus"; +var _rDT = "rootDeviceType"; +var _rE = "responseError"; +var _rET = "restoreExpiryTime"; +var _rEe = "regionEndpoint"; +var _rFP = "rekeyFuzzPercentage"; +var _rGA = "ruleGroupArn"; +var _rGI = "referencedGroupInfo"; +var _rGROPS = "ruleGroupRuleOptionsPairSet"; +var _rGT = "ruleGroupType"; +var _rGTPS = "ruleGroupTypePairSet"; +var _rHS = "requireHibernateSupport"; +var _rI = "regionInfo"; +var _rII = "reservedInstancesId"; +var _rIIe = "reservedInstanceId"; +var _rILI = "reservedInstancesListingId"; +var _rILS = "reservedInstancesListingsSet"; +var _rIMI = "reservedInstancesModificationId"; +var _rIMS = "reservedInstancesModificationsSet"; +var _rINC = "remoteIpv4NetworkCidr"; +var _rINCe = "remoteIpv6NetworkCidr"; +var _rIOI = "reservedInstancesOfferingId"; +var _rIOS = "reservedInstancesOfferingsSet"; +var _rIS = "reservedInstancesSet"; +var _rIVR = "reservedInstanceValueRollup"; +var _rIVS = "reservedInstanceValueSet"; +var _rIa = "ramdiskId"; +var _rIe = "resourceId"; +var _rIeq = "requesterId"; +var _rIes = "reservationId"; +var _rM = "requesterManaged"; +var _rMGM = "registeredMulticastGroupMembers"; +var _rMGS = "registeredMulticastGroupSources"; +var _rMTS = "rekeyMarginTimeSeconds"; +var _rN = "ruleNumber"; +var _rNII = "registeredNetworkInterfaceIds"; +var _rNe = "regionName"; +var _rNes = "resourceName"; +var _rNo = "roleName"; +var _rO = "resourceOwner"; +var _rOI = "resourceOwnerId"; +var _rOS = "ruleOptionSet"; +var _rOSe = "resourceOverlapStatus"; +var _rOo = "routeOrigin"; +var _rPCO = "requesterPeeringConnectionOptions"; +var _rPCS = "returnPathComponentSet"; +var _rR = "resourceRegion"; +var _rRVT = "replaceRootVolumeTask"; +var _rRVTI = "replaceRootVolumeTaskId"; +var _rRVTS = "replaceRootVolumeTaskSet"; +var _rS = "reservationSet"; +var _rST = "restoreStartTime"; +var _rSe = "replacementStrategy"; +var _rSes = "resourceStatement"; +var _rSeso = "resourceSet"; +var _rSo = "routeSet"; +var _rT = "reservationType"; +var _rTAI = "routeTableAssociationId"; +var _rTI = "routeTableId"; +var _rTIS = "routeTableIdSet"; +var _rTIe = "requesterTgwInfo"; +var _rTR = "routeTableRoute"; +var _rTS = "routeTableSet"; +var _rTSe = "resourceTagSet"; +var _rTSes = "resourceTypeSet"; +var _rTV = "remainingTotalValue"; +var _rTe = "resourceType"; +var _rTel = "releaseTime"; +var _rTeq = "requestTime"; +var _rTo = "routeTable"; +var _rUI = "replaceUnhealthyInstances"; +var _rUV = "remainingUpfrontValue"; +var _rV = "returnValue"; +var _rVI = "referencingVpcId"; +var _rVIe = "requesterVpcInfo"; +var _rVe = "reservationValue"; +var _rWS = "replayWindowSize"; +var _ra = "ramdisk"; +var _re = "result"; +var _rea = "reason"; +var _rec = "recurrence"; +var _reg = "region"; +var _req = "requested"; +var _res = "resource"; +var _ro = "route"; +var _rou = "routes"; +var _s = "source"; +var _sA = "sourceArn"; +var _sAS = "sourceAddressSet"; +var _sASu = "suggestedAccountSet"; +var _sAZ = "singleAvailabilityZone"; +var _sAo = "sourceAddress"; +var _sAt = "startupAction"; +var _sAu = "supportedArchitectures"; +var _sAub = "subnetArn"; +var _sB = "s3Bucket"; +var _sBM = "supportedBootModes"; +var _sC = "serviceConfiguration"; +var _sCA = "serverCertificateArn"; +var _sCAE = "serialConsoleAccessEnabled"; +var _sCB = "sourceCidrBlock"; +var _sCR = "subnetCidrReservation"; +var _sCRI = "subnetCidrReservationId"; +var _sCS = "serviceConfigurationSet"; +var _sCSIG = "sustainedClockSpeedInGhz"; +var _sCc = "scopeCount"; +var _sCn = "snapshotConfiguration"; +var _sD = "startDate"; +var _sDC = "sourceDestCheck"; +var _sDIH = "slotDurationInHours"; +var _sDLTVS = "successfullyDeletedLaunchTemplateVersionSet"; +var _sDS = "spotDatafeedSubscription"; +var _sDSe = "serviceDetailSet"; +var _sDSn = "snapshotDetailSet"; +var _sDp = "spreadDomain"; +var _sEL = "s3ExportLocation"; +var _sET = "sampledEndTime"; +var _sF = "supportedFeatures"; +var _sFCS = "successfulFleetCancellationSet"; +var _sFDS = "successfulFleetDeletionSet"; +var _sFRC = "spotFleetRequestConfig"; +var _sFRCS = "spotFleetRequestConfigSet"; +var _sFRI = "spotFleetRequestId"; +var _sFRS = "successfulFleetRequestSet"; +var _sFRSp = "spotFleetRequestState"; +var _sG = "securityGroup"; +var _sGFVS = "securityGroupForVpcSet"; +var _sGI = "securityGroupId"; +var _sGIS = "securityGroupIdSet"; +var _sGIe = "securityGroupIds"; +var _sGIec = "securityGroupInfo"; +var _sGR = "securityGroupRule"; +var _sGRI = "securityGroupRuleId"; +var _sGRS = "securityGroupRuleSet"; +var _sGRSe = "securityGroupReferenceSet"; +var _sGRSec = "securityGroupReferencingSupport"; +var _sGS = "securityGroupSet"; +var _sGe = "securityGroups"; +var _sH = "startHour"; +var _sI = "serviceId"; +var _sIAS = "scheduledInstanceAvailabilitySet"; +var _sIATS = "supportedIpAddressTypeSet"; +var _sICRS = "subnetIpv4CidrReservationSet"; +var _sICRSu = "subnetIpv6CidrReservationSet"; +var _sICSS = "successfulInstanceCreditSpecificationSet"; +var _sIGB = "sizeInGB"; +var _sII = "sourceInstanceId"; +var _sIIc = "scheduledInstanceId"; +var _sIMB = "sizeInMiB"; +var _sIP = "staleIpPermissions"; +var _sIPE = "staleIpPermissionsEgress"; +var _sIPI = "sourceIpamPoolId"; +var _sIRI = "spotInstanceRequestId"; +var _sIRS = "spotInstanceRequestSet"; +var _sIS = "scheduledInstanceSet"; +var _sISu = "subnetIdSet"; +var _sIT = "spotInstanceType"; +var _sITRS = "storeImageTaskResultSet"; +var _sITi = "singleInstanceType"; +var _sIn = "snapshotId"; +var _sIo = "sourceIp"; +var _sIu = "subnetId"; +var _sIub = "subnetIds"; +var _sK = "s3Key"; +var _sKo = "s3objectKey"; +var _sL = "s3Location"; +var _sLp = "spreadLevel"; +var _sM = "statusMessage"; +var _sMPPOLP = "spotMaxPricePercentageOverLowestPrice"; +var _sMS = "spotMaintenanceStrategies"; +var _sMTP = "spotMaxTotalPrice"; +var _sMt = "stateMessage"; +var _sN = "serviceName"; +var _sNS = "serviceNameSet"; +var _sNSr = "sriovNetSupport"; +var _sNe = "sequenceNumber"; +var _sNes = "sessionNumber"; +var _sO = "spotOptions"; +var _sP = "s3Prefix"; +var _sPA = "samlProviderArn"; +var _sPHS = "spotPriceHistorySet"; +var _sPI = "servicePermissionId"; +var _sPIAC = "secondaryPrivateIpAddressCount"; +var _sPLS = "sourcePrefixListSet"; +var _sPR = "sourcePortRange"; +var _sPRS = "sourcePortRangeSet"; +var _sPS = "sourcePortSet"; +var _sPSS = "spotPlacementScoreSet"; +var _sPp = "spotPrice"; +var _sQPDS = "successfulQueuedPurchaseDeletionSet"; +var _sR = "stateReason"; +var _sRDT = "supportedRootDeviceTypes"; +var _sRO = "staticRoutesOnly"; +var _sRT = "subnetRouteTable"; +var _sRe = "serviceResource"; +var _sRo = "sourceResource"; +var _sS = "snapshotSet"; +var _sSGS = "staleSecurityGroupSet"; +var _sSPU = "selfServicePortalUrl"; +var _sSS = "staticSourcesSupport"; +var _sSSPA = "selfServiceSamlProviderArn"; +var _sST = "sampledStartTime"; +var _sSe = "settingSet"; +var _sSer = "serviceState"; +var _sSo = "sourceSet"; +var _sSs = "sseSpecification"; +var _sSt = "statusSet"; +var _sSu = "subscriptionSet"; +var _sSub = "subnetSet"; +var _sSup = "supportedStrategies"; +var _sSy = "systemStatus"; +var _sT = "startTime"; +var _sTC = "spotTargetCapacity"; +var _sTD = "snapshotTaskDetail"; +var _sTFR = "storeTaskFailureReason"; +var _sTH = "sessionTimeoutHours"; +var _sTR = "stateTransitionReason"; +var _sTS = "storeTaskState"; +var _sTSS = "snapshotTierStatusSet"; +var _sTT = "stateTransitionTime"; +var _sTa = "sampleTime"; +var _sTe = "serviceType"; +var _sTo = "sourceType"; +var _sTp = "splitTunnel"; +var _sTs = "sseType"; +var _sTt = "storageTier"; +var _sUC = "supportedUsageClasses"; +var _sV = "sourceVpc"; +var _sVT = "supportedVirtualizationTypes"; +var _sVh = "shellVersion"; +var _sVu = "supportedVersions"; +var _sWD = "startWeekDay"; +var _s_ = "s3"; +var _sc = "scope"; +var _sco = "score"; +var _se = "service"; +var _si = "size"; +var _so = "sockets"; +var _sof = "software"; +var _st = "state"; +var _sta = "status"; +var _star = "start"; +var _stat = "statistic"; +var _sto = "storage"; +var _str = "strategy"; +var _su = "subnet"; +var _sub = "subnets"; +var _suc = "successful"; +var _succ = "success"; +var _t = "tenancy"; +var _tAAC = "totalAvailableAddressCount"; +var _tAC = "totalAddressCount"; +var _tAI = "transferAccountId"; +var _tC = "totalCapacity"; +var _tCS = "targetCapacitySpecification"; +var _tCUT = "targetCapacityUnitType"; +var _tCVR = "targetConfigurationValueRollup"; +var _tCVS = "targetConfigurationValueSet"; +var _tCa = "targetConfiguration"; +var _tCar = "targetCapacity"; +var _tD = "terminationDelay"; +var _tDr = "trafficDirection"; +var _tE = "targetEnvironment"; +var _tED = "termEndDate"; +var _tET = "tcpEstablishedTimeout"; +var _tEo = "tokenEndpoint"; +var _tFC = "totalFulfilledCapacity"; +var _tFMIMB = "totalFpgaMemoryInMiB"; +var _tG = "transitGateway"; +var _tGA = "transitGatewayAttachments"; +var _tGAI = "transitGatewayAttachmentId"; +var _tGAP = "transitGatewayAttachmentPropagations"; +var _tGAr = "transitGatewayAttachment"; +var _tGAra = "transitGatewayArn"; +var _tGAran = "transitGatewayAsn"; +var _tGArans = "transitGatewayAddress"; +var _tGC = "transitGatewayConnect"; +var _tGCB = "transitGatewayCidrBlocks"; +var _tGCP = "transitGatewayConnectPeer"; +var _tGCPI = "transitGatewayConnectPeerId"; +var _tGCPS = "transitGatewayConnectPeerSet"; +var _tGCS = "transitGatewayConnectSet"; +var _tGCa = "targetGroupsConfig"; +var _tGI = "transitGatewayId"; +var _tGMD = "transitGatewayMulticastDomain"; +var _tGMDA = "transitGatewayMulticastDomainArn"; +var _tGMDI = "transitGatewayMulticastDomainId"; +var _tGMDr = "transitGatewayMulticastDomains"; +var _tGMIMB = "totalGpuMemoryInMiB"; +var _tGOI = "transitGatewayOwnerId"; +var _tGPA = "transitGatewayPeeringAttachment"; +var _tGPAr = "transitGatewayPeeringAttachments"; +var _tGPLR = "transitGatewayPrefixListReference"; +var _tGPLRS = "transitGatewayPrefixListReferenceSet"; +var _tGPT = "transitGatewayPolicyTable"; +var _tGPTE = "transitGatewayPolicyTableEntries"; +var _tGPTI = "transitGatewayPolicyTableId"; +var _tGPTr = "transitGatewayPolicyTables"; +var _tGRT = "transitGatewayRouteTable"; +var _tGRTA = "transitGatewayRouteTableAnnouncement"; +var _tGRTAI = "transitGatewayRouteTableAnnouncementId"; +var _tGRTAr = "transitGatewayRouteTableAnnouncements"; +var _tGRTI = "transitGatewayRouteTableId"; +var _tGRTP = "transitGatewayRouteTablePropagations"; +var _tGRTR = "transitGatewayRouteTableRoute"; +var _tGRTr = "transitGatewayRouteTables"; +var _tGS = "transitGatewaySet"; +var _tGVA = "transitGatewayVpcAttachment"; +var _tGVAr = "transitGatewayVpcAttachments"; +var _tGa = "targetGroups"; +var _tHP = "totalHourlyPrice"; +var _tI = "tenantId"; +var _tIC = "totalInstanceCount"; +var _tICu = "tunnelInsideCidr"; +var _tII = "trunkInterfaceId"; +var _tIIC = "tunnelInsideIpv6Cidr"; +var _tIIV = "tunnelInsideIpVersion"; +var _tIMIMB = "totalInferenceMemoryInMiB"; +var _tIWE = "terminateInstancesWithExpiration"; +var _tIa = "targetIops"; +var _tLSGB = "totalLocalStorageGB"; +var _tMAE = "targetMultiAttachEnabled"; +var _tMF = "trafficMirrorFilter"; +var _tMFI = "trafficMirrorFilterId"; +var _tMFR = "trafficMirrorFilterRule"; +var _tMFRI = "trafficMirrorFilterRuleId"; +var _tMFS = "trafficMirrorFilterSet"; +var _tMMIMB = "totalMediaMemoryInMiB"; +var _tMS = "trafficMirrorSession"; +var _tMSI = "trafficMirrorSessionId"; +var _tMSS = "trafficMirrorSessionSet"; +var _tMT = "trafficMirrorTarget"; +var _tMTI = "trafficMirrorTargetId"; +var _tMTS = "trafficMirrorTargetSet"; +var _tNDMIMB = "totalNeuronDeviceMemoryInMiB"; +var _tNI = "targetNetworkId"; +var _tOAT = "transferOfferAcceptedTimestamp"; +var _tOET = "transferOfferExpirationTimestamp"; +var _tOS = "tunnelOptionSet"; +var _tP = "transportProtocol"; +var _tPC = "threadsPerCore"; +var _tPT = "trustProviderType"; +var _tPo = "toPort"; +var _tRC = "targetResourceCount"; +var _tRS = "throughResourceSet"; +var _tRSi = "timeRangeSet"; +var _tRTI = "targetRouteTableId"; +var _tS = "tagSet"; +var _tSD = "termStartDate"; +var _tSIGB = "totalSizeInGB"; +var _tSIH = "totalScheduledInstanceHours"; +var _tSS = "tagSpecificationSet"; +var _tST = "tieringStartTime"; +var _tSTa = "taskStartTime"; +var _tSa = "targetSubnet"; +var _tSar = "targetSize"; +var _tSas = "taskState"; +var _tSp = "tpmSupport"; +var _tT = "trafficType"; +var _tTC = "totalTargetCapacity"; +var _tTGAI = "transportTransitGatewayAttachmentId"; +var _tTa = "targetThroughput"; +var _tUP = "totalUpfrontPrice"; +var _tVC = "totalVCpus"; +var _tVT = "targetVolumeType"; +var _ta = "tags"; +var _tag = "tag"; +var _te = "term"; +var _th = "throughput"; +var _ti = "timestamp"; +var _tie = "tier"; +var _to = "to"; +var _ty = "type"; +var _u = "unsuccessful"; +var _uB = "userBucket"; +var _uD = "uefiData"; +var _uDLTVS = "unsuccessfullyDeletedLaunchTemplateVersionSet"; +var _uDp = "updatedDate"; +var _uDpd = "updateDate"; +var _uDs = "userData"; +var _uF = "upfrontFee"; +var _uFDS = "unsuccessfulFleetDeletionSet"; +var _uFRS = "unsuccessfulFleetRequestSet"; +var _uI = "userId"; +var _uIA = "unassignedIpv6Addresses"; +var _uIC = "usedInstanceCount"; +var _uICSS = "unsuccessfulInstanceCreditSpecificationSet"; +var _uIE = "userInfoEndpoint"; +var _uIPS = "unknownIpPermissionSet"; +var _uIPSn = "unassignedIpv6PrefixSet"; +var _uLI = "useLongIds"; +var _uLIA = "useLongIdsAggregated"; +var _uO = "usageOperation"; +var _uOUT = "usageOperationUpdateTime"; +var _uP = "upfrontPrice"; +var _uPS = "uploadPolicySignature"; +var _uPp = "uploadPolicy"; +var _uPs = "usagePrice"; +var _uS = "usageStrategy"; +var _uST = "udpStreamTimeout"; +var _uT = "updateTime"; +var _uTPT = "userTrustProviderType"; +var _uTd = "udpTimeout"; +var _ur = "url"; +var _us = "username"; +var _v = "value"; +var _vAE = "verifiedAccessEndpoint"; +var _vAEI = "verifiedAccessEndpointId"; +var _vAES = "verifiedAccessEndpointSet"; +var _vAG = "verifiedAccessGroup"; +var _vAGA = "verifiedAccessGroupArn"; +var _vAGI = "verifiedAccessGroupId"; +var _vAGS = "verifiedAccessGroupSet"; +var _vAI = "verifiedAccessInstance"; +var _vAII = "verifiedAccessInstanceId"; +var _vAIS = "verifiedAccessInstanceSet"; +var _vATP = "verifiedAccessTrustProvider"; +var _vATPI = "verifiedAccessTrustProviderId"; +var _vATPS = "verifiedAccessTrustProviderSet"; +var _vC = "vpnConnection"; +var _vCC = "vCpuCount"; +var _vCDSC = "vpnConnectionDeviceSampleConfiguration"; +var _vCDTI = "vpnConnectionDeviceTypeId"; +var _vCDTS = "vpnConnectionDeviceTypeSet"; +var _vCI = "vpnConnectionId"; +var _vCIp = "vCpuInfo"; +var _vCS = "vpnConnectionSet"; +var _vCa = "validCores"; +var _vD = "versionDescription"; +var _vE = "vpcEndpoint"; +var _vECI = "vpcEndpointConnectionId"; +var _vECS = "vpcEndpointConnectionSet"; +var _vEI = "vpcEndpointId"; +var _vEO = "vpcEndpointOwner"; +var _vEPS = "vpcEndpointPolicySupported"; +var _vES = "vpcEndpointService"; +var _vESp = "vpcEndpointSet"; +var _vESpc = "vpcEndpointState"; +var _vESpn = "vpnEcmpSupport"; +var _vET = "vpcEndpointType"; +var _vF = "validFrom"; +var _vFR = "validationFailureReason"; +var _vG = "vpnGateway"; +var _vGI = "vpnGatewayId"; +var _vGS = "vpnGatewaySet"; +var _vI = "vpcId"; +var _vIl = "vlanId"; +var _vIo = "volumeId"; +var _vM = "volumeModification"; +var _vMS = "volumeModificationSet"; +var _vN = "virtualName"; +var _vNI = "virtualNetworkId"; +var _vNe = "versionNumber"; +var _vOI = "volumeOwnerId"; +var _vOIp = "vpcOwnerId"; +var _vP = "vpnProtocol"; +var _vPC = "vpcPeeringConnection"; +var _vPCI = "vpcPeeringConnectionId"; +var _vPCS = "vpcPeeringConnectionSet"; +var _vPp = "vpnPort"; +var _vS = "volumeSet"; +var _vSS = "volumeStatusSet"; +var _vSa = "valueSet"; +var _vSo = "volumeSize"; +var _vSol = "volumeStatus"; +var _vSp = "vpcSet"; +var _vT = "volumeType"; +var _vTOIA = "vpnTunnelOutsideIpAddress"; +var _vTPC = "validThreadsPerCore"; +var _vTg = "vgwTelemetry"; +var _vTi = "virtualizationType"; +var _vU = "validUntil"; +var _ve = "version"; +var _ven = "vendor"; +var _vl = "vlan"; +var _vo = "volumes"; +var _vol = "volume"; +var _vp = "vpc"; +var _vpc = "vpcs"; +var _w = "warning"; +var _wC = "weightedCapacity"; +var _wM = "warningMessage"; +var _we = "weight"; +var _zI = "zoneId"; +var _zN = "zoneName"; +var _zS = "zoneState"; +var _zT = "zoneType"; +var buildFormUrlencodedString = /* @__PURE__ */ __name((formEntries) => Object.entries(formEntries).map(([key, value]) => (0, import_smithy_client.extendedEncodeURIComponent)(key) + "=" + (0, import_smithy_client.extendedEncodeURIComponent)(value)).join("&"), "buildFormUrlencodedString"); +var loadEc2ErrorCode = /* @__PURE__ */ __name((output, data) => { + var _a2; + if (((_a2 = data.Errors.Error) == null ? void 0 : _a2.Code) !== void 0) { + return data.Errors.Error.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}, "loadEc2ErrorCode"); + +// src/commands/AcceptAddressTransferCommand.ts +var _AcceptAddressTransferCommand = class _AcceptAddressTransferCommand 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("AmazonEC2", "AcceptAddressTransfer", {}).n("EC2Client", "AcceptAddressTransferCommand").f(void 0, void 0).ser(se_AcceptAddressTransferCommand).de(de_AcceptAddressTransferCommand).build() { +}; +__name(_AcceptAddressTransferCommand, "AcceptAddressTransferCommand"); +var AcceptAddressTransferCommand = _AcceptAddressTransferCommand; -/** - * @api private - */ -module.exports = AWS.MetadataService; +// src/commands/AcceptReservedInstancesExchangeQuoteCommand.ts -/***/ }), -/***/ 83205: -/***/ ((module) => { -var getEndpoint = function() { - return { - IPv4: 'http://169.254.169.254', - IPv6: 'http://[fd00:ec2::254]', - }; +var _AcceptReservedInstancesExchangeQuoteCommand = class _AcceptReservedInstancesExchangeQuoteCommand 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("AmazonEC2", "AcceptReservedInstancesExchangeQuote", {}).n("EC2Client", "AcceptReservedInstancesExchangeQuoteCommand").f(void 0, void 0).ser(se_AcceptReservedInstancesExchangeQuoteCommand).de(de_AcceptReservedInstancesExchangeQuoteCommand).build() { }; +__name(_AcceptReservedInstancesExchangeQuoteCommand, "AcceptReservedInstancesExchangeQuoteCommand"); +var AcceptReservedInstancesExchangeQuoteCommand = _AcceptReservedInstancesExchangeQuoteCommand; -module.exports = getEndpoint; - +// src/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts -/***/ }), -/***/ 95578: -/***/ ((module) => { -var ENV_ENDPOINT_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT'; -var CONFIG_ENDPOINT_NAME = 'ec2_metadata_service_endpoint'; -var getEndpointConfigOptions = function() { - return { - environmentVariableSelector: function(env) { return env[ENV_ENDPOINT_NAME]; }, - configFileSelector: function(profile) { return profile[CONFIG_ENDPOINT_NAME]; }, - default: undefined, - }; +var _AcceptTransitGatewayMulticastDomainAssociationsCommand = class _AcceptTransitGatewayMulticastDomainAssociationsCommand 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("AmazonEC2", "AcceptTransitGatewayMulticastDomainAssociations", {}).n("EC2Client", "AcceptTransitGatewayMulticastDomainAssociationsCommand").f(void 0, void 0).ser(se_AcceptTransitGatewayMulticastDomainAssociationsCommand).de(de_AcceptTransitGatewayMulticastDomainAssociationsCommand).build() { }; +__name(_AcceptTransitGatewayMulticastDomainAssociationsCommand, "AcceptTransitGatewayMulticastDomainAssociationsCommand"); +var AcceptTransitGatewayMulticastDomainAssociationsCommand = _AcceptTransitGatewayMulticastDomainAssociationsCommand; -module.exports = getEndpointConfigOptions; +// src/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts -/***/ }), -/***/ 37997: -/***/ ((module) => { -var getEndpointMode = function() { - return { - IPv4: 'IPv4', - IPv6: 'IPv6', - }; +var _AcceptTransitGatewayPeeringAttachmentCommand = class _AcceptTransitGatewayPeeringAttachmentCommand 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("AmazonEC2", "AcceptTransitGatewayPeeringAttachment", {}).n("EC2Client", "AcceptTransitGatewayPeeringAttachmentCommand").f(void 0, void 0).ser(se_AcceptTransitGatewayPeeringAttachmentCommand).de(de_AcceptTransitGatewayPeeringAttachmentCommand).build() { }; +__name(_AcceptTransitGatewayPeeringAttachmentCommand, "AcceptTransitGatewayPeeringAttachmentCommand"); +var AcceptTransitGatewayPeeringAttachmentCommand = _AcceptTransitGatewayPeeringAttachmentCommand; -module.exports = getEndpointMode; - - -/***/ }), +// src/commands/AcceptTransitGatewayVpcAttachmentCommand.ts -/***/ 45509: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var EndpointMode = __nccwpck_require__(37997)(); -var ENV_ENDPOINT_MODE_NAME = 'AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE'; -var CONFIG_ENDPOINT_MODE_NAME = 'ec2_metadata_service_endpoint_mode'; -var getEndpointModeConfigOptions = function() { - return { - environmentVariableSelector: function(env) { return env[ENV_ENDPOINT_MODE_NAME]; }, - configFileSelector: function(profile) { return profile[CONFIG_ENDPOINT_MODE_NAME]; }, - default: EndpointMode.IPv4, - }; +var _AcceptTransitGatewayVpcAttachmentCommand = class _AcceptTransitGatewayVpcAttachmentCommand 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("AmazonEC2", "AcceptTransitGatewayVpcAttachment", {}).n("EC2Client", "AcceptTransitGatewayVpcAttachmentCommand").f(void 0, void 0).ser(se_AcceptTransitGatewayVpcAttachmentCommand).de(de_AcceptTransitGatewayVpcAttachmentCommand).build() { }; +__name(_AcceptTransitGatewayVpcAttachmentCommand, "AcceptTransitGatewayVpcAttachmentCommand"); +var AcceptTransitGatewayVpcAttachmentCommand = _AcceptTransitGatewayVpcAttachmentCommand; -module.exports = getEndpointModeConfigOptions; +// src/commands/AcceptVpcEndpointConnectionsCommand.ts -/***/ }), -/***/ 608: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _AcceptVpcEndpointConnectionsCommand = class _AcceptVpcEndpointConnectionsCommand 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("AmazonEC2", "AcceptVpcEndpointConnections", {}).n("EC2Client", "AcceptVpcEndpointConnectionsCommand").f(void 0, void 0).ser(se_AcceptVpcEndpointConnectionsCommand).de(de_AcceptVpcEndpointConnectionsCommand).build() { +}; +__name(_AcceptVpcEndpointConnectionsCommand, "AcceptVpcEndpointConnectionsCommand"); +var AcceptVpcEndpointConnectionsCommand = _AcceptVpcEndpointConnectionsCommand; -var Endpoint = __nccwpck_require__(83205)(); -var EndpointMode = __nccwpck_require__(37997)(); +// src/commands/AcceptVpcPeeringConnectionCommand.ts -var ENDPOINT_CONFIG_OPTIONS = __nccwpck_require__(95578)(); -var ENDPOINT_MODE_CONFIG_OPTIONS = __nccwpck_require__(45509)(); -var getMetadataServiceEndpoint = function() { - var endpoint = AWS.util.loadConfig(ENDPOINT_CONFIG_OPTIONS); - if (endpoint !== undefined) return endpoint; - var endpointMode = AWS.util.loadConfig(ENDPOINT_MODE_CONFIG_OPTIONS); - switch (endpointMode) { - case EndpointMode.IPv4: - return Endpoint.IPv4; - case EndpointMode.IPv6: - return Endpoint.IPv6; - default: - throw new Error('Unsupported endpoint mode: ' + endpointMode); - } -}; -module.exports = getMetadataServiceEndpoint; +var _AcceptVpcPeeringConnectionCommand = class _AcceptVpcPeeringConnectionCommand 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("AmazonEC2", "AcceptVpcPeeringConnection", {}).n("EC2Client", "AcceptVpcPeeringConnectionCommand").f(void 0, void 0).ser(se_AcceptVpcPeeringConnectionCommand).de(de_AcceptVpcPeeringConnectionCommand).build() { +}; +__name(_AcceptVpcPeeringConnectionCommand, "AcceptVpcPeeringConnectionCommand"); +var AcceptVpcPeeringConnectionCommand = _AcceptVpcPeeringConnectionCommand; +// src/commands/AdvertiseByoipCidrCommand.ts -/***/ }), -/***/ 17657: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var Collection = __nccwpck_require__(71965); -var Operation = __nccwpck_require__(28083); -var Shape = __nccwpck_require__(71349); -var Paginator = __nccwpck_require__(45938); -var ResourceWaiter = __nccwpck_require__(41368); -var metadata = __nccwpck_require__(17752); -var util = __nccwpck_require__(77985); -var property = util.property; -var memoizedProperty = util.memoizedProperty; +var _AdvertiseByoipCidrCommand = class _AdvertiseByoipCidrCommand 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("AmazonEC2", "AdvertiseByoipCidr", {}).n("EC2Client", "AdvertiseByoipCidrCommand").f(void 0, void 0).ser(se_AdvertiseByoipCidrCommand).de(de_AdvertiseByoipCidrCommand).build() { +}; +__name(_AdvertiseByoipCidrCommand, "AdvertiseByoipCidrCommand"); +var AdvertiseByoipCidrCommand = _AdvertiseByoipCidrCommand; -function Api(api, options) { - var self = this; - api = api || {}; - options = options || {}; - options.api = this; - - api.metadata = api.metadata || {}; - - var serviceIdentifier = options.serviceIdentifier; - delete options.serviceIdentifier; - - property(this, 'isApi', true, false); - property(this, 'apiVersion', api.metadata.apiVersion); - property(this, 'endpointPrefix', api.metadata.endpointPrefix); - property(this, 'signingName', api.metadata.signingName); - property(this, 'globalEndpoint', api.metadata.globalEndpoint); - property(this, 'signatureVersion', api.metadata.signatureVersion); - property(this, 'jsonVersion', api.metadata.jsonVersion); - property(this, 'targetPrefix', api.metadata.targetPrefix); - property(this, 'protocol', api.metadata.protocol); - property(this, 'timestampFormat', api.metadata.timestampFormat); - property(this, 'xmlNamespaceUri', api.metadata.xmlNamespace); - property(this, 'abbreviation', api.metadata.serviceAbbreviation); - property(this, 'fullName', api.metadata.serviceFullName); - property(this, 'serviceId', api.metadata.serviceId); - if (serviceIdentifier && metadata[serviceIdentifier]) { - property(this, 'xmlNoDefaultLists', metadata[serviceIdentifier].xmlNoDefaultLists, false); - } - - memoizedProperty(this, 'className', function() { - var name = api.metadata.serviceAbbreviation || api.metadata.serviceFullName; - if (!name) return null; - - name = name.replace(/^Amazon|AWS\s*|\(.*|\s+|\W+/g, ''); - if (name === 'ElasticLoadBalancing') name = 'ELB'; - return name; - }); - - function addEndpointOperation(name, operation) { - if (operation.endpointoperation === true) { - property(self, 'endpointOperation', util.string.lowerFirst(name)); - } - if (operation.endpointdiscovery && !self.hasRequiredEndpointDiscovery) { - property( - self, - 'hasRequiredEndpointDiscovery', - operation.endpointdiscovery.required === true - ); - } - } +// src/commands/AllocateAddressCommand.ts - property(this, 'operations', new Collection(api.operations, options, function(name, operation) { - return new Operation(name, operation, options); - }, util.string.lowerFirst, addEndpointOperation)); - property(this, 'shapes', new Collection(api.shapes, options, function(name, shape) { - return Shape.create(shape, options); - })); - property(this, 'paginators', new Collection(api.paginators, options, function(name, paginator) { - return new Paginator(name, paginator, options); - })); - property(this, 'waiters', new Collection(api.waiters, options, function(name, waiter) { - return new ResourceWaiter(name, waiter, options); - }, util.string.lowerFirst)); +var _AllocateAddressCommand = class _AllocateAddressCommand 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("AmazonEC2", "AllocateAddress", {}).n("EC2Client", "AllocateAddressCommand").f(void 0, void 0).ser(se_AllocateAddressCommand).de(de_AllocateAddressCommand).build() { +}; +__name(_AllocateAddressCommand, "AllocateAddressCommand"); +var AllocateAddressCommand = _AllocateAddressCommand; - if (options.documentation) { - property(this, 'documentation', api.documentation); - property(this, 'documentationUrl', api.documentationUrl); - } - property(this, 'awsQueryCompatible', api.metadata.awsQueryCompatible); -} +// src/commands/AllocateHostsCommand.ts -/** - * @api private - */ -module.exports = Api; -/***/ }), -/***/ 71965: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _AllocateHostsCommand = class _AllocateHostsCommand 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("AmazonEC2", "AllocateHosts", {}).n("EC2Client", "AllocateHostsCommand").f(void 0, void 0).ser(se_AllocateHostsCommand).de(de_AllocateHostsCommand).build() { +}; +__name(_AllocateHostsCommand, "AllocateHostsCommand"); +var AllocateHostsCommand = _AllocateHostsCommand; -var memoizedProperty = (__nccwpck_require__(77985).memoizedProperty); +// src/commands/AllocateIpamPoolCidrCommand.ts -function memoize(name, value, factory, nameTr) { - memoizedProperty(this, nameTr(name), function() { - return factory(name, value); - }); -} -function Collection(iterable, options, factory, nameTr, callback) { - nameTr = nameTr || String; - var self = this; - for (var id in iterable) { - if (Object.prototype.hasOwnProperty.call(iterable, id)) { - memoize.call(self, id, iterable[id], factory, nameTr); - if (callback) callback(id, iterable[id]); - } - } -} -/** - * @api private - */ -module.exports = Collection; +var _AllocateIpamPoolCidrCommand = class _AllocateIpamPoolCidrCommand 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("AmazonEC2", "AllocateIpamPoolCidr", {}).n("EC2Client", "AllocateIpamPoolCidrCommand").f(void 0, void 0).ser(se_AllocateIpamPoolCidrCommand).de(de_AllocateIpamPoolCidrCommand).build() { +}; +__name(_AllocateIpamPoolCidrCommand, "AllocateIpamPoolCidrCommand"); +var AllocateIpamPoolCidrCommand = _AllocateIpamPoolCidrCommand; +// src/commands/ApplySecurityGroupsToClientVpnTargetNetworkCommand.ts -/***/ }), -/***/ 28083: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var Shape = __nccwpck_require__(71349); -var util = __nccwpck_require__(77985); -var property = util.property; -var memoizedProperty = util.memoizedProperty; +var _ApplySecurityGroupsToClientVpnTargetNetworkCommand = class _ApplySecurityGroupsToClientVpnTargetNetworkCommand 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("AmazonEC2", "ApplySecurityGroupsToClientVpnTargetNetwork", {}).n("EC2Client", "ApplySecurityGroupsToClientVpnTargetNetworkCommand").f(void 0, void 0).ser(se_ApplySecurityGroupsToClientVpnTargetNetworkCommand).de(de_ApplySecurityGroupsToClientVpnTargetNetworkCommand).build() { +}; +__name(_ApplySecurityGroupsToClientVpnTargetNetworkCommand, "ApplySecurityGroupsToClientVpnTargetNetworkCommand"); +var ApplySecurityGroupsToClientVpnTargetNetworkCommand = _ApplySecurityGroupsToClientVpnTargetNetworkCommand; -function Operation(name, operation, options) { - var self = this; - options = options || {}; +// src/commands/AssignIpv6AddressesCommand.ts - property(this, 'name', operation.name || name); - property(this, 'api', options.api, false); - - operation.http = operation.http || {}; - property(this, 'endpoint', operation.endpoint); - property(this, 'httpMethod', operation.http.method || 'POST'); - property(this, 'httpPath', operation.http.requestUri || '/'); - property(this, 'authtype', operation.authtype || ''); - property( - this, - 'endpointDiscoveryRequired', - operation.endpointdiscovery ? - (operation.endpointdiscovery.required ? 'REQUIRED' : 'OPTIONAL') : - 'NULL' - ); - // httpChecksum replaces usage of httpChecksumRequired, but some APIs - // (s3control) still uses old trait. - var httpChecksumRequired = operation.httpChecksumRequired - || (operation.httpChecksum && operation.httpChecksum.requestChecksumRequired); - property(this, 'httpChecksumRequired', httpChecksumRequired, false); - memoizedProperty(this, 'input', function() { - if (!operation.input) { - return new Shape.create({type: 'structure'}, options); - } - return Shape.create(operation.input, options); - }); - memoizedProperty(this, 'output', function() { - if (!operation.output) { - return new Shape.create({type: 'structure'}, options); - } - return Shape.create(operation.output, options); - }); +var _AssignIpv6AddressesCommand = class _AssignIpv6AddressesCommand 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("AmazonEC2", "AssignIpv6Addresses", {}).n("EC2Client", "AssignIpv6AddressesCommand").f(void 0, void 0).ser(se_AssignIpv6AddressesCommand).de(de_AssignIpv6AddressesCommand).build() { +}; +__name(_AssignIpv6AddressesCommand, "AssignIpv6AddressesCommand"); +var AssignIpv6AddressesCommand = _AssignIpv6AddressesCommand; - memoizedProperty(this, 'errors', function() { - var list = []; - if (!operation.errors) return null; +// src/commands/AssignPrivateIpAddressesCommand.ts - for (var i = 0; i < operation.errors.length; i++) { - list.push(Shape.create(operation.errors[i], options)); - } - return list; - }); - memoizedProperty(this, 'paginator', function() { - return options.api.paginators[name]; - }); - if (options.documentation) { - property(this, 'documentation', operation.documentation); - property(this, 'documentationUrl', operation.documentationUrl); - } +var _AssignPrivateIpAddressesCommand = class _AssignPrivateIpAddressesCommand 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("AmazonEC2", "AssignPrivateIpAddresses", {}).n("EC2Client", "AssignPrivateIpAddressesCommand").f(void 0, void 0).ser(se_AssignPrivateIpAddressesCommand).de(de_AssignPrivateIpAddressesCommand).build() { +}; +__name(_AssignPrivateIpAddressesCommand, "AssignPrivateIpAddressesCommand"); +var AssignPrivateIpAddressesCommand = _AssignPrivateIpAddressesCommand; - // idempotentMembers only tracks top-level input shapes - memoizedProperty(this, 'idempotentMembers', function() { - var idempotentMembers = []; - var input = self.input; - var members = input.members; - if (!input.members) { - return idempotentMembers; - } - for (var name in members) { - if (!members.hasOwnProperty(name)) { - continue; - } - if (members[name].isIdempotent === true) { - idempotentMembers.push(name); - } - } - return idempotentMembers; - }); +// src/commands/AssignPrivateNatGatewayAddressCommand.ts - memoizedProperty(this, 'hasEventOutput', function() { - var output = self.output; - return hasEventStream(output); - }); -} -function hasEventStream(topLevelShape) { - var members = topLevelShape.members; - var payload = topLevelShape.payload; - if (!topLevelShape.members) { - return false; - } - if (payload) { - var payloadMember = members[payload]; - return payloadMember.isEventStream; - } +var _AssignPrivateNatGatewayAddressCommand = class _AssignPrivateNatGatewayAddressCommand 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("AmazonEC2", "AssignPrivateNatGatewayAddress", {}).n("EC2Client", "AssignPrivateNatGatewayAddressCommand").f(void 0, void 0).ser(se_AssignPrivateNatGatewayAddressCommand).de(de_AssignPrivateNatGatewayAddressCommand).build() { +}; +__name(_AssignPrivateNatGatewayAddressCommand, "AssignPrivateNatGatewayAddressCommand"); +var AssignPrivateNatGatewayAddressCommand = _AssignPrivateNatGatewayAddressCommand; - // check if any member is an event stream - for (var name in members) { - if (!members.hasOwnProperty(name)) { - if (members[name].isEventStream === true) { - return true; - } - } - } - return false; -} +// src/commands/AssociateAddressCommand.ts -/** - * @api private - */ -module.exports = Operation; -/***/ }), -/***/ 45938: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _AssociateAddressCommand = class _AssociateAddressCommand 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("AmazonEC2", "AssociateAddress", {}).n("EC2Client", "AssociateAddressCommand").f(void 0, void 0).ser(se_AssociateAddressCommand).de(de_AssociateAddressCommand).build() { +}; +__name(_AssociateAddressCommand, "AssociateAddressCommand"); +var AssociateAddressCommand = _AssociateAddressCommand; -var property = (__nccwpck_require__(77985).property); +// src/commands/AssociateClientVpnTargetNetworkCommand.ts -function Paginator(name, paginator) { - property(this, 'inputToken', paginator.input_token); - property(this, 'limitKey', paginator.limit_key); - property(this, 'moreResults', paginator.more_results); - property(this, 'outputToken', paginator.output_token); - property(this, 'resultKey', paginator.result_key); -} -/** - * @api private - */ -module.exports = Paginator; -/***/ }), +var _AssociateClientVpnTargetNetworkCommand = class _AssociateClientVpnTargetNetworkCommand 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("AmazonEC2", "AssociateClientVpnTargetNetwork", {}).n("EC2Client", "AssociateClientVpnTargetNetworkCommand").f(void 0, void 0).ser(se_AssociateClientVpnTargetNetworkCommand).de(de_AssociateClientVpnTargetNetworkCommand).build() { +}; +__name(_AssociateClientVpnTargetNetworkCommand, "AssociateClientVpnTargetNetworkCommand"); +var AssociateClientVpnTargetNetworkCommand = _AssociateClientVpnTargetNetworkCommand; -/***/ 41368: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/AssociateDhcpOptionsCommand.ts -var util = __nccwpck_require__(77985); -var property = util.property; -function ResourceWaiter(name, waiter, options) { - options = options || {}; - property(this, 'name', name); - property(this, 'api', options.api, false); - if (waiter.operation) { - property(this, 'operation', util.string.lowerFirst(waiter.operation)); - } - var self = this; - var keys = [ - 'type', - 'description', - 'delay', - 'maxAttempts', - 'acceptors' +var _AssociateDhcpOptionsCommand = class _AssociateDhcpOptionsCommand 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("AmazonEC2", "AssociateDhcpOptions", {}).n("EC2Client", "AssociateDhcpOptionsCommand").f(void 0, void 0).ser(se_AssociateDhcpOptionsCommand).de(de_AssociateDhcpOptionsCommand).build() { +}; +__name(_AssociateDhcpOptionsCommand, "AssociateDhcpOptionsCommand"); +var AssociateDhcpOptionsCommand = _AssociateDhcpOptionsCommand; - keys.forEach(function(key) { - var value = waiter[key]; - if (value) { - property(self, key, value); - } - }); -} - -/** - * @api private - */ -module.exports = ResourceWaiter; - - -/***/ }), +// src/commands/AssociateEnclaveCertificateIamRoleCommand.ts -/***/ 71349: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var Collection = __nccwpck_require__(71965); -var util = __nccwpck_require__(77985); -function property(obj, name, value) { - if (value !== null && value !== undefined) { - util.property.apply(this, arguments); - } -} +var _AssociateEnclaveCertificateIamRoleCommand = class _AssociateEnclaveCertificateIamRoleCommand 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("AmazonEC2", "AssociateEnclaveCertificateIamRole", {}).n("EC2Client", "AssociateEnclaveCertificateIamRoleCommand").f(void 0, void 0).ser(se_AssociateEnclaveCertificateIamRoleCommand).de(de_AssociateEnclaveCertificateIamRoleCommand).build() { +}; +__name(_AssociateEnclaveCertificateIamRoleCommand, "AssociateEnclaveCertificateIamRoleCommand"); +var AssociateEnclaveCertificateIamRoleCommand = _AssociateEnclaveCertificateIamRoleCommand; -function memoizedProperty(obj, name) { - if (!obj.constructor.prototype[name]) { - util.memoizedProperty.apply(this, arguments); - } -} +// src/commands/AssociateIamInstanceProfileCommand.ts -function Shape(shape, options, memberName) { - options = options || {}; - property(this, 'shape', shape.shape); - property(this, 'api', options.api, false); - property(this, 'type', shape.type); - property(this, 'enum', shape.enum); - property(this, 'min', shape.min); - property(this, 'max', shape.max); - property(this, 'pattern', shape.pattern); - property(this, 'location', shape.location || this.location || 'body'); - property(this, 'name', this.name || shape.xmlName || shape.queryName || - shape.locationName || memberName); - property(this, 'isStreaming', shape.streaming || this.isStreaming || false); - property(this, 'requiresLength', shape.requiresLength, false); - property(this, 'isComposite', shape.isComposite || false); - property(this, 'isShape', true, false); - property(this, 'isQueryName', Boolean(shape.queryName), false); - property(this, 'isLocationName', Boolean(shape.locationName), false); - property(this, 'isIdempotent', shape.idempotencyToken === true); - property(this, 'isJsonValue', shape.jsonvalue === true); - property(this, 'isSensitive', shape.sensitive === true || shape.prototype && shape.prototype.sensitive === true); - property(this, 'isEventStream', Boolean(shape.eventstream), false); - property(this, 'isEvent', Boolean(shape.event), false); - property(this, 'isEventPayload', Boolean(shape.eventpayload), false); - property(this, 'isEventHeader', Boolean(shape.eventheader), false); - property(this, 'isTimestampFormatSet', Boolean(shape.timestampFormat) || shape.prototype && shape.prototype.isTimestampFormatSet === true, false); - property(this, 'endpointDiscoveryId', Boolean(shape.endpointdiscoveryid), false); - property(this, 'hostLabel', Boolean(shape.hostLabel), false); - - if (options.documentation) { - property(this, 'documentation', shape.documentation); - property(this, 'documentationUrl', shape.documentationUrl); - } - - if (shape.xmlAttribute) { - property(this, 'isXmlAttribute', shape.xmlAttribute || false); - } - - // type conversion and parsing - property(this, 'defaultValue', null); - this.toWireFormat = function(value) { - if (value === null || value === undefined) return ''; - return value; - }; - this.toType = function(value) { return value; }; -} -/** - * @api private - */ -Shape.normalizedTypes = { - character: 'string', - double: 'float', - long: 'integer', - short: 'integer', - biginteger: 'integer', - bigdecimal: 'float', - blob: 'binary' -}; -/** - * @api private - */ -Shape.types = { - 'structure': StructureShape, - 'list': ListShape, - 'map': MapShape, - 'boolean': BooleanShape, - 'timestamp': TimestampShape, - 'float': FloatShape, - 'integer': IntegerShape, - 'string': StringShape, - 'base64': Base64Shape, - 'binary': BinaryShape -}; - -Shape.resolve = function resolve(shape, options) { - if (shape.shape) { - var refShape = options.api.shapes[shape.shape]; - if (!refShape) { - throw new Error('Cannot find shape reference: ' + shape.shape); - } - - return refShape; - } else { - return null; - } +var _AssociateIamInstanceProfileCommand = class _AssociateIamInstanceProfileCommand 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("AmazonEC2", "AssociateIamInstanceProfile", {}).n("EC2Client", "AssociateIamInstanceProfileCommand").f(void 0, void 0).ser(se_AssociateIamInstanceProfileCommand).de(de_AssociateIamInstanceProfileCommand).build() { }; +__name(_AssociateIamInstanceProfileCommand, "AssociateIamInstanceProfileCommand"); +var AssociateIamInstanceProfileCommand = _AssociateIamInstanceProfileCommand; -Shape.create = function create(shape, options, memberName) { - if (shape.isShape) return shape; +// src/commands/AssociateInstanceEventWindowCommand.ts - var refShape = Shape.resolve(shape, options); - if (refShape) { - var filteredKeys = Object.keys(shape); - if (!options.documentation) { - filteredKeys = filteredKeys.filter(function(name) { - return !name.match(/documentation/); - }); - } - // create an inline shape with extra members - var InlineShape = function() { - refShape.constructor.call(this, shape, options, memberName); - }; - InlineShape.prototype = refShape; - return new InlineShape(); - } else { - // set type if not set - if (!shape.type) { - if (shape.members) shape.type = 'structure'; - else if (shape.member) shape.type = 'list'; - else if (shape.key) shape.type = 'map'; - else shape.type = 'string'; - } - // normalize types - var origType = shape.type; - if (Shape.normalizedTypes[shape.type]) { - shape.type = Shape.normalizedTypes[shape.type]; - } - if (Shape.types[shape.type]) { - return new Shape.types[shape.type](shape, options, memberName); - } else { - throw new Error('Unrecognized shape type: ' + origType); - } - } +var _AssociateInstanceEventWindowCommand = class _AssociateInstanceEventWindowCommand 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("AmazonEC2", "AssociateInstanceEventWindow", {}).n("EC2Client", "AssociateInstanceEventWindowCommand").f(void 0, void 0).ser(se_AssociateInstanceEventWindowCommand).de(de_AssociateInstanceEventWindowCommand).build() { }; +__name(_AssociateInstanceEventWindowCommand, "AssociateInstanceEventWindowCommand"); +var AssociateInstanceEventWindowCommand = _AssociateInstanceEventWindowCommand; -function CompositeShape(shape) { - Shape.apply(this, arguments); - property(this, 'isComposite', true); +// src/commands/AssociateIpamByoasnCommand.ts - if (shape.flattened) { - property(this, 'flattened', shape.flattened || false); - } -} -function StructureShape(shape, options) { - var self = this; - var requiredMap = null, firstInit = !this.isShape; - - CompositeShape.apply(this, arguments); - - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'members', {}); - property(this, 'memberNames', []); - property(this, 'required', []); - property(this, 'isRequired', function() { return false; }); - property(this, 'isDocument', Boolean(shape.document)); - } - - if (shape.members) { - property(this, 'members', new Collection(shape.members, options, function(name, member) { - return Shape.create(member, options, name); - })); - memoizedProperty(this, 'memberNames', function() { - return shape.xmlOrder || Object.keys(shape.members); - }); - - if (shape.event) { - memoizedProperty(this, 'eventPayloadMemberName', function() { - var members = self.members; - var memberNames = self.memberNames; - // iterate over members to find ones that are event payloads - for (var i = 0, iLen = memberNames.length; i < iLen; i++) { - if (members[memberNames[i]].isEventPayload) { - return memberNames[i]; - } - } - }); - memoizedProperty(this, 'eventHeaderMemberNames', function() { - var members = self.members; - var memberNames = self.memberNames; - var eventHeaderMemberNames = []; - // iterate over members to find ones that are event headers - for (var i = 0, iLen = memberNames.length; i < iLen; i++) { - if (members[memberNames[i]].isEventHeader) { - eventHeaderMemberNames.push(memberNames[i]); - } - } - return eventHeaderMemberNames; - }); - } - } - if (shape.required) { - property(this, 'required', shape.required); - property(this, 'isRequired', function(name) { - if (!requiredMap) { - requiredMap = {}; - for (var i = 0; i < shape.required.length; i++) { - requiredMap[shape.required[i]] = true; - } - } +var _AssociateIpamByoasnCommand = class _AssociateIpamByoasnCommand 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("AmazonEC2", "AssociateIpamByoasn", {}).n("EC2Client", "AssociateIpamByoasnCommand").f(void 0, void 0).ser(se_AssociateIpamByoasnCommand).de(de_AssociateIpamByoasnCommand).build() { +}; +__name(_AssociateIpamByoasnCommand, "AssociateIpamByoasnCommand"); +var AssociateIpamByoasnCommand = _AssociateIpamByoasnCommand; - return requiredMap[name]; - }, false, true); - } +// src/commands/AssociateIpamResourceDiscoveryCommand.ts - property(this, 'resultWrapper', shape.resultWrapper || null); - if (shape.payload) { - property(this, 'payload', shape.payload); - } - if (typeof shape.xmlNamespace === 'string') { - property(this, 'xmlNamespaceUri', shape.xmlNamespace); - } else if (typeof shape.xmlNamespace === 'object') { - property(this, 'xmlNamespacePrefix', shape.xmlNamespace.prefix); - property(this, 'xmlNamespaceUri', shape.xmlNamespace.uri); - } -} -function ListShape(shape, options) { - var self = this, firstInit = !this.isShape; - CompositeShape.apply(this, arguments); +var _AssociateIpamResourceDiscoveryCommand = class _AssociateIpamResourceDiscoveryCommand 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("AmazonEC2", "AssociateIpamResourceDiscovery", {}).n("EC2Client", "AssociateIpamResourceDiscoveryCommand").f(void 0, void 0).ser(se_AssociateIpamResourceDiscoveryCommand).de(de_AssociateIpamResourceDiscoveryCommand).build() { +}; +__name(_AssociateIpamResourceDiscoveryCommand, "AssociateIpamResourceDiscoveryCommand"); +var AssociateIpamResourceDiscoveryCommand = _AssociateIpamResourceDiscoveryCommand; - if (firstInit) { - property(this, 'defaultValue', function() { return []; }); - } +// src/commands/AssociateNatGatewayAddressCommand.ts - if (shape.member) { - memoizedProperty(this, 'member', function() { - return Shape.create(shape.member, options); - }); - } - if (this.flattened) { - var oldName = this.name; - memoizedProperty(this, 'name', function() { - return self.member.name || oldName; - }); - } -} -function MapShape(shape, options) { - var firstInit = !this.isShape; - CompositeShape.apply(this, arguments); - if (firstInit) { - property(this, 'defaultValue', function() { return {}; }); - property(this, 'key', Shape.create({type: 'string'}, options)); - property(this, 'value', Shape.create({type: 'string'}, options)); - } +var _AssociateNatGatewayAddressCommand = class _AssociateNatGatewayAddressCommand 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("AmazonEC2", "AssociateNatGatewayAddress", {}).n("EC2Client", "AssociateNatGatewayAddressCommand").f(void 0, void 0).ser(se_AssociateNatGatewayAddressCommand).de(de_AssociateNatGatewayAddressCommand).build() { +}; +__name(_AssociateNatGatewayAddressCommand, "AssociateNatGatewayAddressCommand"); +var AssociateNatGatewayAddressCommand = _AssociateNatGatewayAddressCommand; - if (shape.key) { - memoizedProperty(this, 'key', function() { - return Shape.create(shape.key, options); - }); - } - if (shape.value) { - memoizedProperty(this, 'value', function() { - return Shape.create(shape.value, options); - }); - } -} +// src/commands/AssociateRouteTableCommand.ts -function TimestampShape(shape) { - var self = this; - Shape.apply(this, arguments); - - if (shape.timestampFormat) { - property(this, 'timestampFormat', shape.timestampFormat); - } else if (self.isTimestampFormatSet && this.timestampFormat) { - property(this, 'timestampFormat', this.timestampFormat); - } else if (this.location === 'header') { - property(this, 'timestampFormat', 'rfc822'); - } else if (this.location === 'querystring') { - property(this, 'timestampFormat', 'iso8601'); - } else if (this.api) { - switch (this.api.protocol) { - case 'json': - case 'rest-json': - property(this, 'timestampFormat', 'unixTimestamp'); - break; - case 'rest-xml': - case 'query': - case 'ec2': - property(this, 'timestampFormat', 'iso8601'); - break; - } - } - this.toType = function(value) { - if (value === null || value === undefined) return null; - if (typeof value.toUTCString === 'function') return value; - return typeof value === 'string' || typeof value === 'number' ? - util.date.parseTimestamp(value) : null; - }; - this.toWireFormat = function(value) { - return util.date.format(value, self.timestampFormat); - }; -} -function StringShape() { - Shape.apply(this, arguments); +var _AssociateRouteTableCommand = class _AssociateRouteTableCommand 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("AmazonEC2", "AssociateRouteTable", {}).n("EC2Client", "AssociateRouteTableCommand").f(void 0, void 0).ser(se_AssociateRouteTableCommand).de(de_AssociateRouteTableCommand).build() { +}; +__name(_AssociateRouteTableCommand, "AssociateRouteTableCommand"); +var AssociateRouteTableCommand = _AssociateRouteTableCommand; - var nullLessProtocols = ['rest-xml', 'query', 'ec2']; - this.toType = function(value) { - value = this.api && nullLessProtocols.indexOf(this.api.protocol) > -1 ? - value || '' : value; - if (this.isJsonValue) { - return JSON.parse(value); - } +// src/commands/AssociateSubnetCidrBlockCommand.ts - return value && typeof value.toString === 'function' ? - value.toString() : value; - }; - this.toWireFormat = function(value) { - return this.isJsonValue ? JSON.stringify(value) : value; - }; -} -function FloatShape() { - Shape.apply(this, arguments); - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseFloat(value); - }; - this.toWireFormat = this.toType; -} +var _AssociateSubnetCidrBlockCommand = class _AssociateSubnetCidrBlockCommand 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("AmazonEC2", "AssociateSubnetCidrBlock", {}).n("EC2Client", "AssociateSubnetCidrBlockCommand").f(void 0, void 0).ser(se_AssociateSubnetCidrBlockCommand).de(de_AssociateSubnetCidrBlockCommand).build() { +}; +__name(_AssociateSubnetCidrBlockCommand, "AssociateSubnetCidrBlockCommand"); +var AssociateSubnetCidrBlockCommand = _AssociateSubnetCidrBlockCommand; -function IntegerShape() { - Shape.apply(this, arguments); +// src/commands/AssociateTransitGatewayMulticastDomainCommand.ts - this.toType = function(value) { - if (value === null || value === undefined) return null; - return parseInt(value, 10); - }; - this.toWireFormat = this.toType; -} -function BinaryShape() { - Shape.apply(this, arguments); - this.toType = function(value) { - var buf = util.base64.decode(value); - if (this.isSensitive && util.isNode() && typeof util.Buffer.alloc === 'function') { - /* Node.js can create a Buffer that is not isolated. - * i.e. buf.byteLength !== buf.buffer.byteLength - * This means that the sensitive data is accessible to anyone with access to buf.buffer. - * If this is the node shared Buffer, then other code within this process _could_ find this secret. - * Copy sensitive data to an isolated Buffer and zero the sensitive data. - * While this is safe to do here, copying this code somewhere else may produce unexpected results. - */ - var secureBuf = util.Buffer.alloc(buf.length, buf); - buf.fill(0); - buf = secureBuf; - } - return buf; - }; - this.toWireFormat = util.base64.encode; -} -function Base64Shape() { - BinaryShape.apply(this, arguments); -} -function BooleanShape() { - Shape.apply(this, arguments); +var _AssociateTransitGatewayMulticastDomainCommand = class _AssociateTransitGatewayMulticastDomainCommand 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("AmazonEC2", "AssociateTransitGatewayMulticastDomain", {}).n("EC2Client", "AssociateTransitGatewayMulticastDomainCommand").f(void 0, void 0).ser(se_AssociateTransitGatewayMulticastDomainCommand).de(de_AssociateTransitGatewayMulticastDomainCommand).build() { +}; +__name(_AssociateTransitGatewayMulticastDomainCommand, "AssociateTransitGatewayMulticastDomainCommand"); +var AssociateTransitGatewayMulticastDomainCommand = _AssociateTransitGatewayMulticastDomainCommand; - this.toType = function(value) { - if (typeof value === 'boolean') return value; - if (value === null || value === undefined) return null; - return value === 'true'; - }; -} +// src/commands/AssociateTransitGatewayPolicyTableCommand.ts -/** - * @api private - */ -Shape.shapes = { - StructureShape: StructureShape, - ListShape: ListShape, - MapShape: MapShape, - StringShape: StringShape, - BooleanShape: BooleanShape, - Base64Shape: Base64Shape -}; -/** - * @api private - */ -module.exports = Shape; -/***/ }), +var _AssociateTransitGatewayPolicyTableCommand = class _AssociateTransitGatewayPolicyTableCommand 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("AmazonEC2", "AssociateTransitGatewayPolicyTable", {}).n("EC2Client", "AssociateTransitGatewayPolicyTableCommand").f(void 0, void 0).ser(se_AssociateTransitGatewayPolicyTableCommand).de(de_AssociateTransitGatewayPolicyTableCommand).build() { +}; +__name(_AssociateTransitGatewayPolicyTableCommand, "AssociateTransitGatewayPolicyTableCommand"); +var AssociateTransitGatewayPolicyTableCommand = _AssociateTransitGatewayPolicyTableCommand; -/***/ 73639: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/AssociateTransitGatewayRouteTableCommand.ts -var util = __nccwpck_require__(77985); -var region_utils = __nccwpck_require__(99517); -var isFipsRegion = region_utils.isFipsRegion; -var getRealRegion = region_utils.getRealRegion; -util.isBrowser = function() { return false; }; -util.isNode = function() { return true; }; -// node.js specific modules -util.crypto.lib = __nccwpck_require__(6113); -util.Buffer = (__nccwpck_require__(14300).Buffer); -util.domain = __nccwpck_require__(13639); -util.stream = __nccwpck_require__(12781); -util.url = __nccwpck_require__(57310); -util.querystring = __nccwpck_require__(63477); -util.environment = 'nodejs'; -util.createEventStream = util.stream.Readable ? - (__nccwpck_require__(69643).createEventStream) : (__nccwpck_require__(63727).createEventStream); -util.realClock = __nccwpck_require__(81370); -util.clientSideMonitoring = { - Publisher: (__nccwpck_require__(66807).Publisher), - configProvider: __nccwpck_require__(91822), +var _AssociateTransitGatewayRouteTableCommand = class _AssociateTransitGatewayRouteTableCommand 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("AmazonEC2", "AssociateTransitGatewayRouteTable", {}).n("EC2Client", "AssociateTransitGatewayRouteTableCommand").f(void 0, void 0).ser(se_AssociateTransitGatewayRouteTableCommand).de(de_AssociateTransitGatewayRouteTableCommand).build() { }; -util.iniLoader = (__nccwpck_require__(29697)/* .iniLoader */ .b); -util.getSystemErrorName = (__nccwpck_require__(73837).getSystemErrorName); +__name(_AssociateTransitGatewayRouteTableCommand, "AssociateTransitGatewayRouteTableCommand"); +var AssociateTransitGatewayRouteTableCommand = _AssociateTransitGatewayRouteTableCommand; -util.loadConfig = function(options) { - var envValue = options.environmentVariableSelector(process.env); - if (envValue !== undefined) { - return envValue; - } +// src/commands/AssociateTrunkInterfaceCommand.ts - var configFile = {}; - try { - configFile = util.iniLoader ? util.iniLoader.loadFrom({ - isConfig: true, - filename: process.env[util.sharedConfigFileEnv] - }) : {}; - } catch (e) {} - var sharedFileConfig = configFile[ - process.env.AWS_PROFILE || util.defaultProfile - ] || {}; - var configValue = options.configFileSelector(sharedFileConfig); - if (configValue !== undefined) { - return configValue; - } - if (typeof options.default === 'function') { - return options.default(); - } - return options.default; + + +var _AssociateTrunkInterfaceCommand = class _AssociateTrunkInterfaceCommand 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("AmazonEC2", "AssociateTrunkInterface", {}).n("EC2Client", "AssociateTrunkInterfaceCommand").f(void 0, void 0).ser(se_AssociateTrunkInterfaceCommand).de(de_AssociateTrunkInterfaceCommand).build() { }; +__name(_AssociateTrunkInterfaceCommand, "AssociateTrunkInterfaceCommand"); +var AssociateTrunkInterfaceCommand = _AssociateTrunkInterfaceCommand; -var AWS; +// src/commands/AssociateVpcCidrBlockCommand.ts -/** - * @api private - */ -module.exports = AWS = __nccwpck_require__(28437); - -__nccwpck_require__(53819); -__nccwpck_require__(36965); -__nccwpck_require__(77360); -__nccwpck_require__(57083); -__nccwpck_require__(74998); -__nccwpck_require__(3498); -__nccwpck_require__(15037); -__nccwpck_require__(80371); - -// Load the xml2js XML parser -AWS.XML.Parser = __nccwpck_require__(96752); - -// Load Node HTTP client -__nccwpck_require__(2310); - -__nccwpck_require__(95417); - -// Load custom credential providers -__nccwpck_require__(11017); -__nccwpck_require__(73379); -__nccwpck_require__(88764); -__nccwpck_require__(10645); -__nccwpck_require__(57714); -__nccwpck_require__(27454); -__nccwpck_require__(13754); -__nccwpck_require__(80371); -__nccwpck_require__(68335); - -// Setup default providers for credentials chain -// If this changes, please update documentation for -// AWS.CredentialProviderChain.defaultProviders in -// credentials/credential_provider_chain.js -AWS.CredentialProviderChain.defaultProviders = [ - function () { return new AWS.EnvironmentCredentials('AWS'); }, - function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - function () { return new AWS.SsoCredentials(); }, - function () { return new AWS.SharedIniFileCredentials(); }, - function () { return new AWS.ECSCredentials(); }, - function () { return new AWS.ProcessCredentials(); }, - function () { return new AWS.TokenFileWebIdentityCredentials(); }, - function () { return new AWS.EC2MetadataCredentials(); } -]; -// Load custom token providers -__nccwpck_require__(82647); -__nccwpck_require__(50126); -__nccwpck_require__(90327); - -// Setup default providers for token chain -// If this changes, please update documentation for -// AWS.TokenProviderChain.defaultProviders in -// token/token_provider_chain.js -AWS.TokenProviderChain.defaultProviders = [ - function () { return new AWS.SSOTokenProvider(); }, -]; -var getRegion = function() { - var env = process.env; - var region = env.AWS_REGION || env.AMAZON_REGION; - if (env[AWS.util.configOptInEnv]) { - var toCheck = [ - {filename: env[AWS.util.sharedCredentialsFileEnv]}, - {isConfig: true, filename: env[AWS.util.sharedConfigFileEnv]} - ]; - var iniLoader = AWS.util.iniLoader; - while (!region && toCheck.length) { - var configFile = {}; - var fileInfo = toCheck.shift(); - try { - configFile = iniLoader.loadFrom(fileInfo); - } catch (err) { - if (fileInfo.isConfig) throw err; - } - var profile = configFile[env.AWS_PROFILE || AWS.util.defaultProfile]; - region = profile && profile.region; - } - } - return region; -}; -var getBooleanValue = function(value) { - return value === 'true' ? true: value === 'false' ? false: undefined; +var _AssociateVpcCidrBlockCommand = class _AssociateVpcCidrBlockCommand 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("AmazonEC2", "AssociateVpcCidrBlock", {}).n("EC2Client", "AssociateVpcCidrBlockCommand").f(void 0, void 0).ser(se_AssociateVpcCidrBlockCommand).de(de_AssociateVpcCidrBlockCommand).build() { }; +__name(_AssociateVpcCidrBlockCommand, "AssociateVpcCidrBlockCommand"); +var AssociateVpcCidrBlockCommand = _AssociateVpcCidrBlockCommand; -var USE_FIPS_ENDPOINT_CONFIG_OPTIONS = { - environmentVariableSelector: function(env) { - return getBooleanValue(env['AWS_USE_FIPS_ENDPOINT']); - }, - configFileSelector: function(profile) { - return getBooleanValue(profile['use_fips_endpoint']); - }, - default: false, -}; +// src/commands/AttachClassicLinkVpcCommand.ts -var USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = { - environmentVariableSelector: function(env) { - return getBooleanValue(env['AWS_USE_DUALSTACK_ENDPOINT']); - }, - configFileSelector: function(profile) { - return getBooleanValue(profile['use_dualstack_endpoint']); - }, - default: false, -}; -// Update configuration keys -AWS.util.update(AWS.Config.prototype.keys, { - credentials: function () { - var credentials = null; - new AWS.CredentialProviderChain([ - function () { return new AWS.EnvironmentCredentials('AWS'); }, - function () { return new AWS.EnvironmentCredentials('AMAZON'); }, - function () { return new AWS.SharedIniFileCredentials({ disableAssumeRole: true }); } - ]).resolve(function(err, creds) { - if (!err) credentials = creds; - }); - return credentials; - }, - credentialProvider: function() { - return new AWS.CredentialProviderChain(); - }, - logger: function () { - return process.env.AWSJS_DEBUG ? console : null; - }, - region: function() { - var region = getRegion(); - return region ? getRealRegion(region): undefined; - }, - tokenProvider: function() { - return new AWS.TokenProviderChain(); - }, - useFipsEndpoint: function() { - var region = getRegion(); - return isFipsRegion(region) - ? true - : util.loadConfig(USE_FIPS_ENDPOINT_CONFIG_OPTIONS); - }, - useDualstackEndpoint: function() { - return util.loadConfig(USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS); - } -}); -// Reset configuration -AWS.config = new AWS.Config(); +var _AttachClassicLinkVpcCommand = class _AttachClassicLinkVpcCommand 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("AmazonEC2", "AttachClassicLinkVpc", {}).n("EC2Client", "AttachClassicLinkVpcCommand").f(void 0, void 0).ser(se_AttachClassicLinkVpcCommand).de(de_AttachClassicLinkVpcCommand).build() { +}; +__name(_AttachClassicLinkVpcCommand, "AttachClassicLinkVpcCommand"); +var AttachClassicLinkVpcCommand = _AttachClassicLinkVpcCommand; -/***/ }), +// src/commands/AttachInternetGatewayCommand.ts -/***/ 99127: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * @api private - */ -AWS.ParamValidator = AWS.util.inherit({ - /** - * Create a new validator object. - * - * @param validation [Boolean|map] whether input parameters should be - * validated against the operation description before sending the - * request. Pass a map to enable any of the following specific - * validation features: - * - * * **min** [Boolean] — Validates that a value meets the min - * constraint. This is enabled by default when paramValidation is set - * to `true`. - * * **max** [Boolean] — Validates that a value meets the max - * constraint. - * * **pattern** [Boolean] — Validates that a string value matches a - * regular expression. - * * **enum** [Boolean] — Validates that a string value matches one - * of the allowable enum values. - */ - constructor: function ParamValidator(validation) { - if (validation === true || validation === undefined) { - validation = {'min': true}; - } - this.validation = validation; - }, - validate: function validate(shape, params, context) { - this.errors = []; - this.validateMember(shape, params || {}, context || 'params'); - - if (this.errors.length > 1) { - var msg = this.errors.join('\n* '); - msg = 'There were ' + this.errors.length + - ' validation errors:\n* ' + msg; - throw AWS.util.error(new Error(msg), - {code: 'MultipleValidationErrors', errors: this.errors}); - } else if (this.errors.length === 1) { - throw this.errors[0]; - } else { - return true; - } - }, +var _AttachInternetGatewayCommand = class _AttachInternetGatewayCommand 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("AmazonEC2", "AttachInternetGateway", {}).n("EC2Client", "AttachInternetGatewayCommand").f(void 0, void 0).ser(se_AttachInternetGatewayCommand).de(de_AttachInternetGatewayCommand).build() { +}; +__name(_AttachInternetGatewayCommand, "AttachInternetGatewayCommand"); +var AttachInternetGatewayCommand = _AttachInternetGatewayCommand; - fail: function fail(code, message) { - this.errors.push(AWS.util.error(new Error(message), {code: code})); - }, +// src/commands/AttachNetworkInterfaceCommand.ts - validateStructure: function validateStructure(shape, params, context) { - if (shape.isDocument) return true; - this.validateType(params, context, ['object'], 'structure'); - var paramName; - for (var i = 0; shape.required && i < shape.required.length; i++) { - paramName = shape.required[i]; - var value = params[paramName]; - if (value === undefined || value === null) { - this.fail('MissingRequiredParameter', - 'Missing required key \'' + paramName + '\' in ' + context); - } - } - // validate hash members - for (paramName in params) { - if (!Object.prototype.hasOwnProperty.call(params, paramName)) continue; - var paramValue = params[paramName], - memberShape = shape.members[paramName]; +var _AttachNetworkInterfaceCommand = class _AttachNetworkInterfaceCommand 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("AmazonEC2", "AttachNetworkInterface", {}).n("EC2Client", "AttachNetworkInterfaceCommand").f(void 0, void 0).ser(se_AttachNetworkInterfaceCommand).de(de_AttachNetworkInterfaceCommand).build() { +}; +__name(_AttachNetworkInterfaceCommand, "AttachNetworkInterfaceCommand"); +var AttachNetworkInterfaceCommand = _AttachNetworkInterfaceCommand; - if (memberShape !== undefined) { - var memberContext = [context, paramName].join('.'); - this.validateMember(memberShape, paramValue, memberContext); - } else if (paramValue !== undefined && paramValue !== null) { - this.fail('UnexpectedParameter', - 'Unexpected key \'' + paramName + '\' found in ' + context); - } - } +// src/commands/AttachVerifiedAccessTrustProviderCommand.ts - return true; - }, - validateMember: function validateMember(shape, param, context) { - switch (shape.type) { - case 'structure': - return this.validateStructure(shape, param, context); - case 'list': - return this.validateList(shape, param, context); - case 'map': - return this.validateMap(shape, param, context); - default: - return this.validateScalar(shape, param, context); - } - }, - validateList: function validateList(shape, params, context) { - if (this.validateType(params, context, [Array])) { - this.validateRange(shape, params.length, context, 'list member count'); - // validate array members - for (var i = 0; i < params.length; i++) { - this.validateMember(shape.member, params[i], context + '[' + i + ']'); - } - } - }, - validateMap: function validateMap(shape, params, context) { - if (this.validateType(params, context, ['object'], 'map')) { - // Build up a count of map members to validate range traits. - var mapCount = 0; - for (var param in params) { - if (!Object.prototype.hasOwnProperty.call(params, param)) continue; - // Validate any map key trait constraints - this.validateMember(shape.key, param, - context + '[key=\'' + param + '\']'); - this.validateMember(shape.value, params[param], - context + '[\'' + param + '\']'); - mapCount++; - } - this.validateRange(shape, mapCount, context, 'map member count'); - } - }, - validateScalar: function validateScalar(shape, value, context) { - switch (shape.type) { - case null: - case undefined: - case 'string': - return this.validateString(shape, value, context); - case 'base64': - case 'binary': - return this.validatePayload(value, context); - case 'integer': - case 'float': - return this.validateNumber(shape, value, context); - case 'boolean': - return this.validateType(value, context, ['boolean']); - case 'timestamp': - return this.validateType(value, context, [Date, - /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?Z$/, 'number'], - 'Date object, ISO-8601 string, or a UNIX timestamp'); - default: - return this.fail('UnkownType', 'Unhandled type ' + - shape.type + ' for ' + context); - } - }, +// src/models/models_0.ts - validateString: function validateString(shape, value, context) { - var validTypes = ['string']; - if (shape.isJsonValue) { - validTypes = validTypes.concat(['number', 'object', 'boolean']); - } - if (value !== null && this.validateType(value, context, validTypes)) { - this.validateEnum(shape, value, context); - this.validateRange(shape, value.length, context, 'string length'); - this.validatePattern(shape, value, context); - this.validateUri(shape, value, context); - } - }, +var AcceleratorManufacturer = { + AMAZON_WEB_SERVICES: "amazon-web-services", + AMD: "amd", + HABANA: "habana", + NVIDIA: "nvidia", + XILINX: "xilinx" +}; +var AcceleratorName = { + A100: "a100", + A10G: "a10g", + H100: "h100", + INFERENTIA: "inferentia", + K520: "k520", + K80: "k80", + M60: "m60", + RADEON_PRO_V520: "radeon-pro-v520", + T4: "t4", + T4G: "t4g", + V100: "v100", + VU9P: "vu9p" +}; +var AcceleratorType = { + FPGA: "fpga", + GPU: "gpu", + INFERENCE: "inference" +}; +var ResourceType = { + capacity_reservation: "capacity-reservation", + capacity_reservation_fleet: "capacity-reservation-fleet", + carrier_gateway: "carrier-gateway", + client_vpn_endpoint: "client-vpn-endpoint", + coip_pool: "coip-pool", + customer_gateway: "customer-gateway", + dedicated_host: "dedicated-host", + dhcp_options: "dhcp-options", + egress_only_internet_gateway: "egress-only-internet-gateway", + elastic_gpu: "elastic-gpu", + elastic_ip: "elastic-ip", + export_image_task: "export-image-task", + export_instance_task: "export-instance-task", + fleet: "fleet", + fpga_image: "fpga-image", + host_reservation: "host-reservation", + image: "image", + import_image_task: "import-image-task", + import_snapshot_task: "import-snapshot-task", + instance: "instance", + instance_connect_endpoint: "instance-connect-endpoint", + instance_event_window: "instance-event-window", + internet_gateway: "internet-gateway", + ipam: "ipam", + ipam_pool: "ipam-pool", + ipam_resource_discovery: "ipam-resource-discovery", + ipam_resource_discovery_association: "ipam-resource-discovery-association", + ipam_scope: "ipam-scope", + ipv4pool_ec2: "ipv4pool-ec2", + ipv6pool_ec2: "ipv6pool-ec2", + key_pair: "key-pair", + launch_template: "launch-template", + local_gateway: "local-gateway", + local_gateway_route_table: "local-gateway-route-table", + local_gateway_route_table_virtual_interface_group_association: "local-gateway-route-table-virtual-interface-group-association", + local_gateway_route_table_vpc_association: "local-gateway-route-table-vpc-association", + local_gateway_virtual_interface: "local-gateway-virtual-interface", + local_gateway_virtual_interface_group: "local-gateway-virtual-interface-group", + natgateway: "natgateway", + network_acl: "network-acl", + network_insights_access_scope: "network-insights-access-scope", + network_insights_access_scope_analysis: "network-insights-access-scope-analysis", + network_insights_analysis: "network-insights-analysis", + network_insights_path: "network-insights-path", + network_interface: "network-interface", + placement_group: "placement-group", + prefix_list: "prefix-list", + replace_root_volume_task: "replace-root-volume-task", + reserved_instances: "reserved-instances", + route_table: "route-table", + security_group: "security-group", + security_group_rule: "security-group-rule", + snapshot: "snapshot", + spot_fleet_request: "spot-fleet-request", + spot_instances_request: "spot-instances-request", + subnet: "subnet", + subnet_cidr_reservation: "subnet-cidr-reservation", + traffic_mirror_filter: "traffic-mirror-filter", + traffic_mirror_filter_rule: "traffic-mirror-filter-rule", + traffic_mirror_session: "traffic-mirror-session", + traffic_mirror_target: "traffic-mirror-target", + transit_gateway: "transit-gateway", + transit_gateway_attachment: "transit-gateway-attachment", + transit_gateway_connect_peer: "transit-gateway-connect-peer", + transit_gateway_multicast_domain: "transit-gateway-multicast-domain", + transit_gateway_policy_table: "transit-gateway-policy-table", + transit_gateway_route_table: "transit-gateway-route-table", + transit_gateway_route_table_announcement: "transit-gateway-route-table-announcement", + verified_access_endpoint: "verified-access-endpoint", + verified_access_group: "verified-access-group", + verified_access_instance: "verified-access-instance", + verified_access_policy: "verified-access-policy", + verified_access_trust_provider: "verified-access-trust-provider", + volume: "volume", + vpc: "vpc", + vpc_block_public_access_exclusion: "vpc-block-public-access-exclusion", + vpc_endpoint: "vpc-endpoint", + vpc_endpoint_connection: "vpc-endpoint-connection", + vpc_endpoint_connection_device_type: "vpc-endpoint-connection-device-type", + vpc_endpoint_service: "vpc-endpoint-service", + vpc_endpoint_service_permission: "vpc-endpoint-service-permission", + vpc_flow_log: "vpc-flow-log", + vpc_peering_connection: "vpc-peering-connection", + vpn_connection: "vpn-connection", + vpn_connection_device_type: "vpn-connection-device-type", + vpn_gateway: "vpn-gateway" +}; +var AddressTransferStatus = { + accepted: "accepted", + disabled: "disabled", + pending: "pending" +}; +var TransitGatewayAttachmentResourceType = { + connect: "connect", + direct_connect_gateway: "direct-connect-gateway", + peering: "peering", + tgw_peering: "tgw-peering", + vpc: "vpc", + vpn: "vpn" +}; +var TransitGatewayMulitcastDomainAssociationState = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + pendingAcceptance: "pendingAcceptance", + rejected: "rejected" +}; +var DynamicRoutingValue = { + disable: "disable", + enable: "enable" +}; +var TransitGatewayAttachmentState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + failed: "failed", + failing: "failing", + initiating: "initiating", + initiatingRequest: "initiatingRequest", + modifying: "modifying", + pending: "pending", + pendingAcceptance: "pendingAcceptance", + rejected: "rejected", + rejecting: "rejecting", + rollingBack: "rollingBack" +}; +var ApplianceModeSupportValue = { + disable: "disable", + enable: "enable" +}; +var DnsSupportValue = { + disable: "disable", + enable: "enable" +}; +var Ipv6SupportValue = { + disable: "disable", + enable: "enable" +}; +var SecurityGroupReferencingSupportValue = { + disable: "disable", + enable: "enable" +}; +var VpcPeeringConnectionStateReasonCode = { + active: "active", + deleted: "deleted", + deleting: "deleting", + expired: "expired", + failed: "failed", + initiating_request: "initiating-request", + pending_acceptance: "pending-acceptance", + provisioning: "provisioning", + rejected: "rejected" +}; +var Protocol = { + tcp: "tcp", + udp: "udp" +}; +var AccountAttributeName = { + default_vpc: "default-vpc", + supported_platforms: "supported-platforms" +}; +var InstanceHealthStatus = { + HEALTHY_STATUS: "healthy", + UNHEALTHY_STATUS: "unhealthy" +}; +var ActivityStatus = { + ERROR: "error", + FULFILLED: "fulfilled", + PENDING_FULFILLMENT: "pending_fulfillment", + PENDING_TERMINATION: "pending_termination" +}; +var PrincipalType = { + Account: "Account", + All: "All", + OrganizationUnit: "OrganizationUnit", + Role: "Role", + Service: "Service", + User: "User" +}; +var DomainType = { + standard: "standard", + vpc: "vpc" +}; +var AddressAttributeName = { + domain_name: "domain-name" +}; +var AddressFamily = { + ipv4: "ipv4", + ipv6: "ipv6" +}; +var AsnAssociationState = { + associated: "associated", + disassociated: "disassociated", + failed_association: "failed-association", + failed_disassociation: "failed-disassociation", + pending_association: "pending-association", + pending_disassociation: "pending-disassociation" +}; +var ByoipCidrState = { + advertised: "advertised", + deprovisioned: "deprovisioned", + failed_deprovision: "failed-deprovision", + failed_provision: "failed-provision", + pending_deprovision: "pending-deprovision", + pending_provision: "pending-provision", + provisioned: "provisioned", + provisioned_not_publicly_advertisable: "provisioned-not-publicly-advertisable" +}; +var Affinity = { + default: "default", + host: "host" +}; +var AutoPlacement = { + off: "off", + on: "on" +}; +var HostMaintenance = { + off: "off", + on: "on" +}; +var HostRecovery = { + off: "off", + on: "on" +}; +var IpamPoolAllocationResourceType = { + custom: "custom", + ec2_public_ipv4_pool: "ec2-public-ipv4-pool", + ipam_pool: "ipam-pool", + subnet: "subnet", + vpc: "vpc" +}; +var AllocationState = { + available: "available", + pending: "pending", + permanent_failure: "permanent-failure", + released: "released", + released_permanent_failure: "released-permanent-failure", + under_assessment: "under-assessment" +}; +var AllocationStrategy = { + CAPACITY_OPTIMIZED: "capacityOptimized", + CAPACITY_OPTIMIZED_PRIORITIZED: "capacityOptimizedPrioritized", + DIVERSIFIED: "diversified", + LOWEST_PRICE: "lowestPrice", + PRICE_CAPACITY_OPTIMIZED: "priceCapacityOptimized" +}; +var AllocationType = { + used: "used" +}; +var AllowsMultipleInstanceTypes = { + off: "off", + on: "on" +}; +var NatGatewayAddressStatus = { + ASSIGNING: "assigning", + ASSOCIATING: "associating", + DISASSOCIATING: "disassociating", + FAILED: "failed", + SUCCEEDED: "succeeded", + UNASSIGNING: "unassigning" +}; +var AssociationStatusCode = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating" +}; +var IamInstanceProfileAssociationState = { + ASSOCIATED: "associated", + ASSOCIATING: "associating", + DISASSOCIATED: "disassociated", + DISASSOCIATING: "disassociating" +}; +var InstanceEventWindowState = { + active: "active", + creating: "creating", + deleted: "deleted", + deleting: "deleting" +}; +var WeekDay = { + friday: "friday", + monday: "monday", + saturday: "saturday", + sunday: "sunday", + thursday: "thursday", + tuesday: "tuesday", + wednesday: "wednesday" +}; +var IpamAssociatedResourceDiscoveryStatus = { + ACTIVE: "active", + NOT_FOUND: "not-found" +}; +var IpamResourceDiscoveryAssociationState = { + ASSOCIATE_COMPLETE: "associate-complete", + ASSOCIATE_FAILED: "associate-failed", + ASSOCIATE_IN_PROGRESS: "associate-in-progress", + DISASSOCIATE_COMPLETE: "disassociate-complete", + DISASSOCIATE_FAILED: "disassociate-failed", + DISASSOCIATE_IN_PROGRESS: "disassociate-in-progress", + ISOLATE_COMPLETE: "isolate-complete", + ISOLATE_IN_PROGRESS: "isolate-in-progress", + RESTORE_IN_PROGRESS: "restore-in-progress" +}; +var RouteTableAssociationStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed" +}; +var SubnetCidrBlockStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + failing: "failing" +}; +var TransitGatewayAssociationState = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating" +}; +var InterfaceProtocolType = { + GRE: "GRE", + VLAN: "VLAN" +}; +var VpcCidrBlockStateCode = { + associated: "associated", + associating: "associating", + disassociated: "disassociated", + disassociating: "disassociating", + failed: "failed", + failing: "failing" +}; +var DeviceTrustProviderType = { + crowdstrike: "crowdstrike", + jamf: "jamf", + jumpcloud: "jumpcloud" +}; +var TrustProviderType = { + device: "device", + user: "user" +}; +var UserTrustProviderType = { + iam_identity_center: "iam-identity-center", + oidc: "oidc" +}; +var VolumeAttachmentState = { + attached: "attached", + attaching: "attaching", + busy: "busy", + detached: "detached", + detaching: "detaching" +}; +var AttachmentStatus = { + attached: "attached", + attaching: "attaching", + detached: "detached", + detaching: "detaching" +}; +var ClientVpnAuthorizationRuleStatusCode = { + active: "active", + authorizing: "authorizing", + failed: "failed", + revoking: "revoking" +}; +var BundleTaskState = { + bundling: "bundling", + cancelling: "cancelling", + complete: "complete", + failed: "failed", + pending: "pending", + storing: "storing", + waiting_for_shutdown: "waiting-for-shutdown" +}; +var CapacityReservationFleetState = { + ACTIVE: "active", + CANCELLED: "cancelled", + CANCELLING: "cancelling", + EXPIRED: "expired", + EXPIRING: "expiring", + FAILED: "failed", + MODIFYING: "modifying", + PARTIALLY_FULFILLED: "partially_fulfilled", + SUBMITTED: "submitted" +}; +var ListingState = { + available: "available", + cancelled: "cancelled", + pending: "pending", + sold: "sold" +}; +var CurrencyCodeValues = { + USD: "USD" +}; +var ListingStatus = { + active: "active", + cancelled: "cancelled", + closed: "closed", + pending: "pending" +}; +var BatchState = { + ACTIVE: "active", + CANCELLED: "cancelled", + CANCELLED_RUNNING: "cancelled_running", + CANCELLED_TERMINATING_INSTANCES: "cancelled_terminating", + FAILED: "failed", + MODIFYING: "modifying", + SUBMITTED: "submitted" +}; +var CancelBatchErrorCode = { + FLEET_REQUEST_ID_DOES_NOT_EXIST: "fleetRequestIdDoesNotExist", + FLEET_REQUEST_ID_MALFORMED: "fleetRequestIdMalformed", + FLEET_REQUEST_NOT_IN_CANCELLABLE_STATE: "fleetRequestNotInCancellableState", + UNEXPECTED_ERROR: "unexpectedError" +}; +var CancelSpotInstanceRequestState = { + active: "active", + cancelled: "cancelled", + closed: "closed", + completed: "completed", + open: "open" +}; +var EndDateType = { + limited: "limited", + unlimited: "unlimited" +}; +var InstanceMatchCriteria = { + open: "open", + targeted: "targeted" +}; +var CapacityReservationInstancePlatform = { + LINUX_UNIX: "Linux/UNIX", + LINUX_WITH_SQL_SERVER_ENTERPRISE: "Linux with SQL Server Enterprise", + LINUX_WITH_SQL_SERVER_STANDARD: "Linux with SQL Server Standard", + LINUX_WITH_SQL_SERVER_WEB: "Linux with SQL Server Web", + RED_HAT_ENTERPRISE_LINUX: "Red Hat Enterprise Linux", + RHEL_WITH_HA: "RHEL with HA", + RHEL_WITH_HA_AND_SQL_SERVER_ENTERPRISE: "RHEL with HA and SQL Server Enterprise", + RHEL_WITH_HA_AND_SQL_SERVER_STANDARD: "RHEL with HA and SQL Server Standard", + RHEL_WITH_SQL_SERVER_ENTERPRISE: "RHEL with SQL Server Enterprise", + RHEL_WITH_SQL_SERVER_STANDARD: "RHEL with SQL Server Standard", + RHEL_WITH_SQL_SERVER_WEB: "RHEL with SQL Server Web", + SUSE_LINUX: "SUSE Linux", + UBUNTU_PRO_LINUX: "Ubuntu Pro", + WINDOWS: "Windows", + WINDOWS_WITH_SQL_SERVER: "Windows with SQL Server", + WINDOWS_WITH_SQL_SERVER_ENTERPRISE: "Windows with SQL Server Enterprise", + WINDOWS_WITH_SQL_SERVER_STANDARD: "Windows with SQL Server Standard", + WINDOWS_WITH_SQL_SERVER_WEB: "Windows with SQL Server Web" +}; +var CapacityReservationTenancy = { + dedicated: "dedicated", + default: "default" +}; +var CapacityReservationType = { + CAPACITY_BLOCK: "capacity-block", + DEFAULT: "default" +}; +var CapacityReservationState = { + active: "active", + cancelled: "cancelled", + expired: "expired", + failed: "failed", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + pending: "pending", + scheduled: "scheduled" +}; +var FleetInstanceMatchCriteria = { + open: "open" +}; +var _InstanceType = { + a1_2xlarge: "a1.2xlarge", + a1_4xlarge: "a1.4xlarge", + a1_large: "a1.large", + a1_medium: "a1.medium", + a1_metal: "a1.metal", + a1_xlarge: "a1.xlarge", + c1_medium: "c1.medium", + c1_xlarge: "c1.xlarge", + c3_2xlarge: "c3.2xlarge", + c3_4xlarge: "c3.4xlarge", + c3_8xlarge: "c3.8xlarge", + c3_large: "c3.large", + c3_xlarge: "c3.xlarge", + c4_2xlarge: "c4.2xlarge", + c4_4xlarge: "c4.4xlarge", + c4_8xlarge: "c4.8xlarge", + c4_large: "c4.large", + c4_xlarge: "c4.xlarge", + c5_12xlarge: "c5.12xlarge", + c5_18xlarge: "c5.18xlarge", + c5_24xlarge: "c5.24xlarge", + c5_2xlarge: "c5.2xlarge", + c5_4xlarge: "c5.4xlarge", + c5_9xlarge: "c5.9xlarge", + c5_large: "c5.large", + c5_metal: "c5.metal", + c5_xlarge: "c5.xlarge", + c5a_12xlarge: "c5a.12xlarge", + c5a_16xlarge: "c5a.16xlarge", + c5a_24xlarge: "c5a.24xlarge", + c5a_2xlarge: "c5a.2xlarge", + c5a_4xlarge: "c5a.4xlarge", + c5a_8xlarge: "c5a.8xlarge", + c5a_large: "c5a.large", + c5a_xlarge: "c5a.xlarge", + c5ad_12xlarge: "c5ad.12xlarge", + c5ad_16xlarge: "c5ad.16xlarge", + c5ad_24xlarge: "c5ad.24xlarge", + c5ad_2xlarge: "c5ad.2xlarge", + c5ad_4xlarge: "c5ad.4xlarge", + c5ad_8xlarge: "c5ad.8xlarge", + c5ad_large: "c5ad.large", + c5ad_xlarge: "c5ad.xlarge", + c5d_12xlarge: "c5d.12xlarge", + c5d_18xlarge: "c5d.18xlarge", + c5d_24xlarge: "c5d.24xlarge", + c5d_2xlarge: "c5d.2xlarge", + c5d_4xlarge: "c5d.4xlarge", + c5d_9xlarge: "c5d.9xlarge", + c5d_large: "c5d.large", + c5d_metal: "c5d.metal", + c5d_xlarge: "c5d.xlarge", + c5n_18xlarge: "c5n.18xlarge", + c5n_2xlarge: "c5n.2xlarge", + c5n_4xlarge: "c5n.4xlarge", + c5n_9xlarge: "c5n.9xlarge", + c5n_large: "c5n.large", + c5n_metal: "c5n.metal", + c5n_xlarge: "c5n.xlarge", + c6a_12xlarge: "c6a.12xlarge", + c6a_16xlarge: "c6a.16xlarge", + c6a_24xlarge: "c6a.24xlarge", + c6a_2xlarge: "c6a.2xlarge", + c6a_32xlarge: "c6a.32xlarge", + c6a_48xlarge: "c6a.48xlarge", + c6a_4xlarge: "c6a.4xlarge", + c6a_8xlarge: "c6a.8xlarge", + c6a_large: "c6a.large", + c6a_metal: "c6a.metal", + c6a_xlarge: "c6a.xlarge", + c6g_12xlarge: "c6g.12xlarge", + c6g_16xlarge: "c6g.16xlarge", + c6g_2xlarge: "c6g.2xlarge", + c6g_4xlarge: "c6g.4xlarge", + c6g_8xlarge: "c6g.8xlarge", + c6g_large: "c6g.large", + c6g_medium: "c6g.medium", + c6g_metal: "c6g.metal", + c6g_xlarge: "c6g.xlarge", + c6gd_12xlarge: "c6gd.12xlarge", + c6gd_16xlarge: "c6gd.16xlarge", + c6gd_2xlarge: "c6gd.2xlarge", + c6gd_4xlarge: "c6gd.4xlarge", + c6gd_8xlarge: "c6gd.8xlarge", + c6gd_large: "c6gd.large", + c6gd_medium: "c6gd.medium", + c6gd_metal: "c6gd.metal", + c6gd_xlarge: "c6gd.xlarge", + c6gn_12xlarge: "c6gn.12xlarge", + c6gn_16xlarge: "c6gn.16xlarge", + c6gn_2xlarge: "c6gn.2xlarge", + c6gn_4xlarge: "c6gn.4xlarge", + c6gn_8xlarge: "c6gn.8xlarge", + c6gn_large: "c6gn.large", + c6gn_medium: "c6gn.medium", + c6gn_xlarge: "c6gn.xlarge", + c6i_12xlarge: "c6i.12xlarge", + c6i_16xlarge: "c6i.16xlarge", + c6i_24xlarge: "c6i.24xlarge", + c6i_2xlarge: "c6i.2xlarge", + c6i_32xlarge: "c6i.32xlarge", + c6i_4xlarge: "c6i.4xlarge", + c6i_8xlarge: "c6i.8xlarge", + c6i_large: "c6i.large", + c6i_metal: "c6i.metal", + c6i_xlarge: "c6i.xlarge", + c6id_12xlarge: "c6id.12xlarge", + c6id_16xlarge: "c6id.16xlarge", + c6id_24xlarge: "c6id.24xlarge", + c6id_2xlarge: "c6id.2xlarge", + c6id_32xlarge: "c6id.32xlarge", + c6id_4xlarge: "c6id.4xlarge", + c6id_8xlarge: "c6id.8xlarge", + c6id_large: "c6id.large", + c6id_metal: "c6id.metal", + c6id_xlarge: "c6id.xlarge", + c6in_12xlarge: "c6in.12xlarge", + c6in_16xlarge: "c6in.16xlarge", + c6in_24xlarge: "c6in.24xlarge", + c6in_2xlarge: "c6in.2xlarge", + c6in_32xlarge: "c6in.32xlarge", + c6in_4xlarge: "c6in.4xlarge", + c6in_8xlarge: "c6in.8xlarge", + c6in_large: "c6in.large", + c6in_metal: "c6in.metal", + c6in_xlarge: "c6in.xlarge", + c7a_12xlarge: "c7a.12xlarge", + c7a_16xlarge: "c7a.16xlarge", + c7a_24xlarge: "c7a.24xlarge", + c7a_2xlarge: "c7a.2xlarge", + c7a_32xlarge: "c7a.32xlarge", + c7a_48xlarge: "c7a.48xlarge", + c7a_4xlarge: "c7a.4xlarge", + c7a_8xlarge: "c7a.8xlarge", + c7a_large: "c7a.large", + c7a_medium: "c7a.medium", + c7a_metal_48xl: "c7a.metal-48xl", + c7a_xlarge: "c7a.xlarge", + c7g_12xlarge: "c7g.12xlarge", + c7g_16xlarge: "c7g.16xlarge", + c7g_2xlarge: "c7g.2xlarge", + c7g_4xlarge: "c7g.4xlarge", + c7g_8xlarge: "c7g.8xlarge", + c7g_large: "c7g.large", + c7g_medium: "c7g.medium", + c7g_metal: "c7g.metal", + c7g_xlarge: "c7g.xlarge", + c7gd_12xlarge: "c7gd.12xlarge", + c7gd_16xlarge: "c7gd.16xlarge", + c7gd_2xlarge: "c7gd.2xlarge", + c7gd_4xlarge: "c7gd.4xlarge", + c7gd_8xlarge: "c7gd.8xlarge", + c7gd_large: "c7gd.large", + c7gd_medium: "c7gd.medium", + c7gd_metal: "c7gd.metal", + c7gd_xlarge: "c7gd.xlarge", + c7gn_12xlarge: "c7gn.12xlarge", + c7gn_16xlarge: "c7gn.16xlarge", + c7gn_2xlarge: "c7gn.2xlarge", + c7gn_4xlarge: "c7gn.4xlarge", + c7gn_8xlarge: "c7gn.8xlarge", + c7gn_large: "c7gn.large", + c7gn_medium: "c7gn.medium", + c7gn_xlarge: "c7gn.xlarge", + c7i_12xlarge: "c7i.12xlarge", + c7i_16xlarge: "c7i.16xlarge", + c7i_24xlarge: "c7i.24xlarge", + c7i_2xlarge: "c7i.2xlarge", + c7i_48xlarge: "c7i.48xlarge", + c7i_4xlarge: "c7i.4xlarge", + c7i_8xlarge: "c7i.8xlarge", + c7i_large: "c7i.large", + c7i_metal_24xl: "c7i.metal-24xl", + c7i_metal_48xl: "c7i.metal-48xl", + c7i_xlarge: "c7i.xlarge", + cc1_4xlarge: "cc1.4xlarge", + cc2_8xlarge: "cc2.8xlarge", + cg1_4xlarge: "cg1.4xlarge", + cr1_8xlarge: "cr1.8xlarge", + d2_2xlarge: "d2.2xlarge", + d2_4xlarge: "d2.4xlarge", + d2_8xlarge: "d2.8xlarge", + d2_xlarge: "d2.xlarge", + d3_2xlarge: "d3.2xlarge", + d3_4xlarge: "d3.4xlarge", + d3_8xlarge: "d3.8xlarge", + d3_xlarge: "d3.xlarge", + d3en_12xlarge: "d3en.12xlarge", + d3en_2xlarge: "d3en.2xlarge", + d3en_4xlarge: "d3en.4xlarge", + d3en_6xlarge: "d3en.6xlarge", + d3en_8xlarge: "d3en.8xlarge", + d3en_xlarge: "d3en.xlarge", + dl1_24xlarge: "dl1.24xlarge", + dl2q_24xlarge: "dl2q.24xlarge", + f1_16xlarge: "f1.16xlarge", + f1_2xlarge: "f1.2xlarge", + f1_4xlarge: "f1.4xlarge", + g2_2xlarge: "g2.2xlarge", + g2_8xlarge: "g2.8xlarge", + g3_16xlarge: "g3.16xlarge", + g3_4xlarge: "g3.4xlarge", + g3_8xlarge: "g3.8xlarge", + g3s_xlarge: "g3s.xlarge", + g4ad_16xlarge: "g4ad.16xlarge", + g4ad_2xlarge: "g4ad.2xlarge", + g4ad_4xlarge: "g4ad.4xlarge", + g4ad_8xlarge: "g4ad.8xlarge", + g4ad_xlarge: "g4ad.xlarge", + g4dn_12xlarge: "g4dn.12xlarge", + g4dn_16xlarge: "g4dn.16xlarge", + g4dn_2xlarge: "g4dn.2xlarge", + g4dn_4xlarge: "g4dn.4xlarge", + g4dn_8xlarge: "g4dn.8xlarge", + g4dn_metal: "g4dn.metal", + g4dn_xlarge: "g4dn.xlarge", + g5_12xlarge: "g5.12xlarge", + g5_16xlarge: "g5.16xlarge", + g5_24xlarge: "g5.24xlarge", + g5_2xlarge: "g5.2xlarge", + g5_48xlarge: "g5.48xlarge", + g5_4xlarge: "g5.4xlarge", + g5_8xlarge: "g5.8xlarge", + g5_xlarge: "g5.xlarge", + g5g_16xlarge: "g5g.16xlarge", + g5g_2xlarge: "g5g.2xlarge", + g5g_4xlarge: "g5g.4xlarge", + g5g_8xlarge: "g5g.8xlarge", + g5g_metal: "g5g.metal", + g5g_xlarge: "g5g.xlarge", + g6_12xlarge: "g6.12xlarge", + g6_16xlarge: "g6.16xlarge", + g6_24xlarge: "g6.24xlarge", + g6_2xlarge: "g6.2xlarge", + g6_48xlarge: "g6.48xlarge", + g6_4xlarge: "g6.4xlarge", + g6_8xlarge: "g6.8xlarge", + g6_xlarge: "g6.xlarge", + gr6_4xlarge: "gr6.4xlarge", + gr6_8xlarge: "gr6.8xlarge", + h1_16xlarge: "h1.16xlarge", + h1_2xlarge: "h1.2xlarge", + h1_4xlarge: "h1.4xlarge", + h1_8xlarge: "h1.8xlarge", + hi1_4xlarge: "hi1.4xlarge", + hpc6a_48xlarge: "hpc6a.48xlarge", + hpc6id_32xlarge: "hpc6id.32xlarge", + hpc7a_12xlarge: "hpc7a.12xlarge", + hpc7a_24xlarge: "hpc7a.24xlarge", + hpc7a_48xlarge: "hpc7a.48xlarge", + hpc7a_96xlarge: "hpc7a.96xlarge", + hpc7g_16xlarge: "hpc7g.16xlarge", + hpc7g_4xlarge: "hpc7g.4xlarge", + hpc7g_8xlarge: "hpc7g.8xlarge", + hs1_8xlarge: "hs1.8xlarge", + i2_2xlarge: "i2.2xlarge", + i2_4xlarge: "i2.4xlarge", + i2_8xlarge: "i2.8xlarge", + i2_xlarge: "i2.xlarge", + i3_16xlarge: "i3.16xlarge", + i3_2xlarge: "i3.2xlarge", + i3_4xlarge: "i3.4xlarge", + i3_8xlarge: "i3.8xlarge", + i3_large: "i3.large", + i3_metal: "i3.metal", + i3_xlarge: "i3.xlarge", + i3en_12xlarge: "i3en.12xlarge", + i3en_24xlarge: "i3en.24xlarge", + i3en_2xlarge: "i3en.2xlarge", + i3en_3xlarge: "i3en.3xlarge", + i3en_6xlarge: "i3en.6xlarge", + i3en_large: "i3en.large", + i3en_metal: "i3en.metal", + i3en_xlarge: "i3en.xlarge", + i4g_16xlarge: "i4g.16xlarge", + i4g_2xlarge: "i4g.2xlarge", + i4g_4xlarge: "i4g.4xlarge", + i4g_8xlarge: "i4g.8xlarge", + i4g_large: "i4g.large", + i4g_xlarge: "i4g.xlarge", + i4i_12xlarge: "i4i.12xlarge", + i4i_16xlarge: "i4i.16xlarge", + i4i_24xlarge: "i4i.24xlarge", + i4i_2xlarge: "i4i.2xlarge", + i4i_32xlarge: "i4i.32xlarge", + i4i_4xlarge: "i4i.4xlarge", + i4i_8xlarge: "i4i.8xlarge", + i4i_large: "i4i.large", + i4i_metal: "i4i.metal", + i4i_xlarge: "i4i.xlarge", + im4gn_16xlarge: "im4gn.16xlarge", + im4gn_2xlarge: "im4gn.2xlarge", + im4gn_4xlarge: "im4gn.4xlarge", + im4gn_8xlarge: "im4gn.8xlarge", + im4gn_large: "im4gn.large", + im4gn_xlarge: "im4gn.xlarge", + inf1_24xlarge: "inf1.24xlarge", + inf1_2xlarge: "inf1.2xlarge", + inf1_6xlarge: "inf1.6xlarge", + inf1_xlarge: "inf1.xlarge", + inf2_24xlarge: "inf2.24xlarge", + inf2_48xlarge: "inf2.48xlarge", + inf2_8xlarge: "inf2.8xlarge", + inf2_xlarge: "inf2.xlarge", + is4gen_2xlarge: "is4gen.2xlarge", + is4gen_4xlarge: "is4gen.4xlarge", + is4gen_8xlarge: "is4gen.8xlarge", + is4gen_large: "is4gen.large", + is4gen_medium: "is4gen.medium", + is4gen_xlarge: "is4gen.xlarge", + m1_large: "m1.large", + m1_medium: "m1.medium", + m1_small: "m1.small", + m1_xlarge: "m1.xlarge", + m2_2xlarge: "m2.2xlarge", + m2_4xlarge: "m2.4xlarge", + m2_xlarge: "m2.xlarge", + m3_2xlarge: "m3.2xlarge", + m3_large: "m3.large", + m3_medium: "m3.medium", + m3_xlarge: "m3.xlarge", + m4_10xlarge: "m4.10xlarge", + m4_16xlarge: "m4.16xlarge", + m4_2xlarge: "m4.2xlarge", + m4_4xlarge: "m4.4xlarge", + m4_large: "m4.large", + m4_xlarge: "m4.xlarge", + m5_12xlarge: "m5.12xlarge", + m5_16xlarge: "m5.16xlarge", + m5_24xlarge: "m5.24xlarge", + m5_2xlarge: "m5.2xlarge", + m5_4xlarge: "m5.4xlarge", + m5_8xlarge: "m5.8xlarge", + m5_large: "m5.large", + m5_metal: "m5.metal", + m5_xlarge: "m5.xlarge", + m5a_12xlarge: "m5a.12xlarge", + m5a_16xlarge: "m5a.16xlarge", + m5a_24xlarge: "m5a.24xlarge", + m5a_2xlarge: "m5a.2xlarge", + m5a_4xlarge: "m5a.4xlarge", + m5a_8xlarge: "m5a.8xlarge", + m5a_large: "m5a.large", + m5a_xlarge: "m5a.xlarge", + m5ad_12xlarge: "m5ad.12xlarge", + m5ad_16xlarge: "m5ad.16xlarge", + m5ad_24xlarge: "m5ad.24xlarge", + m5ad_2xlarge: "m5ad.2xlarge", + m5ad_4xlarge: "m5ad.4xlarge", + m5ad_8xlarge: "m5ad.8xlarge", + m5ad_large: "m5ad.large", + m5ad_xlarge: "m5ad.xlarge", + m5d_12xlarge: "m5d.12xlarge", + m5d_16xlarge: "m5d.16xlarge", + m5d_24xlarge: "m5d.24xlarge", + m5d_2xlarge: "m5d.2xlarge", + m5d_4xlarge: "m5d.4xlarge", + m5d_8xlarge: "m5d.8xlarge", + m5d_large: "m5d.large", + m5d_metal: "m5d.metal", + m5d_xlarge: "m5d.xlarge", + m5dn_12xlarge: "m5dn.12xlarge", + m5dn_16xlarge: "m5dn.16xlarge", + m5dn_24xlarge: "m5dn.24xlarge", + m5dn_2xlarge: "m5dn.2xlarge", + m5dn_4xlarge: "m5dn.4xlarge", + m5dn_8xlarge: "m5dn.8xlarge", + m5dn_large: "m5dn.large", + m5dn_metal: "m5dn.metal", + m5dn_xlarge: "m5dn.xlarge", + m5n_12xlarge: "m5n.12xlarge", + m5n_16xlarge: "m5n.16xlarge", + m5n_24xlarge: "m5n.24xlarge", + m5n_2xlarge: "m5n.2xlarge", + m5n_4xlarge: "m5n.4xlarge", + m5n_8xlarge: "m5n.8xlarge", + m5n_large: "m5n.large", + m5n_metal: "m5n.metal", + m5n_xlarge: "m5n.xlarge", + m5zn_12xlarge: "m5zn.12xlarge", + m5zn_2xlarge: "m5zn.2xlarge", + m5zn_3xlarge: "m5zn.3xlarge", + m5zn_6xlarge: "m5zn.6xlarge", + m5zn_large: "m5zn.large", + m5zn_metal: "m5zn.metal", + m5zn_xlarge: "m5zn.xlarge", + m6a_12xlarge: "m6a.12xlarge", + m6a_16xlarge: "m6a.16xlarge", + m6a_24xlarge: "m6a.24xlarge", + m6a_2xlarge: "m6a.2xlarge", + m6a_32xlarge: "m6a.32xlarge", + m6a_48xlarge: "m6a.48xlarge", + m6a_4xlarge: "m6a.4xlarge", + m6a_8xlarge: "m6a.8xlarge", + m6a_large: "m6a.large", + m6a_metal: "m6a.metal", + m6a_xlarge: "m6a.xlarge", + m6g_12xlarge: "m6g.12xlarge", + m6g_16xlarge: "m6g.16xlarge", + m6g_2xlarge: "m6g.2xlarge", + m6g_4xlarge: "m6g.4xlarge", + m6g_8xlarge: "m6g.8xlarge", + m6g_large: "m6g.large", + m6g_medium: "m6g.medium", + m6g_metal: "m6g.metal", + m6g_xlarge: "m6g.xlarge", + m6gd_12xlarge: "m6gd.12xlarge", + m6gd_16xlarge: "m6gd.16xlarge", + m6gd_2xlarge: "m6gd.2xlarge", + m6gd_4xlarge: "m6gd.4xlarge", + m6gd_8xlarge: "m6gd.8xlarge", + m6gd_large: "m6gd.large", + m6gd_medium: "m6gd.medium", + m6gd_metal: "m6gd.metal", + m6gd_xlarge: "m6gd.xlarge", + m6i_12xlarge: "m6i.12xlarge", + m6i_16xlarge: "m6i.16xlarge", + m6i_24xlarge: "m6i.24xlarge", + m6i_2xlarge: "m6i.2xlarge", + m6i_32xlarge: "m6i.32xlarge", + m6i_4xlarge: "m6i.4xlarge", + m6i_8xlarge: "m6i.8xlarge", + m6i_large: "m6i.large", + m6i_metal: "m6i.metal", + m6i_xlarge: "m6i.xlarge", + m6id_12xlarge: "m6id.12xlarge", + m6id_16xlarge: "m6id.16xlarge", + m6id_24xlarge: "m6id.24xlarge", + m6id_2xlarge: "m6id.2xlarge", + m6id_32xlarge: "m6id.32xlarge", + m6id_4xlarge: "m6id.4xlarge", + m6id_8xlarge: "m6id.8xlarge", + m6id_large: "m6id.large", + m6id_metal: "m6id.metal", + m6id_xlarge: "m6id.xlarge", + m6idn_12xlarge: "m6idn.12xlarge", + m6idn_16xlarge: "m6idn.16xlarge", + m6idn_24xlarge: "m6idn.24xlarge", + m6idn_2xlarge: "m6idn.2xlarge", + m6idn_32xlarge: "m6idn.32xlarge", + m6idn_4xlarge: "m6idn.4xlarge", + m6idn_8xlarge: "m6idn.8xlarge", + m6idn_large: "m6idn.large", + m6idn_metal: "m6idn.metal", + m6idn_xlarge: "m6idn.xlarge", + m6in_12xlarge: "m6in.12xlarge", + m6in_16xlarge: "m6in.16xlarge", + m6in_24xlarge: "m6in.24xlarge", + m6in_2xlarge: "m6in.2xlarge", + m6in_32xlarge: "m6in.32xlarge", + m6in_4xlarge: "m6in.4xlarge", + m6in_8xlarge: "m6in.8xlarge", + m6in_large: "m6in.large", + m6in_metal: "m6in.metal", + m6in_xlarge: "m6in.xlarge", + m7a_12xlarge: "m7a.12xlarge", + m7a_16xlarge: "m7a.16xlarge", + m7a_24xlarge: "m7a.24xlarge", + m7a_2xlarge: "m7a.2xlarge", + m7a_32xlarge: "m7a.32xlarge", + m7a_48xlarge: "m7a.48xlarge", + m7a_4xlarge: "m7a.4xlarge", + m7a_8xlarge: "m7a.8xlarge", + m7a_large: "m7a.large", + m7a_medium: "m7a.medium", + m7a_metal_48xl: "m7a.metal-48xl", + m7a_xlarge: "m7a.xlarge", + m7g_12xlarge: "m7g.12xlarge", + m7g_16xlarge: "m7g.16xlarge", + m7g_2xlarge: "m7g.2xlarge", + m7g_4xlarge: "m7g.4xlarge", + m7g_8xlarge: "m7g.8xlarge", + m7g_large: "m7g.large", + m7g_medium: "m7g.medium", + m7g_metal: "m7g.metal", + m7g_xlarge: "m7g.xlarge", + m7gd_12xlarge: "m7gd.12xlarge", + m7gd_16xlarge: "m7gd.16xlarge", + m7gd_2xlarge: "m7gd.2xlarge", + m7gd_4xlarge: "m7gd.4xlarge", + m7gd_8xlarge: "m7gd.8xlarge", + m7gd_large: "m7gd.large", + m7gd_medium: "m7gd.medium", + m7gd_metal: "m7gd.metal", + m7gd_xlarge: "m7gd.xlarge", + m7i_12xlarge: "m7i.12xlarge", + m7i_16xlarge: "m7i.16xlarge", + m7i_24xlarge: "m7i.24xlarge", + m7i_2xlarge: "m7i.2xlarge", + m7i_48xlarge: "m7i.48xlarge", + m7i_4xlarge: "m7i.4xlarge", + m7i_8xlarge: "m7i.8xlarge", + m7i_flex_2xlarge: "m7i-flex.2xlarge", + m7i_flex_4xlarge: "m7i-flex.4xlarge", + m7i_flex_8xlarge: "m7i-flex.8xlarge", + m7i_flex_large: "m7i-flex.large", + m7i_flex_xlarge: "m7i-flex.xlarge", + m7i_large: "m7i.large", + m7i_metal_24xl: "m7i.metal-24xl", + m7i_metal_48xl: "m7i.metal-48xl", + m7i_xlarge: "m7i.xlarge", + mac1_metal: "mac1.metal", + mac2_m2_metal: "mac2-m2.metal", + mac2_m2pro_metal: "mac2-m2pro.metal", + mac2_metal: "mac2.metal", + p2_16xlarge: "p2.16xlarge", + p2_8xlarge: "p2.8xlarge", + p2_xlarge: "p2.xlarge", + p3_16xlarge: "p3.16xlarge", + p3_2xlarge: "p3.2xlarge", + p3_8xlarge: "p3.8xlarge", + p3dn_24xlarge: "p3dn.24xlarge", + p4d_24xlarge: "p4d.24xlarge", + p4de_24xlarge: "p4de.24xlarge", + p5_48xlarge: "p5.48xlarge", + r3_2xlarge: "r3.2xlarge", + r3_4xlarge: "r3.4xlarge", + r3_8xlarge: "r3.8xlarge", + r3_large: "r3.large", + r3_xlarge: "r3.xlarge", + r4_16xlarge: "r4.16xlarge", + r4_2xlarge: "r4.2xlarge", + r4_4xlarge: "r4.4xlarge", + r4_8xlarge: "r4.8xlarge", + r4_large: "r4.large", + r4_xlarge: "r4.xlarge", + r5_12xlarge: "r5.12xlarge", + r5_16xlarge: "r5.16xlarge", + r5_24xlarge: "r5.24xlarge", + r5_2xlarge: "r5.2xlarge", + r5_4xlarge: "r5.4xlarge", + r5_8xlarge: "r5.8xlarge", + r5_large: "r5.large", + r5_metal: "r5.metal", + r5_xlarge: "r5.xlarge", + r5a_12xlarge: "r5a.12xlarge", + r5a_16xlarge: "r5a.16xlarge", + r5a_24xlarge: "r5a.24xlarge", + r5a_2xlarge: "r5a.2xlarge", + r5a_4xlarge: "r5a.4xlarge", + r5a_8xlarge: "r5a.8xlarge", + r5a_large: "r5a.large", + r5a_xlarge: "r5a.xlarge", + r5ad_12xlarge: "r5ad.12xlarge", + r5ad_16xlarge: "r5ad.16xlarge", + r5ad_24xlarge: "r5ad.24xlarge", + r5ad_2xlarge: "r5ad.2xlarge", + r5ad_4xlarge: "r5ad.4xlarge", + r5ad_8xlarge: "r5ad.8xlarge", + r5ad_large: "r5ad.large", + r5ad_xlarge: "r5ad.xlarge", + r5b_12xlarge: "r5b.12xlarge", + r5b_16xlarge: "r5b.16xlarge", + r5b_24xlarge: "r5b.24xlarge", + r5b_2xlarge: "r5b.2xlarge", + r5b_4xlarge: "r5b.4xlarge", + r5b_8xlarge: "r5b.8xlarge", + r5b_large: "r5b.large", + r5b_metal: "r5b.metal", + r5b_xlarge: "r5b.xlarge", + r5d_12xlarge: "r5d.12xlarge", + r5d_16xlarge: "r5d.16xlarge", + r5d_24xlarge: "r5d.24xlarge", + r5d_2xlarge: "r5d.2xlarge", + r5d_4xlarge: "r5d.4xlarge", + r5d_8xlarge: "r5d.8xlarge", + r5d_large: "r5d.large", + r5d_metal: "r5d.metal", + r5d_xlarge: "r5d.xlarge", + r5dn_12xlarge: "r5dn.12xlarge", + r5dn_16xlarge: "r5dn.16xlarge", + r5dn_24xlarge: "r5dn.24xlarge", + r5dn_2xlarge: "r5dn.2xlarge", + r5dn_4xlarge: "r5dn.4xlarge", + r5dn_8xlarge: "r5dn.8xlarge", + r5dn_large: "r5dn.large", + r5dn_metal: "r5dn.metal", + r5dn_xlarge: "r5dn.xlarge", + r5n_12xlarge: "r5n.12xlarge", + r5n_16xlarge: "r5n.16xlarge", + r5n_24xlarge: "r5n.24xlarge", + r5n_2xlarge: "r5n.2xlarge", + r5n_4xlarge: "r5n.4xlarge", + r5n_8xlarge: "r5n.8xlarge", + r5n_large: "r5n.large", + r5n_metal: "r5n.metal", + r5n_xlarge: "r5n.xlarge", + r6a_12xlarge: "r6a.12xlarge", + r6a_16xlarge: "r6a.16xlarge", + r6a_24xlarge: "r6a.24xlarge", + r6a_2xlarge: "r6a.2xlarge", + r6a_32xlarge: "r6a.32xlarge", + r6a_48xlarge: "r6a.48xlarge", + r6a_4xlarge: "r6a.4xlarge", + r6a_8xlarge: "r6a.8xlarge", + r6a_large: "r6a.large", + r6a_metal: "r6a.metal", + r6a_xlarge: "r6a.xlarge", + r6g_12xlarge: "r6g.12xlarge", + r6g_16xlarge: "r6g.16xlarge", + r6g_2xlarge: "r6g.2xlarge", + r6g_4xlarge: "r6g.4xlarge", + r6g_8xlarge: "r6g.8xlarge", + r6g_large: "r6g.large", + r6g_medium: "r6g.medium", + r6g_metal: "r6g.metal", + r6g_xlarge: "r6g.xlarge", + r6gd_12xlarge: "r6gd.12xlarge", + r6gd_16xlarge: "r6gd.16xlarge", + r6gd_2xlarge: "r6gd.2xlarge", + r6gd_4xlarge: "r6gd.4xlarge", + r6gd_8xlarge: "r6gd.8xlarge", + r6gd_large: "r6gd.large", + r6gd_medium: "r6gd.medium", + r6gd_metal: "r6gd.metal", + r6gd_xlarge: "r6gd.xlarge", + r6i_12xlarge: "r6i.12xlarge", + r6i_16xlarge: "r6i.16xlarge", + r6i_24xlarge: "r6i.24xlarge", + r6i_2xlarge: "r6i.2xlarge", + r6i_32xlarge: "r6i.32xlarge", + r6i_4xlarge: "r6i.4xlarge", + r6i_8xlarge: "r6i.8xlarge", + r6i_large: "r6i.large", + r6i_metal: "r6i.metal", + r6i_xlarge: "r6i.xlarge", + r6id_12xlarge: "r6id.12xlarge", + r6id_16xlarge: "r6id.16xlarge", + r6id_24xlarge: "r6id.24xlarge", + r6id_2xlarge: "r6id.2xlarge", + r6id_32xlarge: "r6id.32xlarge", + r6id_4xlarge: "r6id.4xlarge", + r6id_8xlarge: "r6id.8xlarge", + r6id_large: "r6id.large", + r6id_metal: "r6id.metal", + r6id_xlarge: "r6id.xlarge", + r6idn_12xlarge: "r6idn.12xlarge", + r6idn_16xlarge: "r6idn.16xlarge", + r6idn_24xlarge: "r6idn.24xlarge", + r6idn_2xlarge: "r6idn.2xlarge", + r6idn_32xlarge: "r6idn.32xlarge", + r6idn_4xlarge: "r6idn.4xlarge", + r6idn_8xlarge: "r6idn.8xlarge", + r6idn_large: "r6idn.large", + r6idn_metal: "r6idn.metal", + r6idn_xlarge: "r6idn.xlarge", + r6in_12xlarge: "r6in.12xlarge", + r6in_16xlarge: "r6in.16xlarge", + r6in_24xlarge: "r6in.24xlarge", + r6in_2xlarge: "r6in.2xlarge", + r6in_32xlarge: "r6in.32xlarge", + r6in_4xlarge: "r6in.4xlarge", + r6in_8xlarge: "r6in.8xlarge", + r6in_large: "r6in.large", + r6in_metal: "r6in.metal", + r6in_xlarge: "r6in.xlarge", + r7a_12xlarge: "r7a.12xlarge", + r7a_16xlarge: "r7a.16xlarge", + r7a_24xlarge: "r7a.24xlarge", + r7a_2xlarge: "r7a.2xlarge", + r7a_32xlarge: "r7a.32xlarge", + r7a_48xlarge: "r7a.48xlarge", + r7a_4xlarge: "r7a.4xlarge", + r7a_8xlarge: "r7a.8xlarge", + r7a_large: "r7a.large", + r7a_medium: "r7a.medium", + r7a_metal_48xl: "r7a.metal-48xl", + r7a_xlarge: "r7a.xlarge", + r7g_12xlarge: "r7g.12xlarge", + r7g_16xlarge: "r7g.16xlarge", + r7g_2xlarge: "r7g.2xlarge", + r7g_4xlarge: "r7g.4xlarge", + r7g_8xlarge: "r7g.8xlarge", + r7g_large: "r7g.large", + r7g_medium: "r7g.medium", + r7g_metal: "r7g.metal", + r7g_xlarge: "r7g.xlarge", + r7gd_12xlarge: "r7gd.12xlarge", + r7gd_16xlarge: "r7gd.16xlarge", + r7gd_2xlarge: "r7gd.2xlarge", + r7gd_4xlarge: "r7gd.4xlarge", + r7gd_8xlarge: "r7gd.8xlarge", + r7gd_large: "r7gd.large", + r7gd_medium: "r7gd.medium", + r7gd_metal: "r7gd.metal", + r7gd_xlarge: "r7gd.xlarge", + r7i_12xlarge: "r7i.12xlarge", + r7i_16xlarge: "r7i.16xlarge", + r7i_24xlarge: "r7i.24xlarge", + r7i_2xlarge: "r7i.2xlarge", + r7i_48xlarge: "r7i.48xlarge", + r7i_4xlarge: "r7i.4xlarge", + r7i_8xlarge: "r7i.8xlarge", + r7i_large: "r7i.large", + r7i_metal_24xl: "r7i.metal-24xl", + r7i_metal_48xl: "r7i.metal-48xl", + r7i_xlarge: "r7i.xlarge", + r7iz_12xlarge: "r7iz.12xlarge", + r7iz_16xlarge: "r7iz.16xlarge", + r7iz_2xlarge: "r7iz.2xlarge", + r7iz_32xlarge: "r7iz.32xlarge", + r7iz_4xlarge: "r7iz.4xlarge", + r7iz_8xlarge: "r7iz.8xlarge", + r7iz_large: "r7iz.large", + r7iz_metal_16xl: "r7iz.metal-16xl", + r7iz_metal_32xl: "r7iz.metal-32xl", + r7iz_xlarge: "r7iz.xlarge", + t1_micro: "t1.micro", + t2_2xlarge: "t2.2xlarge", + t2_large: "t2.large", + t2_medium: "t2.medium", + t2_micro: "t2.micro", + t2_nano: "t2.nano", + t2_small: "t2.small", + t2_xlarge: "t2.xlarge", + t3_2xlarge: "t3.2xlarge", + t3_large: "t3.large", + t3_medium: "t3.medium", + t3_micro: "t3.micro", + t3_nano: "t3.nano", + t3_small: "t3.small", + t3_xlarge: "t3.xlarge", + t3a_2xlarge: "t3a.2xlarge", + t3a_large: "t3a.large", + t3a_medium: "t3a.medium", + t3a_micro: "t3a.micro", + t3a_nano: "t3a.nano", + t3a_small: "t3a.small", + t3a_xlarge: "t3a.xlarge", + t4g_2xlarge: "t4g.2xlarge", + t4g_large: "t4g.large", + t4g_medium: "t4g.medium", + t4g_micro: "t4g.micro", + t4g_nano: "t4g.nano", + t4g_small: "t4g.small", + t4g_xlarge: "t4g.xlarge", + trn1_2xlarge: "trn1.2xlarge", + trn1_32xlarge: "trn1.32xlarge", + trn1n_32xlarge: "trn1n.32xlarge", + u_12tb1_112xlarge: "u-12tb1.112xlarge", + u_12tb1_metal: "u-12tb1.metal", + u_18tb1_112xlarge: "u-18tb1.112xlarge", + u_18tb1_metal: "u-18tb1.metal", + u_24tb1_112xlarge: "u-24tb1.112xlarge", + u_24tb1_metal: "u-24tb1.metal", + u_3tb1_56xlarge: "u-3tb1.56xlarge", + u_6tb1_112xlarge: "u-6tb1.112xlarge", + u_6tb1_56xlarge: "u-6tb1.56xlarge", + u_6tb1_metal: "u-6tb1.metal", + u_9tb1_112xlarge: "u-9tb1.112xlarge", + u_9tb1_metal: "u-9tb1.metal", + vt1_24xlarge: "vt1.24xlarge", + vt1_3xlarge: "vt1.3xlarge", + vt1_6xlarge: "vt1.6xlarge", + x1_16xlarge: "x1.16xlarge", + x1_32xlarge: "x1.32xlarge", + x1e_16xlarge: "x1e.16xlarge", + x1e_2xlarge: "x1e.2xlarge", + x1e_32xlarge: "x1e.32xlarge", + x1e_4xlarge: "x1e.4xlarge", + x1e_8xlarge: "x1e.8xlarge", + x1e_xlarge: "x1e.xlarge", + x2gd_12xlarge: "x2gd.12xlarge", + x2gd_16xlarge: "x2gd.16xlarge", + x2gd_2xlarge: "x2gd.2xlarge", + x2gd_4xlarge: "x2gd.4xlarge", + x2gd_8xlarge: "x2gd.8xlarge", + x2gd_large: "x2gd.large", + x2gd_medium: "x2gd.medium", + x2gd_metal: "x2gd.metal", + x2gd_xlarge: "x2gd.xlarge", + x2idn_16xlarge: "x2idn.16xlarge", + x2idn_24xlarge: "x2idn.24xlarge", + x2idn_32xlarge: "x2idn.32xlarge", + x2idn_metal: "x2idn.metal", + x2iedn_16xlarge: "x2iedn.16xlarge", + x2iedn_24xlarge: "x2iedn.24xlarge", + x2iedn_2xlarge: "x2iedn.2xlarge", + x2iedn_32xlarge: "x2iedn.32xlarge", + x2iedn_4xlarge: "x2iedn.4xlarge", + x2iedn_8xlarge: "x2iedn.8xlarge", + x2iedn_metal: "x2iedn.metal", + x2iedn_xlarge: "x2iedn.xlarge", + x2iezn_12xlarge: "x2iezn.12xlarge", + x2iezn_2xlarge: "x2iezn.2xlarge", + x2iezn_4xlarge: "x2iezn.4xlarge", + x2iezn_6xlarge: "x2iezn.6xlarge", + x2iezn_8xlarge: "x2iezn.8xlarge", + x2iezn_metal: "x2iezn.metal", + z1d_12xlarge: "z1d.12xlarge", + z1d_2xlarge: "z1d.2xlarge", + z1d_3xlarge: "z1d.3xlarge", + z1d_6xlarge: "z1d.6xlarge", + z1d_large: "z1d.large", + z1d_metal: "z1d.metal", + z1d_xlarge: "z1d.xlarge" +}; +var FleetCapacityReservationTenancy = { + default: "default" +}; +var OidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "OidcOptionsFilterSensitiveLog"); +var VerifiedAccessTrustProviderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.OidcOptions && { OidcOptions: OidcOptionsFilterSensitiveLog(obj.OidcOptions) } +}), "VerifiedAccessTrustProviderFilterSensitiveLog"); +var AttachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProvider && { + VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) + } +}), "AttachVerifiedAccessTrustProviderResultFilterSensitiveLog"); +var S3StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UploadPolicySignature && { UploadPolicySignature: import_smithy_client.SENSITIVE_STRING } +}), "S3StorageFilterSensitiveLog"); +var StorageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.S3 && { S3: S3StorageFilterSensitiveLog(obj.S3) } +}), "StorageFilterSensitiveLog"); +var BundleInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) } +}), "BundleInstanceRequestFilterSensitiveLog"); +var BundleTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Storage && { Storage: StorageFilterSensitiveLog(obj.Storage) } +}), "BundleTaskFilterSensitiveLog"); +var BundleInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) } +}), "BundleInstanceResultFilterSensitiveLog"); +var CancelBundleTaskResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.BundleTask && { BundleTask: BundleTaskFilterSensitiveLog(obj.BundleTask) } +}), "CancelBundleTaskResultFilterSensitiveLog"); +var CopySnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.PresignedUrl && { PresignedUrl: import_smithy_client.SENSITIVE_STRING } +}), "CopySnapshotRequestFilterSensitiveLog"); + +// src/commands/AttachVerifiedAccessTrustProviderCommand.ts +var _AttachVerifiedAccessTrustProviderCommand = class _AttachVerifiedAccessTrustProviderCommand 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("AmazonEC2", "AttachVerifiedAccessTrustProvider", {}).n("EC2Client", "AttachVerifiedAccessTrustProviderCommand").f(void 0, AttachVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_AttachVerifiedAccessTrustProviderCommand).de(de_AttachVerifiedAccessTrustProviderCommand).build() { +}; +__name(_AttachVerifiedAccessTrustProviderCommand, "AttachVerifiedAccessTrustProviderCommand"); +var AttachVerifiedAccessTrustProviderCommand = _AttachVerifiedAccessTrustProviderCommand; - validateUri: function validateUri(shape, value, context) { - if (shape['location'] === 'uri') { - if (value.length === 0) { - this.fail('UriParameterError', 'Expected uri parameter to have length >= 1,' - + ' but found "' + value +'" for ' + context); - } - } - }, +// src/commands/AttachVolumeCommand.ts - validatePattern: function validatePattern(shape, value, context) { - if (this.validation['pattern'] && shape['pattern'] !== undefined) { - if (!(new RegExp(shape['pattern'])).test(value)) { - this.fail('PatternMatchError', 'Provided value "' + value + '" ' - + 'does not match regex pattern /' + shape['pattern'] + '/ for ' - + context); - } - } - }, - validateRange: function validateRange(shape, value, context, descriptor) { - if (this.validation['min']) { - if (shape['min'] !== undefined && value < shape['min']) { - this.fail('MinRangeError', 'Expected ' + descriptor + ' >= ' - + shape['min'] + ', but found ' + value + ' for ' + context); - } - } - if (this.validation['max']) { - if (shape['max'] !== undefined && value > shape['max']) { - this.fail('MaxRangeError', 'Expected ' + descriptor + ' <= ' - + shape['max'] + ', but found ' + value + ' for ' + context); - } - } - }, - validateEnum: function validateRange(shape, value, context) { - if (this.validation['enum'] && shape['enum'] !== undefined) { - // Fail if the string value is not present in the enum list - if (shape['enum'].indexOf(value) === -1) { - this.fail('EnumError', 'Found string value of ' + value + ', but ' - + 'expected ' + shape['enum'].join('|') + ' for ' + context); - } - } - }, - validateType: function validateType(value, context, acceptedTypes, type) { - // We will not log an error for null or undefined, but we will return - // false so that callers know that the expected type was not strictly met. - if (value === null || value === undefined) return false; - - var foundInvalidType = false; - for (var i = 0; i < acceptedTypes.length; i++) { - if (typeof acceptedTypes[i] === 'string') { - if (typeof value === acceptedTypes[i]) return true; - } else if (acceptedTypes[i] instanceof RegExp) { - if ((value || '').toString().match(acceptedTypes[i])) return true; - } else { - if (value instanceof acceptedTypes[i]) return true; - if (AWS.util.isType(value, acceptedTypes[i])) return true; - if (!type && !foundInvalidType) acceptedTypes = acceptedTypes.slice(); - acceptedTypes[i] = AWS.util.typeName(acceptedTypes[i]); - } - foundInvalidType = true; - } +var _AttachVolumeCommand = class _AttachVolumeCommand 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("AmazonEC2", "AttachVolume", {}).n("EC2Client", "AttachVolumeCommand").f(void 0, void 0).ser(se_AttachVolumeCommand).de(de_AttachVolumeCommand).build() { +}; +__name(_AttachVolumeCommand, "AttachVolumeCommand"); +var AttachVolumeCommand = _AttachVolumeCommand; - var acceptedType = type; - if (!acceptedType) { - acceptedType = acceptedTypes.join(', ').replace(/,([^,]+)$/, ', or$1'); - } +// src/commands/AttachVpnGatewayCommand.ts - var vowel = acceptedType.match(/^[aeiou]/i) ? 'n' : ''; - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a' + - vowel + ' ' + acceptedType); - return false; - }, - validateNumber: function validateNumber(shape, value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') { - var castedValue = parseFloat(value); - if (castedValue.toString() === value) value = castedValue; - } - if (this.validateType(value, context, ['number'])) { - this.validateRange(shape, value, context, 'numeric value'); - } - }, - validatePayload: function validatePayload(value, context) { - if (value === null || value === undefined) return; - if (typeof value === 'string') return; - if (value && typeof value.byteLength === 'number') return; // typed arrays - if (AWS.util.isNode()) { // special check for buffer/stream in Node.js - var Stream = AWS.util.stream.Stream; - if (AWS.util.Buffer.isBuffer(value) || value instanceof Stream) return; - } else { - if (typeof Blob !== void 0 && value instanceof Blob) return; - } - var types = ['Buffer', 'Stream', 'File', 'Blob', 'ArrayBuffer', 'DataView']; - if (value) { - for (var i = 0; i < types.length; i++) { - if (AWS.util.isType(value, types[i])) return; - if (AWS.util.typeName(value.constructor) === types[i]) return; - } - } +var _AttachVpnGatewayCommand = class _AttachVpnGatewayCommand 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("AmazonEC2", "AttachVpnGateway", {}).n("EC2Client", "AttachVpnGatewayCommand").f(void 0, void 0).ser(se_AttachVpnGatewayCommand).de(de_AttachVpnGatewayCommand).build() { +}; +__name(_AttachVpnGatewayCommand, "AttachVpnGatewayCommand"); +var AttachVpnGatewayCommand = _AttachVpnGatewayCommand; - this.fail('InvalidParameterType', 'Expected ' + context + ' to be a ' + - 'string, Buffer, Stream, Blob, or typed array object'); - } -}); +// src/commands/AuthorizeClientVpnIngressCommand.ts -/***/ }), -/***/ 44086: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var rest = AWS.Protocol.Rest; +var _AuthorizeClientVpnIngressCommand = class _AuthorizeClientVpnIngressCommand 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("AmazonEC2", "AuthorizeClientVpnIngress", {}).n("EC2Client", "AuthorizeClientVpnIngressCommand").f(void 0, void 0).ser(se_AuthorizeClientVpnIngressCommand).de(de_AuthorizeClientVpnIngressCommand).build() { +}; +__name(_AuthorizeClientVpnIngressCommand, "AuthorizeClientVpnIngressCommand"); +var AuthorizeClientVpnIngressCommand = _AuthorizeClientVpnIngressCommand; -/** - * A presigner object can be used to generate presigned urls for the Polly service. - */ -AWS.Polly.Presigner = AWS.util.inherit({ - /** - * Creates a presigner object with a set of configuration options. - * - * @option options params [map] An optional map of parameters to bind to every - * request sent by this service object. - * @option options service [AWS.Polly] An optional pre-configured instance - * of the AWS.Polly service object to use for requests. The object may - * bound parameters used by the presigner. - * @see AWS.Polly.constructor - */ - constructor: function Signer(options) { - options = options || {}; - this.options = options; - this.service = options.service; - this.bindServiceObject(options); - this._operations = {}; - }, +// src/commands/AuthorizeSecurityGroupEgressCommand.ts - /** - * @api private - */ - bindServiceObject: function bindServiceObject(options) { - options = options || {}; - if (!this.service) { - this.service = new AWS.Polly(options); - } else { - var config = AWS.util.copy(this.service.config); - this.service = new this.service.constructor.__super__(config); - this.service.config.params = AWS.util.merge(this.service.config.params || {}, options.params); - } - }, - /** - * @api private - */ - modifyInputMembers: function modifyInputMembers(input) { - // make copies of the input so we don't overwrite the api - // need to be careful to copy anything we access/modify - var modifiedInput = AWS.util.copy(input); - modifiedInput.members = AWS.util.copy(input.members); - AWS.util.each(input.members, function(name, member) { - modifiedInput.members[name] = AWS.util.copy(member); - // update location and locationName - if (!member.location || member.location === 'body') { - modifiedInput.members[name].location = 'querystring'; - modifiedInput.members[name].locationName = name; - } - }); - return modifiedInput; - }, - /** - * @api private - */ - convertPostToGet: function convertPostToGet(req) { - // convert method - req.httpRequest.method = 'GET'; - var operation = req.service.api.operations[req.operation]; - // get cached operation input first - var input = this._operations[req.operation]; - if (!input) { - // modify the original input - this._operations[req.operation] = input = this.modifyInputMembers(operation.input); - } +var _AuthorizeSecurityGroupEgressCommand = class _AuthorizeSecurityGroupEgressCommand 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("AmazonEC2", "AuthorizeSecurityGroupEgress", {}).n("EC2Client", "AuthorizeSecurityGroupEgressCommand").f(void 0, void 0).ser(se_AuthorizeSecurityGroupEgressCommand).de(de_AuthorizeSecurityGroupEgressCommand).build() { +}; +__name(_AuthorizeSecurityGroupEgressCommand, "AuthorizeSecurityGroupEgressCommand"); +var AuthorizeSecurityGroupEgressCommand = _AuthorizeSecurityGroupEgressCommand; - var uri = rest.generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); +// src/commands/AuthorizeSecurityGroupIngressCommand.ts - req.httpRequest.path = uri; - req.httpRequest.body = ''; - // don't need these headers on a GET request - delete req.httpRequest.headers['Content-Length']; - delete req.httpRequest.headers['Content-Type']; - }, - /** - * @overload getSynthesizeSpeechUrl(params = {}, [expires = 3600], [callback]) - * Generate a presigned url for {AWS.Polly.synthesizeSpeech}. - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * @param params [map] parameters to pass to the operation. See the {AWS.Polly.synthesizeSpeech} - * operation for the expected operation parameters. - * @param expires [Integer] (3600) the number of seconds to expire the pre-signed URL operation in. - * Defaults to 1 hour. - * @return [string] if called synchronously (with no callback), returns the signed URL. - * @return [null] nothing is returned if a callback is provided. - * @callback callback function (err, url) - * If a callback is supplied, it is called when a signed URL has been generated. - * @param err [Error] the error object returned from the presigner. - * @param url [String] the signed URL. - * @see AWS.Polly.synthesizeSpeech - */ - getSynthesizeSpeechUrl: function getSynthesizeSpeechUrl(params, expires, callback) { - var self = this; - var request = this.service.makeRequest('synthesizeSpeech', params); - // remove existing build listeners - request.removeAllListeners('build'); - request.on('build', function(req) { - self.convertPostToGet(req); - }); - return request.presign(expires, callback); - } -}); +var _AuthorizeSecurityGroupIngressCommand = class _AuthorizeSecurityGroupIngressCommand 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("AmazonEC2", "AuthorizeSecurityGroupIngress", {}).n("EC2Client", "AuthorizeSecurityGroupIngressCommand").f(void 0, void 0).ser(se_AuthorizeSecurityGroupIngressCommand).de(de_AuthorizeSecurityGroupIngressCommand).build() { +}; +__name(_AuthorizeSecurityGroupIngressCommand, "AuthorizeSecurityGroupIngressCommand"); +var AuthorizeSecurityGroupIngressCommand = _AuthorizeSecurityGroupIngressCommand; -/***/ }), +// src/commands/BundleInstanceCommand.ts -/***/ 97969: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var util = __nccwpck_require__(77985); -var AWS = __nccwpck_require__(28437); -/** - * Prepend prefix defined by API model to endpoint that's already - * constructed. This feature does not apply to operations using - * endpoint discovery and can be disabled. - * @api private - */ -function populateHostPrefix(request) { - var enabled = request.service.config.hostPrefixEnabled; - if (!enabled) return request; - var operationModel = request.service.api.operations[request.operation]; - //don't marshal host prefix when operation has endpoint discovery traits - if (hasEndpointDiscover(request)) return request; - if (operationModel.endpoint && operationModel.endpoint.hostPrefix) { - var hostPrefixNotation = operationModel.endpoint.hostPrefix; - var hostPrefix = expandHostPrefix(hostPrefixNotation, request.params, operationModel.input); - prependEndpointPrefix(request.httpRequest.endpoint, hostPrefix); - validateHostname(request.httpRequest.endpoint.hostname); - } - return request; -} -/** - * @api private - */ -function hasEndpointDiscover(request) { - var api = request.service.api; - var operationModel = api.operations[request.operation]; - var isEndpointOperation = api.endpointOperation && (api.endpointOperation === util.string.lowerFirst(operationModel.name)); - return (operationModel.endpointDiscoveryRequired !== 'NULL' || isEndpointOperation === true); -} +var _BundleInstanceCommand = class _BundleInstanceCommand 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("AmazonEC2", "BundleInstance", {}).n("EC2Client", "BundleInstanceCommand").f(BundleInstanceRequestFilterSensitiveLog, BundleInstanceResultFilterSensitiveLog).ser(se_BundleInstanceCommand).de(de_BundleInstanceCommand).build() { +}; +__name(_BundleInstanceCommand, "BundleInstanceCommand"); +var BundleInstanceCommand = _BundleInstanceCommand; + +// src/commands/CancelBundleTaskCommand.ts -/** - * @api private - */ -function expandHostPrefix(hostPrefixNotation, params, shape) { - util.each(shape.members, function(name, member) { - if (member.hostLabel === true) { - if (typeof params[name] !== 'string' || params[name] === '') { - throw util.error(new Error(), { - message: 'Parameter ' + name + ' should be a non-empty string.', - code: 'InvalidParameter' - }); - } - var regex = new RegExp('\\{' + name + '\\}', 'g'); - hostPrefixNotation = hostPrefixNotation.replace(regex, params[name]); - } - }); - return hostPrefixNotation; -} -/** - * @api private - */ -function prependEndpointPrefix(endpoint, prefix) { - if (endpoint.host) { - endpoint.host = prefix + endpoint.host; - } - if (endpoint.hostname) { - endpoint.hostname = prefix + endpoint.hostname; - } -} -/** - * @api private - */ -function validateHostname(hostname) { - var labels = hostname.split('.'); - //Reference: https://tools.ietf.org/html/rfc1123#section-2 - var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; - util.arrayEach(labels, function(label) { - if (!label.length || label.length < 1 || label.length > 63) { - throw util.error(new Error(), { - code: 'ValidationError', - message: 'Hostname label length should be between 1 to 63 characters, inclusive.' - }); - } - if (!hostPattern.test(label)) { - throw AWS.util.error(new Error(), - {code: 'ValidationError', message: label + ' is not hostname compatible.'}); - } - }); -} -module.exports = { - populateHostPrefix: populateHostPrefix +var _CancelBundleTaskCommand = class _CancelBundleTaskCommand 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("AmazonEC2", "CancelBundleTask", {}).n("EC2Client", "CancelBundleTaskCommand").f(void 0, CancelBundleTaskResultFilterSensitiveLog).ser(se_CancelBundleTaskCommand).de(de_CancelBundleTaskCommand).build() { }; +__name(_CancelBundleTaskCommand, "CancelBundleTaskCommand"); +var CancelBundleTaskCommand = _CancelBundleTaskCommand; +// src/commands/CancelCapacityReservationCommand.ts -/***/ }), -/***/ 30083: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var util = __nccwpck_require__(77985); -var JsonBuilder = __nccwpck_require__(47495); -var JsonParser = __nccwpck_require__(5474); -var populateHostPrefix = (__nccwpck_require__(97969).populateHostPrefix); -function buildRequest(req) { - var httpRequest = req.httpRequest; - var api = req.service.api; - var target = api.targetPrefix + '.' + api.operations[req.operation].name; - var version = api.jsonVersion || '1.0'; - var input = api.operations[req.operation].input; - var builder = new JsonBuilder(); +var _CancelCapacityReservationCommand = class _CancelCapacityReservationCommand 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("AmazonEC2", "CancelCapacityReservation", {}).n("EC2Client", "CancelCapacityReservationCommand").f(void 0, void 0).ser(se_CancelCapacityReservationCommand).de(de_CancelCapacityReservationCommand).build() { +}; +__name(_CancelCapacityReservationCommand, "CancelCapacityReservationCommand"); +var CancelCapacityReservationCommand = _CancelCapacityReservationCommand; - if (version === 1) version = '1.0'; +// src/commands/CancelCapacityReservationFleetsCommand.ts - if (api.awsQueryCompatible) { - if (!httpRequest.params) { - httpRequest.params = {}; - } - // because Query protocol does this. - Object.assign(httpRequest.params, req.params); - } - httpRequest.body = builder.build(req.params || {}, input); - httpRequest.headers['Content-Type'] = 'application/x-amz-json-' + version; - httpRequest.headers['X-Amz-Target'] = target; - populateHostPrefix(req); -} -function extractError(resp) { - var error = {}; - var httpResponse = resp.httpResponse; +var _CancelCapacityReservationFleetsCommand = class _CancelCapacityReservationFleetsCommand 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("AmazonEC2", "CancelCapacityReservationFleets", {}).n("EC2Client", "CancelCapacityReservationFleetsCommand").f(void 0, void 0).ser(se_CancelCapacityReservationFleetsCommand).de(de_CancelCapacityReservationFleetsCommand).build() { +}; +__name(_CancelCapacityReservationFleetsCommand, "CancelCapacityReservationFleetsCommand"); +var CancelCapacityReservationFleetsCommand = _CancelCapacityReservationFleetsCommand; - error.code = httpResponse.headers['x-amzn-errortype'] || 'UnknownError'; - if (typeof error.code === 'string') { - error.code = error.code.split(':')[0]; - } +// src/commands/CancelConversionTaskCommand.ts - if (httpResponse.body.length > 0) { - try { - var e = JSON.parse(httpResponse.body.toString()); - var code = e.__type || e.code || e.Code; - if (code) { - error.code = code.split('#').pop(); - } - if (error.code === 'RequestEntityTooLarge') { - error.message = 'Request body must be less than 1 MB'; - } else { - error.message = (e.message || e.Message || null); - } - // The minimized models do not have error shapes, so - // without expanding the model size, it's not possible - // to validate the response shape (members) or - // check if any are sensitive to logging. - // Assign the fields as non-enumerable, allowing specific access only. - for (var key in e || {}) { - if (key === 'code' || key === 'message') { - continue; - } - error['[' + key + ']'] = 'See error.' + key + ' for details.'; - Object.defineProperty(error, key, { - value: e[key], - enumerable: false, - writable: true - }); - } - } catch (e) { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusMessage; - } - } else { - error.statusCode = httpResponse.statusCode; - error.message = httpResponse.statusCode.toString(); - } +var _CancelConversionTaskCommand = class _CancelConversionTaskCommand 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("AmazonEC2", "CancelConversionTask", {}).n("EC2Client", "CancelConversionTaskCommand").f(void 0, void 0).ser(se_CancelConversionTaskCommand).de(de_CancelConversionTaskCommand).build() { +}; +__name(_CancelConversionTaskCommand, "CancelConversionTaskCommand"); +var CancelConversionTaskCommand = _CancelConversionTaskCommand; - resp.error = util.error(new Error(), error); -} +// src/commands/CancelExportTaskCommand.ts -function extractData(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - if (resp.request.service.config.convertResponseTypes === false) { - resp.data = JSON.parse(body); - } else { - var operation = resp.request.service.api.operations[resp.request.operation]; - var shape = operation.output || {}; - var parser = new JsonParser(); - resp.data = parser.parse(body, shape); - } -} -/** - * @api private - */ -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData + + +var _CancelExportTaskCommand = class _CancelExportTaskCommand 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("AmazonEC2", "CancelExportTask", {}).n("EC2Client", "CancelExportTaskCommand").f(void 0, void 0).ser(se_CancelExportTaskCommand).de(de_CancelExportTaskCommand).build() { }; +__name(_CancelExportTaskCommand, "CancelExportTaskCommand"); +var CancelExportTaskCommand = _CancelExportTaskCommand; +// src/commands/CancelImageLaunchPermissionCommand.ts -/***/ }), -/***/ 90761: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var util = __nccwpck_require__(77985); -var QueryParamSerializer = __nccwpck_require__(45175); -var Shape = __nccwpck_require__(71349); -var populateHostPrefix = (__nccwpck_require__(97969).populateHostPrefix); -function buildRequest(req) { - var operation = req.service.api.operations[req.operation]; - var httpRequest = req.httpRequest; - httpRequest.headers['Content-Type'] = - 'application/x-www-form-urlencoded; charset=utf-8'; - httpRequest.params = { - Version: req.service.api.apiVersion, - Action: operation.name - }; +var _CancelImageLaunchPermissionCommand = class _CancelImageLaunchPermissionCommand 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("AmazonEC2", "CancelImageLaunchPermission", {}).n("EC2Client", "CancelImageLaunchPermissionCommand").f(void 0, void 0).ser(se_CancelImageLaunchPermissionCommand).de(de_CancelImageLaunchPermissionCommand).build() { +}; +__name(_CancelImageLaunchPermissionCommand, "CancelImageLaunchPermissionCommand"); +var CancelImageLaunchPermissionCommand = _CancelImageLaunchPermissionCommand; - // convert the request parameters into a list of query params, - // e.g. Deeply.NestedParam.0.Name=value - var builder = new QueryParamSerializer(); - builder.serialize(req.params, operation.input, function(name, value) { - httpRequest.params[name] = value; - }); - httpRequest.body = util.queryParamsToString(httpRequest.params); +// src/commands/CancelImportTaskCommand.ts - populateHostPrefix(req); -} -function extractError(resp) { - var data, body = resp.httpResponse.body.toString(); - if (body.match(' { +// src/commands/CancelSpotInstanceRequestsCommand.ts -var util = __nccwpck_require__(77985); -var populateHostPrefix = (__nccwpck_require__(97969).populateHostPrefix); -function populateMethod(req) { - req.httpRequest.method = req.service.api.operations[req.operation].httpMethod; -} -function generateURI(endpointPath, operationPath, input, params) { - var uri = [endpointPath, operationPath].join('/'); - uri = uri.replace(/\/+/g, '/'); - var queryString = {}, queryStringSet = false; - util.each(input.members, function (name, member) { - var paramValue = params[name]; - if (paramValue === null || paramValue === undefined) return; - if (member.location === 'uri') { - var regex = new RegExp('\\{' + member.name + '(\\+)?\\}'); - uri = uri.replace(regex, function(_, plus) { - var fn = plus ? util.uriEscapePath : util.uriEscape; - return fn(String(paramValue)); - }); - } else if (member.location === 'querystring') { - queryStringSet = true; +var _CancelSpotInstanceRequestsCommand = class _CancelSpotInstanceRequestsCommand 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("AmazonEC2", "CancelSpotInstanceRequests", {}).n("EC2Client", "CancelSpotInstanceRequestsCommand").f(void 0, void 0).ser(se_CancelSpotInstanceRequestsCommand).de(de_CancelSpotInstanceRequestsCommand).build() { +}; +__name(_CancelSpotInstanceRequestsCommand, "CancelSpotInstanceRequestsCommand"); +var CancelSpotInstanceRequestsCommand = _CancelSpotInstanceRequestsCommand; - if (member.type === 'list') { - queryString[member.name] = paramValue.map(function(val) { - return util.uriEscape(member.member.toWireFormat(val).toString()); - }); - } else if (member.type === 'map') { - util.each(paramValue, function(key, value) { - if (Array.isArray(value)) { - queryString[key] = value.map(function(val) { - return util.uriEscape(String(val)); - }); - } else { - queryString[key] = util.uriEscape(String(value)); - } - }); - } else { - queryString[member.name] = util.uriEscape(member.toWireFormat(paramValue).toString()); - } - } - }); +// src/commands/ConfirmProductInstanceCommand.ts - if (queryStringSet) { - uri += (uri.indexOf('?') >= 0 ? '&' : '?'); - var parts = []; - util.arrayEach(Object.keys(queryString).sort(), function(key) { - if (!Array.isArray(queryString[key])) { - queryString[key] = [queryString[key]]; - } - for (var i = 0; i < queryString[key].length; i++) { - parts.push(util.uriEscape(String(key)) + '=' + queryString[key][i]); - } - }); - uri += parts.join('&'); - } - return uri; -} -function populateURI(req) { - var operation = req.service.api.operations[req.operation]; - var input = operation.input; - var uri = generateURI(req.httpRequest.endpoint.path, operation.httpPath, input, req.params); - req.httpRequest.path = uri; -} +var _ConfirmProductInstanceCommand = class _ConfirmProductInstanceCommand 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("AmazonEC2", "ConfirmProductInstance", {}).n("EC2Client", "ConfirmProductInstanceCommand").f(void 0, void 0).ser(se_ConfirmProductInstanceCommand).de(de_ConfirmProductInstanceCommand).build() { +}; +__name(_ConfirmProductInstanceCommand, "ConfirmProductInstanceCommand"); +var ConfirmProductInstanceCommand = _ConfirmProductInstanceCommand; -function populateHeaders(req) { - var operation = req.service.api.operations[req.operation]; - util.each(operation.input.members, function (name, member) { - var value = req.params[name]; - if (value === null || value === undefined) return; +// src/commands/CopyFpgaImageCommand.ts - if (member.location === 'headers' && member.type === 'map') { - util.each(value, function(key, memberValue) { - req.httpRequest.headers[member.name + key] = memberValue; - }); - } else if (member.location === 'header') { - value = member.toWireFormat(value).toString(); - if (member.isJsonValue) { - value = util.base64.encode(value); - } - req.httpRequest.headers[member.name] = value; - } - }); -} -function buildRequest(req) { - populateMethod(req); - populateURI(req); - populateHeaders(req); - populateHostPrefix(req); -} -function extractError() { -} -function extractData(resp) { - var req = resp.request; - var data = {}; - var r = resp.httpResponse; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; +var _CopyFpgaImageCommand = class _CopyFpgaImageCommand 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("AmazonEC2", "CopyFpgaImage", {}).n("EC2Client", "CopyFpgaImageCommand").f(void 0, void 0).ser(se_CopyFpgaImageCommand).de(de_CopyFpgaImageCommand).build() { +}; +__name(_CopyFpgaImageCommand, "CopyFpgaImageCommand"); +var CopyFpgaImageCommand = _CopyFpgaImageCommand; - // normalize headers names to lower-cased keys for matching - var headers = {}; - util.each(r.headers, function (k, v) { - headers[k.toLowerCase()] = v; - }); +// src/commands/CopyImageCommand.ts - util.each(output.members, function(name, member) { - var header = (member.name || name).toLowerCase(); - if (member.location === 'headers' && member.type === 'map') { - data[name] = {}; - var location = member.isLocationName ? member.name : ''; - var pattern = new RegExp('^' + location + '(.+)', 'i'); - util.each(r.headers, function (k, v) { - var result = k.match(pattern); - if (result !== null) { - data[name][result[1]] = v; - } - }); - } else if (member.location === 'header') { - if (headers[header] !== undefined) { - var value = member.isJsonValue ? - util.base64.decode(headers[header]) : - headers[header]; - data[name] = member.toType(value); - } - } else if (member.location === 'statusCode') { - data[name] = parseInt(r.statusCode, 10); - } - }); - resp.data = data; -} -/** - * @api private - */ -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - generateURI: generateURI + +var _CopyImageCommand = class _CopyImageCommand 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("AmazonEC2", "CopyImage", {}).n("EC2Client", "CopyImageCommand").f(void 0, void 0).ser(se_CopyImageCommand).de(de_CopyImageCommand).build() { }; +__name(_CopyImageCommand, "CopyImageCommand"); +var CopyImageCommand = _CopyImageCommand; +// src/commands/CopySnapshotCommand.ts +var import_middleware_sdk_ec2 = __nccwpck_require__(3525); -/***/ }), -/***/ 5883: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var util = __nccwpck_require__(77985); -var Rest = __nccwpck_require__(98200); -var Json = __nccwpck_require__(30083); -var JsonBuilder = __nccwpck_require__(47495); -var JsonParser = __nccwpck_require__(5474); -var METHODS_WITHOUT_BODY = ['GET', 'HEAD', 'DELETE']; +var _CopySnapshotCommand = class _CopySnapshotCommand 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()), + (0, import_middleware_sdk_ec2.getCopySnapshotPresignedUrlPlugin)(config) + ]; +}).s("AmazonEC2", "CopySnapshot", {}).n("EC2Client", "CopySnapshotCommand").f(CopySnapshotRequestFilterSensitiveLog, void 0).ser(se_CopySnapshotCommand).de(de_CopySnapshotCommand).build() { +}; +__name(_CopySnapshotCommand, "CopySnapshotCommand"); +var CopySnapshotCommand = _CopySnapshotCommand; -function unsetContentLength(req) { - var payloadMember = util.getRequestPayloadShape(req); - if ( - payloadMember === undefined && - METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) >= 0 - ) { - delete req.httpRequest.headers['Content-Length']; - } -} +// src/commands/CreateCapacityReservationCommand.ts -function populateBody(req) { - var builder = new JsonBuilder(); - var input = req.service.api.operations[req.operation].input; - if (input.payload) { - var params = {}; - var payloadShape = input.members[input.payload]; - params = req.params[input.payload]; - if (payloadShape.type === 'structure') { - req.httpRequest.body = builder.build(params || {}, payloadShape); - applyContentTypeHeader(req); - } else if (params !== undefined) { - // non-JSON payload - req.httpRequest.body = params; - if (payloadShape.type === 'binary' || payloadShape.isStreaming) { - applyContentTypeHeader(req, true); - } - } - } else { - req.httpRequest.body = builder.build(req.params, input); - applyContentTypeHeader(req); - } -} -function applyContentTypeHeader(req, isBinary) { - if (!req.httpRequest.headers['Content-Type']) { - var type = isBinary ? 'binary/octet-stream' : 'application/json'; - req.httpRequest.headers['Content-Type'] = type; - } -} +var _CreateCapacityReservationCommand = class _CreateCapacityReservationCommand 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("AmazonEC2", "CreateCapacityReservation", {}).n("EC2Client", "CreateCapacityReservationCommand").f(void 0, void 0).ser(se_CreateCapacityReservationCommand).de(de_CreateCapacityReservationCommand).build() { +}; +__name(_CreateCapacityReservationCommand, "CreateCapacityReservationCommand"); +var CreateCapacityReservationCommand = _CreateCapacityReservationCommand; -function buildRequest(req) { - Rest.buildRequest(req); +// src/commands/CreateCapacityReservationFleetCommand.ts - // never send body payload on GET/HEAD/DELETE - if (METHODS_WITHOUT_BODY.indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} -function extractError(resp) { - Json.extractError(resp); -} -function extractData(resp) { - Rest.extractData(resp); - var req = resp.request; - var operation = req.service.api.operations[req.operation]; - var rules = req.service.api.operations[req.operation].output || {}; - var parser; - var hasEventOutput = operation.hasEventOutput; +var _CreateCapacityReservationFleetCommand = class _CreateCapacityReservationFleetCommand 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("AmazonEC2", "CreateCapacityReservationFleet", {}).n("EC2Client", "CreateCapacityReservationFleetCommand").f(void 0, void 0).ser(se_CreateCapacityReservationFleetCommand).de(de_CreateCapacityReservationFleetCommand).build() { +}; +__name(_CreateCapacityReservationFleetCommand, "CreateCapacityReservationFleetCommand"); +var CreateCapacityReservationFleetCommand = _CreateCapacityReservationFleetCommand; - if (rules.payload) { - var payloadMember = rules.members[rules.payload]; - var body = resp.httpResponse.body; - if (payloadMember.isEventStream) { - parser = new JsonParser(); - resp.data[payload] = util.createEventStream( - AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : body, - parser, - payloadMember - ); - } else if (payloadMember.type === 'structure' || payloadMember.type === 'list') { - var parser = new JsonParser(); - resp.data[rules.payload] = parser.parse(body, payloadMember); - } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { - resp.data[rules.payload] = body; - } else { - resp.data[rules.payload] = payloadMember.toType(body); - } - } else { - var data = resp.data; - Json.extractData(resp); - resp.data = util.merge(data, resp.data); - } -} +// src/commands/CreateCarrierGatewayCommand.ts -/** - * @api private - */ -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData, - unsetContentLength: unsetContentLength -}; -/***/ }), -/***/ 15143: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _CreateCarrierGatewayCommand = class _CreateCarrierGatewayCommand 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("AmazonEC2", "CreateCarrierGateway", {}).n("EC2Client", "CreateCarrierGatewayCommand").f(void 0, void 0).ser(se_CreateCarrierGatewayCommand).de(de_CreateCarrierGatewayCommand).build() { +}; +__name(_CreateCarrierGatewayCommand, "CreateCarrierGatewayCommand"); +var CreateCarrierGatewayCommand = _CreateCarrierGatewayCommand; -var AWS = __nccwpck_require__(28437); -var util = __nccwpck_require__(77985); -var Rest = __nccwpck_require__(98200); +// src/commands/CreateClientVpnEndpointCommand.ts -function populateBody(req) { - var input = req.service.api.operations[req.operation].input; - var builder = new AWS.XML.Builder(); - var params = req.params; - var payload = input.payload; - if (payload) { - var payloadMember = input.members[payload]; - params = params[payload]; - if (params === undefined) return; - if (payloadMember.type === 'structure') { - var rootElement = payloadMember.name; - req.httpRequest.body = builder.toXML(params, payloadMember, rootElement, true); - } else { // non-xml payload - req.httpRequest.body = params; - } - } else { - req.httpRequest.body = builder.toXML(params, input, input.name || - input.shape || util.string.upperFirst(req.operation) + 'Request'); - } -} -function buildRequest(req) { - Rest.buildRequest(req); +var _CreateClientVpnEndpointCommand = class _CreateClientVpnEndpointCommand 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("AmazonEC2", "CreateClientVpnEndpoint", {}).n("EC2Client", "CreateClientVpnEndpointCommand").f(void 0, void 0).ser(se_CreateClientVpnEndpointCommand).de(de_CreateClientVpnEndpointCommand).build() { +}; +__name(_CreateClientVpnEndpointCommand, "CreateClientVpnEndpointCommand"); +var CreateClientVpnEndpointCommand = _CreateClientVpnEndpointCommand; - // never send body payload on GET/HEAD - if (['GET', 'HEAD'].indexOf(req.httpRequest.method) < 0) { - populateBody(req); - } -} +// src/commands/CreateClientVpnRouteCommand.ts -function extractError(resp) { - Rest.extractError(resp); - var data; - try { - data = new AWS.XML.Parser().parse(resp.httpResponse.body.toString()); - } catch (e) { - data = { - Code: resp.httpResponse.statusCode, - Message: resp.httpResponse.statusMessage - }; - } - if (data.Errors) data = data.Errors; - if (data.Error) data = data.Error; - if (data.Code) { - resp.error = util.error(new Error(), { - code: data.Code, - message: data.Message - }); - } else { - resp.error = util.error(new Error(), { - code: resp.httpResponse.statusCode, - message: null - }); - } -} -function extractData(resp) { - Rest.extractData(resp); +var _CreateClientVpnRouteCommand = class _CreateClientVpnRouteCommand 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("AmazonEC2", "CreateClientVpnRoute", {}).n("EC2Client", "CreateClientVpnRouteCommand").f(void 0, void 0).ser(se_CreateClientVpnRouteCommand).de(de_CreateClientVpnRouteCommand).build() { +}; +__name(_CreateClientVpnRouteCommand, "CreateClientVpnRouteCommand"); +var CreateClientVpnRouteCommand = _CreateClientVpnRouteCommand; - var parser; - var req = resp.request; - var body = resp.httpResponse.body; - var operation = req.service.api.operations[req.operation]; - var output = operation.output; +// src/commands/CreateCoipCidrCommand.ts - var hasEventOutput = operation.hasEventOutput; - var payload = output.payload; - if (payload) { - var payloadMember = output.members[payload]; - if (payloadMember.isEventStream) { - parser = new AWS.XML.Parser(); - resp.data[payload] = util.createEventStream( - AWS.HttpClient.streamsApiVersion === 2 ? resp.httpResponse.stream : resp.httpResponse.body, - parser, - payloadMember - ); - } else if (payloadMember.type === 'structure') { - parser = new AWS.XML.Parser(); - resp.data[payload] = parser.parse(body.toString(), payloadMember); - } else if (payloadMember.type === 'binary' || payloadMember.isStreaming) { - resp.data[payload] = body; - } else { - resp.data[payload] = payloadMember.toType(body); - } - } else if (body.length > 0) { - parser = new AWS.XML.Parser(); - var data = parser.parse(body.toString(), output); - util.update(resp.data, data); - } -} -/** - * @api private - */ -module.exports = { - buildRequest: buildRequest, - extractError: extractError, - extractData: extractData + +var _CreateCoipCidrCommand = class _CreateCoipCidrCommand 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("AmazonEC2", "CreateCoipCidr", {}).n("EC2Client", "CreateCoipCidrCommand").f(void 0, void 0).ser(se_CreateCoipCidrCommand).de(de_CreateCoipCidrCommand).build() { }; +__name(_CreateCoipCidrCommand, "CreateCoipCidrCommand"); +var CreateCoipCidrCommand = _CreateCoipCidrCommand; +// src/commands/CreateCoipPoolCommand.ts -/***/ }), -/***/ 91822: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * Resolve client-side monitoring configuration from either environmental variables - * or shared config file. Configurations from environmental variables have higher priority - * than those from shared config file. The resolver will try to read the shared config file - * no matter whether the AWS_SDK_LOAD_CONFIG variable is set. - * @api private - */ -function resolveMonitoringConfig() { - var config = { - port: undefined, - clientId: undefined, - enabled: undefined, - host: undefined - }; - if (fromEnvironment(config) || fromConfigFile(config)) return toJSType(config); - return toJSType(config); -} +var _CreateCoipPoolCommand = class _CreateCoipPoolCommand 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("AmazonEC2", "CreateCoipPool", {}).n("EC2Client", "CreateCoipPoolCommand").f(void 0, void 0).ser(se_CreateCoipPoolCommand).de(de_CreateCoipPoolCommand).build() { +}; +__name(_CreateCoipPoolCommand, "CreateCoipPoolCommand"); +var CreateCoipPoolCommand = _CreateCoipPoolCommand; -/** - * Resolve configurations from environmental variables. - * @param {object} client side monitoring config object needs to be resolved - * @returns {boolean} whether resolving configurations is done - * @api private - */ -function fromEnvironment(config) { - config.port = config.port || process.env.AWS_CSM_PORT; - config.enabled = config.enabled || process.env.AWS_CSM_ENABLED; - config.clientId = config.clientId || process.env.AWS_CSM_CLIENT_ID; - config.host = config.host || process.env.AWS_CSM_HOST; - return config.port && config.enabled && config.clientId && config.host || - ['false', '0'].indexOf(config.enabled) >= 0; //no need to read shared config file if explicitely disabled -} +// src/commands/CreateCustomerGatewayCommand.ts -/** - * Resolve cofigurations from shared config file with specified role name - * @param {object} client side monitoring config object needs to be resolved - * @returns {boolean} whether resolving configurations is done - * @api private - */ -function fromConfigFile(config) { - var sharedFileConfig; - try { - var configFile = AWS.util.iniLoader.loadFrom({ - isConfig: true, - filename: process.env[AWS.util.sharedConfigFileEnv] - }); - var sharedFileConfig = configFile[ - process.env.AWS_PROFILE || AWS.util.defaultProfile - ]; - } catch (err) { - return false; - } - if (!sharedFileConfig) return config; - config.port = config.port || sharedFileConfig.csm_port; - config.enabled = config.enabled || sharedFileConfig.csm_enabled; - config.clientId = config.clientId || sharedFileConfig.csm_client_id; - config.host = config.host || sharedFileConfig.csm_host; - return config.port && config.enabled && config.clientId && config.host; -} -/** - * Transfer the resolved configuration value to proper types: port as number, enabled - * as boolean and clientId as string. The 'enabled' flag is valued to false when set - * to 'false' or '0'. - * @param {object} resolved client side monitoring config - * @api private - */ -function toJSType(config) { - //config.XXX is either undefined or string - var falsyNotations = ['false', '0', undefined]; - if (!config.enabled || falsyNotations.indexOf(config.enabled.toLowerCase()) >= 0) { - config.enabled = false; - } else { - config.enabled = true; - } - config.port = config.port ? parseInt(config.port, 10) : undefined; - return config; -} -module.exports = resolveMonitoringConfig; +var _CreateCustomerGatewayCommand = class _CreateCustomerGatewayCommand 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("AmazonEC2", "CreateCustomerGateway", {}).n("EC2Client", "CreateCustomerGatewayCommand").f(void 0, void 0).ser(se_CreateCustomerGatewayCommand).de(de_CreateCustomerGatewayCommand).build() { +}; +__name(_CreateCustomerGatewayCommand, "CreateCustomerGatewayCommand"); +var CreateCustomerGatewayCommand = _CreateCustomerGatewayCommand; -/***/ }), +// src/commands/CreateDefaultSubnetCommand.ts -/***/ 66807: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var util = (__nccwpck_require__(28437).util); -var dgram = __nccwpck_require__(71891); -var stringToBuffer = util.buffer.toBuffer; -var MAX_MESSAGE_SIZE = 1024 * 8; // 8 KB -/** - * Publishes metrics via udp. - * @param {object} options Paramters for Publisher constructor - * @param {number} [options.port = 31000] Port number - * @param {string} [options.clientId = ''] Client Identifier - * @param {boolean} [options.enabled = false] enable sending metrics datagram - * @api private - */ -function Publisher(options) { - // handle configuration - options = options || {}; - this.enabled = options.enabled || false; - this.port = options.port || 31000; - this.clientId = options.clientId || ''; - this.address = options.host || '127.0.0.1'; - if (this.clientId.length > 255) { - // ClientId has a max length of 255 - this.clientId = this.clientId.substr(0, 255); - } - this.messagesInFlight = 0; -} +var _CreateDefaultSubnetCommand = class _CreateDefaultSubnetCommand 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("AmazonEC2", "CreateDefaultSubnet", {}).n("EC2Client", "CreateDefaultSubnetCommand").f(void 0, void 0).ser(se_CreateDefaultSubnetCommand).de(de_CreateDefaultSubnetCommand).build() { +}; +__name(_CreateDefaultSubnetCommand, "CreateDefaultSubnetCommand"); +var CreateDefaultSubnetCommand = _CreateDefaultSubnetCommand; -Publisher.prototype.fieldsToTrim = { - UserAgent: 256, - SdkException: 128, - SdkExceptionMessage: 512, - AwsException: 128, - AwsExceptionMessage: 512, - FinalSdkException: 128, - FinalSdkExceptionMessage: 512, - FinalAwsException: 128, - FinalAwsExceptionMessage: 512 +// src/commands/CreateDefaultVpcCommand.ts -}; -/** - * Trims fields that have a specified max length. - * @param {object} event ApiCall or ApiCallAttempt event. - * @returns {object} - * @api private - */ -Publisher.prototype.trimFields = function(event) { - var trimmableFields = Object.keys(this.fieldsToTrim); - for (var i = 0, iLen = trimmableFields.length; i < iLen; i++) { - var field = trimmableFields[i]; - if (event.hasOwnProperty(field)) { - var maxLength = this.fieldsToTrim[field]; - var value = event[field]; - if (value && value.length > maxLength) { - event[field] = value.substr(0, maxLength); - } - } - } - return event; + + +var _CreateDefaultVpcCommand = class _CreateDefaultVpcCommand 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("AmazonEC2", "CreateDefaultVpc", {}).n("EC2Client", "CreateDefaultVpcCommand").f(void 0, void 0).ser(se_CreateDefaultVpcCommand).de(de_CreateDefaultVpcCommand).build() { }; +__name(_CreateDefaultVpcCommand, "CreateDefaultVpcCommand"); +var CreateDefaultVpcCommand = _CreateDefaultVpcCommand; -/** - * Handles ApiCall and ApiCallAttempt events. - * @param {Object} event apiCall or apiCallAttempt event. - * @api private - */ -Publisher.prototype.eventHandler = function(event) { - // set the clientId - event.ClientId = this.clientId; +// src/commands/CreateDhcpOptionsCommand.ts - this.trimFields(event); - var message = stringToBuffer(JSON.stringify(event)); - if (!this.enabled || message.length > MAX_MESSAGE_SIZE) { - // drop the message if publisher not enabled or it is too large - return; - } - this.publishDatagram(message); -}; -/** - * Publishes message to an agent. - * @param {Buffer} message JSON message to send to agent. - * @api private - */ -Publisher.prototype.publishDatagram = function(message) { - var self = this; - var client = this.getClient(); - - this.messagesInFlight++; - this.client.send(message, 0, message.length, this.port, this.address, function(err, bytes) { - if (--self.messagesInFlight <= 0) { - // destroy existing client so the event loop isn't kept open - self.destroyClient(); - } - }); +var _CreateDhcpOptionsCommand = class _CreateDhcpOptionsCommand 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("AmazonEC2", "CreateDhcpOptions", {}).n("EC2Client", "CreateDhcpOptionsCommand").f(void 0, void 0).ser(se_CreateDhcpOptionsCommand).de(de_CreateDhcpOptionsCommand).build() { }; +__name(_CreateDhcpOptionsCommand, "CreateDhcpOptionsCommand"); +var CreateDhcpOptionsCommand = _CreateDhcpOptionsCommand; -/** - * Returns an existing udp socket, or creates one if it doesn't already exist. - * @api private - */ -Publisher.prototype.getClient = function() { - if (!this.client) { - this.client = dgram.createSocket('udp4'); - } - return this.client; -}; +// src/commands/CreateEgressOnlyInternetGatewayCommand.ts -/** - * Destroys the udp socket. - * @api private - */ -Publisher.prototype.destroyClient = function() { - if (this.client) { - this.client.close(); - this.client = void 0; - } -}; -module.exports = { - Publisher: Publisher -}; -/***/ }), +var _CreateEgressOnlyInternetGatewayCommand = class _CreateEgressOnlyInternetGatewayCommand 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("AmazonEC2", "CreateEgressOnlyInternetGateway", {}).n("EC2Client", "CreateEgressOnlyInternetGatewayCommand").f(void 0, void 0).ser(se_CreateEgressOnlyInternetGatewayCommand).de(de_CreateEgressOnlyInternetGatewayCommand).build() { +}; +__name(_CreateEgressOnlyInternetGatewayCommand, "CreateEgressOnlyInternetGatewayCommand"); +var CreateEgressOnlyInternetGatewayCommand = _CreateEgressOnlyInternetGatewayCommand; -/***/ 45175: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/CreateFleetCommand.ts -var util = __nccwpck_require__(77985); -function QueryParamSerializer() { -} -QueryParamSerializer.prototype.serialize = function(params, shape, fn) { - serializeStructure('', params, shape, fn); + +var _CreateFleetCommand = class _CreateFleetCommand 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("AmazonEC2", "CreateFleet", {}).n("EC2Client", "CreateFleetCommand").f(void 0, void 0).ser(se_CreateFleetCommand).de(de_CreateFleetCommand).build() { }; +__name(_CreateFleetCommand, "CreateFleetCommand"); +var CreateFleetCommand = _CreateFleetCommand; -function ucfirst(shape) { - if (shape.isQueryName || shape.api.protocol !== 'ec2') { - return shape.name; - } else { - return shape.name[0].toUpperCase() + shape.name.substr(1); - } -} +// src/commands/CreateFlowLogsCommand.ts -function serializeStructure(prefix, struct, rules, fn) { - util.each(rules.members, function(name, member) { - var value = struct[name]; - if (value === null || value === undefined) return; - var memberName = ucfirst(member); - memberName = prefix ? prefix + '.' + memberName : memberName; - serializeMember(memberName, value, member, fn); - }); -} -function serializeMap(name, map, rules, fn) { - var i = 1; - util.each(map, function (key, value) { - var prefix = rules.flattened ? '.' : '.entry.'; - var position = prefix + (i++) + '.'; - var keyName = position + (rules.key.name || 'key'); - var valueName = position + (rules.value.name || 'value'); - serializeMember(name + keyName, key, rules.key, fn); - serializeMember(name + valueName, value, rules.value, fn); - }); -} -function serializeList(name, list, rules, fn) { - var memberRules = rules.member || {}; +var _CreateFlowLogsCommand = class _CreateFlowLogsCommand 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("AmazonEC2", "CreateFlowLogs", {}).n("EC2Client", "CreateFlowLogsCommand").f(void 0, void 0).ser(se_CreateFlowLogsCommand).de(de_CreateFlowLogsCommand).build() { +}; +__name(_CreateFlowLogsCommand, "CreateFlowLogsCommand"); +var CreateFlowLogsCommand = _CreateFlowLogsCommand; - if (list.length === 0) { - fn.call(this, name, null); - return; - } +// src/commands/CreateFpgaImageCommand.ts - util.arrayEach(list, function (v, n) { - var suffix = '.' + (n + 1); - if (rules.api.protocol === 'ec2') { - // Do nothing for EC2 - suffix = suffix + ''; // make linter happy - } else if (rules.flattened) { - if (memberRules.name) { - var parts = name.split('.'); - parts.pop(); - parts.push(ucfirst(memberRules)); - name = parts.join('.'); - } - } else { - suffix = '.' + (memberRules.name ? memberRules.name : 'member') + suffix; - } - serializeMember(name + suffix, v, memberRules, fn); - }); -} -function serializeMember(name, value, rules, fn) { - if (value === null || value === undefined) return; - if (rules.type === 'structure') { - serializeStructure(name, value, rules, fn); - } else if (rules.type === 'list') { - serializeList(name, value, rules, fn); - } else if (rules.type === 'map') { - serializeMap(name, value, rules, fn); - } else { - fn(name, rules.toWireFormat(value).toString()); - } -} -/** - * @api private - */ -module.exports = QueryParamSerializer; +var _CreateFpgaImageCommand = class _CreateFpgaImageCommand 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("AmazonEC2", "CreateFpgaImage", {}).n("EC2Client", "CreateFpgaImageCommand").f(void 0, void 0).ser(se_CreateFpgaImageCommand).de(de_CreateFpgaImageCommand).build() { +}; +__name(_CreateFpgaImageCommand, "CreateFpgaImageCommand"); +var CreateFpgaImageCommand = _CreateFpgaImageCommand; -/***/ }), +// src/commands/CreateImageCommand.ts -/***/ 16612: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * @api private - */ -var service = null; -/** - * @api private - */ -var api = { - signatureVersion: 'v4', - signingName: 'rds-db', - operations: {} +var _CreateImageCommand = class _CreateImageCommand 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("AmazonEC2", "CreateImage", {}).n("EC2Client", "CreateImageCommand").f(void 0, void 0).ser(se_CreateImageCommand).de(de_CreateImageCommand).build() { }; +__name(_CreateImageCommand, "CreateImageCommand"); +var CreateImageCommand = _CreateImageCommand; -/** - * @api private - */ -var requiredAuthTokenOptions = { - region: 'string', - hostname: 'string', - port: 'number', - username: 'string' +// src/commands/CreateInstanceConnectEndpointCommand.ts + + + + +var _CreateInstanceConnectEndpointCommand = class _CreateInstanceConnectEndpointCommand 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("AmazonEC2", "CreateInstanceConnectEndpoint", {}).n("EC2Client", "CreateInstanceConnectEndpointCommand").f(void 0, void 0).ser(se_CreateInstanceConnectEndpointCommand).de(de_CreateInstanceConnectEndpointCommand).build() { }; +__name(_CreateInstanceConnectEndpointCommand, "CreateInstanceConnectEndpointCommand"); +var CreateInstanceConnectEndpointCommand = _CreateInstanceConnectEndpointCommand; -/** - * A signer object can be used to generate an auth token to a database. - */ -AWS.RDS.Signer = AWS.util.inherit({ - /** - * Creates a signer object can be used to generate an auth token. - * - * @option options credentials [AWS.Credentials] the AWS credentials - * to sign requests with. Uses the default credential provider chain - * if not specified. - * @option options hostname [String] the hostname of the database to connect to. - * @option options port [Number] the port number the database is listening on. - * @option options region [String] the region the database is located in. - * @option options username [String] the username to login as. - * @example Passing in options to constructor - * var signer = new AWS.RDS.Signer({ - * credentials: new AWS.SharedIniFileCredentials({profile: 'default'}), - * region: 'us-east-1', - * hostname: 'db.us-east-1.rds.amazonaws.com', - * port: 8000, - * username: 'name' - * }); - */ - constructor: function Signer(options) { - this.options = options || {}; - }, +// src/commands/CreateInstanceEventWindowCommand.ts - /** - * @api private - * Strips the protocol from a url. - */ - convertUrlToAuthToken: function convertUrlToAuthToken(url) { - // we are always using https as the protocol - var protocol = 'https://'; - if (url.indexOf(protocol) === 0) { - return url.substring(protocol.length); - } - }, - /** - * @overload getAuthToken(options = {}, [callback]) - * Generate an auth token to a database. - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * - * @param options [map] The fields to use when generating an auth token. - * Any options specified here will be merged on top of any options passed - * to AWS.RDS.Signer: - * - * * **credentials** (AWS.Credentials) — the AWS credentials - * to sign requests with. Uses the default credential provider chain - * if not specified. - * * **hostname** (String) — the hostname of the database to connect to. - * * **port** (Number) — the port number the database is listening on. - * * **region** (String) — the region the database is located in. - * * **username** (String) — the username to login as. - * @return [String] if called synchronously (with no callback), returns the - * auth token. - * @return [null] nothing is returned if a callback is provided. - * @callback callback function (err, token) - * If a callback is supplied, it is called when an auth token has been generated. - * @param err [Error] the error object returned from the signer. - * @param token [String] the auth token. - * - * @example Generating an auth token synchronously - * var signer = new AWS.RDS.Signer({ - * // configure options - * region: 'us-east-1', - * username: 'default', - * hostname: 'db.us-east-1.amazonaws.com', - * port: 8000 - * }); - * var token = signer.getAuthToken({ - * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option - * // credentials are not specified here or when creating the signer, so default credential provider will be used - * username: 'test' // overriding username - * }); - * @example Generating an auth token asynchronously - * var signer = new AWS.RDS.Signer({ - * // configure options - * region: 'us-east-1', - * username: 'default', - * hostname: 'db.us-east-1.amazonaws.com', - * port: 8000 - * }); - * signer.getAuthToken({ - * // these options are merged with those defined when creating the signer, overriding in the case of a duplicate option - * // credentials are not specified here or when creating the signer, so default credential provider will be used - * username: 'test' // overriding username - * }, function(err, token) { - * if (err) { - * // handle error - * } else { - * // use token - * } - * }); - * - */ - getAuthToken: function getAuthToken(options, callback) { - if (typeof options === 'function' && callback === undefined) { - callback = options; - options = {}; - } - var self = this; - var hasCallback = typeof callback === 'function'; - // merge options with existing options - options = AWS.util.merge(this.options, options); - // validate options - var optionsValidation = this.validateAuthTokenOptions(options); - if (optionsValidation !== true) { - if (hasCallback) { - return callback(optionsValidation, null); - } - throw optionsValidation; - } - // 15 minutes - var expires = 900; - // create service to generate a request from - var serviceOptions = { - region: options.region, - endpoint: new AWS.Endpoint(options.hostname + ':' + options.port), - paramValidation: false, - signatureVersion: 'v4' - }; - if (options.credentials) { - serviceOptions.credentials = options.credentials; - } - service = new AWS.Service(serviceOptions); - // ensure the SDK is using sigv4 signing (config is not enough) - service.api = api; - - var request = service.makeRequest(); - // add listeners to request to properly build auth token - this.modifyRequestForAuthToken(request, options); - - if (hasCallback) { - request.presign(expires, function(err, url) { - if (url) { - url = self.convertUrlToAuthToken(url); - } - callback(err, url); - }); - } else { - var url = request.presign(expires); - return this.convertUrlToAuthToken(url); - } - }, - /** - * @api private - * Modifies a request to allow the presigner to generate an auth token. - */ - modifyRequestForAuthToken: function modifyRequestForAuthToken(request, options) { - request.on('build', request.buildAsGet); - var httpRequest = request.httpRequest; - httpRequest.body = AWS.util.queryParamsToString({ - Action: 'connect', - DBUser: options.username - }); - }, +var _CreateInstanceEventWindowCommand = class _CreateInstanceEventWindowCommand 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("AmazonEC2", "CreateInstanceEventWindow", {}).n("EC2Client", "CreateInstanceEventWindowCommand").f(void 0, void 0).ser(se_CreateInstanceEventWindowCommand).de(de_CreateInstanceEventWindowCommand).build() { +}; +__name(_CreateInstanceEventWindowCommand, "CreateInstanceEventWindowCommand"); +var CreateInstanceEventWindowCommand = _CreateInstanceEventWindowCommand; - /** - * @api private - * Validates that the options passed in contain all the keys with values of the correct type that - * are needed to generate an auth token. - */ - validateAuthTokenOptions: function validateAuthTokenOptions(options) { - // iterate over all keys in options - var message = ''; - options = options || {}; - for (var key in requiredAuthTokenOptions) { - if (!Object.prototype.hasOwnProperty.call(requiredAuthTokenOptions, key)) { - continue; - } - if (typeof options[key] !== requiredAuthTokenOptions[key]) { - message += 'option \'' + key + '\' should have been type \'' + requiredAuthTokenOptions[key] + '\', was \'' + typeof options[key] + '\'.\n'; - } - } - if (message.length) { - return AWS.util.error(new Error(), { - code: 'InvalidParameter', - message: message - }); - } - return true; - } -}); +// src/commands/CreateInstanceExportTaskCommand.ts -/***/ }), -/***/ 81370: -/***/ ((module) => { -module.exports = { - //provide realtime clock for performance measurement - now: function now() { - var second = process.hrtime(); - return second[0] * 1000 + (second[1] / 1000000); - } +var _CreateInstanceExportTaskCommand = class _CreateInstanceExportTaskCommand 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("AmazonEC2", "CreateInstanceExportTask", {}).n("EC2Client", "CreateInstanceExportTaskCommand").f(void 0, void 0).ser(se_CreateInstanceExportTaskCommand).de(de_CreateInstanceExportTaskCommand).build() { }; +__name(_CreateInstanceExportTaskCommand, "CreateInstanceExportTaskCommand"); +var CreateInstanceExportTaskCommand = _CreateInstanceExportTaskCommand; +// src/commands/CreateInternetGatewayCommand.ts -/***/ }), -/***/ 99517: -/***/ ((module) => { -function isFipsRegion(region) { - return typeof region === 'string' && (region.startsWith('fips-') || region.endsWith('-fips')); -} -function isGlobalRegion(region) { - return typeof region === 'string' && ['aws-global', 'aws-us-gov-global'].includes(region); -} +var _CreateInternetGatewayCommand = class _CreateInternetGatewayCommand 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("AmazonEC2", "CreateInternetGateway", {}).n("EC2Client", "CreateInternetGatewayCommand").f(void 0, void 0).ser(se_CreateInternetGatewayCommand).de(de_CreateInternetGatewayCommand).build() { +}; +__name(_CreateInternetGatewayCommand, "CreateInternetGatewayCommand"); +var CreateInternetGatewayCommand = _CreateInternetGatewayCommand; -function getRealRegion(region) { - return ['fips-aws-global', 'aws-fips', 'aws-global'].includes(region) - ? 'us-east-1' - : ['fips-aws-us-gov-global', 'aws-us-gov-global'].includes(region) - ? 'us-gov-west-1' - : region.replace(/fips-(dkr-|prod-)?|-fips/, ''); -} +// src/commands/CreateIpamCommand.ts -module.exports = { - isFipsRegion: isFipsRegion, - isGlobalRegion: isGlobalRegion, - getRealRegion: getRealRegion -}; -/***/ }), -/***/ 18262: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _CreateIpamCommand = class _CreateIpamCommand 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("AmazonEC2", "CreateIpam", {}).n("EC2Client", "CreateIpamCommand").f(void 0, void 0).ser(se_CreateIpamCommand).de(de_CreateIpamCommand).build() { +}; +__name(_CreateIpamCommand, "CreateIpamCommand"); +var CreateIpamCommand = _CreateIpamCommand; -var util = __nccwpck_require__(77985); -var regionConfig = __nccwpck_require__(80738); +// src/commands/CreateIpamPoolCommand.ts -function generateRegionPrefix(region) { - if (!region) return null; - var parts = region.split('-'); - if (parts.length < 3) return null; - return parts.slice(0, parts.length - 2).join('-') + '-*'; -} -function derivedKeys(service) { - var region = service.config.region; - var regionPrefix = generateRegionPrefix(region); - var endpointPrefix = service.api.endpointPrefix; + +var _CreateIpamPoolCommand = class _CreateIpamPoolCommand extends import_smithy_client.Command.classBuilder().ep({ + ...commonParams +}).m(function(Command, cs, config, o) { return [ - [region, endpointPrefix], - [regionPrefix, endpointPrefix], - [region, '*'], - [regionPrefix, '*'], - ['*', endpointPrefix], - [region, 'internal-*'], - ['*', '*'] - ].map(function(item) { - return item[0] && item[1] ? item.join('/') : null; - }); -} + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CreateIpamPool", {}).n("EC2Client", "CreateIpamPoolCommand").f(void 0, void 0).ser(se_CreateIpamPoolCommand).de(de_CreateIpamPoolCommand).build() { +}; +__name(_CreateIpamPoolCommand, "CreateIpamPoolCommand"); +var CreateIpamPoolCommand = _CreateIpamPoolCommand; -function applyConfig(service, config) { - util.each(config, function(key, value) { - if (key === 'globalEndpoint') return; - if (service.config[key] === undefined || service.config[key] === null) { - service.config[key] = value; - } - }); -} +// src/commands/CreateIpamResourceDiscoveryCommand.ts -function configureEndpoint(service) { - var keys = derivedKeys(service); - var useFipsEndpoint = service.config.useFipsEndpoint; - var useDualstackEndpoint = service.config.useDualstackEndpoint; - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - if (!key) continue; - var rules = useFipsEndpoint - ? useDualstackEndpoint - ? regionConfig.dualstackFipsRules - : regionConfig.fipsRules - : useDualstackEndpoint - ? regionConfig.dualstackRules - : regionConfig.rules; - if (Object.prototype.hasOwnProperty.call(rules, key)) { - var config = rules[key]; - if (typeof config === 'string') { - config = regionConfig.patterns[config]; - } - // set global endpoint - service.isGlobalEndpoint = !!config.globalEndpoint; - if (config.signingRegion) { - service.signingRegion = config.signingRegion; - } +var _CreateIpamResourceDiscoveryCommand = class _CreateIpamResourceDiscoveryCommand 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("AmazonEC2", "CreateIpamResourceDiscovery", {}).n("EC2Client", "CreateIpamResourceDiscoveryCommand").f(void 0, void 0).ser(se_CreateIpamResourceDiscoveryCommand).de(de_CreateIpamResourceDiscoveryCommand).build() { +}; +__name(_CreateIpamResourceDiscoveryCommand, "CreateIpamResourceDiscoveryCommand"); +var CreateIpamResourceDiscoveryCommand = _CreateIpamResourceDiscoveryCommand; - // signature version - if (!config.signatureVersion) { - // Note: config is a global object and should not be mutated here. - // However, we are retaining this line for backwards compatibility. - // The non-v4 signatureVersion will be set in a copied object below. - config.signatureVersion = 'v4'; - } +// src/commands/CreateIpamScopeCommand.ts - var useBearer = (service.api && service.api.signatureVersion) === 'bearer'; - // merge config - applyConfig(service, Object.assign( - {}, - config, - { signatureVersion: useBearer ? 'bearer' : config.signatureVersion } - )); - return; - } - } -} -function getEndpointSuffix(region) { - var regionRegexes = { - '^(us|eu|ap|sa|ca|me)\\-\\w+\\-\\d+$': 'amazonaws.com', - '^cn\\-\\w+\\-\\d+$': 'amazonaws.com.cn', - '^us\\-gov\\-\\w+\\-\\d+$': 'amazonaws.com', - '^us\\-iso\\-\\w+\\-\\d+$': 'c2s.ic.gov', - '^us\\-isob\\-\\w+\\-\\d+$': 'sc2s.sgov.gov' - }; - var defaultSuffix = 'amazonaws.com'; - var regexes = Object.keys(regionRegexes); - for (var i = 0; i < regexes.length; i++) { - var regionPattern = RegExp(regexes[i]); - var dnsSuffix = regionRegexes[regexes[i]]; - if (regionPattern.test(region)) return dnsSuffix; - } - return defaultSuffix; -} -/** - * @api private - */ -module.exports = { - configureEndpoint: configureEndpoint, - getEndpointSuffix: getEndpointSuffix, +var _CreateIpamScopeCommand = class _CreateIpamScopeCommand 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("AmazonEC2", "CreateIpamScope", {}).n("EC2Client", "CreateIpamScopeCommand").f(void 0, void 0).ser(se_CreateIpamScopeCommand).de(de_CreateIpamScopeCommand).build() { }; +__name(_CreateIpamScopeCommand, "CreateIpamScopeCommand"); +var CreateIpamScopeCommand = _CreateIpamScopeCommand; +// src/commands/CreateKeyPairCommand.ts -/***/ }), -/***/ 78652: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var AcceptorStateMachine = __nccwpck_require__(68118); -var inherit = AWS.util.inherit; -var domain = AWS.util.domain; -var jmespath = __nccwpck_require__(87783); -/** - * @api private - */ -var hardErrorStates = {success: 1, error: 1, complete: 1}; - -function isTerminalState(machine) { - return Object.prototype.hasOwnProperty.call(hardErrorStates, machine._asm.currentState); -} - -var fsm = new AcceptorStateMachine(); -fsm.setupStates = function() { - var transition = function(_, done) { - var self = this; - self._haltHandlersOnError = false; - - self.emit(self._asm.currentState, function(err) { - if (err) { - if (isTerminalState(self)) { - if (domain && self.domain instanceof domain.Domain) { - err.domainEmitter = self; - err.domain = self.domain; - err.domainThrown = false; - self.domain.emit('error', err); - } else { - throw err; - } - } else { - self.response.error = err; - done(err); - } - } else { - done(self.response.error); - } - }); - }; +// src/models/models_1.ts - this.addState('validate', 'build', 'error', transition); - this.addState('build', 'afterBuild', 'restart', transition); - this.addState('afterBuild', 'sign', 'restart', transition); - this.addState('sign', 'send', 'retry', transition); - this.addState('retry', 'afterRetry', 'afterRetry', transition); - this.addState('afterRetry', 'sign', 'error', transition); - this.addState('send', 'validateResponse', 'retry', transition); - this.addState('validateResponse', 'extractData', 'extractError', transition); - this.addState('extractError', 'extractData', 'retry', transition); - this.addState('extractData', 'success', 'retry', transition); - this.addState('restart', 'build', 'error', transition); - this.addState('success', 'complete', 'complete', transition); - this.addState('error', 'complete', 'complete', transition); - this.addState('complete', null, null, transition); +var CarrierGatewayState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" }; -fsm.setupStates(); - -/** - * ## Asynchronous Requests - * - * All requests made through the SDK are asynchronous and use a - * callback interface. Each service method that kicks off a request - * returns an `AWS.Request` object that you can use to register - * callbacks. - * - * For example, the following service method returns the request - * object as "request", which can be used to register callbacks: - * - * ```javascript - * // request is an AWS.Request object - * var request = ec2.describeInstances(); - * - * // register callbacks on request to retrieve response data - * request.on('success', function(response) { - * console.log(response.data); - * }); - * ``` - * - * When a request is ready to be sent, the {send} method should - * be called: - * - * ```javascript - * request.send(); - * ``` - * - * Since registered callbacks may or may not be idempotent, requests should only - * be sent once. To perform the same operation multiple times, you will need to - * create multiple request objects, each with its own registered callbacks. - * - * ## Removing Default Listeners for Events - * - * Request objects are built with default listeners for the various events, - * depending on the service type. In some cases, you may want to remove - * some built-in listeners to customize behaviour. Doing this requires - * access to the built-in listener functions, which are exposed through - * the {AWS.EventListeners.Core} namespace. For instance, you may - * want to customize the HTTP handler used when sending a request. In this - * case, you can remove the built-in listener associated with the 'send' - * event, the {AWS.EventListeners.Core.SEND} listener and add your own. - * - * ## Multiple Callbacks and Chaining - * - * You can register multiple callbacks on any request object. The - * callbacks can be registered for different events, or all for the - * same event. In addition, you can chain callback registration, for - * example: - * - * ```javascript - * request. - * on('success', function(response) { - * console.log("Success!"); - * }). - * on('error', function(error, response) { - * console.log("Error!"); - * }). - * on('complete', function(response) { - * console.log("Always!"); - * }). - * send(); - * ``` - * - * The above example will print either "Success! Always!", or "Error! Always!", - * depending on whether the request succeeded or not. - * - * @!attribute httpRequest - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpRequest] the raw HTTP request object - * containing request headers and body information - * sent by the service. - * - * @!attribute startTime - * @readonly - * @!group Operation Properties - * @return [Date] the time that the request started - * - * @!group Request Building Events - * - * @!event validate(request) - * Triggered when a request is being validated. Listeners - * should throw an error if the request should not be sent. - * @param request [Request] the request object being sent - * @see AWS.EventListeners.Core.VALIDATE_CREDENTIALS - * @see AWS.EventListeners.Core.VALIDATE_REGION - * @example Ensuring that a certain parameter is set before sending a request - * var req = s3.putObject(params); - * req.on('validate', function() { - * if (!req.params.Body.match(/^Hello\s/)) { - * throw new Error('Body must start with "Hello "'); - * } - * }); - * req.send(function(err, data) { ... }); - * - * @!event build(request) - * Triggered when the request payload is being built. Listeners - * should fill the necessary information to send the request - * over HTTP. - * @param (see AWS.Request~validate) - * @example Add a custom HTTP header to a request - * var req = s3.putObject(params); - * req.on('build', function() { - * req.httpRequest.headers['Custom-Header'] = 'value'; - * }); - * req.send(function(err, data) { ... }); - * - * @!event sign(request) - * Triggered when the request is being signed. Listeners should - * add the correct authentication headers and/or adjust the body, - * depending on the authentication mechanism being used. - * @param (see AWS.Request~validate) - * - * @!group Request Sending Events - * - * @!event send(response) - * Triggered when the request is ready to be sent. Listeners - * should call the underlying transport layer to initiate - * the sending of the request. - * @param response [Response] the response object - * @context [Request] the request object that was sent - * @see AWS.EventListeners.Core.SEND - * - * @!event retry(response) - * Triggered when a request failed and might need to be retried or redirected. - * If the response is retryable, the listener should set the - * `response.error.retryable` property to `true`, and optionally set - * `response.error.retryDelay` to the millisecond delay for the next attempt. - * In the case of a redirect, `response.error.redirect` should be set to - * `true` with `retryDelay` set to an optional delay on the next request. - * - * If a listener decides that a request should not be retried, - * it should set both `retryable` and `redirect` to false. - * - * Note that a retryable error will be retried at most - * {AWS.Config.maxRetries} times (based on the service object's config). - * Similarly, a request that is redirected will only redirect at most - * {AWS.Config.maxRedirects} times. - * - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @example Adding a custom retry for a 404 response - * request.on('retry', function(response) { - * // this resource is not yet available, wait 10 seconds to get it again - * if (response.httpResponse.statusCode === 404 && response.error) { - * response.error.retryable = true; // retry this error - * response.error.retryDelay = 10000; // wait 10 seconds - * } - * }); - * - * @!group Data Parsing Events - * - * @!event extractError(response) - * Triggered on all non-2xx requests so that listeners can extract - * error details from the response body. Listeners to this event - * should set the `response.error` property. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event extractData(response) - * Triggered in successful requests to allow listeners to - * de-serialize the response body into `response.data`. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group Completion Events - * - * @!event success(response) - * Triggered when the request completed successfully. - * `response.data` will contain the response data and - * `response.error` will be null. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event error(error, response) - * Triggered when an error occurs at any point during the - * request. `response.error` will contain details about the error - * that occurred. `response.data` will be null. - * @param error [Error] the error object containing details about - * the error that occurred. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event complete(response) - * Triggered whenever a request cycle completes. `response.error` - * should be checked, since the request may have failed. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!group HTTP Events - * - * @!event httpHeaders(statusCode, headers, response, statusMessage) - * Triggered when headers are sent by the remote server - * @param statusCode [Integer] the HTTP response code - * @param headers [map] the response headers - * @param (see AWS.Request~send) - * @param statusMessage [String] A status message corresponding to the HTTP - * response code - * @context (see AWS.Request~send) - * - * @!event httpData(chunk, response) - * Triggered when data is sent by the remote server - * @param chunk [Buffer] the buffer data containing the next data chunk - * from the server - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @see AWS.EventListeners.Core.HTTP_DATA - * - * @!event httpUploadProgress(progress, response) - * Triggered when the HTTP request has uploaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpDownloadProgress(progress, response) - * Triggered when the HTTP request has downloaded more data - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request. - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * @note This event will not be emitted in Node.js 0.8.x. - * - * @!event httpError(error, response) - * Triggered when the HTTP request failed - * @param error [Error] the error object that was thrown - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @!event httpDone(response) - * Triggered when the server is finished sending data - * @param (see AWS.Request~send) - * @context (see AWS.Request~send) - * - * @see AWS.Response - */ -AWS.Request = inherit({ - - /** - * Creates a request for an operation on a given service with - * a set of input parameters. - * - * @param service [AWS.Service] the service to perform the operation on - * @param operation [String] the operation to perform on the service - * @param params [Object] parameters to send to the operation. - * See the operation's documentation for the format of the - * parameters. - */ - constructor: function Request(service, operation, params) { - var endpoint = service.endpoint; - var region = service.config.region; - var customUserAgent = service.config.customUserAgent; +var ClientVpnAuthenticationType = { + certificate_authentication: "certificate-authentication", + directory_service_authentication: "directory-service-authentication", + federated_authentication: "federated-authentication" +}; +var SelfServicePortal = { + disabled: "disabled", + enabled: "enabled" +}; +var TransportProtocol = { + tcp: "tcp", + udp: "udp" +}; +var ClientVpnEndpointStatusCode = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending_associate: "pending-associate" +}; +var ClientVpnRouteStatusCode = { + active: "active", + creating: "creating", + deleting: "deleting", + failed: "failed" +}; +var GatewayType = { + ipsec_1: "ipsec.1" +}; +var HostnameType = { + ip_name: "ip-name", + resource_name: "resource-name" +}; +var SubnetState = { + available: "available", + pending: "pending", + unavailable: "unavailable" +}; +var Tenancy = { + dedicated: "dedicated", + default: "default", + host: "host" +}; +var VpcState = { + available: "available", + pending: "pending" +}; +var FleetExcessCapacityTerminationPolicy = { + NO_TERMINATION: "no-termination", + TERMINATION: "termination" +}; +var BareMetal = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required" +}; +var BurstablePerformance = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required" +}; +var CpuManufacturer = { + AMAZON_WEB_SERVICES: "amazon-web-services", + AMD: "amd", + INTEL: "intel" +}; +var InstanceGeneration = { + CURRENT: "current", + PREVIOUS: "previous" +}; +var LocalStorage = { + EXCLUDED: "excluded", + INCLUDED: "included", + REQUIRED: "required" +}; +var LocalStorageType = { + HDD: "hdd", + SSD: "ssd" +}; +var FleetOnDemandAllocationStrategy = { + LOWEST_PRICE: "lowest-price", + PRIORITIZED: "prioritized" +}; +var FleetCapacityReservationUsageStrategy = { + USE_CAPACITY_RESERVATIONS_FIRST: "use-capacity-reservations-first" +}; +var SpotAllocationStrategy = { + CAPACITY_OPTIMIZED: "capacity-optimized", + CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized", + DIVERSIFIED: "diversified", + LOWEST_PRICE: "lowest-price", + PRICE_CAPACITY_OPTIMIZED: "price-capacity-optimized" +}; +var SpotInstanceInterruptionBehavior = { + hibernate: "hibernate", + stop: "stop", + terminate: "terminate" +}; +var FleetReplacementStrategy = { + LAUNCH: "launch", + LAUNCH_BEFORE_TERMINATE: "launch-before-terminate" +}; +var DefaultTargetCapacityType = { + CAPACITY_BLOCK: "capacity-block", + ON_DEMAND: "on-demand", + SPOT: "spot" +}; +var TargetCapacityUnitType = { + MEMORY_MIB: "memory-mib", + UNITS: "units", + VCPU: "vcpu" +}; +var FleetType = { + INSTANT: "instant", + MAINTAIN: "maintain", + REQUEST: "request" +}; +var InstanceLifecycle = { + ON_DEMAND: "on-demand", + SPOT: "spot" +}; +var PlatformValues = { + Windows: "Windows" +}; +var DestinationFileFormat = { + parquet: "parquet", + plain_text: "plain-text" +}; +var LogDestinationType = { + cloud_watch_logs: "cloud-watch-logs", + kinesis_data_firehose: "kinesis-data-firehose", + s3: "s3" +}; +var FlowLogsResourceType = { + NetworkInterface: "NetworkInterface", + Subnet: "Subnet", + TransitGateway: "TransitGateway", + TransitGatewayAttachment: "TransitGatewayAttachment", + VPC: "VPC" +}; +var TrafficType = { + ACCEPT: "ACCEPT", + ALL: "ALL", + REJECT: "REJECT" +}; +var VolumeType = { + gp2: "gp2", + gp3: "gp3", + io1: "io1", + io2: "io2", + sc1: "sc1", + st1: "st1", + standard: "standard" +}; +var Ec2InstanceConnectEndpointState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_failed: "delete-failed", + delete_in_progress: "delete-in-progress" +}; +var ContainerFormat = { + ova: "ova" +}; +var DiskImageFormat = { + RAW: "RAW", + VHD: "VHD", + VMDK: "VMDK" +}; +var ExportEnvironment = { + citrix: "citrix", + microsoft: "microsoft", + vmware: "vmware" +}; +var ExportTaskState = { + active: "active", + cancelled: "cancelled", + cancelling: "cancelling", + completed: "completed" +}; +var IpamTier = { + advanced: "advanced", + free: "free" +}; +var IpamState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_failed: "delete-failed", + delete_in_progress: "delete-in-progress", + isolate_complete: "isolate-complete", + isolate_in_progress: "isolate-in-progress", + modify_complete: "modify-complete", + modify_failed: "modify-failed", + modify_in_progress: "modify-in-progress", + restore_in_progress: "restore-in-progress" +}; +var IpamPoolAwsService = { + ec2: "ec2" +}; +var IpamPoolPublicIpSource = { + amazon: "amazon", + byoip: "byoip" +}; +var IpamPoolSourceResourceType = { + vpc: "vpc" +}; +var IpamScopeType = { + private: "private", + public: "public" +}; +var IpamPoolState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_failed: "delete-failed", + delete_in_progress: "delete-in-progress", + isolate_complete: "isolate-complete", + isolate_in_progress: "isolate-in-progress", + modify_complete: "modify-complete", + modify_failed: "modify-failed", + modify_in_progress: "modify-in-progress", + restore_in_progress: "restore-in-progress" +}; +var IpamResourceDiscoveryState = { + CREATE_COMPLETE: "create-complete", + CREATE_FAILED: "create-failed", + CREATE_IN_PROGRESS: "create-in-progress", + DELETE_COMPLETE: "delete-complete", + DELETE_FAILED: "delete-failed", + DELETE_IN_PROGRESS: "delete-in-progress", + ISOLATE_COMPLETE: "isolate-complete", + ISOLATE_IN_PROGRESS: "isolate-in-progress", + MODIFY_COMPLETE: "modify-complete", + MODIFY_FAILED: "modify-failed", + MODIFY_IN_PROGRESS: "modify-in-progress", + RESTORE_IN_PROGRESS: "restore-in-progress" +}; +var IpamScopeState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_failed: "delete-failed", + delete_in_progress: "delete-in-progress", + isolate_complete: "isolate-complete", + isolate_in_progress: "isolate-in-progress", + modify_complete: "modify-complete", + modify_failed: "modify-failed", + modify_in_progress: "modify-in-progress", + restore_in_progress: "restore-in-progress" +}; +var KeyFormat = { + pem: "pem", + ppk: "ppk" +}; +var KeyType = { + ed25519: "ed25519", + rsa: "rsa" +}; +var CapacityReservationPreference = { + none: "none", + open: "open" +}; +var AmdSevSnpSpecification = { + disabled: "disabled", + enabled: "enabled" +}; +var ShutdownBehavior = { + stop: "stop", + terminate: "terminate" +}; +var MarketType = { + capacity_block: "capacity-block", + spot: "spot" +}; +var InstanceInterruptionBehavior = { + hibernate: "hibernate", + stop: "stop", + terminate: "terminate" +}; +var SpotInstanceType = { + one_time: "one-time", + persistent: "persistent" +}; +var LaunchTemplateAutoRecoveryState = { + default: "default", + disabled: "disabled" +}; +var LaunchTemplateInstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled" +}; +var LaunchTemplateInstanceMetadataProtocolIpv6 = { + disabled: "disabled", + enabled: "enabled" +}; +var LaunchTemplateHttpTokensState = { + optional: "optional", + required: "required" +}; +var LaunchTemplateInstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled" +}; +var LaunchTemplateInstanceMetadataOptionsState = { + applied: "applied", + pending: "pending" +}; +var LocalGatewayRouteState = { + active: "active", + blackhole: "blackhole", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var LocalGatewayRouteType = { + propagated: "propagated", + static: "static" +}; +var LocalGatewayRouteTableMode = { + coip: "coip", + direct_vpc_routing: "direct-vpc-routing" +}; +var PrefixListState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_failed: "delete-failed", + delete_in_progress: "delete-in-progress", + modify_complete: "modify-complete", + modify_failed: "modify-failed", + modify_in_progress: "modify-in-progress", + restore_complete: "restore-complete", + restore_failed: "restore-failed", + restore_in_progress: "restore-in-progress" +}; +var ConnectivityType = { + PRIVATE: "private", + PUBLIC: "public" +}; +var NatGatewayState = { + AVAILABLE: "available", + DELETED: "deleted", + DELETING: "deleting", + FAILED: "failed", + PENDING: "pending" +}; +var RuleAction = { + allow: "allow", + deny: "deny" +}; +var NetworkInterfaceCreationType = { + branch: "branch", + efa: "efa", + trunk: "trunk" +}; +var NetworkInterfaceType = { + api_gateway_managed: "api_gateway_managed", + aws_codestar_connections_managed: "aws_codestar_connections_managed", + branch: "branch", + efa: "efa", + gateway_load_balancer: "gateway_load_balancer", + gateway_load_balancer_endpoint: "gateway_load_balancer_endpoint", + global_accelerator_managed: "global_accelerator_managed", + interface: "interface", + iot_rules_managed: "iot_rules_managed", + lambda: "lambda", + load_balancer: "load_balancer", + natGateway: "natGateway", + network_load_balancer: "network_load_balancer", + quicksight: "quicksight", + transit_gateway: "transit_gateway", + trunk: "trunk", + vpc_endpoint: "vpc_endpoint" +}; +var KeyPairFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.KeyMaterial && { KeyMaterial: import_smithy_client.SENSITIVE_STRING } +}), "KeyPairFilterSensitiveLog"); +var RequestLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "RequestLaunchTemplateDataFilterSensitiveLog"); +var CreateLaunchTemplateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateData && { + LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) + } +}), "CreateLaunchTemplateRequestFilterSensitiveLog"); +var CreateLaunchTemplateVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateData && { + LaunchTemplateData: RequestLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) + } +}), "CreateLaunchTemplateVersionRequestFilterSensitiveLog"); +var ResponseLaunchTemplateDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "ResponseLaunchTemplateDataFilterSensitiveLog"); +var LaunchTemplateVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateData && { + LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) + } +}), "LaunchTemplateVersionFilterSensitiveLog"); +var CreateLaunchTemplateVersionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateVersion && { + LaunchTemplateVersion: LaunchTemplateVersionFilterSensitiveLog(obj.LaunchTemplateVersion) + } +}), "CreateLaunchTemplateVersionResultFilterSensitiveLog"); + +// src/commands/CreateKeyPairCommand.ts +var _CreateKeyPairCommand = class _CreateKeyPairCommand 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("AmazonEC2", "CreateKeyPair", {}).n("EC2Client", "CreateKeyPairCommand").f(void 0, KeyPairFilterSensitiveLog).ser(se_CreateKeyPairCommand).de(de_CreateKeyPairCommand).build() { +}; +__name(_CreateKeyPairCommand, "CreateKeyPairCommand"); +var CreateKeyPairCommand = _CreateKeyPairCommand; - if (service.signingRegion) { - region = service.signingRegion; - } else if (service.isGlobalEndpoint) { - region = 'us-east-1'; - } +// src/commands/CreateLaunchTemplateCommand.ts - this.domain = domain && domain.active; - this.service = service; - this.operation = operation; - this.params = params || {}; - this.httpRequest = new AWS.HttpRequest(endpoint, region); - this.httpRequest.appendToUserAgent(customUserAgent); - this.startTime = service.getSkewCorrectedDate(); - - this.response = new AWS.Response(this); - this._asm = new AcceptorStateMachine(fsm.states, 'validate'); - this._haltHandlersOnError = false; - - AWS.SequentialExecutor.call(this); - this.emit = this.emitEvent; - }, - /** - * @!group Sending a Request - */ - /** - * @overload send(callback = null) - * Sends the request object. - * - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @context [AWS.Request] the request object being sent. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - * @example Sending a request with a callback - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.send(function(err, data) { console.log(err, data); }); - * @example Sending a request with no callback (using event handlers) - * request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * request.on('complete', function(response) { ... }); // register a callback - * request.send(); - */ - send: function send(callback) { - if (callback) { - // append to user agent - this.httpRequest.appendToUserAgent('callback'); - this.on('complete', function (resp) { - callback.call(resp, resp.error, resp.data); - }); - } - this.runTo(); - return this.response; - }, +var _CreateLaunchTemplateCommand = class _CreateLaunchTemplateCommand 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("AmazonEC2", "CreateLaunchTemplate", {}).n("EC2Client", "CreateLaunchTemplateCommand").f(CreateLaunchTemplateRequestFilterSensitiveLog, void 0).ser(se_CreateLaunchTemplateCommand).de(de_CreateLaunchTemplateCommand).build() { +}; +__name(_CreateLaunchTemplateCommand, "CreateLaunchTemplateCommand"); +var CreateLaunchTemplateCommand = _CreateLaunchTemplateCommand; - /** - * @!method promise() - * Sends the request and returns a 'thenable' promise. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(data) - * Called if the promise is fulfilled. - * @param data [Object] the de-serialized data returned from the request. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param error [Error] the error object returned from the request. - * @return [Promise] A promise that represents the state of the request. - * @example Sending a request using promises. - * var request = s3.putObject({Bucket: 'bucket', Key: 'key'}); - * var result = request.promise(); - * result.then(function(data) { ... }, function(error) { ... }); - */ +// src/commands/CreateLaunchTemplateVersionCommand.ts - /** - * @api private - */ - build: function build(callback) { - return this.runTo('send', callback); - }, - /** - * @api private - */ - runTo: function runTo(state, done) { - this._asm.runTo(state, done, this); - return this; - }, - /** - * Aborts a request, emitting the error and complete events. - * - * @!macro nobrowser - * @example Aborting a request after sending - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: Buffer.alloc(1024 * 1024 * 5) // 5MB payload - * }; - * var request = s3.putObject(params); - * request.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(request.abort.bind(request), 1000); - * - * // prints "Error: RequestAbortedError Request aborted by user" - * @return [AWS.Request] the same request object, for chaining. - * @since v1.4.0 - */ - abort: function abort() { - this.removeAllListeners('validateResponse'); - this.removeAllListeners('extractError'); - this.on('validateResponse', function addAbortedError(resp) { - resp.error = AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - }); - }); - if (this.httpRequest.stream && !this.httpRequest.stream.didCallback) { // abort HTTP stream - this.httpRequest.stream.abort(); - if (this.httpRequest._abortCallback) { - this.httpRequest._abortCallback(); - } else { - this.removeAllListeners('send'); // haven't sent yet, so let's not - } - } +var _CreateLaunchTemplateVersionCommand = class _CreateLaunchTemplateVersionCommand 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("AmazonEC2", "CreateLaunchTemplateVersion", {}).n("EC2Client", "CreateLaunchTemplateVersionCommand").f(CreateLaunchTemplateVersionRequestFilterSensitiveLog, CreateLaunchTemplateVersionResultFilterSensitiveLog).ser(se_CreateLaunchTemplateVersionCommand).de(de_CreateLaunchTemplateVersionCommand).build() { +}; +__name(_CreateLaunchTemplateVersionCommand, "CreateLaunchTemplateVersionCommand"); +var CreateLaunchTemplateVersionCommand = _CreateLaunchTemplateVersionCommand; - return this; - }, +// src/commands/CreateLocalGatewayRouteCommand.ts - /** - * Iterates over each page of results given a pageable request, calling - * the provided callback with each page of data. After all pages have been - * retrieved, the callback is called with `null` data. - * - * @note This operation can generate multiple requests to a service. - * @example Iterating over multiple pages of objects in an S3 bucket - * var pages = 1; - * s3.listObjects().eachPage(function(err, data) { - * if (err) return; - * console.log("Page", pages++); - * console.log(data); - * }); - * @example Iterating over multiple pages with an asynchronous callback - * s3.listObjects(params).eachPage(function(err, data, done) { - * doSomethingAsyncAndOrExpensive(function() { - * // The next page of results isn't fetched until done is called - * done(); - * }); - * }); - * @callback callback function(err, data, [doneCallback]) - * Called with each page of resulting data from the request. If the - * optional `doneCallback` is provided in the function, it must be called - * when the callback is complete. - * - * @param err [Error] an error object, if an error occurred. - * @param data [Object] a single page of response data. If there is no - * more data, this object will be `null`. - * @param doneCallback [Function] an optional done callback. If this - * argument is defined in the function declaration, it should be called - * when the next page is ready to be retrieved. This is useful for - * controlling serial pagination across asynchronous operations. - * @return [Boolean] if the callback returns `false`, pagination will - * stop. - * - * @see AWS.Request.eachItem - * @see AWS.Response.nextPage - * @since v1.4.0 - */ - eachPage: function eachPage(callback) { - // Make all callbacks async-ish - callback = AWS.util.fn.makeAsync(callback, 3); - function wrappedCallback(response) { - callback.call(response, response.error, response.data, function (result) { - if (result === false) return; - if (response.hasNextPage()) { - response.nextPage().on('complete', wrappedCallback).send(); - } else { - callback.call(response, null, null, AWS.util.fn.noop); - } - }); - } - this.on('complete', wrappedCallback).send(); - }, +var _CreateLocalGatewayRouteCommand = class _CreateLocalGatewayRouteCommand 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("AmazonEC2", "CreateLocalGatewayRoute", {}).n("EC2Client", "CreateLocalGatewayRouteCommand").f(void 0, void 0).ser(se_CreateLocalGatewayRouteCommand).de(de_CreateLocalGatewayRouteCommand).build() { +}; +__name(_CreateLocalGatewayRouteCommand, "CreateLocalGatewayRouteCommand"); +var CreateLocalGatewayRouteCommand = _CreateLocalGatewayRouteCommand; - /** - * Enumerates over individual items of a request, paging the responses if - * necessary. - * - * @api experimental - * @since v1.4.0 - */ - eachItem: function eachItem(callback) { - var self = this; - function wrappedCallback(err, data) { - if (err) return callback(err, null); - if (data === null) return callback(null, null); - - var config = self.service.paginationConfig(self.operation); - var resultKey = config.resultKey; - if (Array.isArray(resultKey)) resultKey = resultKey[0]; - var items = jmespath.search(data, resultKey); - var continueIteration = true; - AWS.util.arrayEach(items, function(item) { - continueIteration = callback(null, item); - if (continueIteration === false) { - return AWS.util.abort; - } - }); - return continueIteration; - } +// src/commands/CreateLocalGatewayRouteTableCommand.ts - this.eachPage(wrappedCallback); - }, - /** - * @return [Boolean] whether the operation can return multiple pages of - * response data. - * @see AWS.Response.eachPage - * @since v1.4.0 - */ - isPageable: function isPageable() { - return this.service.paginationConfig(this.operation) ? true : false; - }, - /** - * Sends the request and converts the request object into a readable stream - * that can be read from or piped into a writable stream. - * - * @note The data read from a readable stream contains only - * the raw HTTP body contents. - * @example Manually reading from a stream - * request.createReadStream().on('data', function(data) { - * console.log("Got data:", data.toString()); - * }); - * @example Piping a request body into a file - * var out = fs.createWriteStream('/path/to/outfile.jpg'); - * s3.service.getObject(params).createReadStream().pipe(out); - * @return [Stream] the readable stream object that can be piped - * or read from (by registering 'data' event listeners). - * @!macro nobrowser - */ - createReadStream: function createReadStream() { - var streams = AWS.util.stream; - var req = this; - var stream = null; - - if (AWS.HttpClient.streamsApiVersion === 2) { - stream = new streams.PassThrough(); - process.nextTick(function() { req.send(); }); - } else { - stream = new streams.Stream(); - stream.readable = true; - - stream.sent = false; - stream.on('newListener', function(event) { - if (!stream.sent && event === 'data') { - stream.sent = true; - process.nextTick(function() { req.send(); }); - } - }); - } - this.on('error', function(err) { - stream.emit('error', err); - }); +var _CreateLocalGatewayRouteTableCommand = class _CreateLocalGatewayRouteTableCommand 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("AmazonEC2", "CreateLocalGatewayRouteTable", {}).n("EC2Client", "CreateLocalGatewayRouteTableCommand").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableCommand).de(de_CreateLocalGatewayRouteTableCommand).build() { +}; +__name(_CreateLocalGatewayRouteTableCommand, "CreateLocalGatewayRouteTableCommand"); +var CreateLocalGatewayRouteTableCommand = _CreateLocalGatewayRouteTableCommand; - this.on('httpHeaders', function streamHeaders(statusCode, headers, resp) { - if (statusCode < 300) { - req.removeListener('httpData', AWS.EventListeners.Core.HTTP_DATA); - req.removeListener('httpError', AWS.EventListeners.Core.HTTP_ERROR); - req.on('httpError', function streamHttpError(error) { - resp.error = error; - resp.error.retryable = false; - }); +// src/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts - var shouldCheckContentLength = false; - var expectedLen; - if (req.httpRequest.method !== 'HEAD') { - expectedLen = parseInt(headers['content-length'], 10); - } - if (expectedLen !== undefined && !isNaN(expectedLen) && expectedLen >= 0) { - shouldCheckContentLength = true; - var receivedLen = 0; - } - var checkContentLengthAndEmit = function checkContentLengthAndEmit() { - if (shouldCheckContentLength && receivedLen !== expectedLen) { - stream.emit('error', AWS.util.error( - new Error('Stream content length mismatch. Received ' + - receivedLen + ' of ' + expectedLen + ' bytes.'), - { code: 'StreamContentLengthMismatch' } - )); - } else if (AWS.HttpClient.streamsApiVersion === 2) { - stream.end(); - } else { - stream.emit('end'); - } - }; - var httpStream = resp.httpResponse.createUnbufferedStream(); - if (AWS.HttpClient.streamsApiVersion === 2) { - if (shouldCheckContentLength) { - var lengthAccumulator = new streams.PassThrough(); - lengthAccumulator._write = function(chunk) { - if (chunk && chunk.length) { - receivedLen += chunk.length; - } - return streams.PassThrough.prototype._write.apply(this, arguments); - }; +var _CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = class _CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand 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("AmazonEC2", "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation", {}).n("EC2Client", "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).de(de_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).build() { +}; +__name(_CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, "CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = _CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand; - lengthAccumulator.on('end', checkContentLengthAndEmit); - stream.on('error', function(err) { - shouldCheckContentLength = false; - httpStream.unpipe(lengthAccumulator); - lengthAccumulator.emit('end'); - lengthAccumulator.end(); - }); - httpStream.pipe(lengthAccumulator).pipe(stream, { end: false }); - } else { - httpStream.pipe(stream); - } - } else { +// src/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts - if (shouldCheckContentLength) { - httpStream.on('data', function(arg) { - if (arg && arg.length) { - receivedLen += arg.length; - } - }); - } - httpStream.on('data', function(arg) { - stream.emit('data', arg); - }); - httpStream.on('end', checkContentLengthAndEmit); - } - httpStream.on('error', function(err) { - shouldCheckContentLength = false; - stream.emit('error', err); - }); - } - }); - return stream; - }, +var _CreateLocalGatewayRouteTableVpcAssociationCommand = class _CreateLocalGatewayRouteTableVpcAssociationCommand 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("AmazonEC2", "CreateLocalGatewayRouteTableVpcAssociation", {}).n("EC2Client", "CreateLocalGatewayRouteTableVpcAssociationCommand").f(void 0, void 0).ser(se_CreateLocalGatewayRouteTableVpcAssociationCommand).de(de_CreateLocalGatewayRouteTableVpcAssociationCommand).build() { +}; +__name(_CreateLocalGatewayRouteTableVpcAssociationCommand, "CreateLocalGatewayRouteTableVpcAssociationCommand"); +var CreateLocalGatewayRouteTableVpcAssociationCommand = _CreateLocalGatewayRouteTableVpcAssociationCommand; - /** - * @param [Array,Response] args This should be the response object, - * or an array of args to send to the event. - * @api private - */ - emitEvent: function emit(eventName, args, done) { - if (typeof args === 'function') { done = args; args = null; } - if (!done) done = function() { }; - if (!args) args = this.eventParameters(eventName, this.response); +// src/commands/CreateManagedPrefixListCommand.ts - var origEmit = AWS.SequentialExecutor.prototype.emit; - origEmit.call(this, eventName, args, function (err) { - if (err) this.response.error = err; - done.call(this, err); - }); - }, - /** - * @api private - */ - eventParameters: function eventParameters(eventName) { - switch (eventName) { - case 'restart': - case 'validate': - case 'sign': - case 'build': - case 'afterValidate': - case 'afterBuild': - return [this]; - case 'error': - return [this.response.error, this.response]; - default: - return [this.response]; - } - }, - /** - * @api private - */ - presign: function presign(expires, callback) { - if (!callback && typeof expires === 'function') { - callback = expires; - expires = null; - } - return new AWS.Signers.Presign().sign(this.toGet(), expires, callback); - }, - /** - * @api private - */ - isPresigned: function isPresigned() { - return Object.prototype.hasOwnProperty.call(this.httpRequest.headers, 'presigned-expires'); - }, +var _CreateManagedPrefixListCommand = class _CreateManagedPrefixListCommand 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("AmazonEC2", "CreateManagedPrefixList", {}).n("EC2Client", "CreateManagedPrefixListCommand").f(void 0, void 0).ser(se_CreateManagedPrefixListCommand).de(de_CreateManagedPrefixListCommand).build() { +}; +__name(_CreateManagedPrefixListCommand, "CreateManagedPrefixListCommand"); +var CreateManagedPrefixListCommand = _CreateManagedPrefixListCommand; - /** - * @api private - */ - toUnauthenticated: function toUnauthenticated() { - this._unAuthenticated = true; - this.removeListener('validate', AWS.EventListeners.Core.VALIDATE_CREDENTIALS); - this.removeListener('sign', AWS.EventListeners.Core.SIGN); - return this; - }, +// src/commands/CreateNatGatewayCommand.ts - /** - * @api private - */ - toGet: function toGet() { - if (this.service.api.protocol === 'query' || - this.service.api.protocol === 'ec2') { - this.removeListener('build', this.buildAsGet); - this.addListener('build', this.buildAsGet); - } - return this; - }, - /** - * @api private - */ - buildAsGet: function buildAsGet(request) { - request.httpRequest.method = 'GET'; - request.httpRequest.path = request.service.endpoint.path + - '?' + request.httpRequest.body; - request.httpRequest.body = ''; - - // don't need these headers on a GET request - delete request.httpRequest.headers['Content-Length']; - delete request.httpRequest.headers['Content-Type']; - }, - /** - * @api private - */ - haltHandlersOnError: function haltHandlersOnError() { - this._haltHandlersOnError = true; - } -}); -/** - * @api private - */ -AWS.Request.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.promise = function promise() { - var self = this; - // append to user agent - this.httpRequest.appendToUserAgent('promise'); - return new PromiseDependency(function(resolve, reject) { - self.on('complete', function(resp) { - if (resp.error) { - reject(resp.error); - } else { - // define $response property so that it is not enumerable - // this prevents circular reference errors when stringifying the JSON object - resolve(Object.defineProperty( - resp.data || {}, - '$response', - {value: resp} - )); - } - }); - self.runTo(); - }); - }; +var _CreateNatGatewayCommand = class _CreateNatGatewayCommand 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("AmazonEC2", "CreateNatGateway", {}).n("EC2Client", "CreateNatGatewayCommand").f(void 0, void 0).ser(se_CreateNatGatewayCommand).de(de_CreateNatGatewayCommand).build() { }; +__name(_CreateNatGatewayCommand, "CreateNatGatewayCommand"); +var CreateNatGatewayCommand = _CreateNatGatewayCommand; -/** - * @api private - */ -AWS.Request.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.promise; -}; +// src/commands/CreateNetworkAclCommand.ts -AWS.util.addPromises(AWS.Request); -AWS.util.mixin(AWS.Request, AWS.SequentialExecutor); -/***/ }), +var _CreateNetworkAclCommand = class _CreateNetworkAclCommand 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("AmazonEC2", "CreateNetworkAcl", {}).n("EC2Client", "CreateNetworkAclCommand").f(void 0, void 0).ser(se_CreateNetworkAclCommand).de(de_CreateNetworkAclCommand).build() { +}; +__name(_CreateNetworkAclCommand, "CreateNetworkAclCommand"); +var CreateNetworkAclCommand = _CreateNetworkAclCommand; -/***/ 39925: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/CreateNetworkAclEntryCommand.ts -/** - * Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"). You - * may not use this file except in compliance with the License. A copy of - * the License is located at - * - * http://aws.amazon.com/apache2.0/ - * - * or in the "license" file accompanying this file. This file is - * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF - * ANY KIND, either express or implied. See the License for the specific - * language governing permissions and limitations under the License. - */ -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; -var jmespath = __nccwpck_require__(87783); -/** - * @api private - */ -function CHECK_ACCEPTORS(resp) { - var waiter = resp.request._waiter; - var acceptors = waiter.config.acceptors; - var acceptorMatched = false; - var state = 'retry'; - acceptors.forEach(function(acceptor) { - if (!acceptorMatched) { - var matcher = waiter.matchers[acceptor.matcher]; - if (matcher && matcher(resp, acceptor.expected, acceptor.argument)) { - acceptorMatched = true; - state = acceptor.state; - } - } - }); +var _CreateNetworkAclEntryCommand = class _CreateNetworkAclEntryCommand 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("AmazonEC2", "CreateNetworkAclEntry", {}).n("EC2Client", "CreateNetworkAclEntryCommand").f(void 0, void 0).ser(se_CreateNetworkAclEntryCommand).de(de_CreateNetworkAclEntryCommand).build() { +}; +__name(_CreateNetworkAclEntryCommand, "CreateNetworkAclEntryCommand"); +var CreateNetworkAclEntryCommand = _CreateNetworkAclEntryCommand; - if (!acceptorMatched && resp.error) state = 'failure'; +// src/commands/CreateNetworkInsightsAccessScopeCommand.ts - if (state === 'success') { - waiter.setSuccess(resp); - } else { - waiter.setError(resp, state === 'retry'); - } -} -/** - * @api private - */ -AWS.ResourceWaiter = inherit({ - /** - * Waits for a given state on a service object - * @param service [Service] the service object to wait on - * @param state [String] the state (defined in waiter configuration) to wait - * for. - * @example Create a waiter for running EC2 instances - * var ec2 = new AWS.EC2; - * var waiter = new AWS.ResourceWaiter(ec2, 'instanceRunning'); - */ - constructor: function constructor(service, state) { - this.service = service; - this.state = state; - this.loadWaiterConfig(this.state); - }, - service: null, - state: null, +var _CreateNetworkInsightsAccessScopeCommand = class _CreateNetworkInsightsAccessScopeCommand 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("AmazonEC2", "CreateNetworkInsightsAccessScope", {}).n("EC2Client", "CreateNetworkInsightsAccessScopeCommand").f(void 0, void 0).ser(se_CreateNetworkInsightsAccessScopeCommand).de(de_CreateNetworkInsightsAccessScopeCommand).build() { +}; +__name(_CreateNetworkInsightsAccessScopeCommand, "CreateNetworkInsightsAccessScopeCommand"); +var CreateNetworkInsightsAccessScopeCommand = _CreateNetworkInsightsAccessScopeCommand; - config: null, +// src/commands/CreateNetworkInsightsPathCommand.ts - matchers: { - path: function(resp, expected, argument) { - try { - var result = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } - return jmespath.strictDeepEqual(result,expected); - }, - pathAll: function(resp, expected, argument) { - try { - var results = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } - if (!Array.isArray(results)) results = [results]; - var numResults = results.length; - if (!numResults) return false; - for (var ind = 0 ; ind < numResults; ind++) { - if (!jmespath.strictDeepEqual(results[ind], expected)) { - return false; - } - } - return true; - }, +var _CreateNetworkInsightsPathCommand = class _CreateNetworkInsightsPathCommand 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("AmazonEC2", "CreateNetworkInsightsPath", {}).n("EC2Client", "CreateNetworkInsightsPathCommand").f(void 0, void 0).ser(se_CreateNetworkInsightsPathCommand).de(de_CreateNetworkInsightsPathCommand).build() { +}; +__name(_CreateNetworkInsightsPathCommand, "CreateNetworkInsightsPathCommand"); +var CreateNetworkInsightsPathCommand = _CreateNetworkInsightsPathCommand; - pathAny: function(resp, expected, argument) { - try { - var results = jmespath.search(resp.data, argument); - } catch (err) { - return false; - } +// src/commands/CreateNetworkInterfaceCommand.ts - if (!Array.isArray(results)) results = [results]; - var numResults = results.length; - for (var ind = 0 ; ind < numResults; ind++) { - if (jmespath.strictDeepEqual(results[ind], expected)) { - return true; - } - } - return false; - }, - status: function(resp, expected) { - var statusCode = resp.httpResponse.statusCode; - return (typeof statusCode === 'number') && (statusCode === expected); - }, - error: function(resp, expected) { - if (typeof expected === 'string' && resp.error) { - return expected === resp.error.code; - } - // if expected is not string, can be boolean indicating presence of error - return expected === !!resp.error; - } - }, - listeners: new AWS.SequentialExecutor().addNamedListeners(function(add) { - add('RETRY_CHECK', 'retry', function(resp) { - var waiter = resp.request._waiter; - if (resp.error && resp.error.code === 'ResourceNotReady') { - resp.error.retryDelay = (waiter.config.delay || 0) * 1000; - } - }); +var _CreateNetworkInterfaceCommand = class _CreateNetworkInterfaceCommand 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("AmazonEC2", "CreateNetworkInterface", {}).n("EC2Client", "CreateNetworkInterfaceCommand").f(void 0, void 0).ser(se_CreateNetworkInterfaceCommand).de(de_CreateNetworkInterfaceCommand).build() { +}; +__name(_CreateNetworkInterfaceCommand, "CreateNetworkInterfaceCommand"); +var CreateNetworkInterfaceCommand = _CreateNetworkInterfaceCommand; - add('CHECK_OUTPUT', 'extractData', CHECK_ACCEPTORS); +// src/commands/CreateNetworkInterfacePermissionCommand.ts - add('CHECK_ERROR', 'extractError', CHECK_ACCEPTORS); - }), - /** - * @return [AWS.Request] - */ - wait: function wait(params, callback) { - if (typeof params === 'function') { - callback = params; params = undefined; - } - if (params && params.$waiter) { - params = AWS.util.copy(params); - if (typeof params.$waiter.delay === 'number') { - this.config.delay = params.$waiter.delay; - } - if (typeof params.$waiter.maxAttempts === 'number') { - this.config.maxAttempts = params.$waiter.maxAttempts; - } - delete params.$waiter; - } - var request = this.service.makeRequest(this.config.operation, params); - request._waiter = this; - request.response.maxRetries = this.config.maxAttempts; - request.addListeners(this.listeners); +var _CreateNetworkInterfacePermissionCommand = class _CreateNetworkInterfacePermissionCommand 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("AmazonEC2", "CreateNetworkInterfacePermission", {}).n("EC2Client", "CreateNetworkInterfacePermissionCommand").f(void 0, void 0).ser(se_CreateNetworkInterfacePermissionCommand).de(de_CreateNetworkInterfacePermissionCommand).build() { +}; +__name(_CreateNetworkInterfacePermissionCommand, "CreateNetworkInterfacePermissionCommand"); +var CreateNetworkInterfacePermissionCommand = _CreateNetworkInterfacePermissionCommand; - if (callback) request.send(callback); - return request; - }, +// src/commands/CreatePlacementGroupCommand.ts - setSuccess: function setSuccess(resp) { - resp.error = null; - resp.data = resp.data || {}; - resp.request.removeAllListeners('extractData'); - }, - setError: function setError(resp, retryable) { - resp.data = null; - resp.error = AWS.util.error(resp.error || new Error(), { - code: 'ResourceNotReady', - message: 'Resource is not in the state ' + this.state, - retryable: retryable - }); - }, - /** - * Loads waiter configuration from API configuration - * - * @api private - */ - loadWaiterConfig: function loadWaiterConfig(state) { - if (!this.service.api.waiters[state]) { - throw new AWS.util.error(new Error(), { - code: 'StateNotFoundError', - message: 'State ' + state + ' not found.' - }); - } - this.config = AWS.util.copy(this.service.api.waiters[state]); - } -}); +var _CreatePlacementGroupCommand = class _CreatePlacementGroupCommand 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("AmazonEC2", "CreatePlacementGroup", {}).n("EC2Client", "CreatePlacementGroupCommand").f(void 0, void 0).ser(se_CreatePlacementGroupCommand).de(de_CreatePlacementGroupCommand).build() { +}; +__name(_CreatePlacementGroupCommand, "CreatePlacementGroupCommand"); +var CreatePlacementGroupCommand = _CreatePlacementGroupCommand; +// src/commands/CreatePublicIpv4PoolCommand.ts -/***/ }), -/***/ 58743: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; -var jmespath = __nccwpck_require__(87783); -/** - * This class encapsulates the response information - * from a service request operation sent through {AWS.Request}. - * The response object has two main properties for getting information - * back from a request: - * - * ## The `data` property - * - * The `response.data` property contains the serialized object data - * retrieved from the service request. For instance, for an - * Amazon DynamoDB `listTables` method call, the response data might - * look like: - * - * ``` - * > resp.data - * { TableNames: - * [ 'table1', 'table2', ... ] } - * ``` - * - * The `data` property can be null if an error occurs (see below). - * - * ## The `error` property - * - * In the event of a service error (or transfer error), the - * `response.error` property will be filled with the given - * error data in the form: - * - * ``` - * { code: 'SHORT_UNIQUE_ERROR_CODE', - * message: 'Some human readable error message' } - * ``` - * - * In the case of an error, the `data` property will be `null`. - * Note that if you handle events that can be in a failure state, - * you should always check whether `response.error` is set - * before attempting to access the `response.data` property. - * - * @!attribute data - * @readonly - * @!group Data Properties - * @note Inside of a {AWS.Request~httpData} event, this - * property contains a single raw packet instead of the - * full de-serialized service response. - * @return [Object] the de-serialized response data - * from the service. - * - * @!attribute error - * An structure containing information about a service - * or networking error. - * @readonly - * @!group Data Properties - * @note This attribute is only filled if a service or - * networking error occurs. - * @return [Error] - * * code [String] a unique short code representing the - * error that was emitted. - * * message [String] a longer human readable error message - * * retryable [Boolean] whether the error message is - * retryable. - * * statusCode [Numeric] in the case of a request that reached the service, - * this value contains the response status code. - * * time [Date] the date time object when the error occurred. - * * hostname [String] set when a networking error occurs to easily - * identify the endpoint of the request. - * * region [String] set when a networking error occurs to easily - * identify the region of the request. - * - * @!attribute requestId - * @readonly - * @!group Data Properties - * @return [String] the unique request ID associated with the response. - * Log this value when debugging requests for AWS support. - * - * @!attribute retryCount - * @readonly - * @!group Operation Properties - * @return [Integer] the number of retries that were - * attempted before the request was completed. - * - * @!attribute redirectCount - * @readonly - * @!group Operation Properties - * @return [Integer] the number of redirects that were - * followed before the request was completed. - * - * @!attribute httpResponse - * @readonly - * @!group HTTP Properties - * @return [AWS.HttpResponse] the raw HTTP response object - * containing the response headers and body information - * from the server. - * - * @see AWS.Request - */ -AWS.Response = inherit({ +var _CreatePublicIpv4PoolCommand = class _CreatePublicIpv4PoolCommand 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("AmazonEC2", "CreatePublicIpv4Pool", {}).n("EC2Client", "CreatePublicIpv4PoolCommand").f(void 0, void 0).ser(se_CreatePublicIpv4PoolCommand).de(de_CreatePublicIpv4PoolCommand).build() { +}; +__name(_CreatePublicIpv4PoolCommand, "CreatePublicIpv4PoolCommand"); +var CreatePublicIpv4PoolCommand = _CreatePublicIpv4PoolCommand; - /** - * @api private - */ - constructor: function Response(request) { - this.request = request; - this.data = null; - this.error = null; - this.retryCount = 0; - this.redirectCount = 0; - this.httpResponse = new AWS.HttpResponse(); - if (request) { - this.maxRetries = request.service.numRetries(); - this.maxRedirects = request.service.config.maxRedirects; - } - }, +// src/commands/CreateReplaceRootVolumeTaskCommand.ts - /** - * Creates a new request for the next page of response data, calling the - * callback with the page data if a callback is provided. - * - * @callback callback function(err, data) - * Called when a page of data is returned from the next request. - * - * @param err [Error] an error object, if an error occurred in the request - * @param data [Object] the next page of data, or null, if there are no - * more pages left. - * @return [AWS.Request] the request object for the next page of data - * @return [null] if no callback is provided and there are no pages left - * to retrieve. - * @since v1.4.0 - */ - nextPage: function nextPage(callback) { - var config; - var service = this.request.service; - var operation = this.request.operation; - try { - config = service.paginationConfig(operation, true); - } catch (e) { this.error = e; } - if (!this.hasNextPage()) { - if (callback) callback(this.error, null); - else if (this.error) throw this.error; - return null; - } - var params = AWS.util.copy(this.request.params); - if (!this.nextPageTokens) { - return callback ? callback(null, null) : null; - } else { - var inputTokens = config.inputToken; - if (typeof inputTokens === 'string') inputTokens = [inputTokens]; - for (var i = 0; i < inputTokens.length; i++) { - params[inputTokens[i]] = this.nextPageTokens[i]; - } - return service.makeRequest(this.request.operation, params, callback); - } - }, - /** - * @return [Boolean] whether more pages of data can be returned by further - * requests - * @since v1.4.0 - */ - hasNextPage: function hasNextPage() { - this.cacheNextPageTokens(); - if (this.nextPageTokens) return true; - if (this.nextPageTokens === undefined) return undefined; - else return false; - }, +var _CreateReplaceRootVolumeTaskCommand = class _CreateReplaceRootVolumeTaskCommand 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("AmazonEC2", "CreateReplaceRootVolumeTask", {}).n("EC2Client", "CreateReplaceRootVolumeTaskCommand").f(void 0, void 0).ser(se_CreateReplaceRootVolumeTaskCommand).de(de_CreateReplaceRootVolumeTaskCommand).build() { +}; +__name(_CreateReplaceRootVolumeTaskCommand, "CreateReplaceRootVolumeTaskCommand"); +var CreateReplaceRootVolumeTaskCommand = _CreateReplaceRootVolumeTaskCommand; - /** - * @api private - */ - cacheNextPageTokens: function cacheNextPageTokens() { - if (Object.prototype.hasOwnProperty.call(this, 'nextPageTokens')) return this.nextPageTokens; - this.nextPageTokens = undefined; +// src/commands/CreateReservedInstancesListingCommand.ts - var config = this.request.service.paginationConfig(this.request.operation); - if (!config) return this.nextPageTokens; - this.nextPageTokens = null; - if (config.moreResults) { - if (!jmespath.search(this.data, config.moreResults)) { - return this.nextPageTokens; - } - } - var exprs = config.outputToken; - if (typeof exprs === 'string') exprs = [exprs]; - AWS.util.arrayEach.call(this, exprs, function (expr) { - var output = jmespath.search(this.data, expr); - if (output) { - this.nextPageTokens = this.nextPageTokens || []; - this.nextPageTokens.push(output); - } - }); - return this.nextPageTokens; - } +var _CreateReservedInstancesListingCommand = class _CreateReservedInstancesListingCommand 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("AmazonEC2", "CreateReservedInstancesListing", {}).n("EC2Client", "CreateReservedInstancesListingCommand").f(void 0, void 0).ser(se_CreateReservedInstancesListingCommand).de(de_CreateReservedInstancesListingCommand).build() { +}; +__name(_CreateReservedInstancesListingCommand, "CreateReservedInstancesListingCommand"); +var CreateReservedInstancesListingCommand = _CreateReservedInstancesListingCommand; -}); +// src/commands/CreateRestoreImageTaskCommand.ts -/***/ }), -/***/ 81600: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var byteLength = AWS.util.string.byteLength; -var Buffer = AWS.util.Buffer; +var _CreateRestoreImageTaskCommand = class _CreateRestoreImageTaskCommand 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("AmazonEC2", "CreateRestoreImageTask", {}).n("EC2Client", "CreateRestoreImageTaskCommand").f(void 0, void 0).ser(se_CreateRestoreImageTaskCommand).de(de_CreateRestoreImageTaskCommand).build() { +}; +__name(_CreateRestoreImageTaskCommand, "CreateRestoreImageTaskCommand"); +var CreateRestoreImageTaskCommand = _CreateRestoreImageTaskCommand; -/** - * The managed uploader allows for easy and efficient uploading of buffers, - * blobs, or streams, using a configurable amount of concurrency to perform - * multipart uploads where possible. This abstraction also enables uploading - * streams of unknown size due to the use of multipart uploads. - * - * To construct a managed upload object, see the {constructor} function. - * - * ## Tracking upload progress - * - * The managed upload object can also track progress by attaching an - * 'httpUploadProgress' listener to the upload manager. This event is similar - * to {AWS.Request~httpUploadProgress} but groups all concurrent upload progress - * into a single event. See {AWS.S3.ManagedUpload~httpUploadProgress} for more - * information. - * - * ## Handling Multipart Cleanup - * - * By default, this class will automatically clean up any multipart uploads - * when an individual part upload fails. This behavior can be disabled in order - * to manually handle failures by setting the `leavePartsOnError` configuration - * option to `true` when initializing the upload object. - * - * @!event httpUploadProgress(progress) - * Triggered when the uploader has uploaded more data. - * @note The `total` property may not be set if the stream being uploaded has - * not yet finished chunking. In this case the `total` will be undefined - * until the total stream size is known. - * @note This event will not be emitted in Node.js 0.8.x. - * @param progress [map] An object containing the `loaded` and `total` bytes - * of the request and the `key` of the S3 object. Note that `total` may be undefined until the payload - * size is known. - * @context (see AWS.Request~send) - */ -AWS.S3.ManagedUpload = AWS.util.inherit({ - /** - * Creates a managed upload object with a set of configuration options. - * - * @note A "Body" parameter is required to be set prior to calling {send}. - * @note In Node.js, sending "Body" as {https://nodejs.org/dist/latest/docs/api/stream.html#stream_object_mode object-mode stream} - * may result in upload hangs. Using buffer stream is preferable. - * @option options params [map] a map of parameters to pass to the upload - * requests. The "Body" parameter is required to be specified either on - * the service or in the params option. - * @note ContentMD5 should not be provided when using the managed upload object. - * Instead, setting "computeChecksums" to true will enable automatic ContentMD5 generation - * by the managed upload object. - * @option options queueSize [Number] (4) the size of the concurrent queue - * manager to upload parts in parallel. Set to 1 for synchronous uploading - * of parts. Note that the uploader will buffer at most queueSize * partSize - * bytes into memory at any given time. - * @option options partSize [Number] (5mb) the size in bytes for each - * individual part to be uploaded. Adjust the part size to ensure the number - * of parts does not exceed {maxTotalParts}. See {minPartSize} for the - * minimum allowed part size. - * @option options leavePartsOnError [Boolean] (false) whether to abort the - * multipart upload if an error occurs. Set to true if you want to handle - * failures manually. - * @option options service [AWS.S3] an optional S3 service object to use for - * requests. This object might have bound parameters used by the uploader. - * @option options tags [Array] The tags to apply to the uploaded object. - * Each tag should have a `Key` and `Value` keys. - * @example Creating a default uploader for a stream object - * var upload = new AWS.S3.ManagedUpload({ - * params: {Bucket: 'bucket', Key: 'key', Body: stream} - * }); - * @example Creating an uploader with concurrency of 1 and partSize of 10mb - * var upload = new AWS.S3.ManagedUpload({ - * partSize: 10 * 1024 * 1024, queueSize: 1, - * params: {Bucket: 'bucket', Key: 'key', Body: stream} - * }); - * @example Creating an uploader with tags - * var upload = new AWS.S3.ManagedUpload({ - * params: {Bucket: 'bucket', Key: 'key', Body: stream}, - * tags: [{Key: 'tag1', Value: 'value1'}, {Key: 'tag2', Value: 'value2'}] - * }); - * @see send - */ - constructor: function ManagedUpload(options) { - var self = this; - AWS.SequentialExecutor.call(self); - self.body = null; - self.sliceFn = null; - self.callback = null; - self.parts = {}; - self.completeInfo = []; - self.fillQueue = function() { - self.callback(new Error('Unsupported body payload ' + typeof self.body)); - }; +// src/commands/CreateRouteCommand.ts - self.configure(options); - }, - /** - * @api private - */ - configure: function configure(options) { - options = options || {}; - this.partSize = this.minPartSize; - if (options.queueSize) this.queueSize = options.queueSize; - if (options.partSize) this.partSize = options.partSize; - if (options.leavePartsOnError) this.leavePartsOnError = true; - if (options.tags) { - if (!Array.isArray(options.tags)) { - throw new Error('Tags must be specified as an array; ' + - typeof options.tags + ' provided.'); - } - this.tags = options.tags; - } - if (this.partSize < this.minPartSize) { - throw new Error('partSize must be greater than ' + - this.minPartSize); - } +var _CreateRouteCommand = class _CreateRouteCommand 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("AmazonEC2", "CreateRoute", {}).n("EC2Client", "CreateRouteCommand").f(void 0, void 0).ser(se_CreateRouteCommand).de(de_CreateRouteCommand).build() { +}; +__name(_CreateRouteCommand, "CreateRouteCommand"); +var CreateRouteCommand = _CreateRouteCommand; - this.service = options.service; - this.bindServiceObject(options.params); - this.validateBody(); - this.adjustTotalBytes(); - }, +// src/commands/CreateRouteTableCommand.ts - /** - * @api private - */ - leavePartsOnError: false, - /** - * @api private - */ - queueSize: 4, - /** - * @api private - */ - partSize: null, - /** - * @readonly - * @return [Number] the minimum number of bytes for an individual part - * upload. - */ - minPartSize: 1024 * 1024 * 5, +var _CreateRouteTableCommand = class _CreateRouteTableCommand 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("AmazonEC2", "CreateRouteTable", {}).n("EC2Client", "CreateRouteTableCommand").f(void 0, void 0).ser(se_CreateRouteTableCommand).de(de_CreateRouteTableCommand).build() { +}; +__name(_CreateRouteTableCommand, "CreateRouteTableCommand"); +var CreateRouteTableCommand = _CreateRouteTableCommand; - /** - * @readonly - * @return [Number] the maximum allowed number of parts in a multipart upload. - */ - maxTotalParts: 10000, +// src/commands/CreateSecurityGroupCommand.ts - /** - * Initiates the managed upload for the payload. - * - * @callback callback function(err, data) - * @param err [Error] an error or null if no error occurred. - * @param data [map] The response data from the successful upload: - * * `Location` (String) the URL of the uploaded object - * * `ETag` (String) the ETag of the uploaded object - * * `Bucket` (String) the bucket to which the object was uploaded - * * `Key` (String) the key to which the object was uploaded - * @example Sending a managed upload object - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * var upload = new AWS.S3.ManagedUpload({params: params}); - * upload.send(function(err, data) { - * console.log(err, data); - * }); - */ - send: function(callback) { - var self = this; - self.failed = false; - self.callback = callback || function(err) { if (err) throw err; }; - - var runFill = true; - if (self.sliceFn) { - self.fillQueue = self.fillBuffer; - } else if (AWS.util.isNode()) { - var Stream = AWS.util.stream.Stream; - if (self.body instanceof Stream) { - runFill = false; - self.fillQueue = self.fillStream; - self.partBuffers = []; - self.body. - on('error', function(err) { self.cleanup(err); }). - on('readable', function() { self.fillQueue(); }). - on('end', function() { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers; - self.fillQueue.call(self); - - if (self.isDoneChunking && self.totalPartNumbers >= 1 && self.doneParts === self.numParts) { - self.finishMultiPart(); - } - }); - } - } - if (runFill) self.fillQueue.call(self); - }, - /** - * @!method promise() - * Returns a 'thenable' promise. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(data) - * Called if the promise is fulfilled. - * @param data [map] The response data from the successful upload: - * `Location` (String) the URL of the uploaded object - * `ETag` (String) the ETag of the uploaded object - * `Bucket` (String) the bucket to which the object was uploaded - * `Key` (String) the key to which the object was uploaded - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] an error or null if no error occurred. - * @return [Promise] A promise that represents the state of the upload request. - * @example Sending an upload request using promises. - * var upload = s3.upload({Bucket: 'bucket', Key: 'key', Body: stream}); - * var promise = upload.promise(); - * promise.then(function(data) { ... }, function(err) { ... }); - */ - /** - * Aborts a managed upload, including all concurrent upload requests. - * @note By default, calling this function will cleanup a multipart upload - * if one was created. To leave the multipart upload around after aborting - * a request, configure `leavePartsOnError` to `true` in the {constructor}. - * @note Calling {abort} in the browser environment will not abort any requests - * that are already in flight. If a multipart upload was created, any parts - * not yet uploaded will not be sent, and the multipart upload will be cleaned up. - * @example Aborting an upload - * var params = { - * Bucket: 'bucket', Key: 'key', - * Body: Buffer.alloc(1024 * 1024 * 25) // 25MB payload - * }; - * var upload = s3.upload(params); - * upload.send(function (err, data) { - * if (err) console.log("Error:", err.code, err.message); - * else console.log(data); - * }); - * - * // abort request in 1 second - * setTimeout(upload.abort.bind(upload), 1000); - */ - abort: function() { - var self = this; - //abort putObject request - if (self.isDoneChunking === true && self.totalPartNumbers === 1 && self.singlePart) { - self.singlePart.abort(); - } else { - self.cleanup(AWS.util.error(new Error('Request aborted by user'), { - code: 'RequestAbortedError', retryable: false - })); - } - }, +var _CreateSecurityGroupCommand = class _CreateSecurityGroupCommand 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("AmazonEC2", "CreateSecurityGroup", {}).n("EC2Client", "CreateSecurityGroupCommand").f(void 0, void 0).ser(se_CreateSecurityGroupCommand).de(de_CreateSecurityGroupCommand).build() { +}; +__name(_CreateSecurityGroupCommand, "CreateSecurityGroupCommand"); +var CreateSecurityGroupCommand = _CreateSecurityGroupCommand; - /** - * @api private - */ - validateBody: function validateBody() { - var self = this; - self.body = self.service.config.params.Body; - if (typeof self.body === 'string') { - self.body = AWS.util.buffer.toBuffer(self.body); - } else if (!self.body) { - throw new Error('params.Body is required'); - } - self.sliceFn = AWS.util.arraySliceFn(self.body); - }, +// src/commands/CreateSnapshotCommand.ts - /** - * @api private - */ - bindServiceObject: function bindServiceObject(params) { - params = params || {}; - var self = this; - // bind parameters to new service object - if (!self.service) { - self.service = new AWS.S3({params: params}); - } else { - // Create a new S3 client from the supplied client's constructor. - var service = self.service; - var config = AWS.util.copy(service.config); - config.signatureVersion = service.getSignatureVersion(); - self.service = new service.constructor.__super__(config); - self.service.config.params = - AWS.util.merge(self.service.config.params || {}, params); - Object.defineProperty(self.service, '_originalConfig', { - get: function() { return service._originalConfig; }, - enumerable: false, - configurable: true - }); - } - }, - /** - * @api private - */ - adjustTotalBytes: function adjustTotalBytes() { - var self = this; - try { // try to get totalBytes - self.totalBytes = byteLength(self.body); - } catch (e) { } - - // try to adjust partSize if we know payload length - if (self.totalBytes) { - var newPartSize = Math.ceil(self.totalBytes / self.maxTotalParts); - if (newPartSize > self.partSize) self.partSize = newPartSize; - } else { - self.totalBytes = undefined; - } - }, - /** - * @api private - */ - isDoneChunking: false, - /** - * @api private - */ - partPos: 0, +var _CreateSnapshotCommand = class _CreateSnapshotCommand 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("AmazonEC2", "CreateSnapshot", {}).n("EC2Client", "CreateSnapshotCommand").f(void 0, void 0).ser(se_CreateSnapshotCommand).de(de_CreateSnapshotCommand).build() { +}; +__name(_CreateSnapshotCommand, "CreateSnapshotCommand"); +var CreateSnapshotCommand = _CreateSnapshotCommand; - /** - * @api private - */ - totalChunkedBytes: 0, +// src/commands/CreateSnapshotsCommand.ts - /** - * @api private - */ - totalUploadedBytes: 0, - /** - * @api private - */ - totalBytes: undefined, - /** - * @api private - */ - numParts: 0, - /** - * @api private - */ - totalPartNumbers: 0, +var _CreateSnapshotsCommand = class _CreateSnapshotsCommand 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("AmazonEC2", "CreateSnapshots", {}).n("EC2Client", "CreateSnapshotsCommand").f(void 0, void 0).ser(se_CreateSnapshotsCommand).de(de_CreateSnapshotsCommand).build() { +}; +__name(_CreateSnapshotsCommand, "CreateSnapshotsCommand"); +var CreateSnapshotsCommand = _CreateSnapshotsCommand; - /** - * @api private - */ - activeParts: 0, +// src/commands/CreateSpotDatafeedSubscriptionCommand.ts - /** - * @api private - */ - doneParts: 0, - /** - * @api private - */ - parts: null, - /** - * @api private - */ - completeInfo: null, - /** - * @api private - */ - failed: false, +var _CreateSpotDatafeedSubscriptionCommand = class _CreateSpotDatafeedSubscriptionCommand 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("AmazonEC2", "CreateSpotDatafeedSubscription", {}).n("EC2Client", "CreateSpotDatafeedSubscriptionCommand").f(void 0, void 0).ser(se_CreateSpotDatafeedSubscriptionCommand).de(de_CreateSpotDatafeedSubscriptionCommand).build() { +}; +__name(_CreateSpotDatafeedSubscriptionCommand, "CreateSpotDatafeedSubscriptionCommand"); +var CreateSpotDatafeedSubscriptionCommand = _CreateSpotDatafeedSubscriptionCommand; - /** - * @api private - */ - multipartReq: null, +// src/commands/CreateStoreImageTaskCommand.ts - /** - * @api private - */ - partBuffers: null, - /** - * @api private - */ - partBufferLength: 0, - /** - * @api private - */ - fillBuffer: function fillBuffer() { - var self = this; - var bodyLen = byteLength(self.body); - - if (bodyLen === 0) { - self.isDoneChunking = true; - self.numParts = 1; - self.nextChunk(self.body); - return; - } - while (self.activeParts < self.queueSize && self.partPos < bodyLen) { - var endPos = Math.min(self.partPos + self.partSize, bodyLen); - var buf = self.sliceFn.call(self.body, self.partPos, endPos); - self.partPos += self.partSize; +var _CreateStoreImageTaskCommand = class _CreateStoreImageTaskCommand 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("AmazonEC2", "CreateStoreImageTask", {}).n("EC2Client", "CreateStoreImageTaskCommand").f(void 0, void 0).ser(se_CreateStoreImageTaskCommand).de(de_CreateStoreImageTaskCommand).build() { +}; +__name(_CreateStoreImageTaskCommand, "CreateStoreImageTaskCommand"); +var CreateStoreImageTaskCommand = _CreateStoreImageTaskCommand; - if (byteLength(buf) < self.partSize || self.partPos === bodyLen) { - self.isDoneChunking = true; - self.numParts = self.totalPartNumbers + 1; - } - self.nextChunk(buf); - } - }, +// src/commands/CreateSubnetCidrReservationCommand.ts - /** - * @api private - */ - fillStream: function fillStream() { - var self = this; - if (self.activeParts >= self.queueSize) return; - var buf = self.body.read(self.partSize - self.partBufferLength) || - self.body.read(); - if (buf) { - self.partBuffers.push(buf); - self.partBufferLength += buf.length; - self.totalChunkedBytes += buf.length; - } - if (self.partBufferLength >= self.partSize) { - // if we have single buffer we avoid copyfull concat - var pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - // if we have more than partSize, push the rest back on the queue - if (pbuf.length > self.partSize) { - var rest = pbuf.slice(self.partSize); - self.partBuffers.push(rest); - self.partBufferLength += rest.length; - pbuf = pbuf.slice(0, self.partSize); - } +var _CreateSubnetCidrReservationCommand = class _CreateSubnetCidrReservationCommand 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("AmazonEC2", "CreateSubnetCidrReservation", {}).n("EC2Client", "CreateSubnetCidrReservationCommand").f(void 0, void 0).ser(se_CreateSubnetCidrReservationCommand).de(de_CreateSubnetCidrReservationCommand).build() { +}; +__name(_CreateSubnetCidrReservationCommand, "CreateSubnetCidrReservationCommand"); +var CreateSubnetCidrReservationCommand = _CreateSubnetCidrReservationCommand; - self.nextChunk(pbuf); - } +// src/commands/CreateSubnetCommand.ts - if (self.isDoneChunking && !self.isDoneSending) { - // if we have single buffer we avoid copyfull concat - pbuf = self.partBuffers.length === 1 ? - self.partBuffers[0] : Buffer.concat(self.partBuffers); - self.partBuffers = []; - self.partBufferLength = 0; - self.totalBytes = self.totalChunkedBytes; - self.isDoneSending = true; - if (self.numParts === 0 || pbuf.length > 0) { - self.numParts++; - self.nextChunk(pbuf); - } - } - self.body.read(0); - }, - /** - * @api private - */ - nextChunk: function nextChunk(chunk) { - var self = this; - if (self.failed) return null; - - var partNumber = ++self.totalPartNumbers; - if (self.isDoneChunking && partNumber === 1) { - var params = {Body: chunk}; - if (this.tags) { - params.Tagging = this.getTaggingHeader(); - } - var req = self.service.putObject(params); - req._managedUpload = self; - req.on('httpUploadProgress', self.progress).send(self.finishSinglePart); - self.singlePart = req; //save the single part request - return null; - } else if (self.service.config.params.ContentMD5) { - var err = AWS.util.error(new Error('The Content-MD5 you specified is invalid for multi-part uploads.'), { - code: 'InvalidDigest', retryable: false - }); +var _CreateSubnetCommand = class _CreateSubnetCommand 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("AmazonEC2", "CreateSubnet", {}).n("EC2Client", "CreateSubnetCommand").f(void 0, void 0).ser(se_CreateSubnetCommand).de(de_CreateSubnetCommand).build() { +}; +__name(_CreateSubnetCommand, "CreateSubnetCommand"); +var CreateSubnetCommand = _CreateSubnetCommand; - self.cleanup(err); - return null; - } +// src/commands/CreateTagsCommand.ts - if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) { - return null; // Already uploaded this part. - } - self.activeParts++; - if (!self.service.config.params.UploadId) { - if (!self.multipartReq) { // create multipart - self.multipartReq = self.service.createMultipartUpload(); - self.multipartReq.on('success', function(resp) { - self.service.config.params.UploadId = resp.data.UploadId; - self.multipartReq = null; - }); - self.queueChunks(chunk, partNumber); - self.multipartReq.on('error', function(err) { - self.cleanup(err); - }); - self.multipartReq.send(); - } else { - self.queueChunks(chunk, partNumber); - } - } else { // multipart is created, just send - self.uploadPart(chunk, partNumber); - } - }, - /** - * @api private - */ - getTaggingHeader: function getTaggingHeader() { - var kvPairStrings = []; - for (var i = 0; i < this.tags.length; i++) { - kvPairStrings.push(AWS.util.uriEscape(this.tags[i].Key) + '=' + - AWS.util.uriEscape(this.tags[i].Value)); - } +var _CreateTagsCommand = class _CreateTagsCommand 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("AmazonEC2", "CreateTags", {}).n("EC2Client", "CreateTagsCommand").f(void 0, void 0).ser(se_CreateTagsCommand).de(de_CreateTagsCommand).build() { +}; +__name(_CreateTagsCommand, "CreateTagsCommand"); +var CreateTagsCommand = _CreateTagsCommand; - return kvPairStrings.join('&'); - }, +// src/commands/CreateTrafficMirrorFilterCommand.ts - /** - * @api private - */ - uploadPart: function uploadPart(chunk, partNumber) { - var self = this; - var partParams = { - Body: chunk, - ContentLength: AWS.util.string.byteLength(chunk), - PartNumber: partNumber - }; - var partInfo = {ETag: null, PartNumber: partNumber}; - self.completeInfo[partNumber] = partInfo; - - var req = self.service.uploadPart(partParams); - self.parts[partNumber] = req; - req._lastUploadedBytes = 0; - req._managedUpload = self; - req.on('httpUploadProgress', self.progress); - req.send(function(err, data) { - delete self.parts[partParams.PartNumber]; - self.activeParts--; - - if (!err && (!data || !data.ETag)) { - var message = 'No access to ETag property on response.'; - if (AWS.util.isBrowser()) { - message += ' Check CORS configuration to expose ETag header.'; - } - err = AWS.util.error(new Error(message), { - code: 'ETagMissing', retryable: false - }); - } - if (err) return self.cleanup(err); - //prevent sending part being returned twice (https://github.com/aws/aws-sdk-js/issues/2304) - if (self.completeInfo[partNumber] && self.completeInfo[partNumber].ETag !== null) return null; - partInfo.ETag = data.ETag; - self.doneParts++; - if (self.isDoneChunking && self.doneParts === self.totalPartNumbers) { - self.finishMultiPart(); - } else { - self.fillQueue.call(self); - } - }); - }, +var _CreateTrafficMirrorFilterCommand = class _CreateTrafficMirrorFilterCommand 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("AmazonEC2", "CreateTrafficMirrorFilter", {}).n("EC2Client", "CreateTrafficMirrorFilterCommand").f(void 0, void 0).ser(se_CreateTrafficMirrorFilterCommand).de(de_CreateTrafficMirrorFilterCommand).build() { +}; +__name(_CreateTrafficMirrorFilterCommand, "CreateTrafficMirrorFilterCommand"); +var CreateTrafficMirrorFilterCommand = _CreateTrafficMirrorFilterCommand; - /** - * @api private - */ - queueChunks: function queueChunks(chunk, partNumber) { - var self = this; - self.multipartReq.on('success', function() { - self.uploadPart(chunk, partNumber); - }); - }, +// src/commands/CreateTrafficMirrorFilterRuleCommand.ts - /** - * @api private - */ - cleanup: function cleanup(err) { - var self = this; - if (self.failed) return; - // clean up stream - if (typeof self.body.removeAllListeners === 'function' && - typeof self.body.resume === 'function') { - self.body.removeAllListeners('readable'); - self.body.removeAllListeners('end'); - self.body.resume(); - } - // cleanup multipartReq listeners - if (self.multipartReq) { - self.multipartReq.removeAllListeners('success'); - self.multipartReq.removeAllListeners('error'); - self.multipartReq.removeAllListeners('complete'); - delete self.multipartReq; - } - if (self.service.config.params.UploadId && !self.leavePartsOnError) { - self.service.abortMultipartUpload().send(); - } else if (self.leavePartsOnError) { - self.isDoneChunking = false; - } +var _CreateTrafficMirrorFilterRuleCommand = class _CreateTrafficMirrorFilterRuleCommand 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("AmazonEC2", "CreateTrafficMirrorFilterRule", {}).n("EC2Client", "CreateTrafficMirrorFilterRuleCommand").f(void 0, void 0).ser(se_CreateTrafficMirrorFilterRuleCommand).de(de_CreateTrafficMirrorFilterRuleCommand).build() { +}; +__name(_CreateTrafficMirrorFilterRuleCommand, "CreateTrafficMirrorFilterRuleCommand"); +var CreateTrafficMirrorFilterRuleCommand = _CreateTrafficMirrorFilterRuleCommand; - AWS.util.each(self.parts, function(partNumber, part) { - part.removeAllListeners('complete'); - part.abort(); - }); +// src/commands/CreateTrafficMirrorSessionCommand.ts - self.activeParts = 0; - self.partPos = 0; - self.numParts = 0; - self.totalPartNumbers = 0; - self.parts = {}; - self.failed = true; - self.callback(err); - }, - /** - * @api private - */ - finishMultiPart: function finishMultiPart() { - var self = this; - var completeParams = { MultipartUpload: { Parts: self.completeInfo.slice(1) } }; - self.service.completeMultipartUpload(completeParams, function(err, data) { - if (err) { - return self.cleanup(err); - } - if (data && typeof data.Location === 'string') { - data.Location = data.Location.replace(/%2F/g, '/'); - } - if (Array.isArray(self.tags)) { - for (var i = 0; i < self.tags.length; i++) { - self.tags[i].Value = String(self.tags[i].Value); - } - self.service.putObjectTagging( - {Tagging: {TagSet: self.tags}}, - function(e, d) { - if (e) { - self.callback(e); - } else { - self.callback(e, data); - } - } - ); - } else { - self.callback(err, data); - } - }); - }, +var _CreateTrafficMirrorSessionCommand = class _CreateTrafficMirrorSessionCommand 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("AmazonEC2", "CreateTrafficMirrorSession", {}).n("EC2Client", "CreateTrafficMirrorSessionCommand").f(void 0, void 0).ser(se_CreateTrafficMirrorSessionCommand).de(de_CreateTrafficMirrorSessionCommand).build() { +}; +__name(_CreateTrafficMirrorSessionCommand, "CreateTrafficMirrorSessionCommand"); +var CreateTrafficMirrorSessionCommand = _CreateTrafficMirrorSessionCommand; - /** - * @api private - */ - finishSinglePart: function finishSinglePart(err, data) { - var upload = this.request._managedUpload; - var httpReq = this.request.httpRequest; - var endpoint = httpReq.endpoint; - if (err) return upload.callback(err); - data.Location = - [endpoint.protocol, '//', endpoint.host, httpReq.path].join(''); - data.key = this.request.params.Key; // will stay undocumented - data.Key = this.request.params.Key; - data.Bucket = this.request.params.Bucket; - upload.callback(err, data); - }, +// src/commands/CreateTrafficMirrorTargetCommand.ts - /** - * @api private - */ - progress: function progress(info) { - var upload = this._managedUpload; - if (this.operation === 'putObject') { - info.part = 1; - info.key = this.params.Key; - } else { - upload.totalUploadedBytes += info.loaded - this._lastUploadedBytes; - this._lastUploadedBytes = info.loaded; - info = { - loaded: upload.totalUploadedBytes, - total: upload.totalBytes, - part: this.params.PartNumber, - key: this.params.Key - }; - } - upload.emit('httpUploadProgress', [info]); - } -}); -AWS.util.mixin(AWS.S3.ManagedUpload, AWS.SequentialExecutor); -/** - * @api private - */ -AWS.S3.ManagedUpload.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.promise = AWS.util.promisifyMethod('send', PromiseDependency); -}; -/** - * @api private - */ -AWS.S3.ManagedUpload.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.promise; +var _CreateTrafficMirrorTargetCommand = class _CreateTrafficMirrorTargetCommand 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("AmazonEC2", "CreateTrafficMirrorTarget", {}).n("EC2Client", "CreateTrafficMirrorTargetCommand").f(void 0, void 0).ser(se_CreateTrafficMirrorTargetCommand).de(de_CreateTrafficMirrorTargetCommand).build() { }; +__name(_CreateTrafficMirrorTargetCommand, "CreateTrafficMirrorTargetCommand"); +var CreateTrafficMirrorTargetCommand = _CreateTrafficMirrorTargetCommand; -AWS.util.addPromises(AWS.S3.ManagedUpload); +// src/commands/CreateTransitGatewayCommand.ts -/** - * @api private - */ -module.exports = AWS.S3.ManagedUpload; -/***/ }), - -/***/ 55948: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _CreateTransitGatewayCommand = class _CreateTransitGatewayCommand 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("AmazonEC2", "CreateTransitGateway", {}).n("EC2Client", "CreateTransitGatewayCommand").f(void 0, void 0).ser(se_CreateTransitGatewayCommand).de(de_CreateTransitGatewayCommand).build() { +}; +__name(_CreateTransitGatewayCommand, "CreateTransitGatewayCommand"); +var CreateTransitGatewayCommand = _CreateTransitGatewayCommand; -/** - * @api private - * @!method on(eventName, callback) - * Registers an event listener callback for the event given by `eventName`. - * Parameters passed to the callback function depend on the individual event - * being triggered. See the event documentation for those parameters. - * - * @param eventName [String] the event name to register the listener for - * @param callback [Function] the listener callback function - * @param toHead [Boolean] attach the listener callback to the head of callback array if set to true. - * Default to be false. - * @return [AWS.SequentialExecutor] the same object for chaining - */ -AWS.SequentialExecutor = AWS.util.inherit({ +// src/commands/CreateTransitGatewayConnectCommand.ts - constructor: function SequentialExecutor() { - this._events = {}; - }, - /** - * @api private - */ - listeners: function listeners(eventName) { - return this._events[eventName] ? this._events[eventName].slice(0) : []; - }, - on: function on(eventName, listener, toHead) { - if (this._events[eventName]) { - toHead ? - this._events[eventName].unshift(listener) : - this._events[eventName].push(listener); - } else { - this._events[eventName] = [listener]; - } - return this; - }, - onAsync: function onAsync(eventName, listener, toHead) { - listener._isAsync = true; - return this.on(eventName, listener, toHead); - }, +var _CreateTransitGatewayConnectCommand = class _CreateTransitGatewayConnectCommand 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("AmazonEC2", "CreateTransitGatewayConnect", {}).n("EC2Client", "CreateTransitGatewayConnectCommand").f(void 0, void 0).ser(se_CreateTransitGatewayConnectCommand).de(de_CreateTransitGatewayConnectCommand).build() { +}; +__name(_CreateTransitGatewayConnectCommand, "CreateTransitGatewayConnectCommand"); +var CreateTransitGatewayConnectCommand = _CreateTransitGatewayConnectCommand; - removeListener: function removeListener(eventName, listener) { - var listeners = this._events[eventName]; - if (listeners) { - var length = listeners.length; - var position = -1; - for (var i = 0; i < length; ++i) { - if (listeners[i] === listener) { - position = i; - } - } - if (position > -1) { - listeners.splice(position, 1); - } - } - return this; - }, +// src/commands/CreateTransitGatewayConnectPeerCommand.ts - removeAllListeners: function removeAllListeners(eventName) { - if (eventName) { - delete this._events[eventName]; - } else { - this._events = {}; - } - return this; - }, - /** - * @api private - */ - emit: function emit(eventName, eventArgs, doneCallback) { - if (!doneCallback) doneCallback = function() { }; - var listeners = this.listeners(eventName); - var count = listeners.length; - this.callListeners(listeners, eventArgs, doneCallback); - return count > 0; - }, - /** - * @api private - */ - callListeners: function callListeners(listeners, args, doneCallback, prevError) { - var self = this; - var error = prevError || null; - - function callNextListener(err) { - if (err) { - error = AWS.util.error(error || new Error(), err); - if (self._haltHandlersOnError) { - return doneCallback.call(self, error); - } - } - self.callListeners(listeners, args, doneCallback, error); - } - while (listeners.length > 0) { - var listener = listeners.shift(); - if (listener._isAsync) { // asynchronous listener - listener.apply(self, args.concat([callNextListener])); - return; // stop here, callNextListener will continue - } else { // synchronous listener - try { - listener.apply(self, args); - } catch (err) { - error = AWS.util.error(error || new Error(), err); - } - if (error && self._haltHandlersOnError) { - doneCallback.call(self, error); - return; - } - } - } - doneCallback.call(self, error); - }, +var _CreateTransitGatewayConnectPeerCommand = class _CreateTransitGatewayConnectPeerCommand 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("AmazonEC2", "CreateTransitGatewayConnectPeer", {}).n("EC2Client", "CreateTransitGatewayConnectPeerCommand").f(void 0, void 0).ser(se_CreateTransitGatewayConnectPeerCommand).de(de_CreateTransitGatewayConnectPeerCommand).build() { +}; +__name(_CreateTransitGatewayConnectPeerCommand, "CreateTransitGatewayConnectPeerCommand"); +var CreateTransitGatewayConnectPeerCommand = _CreateTransitGatewayConnectPeerCommand; - /** - * Adds or copies a set of listeners from another list of - * listeners or SequentialExecutor object. - * - * @param listeners [map>, AWS.SequentialExecutor] - * a list of events and callbacks, or an event emitter object - * containing listeners to add to this emitter object. - * @return [AWS.SequentialExecutor] the emitter object, for chaining. - * @example Adding listeners from a map of listeners - * emitter.addListeners({ - * event1: [function() { ... }, function() { ... }], - * event2: [function() { ... }] - * }); - * emitter.emit('event1'); // emitter has event1 - * emitter.emit('event2'); // emitter has event2 - * @example Adding listeners from another emitter object - * var emitter1 = new AWS.SequentialExecutor(); - * emitter1.on('event1', function() { ... }); - * emitter1.on('event2', function() { ... }); - * var emitter2 = new AWS.SequentialExecutor(); - * emitter2.addListeners(emitter1); - * emitter2.emit('event1'); // emitter2 has event1 - * emitter2.emit('event2'); // emitter2 has event2 - */ - addListeners: function addListeners(listeners) { - var self = this; +// src/commands/CreateTransitGatewayMulticastDomainCommand.ts - // extract listeners if parameter is an SequentialExecutor object - if (listeners._events) listeners = listeners._events; - AWS.util.each(listeners, function(event, callbacks) { - if (typeof callbacks === 'function') callbacks = [callbacks]; - AWS.util.arrayEach(callbacks, function(callback) { - self.on(event, callback); - }); - }); - return self; - }, - /** - * Registers an event with {on} and saves the callback handle function - * as a property on the emitter object using a given `name`. - * - * @param name [String] the property name to set on this object containing - * the callback function handle so that the listener can be removed in - * the future. - * @param (see on) - * @return (see on) - * @example Adding a named listener DATA_CALLBACK - * var listener = function() { doSomething(); }; - * emitter.addNamedListener('DATA_CALLBACK', 'data', listener); - * - * // the following prints: true - * console.log(emitter.DATA_CALLBACK == listener); - */ - addNamedListener: function addNamedListener(name, eventName, callback, toHead) { - this[name] = callback; - this.addListener(eventName, callback, toHead); - return this; - }, +var _CreateTransitGatewayMulticastDomainCommand = class _CreateTransitGatewayMulticastDomainCommand 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("AmazonEC2", "CreateTransitGatewayMulticastDomain", {}).n("EC2Client", "CreateTransitGatewayMulticastDomainCommand").f(void 0, void 0).ser(se_CreateTransitGatewayMulticastDomainCommand).de(de_CreateTransitGatewayMulticastDomainCommand).build() { +}; +__name(_CreateTransitGatewayMulticastDomainCommand, "CreateTransitGatewayMulticastDomainCommand"); +var CreateTransitGatewayMulticastDomainCommand = _CreateTransitGatewayMulticastDomainCommand; - /** - * @api private - */ - addNamedAsyncListener: function addNamedAsyncListener(name, eventName, callback, toHead) { - callback._isAsync = true; - return this.addNamedListener(name, eventName, callback, toHead); - }, +// src/commands/CreateTransitGatewayPeeringAttachmentCommand.ts - /** - * Helper method to add a set of named listeners using - * {addNamedListener}. The callback contains a parameter - * with a handle to the `addNamedListener` method. - * - * @callback callback function(add) - * The callback function is called immediately in order to provide - * the `add` function to the block. This simplifies the addition of - * a large group of named listeners. - * @param add [Function] the {addNamedListener} function to call - * when registering listeners. - * @example Adding a set of named listeners - * emitter.addNamedListeners(function(add) { - * add('DATA_CALLBACK', 'data', function() { ... }); - * add('OTHER', 'otherEvent', function() { ... }); - * add('LAST', 'lastEvent', function() { ... }); - * }); - * - * // these properties are now set: - * emitter.DATA_CALLBACK; - * emitter.OTHER; - * emitter.LAST; - */ - addNamedListeners: function addNamedListeners(callback) { - var self = this; - callback( - function() { - self.addNamedListener.apply(self, arguments); - }, - function() { - self.addNamedAsyncListener.apply(self, arguments); - } - ); - return this; - } -}); -/** - * {on} is the prefered method. - * @api private - */ -AWS.SequentialExecutor.prototype.addListener = AWS.SequentialExecutor.prototype.on; -/** - * @api private - */ -module.exports = AWS.SequentialExecutor; +var _CreateTransitGatewayPeeringAttachmentCommand = class _CreateTransitGatewayPeeringAttachmentCommand 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("AmazonEC2", "CreateTransitGatewayPeeringAttachment", {}).n("EC2Client", "CreateTransitGatewayPeeringAttachmentCommand").f(void 0, void 0).ser(se_CreateTransitGatewayPeeringAttachmentCommand).de(de_CreateTransitGatewayPeeringAttachmentCommand).build() { +}; +__name(_CreateTransitGatewayPeeringAttachmentCommand, "CreateTransitGatewayPeeringAttachmentCommand"); +var CreateTransitGatewayPeeringAttachmentCommand = _CreateTransitGatewayPeeringAttachmentCommand; -/***/ }), +// src/commands/CreateTransitGatewayPolicyTableCommand.ts -/***/ 68903: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var Api = __nccwpck_require__(17657); -var regionConfig = __nccwpck_require__(18262); -var inherit = AWS.util.inherit; -var clientCount = 0; -var region_utils = __nccwpck_require__(99517); -/** - * The service class representing an AWS service. - * - * @class_abstract This class is an abstract class. - * - * @!attribute apiVersions - * @return [Array] the list of API versions supported by this service. - * @readonly - */ -AWS.Service = inherit({ - /** - * Create a new service object with a configuration object - * - * @param config [map] a map of configuration options - */ - constructor: function Service(config) { - if (!this.loadServiceClass) { - throw AWS.util.error(new Error(), - 'Service must be constructed with `new\' operator'); - } - - if (config) { - if (config.region) { - var region = config.region; - if (region_utils.isFipsRegion(region)) { - config.region = region_utils.getRealRegion(region); - config.useFipsEndpoint = true; - } - if (region_utils.isGlobalRegion(region)) { - config.region = region_utils.getRealRegion(region); - } - } - if (typeof config.useDualstack === 'boolean' - && typeof config.useDualstackEndpoint !== 'boolean') { - config.useDualstackEndpoint = config.useDualstack; - } - } +var _CreateTransitGatewayPolicyTableCommand = class _CreateTransitGatewayPolicyTableCommand 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("AmazonEC2", "CreateTransitGatewayPolicyTable", {}).n("EC2Client", "CreateTransitGatewayPolicyTableCommand").f(void 0, void 0).ser(se_CreateTransitGatewayPolicyTableCommand).de(de_CreateTransitGatewayPolicyTableCommand).build() { +}; +__name(_CreateTransitGatewayPolicyTableCommand, "CreateTransitGatewayPolicyTableCommand"); +var CreateTransitGatewayPolicyTableCommand = _CreateTransitGatewayPolicyTableCommand; - var ServiceClass = this.loadServiceClass(config || {}); - if (ServiceClass) { - var originalConfig = AWS.util.copy(config); - var svc = new ServiceClass(config); - Object.defineProperty(svc, '_originalConfig', { - get: function() { return originalConfig; }, - enumerable: false, - configurable: true - }); - svc._clientId = ++clientCount; - return svc; - } - this.initialize(config); - }, +// src/commands/CreateTransitGatewayPrefixListReferenceCommand.ts - /** - * @api private - */ - initialize: function initialize(config) { - var svcConfig = AWS.config[this.serviceIdentifier]; - this.config = new AWS.Config(AWS.config); - if (svcConfig) this.config.update(svcConfig, true); - if (config) this.config.update(config, true); - - this.validateService(); - if (!this.config.endpoint) regionConfig.configureEndpoint(this); - - this.config.endpoint = this.endpointFromTemplate(this.config.endpoint); - this.setEndpoint(this.config.endpoint); - //enable attaching listeners to service client - AWS.SequentialExecutor.call(this); - AWS.Service.addDefaultMonitoringListeners(this); - if ((this.config.clientSideMonitoring || AWS.Service._clientSideMonitoring) && this.publisher) { - var publisher = this.publisher; - this.addNamedListener('PUBLISH_API_CALL', 'apiCall', function PUBLISH_API_CALL(event) { - process.nextTick(function() {publisher.eventHandler(event);}); - }); - this.addNamedListener('PUBLISH_API_ATTEMPT', 'apiCallAttempt', function PUBLISH_API_ATTEMPT(event) { - process.nextTick(function() {publisher.eventHandler(event);}); - }); - } - }, - /** - * @api private - */ - validateService: function validateService() { - }, - /** - * @api private - */ - loadServiceClass: function loadServiceClass(serviceConfig) { - var config = serviceConfig; - if (!AWS.util.isEmpty(this.api)) { - return null; - } else if (config.apiConfig) { - return AWS.Service.defineServiceApi(this.constructor, config.apiConfig); - } else if (!this.constructor.services) { - return null; - } else { - config = new AWS.Config(AWS.config); - config.update(serviceConfig, true); - var version = config.apiVersions[this.constructor.serviceIdentifier]; - version = version || config.apiVersion; - return this.getLatestServiceClass(version); - } - }, - /** - * @api private - */ - getLatestServiceClass: function getLatestServiceClass(version) { - version = this.getLatestServiceVersion(version); - if (this.constructor.services[version] === null) { - AWS.Service.defineServiceApi(this.constructor, version); - } +var _CreateTransitGatewayPrefixListReferenceCommand = class _CreateTransitGatewayPrefixListReferenceCommand 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("AmazonEC2", "CreateTransitGatewayPrefixListReference", {}).n("EC2Client", "CreateTransitGatewayPrefixListReferenceCommand").f(void 0, void 0).ser(se_CreateTransitGatewayPrefixListReferenceCommand).de(de_CreateTransitGatewayPrefixListReferenceCommand).build() { +}; +__name(_CreateTransitGatewayPrefixListReferenceCommand, "CreateTransitGatewayPrefixListReferenceCommand"); +var CreateTransitGatewayPrefixListReferenceCommand = _CreateTransitGatewayPrefixListReferenceCommand; - return this.constructor.services[version]; - }, +// src/commands/CreateTransitGatewayRouteCommand.ts - /** - * @api private - */ - getLatestServiceVersion: function getLatestServiceVersion(version) { - if (!this.constructor.services || this.constructor.services.length === 0) { - throw new Error('No services defined on ' + - this.constructor.serviceIdentifier); - } - if (!version) { - version = 'latest'; - } else if (AWS.util.isType(version, Date)) { - version = AWS.util.date.iso8601(version).split('T')[0]; - } - if (Object.hasOwnProperty(this.constructor.services, version)) { - return version; - } - var keys = Object.keys(this.constructor.services).sort(); - var selectedVersion = null; - for (var i = keys.length - 1; i >= 0; i--) { - // versions that end in "*" are not available on disk and can be - // skipped, so do not choose these as selectedVersions - if (keys[i][keys[i].length - 1] !== '*') { - selectedVersion = keys[i]; - } - if (keys[i].substr(0, 10) <= version) { - return selectedVersion; - } - } +var _CreateTransitGatewayRouteCommand = class _CreateTransitGatewayRouteCommand 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("AmazonEC2", "CreateTransitGatewayRoute", {}).n("EC2Client", "CreateTransitGatewayRouteCommand").f(void 0, void 0).ser(se_CreateTransitGatewayRouteCommand).de(de_CreateTransitGatewayRouteCommand).build() { +}; +__name(_CreateTransitGatewayRouteCommand, "CreateTransitGatewayRouteCommand"); +var CreateTransitGatewayRouteCommand = _CreateTransitGatewayRouteCommand; - throw new Error('Could not find ' + this.constructor.serviceIdentifier + - ' API to satisfy version constraint `' + version + '\''); - }, +// src/commands/CreateTransitGatewayRouteTableAnnouncementCommand.ts - /** - * @api private - */ - api: {}, - /** - * @api private - */ - defaultRetryCount: 3, - /** - * @api private - */ - customizeRequests: function customizeRequests(callback) { - if (!callback) { - this.customRequestHandler = null; - } else if (typeof callback === 'function') { - this.customRequestHandler = callback; - } else { - throw new Error('Invalid callback type \'' + typeof callback + '\' provided in customizeRequests'); - } - }, - /** - * Calls an operation on a service with the given input parameters. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeRequest: function makeRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = null; - } - - params = params || {}; - if (this.config.params) { // copy only toplevel bound params - var rules = this.api.operations[operation]; - if (rules) { - params = AWS.util.copy(params); - AWS.util.each(this.config.params, function(key, value) { - if (rules.input.members[key]) { - if (params[key] === undefined || params[key] === null) { - params[key] = value; - } - } - }); - } - } +var _CreateTransitGatewayRouteTableAnnouncementCommand = class _CreateTransitGatewayRouteTableAnnouncementCommand 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("AmazonEC2", "CreateTransitGatewayRouteTableAnnouncement", {}).n("EC2Client", "CreateTransitGatewayRouteTableAnnouncementCommand").f(void 0, void 0).ser(se_CreateTransitGatewayRouteTableAnnouncementCommand).de(de_CreateTransitGatewayRouteTableAnnouncementCommand).build() { +}; +__name(_CreateTransitGatewayRouteTableAnnouncementCommand, "CreateTransitGatewayRouteTableAnnouncementCommand"); +var CreateTransitGatewayRouteTableAnnouncementCommand = _CreateTransitGatewayRouteTableAnnouncementCommand; - var request = new AWS.Request(this, operation, params); - this.addAllRequestListeners(request); - this.attachMonitoringEmitter(request); - if (callback) request.send(callback); - return request; - }, +// src/commands/CreateTransitGatewayRouteTableCommand.ts - /** - * Calls an operation on a service with the given input parameters, without - * any authentication data. This method is useful for "public" API operations. - * - * @param operation [String] the name of the operation to call on the service. - * @param params [map] a map of input options for the operation - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - makeUnauthenticatedRequest: function makeUnauthenticatedRequest(operation, params, callback) { - if (typeof params === 'function') { - callback = params; - params = {}; - } - var request = this.makeRequest(operation, params).toUnauthenticated(); - return callback ? request.send(callback) : request; - }, - /** - * Waits for a given state - * - * @param state [String] the state on the service to wait for - * @param params [map] a map of parameters to pass with each request - * @option params $waiter [map] a map of configuration options for the waiter - * @option params $waiter.delay [Number] The number of seconds to wait between - * requests - * @option params $waiter.maxAttempts [Number] The maximum number of requests - * to send while waiting - * @callback callback function(err, data) - * If a callback is supplied, it is called when a response is returned - * from the service. - * @param err [Error] the error object returned from the request. - * Set to `null` if the request is successful. - * @param data [Object] the de-serialized data returned from - * the request. Set to `null` if a request error occurs. - */ - waitFor: function waitFor(state, params, callback) { - var waiter = new AWS.ResourceWaiter(this, state); - return waiter.wait(params, callback); - }, - /** - * @api private - */ - addAllRequestListeners: function addAllRequestListeners(request) { - var list = [AWS.events, AWS.EventListeners.Core, this.serviceInterface(), - AWS.EventListeners.CorePost]; - for (var i = 0; i < list.length; i++) { - if (list[i]) request.addListeners(list[i]); - } +var _CreateTransitGatewayRouteTableCommand = class _CreateTransitGatewayRouteTableCommand 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("AmazonEC2", "CreateTransitGatewayRouteTable", {}).n("EC2Client", "CreateTransitGatewayRouteTableCommand").f(void 0, void 0).ser(se_CreateTransitGatewayRouteTableCommand).de(de_CreateTransitGatewayRouteTableCommand).build() { +}; +__name(_CreateTransitGatewayRouteTableCommand, "CreateTransitGatewayRouteTableCommand"); +var CreateTransitGatewayRouteTableCommand = _CreateTransitGatewayRouteTableCommand; - // disable parameter validation - if (!this.config.paramValidation) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } +// src/commands/CreateTransitGatewayVpcAttachmentCommand.ts - if (this.config.logger) { // add logging events - request.addListeners(AWS.EventListeners.Logger); - } - this.setupRequestListeners(request); - // call prototype's customRequestHandler - if (typeof this.constructor.prototype.customRequestHandler === 'function') { - this.constructor.prototype.customRequestHandler(request); - } - // call instance's customRequestHandler - if (Object.prototype.hasOwnProperty.call(this, 'customRequestHandler') && typeof this.customRequestHandler === 'function') { - this.customRequestHandler(request); - } - }, - /** - * Event recording metrics for a whole API call. - * @returns {object} a subset of api call metrics - * @api private - */ - apiCallEvent: function apiCallEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: 'ApiCall', - Api: api ? api.name : request.operation, - Version: 1, - Service: request.service.api.serviceId || request.service.api.endpointPrefix, - Region: request.httpRequest.region, - MaxRetriesExceeded: 0, - UserAgent: request.httpRequest.getUserAgent(), - }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.FinalHttpStatusCode = response.httpResponse.statusCode; - } - if (response.error) { - var error = response.error; - var statusCode = response.httpResponse.statusCode; - if (statusCode > 299) { - if (error.code) monitoringEvent.FinalAwsException = error.code; - if (error.message) monitoringEvent.FinalAwsExceptionMessage = error.message; - } else { - if (error.code || error.name) monitoringEvent.FinalSdkException = error.code || error.name; - if (error.message) monitoringEvent.FinalSdkExceptionMessage = error.message; - } - } - return monitoringEvent; - }, - /** - * Event recording metrics for an API call attempt. - * @returns {object} a subset of api call attempt metrics - * @api private - */ - apiAttemptEvent: function apiAttemptEvent(request) { - var api = request.service.api.operations[request.operation]; - var monitoringEvent = { - Type: 'ApiCallAttempt', - Api: api ? api.name : request.operation, - Version: 1, - Service: request.service.api.serviceId || request.service.api.endpointPrefix, - Fqdn: request.httpRequest.endpoint.hostname, - UserAgent: request.httpRequest.getUserAgent(), - }; - var response = request.response; - if (response.httpResponse.statusCode) { - monitoringEvent.HttpStatusCode = response.httpResponse.statusCode; - } - if ( - !request._unAuthenticated && - request.service.config.credentials && - request.service.config.credentials.accessKeyId - ) { - monitoringEvent.AccessKey = request.service.config.credentials.accessKeyId; - } - if (!response.httpResponse.headers) return monitoringEvent; - if (request.httpRequest.headers['x-amz-security-token']) { - monitoringEvent.SessionToken = request.httpRequest.headers['x-amz-security-token']; - } - if (response.httpResponse.headers['x-amzn-requestid']) { - monitoringEvent.XAmznRequestId = response.httpResponse.headers['x-amzn-requestid']; - } - if (response.httpResponse.headers['x-amz-request-id']) { - monitoringEvent.XAmzRequestId = response.httpResponse.headers['x-amz-request-id']; - } - if (response.httpResponse.headers['x-amz-id-2']) { - monitoringEvent.XAmzId2 = response.httpResponse.headers['x-amz-id-2']; - } - return monitoringEvent; - }, +var _CreateTransitGatewayVpcAttachmentCommand = class _CreateTransitGatewayVpcAttachmentCommand 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("AmazonEC2", "CreateTransitGatewayVpcAttachment", {}).n("EC2Client", "CreateTransitGatewayVpcAttachmentCommand").f(void 0, void 0).ser(se_CreateTransitGatewayVpcAttachmentCommand).de(de_CreateTransitGatewayVpcAttachmentCommand).build() { +}; +__name(_CreateTransitGatewayVpcAttachmentCommand, "CreateTransitGatewayVpcAttachmentCommand"); +var CreateTransitGatewayVpcAttachmentCommand = _CreateTransitGatewayVpcAttachmentCommand; - /** - * Add metrics of failed request. - * @api private - */ - attemptFailEvent: function attemptFailEvent(request) { - var monitoringEvent = this.apiAttemptEvent(request); - var response = request.response; - var error = response.error; - if (response.httpResponse.statusCode > 299 ) { - if (error.code) monitoringEvent.AwsException = error.code; - if (error.message) monitoringEvent.AwsExceptionMessage = error.message; - } else { - if (error.code || error.name) monitoringEvent.SdkException = error.code || error.name; - if (error.message) monitoringEvent.SdkExceptionMessage = error.message; - } - return monitoringEvent; - }, +// src/commands/CreateVerifiedAccessEndpointCommand.ts - /** - * Attach listeners to request object to fetch metrics of each request - * and emit data object through \'ApiCall\' and \'ApiCallAttempt\' events. - * @api private - */ - attachMonitoringEmitter: function attachMonitoringEmitter(request) { - var attemptTimestamp; //timestamp marking the beginning of a request attempt - var attemptStartRealTime; //Start time of request attempt. Used to calculating attemptLatency - var attemptLatency; //latency from request sent out to http response reaching SDK - var callStartRealTime; //Start time of API call. Used to calculating API call latency - var attemptCount = 0; //request.retryCount is not reliable here - var region; //region cache region for each attempt since it can be updated in plase (e.g. s3) - var callTimestamp; //timestamp when the request is created - var self = this; - var addToHead = true; - - request.on('validate', function () { - callStartRealTime = AWS.util.realClock.now(); - callTimestamp = Date.now(); - }, addToHead); - request.on('sign', function () { - attemptStartRealTime = AWS.util.realClock.now(); - attemptTimestamp = Date.now(); - region = request.httpRequest.region; - attemptCount++; - }, addToHead); - request.on('validateResponse', function() { - attemptLatency = Math.round(AWS.util.realClock.now() - attemptStartRealTime); - }); - request.addNamedListener('API_CALL_ATTEMPT', 'success', function API_CALL_ATTEMPT() { - var apiAttemptEvent = self.apiAttemptEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - apiAttemptEvent.AttemptLatency = attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit('apiCallAttempt', [apiAttemptEvent]); - }); - request.addNamedListener('API_CALL_ATTEMPT_RETRY', 'retry', function API_CALL_ATTEMPT_RETRY() { - var apiAttemptEvent = self.attemptFailEvent(request); - apiAttemptEvent.Timestamp = attemptTimestamp; - //attemptLatency may not be available if fail before response - attemptLatency = attemptLatency || - Math.round(AWS.util.realClock.now() - attemptStartRealTime); - apiAttemptEvent.AttemptLatency = attemptLatency >= 0 ? attemptLatency : 0; - apiAttemptEvent.Region = region; - self.emit('apiCallAttempt', [apiAttemptEvent]); - }); - request.addNamedListener('API_CALL', 'complete', function API_CALL() { - var apiCallEvent = self.apiCallEvent(request); - apiCallEvent.AttemptCount = attemptCount; - if (apiCallEvent.AttemptCount <= 0) return; - apiCallEvent.Timestamp = callTimestamp; - var latency = Math.round(AWS.util.realClock.now() - callStartRealTime); - apiCallEvent.Latency = latency >= 0 ? latency : 0; - var response = request.response; - if ( - response.error && - response.error.retryable && - typeof response.retryCount === 'number' && - typeof response.maxRetries === 'number' && - (response.retryCount >= response.maxRetries) - ) { - apiCallEvent.MaxRetriesExceeded = 1; - } - self.emit('apiCall', [apiCallEvent]); - }); - }, - /** - * Override this method to setup any custom request listeners for each - * new request to the service. - * - * @method_abstract This is an abstract method. - */ - setupRequestListeners: function setupRequestListeners(request) { - }, - /** - * Gets the signing name for a given request - * @api private - */ - getSigningName: function getSigningName() { - return this.api.signingName || this.api.endpointPrefix; - }, - /** - * Gets the signer class for a given request - * @api private - */ - getSignerClass: function getSignerClass(request) { - var version; - // get operation authtype if present - var operation = null; - var authtype = ''; - if (request) { - var operations = request.service.api.operations || {}; - operation = operations[request.operation] || null; - authtype = operation ? operation.authtype : ''; - } - if (this.config.signatureVersion) { - version = this.config.signatureVersion; - } else if (authtype === 'v4' || authtype === 'v4-unsigned-body') { - version = 'v4'; - } else if (authtype === 'bearer') { - version = 'bearer'; - } else { - version = this.api.signatureVersion; - } - return AWS.Signers.RequestSigner.getVersion(version); - }, +var _CreateVerifiedAccessEndpointCommand = class _CreateVerifiedAccessEndpointCommand 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("AmazonEC2", "CreateVerifiedAccessEndpoint", {}).n("EC2Client", "CreateVerifiedAccessEndpointCommand").f(void 0, void 0).ser(se_CreateVerifiedAccessEndpointCommand).de(de_CreateVerifiedAccessEndpointCommand).build() { +}; +__name(_CreateVerifiedAccessEndpointCommand, "CreateVerifiedAccessEndpointCommand"); +var CreateVerifiedAccessEndpointCommand = _CreateVerifiedAccessEndpointCommand; - /** - * @api private - */ - serviceInterface: function serviceInterface() { - switch (this.api.protocol) { - case 'ec2': return AWS.EventListeners.Query; - case 'query': return AWS.EventListeners.Query; - case 'json': return AWS.EventListeners.Json; - case 'rest-json': return AWS.EventListeners.RestJson; - case 'rest-xml': return AWS.EventListeners.RestXml; - } - if (this.api.protocol) { - throw new Error('Invalid service `protocol\' ' + - this.api.protocol + ' in API config'); - } - }, +// src/commands/CreateVerifiedAccessGroupCommand.ts - /** - * @api private - */ - successfulResponse: function successfulResponse(resp) { - return resp.httpResponse.statusCode < 300; - }, - /** - * How many times a failed request should be retried before giving up. - * the defaultRetryCount can be overriden by service classes. - * - * @api private - */ - numRetries: function numRetries() { - if (this.config.maxRetries !== undefined) { - return this.config.maxRetries; - } else { - return this.defaultRetryCount; - } - }, - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - return AWS.util.calculateRetryDelay(retryCount, this.config.retryDelayOptions, err); - }, - /** - * @api private - */ - retryableError: function retryableError(error) { - if (this.timeoutError(error)) return true; - if (this.networkingError(error)) return true; - if (this.expiredCredentialsError(error)) return true; - if (this.throttledError(error)) return true; - if (error.statusCode >= 500) return true; - return false; - }, +var _CreateVerifiedAccessGroupCommand = class _CreateVerifiedAccessGroupCommand 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("AmazonEC2", "CreateVerifiedAccessGroup", {}).n("EC2Client", "CreateVerifiedAccessGroupCommand").f(void 0, void 0).ser(se_CreateVerifiedAccessGroupCommand).de(de_CreateVerifiedAccessGroupCommand).build() { +}; +__name(_CreateVerifiedAccessGroupCommand, "CreateVerifiedAccessGroupCommand"); +var CreateVerifiedAccessGroupCommand = _CreateVerifiedAccessGroupCommand; - /** - * @api private - */ - networkingError: function networkingError(error) { - return error.code === 'NetworkingError'; - }, +// src/commands/CreateVerifiedAccessInstanceCommand.ts - /** - * @api private - */ - timeoutError: function timeoutError(error) { - return error.code === 'TimeoutError'; - }, - /** - * @api private - */ - expiredCredentialsError: function expiredCredentialsError(error) { - // TODO : this only handles *one* of the expired credential codes - return (error.code === 'ExpiredTokenException'); - }, - /** - * @api private - */ - clockSkewError: function clockSkewError(error) { - switch (error.code) { - case 'RequestTimeTooSkewed': - case 'RequestExpired': - case 'InvalidSignatureException': - case 'SignatureDoesNotMatch': - case 'AuthFailure': - case 'RequestInTheFuture': - return true; - default: return false; - } - }, - /** - * @api private - */ - getSkewCorrectedDate: function getSkewCorrectedDate() { - return new Date(Date.now() + this.config.systemClockOffset); - }, +var _CreateVerifiedAccessInstanceCommand = class _CreateVerifiedAccessInstanceCommand 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("AmazonEC2", "CreateVerifiedAccessInstance", {}).n("EC2Client", "CreateVerifiedAccessInstanceCommand").f(void 0, void 0).ser(se_CreateVerifiedAccessInstanceCommand).de(de_CreateVerifiedAccessInstanceCommand).build() { +}; +__name(_CreateVerifiedAccessInstanceCommand, "CreateVerifiedAccessInstanceCommand"); +var CreateVerifiedAccessInstanceCommand = _CreateVerifiedAccessInstanceCommand; - /** - * @api private - */ - applyClockOffset: function applyClockOffset(newServerTime) { - if (newServerTime) { - this.config.systemClockOffset = newServerTime - Date.now(); - } - }, +// src/commands/CreateVerifiedAccessTrustProviderCommand.ts - /** - * @api private - */ - isClockSkewed: function isClockSkewed(newServerTime) { - if (newServerTime) { - return Math.abs(this.getSkewCorrectedDate().getTime() - newServerTime) >= 300000; - } - }, - /** - * @api private - */ - throttledError: function throttledError(error) { - // this logic varies between services - if (error.statusCode === 429) return true; - switch (error.code) { - case 'ProvisionedThroughputExceededException': - case 'Throttling': - case 'ThrottlingException': - case 'RequestLimitExceeded': - case 'RequestThrottled': - case 'RequestThrottledException': - case 'TooManyRequestsException': - case 'TransactionInProgressException': //dynamodb - case 'EC2ThrottledException': - return true; - default: - return false; - } - }, - /** - * @api private - */ - endpointFromTemplate: function endpointFromTemplate(endpoint) { - if (typeof endpoint !== 'string') return endpoint; - - var e = endpoint; - e = e.replace(/\{service\}/g, this.api.endpointPrefix); - e = e.replace(/\{region\}/g, this.config.region); - e = e.replace(/\{scheme\}/g, this.config.sslEnabled ? 'https' : 'http'); - return e; - }, - /** - * @api private - */ - setEndpoint: function setEndpoint(endpoint) { - this.endpoint = new AWS.Endpoint(endpoint, this.config); - }, - /** - * @api private - */ - paginationConfig: function paginationConfig(operation, throwException) { - var paginator = this.api.operations[operation].paginator; - if (!paginator) { - if (throwException) { - var e = new Error(); - throw AWS.util.error(e, 'No pagination configuration for ' + operation); - } - return null; - } +// src/models/models_2.ts - return paginator; - } -}); +var NetworkInterfaceStatus = { + associated: "associated", + attaching: "attaching", + available: "available", + detaching: "detaching", + in_use: "in-use" +}; +var InterfacePermissionType = { + EIP_ASSOCIATE: "EIP-ASSOCIATE", + INSTANCE_ATTACH: "INSTANCE-ATTACH" +}; +var NetworkInterfacePermissionStateCode = { + granted: "granted", + pending: "pending", + revoked: "revoked", + revoking: "revoking" +}; +var SpreadLevel = { + host: "host", + rack: "rack" +}; +var PlacementStrategy = { + cluster: "cluster", + partition: "partition", + spread: "spread" +}; +var PlacementGroupState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var ReplaceRootVolumeTaskState = { + failed: "failed", + failed_detached: "failed-detached", + failing: "failing", + in_progress: "in-progress", + pending: "pending", + succeeded: "succeeded" +}; +var RouteOrigin = { + CreateRoute: "CreateRoute", + CreateRouteTable: "CreateRouteTable", + EnableVgwRoutePropagation: "EnableVgwRoutePropagation" +}; +var RouteState = { + active: "active", + blackhole: "blackhole" +}; +var SSEType = { + none: "none", + sse_ebs: "sse-ebs", + sse_kms: "sse-kms" +}; +var SnapshotState = { + completed: "completed", + error: "error", + pending: "pending", + recoverable: "recoverable", + recovering: "recovering" +}; +var StorageTier = { + archive: "archive", + standard: "standard" +}; +var CopyTagsFromSource = { + volume: "volume" +}; +var DatafeedSubscriptionState = { + Active: "Active", + Inactive: "Inactive" +}; +var SubnetCidrReservationType = { + explicit: "explicit", + prefix: "prefix" +}; +var TrafficMirrorRuleAction = { + accept: "accept", + reject: "reject" +}; +var TrafficDirection = { + egress: "egress", + ingress: "ingress" +}; +var TrafficMirrorNetworkService = { + amazon_dns: "amazon-dns" +}; +var TrafficMirrorTargetType = { + gateway_load_balancer_endpoint: "gateway-load-balancer-endpoint", + network_interface: "network-interface", + network_load_balancer: "network-load-balancer" +}; +var AutoAcceptSharedAttachmentsValue = { + disable: "disable", + enable: "enable" +}; +var DefaultRouteTableAssociationValue = { + disable: "disable", + enable: "enable" +}; +var DefaultRouteTablePropagationValue = { + disable: "disable", + enable: "enable" +}; +var MulticastSupportValue = { + disable: "disable", + enable: "enable" +}; +var VpnEcmpSupportValue = { + disable: "disable", + enable: "enable" +}; +var TransitGatewayState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + modifying: "modifying", + pending: "pending" +}; +var ProtocolValue = { + gre: "gre" +}; +var BgpStatus = { + down: "down", + up: "up" +}; +var TransitGatewayConnectPeerState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var AutoAcceptSharedAssociationsValue = { + disable: "disable", + enable: "enable" +}; +var Igmpv2SupportValue = { + disable: "disable", + enable: "enable" +}; +var StaticSourcesSupportValue = { + disable: "disable", + enable: "enable" +}; +var TransitGatewayMulticastDomainState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var TransitGatewayPolicyTableState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var TransitGatewayPrefixListReferenceState = { + available: "available", + deleting: "deleting", + modifying: "modifying", + pending: "pending" +}; +var TransitGatewayRouteState = { + active: "active", + blackhole: "blackhole", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var TransitGatewayRouteType = { + propagated: "propagated", + static: "static" +}; +var TransitGatewayRouteTableState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var TransitGatewayRouteTableAnnouncementDirection = { + incoming: "incoming", + outgoing: "outgoing" +}; +var TransitGatewayRouteTableAnnouncementState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + failed: "failed", + failing: "failing", + pending: "pending" +}; +var VerifiedAccessEndpointAttachmentType = { + vpc: "vpc" +}; +var VerifiedAccessEndpointType = { + load_balancer: "load-balancer", + network_interface: "network-interface" +}; +var VerifiedAccessEndpointProtocol = { + http: "http", + https: "https" +}; +var VerifiedAccessEndpointStatusCode = { + active: "active", + deleted: "deleted", + deleting: "deleting", + pending: "pending", + updating: "updating" +}; +var VolumeState = { + available: "available", + creating: "creating", + deleted: "deleted", + deleting: "deleting", + error: "error", + in_use: "in-use" +}; +var DnsRecordIpType = { + dualstack: "dualstack", + ipv4: "ipv4", + ipv6: "ipv6", + service_defined: "service-defined" +}; +var IpAddressType = { + dualstack: "dualstack", + ipv4: "ipv4", + ipv6: "ipv6" +}; +var VpcEndpointType = { + Gateway: "Gateway", + GatewayLoadBalancer: "GatewayLoadBalancer", + Interface: "Interface" +}; +var State = { + Available: "Available", + Deleted: "Deleted", + Deleting: "Deleting", + Expired: "Expired", + Failed: "Failed", + Pending: "Pending", + PendingAcceptance: "PendingAcceptance", + Rejected: "Rejected" +}; +var ConnectionNotificationState = { + Disabled: "Disabled", + Enabled: "Enabled" +}; +var ConnectionNotificationType = { + Topic: "Topic" +}; +var PayerResponsibility = { + ServiceOwner: "ServiceOwner" +}; +var DnsNameState = { + Failed: "failed", + PendingVerification: "pendingVerification", + Verified: "verified" +}; +var ServiceState = { + Available: "Available", + Deleted: "Deleted", + Deleting: "Deleting", + Failed: "Failed", + Pending: "Pending" +}; +var ServiceType = { + Gateway: "Gateway", + GatewayLoadBalancer: "GatewayLoadBalancer", + Interface: "Interface" +}; +var ServiceConnectivityType = { + ipv4: "ipv4", + ipv6: "ipv6" +}; +var TunnelInsideIpVersion = { + ipv4: "ipv4", + ipv6: "ipv6" +}; +var GatewayAssociationState = { + associated: "associated", + associating: "associating", + disassociating: "disassociating", + not_associated: "not-associated" +}; +var VpnStaticRouteSource = { + Static: "Static" +}; +var VpnState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +var TelemetryStatus = { + DOWN: "DOWN", + UP: "UP" +}; +var FleetStateCode = { + ACTIVE: "active", + DELETED: "deleted", + DELETED_RUNNING: "deleted_running", + DELETED_TERMINATING_INSTANCES: "deleted_terminating", + FAILED: "failed", + MODIFYING: "modifying", + SUBMITTED: "submitted" +}; +var DeleteFleetErrorCode = { + FLEET_ID_DOES_NOT_EXIST: "fleetIdDoesNotExist", + FLEET_ID_MALFORMED: "fleetIdMalformed", + FLEET_NOT_IN_DELETABLE_STATE: "fleetNotInDeletableState", + UNEXPECTED_ERROR: "unexpectedError" +}; +var LaunchTemplateErrorCode = { + LAUNCH_TEMPLATE_ID_DOES_NOT_EXIST: "launchTemplateIdDoesNotExist", + LAUNCH_TEMPLATE_ID_MALFORMED: "launchTemplateIdMalformed", + LAUNCH_TEMPLATE_NAME_DOES_NOT_EXIST: "launchTemplateNameDoesNotExist", + LAUNCH_TEMPLATE_NAME_MALFORMED: "launchTemplateNameMalformed", + LAUNCH_TEMPLATE_VERSION_DOES_NOT_EXIST: "launchTemplateVersionDoesNotExist", + UNEXPECTED_ERROR: "unexpectedError" +}; +var CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog"); +var CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.OidcOptions && { + OidcOptions: CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions) + } +}), "CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog"); +var CreateVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProvider && { + VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) + } +}), "CreateVerifiedAccessTrustProviderResultFilterSensitiveLog"); +var VpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } +}), "VpnTunnelOptionsSpecificationFilterSensitiveLog"); +var VpnConnectionOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.TunnelOptions && { + TunnelOptions: obj.TunnelOptions.map((item) => VpnTunnelOptionsSpecificationFilterSensitiveLog(item)) + } +}), "VpnConnectionOptionsSpecificationFilterSensitiveLog"); +var CreateVpnConnectionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Options && { Options: VpnConnectionOptionsSpecificationFilterSensitiveLog(obj.Options) } +}), "CreateVpnConnectionRequestFilterSensitiveLog"); +var TunnelOptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } +}), "TunnelOptionFilterSensitiveLog"); +var VpnConnectionOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.TunnelOptions && { TunnelOptions: obj.TunnelOptions.map((item) => TunnelOptionFilterSensitiveLog(item)) } +}), "VpnConnectionOptionsFilterSensitiveLog"); +var VpnConnectionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: import_smithy_client.SENSITIVE_STRING }, + ...obj.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) } +}), "VpnConnectionFilterSensitiveLog"); +var CreateVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } +}), "CreateVpnConnectionResultFilterSensitiveLog"); + +// src/commands/CreateVerifiedAccessTrustProviderCommand.ts +var _CreateVerifiedAccessTrustProviderCommand = class _CreateVerifiedAccessTrustProviderCommand 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("AmazonEC2", "CreateVerifiedAccessTrustProvider", {}).n("EC2Client", "CreateVerifiedAccessTrustProviderCommand").f( + CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog, + CreateVerifiedAccessTrustProviderResultFilterSensitiveLog +).ser(se_CreateVerifiedAccessTrustProviderCommand).de(de_CreateVerifiedAccessTrustProviderCommand).build() { +}; +__name(_CreateVerifiedAccessTrustProviderCommand, "CreateVerifiedAccessTrustProviderCommand"); +var CreateVerifiedAccessTrustProviderCommand = _CreateVerifiedAccessTrustProviderCommand; -AWS.util.update(AWS.Service, { +// src/commands/CreateVolumeCommand.ts - /** - * Adds one method for each operation described in the api configuration - * - * @api private - */ - defineMethods: function defineMethods(svc) { - AWS.util.each(svc.prototype.api.operations, function iterator(method) { - if (svc.prototype[method]) return; - var operation = svc.prototype.api.operations[method]; - if (operation.authtype === 'none') { - svc.prototype[method] = function (params, callback) { - return this.makeUnauthenticatedRequest(method, params, callback); - }; - } else { - svc.prototype[method] = function (params, callback) { - return this.makeRequest(method, params, callback); - }; - } - }); - }, - /** - * Defines a new Service class using a service identifier and list of versions - * including an optional set of features (functions) to apply to the class - * prototype. - * - * @param serviceIdentifier [String] the identifier for the service - * @param versions [Array] a list of versions that work with this - * service - * @param features [Object] an object to attach to the prototype - * @return [Class] the service class defined by this function. - */ - defineService: function defineService(serviceIdentifier, versions, features) { - AWS.Service._serviceMap[serviceIdentifier] = true; - if (!Array.isArray(versions)) { - features = versions; - versions = []; - } - - var svc = inherit(AWS.Service, features || {}); - - if (typeof serviceIdentifier === 'string') { - AWS.Service.addVersions(svc, versions); - - var identifier = svc.serviceIdentifier || serviceIdentifier; - svc.serviceIdentifier = identifier; - } else { // defineService called with an API - svc.prototype.api = serviceIdentifier; - AWS.Service.defineMethods(svc); - } - AWS.SequentialExecutor.call(this.prototype); - //util.clientSideMonitoring is only available in node - if (!this.prototype.publisher && AWS.util.clientSideMonitoring) { - var Publisher = AWS.util.clientSideMonitoring.Publisher; - var configProvider = AWS.util.clientSideMonitoring.configProvider; - var publisherConfig = configProvider(); - this.prototype.publisher = new Publisher(publisherConfig); - if (publisherConfig.enabled) { - //if csm is enabled in environment, SDK should send all metrics - AWS.Service._clientSideMonitoring = true; - } - } - AWS.SequentialExecutor.call(svc.prototype); - AWS.Service.addDefaultMonitoringListeners(svc.prototype); - return svc; - }, - /** - * @api private - */ - addVersions: function addVersions(svc, versions) { - if (!Array.isArray(versions)) versions = [versions]; - svc.services = svc.services || {}; - for (var i = 0; i < versions.length; i++) { - if (svc.services[versions[i]] === undefined) { - svc.services[versions[i]] = null; - } - } +var _CreateVolumeCommand = class _CreateVolumeCommand 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("AmazonEC2", "CreateVolume", {}).n("EC2Client", "CreateVolumeCommand").f(void 0, void 0).ser(se_CreateVolumeCommand).de(de_CreateVolumeCommand).build() { +}; +__name(_CreateVolumeCommand, "CreateVolumeCommand"); +var CreateVolumeCommand = _CreateVolumeCommand; - svc.apiVersions = Object.keys(svc.services).sort(); - }, +// src/commands/CreateVpcCommand.ts - /** - * @api private - */ - defineServiceApi: function defineServiceApi(superclass, version, apiConfig) { - var svc = inherit(superclass, { - serviceIdentifier: superclass.serviceIdentifier - }); - function setApi(api) { - if (api.isApi) { - svc.prototype.api = api; - } else { - svc.prototype.api = new Api(api, { - serviceIdentifier: superclass.serviceIdentifier - }); - } - } - if (typeof version === 'string') { - if (apiConfig) { - setApi(apiConfig); - } else { - try { - setApi(AWS.apiLoader(superclass.serviceIdentifier, version)); - } catch (err) { - throw AWS.util.error(err, { - message: 'Could not find API configuration ' + - superclass.serviceIdentifier + '-' + version - }); - } - } - if (!Object.prototype.hasOwnProperty.call(superclass.services, version)) { - superclass.apiVersions = superclass.apiVersions.concat(version).sort(); - } - superclass.services[version] = svc; - } else { - setApi(version); - } - AWS.Service.defineMethods(svc); - return svc; - }, +var _CreateVpcCommand = class _CreateVpcCommand 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("AmazonEC2", "CreateVpc", {}).n("EC2Client", "CreateVpcCommand").f(void 0, void 0).ser(se_CreateVpcCommand).de(de_CreateVpcCommand).build() { +}; +__name(_CreateVpcCommand, "CreateVpcCommand"); +var CreateVpcCommand = _CreateVpcCommand; - /** - * @api private - */ - hasService: function(identifier) { - return Object.prototype.hasOwnProperty.call(AWS.Service._serviceMap, identifier); - }, +// src/commands/CreateVpcEndpointCommand.ts - /** - * @param attachOn attach default monitoring listeners to object - * - * Each monitoring event should be emitted from service client to service constructor prototype and then - * to global service prototype like bubbling up. These default monitoring events listener will transfer - * the monitoring events to the upper layer. - * @api private - */ - addDefaultMonitoringListeners: function addDefaultMonitoringListeners(attachOn) { - attachOn.addNamedListener('MONITOR_EVENTS_BUBBLE', 'apiCallAttempt', function EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit('apiCallAttempt', [event]); - }); - attachOn.addNamedListener('CALL_EVENTS_BUBBLE', 'apiCall', function CALL_EVENTS_BUBBLE(event) { - var baseClass = Object.getPrototypeOf(attachOn); - if (baseClass._events) baseClass.emit('apiCall', [event]); - }); - }, - /** - * @api private - */ - _serviceMap: {} -}); -AWS.util.mixin(AWS.Service, AWS.SequentialExecutor); -/** - * @api private - */ -module.exports = AWS.Service; +var _CreateVpcEndpointCommand = class _CreateVpcEndpointCommand 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("AmazonEC2", "CreateVpcEndpoint", {}).n("EC2Client", "CreateVpcEndpointCommand").f(void 0, void 0).ser(se_CreateVpcEndpointCommand).de(de_CreateVpcEndpointCommand).build() { +}; +__name(_CreateVpcEndpointCommand, "CreateVpcEndpointCommand"); +var CreateVpcEndpointCommand = _CreateVpcEndpointCommand; +// src/commands/CreateVpcEndpointConnectionNotificationCommand.ts -/***/ }), -/***/ 4338: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -AWS.util.update(AWS.APIGateway.prototype, { -/** - * Sets the Accept header to application/json. - * - * @api private - */ - setAcceptHeader: function setAcceptHeader(req) { - var httpRequest = req.httpRequest; - if (!httpRequest.headers.Accept) { - httpRequest.headers['Accept'] = 'application/json'; - } - }, +var _CreateVpcEndpointConnectionNotificationCommand = class _CreateVpcEndpointConnectionNotificationCommand 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("AmazonEC2", "CreateVpcEndpointConnectionNotification", {}).n("EC2Client", "CreateVpcEndpointConnectionNotificationCommand").f(void 0, void 0).ser(se_CreateVpcEndpointConnectionNotificationCommand).de(de_CreateVpcEndpointConnectionNotificationCommand).build() { +}; +__name(_CreateVpcEndpointConnectionNotificationCommand, "CreateVpcEndpointConnectionNotificationCommand"); +var CreateVpcEndpointConnectionNotificationCommand = _CreateVpcEndpointConnectionNotificationCommand; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.setAcceptHeader); - if (request.operation === 'getExport') { - var params = request.params || {}; - if (params.exportType === 'swagger') { - request.addListener('extractData', AWS.util.convertPayloadToString); - } - } - } -}); +// src/commands/CreateVpcEndpointServiceConfigurationCommand.ts -/***/ }), -/***/ 95483: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +var _CreateVpcEndpointServiceConfigurationCommand = class _CreateVpcEndpointServiceConfigurationCommand 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("AmazonEC2", "CreateVpcEndpointServiceConfiguration", {}).n("EC2Client", "CreateVpcEndpointServiceConfigurationCommand").f(void 0, void 0).ser(se_CreateVpcEndpointServiceConfigurationCommand).de(de_CreateVpcEndpointServiceConfigurationCommand).build() { +}; +__name(_CreateVpcEndpointServiceConfigurationCommand, "CreateVpcEndpointServiceConfigurationCommand"); +var CreateVpcEndpointServiceConfigurationCommand = _CreateVpcEndpointServiceConfigurationCommand; -var AWS = __nccwpck_require__(28437); +// src/commands/CreateVpcPeeringConnectionCommand.ts -// pull in CloudFront signer -__nccwpck_require__(93260); -AWS.util.update(AWS.CloudFront.prototype, { - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('extractData', AWS.util.hoistPayloadMember); - } -}); +var _CreateVpcPeeringConnectionCommand = class _CreateVpcPeeringConnectionCommand 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("AmazonEC2", "CreateVpcPeeringConnection", {}).n("EC2Client", "CreateVpcPeeringConnectionCommand").f(void 0, void 0).ser(se_CreateVpcPeeringConnectionCommand).de(de_CreateVpcPeeringConnectionCommand).build() { +}; +__name(_CreateVpcPeeringConnectionCommand, "CreateVpcPeeringConnectionCommand"); +var CreateVpcPeeringConnectionCommand = _CreateVpcPeeringConnectionCommand; +// src/commands/CreateVpnConnectionCommand.ts -/***/ }), -/***/ 48571: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using CloudSearchDomain - * - * ```javascript - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * csd.search(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the CloudSearchDomain object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var csd = new AWS.CloudSearchDomain({ - * endpoint: 'my.host.tld', - * apiVersion: '2013-01-01' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **cloudsearchdomain** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * cloudsearchdomain: '2013-01-01', - * // other service API versions - * }; - * - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a CloudSearchDomain object - * var csd = new AWS.CloudSearchDomain({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service cloudsearchdomain - * @version 2013-01-01 - */ -AWS.util.update(AWS.CloudSearchDomain.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { - var msg = 'AWS.CloudSearchDomain requires an explicit ' + - '`endpoint\' configuration option.'; - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, +var _CreateVpnConnectionCommand = class _CreateVpnConnectionCommand 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("AmazonEC2", "CreateVpnConnection", {}).n("EC2Client", "CreateVpnConnectionCommand").f(CreateVpnConnectionRequestFilterSensitiveLog, CreateVpnConnectionResultFilterSensitiveLog).ser(se_CreateVpnConnectionCommand).de(de_CreateVpnConnectionCommand).build() { +}; +__name(_CreateVpnConnectionCommand, "CreateVpnConnectionCommand"); +var CreateVpnConnectionCommand = _CreateVpnConnectionCommand; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_CREDENTIALS - ); - request.onAsync('validate', this.validateCredentials); - request.addListener('validate', this.updateRegion); - if (request.operation === 'search') { - request.addListener('build', this.convertGetToPost); - } - }, +// src/commands/CreateVpnConnectionRouteCommand.ts - /** - * @api private - */ - validateCredentials: function(req, done) { - if (!req.service.api.signatureVersion) return done(); // none - req.service.config.getCredentials(function(err) { - if (err) { - req.removeListener('sign', AWS.EventListeners.Core.SIGN); - } - done(); - }); - }, - /** - * @api private - */ - convertGetToPost: function(request) { - var httpRequest = request.httpRequest; - // convert queries to POST to avoid length restrictions - var path = httpRequest.path.split('?'); - httpRequest.method = 'POST'; - httpRequest.path = path[0]; - httpRequest.body = path[1]; - httpRequest.headers['Content-Length'] = httpRequest.body.length; - httpRequest.headers['Content-Type'] = 'application/x-www-form-urlencoded'; - }, - /** - * @api private - */ - updateRegion: function updateRegion(request) { - var endpoint = request.httpRequest.endpoint.hostname; - var zones = endpoint.split('.'); - request.httpRequest.region = zones[1] || request.httpRequest.region; - } -}); +var _CreateVpnConnectionRouteCommand = class _CreateVpnConnectionRouteCommand 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("AmazonEC2", "CreateVpnConnectionRoute", {}).n("EC2Client", "CreateVpnConnectionRouteCommand").f(void 0, void 0).ser(se_CreateVpnConnectionRouteCommand).de(de_CreateVpnConnectionRouteCommand).build() { +}; +__name(_CreateVpnConnectionRouteCommand, "CreateVpnConnectionRouteCommand"); +var CreateVpnConnectionRouteCommand = _CreateVpnConnectionRouteCommand; +// src/commands/CreateVpnGatewayCommand.ts -/***/ }), -/***/ 59050: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var rdsutil = __nccwpck_require__(30650); -/** -* @api private -*/ -var crossRegionOperations = ['createDBCluster', 'copyDBClusterSnapshot']; +var _CreateVpnGatewayCommand = class _CreateVpnGatewayCommand 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("AmazonEC2", "CreateVpnGateway", {}).n("EC2Client", "CreateVpnGatewayCommand").f(void 0, void 0).ser(se_CreateVpnGatewayCommand).de(de_CreateVpnGatewayCommand).build() { +}; +__name(_CreateVpnGatewayCommand, "CreateVpnGatewayCommand"); +var CreateVpnGatewayCommand = _CreateVpnGatewayCommand; -AWS.util.update(AWS.DocDB.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if ( - crossRegionOperations.indexOf(request.operation) !== -1 && - this.config.params && - this.config.params.SourceRegion && - request.params && - !request.params.SourceRegion - ) { - request.params.SourceRegion = this.config.params.SourceRegion; - } - rdsutil.setupRequestListeners(this, request, crossRegionOperations); - }, -}); +// src/commands/DeleteCarrierGatewayCommand.ts -/***/ }), -/***/ 17101: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -__nccwpck_require__(90030); +var _DeleteCarrierGatewayCommand = class _DeleteCarrierGatewayCommand 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("AmazonEC2", "DeleteCarrierGateway", {}).n("EC2Client", "DeleteCarrierGatewayCommand").f(void 0, void 0).ser(se_DeleteCarrierGatewayCommand).de(de_DeleteCarrierGatewayCommand).build() { +}; +__name(_DeleteCarrierGatewayCommand, "DeleteCarrierGatewayCommand"); +var DeleteCarrierGatewayCommand = _DeleteCarrierGatewayCommand; -AWS.util.update(AWS.DynamoDB.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.service.config.dynamoDbCrc32) { - request.removeListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - request.addListener('extractData', this.checkCrc32); - request.addListener('extractData', AWS.EventListeners.Json.EXTRACT_DATA); - } - }, +// src/commands/DeleteClientVpnEndpointCommand.ts - /** - * @api private - */ - checkCrc32: function checkCrc32(resp) { - if (!resp.httpResponse.streaming && !resp.request.service.crc32IsValid(resp)) { - resp.data = null; - resp.error = AWS.util.error(new Error(), { - code: 'CRC32CheckFailed', - message: 'CRC32 integrity check failed', - retryable: true - }); - resp.request.haltHandlersOnError(); - throw (resp.error); - } - }, - /** - * @api private - */ - crc32IsValid: function crc32IsValid(resp) { - var crc = resp.httpResponse.headers['x-amz-crc32']; - if (!crc) return true; // no (valid) CRC32 header - return parseInt(crc, 10) === AWS.util.crypto.crc32(resp.httpResponse.body); - }, - /** - * @api private - */ - defaultRetryCount: 10, - /** - * @api private - */ - retryDelays: function retryDelays(retryCount, err) { - var retryDelayOptions = AWS.util.copy(this.config.retryDelayOptions); +var _DeleteClientVpnEndpointCommand = class _DeleteClientVpnEndpointCommand 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("AmazonEC2", "DeleteClientVpnEndpoint", {}).n("EC2Client", "DeleteClientVpnEndpointCommand").f(void 0, void 0).ser(se_DeleteClientVpnEndpointCommand).de(de_DeleteClientVpnEndpointCommand).build() { +}; +__name(_DeleteClientVpnEndpointCommand, "DeleteClientVpnEndpointCommand"); +var DeleteClientVpnEndpointCommand = _DeleteClientVpnEndpointCommand; - if (typeof retryDelayOptions.base !== 'number') { - retryDelayOptions.base = 50; // default for dynamodb - } - var delay = AWS.util.calculateRetryDelay(retryCount, retryDelayOptions, err); - return delay; - } -}); +// src/commands/DeleteClientVpnRouteCommand.ts -/***/ }), -/***/ 92501: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteClientVpnRouteCommand = class _DeleteClientVpnRouteCommand 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("AmazonEC2", "DeleteClientVpnRoute", {}).n("EC2Client", "DeleteClientVpnRouteCommand").f(void 0, void 0).ser(se_DeleteClientVpnRouteCommand).de(de_DeleteClientVpnRouteCommand).build() { +}; +__name(_DeleteClientVpnRouteCommand, "DeleteClientVpnRouteCommand"); +var DeleteClientVpnRouteCommand = _DeleteClientVpnRouteCommand; -AWS.util.update(AWS.EC2.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.removeListener('extractError', AWS.EventListeners.Query.EXTRACT_ERROR); - request.addListener('extractError', this.extractError); +// src/commands/DeleteCoipCidrCommand.ts - if (request.operation === 'copySnapshot') { - request.onAsync('validate', this.buildCopySnapshotPresignedUrl); - } - }, - /** - * @api private - */ - buildCopySnapshotPresignedUrl: function buildCopySnapshotPresignedUrl(req, done) { - if (req.params.PresignedUrl || req._subRequest) { - return done(); - } - - req.params = AWS.util.copy(req.params); - req.params.DestinationRegion = req.service.config.region; - - var config = AWS.util.copy(req.service.config); - delete config.endpoint; - config.region = req.params.SourceRegion; - var svc = new req.service.constructor(config); - var newReq = svc[req.operation](req.params); - newReq._subRequest = true; - newReq.presign(function(err, url) { - if (err) done(err); - else { - req.params.PresignedUrl = url; - done(); - } - }); - }, - /** - * @api private - */ - extractError: function extractError(resp) { - // EC2 nests the error code and message deeper than other AWS Query services. - var httpResponse = resp.httpResponse; - var data = new AWS.XML.Parser().parse(httpResponse.body.toString() || ''); - if (data.Errors) { - resp.error = AWS.util.error(new Error(), { - code: data.Errors.Error.Code, - message: data.Errors.Error.Message - }); - } else { - resp.error = AWS.util.error(new Error(), { - code: httpResponse.statusCode, - message: null - }); - } - resp.error.requestId = data.RequestID || null; - } -}); +var _DeleteCoipCidrCommand = class _DeleteCoipCidrCommand 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("AmazonEC2", "DeleteCoipCidr", {}).n("EC2Client", "DeleteCoipCidrCommand").f(void 0, void 0).ser(se_DeleteCoipCidrCommand).de(de_DeleteCoipCidrCommand).build() { +}; +__name(_DeleteCoipCidrCommand, "DeleteCoipCidrCommand"); +var DeleteCoipCidrCommand = _DeleteCoipCidrCommand; -/***/ }), +// src/commands/DeleteCoipPoolCommand.ts -/***/ 3034: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -AWS.util.update(AWS.EventBridge.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === 'putEvents') { - var params = request.params || {}; - if (params.EndpointId !== undefined) { - throw new AWS.util.error(new Error(), { - code: 'InvalidParameter', - message: 'EndpointId is not supported in current SDK.\n' + - 'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).' - }); - } - } - }, -}); +var _DeleteCoipPoolCommand = class _DeleteCoipPoolCommand 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("AmazonEC2", "DeleteCoipPool", {}).n("EC2Client", "DeleteCoipPoolCommand").f(void 0, void 0).ser(se_DeleteCoipPoolCommand).de(de_DeleteCoipPoolCommand).build() { +}; +__name(_DeleteCoipPoolCommand, "DeleteCoipPoolCommand"); +var DeleteCoipPoolCommand = _DeleteCoipPoolCommand; -/***/ }), +// src/commands/DeleteCustomerGatewayCommand.ts -/***/ 14472: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -AWS.util.update(AWS.Glacier.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (Array.isArray(request._events.validate)) { - request._events.validate.unshift(this.validateAccountId); - } else { - request.on('validate', this.validateAccountId); - } - request.removeListener('afterBuild', - AWS.EventListeners.Core.COMPUTE_SHA256); - request.on('build', this.addGlacierApiVersion); - request.on('build', this.addTreeHashHeaders); - }, - /** - * @api private - */ - validateAccountId: function validateAccountId(request) { - if (request.params.accountId !== undefined) return; - request.params = AWS.util.copy(request.params); - request.params.accountId = '-'; - }, +var _DeleteCustomerGatewayCommand = class _DeleteCustomerGatewayCommand 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("AmazonEC2", "DeleteCustomerGateway", {}).n("EC2Client", "DeleteCustomerGatewayCommand").f(void 0, void 0).ser(se_DeleteCustomerGatewayCommand).de(de_DeleteCustomerGatewayCommand).build() { +}; +__name(_DeleteCustomerGatewayCommand, "DeleteCustomerGatewayCommand"); +var DeleteCustomerGatewayCommand = _DeleteCustomerGatewayCommand; - /** - * @api private - */ - addGlacierApiVersion: function addGlacierApiVersion(request) { - var version = request.service.api.apiVersion; - request.httpRequest.headers['x-amz-glacier-version'] = version; - }, +// src/commands/DeleteDhcpOptionsCommand.ts - /** - * @api private - */ - addTreeHashHeaders: function addTreeHashHeaders(request) { - if (request.params.body === undefined) return; - var hashes = request.service.computeChecksums(request.params.body); - request.httpRequest.headers['X-Amz-Content-Sha256'] = hashes.linearHash; - if (!request.httpRequest.headers['x-amz-sha256-tree-hash']) { - request.httpRequest.headers['x-amz-sha256-tree-hash'] = hashes.treeHash; - } - }, - /** - * @!group Computing Checksums - */ +var _DeleteDhcpOptionsCommand = class _DeleteDhcpOptionsCommand 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("AmazonEC2", "DeleteDhcpOptions", {}).n("EC2Client", "DeleteDhcpOptionsCommand").f(void 0, void 0).ser(se_DeleteDhcpOptionsCommand).de(de_DeleteDhcpOptionsCommand).build() { +}; +__name(_DeleteDhcpOptionsCommand, "DeleteDhcpOptionsCommand"); +var DeleteDhcpOptionsCommand = _DeleteDhcpOptionsCommand; - /** - * Computes the SHA-256 linear and tree hash checksums for a given - * block of Buffer data. Pass the tree hash of the computed checksums - * as the checksum input to the {completeMultipartUpload} when performing - * a multi-part upload. - * - * @example Calculate checksum of 5.5MB data chunk - * var glacier = new AWS.Glacier(); - * var data = Buffer.alloc(5.5 * 1024 * 1024); - * data.fill('0'); // fill with zeros - * var results = glacier.computeChecksums(data); - * // Result: { linearHash: '68aff0c5a9...', treeHash: '154e26c78f...' } - * @param data [Buffer, String] data to calculate the checksum for - * @return [map] a map containing - * the linearHash and treeHash properties representing hex based digests - * of the respective checksums. - * @see completeMultipartUpload - */ - computeChecksums: function computeChecksums(data) { - if (!AWS.util.Buffer.isBuffer(data)) data = AWS.util.buffer.toBuffer(data); +// src/commands/DeleteEgressOnlyInternetGatewayCommand.ts - var mb = 1024 * 1024; - var hashes = []; - var hash = AWS.util.crypto.createHash('sha256'); - // build leaf nodes in 1mb chunks - for (var i = 0; i < data.length; i += mb) { - var chunk = data.slice(i, Math.min(i + mb, data.length)); - hash.update(chunk); - hashes.push(AWS.util.crypto.sha256(chunk)); - } - return { - linearHash: hash.digest('hex'), - treeHash: this.buildHashTree(hashes) - }; - }, - /** - * @api private - */ - buildHashTree: function buildHashTree(hashes) { - // merge leaf nodes - while (hashes.length > 1) { - var tmpHashes = []; - for (var i = 0; i < hashes.length; i += 2) { - if (hashes[i + 1]) { - var tmpHash = AWS.util.buffer.alloc(64); - tmpHash.write(hashes[i], 0, 32, 'binary'); - tmpHash.write(hashes[i + 1], 32, 32, 'binary'); - tmpHashes.push(AWS.util.crypto.sha256(tmpHash)); - } else { - tmpHashes.push(hashes[i]); - } - } - hashes = tmpHashes; - } +var _DeleteEgressOnlyInternetGatewayCommand = class _DeleteEgressOnlyInternetGatewayCommand 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("AmazonEC2", "DeleteEgressOnlyInternetGateway", {}).n("EC2Client", "DeleteEgressOnlyInternetGatewayCommand").f(void 0, void 0).ser(se_DeleteEgressOnlyInternetGatewayCommand).de(de_DeleteEgressOnlyInternetGatewayCommand).build() { +}; +__name(_DeleteEgressOnlyInternetGatewayCommand, "DeleteEgressOnlyInternetGatewayCommand"); +var DeleteEgressOnlyInternetGatewayCommand = _DeleteEgressOnlyInternetGatewayCommand; - return AWS.util.crypto.toHex(hashes[0]); - } -}); +// src/commands/DeleteFleetsCommand.ts -/***/ }), -/***/ 27062: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteFleetsCommand = class _DeleteFleetsCommand 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("AmazonEC2", "DeleteFleets", {}).n("EC2Client", "DeleteFleetsCommand").f(void 0, void 0).ser(se_DeleteFleetsCommand).de(de_DeleteFleetsCommand).build() { +}; +__name(_DeleteFleetsCommand, "DeleteFleetsCommand"); +var DeleteFleetsCommand = _DeleteFleetsCommand; -/** - * @api private - */ -var blobPayloadOutputOps = [ - 'deleteThingShadow', - 'getThingShadow', - 'updateThingShadow' -]; +// src/commands/DeleteFlowLogsCommand.ts -/** - * Constructs a service interface object. Each API operation is exposed as a - * function on service. - * - * ### Sending a Request Using IotData - * - * ```javascript - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * iotdata.getThingShadow(params, function (err, data) { - * if (err) console.log(err, err.stack); // an error occurred - * else console.log(data); // successful response - * }); - * ``` - * - * ### Locking the API Version - * - * In order to ensure that the IotData object uses this specific API, - * you can construct the object by passing the `apiVersion` option to the - * constructor: - * - * ```javascript - * var iotdata = new AWS.IotData({ - * endpoint: 'my.host.tld', - * apiVersion: '2015-05-28' - * }); - * ``` - * - * You can also set the API version globally in `AWS.config.apiVersions` using - * the **iotdata** service identifier: - * - * ```javascript - * AWS.config.apiVersions = { - * iotdata: '2015-05-28', - * // other service API versions - * }; - * - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * ``` - * - * @note You *must* provide an `endpoint` configuration parameter when - * constructing this service. See {constructor} for more information. - * - * @!method constructor(options = {}) - * Constructs a service object. This object has one method for each - * API operation. - * - * @example Constructing a IotData object - * var iotdata = new AWS.IotData({endpoint: 'my.host.tld'}); - * @note You *must* provide an `endpoint` when constructing this service. - * @option (see AWS.Config.constructor) - * - * @service iotdata - * @version 2015-05-28 - */ -AWS.util.update(AWS.IotData.prototype, { - /** - * @api private - */ - validateService: function validateService() { - if (!this.config.endpoint || this.config.endpoint.indexOf('{') >= 0) { - var msg = 'AWS.IotData requires an explicit ' + - '`endpoint\' configuration option.'; - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validateResponse', this.validateResponseBody); - if (blobPayloadOutputOps.indexOf(request.operation) > -1) { - request.addListener('extractData', AWS.util.convertPayloadToString); - } - }, - /** - * @api private - */ - validateResponseBody: function validateResponseBody(resp) { - var body = resp.httpResponse.body.toString() || '{}'; - var bodyCheck = body.trim(); - if (!bodyCheck || bodyCheck.charAt(0) !== '{') { - resp.httpResponse.body = ''; - } - } -}); +var _DeleteFlowLogsCommand = class _DeleteFlowLogsCommand 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("AmazonEC2", "DeleteFlowLogs", {}).n("EC2Client", "DeleteFlowLogsCommand").f(void 0, void 0).ser(se_DeleteFlowLogsCommand).de(de_DeleteFlowLogsCommand).build() { +}; +__name(_DeleteFlowLogsCommand, "DeleteFlowLogsCommand"); +var DeleteFlowLogsCommand = _DeleteFlowLogsCommand; +// src/commands/DeleteFpgaImageCommand.ts -/***/ }), -/***/ 8452: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -AWS.util.update(AWS.Lambda.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === 'invoke') { - request.addListener('extractData', AWS.util.convertPayloadToString); - } - } -}); +var _DeleteFpgaImageCommand = class _DeleteFpgaImageCommand 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("AmazonEC2", "DeleteFpgaImage", {}).n("EC2Client", "DeleteFpgaImageCommand").f(void 0, void 0).ser(se_DeleteFpgaImageCommand).de(de_DeleteFpgaImageCommand).build() { +}; +__name(_DeleteFpgaImageCommand, "DeleteFpgaImageCommand"); +var DeleteFpgaImageCommand = _DeleteFpgaImageCommand; +// src/commands/DeleteInstanceConnectEndpointCommand.ts -/***/ }), -/***/ 19174: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteInstanceConnectEndpointCommand = class _DeleteInstanceConnectEndpointCommand 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("AmazonEC2", "DeleteInstanceConnectEndpoint", {}).n("EC2Client", "DeleteInstanceConnectEndpointCommand").f(void 0, void 0).ser(se_DeleteInstanceConnectEndpointCommand).de(de_DeleteInstanceConnectEndpointCommand).build() { +}; +__name(_DeleteInstanceConnectEndpointCommand, "DeleteInstanceConnectEndpointCommand"); +var DeleteInstanceConnectEndpointCommand = _DeleteInstanceConnectEndpointCommand; -AWS.util.update(AWS.MachineLearning.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if (request.operation === 'predict') { - request.addListener('build', this.buildEndpoint); - } - }, +// src/commands/DeleteInstanceEventWindowCommand.ts - /** - * Updates request endpoint from PredictEndpoint - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.params.PredictEndpoint; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - } - } -}); -/***/ }), +var _DeleteInstanceEventWindowCommand = class _DeleteInstanceEventWindowCommand 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("AmazonEC2", "DeleteInstanceEventWindow", {}).n("EC2Client", "DeleteInstanceEventWindowCommand").f(void 0, void 0).ser(se_DeleteInstanceEventWindowCommand).de(de_DeleteInstanceEventWindowCommand).build() { +}; +__name(_DeleteInstanceEventWindowCommand, "DeleteInstanceEventWindowCommand"); +var DeleteInstanceEventWindowCommand = _DeleteInstanceEventWindowCommand; -/***/ 73090: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DeleteInternetGatewayCommand.ts -var AWS = __nccwpck_require__(28437); -var rdsutil = __nccwpck_require__(30650); -/** -* @api private -*/ -var crossRegionOperations = ['createDBCluster', 'copyDBClusterSnapshot']; -AWS.util.update(AWS.Neptune.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - if ( - crossRegionOperations.indexOf(request.operation) !== -1 && - this.config.params && - this.config.params.SourceRegion && - request.params && - !request.params.SourceRegion - ) { - request.params.SourceRegion = this.config.params.SourceRegion; - } - rdsutil.setupRequestListeners(this, request, crossRegionOperations); - }, -}); +var _DeleteInternetGatewayCommand = class _DeleteInternetGatewayCommand 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("AmazonEC2", "DeleteInternetGateway", {}).n("EC2Client", "DeleteInternetGatewayCommand").f(void 0, void 0).ser(se_DeleteInternetGatewayCommand).de(de_DeleteInternetGatewayCommand).build() { +}; +__name(_DeleteInternetGatewayCommand, "DeleteInternetGatewayCommand"); +var DeleteInternetGatewayCommand = _DeleteInternetGatewayCommand; + +// src/commands/DeleteIpamCommand.ts -/***/ }), -/***/ 71963: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -if (AWS.NeptuneGraph) { - AWS.util.update(AWS.NeptuneGraph.prototype, { - /** - * @api private - */ - validateService: function validateService() { - var msg = 'AWS Neptune Graph is not available in the AWS SDK for JavaScript v2, consider using the AWS SDK for JavaScript v3: https://www.npmjs.com/package/@aws-sdk/client-neptune-graph'; - throw AWS.util.error(new Error(), - {name: 'ServiceExcludedFromV2', message: msg}); - }, - }); +var _DeleteIpamCommand = class _DeleteIpamCommand 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("AmazonEC2", "DeleteIpam", {}).n("EC2Client", "DeleteIpamCommand").f(void 0, void 0).ser(se_DeleteIpamCommand).de(de_DeleteIpamCommand).build() { }; +__name(_DeleteIpamCommand, "DeleteIpamCommand"); +var DeleteIpamCommand = _DeleteIpamCommand; +// src/commands/DeleteIpamPoolCommand.ts -/***/ }), -/***/ 53199: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -__nccwpck_require__(44086); +var _DeleteIpamPoolCommand = class _DeleteIpamPoolCommand 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("AmazonEC2", "DeleteIpamPool", {}).n("EC2Client", "DeleteIpamPoolCommand").f(void 0, void 0).ser(se_DeleteIpamPoolCommand).de(de_DeleteIpamPoolCommand).build() { +}; +__name(_DeleteIpamPoolCommand, "DeleteIpamPoolCommand"); +var DeleteIpamPoolCommand = _DeleteIpamPoolCommand; -/***/ }), +// src/commands/DeleteIpamResourceDiscoveryCommand.ts -/***/ 71928: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var rdsutil = __nccwpck_require__(30650); -__nccwpck_require__(16612); - /** - * @api private - */ - var crossRegionOperations = ['copyDBSnapshot', 'createDBInstanceReadReplica', 'createDBCluster', 'copyDBClusterSnapshot', 'startDBInstanceAutomatedBackupsReplication']; - AWS.util.update(AWS.RDS.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - rdsutil.setupRequestListeners(this, request, crossRegionOperations); - }, - }); +var _DeleteIpamResourceDiscoveryCommand = class _DeleteIpamResourceDiscoveryCommand 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("AmazonEC2", "DeleteIpamResourceDiscovery", {}).n("EC2Client", "DeleteIpamResourceDiscoveryCommand").f(void 0, void 0).ser(se_DeleteIpamResourceDiscoveryCommand).de(de_DeleteIpamResourceDiscoveryCommand).build() { +}; +__name(_DeleteIpamResourceDiscoveryCommand, "DeleteIpamResourceDiscoveryCommand"); +var DeleteIpamResourceDiscoveryCommand = _DeleteIpamResourceDiscoveryCommand; -/***/ }), +// src/commands/DeleteIpamScopeCommand.ts -/***/ 64070: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -AWS.util.update(AWS.RDSDataService.prototype, { - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error) { - if (error.code === 'BadRequestException' && - error.message && - error.message.match(/^Communications link failure/) && - error.statusCode === 400) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - } -}); +var _DeleteIpamScopeCommand = class _DeleteIpamScopeCommand 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("AmazonEC2", "DeleteIpamScope", {}).n("EC2Client", "DeleteIpamScopeCommand").f(void 0, void 0).ser(se_DeleteIpamScopeCommand).de(de_DeleteIpamScopeCommand).build() { +}; +__name(_DeleteIpamScopeCommand, "DeleteIpamScopeCommand"); +var DeleteIpamScopeCommand = _DeleteIpamScopeCommand; -/***/ }), +// src/commands/DeleteKeyPairCommand.ts -/***/ 30650: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var rdsutil = { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(service, request, crossRegionOperations) { - if (crossRegionOperations.indexOf(request.operation) !== -1 && - request.params.SourceRegion) { - request.params = AWS.util.copy(request.params); - if (request.params.PreSignedUrl || - request.params.SourceRegion === service.config.region) { - delete request.params.SourceRegion; - } else { - var doesParamValidation = !!service.config.paramValidation; - // remove the validate parameters listener so we can re-add it after we build the URL - if (doesParamValidation) { - request.removeListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } - request.onAsync('validate', rdsutil.buildCrossRegionPresignedUrl); - if (doesParamValidation) { - request.addListener('validate', AWS.EventListeners.Core.VALIDATE_PARAMETERS); - } - } - } - }, - /** - * @api private - */ - buildCrossRegionPresignedUrl: function buildCrossRegionPresignedUrl(req, done) { - var config = AWS.util.copy(req.service.config); - config.region = req.params.SourceRegion; - delete req.params.SourceRegion; - delete config.endpoint; - // relevant params for the operation will already be in req.params - delete config.params; - config.signatureVersion = 'v4'; - var destinationRegion = req.service.config.region; - - var svc = new req.service.constructor(config); - var newReq = svc[req.operation](AWS.util.copy(req.params)); - newReq.on('build', function addDestinationRegionParam(request) { - var httpRequest = request.httpRequest; - httpRequest.params.DestinationRegion = destinationRegion; - httpRequest.body = AWS.util.queryParamsToString(httpRequest.params); - }); - newReq.presign(function(err, url) { - if (err) done(err); - else { - req.params.PreSignedUrl = url; - done(); - } - }); - } +var _DeleteKeyPairCommand = class _DeleteKeyPairCommand 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("AmazonEC2", "DeleteKeyPair", {}).n("EC2Client", "DeleteKeyPairCommand").f(void 0, void 0).ser(se_DeleteKeyPairCommand).de(de_DeleteKeyPairCommand).build() { }; +__name(_DeleteKeyPairCommand, "DeleteKeyPairCommand"); +var DeleteKeyPairCommand = _DeleteKeyPairCommand; -/** - * @api private - */ -module.exports = rdsutil; +// src/commands/DeleteLaunchTemplateCommand.ts -/***/ }), -/***/ 69627: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteLaunchTemplateCommand = class _DeleteLaunchTemplateCommand 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("AmazonEC2", "DeleteLaunchTemplate", {}).n("EC2Client", "DeleteLaunchTemplateCommand").f(void 0, void 0).ser(se_DeleteLaunchTemplateCommand).de(de_DeleteLaunchTemplateCommand).build() { +}; +__name(_DeleteLaunchTemplateCommand, "DeleteLaunchTemplateCommand"); +var DeleteLaunchTemplateCommand = _DeleteLaunchTemplateCommand; -AWS.util.update(AWS.Route53.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.on('build', this.sanitizeUrl); - }, +// src/commands/DeleteLaunchTemplateVersionsCommand.ts - /** - * @api private - */ - sanitizeUrl: function sanitizeUrl(request) { - var path = request.httpRequest.path; - request.httpRequest.path = path.replace(/\/%2F\w+%2F/, '/'); - }, - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error) { - if (error.code === 'PriorRequestNotComplete' && - error.statusCode === 400) { - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error); - } - } -}); -/***/ }), +var _DeleteLaunchTemplateVersionsCommand = class _DeleteLaunchTemplateVersionsCommand 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("AmazonEC2", "DeleteLaunchTemplateVersions", {}).n("EC2Client", "DeleteLaunchTemplateVersionsCommand").f(void 0, void 0).ser(se_DeleteLaunchTemplateVersionsCommand).de(de_DeleteLaunchTemplateVersionsCommand).build() { +}; +__name(_DeleteLaunchTemplateVersionsCommand, "DeleteLaunchTemplateVersionsCommand"); +var DeleteLaunchTemplateVersionsCommand = _DeleteLaunchTemplateVersionsCommand; -/***/ 26543: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DeleteLocalGatewayRouteCommand.ts -var AWS = __nccwpck_require__(28437); -var v4Credentials = __nccwpck_require__(62660); -var resolveRegionalEndpointsFlag = __nccwpck_require__(85566); -var s3util = __nccwpck_require__(35895); -var regionUtil = __nccwpck_require__(18262); -// Pull in managed upload extension -__nccwpck_require__(81600); -/** - * @api private - */ -var operationsWith200StatusCodeError = { - 'completeMultipartUpload': true, - 'copyObject': true, - 'uploadPartCopy': true + +var _DeleteLocalGatewayRouteCommand = class _DeleteLocalGatewayRouteCommand 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("AmazonEC2", "DeleteLocalGatewayRoute", {}).n("EC2Client", "DeleteLocalGatewayRouteCommand").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteCommand).de(de_DeleteLocalGatewayRouteCommand).build() { }; +__name(_DeleteLocalGatewayRouteCommand, "DeleteLocalGatewayRouteCommand"); +var DeleteLocalGatewayRouteCommand = _DeleteLocalGatewayRouteCommand; -/** - * @api private - */ - var regionRedirectErrorCodes = [ - 'AuthorizationHeaderMalformed', // non-head operations on virtual-hosted global bucket endpoints - 'BadRequest', // head operations on virtual-hosted global bucket endpoints - 'PermanentRedirect', // non-head operations on path-style or regional endpoints - 301 // head operations on path-style or regional endpoints - ]; +// src/commands/DeleteLocalGatewayRouteTableCommand.ts -var OBJECT_LAMBDA_SERVICE = 's3-object-lambda'; -AWS.util.update(AWS.S3.prototype, { - /** - * @api private - */ - getSignatureVersion: function getSignatureVersion(request) { - var defaultApiVersion = this.api.signatureVersion; - var userDefinedVersion = this._originalConfig ? this._originalConfig.signatureVersion : null; - var regionDefinedVersion = this.config.signatureVersion; - var isPresigned = request ? request.isPresigned() : false; - /* - 1) User defined version specified: - a) always return user defined version - 2) No user defined version specified: - a) If not using presigned urls, default to V4 - b) If using presigned urls, default to lowest version the region supports - */ - if (userDefinedVersion) { - userDefinedVersion = userDefinedVersion === 'v2' ? 's3' : userDefinedVersion; - return userDefinedVersion; - } - if (isPresigned !== true) { - defaultApiVersion = 'v4'; - } else if (regionDefinedVersion) { - defaultApiVersion = regionDefinedVersion; - } - return defaultApiVersion; - }, - /** - * @api private - */ - getSigningName: function getSigningName(req) { - if (req && req.operation === 'writeGetObjectResponse') { - return OBJECT_LAMBDA_SERVICE; - } - var _super = AWS.Service.prototype.getSigningName; - return (req && req._parsedArn && req._parsedArn.service) - ? req._parsedArn.service - : _super.call(this); - }, +var _DeleteLocalGatewayRouteTableCommand = class _DeleteLocalGatewayRouteTableCommand 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("AmazonEC2", "DeleteLocalGatewayRouteTable", {}).n("EC2Client", "DeleteLocalGatewayRouteTableCommand").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableCommand).de(de_DeleteLocalGatewayRouteTableCommand).build() { +}; +__name(_DeleteLocalGatewayRouteTableCommand, "DeleteLocalGatewayRouteTableCommand"); +var DeleteLocalGatewayRouteTableCommand = _DeleteLocalGatewayRouteTableCommand; - /** - * @api private - */ - getSignerClass: function getSignerClass(request) { - var signatureVersion = this.getSignatureVersion(request); - return AWS.Signers.RequestSigner.getVersion(signatureVersion); - }, +// src/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts - /** - * @api private - */ - validateService: function validateService() { - var msg; - var messages = []; - // default to us-east-1 when no region is provided - if (!this.config.region) this.config.region = 'us-east-1'; - if (!this.config.endpoint && this.config.s3BucketEndpoint) { - messages.push('An endpoint must be provided when configuring ' + - '`s3BucketEndpoint` to true.'); - } - if (messages.length === 1) { - msg = messages[0]; - } else if (messages.length > 1) { - msg = 'Multiple configuration errors:\n' + messages.join('\n'); - } - if (msg) { - throw AWS.util.error(new Error(), - {name: 'InvalidEndpoint', message: msg}); - } - }, - /** - * @api private - */ - shouldDisableBodySigning: function shouldDisableBodySigning(request) { - var signerClass = this.getSignerClass(); - if (this.config.s3DisableBodySigning === true && signerClass === AWS.Signers.V4 - && request.httpRequest.endpoint.protocol === 'https:') { - return true; - } - return false; - }, +var _DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = class _DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand 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("AmazonEC2", "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation", {}).n("EC2Client", "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).de(de_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand).build() { +}; +__name(_DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, "DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand"); +var DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand = _DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - var prependListener = true; - request.addListener('validate', this.validateScheme); - request.addListener('validate', this.validateBucketName, prependListener); - request.addListener('validate', this.optInUsEast1RegionalEndpoint, prependListener); - - request.removeListener('validate', - AWS.EventListeners.Core.VALIDATE_REGION); - request.addListener('build', this.addContentType); - request.addListener('build', this.computeContentMd5); - request.addListener('build', this.computeSseCustomerKeyMd5); - request.addListener('build', this.populateURI); - request.addListener('afterBuild', this.addExpect100Continue); - request.addListener('extractError', this.extractError); - request.addListener('extractData', AWS.util.hoistPayloadMember); - request.addListener('extractData', this.extractData); - request.addListener('extractData', this.extractErrorFrom200Response); - request.addListener('beforePresign', this.prepareSignedUrl); - if (this.shouldDisableBodySigning(request)) { - request.removeListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - request.addListener('afterBuild', this.disableBodySigning); - } - //deal with ARNs supplied to Bucket - if (request.operation !== 'createBucket' && s3util.isArnInParam(request, 'Bucket')) { - // avoid duplicate parsing in the future - request._parsedArn = AWS.util.ARN.parse(request.params.Bucket); - - request.removeListener('validate', this.validateBucketName); - request.removeListener('build', this.populateURI); - if (request._parsedArn.service === 's3') { - request.addListener('validate', s3util.validateS3AccessPointArn); - request.addListener('validate', this.validateArnResourceType); - request.addListener('validate', this.validateArnRegion); - } else if (request._parsedArn.service === 's3-outposts') { - request.addListener('validate', s3util.validateOutpostsAccessPointArn); - request.addListener('validate', s3util.validateOutpostsArn); - request.addListener('validate', s3util.validateArnRegion); - } - request.addListener('validate', s3util.validateArnAccount); - request.addListener('validate', s3util.validateArnService); - request.addListener('build', this.populateUriFromAccessPointArn); - request.addListener('build', s3util.validatePopulateUriFromArn); - return; - } - //listeners regarding region inference - request.addListener('validate', this.validateBucketEndpoint); - request.addListener('validate', this.correctBucketRegionFromCache); - request.onAsync('extractError', this.requestBucketRegion); - if (AWS.util.isBrowser()) { - request.onAsync('retry', this.reqRegionForNetworkingError); - } - }, +// src/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts - /** - * @api private - */ - validateScheme: function(req) { - var params = req.params, - scheme = req.httpRequest.endpoint.protocol, - sensitive = params.SSECustomerKey || params.CopySourceSSECustomerKey; - if (sensitive && scheme !== 'https:') { - var msg = 'Cannot send SSE keys over HTTP. Set \'sslEnabled\'' + - 'to \'true\' in your configuration'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - /** - * @api private - */ - validateBucketEndpoint: function(req) { - if (!req.params.Bucket && req.service.config.s3BucketEndpoint) { - var msg = 'Cannot send requests to root API with `s3BucketEndpoint` set.'; - throw AWS.util.error(new Error(), - { code: 'ConfigError', message: msg }); - } - }, - /** - * @api private - */ - validateArnRegion: function validateArnRegion(req) { - s3util.validateArnRegion(req, { allowFipsEndpoint: true }); - }, - /** - * Validate resource-type supplied in S3 ARN - */ - validateArnResourceType: function validateArnResourceType(req) { - var resource = req._parsedArn.resource; +var _DeleteLocalGatewayRouteTableVpcAssociationCommand = class _DeleteLocalGatewayRouteTableVpcAssociationCommand 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("AmazonEC2", "DeleteLocalGatewayRouteTableVpcAssociation", {}).n("EC2Client", "DeleteLocalGatewayRouteTableVpcAssociationCommand").f(void 0, void 0).ser(se_DeleteLocalGatewayRouteTableVpcAssociationCommand).de(de_DeleteLocalGatewayRouteTableVpcAssociationCommand).build() { +}; +__name(_DeleteLocalGatewayRouteTableVpcAssociationCommand, "DeleteLocalGatewayRouteTableVpcAssociationCommand"); +var DeleteLocalGatewayRouteTableVpcAssociationCommand = _DeleteLocalGatewayRouteTableVpcAssociationCommand; - if ( - resource.indexOf('accesspoint:') !== 0 && - resource.indexOf('accesspoint/') !== 0 - ) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'ARN resource should begin with \'accesspoint/\'' - }); - } - }, +// src/commands/DeleteManagedPrefixListCommand.ts - /** - * @api private - */ - validateBucketName: function validateBucketName(req) { - var service = req.service; - var signatureVersion = service.getSignatureVersion(req); - var bucket = req.params && req.params.Bucket; - var key = req.params && req.params.Key; - var slashIndex = bucket && bucket.indexOf('/'); - if (bucket && slashIndex >= 0) { - if (typeof key === 'string' && slashIndex > 0) { - req.params = AWS.util.copy(req.params); - // Need to include trailing slash to match sigv2 behavior - var prefix = bucket.substr(slashIndex + 1) || ''; - req.params.Key = prefix + '/' + key; - req.params.Bucket = bucket.substr(0, slashIndex); - } else if (signatureVersion === 'v4') { - var msg = 'Bucket names cannot contain forward slashes. Bucket: ' + bucket; - throw AWS.util.error(new Error(), - { code: 'InvalidBucket', message: msg }); - } - } - }, - /** - * @api private - */ - isValidAccelerateOperation: function isValidAccelerateOperation(operation) { - var invalidOperations = [ - 'createBucket', - 'deleteBucket', - 'listBuckets' - ]; - return invalidOperations.indexOf(operation) === -1; - }, - /** - * When us-east-1 region endpoint configuration is set, in stead of sending request to - * global endpoint(e.g. 's3.amazonaws.com'), we will send request to - * 's3.us-east-1.amazonaws.com'. - * @api private - */ - optInUsEast1RegionalEndpoint: function optInUsEast1RegionalEndpoint(req) { - var service = req.service; - var config = service.config; - config.s3UsEast1RegionalEndpoint = resolveRegionalEndpointsFlag(service._originalConfig, { - env: 'AWS_S3_US_EAST_1_REGIONAL_ENDPOINT', - sharedConfig: 's3_us_east_1_regional_endpoint', - clientConfig: 's3UsEast1RegionalEndpoint' - }); - if ( - !(service._originalConfig || {}).endpoint && - req.httpRequest.region === 'us-east-1' && - config.s3UsEast1RegionalEndpoint === 'regional' && - req.httpRequest.endpoint.hostname.indexOf('s3.amazonaws.com') >= 0 - ) { - var insertPoint = config.endpoint.indexOf('.amazonaws.com'); - var regionalEndpoint = config.endpoint.substring(0, insertPoint) + - '.us-east-1' + config.endpoint.substring(insertPoint); - req.httpRequest.updateEndpoint(regionalEndpoint); - } - }, - /** - * S3 prefers dns-compatible bucket names to be moved from the uri path - * to the hostname as a sub-domain. This is not possible, even for dns-compat - * buckets when using SSL and the bucket name contains a dot ('.'). The - * ssl wildcard certificate is only 1-level deep. - * - * @api private - */ - populateURI: function populateURI(req) { - var httpRequest = req.httpRequest; - var b = req.params.Bucket; - var service = req.service; - var endpoint = httpRequest.endpoint; - if (b) { - if (!service.pathStyleBucketName(b)) { - if (service.config.useAccelerateEndpoint && service.isValidAccelerateOperation(req.operation)) { - if (service.config.useDualstackEndpoint) { - endpoint.hostname = b + '.s3-accelerate.dualstack.amazonaws.com'; - } else { - endpoint.hostname = b + '.s3-accelerate.amazonaws.com'; - } - } else if (!service.config.s3BucketEndpoint) { - endpoint.hostname = - b + '.' + endpoint.hostname; - } +var _DeleteManagedPrefixListCommand = class _DeleteManagedPrefixListCommand 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("AmazonEC2", "DeleteManagedPrefixList", {}).n("EC2Client", "DeleteManagedPrefixListCommand").f(void 0, void 0).ser(se_DeleteManagedPrefixListCommand).de(de_DeleteManagedPrefixListCommand).build() { +}; +__name(_DeleteManagedPrefixListCommand, "DeleteManagedPrefixListCommand"); +var DeleteManagedPrefixListCommand = _DeleteManagedPrefixListCommand; - var port = endpoint.port; - if (port !== 80 && port !== 443) { - endpoint.host = endpoint.hostname + ':' + - endpoint.port; - } else { - endpoint.host = endpoint.hostname; - } +// src/commands/DeleteNatGatewayCommand.ts - httpRequest.virtualHostedBucket = b; // needed for signing the request - service.removeVirtualHostedBucketFromPath(req); - } - } - }, - /** - * Takes the bucket name out of the path if bucket is virtual-hosted - * - * @api private - */ - removeVirtualHostedBucketFromPath: function removeVirtualHostedBucketFromPath(req) { - var httpRequest = req.httpRequest; - var bucket = httpRequest.virtualHostedBucket; - if (bucket && httpRequest.path) { - if (req.params && req.params.Key) { - var encodedS3Key = '/' + AWS.util.uriEscapePath(req.params.Key); - if (httpRequest.path.indexOf(encodedS3Key) === 0 && (httpRequest.path.length === encodedS3Key.length || httpRequest.path[encodedS3Key.length] === '?')) { - //path only contains key or path contains only key and querystring - return; - } - } - httpRequest.path = httpRequest.path.replace(new RegExp('/' + bucket), ''); - if (httpRequest.path[0] !== '/') { - httpRequest.path = '/' + httpRequest.path; - } - } - }, - /** - * When user supply an access point ARN in the Bucket parameter, we need to - * populate the URI according to the ARN. - */ - populateUriFromAccessPointArn: function populateUriFromAccessPointArn(req) { - var accessPointArn = req._parsedArn; - - var isOutpostArn = accessPointArn.service === 's3-outposts'; - var isObjectLambdaArn = accessPointArn.service === 's3-object-lambda'; - - var outpostsSuffix = isOutpostArn ? '.' + accessPointArn.outpostId: ''; - var serviceName = isOutpostArn ? 's3-outposts': 's3-accesspoint'; - var fipsSuffix = !isOutpostArn && req.service.config.useFipsEndpoint ? '-fips': ''; - var dualStackSuffix = !isOutpostArn && - req.service.config.useDualstackEndpoint ? '.dualstack' : ''; - - var endpoint = req.httpRequest.endpoint; - var dnsSuffix = regionUtil.getEndpointSuffix(accessPointArn.region); - var useArnRegion = req.service.config.s3UseArnRegion; - - endpoint.hostname = [ - accessPointArn.accessPoint + '-' + accessPointArn.accountId + outpostsSuffix, - serviceName + fipsSuffix + dualStackSuffix, - useArnRegion ? accessPointArn.region : req.service.config.region, - dnsSuffix - ].join('.'); - - if (isObjectLambdaArn) { - // should be in the format: "accesspoint/${accesspointName}" - var serviceName = 's3-object-lambda'; - var accesspointName = accessPointArn.resource.split('/')[1]; - var fipsSuffix = req.service.config.useFipsEndpoint ? '-fips': ''; - endpoint.hostname = [ - accesspointName + '-' + accessPointArn.accountId, - serviceName + fipsSuffix, - useArnRegion ? accessPointArn.region : req.service.config.region, - dnsSuffix - ].join('.'); - } - endpoint.host = endpoint.hostname; - var encodedArn = AWS.util.uriEscape(req.params.Bucket); - var path = req.httpRequest.path; - //remove the Bucket value from path - req.httpRequest.path = path.replace(new RegExp('/' + encodedArn), ''); - if (req.httpRequest.path[0] !== '/') { - req.httpRequest.path = '/' + req.httpRequest.path; - } - req.httpRequest.region = accessPointArn.region; //region used to sign - }, - /** - * Adds Expect: 100-continue header if payload is greater-or-equal 1MB - * @api private - */ - addExpect100Continue: function addExpect100Continue(req) { - var len = req.httpRequest.headers['Content-Length']; - if (AWS.util.isNode() && (len >= 1024 * 1024 || req.params.Body instanceof AWS.util.stream.Stream)) { - req.httpRequest.headers['Expect'] = '100-continue'; - } - }, +var _DeleteNatGatewayCommand = class _DeleteNatGatewayCommand 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("AmazonEC2", "DeleteNatGateway", {}).n("EC2Client", "DeleteNatGatewayCommand").f(void 0, void 0).ser(se_DeleteNatGatewayCommand).de(de_DeleteNatGatewayCommand).build() { +}; +__name(_DeleteNatGatewayCommand, "DeleteNatGatewayCommand"); +var DeleteNatGatewayCommand = _DeleteNatGatewayCommand; - /** - * Adds a default content type if none is supplied. - * - * @api private - */ - addContentType: function addContentType(req) { - var httpRequest = req.httpRequest; - if (httpRequest.method === 'GET' || httpRequest.method === 'HEAD') { - // Content-Type is not set in GET/HEAD requests - delete httpRequest.headers['Content-Type']; - return; - } +// src/commands/DeleteNetworkAclCommand.ts - if (!httpRequest.headers['Content-Type']) { // always have a Content-Type - httpRequest.headers['Content-Type'] = 'application/octet-stream'; - } - var contentType = httpRequest.headers['Content-Type']; - if (AWS.util.isBrowser()) { - if (typeof httpRequest.body === 'string' && !contentType.match(/;\s*charset=/)) { - var charset = '; charset=UTF-8'; - httpRequest.headers['Content-Type'] += charset; - } else { - var replaceFn = function(_, prefix, charsetName) { - return prefix + charsetName.toUpperCase(); - }; - httpRequest.headers['Content-Type'] = - contentType.replace(/(;\s*charset=)(.+)$/, replaceFn); - } - } - }, - /** - * Checks whether checksums should be computed for the request if it's not - * already set by {AWS.EventListeners.Core.COMPUTE_CHECKSUM}. It depends on - * whether {AWS.Config.computeChecksums} is set. - * - * @param req [AWS.Request] the request to check against - * @return [Boolean] whether to compute checksums for a request. - * @api private - */ - willComputeChecksums: function willComputeChecksums(req) { - var rules = req.service.api.operations[req.operation].input.members; - var body = req.httpRequest.body; - var needsContentMD5 = req.service.config.computeChecksums && - rules.ContentMD5 && - !req.params.ContentMD5 && - body && - (AWS.util.Buffer.isBuffer(req.httpRequest.body) || typeof req.httpRequest.body === 'string'); - - // Sha256 signing disabled, and not a presigned url - if (needsContentMD5 && req.service.shouldDisableBodySigning(req) && !req.isPresigned()) { - return true; - } +var _DeleteNetworkAclCommand = class _DeleteNetworkAclCommand 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("AmazonEC2", "DeleteNetworkAcl", {}).n("EC2Client", "DeleteNetworkAclCommand").f(void 0, void 0).ser(se_DeleteNetworkAclCommand).de(de_DeleteNetworkAclCommand).build() { +}; +__name(_DeleteNetworkAclCommand, "DeleteNetworkAclCommand"); +var DeleteNetworkAclCommand = _DeleteNetworkAclCommand; - // SigV2 and presign, for backwards compatibility purpose. - if (needsContentMD5 && this.getSignatureVersion(req) === 's3' && req.isPresigned()) { - return true; - } +// src/commands/DeleteNetworkAclEntryCommand.ts - return false; - }, - /** - * A listener that computes the Content-MD5 and sets it in the header. - * This listener is to support S3-specific features like - * s3DisableBodySigning and SigV2 presign. Content MD5 logic for SigV4 is - * handled in AWS.EventListeners.Core.COMPUTE_CHECKSUM - * - * @api private - */ - computeContentMd5: function computeContentMd5(req) { - if (req.service.willComputeChecksums(req)) { - var md5 = AWS.util.crypto.md5(req.httpRequest.body, 'base64'); - req.httpRequest.headers['Content-MD5'] = md5; - } - }, - /** - * @api private - */ - computeSseCustomerKeyMd5: function computeSseCustomerKeyMd5(req) { - var keys = { - SSECustomerKey: 'x-amz-server-side-encryption-customer-key-MD5', - CopySourceSSECustomerKey: 'x-amz-copy-source-server-side-encryption-customer-key-MD5' - }; - AWS.util.each(keys, function(key, header) { - if (req.params[key]) { - var value = AWS.util.crypto.md5(req.params[key], 'base64'); - req.httpRequest.headers[header] = value; - } - }); - }, - /** - * Returns true if the bucket name should be left in the URI path for - * a request to S3. This function takes into account the current - * endpoint protocol (e.g. http or https). - * - * @api private - */ - pathStyleBucketName: function pathStyleBucketName(bucketName) { - // user can force path style requests via the configuration - if (this.config.s3ForcePathStyle) return true; - if (this.config.s3BucketEndpoint) return false; +var _DeleteNetworkAclEntryCommand = class _DeleteNetworkAclEntryCommand 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("AmazonEC2", "DeleteNetworkAclEntry", {}).n("EC2Client", "DeleteNetworkAclEntryCommand").f(void 0, void 0).ser(se_DeleteNetworkAclEntryCommand).de(de_DeleteNetworkAclEntryCommand).build() { +}; +__name(_DeleteNetworkAclEntryCommand, "DeleteNetworkAclEntryCommand"); +var DeleteNetworkAclEntryCommand = _DeleteNetworkAclEntryCommand; - if (s3util.dnsCompatibleBucketName(bucketName)) { - return (this.config.sslEnabled && bucketName.match(/\./)) ? true : false; - } else { - return true; // not dns compatible names must always use path style - } - }, +// src/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.ts - /** - * For COPY operations, some can be error even with status code 200. - * SDK treats the response as exception when response body indicates - * an exception or body is empty. - * - * @api private - */ - extractErrorFrom200Response: function extractErrorFrom200Response(resp) { - if (!operationsWith200StatusCodeError[resp.request.operation]) return; - var httpResponse = resp.httpResponse; - if (httpResponse.body && httpResponse.body.toString().match('')) { - // Response body with '...' indicates an exception. - // Get S3 client object. In ManagedUpload, this.service refers to - // S3 client object. - resp.data = null; - var service = this.service ? this.service : this; - service.extractError(resp); - throw resp.error; - } else if (!httpResponse.body || !httpResponse.body.toString().match(/<[\w_]/)) { - // When body is empty or incomplete, S3 might stop the request on detecting client - // side aborting the request. - resp.data = null; - throw AWS.util.error(new Error(), { - code: 'InternalError', - message: 'S3 aborted request' - }); - } - }, - /** - * @return [Boolean] whether the error can be retried - * @api private - */ - retryableError: function retryableError(error, request) { - if (operationsWith200StatusCodeError[request.operation] && - error.statusCode === 200) { - return true; - } else if (request._requestRegionForBucket && - request.service.bucketRegionCache[request._requestRegionForBucket]) { - return false; - } else if (error && error.code === 'RequestTimeout') { - return true; - } else if (error && - regionRedirectErrorCodes.indexOf(error.code) != -1 && - error.region && error.region != request.httpRequest.region) { - request.httpRequest.region = error.region; - if (error.statusCode === 301) { - request.service.updateReqBucketRegion(request); - } - return true; - } else { - var _super = AWS.Service.prototype.retryableError; - return _super.call(this, error, request); - } - }, - /** - * Updates httpRequest with region. If region is not provided, then - * the httpRequest will be updated based on httpRequest.region - * - * @api private - */ - updateReqBucketRegion: function updateReqBucketRegion(request, region) { - var httpRequest = request.httpRequest; - if (typeof region === 'string' && region.length) { - httpRequest.region = region; - } - if (!httpRequest.endpoint.host.match(/s3(?!-accelerate).*\.amazonaws\.com$/)) { - return; - } - var service = request.service; - var s3Config = service.config; - var s3BucketEndpoint = s3Config.s3BucketEndpoint; - if (s3BucketEndpoint) { - delete s3Config.s3BucketEndpoint; - } - var newConfig = AWS.util.copy(s3Config); - delete newConfig.endpoint; - newConfig.region = httpRequest.region; - httpRequest.endpoint = (new AWS.S3(newConfig)).endpoint; - service.populateURI(request); - s3Config.s3BucketEndpoint = s3BucketEndpoint; - httpRequest.headers.Host = httpRequest.endpoint.host; +var _DeleteNetworkInsightsAccessScopeAnalysisCommand = class _DeleteNetworkInsightsAccessScopeAnalysisCommand 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("AmazonEC2", "DeleteNetworkInsightsAccessScopeAnalysis", {}).n("EC2Client", "DeleteNetworkInsightsAccessScopeAnalysisCommand").f(void 0, void 0).ser(se_DeleteNetworkInsightsAccessScopeAnalysisCommand).de(de_DeleteNetworkInsightsAccessScopeAnalysisCommand).build() { +}; +__name(_DeleteNetworkInsightsAccessScopeAnalysisCommand, "DeleteNetworkInsightsAccessScopeAnalysisCommand"); +var DeleteNetworkInsightsAccessScopeAnalysisCommand = _DeleteNetworkInsightsAccessScopeAnalysisCommand; - if (request._asm.currentState === 'validate') { - request.removeListener('build', service.populateURI); - request.addListener('build', service.removeVirtualHostedBucketFromPath); - } - }, +// src/commands/DeleteNetworkInsightsAccessScopeCommand.ts - /** - * Provides a specialized parser for getBucketLocation -- all other - * operations are parsed by the super class. - * - * @api private - */ - extractData: function extractData(resp) { - var req = resp.request; - if (req.operation === 'getBucketLocation') { - var match = resp.httpResponse.body.toString().match(/>(.+)<\/Location/); - delete resp.data['_']; - if (match) { - resp.data.LocationConstraint = match[1]; - } else { - resp.data.LocationConstraint = ''; - } - } - var bucket = req.params.Bucket || null; - if (req.operation === 'deleteBucket' && typeof bucket === 'string' && !resp.error) { - req.service.clearBucketRegionCache(bucket); - } else { - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - if (!region && req.operation === 'createBucket' && !resp.error) { - var createBucketConfiguration = req.params.CreateBucketConfiguration; - if (!createBucketConfiguration) { - region = 'us-east-1'; - } else if (createBucketConfiguration.LocationConstraint === 'EU') { - region = 'eu-west-1'; - } else { - region = createBucketConfiguration.LocationConstraint; - } - } - if (region) { - if (bucket && region !== req.service.bucketRegionCache[bucket]) { - req.service.bucketRegionCache[bucket] = region; - } - } - } - req.service.extractRequestIds(resp); - }, - /** - * Extracts an error object from the http response. - * - * @api private - */ - extractError: function extractError(resp) { - var codes = { - 304: 'NotModified', - 403: 'Forbidden', - 400: 'BadRequest', - 404: 'NotFound' - }; - var req = resp.request; - var code = resp.httpResponse.statusCode; - var body = resp.httpResponse.body || ''; - var headers = resp.httpResponse.headers || {}; - var region = headers['x-amz-bucket-region'] || null; - var bucket = req.params.Bucket || null; - var bucketRegionCache = req.service.bucketRegionCache; - if (region && bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } +var _DeleteNetworkInsightsAccessScopeCommand = class _DeleteNetworkInsightsAccessScopeCommand 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("AmazonEC2", "DeleteNetworkInsightsAccessScope", {}).n("EC2Client", "DeleteNetworkInsightsAccessScopeCommand").f(void 0, void 0).ser(se_DeleteNetworkInsightsAccessScopeCommand).de(de_DeleteNetworkInsightsAccessScopeCommand).build() { +}; +__name(_DeleteNetworkInsightsAccessScopeCommand, "DeleteNetworkInsightsAccessScopeCommand"); +var DeleteNetworkInsightsAccessScopeCommand = _DeleteNetworkInsightsAccessScopeCommand; - var cachedRegion; - if (codes[code] && body.length === 0) { - if (bucket && !region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - resp.error = AWS.util.error(new Error(), { - code: codes[code], - message: null, - region: region - }); - } else { - var data = new AWS.XML.Parser().parse(body.toString()); +// src/commands/DeleteNetworkInsightsAnalysisCommand.ts - if (data.Region && !region) { - region = data.Region; - if (bucket && region !== bucketRegionCache[bucket]) { - bucketRegionCache[bucket] = region; - } - } else if (bucket && !region && !data.Region) { - cachedRegion = bucketRegionCache[bucket] || null; - if (cachedRegion !== req.httpRequest.region) { - region = cachedRegion; - } - } - resp.error = AWS.util.error(new Error(), { - code: data.Code || code, - message: data.Message || null, - region: region - }); - } - req.service.extractRequestIds(resp); - }, - /** - * If region was not obtained synchronously, then send async request - * to get bucket region for errors resulting from wrong region. - * - * @api private - */ - requestBucketRegion: function requestBucketRegion(resp, done) { - var error = resp.error; - var req = resp.request; - var bucket = req.params.Bucket || null; - - if (!error || !bucket || error.region || req.operation === 'listObjects' || - (AWS.util.isNode() && req.operation === 'headBucket') || - (error.statusCode === 400 && req.operation !== 'headObject') || - regionRedirectErrorCodes.indexOf(error.code) === -1) { - return done(); - } - var reqOperation = AWS.util.isNode() ? 'headBucket' : 'listObjects'; - var reqParams = {Bucket: bucket}; - if (reqOperation === 'listObjects') reqParams.MaxKeys = 0; - var regionReq = req.service[reqOperation](reqParams); - regionReq._requestRegionForBucket = bucket; - regionReq.send(function() { - var region = req.service.bucketRegionCache[bucket] || null; - error.region = region; - done(); - }); - }, - /** - * For browser only. If NetworkingError received, will attempt to obtain - * the bucket region. - * - * @api private - */ - reqRegionForNetworkingError: function reqRegionForNetworkingError(resp, done) { - if (!AWS.util.isBrowser()) { - return done(); - } - var error = resp.error; - var request = resp.request; - var bucket = request.params.Bucket; - if (!error || error.code !== 'NetworkingError' || !bucket || - request.httpRequest.region === 'us-east-1') { - return done(); - } - var service = request.service; - var bucketRegionCache = service.bucketRegionCache; - var cachedRegion = bucketRegionCache[bucket] || null; - - if (cachedRegion && cachedRegion !== request.httpRequest.region) { - service.updateReqBucketRegion(request, cachedRegion); - done(); - } else if (!s3util.dnsCompatibleBucketName(bucket)) { - service.updateReqBucketRegion(request, 'us-east-1'); - if (bucketRegionCache[bucket] !== 'us-east-1') { - bucketRegionCache[bucket] = 'us-east-1'; - } - done(); - } else if (request.httpRequest.virtualHostedBucket) { - var getRegionReq = service.listObjects({Bucket: bucket, MaxKeys: 0}); - service.updateReqBucketRegion(getRegionReq, 'us-east-1'); - getRegionReq._requestRegionForBucket = bucket; - - getRegionReq.send(function() { - var region = service.bucketRegionCache[bucket] || null; - if (region && region !== request.httpRequest.region) { - service.updateReqBucketRegion(request, region); - } - done(); - }); - } else { - // DNS-compatible path-style - // (s3ForcePathStyle or bucket name with dot over https) - // Cannot obtain region information for this case - done(); - } - }, +var _DeleteNetworkInsightsAnalysisCommand = class _DeleteNetworkInsightsAnalysisCommand 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("AmazonEC2", "DeleteNetworkInsightsAnalysis", {}).n("EC2Client", "DeleteNetworkInsightsAnalysisCommand").f(void 0, void 0).ser(se_DeleteNetworkInsightsAnalysisCommand).de(de_DeleteNetworkInsightsAnalysisCommand).build() { +}; +__name(_DeleteNetworkInsightsAnalysisCommand, "DeleteNetworkInsightsAnalysisCommand"); +var DeleteNetworkInsightsAnalysisCommand = _DeleteNetworkInsightsAnalysisCommand; + +// src/commands/DeleteNetworkInsightsPathCommand.ts + + + + +var _DeleteNetworkInsightsPathCommand = class _DeleteNetworkInsightsPathCommand 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("AmazonEC2", "DeleteNetworkInsightsPath", {}).n("EC2Client", "DeleteNetworkInsightsPathCommand").f(void 0, void 0).ser(se_DeleteNetworkInsightsPathCommand).de(de_DeleteNetworkInsightsPathCommand).build() { +}; +__name(_DeleteNetworkInsightsPathCommand, "DeleteNetworkInsightsPathCommand"); +var DeleteNetworkInsightsPathCommand = _DeleteNetworkInsightsPathCommand; - /** - * Cache for bucket region. - * - * @api private - */ - bucketRegionCache: {}, +// src/commands/DeleteNetworkInterfaceCommand.ts - /** - * Clears bucket region cache. - * - * @api private - */ - clearBucketRegionCache: function(buckets) { - var bucketRegionCache = this.bucketRegionCache; - if (!buckets) { - buckets = Object.keys(bucketRegionCache); - } else if (typeof buckets === 'string') { - buckets = [buckets]; - } - for (var i = 0; i < buckets.length; i++) { - delete bucketRegionCache[buckets[i]]; - } - return bucketRegionCache; - }, - - /** - * Corrects request region if bucket's cached region is different - * - * @api private - */ - correctBucketRegionFromCache: function correctBucketRegionFromCache(req) { - var bucket = req.params.Bucket || null; - if (bucket) { - var service = req.service; - var requestRegion = req.httpRequest.region; - var cachedRegion = service.bucketRegionCache[bucket]; - if (cachedRegion && cachedRegion !== requestRegion) { - service.updateReqBucketRegion(req, cachedRegion); - } - } - }, - /** - * Extracts S3 specific request ids from the http response. - * - * @api private - */ - extractRequestIds: function extractRequestIds(resp) { - var extendedRequestId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-id-2'] : null; - var cfId = resp.httpResponse.headers ? resp.httpResponse.headers['x-amz-cf-id'] : null; - resp.extendedRequestId = extendedRequestId; - resp.cfId = cfId; - if (resp.error) { - resp.error.requestId = resp.requestId || null; - resp.error.extendedRequestId = extendedRequestId; - resp.error.cfId = cfId; - } - }, - /** - * Get a pre-signed URL for a given operation name. - * - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * @note Not all operation parameters are supported when using pre-signed - * URLs. Certain parameters, such as `SSECustomerKey`, `ACL`, `Expires`, - * `ContentLength`, or `Tagging` must be provided as headers when sending a - * request. If you are using pre-signed URLs to upload from a browser and - * need to use these fields, see {createPresignedPost}. - * @note The default signer allows altering the request by adding corresponding - * headers to set some parameters (e.g. Range) and these added parameters - * won't be signed. You must use signatureVersion v4 to to include these - * parameters in the signed portion of the URL and enforce exact matching - * between headers and signed params in the URL. - * @note This operation cannot be used with a promise. See note above regarding - * asynchronous credentials and use with a callback. - * @param operation [String] the name of the operation to call - * @param params [map] parameters to pass to the operation. See the given - * operation for the expected operation parameters. In addition, you can - * also pass the "Expires" parameter to inform S3 how long the URL should - * work for. - * @option params Expires [Integer] (900) the number of seconds to expire - * the pre-signed URL operation in. Defaults to 15 minutes. - * @param callback [Function] if a callback is provided, this function will - * pass the URL as the second parameter (after the error parameter) to - * the callback function. - * @return [String] if called synchronously (with no callback), returns the - * signed URL. - * @return [null] nothing is returned if a callback is provided. - * @example Pre-signing a getObject operation (synchronously) - * var params = {Bucket: 'bucket', Key: 'key'}; - * var url = s3.getSignedUrl('getObject', params); - * console.log('The URL is', url); - * @example Pre-signing a putObject (asynchronously) - * var params = {Bucket: 'bucket', Key: 'key'}; - * s3.getSignedUrl('putObject', params, function (err, url) { - * console.log('The URL is', url); - * }); - * @example Pre-signing a putObject operation with a specific payload - * var params = {Bucket: 'bucket', Key: 'key', Body: 'body'}; - * var url = s3.getSignedUrl('putObject', params); - * console.log('The URL is', url); - * @example Passing in a 1-minute expiry time for a pre-signed URL - * var params = {Bucket: 'bucket', Key: 'key', Expires: 60}; - * var url = s3.getSignedUrl('getObject', params); - * console.log('The URL is', url); // expires in 60 seconds - */ - getSignedUrl: function getSignedUrl(operation, params, callback) { - params = AWS.util.copy(params || {}); - var expires = params.Expires || 900; +var _DeleteNetworkInterfaceCommand = class _DeleteNetworkInterfaceCommand 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("AmazonEC2", "DeleteNetworkInterface", {}).n("EC2Client", "DeleteNetworkInterfaceCommand").f(void 0, void 0).ser(se_DeleteNetworkInterfaceCommand).de(de_DeleteNetworkInterfaceCommand).build() { +}; +__name(_DeleteNetworkInterfaceCommand, "DeleteNetworkInterfaceCommand"); +var DeleteNetworkInterfaceCommand = _DeleteNetworkInterfaceCommand; - if (typeof expires !== 'number') { - throw AWS.util.error(new Error(), - { code: 'InvalidParameterException', message: 'The expiration must be a number, received ' + typeof expires }); - } +// src/commands/DeleteNetworkInterfacePermissionCommand.ts - delete params.Expires; // we can't validate this - var request = this.makeRequest(operation, params); - if (callback) { - AWS.util.defer(function() { - request.presign(expires, callback); - }); - } else { - return request.presign(expires, callback); - } - }, - /** - * @!method getSignedUrlPromise() - * Returns a 'thenable' promise that will be resolved with a pre-signed URL - * for a given operation name. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @note Not all operation parameters are supported when using pre-signed - * URLs. Certain parameters, such as `SSECustomerKey`, `ACL`, `Expires`, - * `ContentLength`, or `Tagging` must be provided as headers when sending a - * request. If you are using pre-signed URLs to upload from a browser and - * need to use these fields, see {createPresignedPost}. - * @param operation [String] the name of the operation to call - * @param params [map] parameters to pass to the operation. See the given - * operation for the expected operation parameters. In addition, you can - * also pass the "Expires" parameter to inform S3 how long the URL should - * work for. - * @option params Expires [Integer] (900) the number of seconds to expire - * the pre-signed URL operation in. Defaults to 15 minutes. - * @callback fulfilledCallback function(url) - * Called if the promise is fulfilled. - * @param url [String] the signed url - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled - * @return [Promise] A promise that represents the state of the `refresh` call. - * @example Pre-signing a getObject operation - * var params = {Bucket: 'bucket', Key: 'key'}; - * var promise = s3.getSignedUrlPromise('getObject', params); - * promise.then(function(url) { - * console.log('The URL is', url); - * }, function(err) { ... }); - * @example Pre-signing a putObject operation with a specific payload - * var params = {Bucket: 'bucket', Key: 'key', Body: 'body'}; - * var promise = s3.getSignedUrlPromise('putObject', params); - * promise.then(function(url) { - * console.log('The URL is', url); - * }, function(err) { ... }); - * @example Passing in a 1-minute expiry time for a pre-signed URL - * var params = {Bucket: 'bucket', Key: 'key', Expires: 60}; - * var promise = s3.getSignedUrlPromise('getObject', params); - * promise.then(function(url) { - * console.log('The URL is', url); - * }, function(err) { ... }); - */ - /** - * Get a pre-signed POST policy to support uploading to S3 directly from an - * HTML form. - * - * @param params [map] - * @option params Bucket [String] The bucket to which the post should be - * uploaded - * @option params Expires [Integer] (3600) The number of seconds for which - * the presigned policy should be valid. - * @option params Conditions [Array] An array of conditions that must be met - * for the presigned policy to allow the - * upload. This can include required tags, - * the accepted range for content lengths, - * etc. - * @see http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-HTTPPOSTConstructPolicy.html - * @option params Fields [map] Fields to include in the form. All - * values passed in as fields will be - * signed as exact match conditions. - * @param callback [Function] - * - * @note All fields passed in when creating presigned post data will be signed - * as exact match conditions. Any fields that will be interpolated by S3 - * must be added to the fields hash after signing, and an appropriate - * condition for such fields must be explicitly added to the Conditions - * array passed to this function before signing. - * - * @example Presiging post data with a known key - * var params = { - * Bucket: 'bucket', - * Fields: { - * key: 'key' - * } - * }; - * s3.createPresignedPost(params, function(err, data) { - * if (err) { - * console.error('Presigning post data encountered an error', err); - * } else { - * console.log('The post data is', data); - * } - * }); - * - * @example Presigning post data with an interpolated key - * var params = { - * Bucket: 'bucket', - * Conditions: [ - * ['starts-with', '$key', 'path/to/uploads/'] - * ] - * }; - * s3.createPresignedPost(params, function(err, data) { - * if (err) { - * console.error('Presigning post data encountered an error', err); - * } else { - * data.Fields.key = 'path/to/uploads/${filename}'; - * console.log('The post data is', data); - * } - * }); - * - * @note You must ensure that you have static or previously resolved - * credentials if you call this method synchronously (with no callback), - * otherwise it may not properly sign the request. If you cannot guarantee - * this (you are using an asynchronous credential provider, i.e., EC2 - * IAM roles), you should always call this method with an asynchronous - * callback. - * - * @return [map] If called synchronously (with no callback), returns a hash - * with the url to set as the form action and a hash of fields - * to include in the form. - * @return [null] Nothing is returned if a callback is provided. - * - * @callback callback function (err, data) - * @param err [Error] the error object returned from the policy signer - * @param data [map] The data necessary to construct an HTML form - * @param data.url [String] The URL to use as the action of the form - * @param data.fields [map] A hash of fields that must be included in the - * form for the upload to succeed. This hash will - * include the signed POST policy, your access key - * ID and security token (if present), etc. These - * may be safely included as input elements of type - * 'hidden.' - */ - createPresignedPost: function createPresignedPost(params, callback) { - if (typeof params === 'function' && callback === undefined) { - callback = params; - params = null; - } +var _DeleteNetworkInterfacePermissionCommand = class _DeleteNetworkInterfacePermissionCommand 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("AmazonEC2", "DeleteNetworkInterfacePermission", {}).n("EC2Client", "DeleteNetworkInterfacePermissionCommand").f(void 0, void 0).ser(se_DeleteNetworkInterfacePermissionCommand).de(de_DeleteNetworkInterfacePermissionCommand).build() { +}; +__name(_DeleteNetworkInterfacePermissionCommand, "DeleteNetworkInterfacePermissionCommand"); +var DeleteNetworkInterfacePermissionCommand = _DeleteNetworkInterfacePermissionCommand; - params = AWS.util.copy(params || {}); - var boundParams = this.config.params || {}; - var bucket = params.Bucket || boundParams.Bucket, - self = this, - config = this.config, - endpoint = AWS.util.copy(this.endpoint); - if (!config.s3BucketEndpoint) { - endpoint.pathname = '/' + bucket; - } +// src/commands/DeletePlacementGroupCommand.ts - function finalizePost() { - return { - url: AWS.util.urlFormat(endpoint), - fields: self.preparePostFields( - config.credentials, - config.region, - bucket, - params.Fields, - params.Conditions, - params.Expires - ) - }; - } - if (callback) { - config.getCredentials(function (err) { - if (err) { - callback(err); - } else { - try { - callback(null, finalizePost()); - } catch (err) { - callback(err); - } - } - }); - } else { - return finalizePost(); - } - }, - /** - * @api private - */ - preparePostFields: function preparePostFields( - credentials, - region, - bucket, - fields, - conditions, - expiresInSeconds - ) { - var now = this.getSkewCorrectedDate(); - if (!credentials || !region || !bucket) { - throw new Error('Unable to create a POST object policy without a bucket,' - + ' region, and credentials'); - } - fields = AWS.util.copy(fields || {}); - conditions = (conditions || []).slice(0); - expiresInSeconds = expiresInSeconds || 3600; - - var signingDate = AWS.util.date.iso8601(now).replace(/[:\-]|\.\d{3}/g, ''); - var shortDate = signingDate.substr(0, 8); - var scope = v4Credentials.createScope(shortDate, region, 's3'); - var credential = credentials.accessKeyId + '/' + scope; - - fields['bucket'] = bucket; - fields['X-Amz-Algorithm'] = 'AWS4-HMAC-SHA256'; - fields['X-Amz-Credential'] = credential; - fields['X-Amz-Date'] = signingDate; - if (credentials.sessionToken) { - fields['X-Amz-Security-Token'] = credentials.sessionToken; - } - for (var field in fields) { - if (fields.hasOwnProperty(field)) { - var condition = {}; - condition[field] = fields[field]; - conditions.push(condition); - } - } - fields.Policy = this.preparePostPolicy( - new Date(now.valueOf() + expiresInSeconds * 1000), - conditions - ); - fields['X-Amz-Signature'] = AWS.util.crypto.hmac( - v4Credentials.getSigningKey(credentials, shortDate, region, 's3', true), - fields.Policy, - 'hex' - ); +var _DeletePlacementGroupCommand = class _DeletePlacementGroupCommand 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("AmazonEC2", "DeletePlacementGroup", {}).n("EC2Client", "DeletePlacementGroupCommand").f(void 0, void 0).ser(se_DeletePlacementGroupCommand).de(de_DeletePlacementGroupCommand).build() { +}; +__name(_DeletePlacementGroupCommand, "DeletePlacementGroupCommand"); +var DeletePlacementGroupCommand = _DeletePlacementGroupCommand; - return fields; - }, +// src/commands/DeletePublicIpv4PoolCommand.ts - /** - * @api private - */ - preparePostPolicy: function preparePostPolicy(expiration, conditions) { - return AWS.util.base64.encode(JSON.stringify({ - expiration: AWS.util.date.iso8601(expiration), - conditions: conditions - })); - }, - /** - * @api private - */ - prepareSignedUrl: function prepareSignedUrl(request) { - request.addListener('validate', request.service.noPresignedContentLength); - request.removeListener('build', request.service.addContentType); - if (!request.params.Body) { - // no Content-MD5/SHA-256 if body is not provided - request.removeListener('build', request.service.computeContentMd5); - } else { - request.addListener('afterBuild', AWS.EventListeners.Core.COMPUTE_SHA256); - } - }, - /** - * @api private - * @param request - */ - disableBodySigning: function disableBodySigning(request) { - var headers = request.httpRequest.headers; - // Add the header to anything that isn't a presigned url, unless that presigned url had a body defined - if (!Object.prototype.hasOwnProperty.call(headers, 'presigned-expires')) { - headers['X-Amz-Content-Sha256'] = 'UNSIGNED-PAYLOAD'; - } - }, - /** - * @api private - */ - noPresignedContentLength: function noPresignedContentLength(request) { - if (request.params.ContentLength !== undefined) { - throw AWS.util.error(new Error(), {code: 'UnexpectedParameter', - message: 'ContentLength is not supported in pre-signed URLs.'}); - } - }, +var _DeletePublicIpv4PoolCommand = class _DeletePublicIpv4PoolCommand 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("AmazonEC2", "DeletePublicIpv4Pool", {}).n("EC2Client", "DeletePublicIpv4PoolCommand").f(void 0, void 0).ser(se_DeletePublicIpv4PoolCommand).de(de_DeletePublicIpv4PoolCommand).build() { +}; +__name(_DeletePublicIpv4PoolCommand, "DeletePublicIpv4PoolCommand"); +var DeletePublicIpv4PoolCommand = _DeletePublicIpv4PoolCommand; - createBucket: function createBucket(params, callback) { - // When creating a bucket *outside* the classic region, the location - // constraint must be set for the bucket and it must match the endpoint. - // This chunk of code will set the location constraint param based - // on the region (when possible), but it will not override a passed-in - // location constraint. - if (typeof params === 'function' || !params) { - callback = callback || params; - params = {}; - } - var hostname = this.endpoint.hostname; - // copy params so that appending keys does not unintentioinallly - // mutate params object argument passed in by user - var copiedParams = AWS.util.copy(params); - - if (hostname !== this.api.globalEndpoint && !params.CreateBucketConfiguration) { - copiedParams.CreateBucketConfiguration = { LocationConstraint: this.config.region }; - } - return this.makeRequest('createBucket', copiedParams, callback); - }, +// src/commands/DeleteQueuedReservedInstancesCommand.ts - writeGetObjectResponse: function writeGetObjectResponse(params, callback) { - var request = this.makeRequest('writeGetObjectResponse', AWS.util.copy(params), callback); - var hostname = this.endpoint.hostname; - if (hostname.indexOf(this.config.region) !== -1) { - // hostname specifies a region already - hostname = hostname.replace('s3.', OBJECT_LAMBDA_SERVICE + '.'); - } else { - // Hostname doesn't have a region. - // Object Lambda requires an explicit region. - hostname = hostname.replace('s3.', OBJECT_LAMBDA_SERVICE + '.' + this.config.region + '.'); - } - request.httpRequest.endpoint = new AWS.Endpoint(hostname, this.config); - return request; - }, - /** - * @see AWS.S3.ManagedUpload - * @overload upload(params = {}, [options], [callback]) - * Uploads an arbitrarily sized buffer, blob, or stream, using intelligent - * concurrent handling of parts if the payload is large enough. You can - * configure the concurrent queue size by setting `options`. Note that this - * is the only operation for which the SDK can retry requests with stream - * bodies. - * - * @param (see AWS.S3.putObject) - * @option (see AWS.S3.ManagedUpload.constructor) - * @return [AWS.S3.ManagedUpload] the managed upload object that can call - * `send()` or track progress. - * @example Uploading a stream object - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * s3.upload(params, function(err, data) { - * console.log(err, data); - * }); - * @example Uploading a stream with concurrency of 1 and partSize of 10mb - * var params = {Bucket: 'bucket', Key: 'key', Body: stream}; - * var options = {partSize: 10 * 1024 * 1024, queueSize: 1}; - * s3.upload(params, options, function(err, data) { - * console.log(err, data); - * }); - * @callback callback function(err, data) - * @param err [Error] an error or null if no error occurred. - * @param data [map] The response data from the successful upload: - * @param data.Location [String] the URL of the uploaded object - * @param data.ETag [String] the ETag of the uploaded object - * @param data.Bucket [String] the bucket to which the object was uploaded - * @param data.Key [String] the key to which the object was uploaded - */ - upload: function upload(params, options, callback) { - if (typeof options === 'function' && callback === undefined) { - callback = options; - options = null; - } +var _DeleteQueuedReservedInstancesCommand = class _DeleteQueuedReservedInstancesCommand 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("AmazonEC2", "DeleteQueuedReservedInstances", {}).n("EC2Client", "DeleteQueuedReservedInstancesCommand").f(void 0, void 0).ser(se_DeleteQueuedReservedInstancesCommand).de(de_DeleteQueuedReservedInstancesCommand).build() { +}; +__name(_DeleteQueuedReservedInstancesCommand, "DeleteQueuedReservedInstancesCommand"); +var DeleteQueuedReservedInstancesCommand = _DeleteQueuedReservedInstancesCommand; - options = options || {}; - options = AWS.util.merge(options || {}, {service: this, params: params}); +// src/commands/DeleteRouteCommand.ts - var uploader = new AWS.S3.ManagedUpload(options); - if (typeof callback === 'function') uploader.send(callback); - return uploader; - } -}); -/** - * @api private - */ -AWS.S3.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.getSignedUrlPromise = AWS.util.promisifyMethod('getSignedUrl', PromiseDependency); -}; -/** - * @api private - */ -AWS.S3.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.getSignedUrlPromise; + +var _DeleteRouteCommand = class _DeleteRouteCommand 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("AmazonEC2", "DeleteRoute", {}).n("EC2Client", "DeleteRouteCommand").f(void 0, void 0).ser(se_DeleteRouteCommand).de(de_DeleteRouteCommand).build() { }; +__name(_DeleteRouteCommand, "DeleteRouteCommand"); +var DeleteRouteCommand = _DeleteRouteCommand; -AWS.util.addPromises(AWS.S3); +// src/commands/DeleteRouteTableCommand.ts -/***/ }), -/***/ 71207: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var s3util = __nccwpck_require__(35895); -var regionUtil = __nccwpck_require__(18262); +var _DeleteRouteTableCommand = class _DeleteRouteTableCommand 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("AmazonEC2", "DeleteRouteTable", {}).n("EC2Client", "DeleteRouteTableCommand").f(void 0, void 0).ser(se_DeleteRouteTableCommand).de(de_DeleteRouteTableCommand).build() { +}; +__name(_DeleteRouteTableCommand, "DeleteRouteTableCommand"); +var DeleteRouteTableCommand = _DeleteRouteTableCommand; -AWS.util.update(AWS.S3Control.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('extractError', this.extractHostId); - request.addListener('extractData', this.extractHostId); - request.addListener('validate', this.validateAccountId); - - var isArnInBucket = s3util.isArnInParam(request, 'Bucket'); - var isArnInName = s3util.isArnInParam(request, 'Name'); - - if (isArnInBucket) { - request._parsedArn = AWS.util.ARN.parse(request.params['Bucket']); - request.addListener('validate', this.validateOutpostsBucketArn); - request.addListener('validate', s3util.validateOutpostsArn); - request.addListener('afterBuild', this.addOutpostIdHeader); - } else if (isArnInName) { - request._parsedArn = AWS.util.ARN.parse(request.params['Name']); - request.addListener('validate', s3util.validateOutpostsAccessPointArn); - request.addListener('validate', s3util.validateOutpostsArn); - request.addListener('afterBuild', this.addOutpostIdHeader); - } - - if (isArnInBucket || isArnInName) { - request.addListener('validate', this.validateArnRegion); - request.addListener('validate', this.validateArnAccountWithParams, true); - request.addListener('validate', s3util.validateArnAccount); - request.addListener('validate', s3util.validateArnService); - request.addListener('build', this.populateParamFromArn, true); - request.addListener('build', this.populateUriFromArn); - request.addListener('build', s3util.validatePopulateUriFromArn); - } - - if (request.params.OutpostId && - (request.operation === 'createBucket' || - request.operation === 'listRegionalBuckets')) { - request.addListener('build', this.populateEndpointForOutpostId); - } - }, +// src/commands/DeleteSecurityGroupCommand.ts - /** - * Adds outpostId header - */ - addOutpostIdHeader: function addOutpostIdHeader(req) { - req.httpRequest.headers['x-amz-outpost-id'] = req._parsedArn.outpostId; - }, - /** - * Validate Outposts ARN supplied in Bucket parameter is a valid bucket name - */ - validateOutpostsBucketArn: function validateOutpostsBucketArn(req) { - var parsedArn = req._parsedArn; - //can be ':' or '/' - var delimiter = parsedArn.resource['outpost'.length]; - if (parsedArn.resource.split(delimiter).length !== 4) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Bucket ARN should have two resources outpost/{outpostId}/bucket/{accesspointName}' - }); - } +var _DeleteSecurityGroupCommand = class _DeleteSecurityGroupCommand 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("AmazonEC2", "DeleteSecurityGroup", {}).n("EC2Client", "DeleteSecurityGroupCommand").f(void 0, void 0).ser(se_DeleteSecurityGroupCommand).de(de_DeleteSecurityGroupCommand).build() { +}; +__name(_DeleteSecurityGroupCommand, "DeleteSecurityGroupCommand"); +var DeleteSecurityGroupCommand = _DeleteSecurityGroupCommand; - var bucket = parsedArn.resource.split(delimiter)[3]; - if (!s3util.dnsCompatibleBucketName(bucket) || bucket.match(/\./)) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Bucket ARN is not DNS compatible. Got ' + bucket - }); - } +// src/commands/DeleteSnapshotCommand.ts - //set parsed valid bucket - req._parsedArn.bucket = bucket; - }, - /** - * @api private - */ - populateParamFromArn: function populateParamFromArn(req) { - var parsedArn = req._parsedArn; - if (s3util.isArnInParam(req, 'Bucket')) { - req.params.Bucket = parsedArn.bucket; - } else if (s3util.isArnInParam(req, 'Name')) { - req.params.Name = parsedArn.accessPoint; - } - }, - /** - * Populate URI according to the ARN - */ - populateUriFromArn: function populateUriFromArn(req) { - var parsedArn = req._parsedArn; - - var endpoint = req.httpRequest.endpoint; - var useArnRegion = req.service.config.s3UseArnRegion; - var useFipsEndpoint = req.service.config.useFipsEndpoint; - - endpoint.hostname = [ - 's3-outposts' + (useFipsEndpoint ? '-fips': ''), - useArnRegion ? parsedArn.region : req.service.config.region, - 'amazonaws.com' - ].join('.'); - endpoint.host = endpoint.hostname; - }, - /** - * @api private - */ - populateEndpointForOutpostId: function populateEndpointForOutpostId(req) { - var endpoint = req.httpRequest.endpoint; - var useFipsEndpoint = req.service.config.useFipsEndpoint; - endpoint.hostname = [ - 's3-outposts' + (useFipsEndpoint ? '-fips': ''), - req.service.config.region, - 'amazonaws.com' - ].join('.'); - endpoint.host = endpoint.hostname; - }, +var _DeleteSnapshotCommand = class _DeleteSnapshotCommand 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("AmazonEC2", "DeleteSnapshot", {}).n("EC2Client", "DeleteSnapshotCommand").f(void 0, void 0).ser(se_DeleteSnapshotCommand).de(de_DeleteSnapshotCommand).build() { +}; +__name(_DeleteSnapshotCommand, "DeleteSnapshotCommand"); +var DeleteSnapshotCommand = _DeleteSnapshotCommand; - /** - * @api private - */ - extractHostId: function(response) { - var hostId = response.httpResponse.headers ? response.httpResponse.headers['x-amz-id-2'] : null; - response.extendedRequestId = hostId; - if (response.error) { - response.error.extendedRequestId = hostId; - } - }, +// src/commands/DeleteSpotDatafeedSubscriptionCommand.ts - /** - * @api private - */ - validateArnRegion: function validateArnRegion(req) { - s3util.validateArnRegion(req, { allowFipsEndpoint: true }); - }, - /** - * @api private - */ - validateArnAccountWithParams: function validateArnAccountWithParams(req) { - var params = req.params; - var inputModel = req.service.api.operations[req.operation].input; - if (inputModel.members.AccountId) { - var parsedArn = req._parsedArn; - if (parsedArn.accountId) { - if (params.AccountId) { - if (params.AccountId !== parsedArn.accountId) { - throw AWS.util.error( - new Error(), - {code: 'ValidationError', message: 'AccountId in ARN and request params should be same.'} - ); - } - } else { - // Store accountId from ARN in params - params.AccountId = parsedArn.accountId; - } - } - } - }, - /** - * @api private - */ - validateAccountId: function(request) { - var params = request.params; - if (!Object.prototype.hasOwnProperty.call(params, 'AccountId')) return; - var accountId = params.AccountId; - //validate type - if (typeof accountId !== 'string') { - throw AWS.util.error( - new Error(), - {code: 'ValidationError', message: 'AccountId must be a string.'} - ); - } - //validate length - if (accountId.length < 1 || accountId.length > 63) { - throw AWS.util.error( - new Error(), - {code: 'ValidationError', message: 'AccountId length should be between 1 to 63 characters, inclusive.'} - ); - } - //validate pattern - var hostPattern = /^[a-zA-Z0-9]{1}$|^[a-zA-Z0-9][a-zA-Z0-9\-]*[a-zA-Z0-9]$/; - if (!hostPattern.test(accountId)) { - throw AWS.util.error(new Error(), - {code: 'ValidationError', message: 'AccountId should be hostname compatible. AccountId: ' + accountId}); - } - }, - /** - * @api private - */ - getSigningName: function getSigningName(req) { - var _super = AWS.Service.prototype.getSigningName; - if (req && req._parsedArn && req._parsedArn.service) { - return req._parsedArn.service; - } else if (req.params.OutpostId && - (req.operation === 'createBucket' || - req.operation === 'listRegionalBuckets')) { - return 's3-outposts'; - } else { - return _super.call(this, req); - } - }, -}); +var _DeleteSpotDatafeedSubscriptionCommand = class _DeleteSpotDatafeedSubscriptionCommand 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("AmazonEC2", "DeleteSpotDatafeedSubscription", {}).n("EC2Client", "DeleteSpotDatafeedSubscriptionCommand").f(void 0, void 0).ser(se_DeleteSpotDatafeedSubscriptionCommand).de(de_DeleteSpotDatafeedSubscriptionCommand).build() { +}; +__name(_DeleteSpotDatafeedSubscriptionCommand, "DeleteSpotDatafeedSubscriptionCommand"); +var DeleteSpotDatafeedSubscriptionCommand = _DeleteSpotDatafeedSubscriptionCommand; +// src/commands/DeleteSubnetCidrReservationCommand.ts -/***/ }), -/***/ 35895: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var regionUtil = __nccwpck_require__(18262); -var s3util = { - /** - * @api private - */ - isArnInParam: function isArnInParam(req, paramName) { - var inputShape = (req.service.api.operations[req.operation] || {}).input || {}; - var inputMembers = inputShape.members || {}; - if (!req.params[paramName] || !inputMembers[paramName]) return false; - return AWS.util.ARN.validate(req.params[paramName]); - }, +var _DeleteSubnetCidrReservationCommand = class _DeleteSubnetCidrReservationCommand 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("AmazonEC2", "DeleteSubnetCidrReservation", {}).n("EC2Client", "DeleteSubnetCidrReservationCommand").f(void 0, void 0).ser(se_DeleteSubnetCidrReservationCommand).de(de_DeleteSubnetCidrReservationCommand).build() { +}; +__name(_DeleteSubnetCidrReservationCommand, "DeleteSubnetCidrReservationCommand"); +var DeleteSubnetCidrReservationCommand = _DeleteSubnetCidrReservationCommand; - /** - * Validate service component from ARN supplied in Bucket parameter - */ - validateArnService: function validateArnService(req) { - var parsedArn = req._parsedArn; - - if (parsedArn.service !== 's3' - && parsedArn.service !== 's3-outposts' - && parsedArn.service !== 's3-object-lambda') { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'expect \'s3\' or \'s3-outposts\' or \'s3-object-lambda\' in ARN service component' - }); - } - }, +// src/commands/DeleteSubnetCommand.ts - /** - * Validate account ID from ARN supplied in Bucket parameter is a valid account - */ - validateArnAccount: function validateArnAccount(req) { - var parsedArn = req._parsedArn; - if (!/[0-9]{12}/.exec(parsedArn.accountId)) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'ARN accountID does not match regex "[0-9]{12}"' - }); - } - }, - /** - * Validate ARN supplied in Bucket parameter is a valid access point ARN - */ - validateS3AccessPointArn: function validateS3AccessPointArn(req) { - var parsedArn = req._parsedArn; - //can be ':' or '/' - var delimiter = parsedArn.resource['accesspoint'.length]; +var _DeleteSubnetCommand = class _DeleteSubnetCommand 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("AmazonEC2", "DeleteSubnet", {}).n("EC2Client", "DeleteSubnetCommand").f(void 0, void 0).ser(se_DeleteSubnetCommand).de(de_DeleteSubnetCommand).build() { +}; +__name(_DeleteSubnetCommand, "DeleteSubnetCommand"); +var DeleteSubnetCommand = _DeleteSubnetCommand; - if (parsedArn.resource.split(delimiter).length !== 2) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Access Point ARN should have one resource accesspoint/{accesspointName}' - }); - } +// src/commands/DeleteTagsCommand.ts - var accessPoint = parsedArn.resource.split(delimiter)[1]; - var accessPointPrefix = accessPoint + '-' + parsedArn.accountId; - if (!s3util.dnsCompatibleBucketName(accessPointPrefix) || accessPointPrefix.match(/\./)) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Access point resource in ARN is not DNS compatible. Got ' + accessPoint - }); - } - //set parsed valid access point - req._parsedArn.accessPoint = accessPoint; - }, - /** - * Validate Outposts ARN supplied in Bucket parameter is a valid outposts ARN - */ - validateOutpostsArn: function validateOutpostsArn(req) { - var parsedArn = req._parsedArn; - if ( - parsedArn.resource.indexOf('outpost:') !== 0 && - parsedArn.resource.indexOf('outpost/') !== 0 - ) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'ARN resource should begin with \'outpost/\'' - }); - } +var _DeleteTagsCommand = class _DeleteTagsCommand 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("AmazonEC2", "DeleteTags", {}).n("EC2Client", "DeleteTagsCommand").f(void 0, void 0).ser(se_DeleteTagsCommand).de(de_DeleteTagsCommand).build() { +}; +__name(_DeleteTagsCommand, "DeleteTagsCommand"); +var DeleteTagsCommand = _DeleteTagsCommand; - //can be ':' or '/' - var delimiter = parsedArn.resource['outpost'.length]; - var outpostId = parsedArn.resource.split(delimiter)[1]; - var dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/); - if (!dnsHostRegex.test(outpostId)) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Outpost resource in ARN is not DNS compatible. Got ' + outpostId - }); - } - req._parsedArn.outpostId = outpostId; - }, +// src/commands/DeleteTrafficMirrorFilterCommand.ts - /** - * Validate Outposts ARN supplied in Bucket parameter is a valid outposts ARN - */ - validateOutpostsAccessPointArn: function validateOutpostsAccessPointArn(req) { - var parsedArn = req._parsedArn; - //can be ':' or '/' - var delimiter = parsedArn.resource['outpost'.length]; - if (parsedArn.resource.split(delimiter).length !== 4) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Outposts ARN should have two resources outpost/{outpostId}/accesspoint/{accesspointName}' - }); - } - var accessPoint = parsedArn.resource.split(delimiter)[3]; - var accessPointPrefix = accessPoint + '-' + parsedArn.accountId; - if (!s3util.dnsCompatibleBucketName(accessPointPrefix) || accessPointPrefix.match(/\./)) { - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: 'Access point resource in ARN is not DNS compatible. Got ' + accessPoint - }); - } +var _DeleteTrafficMirrorFilterCommand = class _DeleteTrafficMirrorFilterCommand 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("AmazonEC2", "DeleteTrafficMirrorFilter", {}).n("EC2Client", "DeleteTrafficMirrorFilterCommand").f(void 0, void 0).ser(se_DeleteTrafficMirrorFilterCommand).de(de_DeleteTrafficMirrorFilterCommand).build() { +}; +__name(_DeleteTrafficMirrorFilterCommand, "DeleteTrafficMirrorFilterCommand"); +var DeleteTrafficMirrorFilterCommand = _DeleteTrafficMirrorFilterCommand; - //set parsed valid access point - req._parsedArn.accessPoint = accessPoint; - }, +// src/commands/DeleteTrafficMirrorFilterRuleCommand.ts - /** - * Validate region field in ARN supplied in Bucket parameter is a valid region - */ - validateArnRegion: function validateArnRegion(req, options) { - if (options === undefined) { - options = {}; - } - - var useArnRegion = s3util.loadUseArnRegionConfig(req); - var regionFromArn = req._parsedArn.region; - var clientRegion = req.service.config.region; - var useFipsEndpoint = req.service.config.useFipsEndpoint; - var allowFipsEndpoint = options.allowFipsEndpoint || false; - - if (!regionFromArn) { - var message = 'ARN region is empty'; - if (req._parsedArn.service === 's3') { - message = message + '\nYou may want to use multi-regional ARN. The feature is not supported in current SDK. ' + - 'You should consider switching to V3(https://github.com/aws/aws-sdk-js-v3).'; - } - throw AWS.util.error(new Error(), { - code: 'InvalidARN', - message: message - }); - } - if (useFipsEndpoint && !allowFipsEndpoint) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'ARN endpoint is not compatible with FIPS region' - }); - } - if (regionFromArn.indexOf('fips') >= 0) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'FIPS region not allowed in ARN' - }); - } - if (!useArnRegion && regionFromArn !== clientRegion) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'Configured region conflicts with access point region' - }); - } else if ( - useArnRegion && - regionUtil.getEndpointSuffix(regionFromArn) !== regionUtil.getEndpointSuffix(clientRegion) - ) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'Configured region and access point region not in same partition' - }); - } +var _DeleteTrafficMirrorFilterRuleCommand = class _DeleteTrafficMirrorFilterRuleCommand 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("AmazonEC2", "DeleteTrafficMirrorFilterRule", {}).n("EC2Client", "DeleteTrafficMirrorFilterRuleCommand").f(void 0, void 0).ser(se_DeleteTrafficMirrorFilterRuleCommand).de(de_DeleteTrafficMirrorFilterRuleCommand).build() { +}; +__name(_DeleteTrafficMirrorFilterRuleCommand, "DeleteTrafficMirrorFilterRuleCommand"); +var DeleteTrafficMirrorFilterRuleCommand = _DeleteTrafficMirrorFilterRuleCommand; - if (req.service.config.useAccelerateEndpoint) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'useAccelerateEndpoint config is not supported with access point ARN' - }); - } +// src/commands/DeleteTrafficMirrorSessionCommand.ts - if (req._parsedArn.service === 's3-outposts' && req.service.config.useDualstackEndpoint) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'Dualstack is not supported with outposts access point ARN' - }); - } - }, - loadUseArnRegionConfig: function loadUseArnRegionConfig(req) { - var envName = 'AWS_S3_USE_ARN_REGION'; - var configName = 's3_use_arn_region'; - var useArnRegion = true; - var originalConfig = req.service._originalConfig || {}; - if (req.service.config.s3UseArnRegion !== undefined) { - return req.service.config.s3UseArnRegion; - } else if (originalConfig.s3UseArnRegion !== undefined) { - useArnRegion = originalConfig.s3UseArnRegion === true; - } else if (AWS.util.isNode()) { - //load from environmental variable AWS_USE_ARN_REGION - if (process.env[envName]) { - var value = process.env[envName].trim().toLowerCase(); - if (['false', 'true'].indexOf(value) < 0) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: envName + ' only accepts true or false. Got ' + process.env[envName], - retryable: false - }); - } - useArnRegion = value === 'true'; - } else { //load from shared config property use_arn_region - var profiles = {}; - var profile = {}; - try { - profiles = AWS.util.getProfilesFromSharedConfig(AWS.util.iniLoader); - profile = profiles[process.env.AWS_PROFILE || AWS.util.defaultProfile]; - } catch (e) {} - if (profile[configName]) { - if (['false', 'true'].indexOf(profile[configName].trim().toLowerCase()) < 0) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: configName + ' only accepts true or false. Got ' + profile[configName], - retryable: false - }); - } - useArnRegion = profile[configName].trim().toLowerCase() === 'true'; - } - } - } - req.service.config.s3UseArnRegion = useArnRegion; - return useArnRegion; - }, - /** - * Validations before URI can be populated - */ - validatePopulateUriFromArn: function validatePopulateUriFromArn(req) { - if (req.service._originalConfig && req.service._originalConfig.endpoint) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'Custom endpoint is not compatible with access point ARN' - }); - } - if (req.service.config.s3ForcePathStyle) { - throw AWS.util.error(new Error(), { - code: 'InvalidConfiguration', - message: 'Cannot construct path-style endpoint with access point' - }); - } - }, +var _DeleteTrafficMirrorSessionCommand = class _DeleteTrafficMirrorSessionCommand 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("AmazonEC2", "DeleteTrafficMirrorSession", {}).n("EC2Client", "DeleteTrafficMirrorSessionCommand").f(void 0, void 0).ser(se_DeleteTrafficMirrorSessionCommand).de(de_DeleteTrafficMirrorSessionCommand).build() { +}; +__name(_DeleteTrafficMirrorSessionCommand, "DeleteTrafficMirrorSessionCommand"); +var DeleteTrafficMirrorSessionCommand = _DeleteTrafficMirrorSessionCommand; - /** - * Returns true if the bucket name is DNS compatible. Buckets created - * outside of the classic region MUST be DNS compatible. - * - * @api private - */ - dnsCompatibleBucketName: function dnsCompatibleBucketName(bucketName) { - var b = bucketName; - var domain = new RegExp(/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/); - var ipAddress = new RegExp(/(\d+\.){3}\d+/); - var dots = new RegExp(/\.\./); - return (b.match(domain) && !b.match(ipAddress) && !b.match(dots)) ? true : false; - }, +// src/commands/DeleteTrafficMirrorTargetCommand.ts + + + + +var _DeleteTrafficMirrorTargetCommand = class _DeleteTrafficMirrorTargetCommand 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("AmazonEC2", "DeleteTrafficMirrorTarget", {}).n("EC2Client", "DeleteTrafficMirrorTargetCommand").f(void 0, void 0).ser(se_DeleteTrafficMirrorTargetCommand).de(de_DeleteTrafficMirrorTargetCommand).build() { }; +__name(_DeleteTrafficMirrorTargetCommand, "DeleteTrafficMirrorTargetCommand"); +var DeleteTrafficMirrorTargetCommand = _DeleteTrafficMirrorTargetCommand; -/** - * @api private - */ -module.exports = s3util; +// src/commands/DeleteTransitGatewayCommand.ts -/***/ }), -/***/ 94571: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteTransitGatewayCommand = class _DeleteTransitGatewayCommand 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("AmazonEC2", "DeleteTransitGateway", {}).n("EC2Client", "DeleteTransitGatewayCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayCommand).de(de_DeleteTransitGatewayCommand).build() { +}; +__name(_DeleteTransitGatewayCommand, "DeleteTransitGatewayCommand"); +var DeleteTransitGatewayCommand = _DeleteTransitGatewayCommand; -AWS.util.update(AWS.SQS.prototype, { - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('build', this.buildEndpoint); +// src/commands/DeleteTransitGatewayConnectCommand.ts - if (request.service.config.computeChecksums) { - if (request.operation === 'sendMessage') { - request.addListener('extractData', this.verifySendMessageChecksum); - } else if (request.operation === 'sendMessageBatch') { - request.addListener('extractData', this.verifySendMessageBatchChecksum); - } else if (request.operation === 'receiveMessage') { - request.addListener('extractData', this.verifyReceiveMessageChecksum); - } - } - }, - /** - * @api private - */ - verifySendMessageChecksum: function verifySendMessageChecksum(response) { - if (!response.data) return; - - var md5 = response.data.MD5OfMessageBody; - var body = this.params.MessageBody; - var calculatedMd5 = this.service.calculateChecksum(body); - if (calculatedMd5 !== md5) { - var msg = 'Got "' + response.data.MD5OfMessageBody + - '", expecting "' + calculatedMd5 + '".'; - this.service.throwInvalidChecksumError(response, - [response.data.MessageId], msg); - } - }, - /** - * @api private - */ - verifySendMessageBatchChecksum: function verifySendMessageBatchChecksum(response) { - if (!response.data) return; - - var service = this.service; - var entries = {}; - var errors = []; - var messageIds = []; - AWS.util.arrayEach(response.data.Successful, function (entry) { - entries[entry.Id] = entry; - }); - AWS.util.arrayEach(this.params.Entries, function (entry) { - if (entries[entry.Id]) { - var md5 = entries[entry.Id].MD5OfMessageBody; - var body = entry.MessageBody; - if (!service.isChecksumValid(md5, body)) { - errors.push(entry.Id); - messageIds.push(entries[entry.Id].MessageId); - } - } - }); - if (errors.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + errors.join(', ')); - } - }, +var _DeleteTransitGatewayConnectCommand = class _DeleteTransitGatewayConnectCommand 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("AmazonEC2", "DeleteTransitGatewayConnect", {}).n("EC2Client", "DeleteTransitGatewayConnectCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayConnectCommand).de(de_DeleteTransitGatewayConnectCommand).build() { +}; +__name(_DeleteTransitGatewayConnectCommand, "DeleteTransitGatewayConnectCommand"); +var DeleteTransitGatewayConnectCommand = _DeleteTransitGatewayConnectCommand; - /** - * @api private - */ - verifyReceiveMessageChecksum: function verifyReceiveMessageChecksum(response) { - if (!response.data) return; +// src/commands/DeleteTransitGatewayConnectPeerCommand.ts - var service = this.service; - var messageIds = []; - AWS.util.arrayEach(response.data.Messages, function(message) { - var md5 = message.MD5OfBody; - var body = message.Body; - if (!service.isChecksumValid(md5, body)) { - messageIds.push(message.MessageId); - } - }); - if (messageIds.length > 0) { - service.throwInvalidChecksumError(response, messageIds, - 'Invalid messages: ' + messageIds.join(', ')); - } - }, - /** - * @api private - */ - throwInvalidChecksumError: function throwInvalidChecksumError(response, ids, message) { - response.error = AWS.util.error(new Error(), { - retryable: true, - code: 'InvalidChecksum', - messageIds: ids, - message: response.request.operation + - ' returned an invalid MD5 response. ' + message - }); - }, - /** - * @api private - */ - isChecksumValid: function isChecksumValid(checksum, data) { - return this.calculateChecksum(data) === checksum; - }, +var _DeleteTransitGatewayConnectPeerCommand = class _DeleteTransitGatewayConnectPeerCommand 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("AmazonEC2", "DeleteTransitGatewayConnectPeer", {}).n("EC2Client", "DeleteTransitGatewayConnectPeerCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayConnectPeerCommand).de(de_DeleteTransitGatewayConnectPeerCommand).build() { +}; +__name(_DeleteTransitGatewayConnectPeerCommand, "DeleteTransitGatewayConnectPeerCommand"); +var DeleteTransitGatewayConnectPeerCommand = _DeleteTransitGatewayConnectPeerCommand; - /** - * @api private - */ - calculateChecksum: function calculateChecksum(data) { - return AWS.util.crypto.md5(data, 'hex'); - }, +// src/commands/DeleteTransitGatewayMulticastDomainCommand.ts - /** - * @api private - */ - buildEndpoint: function buildEndpoint(request) { - var url = request.httpRequest.params.QueueUrl; - if (url) { - request.httpRequest.endpoint = new AWS.Endpoint(url); - // signature version 4 requires the region name to be set, - // sqs queue urls contain the region name - var matches = request.httpRequest.endpoint.host.match(/^sqs\.(.+?)\./); - if (matches) request.httpRequest.region = matches[1]; - } - } -}); -/***/ }), +var _DeleteTransitGatewayMulticastDomainCommand = class _DeleteTransitGatewayMulticastDomainCommand 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("AmazonEC2", "DeleteTransitGatewayMulticastDomain", {}).n("EC2Client", "DeleteTransitGatewayMulticastDomainCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayMulticastDomainCommand).de(de_DeleteTransitGatewayMulticastDomainCommand).build() { +}; +__name(_DeleteTransitGatewayMulticastDomainCommand, "DeleteTransitGatewayMulticastDomainCommand"); +var DeleteTransitGatewayMulticastDomainCommand = _DeleteTransitGatewayMulticastDomainCommand; -/***/ 91055: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts -var AWS = __nccwpck_require__(28437); -var resolveRegionalEndpointsFlag = __nccwpck_require__(85566); -var ENV_REGIONAL_ENDPOINT_ENABLED = 'AWS_STS_REGIONAL_ENDPOINTS'; -var CONFIG_REGIONAL_ENDPOINT_ENABLED = 'sts_regional_endpoints'; -AWS.util.update(AWS.STS.prototype, { - /** - * @overload credentialsFrom(data, credentials = null) - * Creates a credentials object from STS response data containing - * credentials information. Useful for quickly setting AWS credentials. - * - * @note This is a low-level utility function. If you want to load temporary - * credentials into your process for subsequent requests to AWS resources, - * you should use {AWS.TemporaryCredentials} instead. - * @param data [map] data retrieved from a call to {getFederatedToken}, - * {getSessionToken}, {assumeRole}, or {assumeRoleWithWebIdentity}. - * @param credentials [AWS.Credentials] an optional credentials object to - * fill instead of creating a new object. Useful when modifying an - * existing credentials object from a refresh call. - * @return [AWS.TemporaryCredentials] the set of temporary credentials - * loaded from a raw STS operation response. - * @example Using credentialsFrom to load global AWS credentials - * var sts = new AWS.STS(); - * sts.getSessionToken(function (err, data) { - * if (err) console.log("Error getting credentials"); - * else { - * AWS.config.credentials = sts.credentialsFrom(data); - * } - * }); - * @see AWS.TemporaryCredentials - */ - credentialsFrom: function credentialsFrom(data, credentials) { - if (!data) return null; - if (!credentials) credentials = new AWS.TemporaryCredentials(); - credentials.expired = false; - credentials.accessKeyId = data.Credentials.AccessKeyId; - credentials.secretAccessKey = data.Credentials.SecretAccessKey; - credentials.sessionToken = data.Credentials.SessionToken; - credentials.expireTime = data.Credentials.Expiration; - return credentials; - }, - assumeRoleWithWebIdentity: function assumeRoleWithWebIdentity(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithWebIdentity', params, callback); - }, - assumeRoleWithSAML: function assumeRoleWithSAML(params, callback) { - return this.makeUnauthenticatedRequest('assumeRoleWithSAML', params, callback); - }, +var _DeleteTransitGatewayPeeringAttachmentCommand = class _DeleteTransitGatewayPeeringAttachmentCommand 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("AmazonEC2", "DeleteTransitGatewayPeeringAttachment", {}).n("EC2Client", "DeleteTransitGatewayPeeringAttachmentCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayPeeringAttachmentCommand).de(de_DeleteTransitGatewayPeeringAttachmentCommand).build() { +}; +__name(_DeleteTransitGatewayPeeringAttachmentCommand, "DeleteTransitGatewayPeeringAttachmentCommand"); +var DeleteTransitGatewayPeeringAttachmentCommand = _DeleteTransitGatewayPeeringAttachmentCommand; - /** - * @api private - */ - setupRequestListeners: function setupRequestListeners(request) { - request.addListener('validate', this.optInRegionalEndpoint, true); - }, +// src/commands/DeleteTransitGatewayPolicyTableCommand.ts - /** - * @api private - */ - optInRegionalEndpoint: function optInRegionalEndpoint(req) { - var service = req.service; - var config = service.config; - config.stsRegionalEndpoints = resolveRegionalEndpointsFlag(service._originalConfig, { - env: ENV_REGIONAL_ENDPOINT_ENABLED, - sharedConfig: CONFIG_REGIONAL_ENDPOINT_ENABLED, - clientConfig: 'stsRegionalEndpoints' - }); - if ( - config.stsRegionalEndpoints === 'regional' && - service.isGlobalEndpoint - ) { - //client will throw if region is not supplied; request will be signed with specified region - if (!config.region) { - throw AWS.util.error(new Error(), - {code: 'ConfigError', message: 'Missing region in config'}); - } - var insertPoint = config.endpoint.indexOf('.amazonaws.com'); - var regionalEndpoint = config.endpoint.substring(0, insertPoint) + - '.' + config.region + config.endpoint.substring(insertPoint); - req.httpRequest.updateEndpoint(regionalEndpoint); - req.httpRequest.region = config.region; - } - } -}); -/***/ }), +var _DeleteTransitGatewayPolicyTableCommand = class _DeleteTransitGatewayPolicyTableCommand 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("AmazonEC2", "DeleteTransitGatewayPolicyTable", {}).n("EC2Client", "DeleteTransitGatewayPolicyTableCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayPolicyTableCommand).de(de_DeleteTransitGatewayPolicyTableCommand).build() { +}; +__name(_DeleteTransitGatewayPolicyTableCommand, "DeleteTransitGatewayPolicyTableCommand"); +var DeleteTransitGatewayPolicyTableCommand = _DeleteTransitGatewayPolicyTableCommand; -/***/ 31987: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts -var AWS = __nccwpck_require__(28437); -AWS.util.hideProperties(AWS, ['SimpleWorkflow']); -/** - * @constant - * @readonly - * Backwards compatibility for access to the {AWS.SWF} service class. - */ -AWS.SimpleWorkflow = AWS.SWF; +var _DeleteTransitGatewayPrefixListReferenceCommand = class _DeleteTransitGatewayPrefixListReferenceCommand 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("AmazonEC2", "DeleteTransitGatewayPrefixListReference", {}).n("EC2Client", "DeleteTransitGatewayPrefixListReferenceCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayPrefixListReferenceCommand).de(de_DeleteTransitGatewayPrefixListReferenceCommand).build() { +}; +__name(_DeleteTransitGatewayPrefixListReferenceCommand, "DeleteTransitGatewayPrefixListReferenceCommand"); +var DeleteTransitGatewayPrefixListReferenceCommand = _DeleteTransitGatewayPrefixListReferenceCommand; -/***/ }), +// src/commands/DeleteTransitGatewayRouteCommand.ts -/***/ 29697: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var IniLoader = (__nccwpck_require__(95417).IniLoader); -/** - * Singleton object to load specified config/credentials files. - * It will cache all the files ever loaded; - */ -module.exports.b = new IniLoader(); -/***/ }), +var _DeleteTransitGatewayRouteCommand = class _DeleteTransitGatewayRouteCommand 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("AmazonEC2", "DeleteTransitGatewayRoute", {}).n("EC2Client", "DeleteTransitGatewayRouteCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteCommand).de(de_DeleteTransitGatewayRouteCommand).build() { +}; +__name(_DeleteTransitGatewayRouteCommand, "DeleteTransitGatewayRouteCommand"); +var DeleteTransitGatewayRouteCommand = _DeleteTransitGatewayRouteCommand; -/***/ 95417: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.ts -var AWS = __nccwpck_require__(28437); -var os = __nccwpck_require__(22037); -var path = __nccwpck_require__(71017); -function parseFile(filename) { - return AWS.util.ini.parse(AWS.util.readFileSync(filename)); -} -function getProfiles(fileContent) { - var tmpContent = {}; - Object.keys(fileContent).forEach(function(sectionName) { - if (/^sso-session\s/.test(sectionName)) return; - Object.defineProperty(tmpContent, sectionName.replace(/^profile\s/, ''), { - value: fileContent[sectionName], - enumerable: true - }); - }); - return tmpContent; -} -function getSsoSessions(fileContent) { - var tmpContent = {}; - Object.keys(fileContent).forEach(function(sectionName) { - if (!/^sso-session\s/.test(sectionName)) return; - Object.defineProperty(tmpContent, sectionName.replace(/^sso-session\s/, ''), { - value: fileContent[sectionName], - enumerable: true - }); - }); - return tmpContent; -} +var _DeleteTransitGatewayRouteTableAnnouncementCommand = class _DeleteTransitGatewayRouteTableAnnouncementCommand 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("AmazonEC2", "DeleteTransitGatewayRouteTableAnnouncement", {}).n("EC2Client", "DeleteTransitGatewayRouteTableAnnouncementCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteTableAnnouncementCommand).de(de_DeleteTransitGatewayRouteTableAnnouncementCommand).build() { +}; +__name(_DeleteTransitGatewayRouteTableAnnouncementCommand, "DeleteTransitGatewayRouteTableAnnouncementCommand"); +var DeleteTransitGatewayRouteTableAnnouncementCommand = _DeleteTransitGatewayRouteTableAnnouncementCommand; -/** - * Ini file loader class the same as that used in the SDK. It loads and - * parses config and credentials files in .ini format and cache the content - * to assure files are only read once. - * Note that calling operations on the instance instantiated from this class - * won't affect the behavior of SDK since SDK uses an internal singleton of - * this class. - * @!macro nobrowser - */ -AWS.IniLoader = AWS.util.inherit({ - constructor: function IniLoader() { - this.resolvedProfiles = {}; - this.resolvedSsoSessions = {}; - }, +// src/commands/DeleteTransitGatewayRouteTableCommand.ts - /** Remove all cached files. Used after config files are updated. */ - clearCachedFiles: function clearCachedFiles() { - this.resolvedProfiles = {}; - this.resolvedSsoSessions = {}; - }, - /** - * Load configurations from config/credentials files and cache them - * for later use. If no file is specified it will try to load default files. - * - * @param options [map] information describing the file - * @option options filename [String] ('~/.aws/credentials' or defined by - * AWS_SHARED_CREDENTIALS_FILE process env var or '~/.aws/config' if - * isConfig is set to true) - * path to the file to be read. - * @option options isConfig [Boolean] (false) True to read config file. - * @return [map] object containing contents from file in key-value - * pairs. - */ - loadFrom: function loadFrom(options) { - options = options || {}; - var isConfig = options.isConfig === true; - var filename = options.filename || this.getDefaultFilePath(isConfig); - if (!this.resolvedProfiles[filename]) { - var fileContent = parseFile(filename); - if (isConfig) { - Object.defineProperty(this.resolvedProfiles, filename, { - value: getProfiles(fileContent) - }); - } else { - Object.defineProperty(this.resolvedProfiles, filename, { value: fileContent }); - } - } - return this.resolvedProfiles[filename]; - }, - /** - * Load sso sessions from config/credentials files and cache them - * for later use. If no file is specified it will try to load default file. - * - * @param options [map] information describing the file - * @option options filename [String] ('~/.aws/config' or defined by - * AWS_CONFIG_FILE process env var) - * @return [map] object containing contents from file in key-value - * pairs. - */ - loadSsoSessionsFrom: function loadSsoSessionsFrom(options) { - options = options || {}; - var filename = options.filename || this.getDefaultFilePath(true); - if (!this.resolvedSsoSessions[filename]) { - var fileContent = parseFile(filename); - Object.defineProperty(this.resolvedSsoSessions, filename, { - value: getSsoSessions(fileContent) - }); - } - return this.resolvedSsoSessions[filename]; - }, - /** - * @api private - */ - getDefaultFilePath: function getDefaultFilePath(isConfig) { - return path.join( - this.getHomeDir(), - '.aws', - isConfig ? 'config' : 'credentials' - ); - }, +var _DeleteTransitGatewayRouteTableCommand = class _DeleteTransitGatewayRouteTableCommand 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("AmazonEC2", "DeleteTransitGatewayRouteTable", {}).n("EC2Client", "DeleteTransitGatewayRouteTableCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayRouteTableCommand).de(de_DeleteTransitGatewayRouteTableCommand).build() { +}; +__name(_DeleteTransitGatewayRouteTableCommand, "DeleteTransitGatewayRouteTableCommand"); +var DeleteTransitGatewayRouteTableCommand = _DeleteTransitGatewayRouteTableCommand; - /** - * @api private - */ - getHomeDir: function getHomeDir() { - var env = process.env; - var home = env.HOME || - env.USERPROFILE || - (env.HOMEPATH ? ((env.HOMEDRIVE || 'C:/') + env.HOMEPATH) : null); +// src/commands/DeleteTransitGatewayVpcAttachmentCommand.ts - if (home) { - return home; - } - if (typeof os.homedir === 'function') { - return os.homedir(); - } - throw AWS.util.error( - new Error('Cannot load credentials, HOME path not set') - ); - } -}); -var IniLoader = AWS.IniLoader; +var _DeleteTransitGatewayVpcAttachmentCommand = class _DeleteTransitGatewayVpcAttachmentCommand 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("AmazonEC2", "DeleteTransitGatewayVpcAttachment", {}).n("EC2Client", "DeleteTransitGatewayVpcAttachmentCommand").f(void 0, void 0).ser(se_DeleteTransitGatewayVpcAttachmentCommand).de(de_DeleteTransitGatewayVpcAttachmentCommand).build() { +}; +__name(_DeleteTransitGatewayVpcAttachmentCommand, "DeleteTransitGatewayVpcAttachmentCommand"); +var DeleteTransitGatewayVpcAttachmentCommand = _DeleteTransitGatewayVpcAttachmentCommand; + +// src/commands/DeleteVerifiedAccessEndpointCommand.ts -module.exports = { - IniLoader: IniLoader + + + +var _DeleteVerifiedAccessEndpointCommand = class _DeleteVerifiedAccessEndpointCommand 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("AmazonEC2", "DeleteVerifiedAccessEndpoint", {}).n("EC2Client", "DeleteVerifiedAccessEndpointCommand").f(void 0, void 0).ser(se_DeleteVerifiedAccessEndpointCommand).de(de_DeleteVerifiedAccessEndpointCommand).build() { }; +__name(_DeleteVerifiedAccessEndpointCommand, "DeleteVerifiedAccessEndpointCommand"); +var DeleteVerifiedAccessEndpointCommand = _DeleteVerifiedAccessEndpointCommand; +// src/commands/DeleteVerifiedAccessGroupCommand.ts -/***/ }), -/***/ 98382: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * @api private - */ -AWS.Signers.Bearer = AWS.util.inherit(AWS.Signers.RequestSigner, { - constructor: function Bearer(request) { - AWS.Signers.RequestSigner.call(this, request); - }, +var _DeleteVerifiedAccessGroupCommand = class _DeleteVerifiedAccessGroupCommand 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("AmazonEC2", "DeleteVerifiedAccessGroup", {}).n("EC2Client", "DeleteVerifiedAccessGroupCommand").f(void 0, void 0).ser(se_DeleteVerifiedAccessGroupCommand).de(de_DeleteVerifiedAccessGroupCommand).build() { +}; +__name(_DeleteVerifiedAccessGroupCommand, "DeleteVerifiedAccessGroupCommand"); +var DeleteVerifiedAccessGroupCommand = _DeleteVerifiedAccessGroupCommand; - addAuthorization: function addAuthorization(token) { - this.request.headers['Authorization'] = 'Bearer ' + token.token; - } -}); +// src/commands/DeleteVerifiedAccessInstanceCommand.ts -/***/ }), -/***/ 60328: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; +var _DeleteVerifiedAccessInstanceCommand = class _DeleteVerifiedAccessInstanceCommand 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("AmazonEC2", "DeleteVerifiedAccessInstance", {}).n("EC2Client", "DeleteVerifiedAccessInstanceCommand").f(void 0, void 0).ser(se_DeleteVerifiedAccessInstanceCommand).de(de_DeleteVerifiedAccessInstanceCommand).build() { +}; +__name(_DeleteVerifiedAccessInstanceCommand, "DeleteVerifiedAccessInstanceCommand"); +var DeleteVerifiedAccessInstanceCommand = _DeleteVerifiedAccessInstanceCommand; -/** - * @api private - */ -var expiresHeader = 'presigned-expires'; +// src/commands/DeleteVerifiedAccessTrustProviderCommand.ts -/** - * @api private - */ -function signedUrlBuilder(request) { - var expires = request.httpRequest.headers[expiresHeader]; - var signerClass = request.service.getSignerClass(request); - - delete request.httpRequest.headers['User-Agent']; - delete request.httpRequest.headers['X-Amz-User-Agent']; - - if (signerClass === AWS.Signers.V4) { - if (expires > 604800) { // one week expiry is invalid - var message = 'Presigning does not support expiry time greater ' + - 'than a week with SigV4 signing.'; - throw AWS.util.error(new Error(), { - code: 'InvalidExpiryTime', message: message, retryable: false - }); - } - request.httpRequest.headers[expiresHeader] = expires; - } else if (signerClass === AWS.Signers.S3) { - var now = request.service ? request.service.getSkewCorrectedDate() : AWS.util.date.getDate(); - request.httpRequest.headers[expiresHeader] = parseInt( - AWS.util.date.unixTimestamp(now) + expires, 10).toString(); - } else { - throw AWS.util.error(new Error(), { - message: 'Presigning only supports S3 or SigV4 signing.', - code: 'UnsupportedSigner', retryable: false - }); - } -} -/** - * @api private - */ -function signedUrlSigner(request) { - var endpoint = request.httpRequest.endpoint; - var parsedUrl = AWS.util.urlParse(request.httpRequest.path); - var queryParams = {}; - if (parsedUrl.search) { - queryParams = AWS.util.queryStringParse(parsedUrl.search.substr(1)); - } - var auth = request.httpRequest.headers['Authorization'].split(' '); - if (auth[0] === 'AWS') { - auth = auth[1].split(':'); - queryParams['Signature'] = auth.pop(); - queryParams['AWSAccessKeyId'] = auth.join(':'); - AWS.util.each(request.httpRequest.headers, function (key, value) { - if (key === expiresHeader) key = 'Expires'; - if (key.indexOf('x-amz-meta-') === 0) { - // Delete existing, potentially not normalized key - delete queryParams[key]; - key = key.toLowerCase(); - } - queryParams[key] = value; - }); - delete request.httpRequest.headers[expiresHeader]; - delete queryParams['Authorization']; - delete queryParams['Host']; - } else if (auth[0] === 'AWS4-HMAC-SHA256') { // SigV4 signing - auth.shift(); - var rest = auth.join(' '); - var signature = rest.match(/Signature=(.*?)(?:,|\s|\r?\n|$)/)[1]; - queryParams['X-Amz-Signature'] = signature; - delete queryParams['Expires']; - } +// src/models/models_3.ts - // build URL - endpoint.pathname = parsedUrl.pathname; - endpoint.search = AWS.util.queryParamsToString(queryParams); -} +var DeleteQueuedReservedInstancesErrorCode = { + RESERVED_INSTANCES_ID_INVALID: "reserved-instances-id-invalid", + RESERVED_INSTANCES_NOT_IN_QUEUED_STATE: "reserved-instances-not-in-queued-state", + UNEXPECTED_ERROR: "unexpected-error" +}; +var AsnState = { + deprovisioned: "deprovisioned", + failed_deprovision: "failed-deprovision", + failed_provision: "failed-provision", + pending_deprovision: "pending-deprovision", + pending_provision: "pending-provision", + provisioned: "provisioned" +}; +var IpamPoolCidrFailureCode = { + cidr_not_available: "cidr-not-available", + limit_exceeded: "limit-exceeded" +}; +var IpamPoolCidrState = { + deprovisioned: "deprovisioned", + failed_deprovision: "failed-deprovision", + failed_import: "failed-import", + failed_provision: "failed-provision", + pending_deprovision: "pending-deprovision", + pending_import: "pending-import", + pending_provision: "pending-provision", + provisioned: "provisioned" +}; +var AvailabilityZoneOptInStatus = { + not_opted_in: "not-opted-in", + opt_in_not_required: "opt-in-not-required", + opted_in: "opted-in" +}; +var AvailabilityZoneState = { + available: "available", + constrained: "constrained", + impaired: "impaired", + information: "information", + unavailable: "unavailable" +}; +var MetricType = { + aggregate_latency: "aggregate-latency" +}; +var PeriodType = { + fifteen_minutes: "fifteen-minutes", + five_minutes: "five-minutes", + one_day: "one-day", + one_hour: "one-hour", + one_week: "one-week", + three_hours: "three-hours" +}; +var StatisticType = { + p50: "p50" +}; +var ClientVpnConnectionStatusCode = { + active: "active", + failed_to_terminate: "failed-to-terminate", + terminated: "terminated", + terminating: "terminating" +}; +var AssociatedNetworkType = { + vpc: "vpc" +}; +var ClientVpnEndpointAttributeStatusCode = { + applied: "applied", + applying: "applying" +}; +var VpnProtocol = { + openvpn: "openvpn" +}; +var ConversionTaskState = { + active: "active", + cancelled: "cancelled", + cancelling: "cancelling", + completed: "completed" +}; +var ElasticGpuStatus = { + Impaired: "IMPAIRED", + Ok: "OK" +}; +var ElasticGpuState = { + Attached: "ATTACHED" +}; +var FastLaunchResourceType = { + SNAPSHOT: "snapshot" +}; +var FastLaunchStateCode = { + disabling: "disabling", + disabling_failed: "disabling-failed", + enabled: "enabled", + enabled_failed: "enabled-failed", + enabling: "enabling", + enabling_failed: "enabling-failed" +}; +var FastSnapshotRestoreStateCode = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling", + optimizing: "optimizing" +}; +var FleetEventType = { + FLEET_CHANGE: "fleet-change", + INSTANCE_CHANGE: "instance-change", + SERVICE_ERROR: "service-error" +}; +var FleetActivityStatus = { + ERROR: "error", + FULFILLED: "fulfilled", + PENDING_FULFILLMENT: "pending_fulfillment", + PENDING_TERMINATION: "pending_termination" +}; +var FpgaImageAttributeName = { + description: "description", + loadPermission: "loadPermission", + name: "name", + productCodes: "productCodes" +}; +var PermissionGroup = { + all: "all" +}; +var ProductCodeValues = { + devpay: "devpay", + marketplace: "marketplace" +}; +var FpgaImageStateCode = { + available: "available", + failed: "failed", + pending: "pending", + unavailable: "unavailable" +}; +var PaymentOption = { + ALL_UPFRONT: "AllUpfront", + NO_UPFRONT: "NoUpfront", + PARTIAL_UPFRONT: "PartialUpfront" +}; +var ReservationState = { + ACTIVE: "active", + PAYMENT_FAILED: "payment-failed", + PAYMENT_PENDING: "payment-pending", + RETIRED: "retired" +}; +var ImageAttributeName = { + blockDeviceMapping: "blockDeviceMapping", + bootMode: "bootMode", + deregistrationProtection: "deregistrationProtection", + description: "description", + imdsSupport: "imdsSupport", + kernel: "kernel", + lastLaunchedTime: "lastLaunchedTime", + launchPermission: "launchPermission", + productCodes: "productCodes", + ramdisk: "ramdisk", + sriovNetSupport: "sriovNetSupport", + tpmSupport: "tpmSupport", + uefiData: "uefiData" +}; +var ArchitectureValues = { + arm64: "arm64", + arm64_mac: "arm64_mac", + i386: "i386", + x86_64: "x86_64", + x86_64_mac: "x86_64_mac" +}; +var BootModeValues = { + legacy_bios: "legacy-bios", + uefi: "uefi", + uefi_preferred: "uefi-preferred" +}; +var HypervisorType = { + ovm: "ovm", + xen: "xen" +}; +var ImageTypeValues = { + kernel: "kernel", + machine: "machine", + ramdisk: "ramdisk" +}; +var ImdsSupportValues = { + v2_0: "v2.0" +}; +var DeviceType = { + ebs: "ebs", + instance_store: "instance-store" +}; +var ImageState = { + available: "available", + deregistered: "deregistered", + disabled: "disabled", + error: "error", + failed: "failed", + invalid: "invalid", + pending: "pending", + transient: "transient" +}; +var TpmSupportValues = { + v2_0: "v2.0" +}; +var VirtualizationType = { + hvm: "hvm", + paravirtual: "paravirtual" +}; +var DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProvider && { + VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) + } +}), "DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog"); +var DescribeBundleTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.BundleTasks && { BundleTasks: obj.BundleTasks.map((item) => BundleTaskFilterSensitiveLog(item)) } +}), "DescribeBundleTasksResultFilterSensitiveLog"); +var DiskImageDescriptionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING } +}), "DiskImageDescriptionFilterSensitiveLog"); +var ImportInstanceVolumeDetailItemFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) } +}), "ImportInstanceVolumeDetailItemFilterSensitiveLog"); +var ImportInstanceTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Volumes && { Volumes: obj.Volumes.map((item) => ImportInstanceVolumeDetailItemFilterSensitiveLog(item)) } +}), "ImportInstanceTaskDetailsFilterSensitiveLog"); +var ImportVolumeTaskDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Image && { Image: DiskImageDescriptionFilterSensitiveLog(obj.Image) } +}), "ImportVolumeTaskDetailsFilterSensitiveLog"); +var ConversionTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ImportInstance && { ImportInstance: ImportInstanceTaskDetailsFilterSensitiveLog(obj.ImportInstance) }, + ...obj.ImportVolume && { ImportVolume: ImportVolumeTaskDetailsFilterSensitiveLog(obj.ImportVolume) } +}), "ConversionTaskFilterSensitiveLog"); +var DescribeConversionTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ConversionTasks && { + ConversionTasks: obj.ConversionTasks.map((item) => ConversionTaskFilterSensitiveLog(item)) + } +}), "DescribeConversionTasksResultFilterSensitiveLog"); +var SnapshotDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } +}), "SnapshotDetailFilterSensitiveLog"); +var ImportImageTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SnapshotDetails && { + SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)) + } +}), "ImportImageTaskFilterSensitiveLog"); +var DescribeImportImageTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj +}), "DescribeImportImageTasksResultFilterSensitiveLog"); + +// src/commands/DeleteVerifiedAccessTrustProviderCommand.ts +var _DeleteVerifiedAccessTrustProviderCommand = class _DeleteVerifiedAccessTrustProviderCommand 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("AmazonEC2", "DeleteVerifiedAccessTrustProvider", {}).n("EC2Client", "DeleteVerifiedAccessTrustProviderCommand").f(void 0, DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_DeleteVerifiedAccessTrustProviderCommand).de(de_DeleteVerifiedAccessTrustProviderCommand).build() { +}; +__name(_DeleteVerifiedAccessTrustProviderCommand, "DeleteVerifiedAccessTrustProviderCommand"); +var DeleteVerifiedAccessTrustProviderCommand = _DeleteVerifiedAccessTrustProviderCommand; -/** - * @api private - */ -AWS.Signers.Presign = inherit({ - /** - * @api private - */ - sign: function sign(request, expireTime, callback) { - request.httpRequest.headers[expiresHeader] = expireTime || 3600; - request.on('build', signedUrlBuilder); - request.on('sign', signedUrlSigner); - request.removeListener('afterBuild', - AWS.EventListeners.Core.SET_CONTENT_LENGTH); - request.removeListener('afterBuild', - AWS.EventListeners.Core.COMPUTE_SHA256); +// src/commands/DeleteVolumeCommand.ts - request.emit('beforePresign', [request]); - if (callback) { - request.build(function() { - if (this.response.error) callback(this.response.error); - else { - callback(null, AWS.util.urlFormat(request.httpRequest.endpoint)); - } - }); - } else { - request.build(); - if (request.response.error) throw request.response.error; - return AWS.util.urlFormat(request.httpRequest.endpoint); - } - } -}); -/** - * @api private - */ -module.exports = AWS.Signers.Presign; + +var _DeleteVolumeCommand = class _DeleteVolumeCommand 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("AmazonEC2", "DeleteVolume", {}).n("EC2Client", "DeleteVolumeCommand").f(void 0, void 0).ser(se_DeleteVolumeCommand).de(de_DeleteVolumeCommand).build() { +}; +__name(_DeleteVolumeCommand, "DeleteVolumeCommand"); +var DeleteVolumeCommand = _DeleteVolumeCommand; + +// src/commands/DeleteVpcCommand.ts -/***/ }), -/***/ 9897: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); +var _DeleteVpcCommand = class _DeleteVpcCommand 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("AmazonEC2", "DeleteVpc", {}).n("EC2Client", "DeleteVpcCommand").f(void 0, void 0).ser(se_DeleteVpcCommand).de(de_DeleteVpcCommand).build() { +}; +__name(_DeleteVpcCommand, "DeleteVpcCommand"); +var DeleteVpcCommand = _DeleteVpcCommand; -var inherit = AWS.util.inherit; +// src/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts -/** - * @api private - */ -AWS.Signers.RequestSigner = inherit({ - constructor: function RequestSigner(request) { - this.request = request; - }, - setServiceClientId: function setServiceClientId(id) { - this.serviceClientId = id; - }, - getServiceClientId: function getServiceClientId() { - return this.serviceClientId; - } -}); -AWS.Signers.RequestSigner.getVersion = function getVersion(version) { - switch (version) { - case 'v2': return AWS.Signers.V2; - case 'v3': return AWS.Signers.V3; - case 's3v4': return AWS.Signers.V4; - case 'v4': return AWS.Signers.V4; - case 's3': return AWS.Signers.S3; - case 'v3https': return AWS.Signers.V3Https; - case 'bearer': return AWS.Signers.Bearer; - } - throw new Error('Unknown signing version ' + version); +var _DeleteVpcEndpointConnectionNotificationsCommand = class _DeleteVpcEndpointConnectionNotificationsCommand 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("AmazonEC2", "DeleteVpcEndpointConnectionNotifications", {}).n("EC2Client", "DeleteVpcEndpointConnectionNotificationsCommand").f(void 0, void 0).ser(se_DeleteVpcEndpointConnectionNotificationsCommand).de(de_DeleteVpcEndpointConnectionNotificationsCommand).build() { }; +__name(_DeleteVpcEndpointConnectionNotificationsCommand, "DeleteVpcEndpointConnectionNotificationsCommand"); +var DeleteVpcEndpointConnectionNotificationsCommand = _DeleteVpcEndpointConnectionNotificationsCommand; -__nccwpck_require__(28489); -__nccwpck_require__(66458); -__nccwpck_require__(24473); -__nccwpck_require__(26529); -__nccwpck_require__(58616); -__nccwpck_require__(60328); -__nccwpck_require__(98382); +// src/commands/DeleteVpcEndpointsCommand.ts -/***/ }), -/***/ 58616: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; +var _DeleteVpcEndpointsCommand = class _DeleteVpcEndpointsCommand 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("AmazonEC2", "DeleteVpcEndpoints", {}).n("EC2Client", "DeleteVpcEndpointsCommand").f(void 0, void 0).ser(se_DeleteVpcEndpointsCommand).de(de_DeleteVpcEndpointsCommand).build() { +}; +__name(_DeleteVpcEndpointsCommand, "DeleteVpcEndpointsCommand"); +var DeleteVpcEndpointsCommand = _DeleteVpcEndpointsCommand; -/** - * @api private - */ -AWS.Signers.S3 = inherit(AWS.Signers.RequestSigner, { - /** - * When building the stringToSign, these sub resource params should be - * part of the canonical resource string with their NON-decoded values - */ - subResources: { - 'acl': 1, - 'accelerate': 1, - 'analytics': 1, - 'cors': 1, - 'lifecycle': 1, - 'delete': 1, - 'inventory': 1, - 'location': 1, - 'logging': 1, - 'metrics': 1, - 'notification': 1, - 'partNumber': 1, - 'policy': 1, - 'requestPayment': 1, - 'replication': 1, - 'restore': 1, - 'tagging': 1, - 'torrent': 1, - 'uploadId': 1, - 'uploads': 1, - 'versionId': 1, - 'versioning': 1, - 'versions': 1, - 'website': 1 - }, +// src/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts - // when building the stringToSign, these querystring params should be - // part of the canonical resource string with their NON-encoded values - responseHeaders: { - 'response-content-type': 1, - 'response-content-language': 1, - 'response-expires': 1, - 'response-cache-control': 1, - 'response-content-disposition': 1, - 'response-content-encoding': 1 - }, - addAuthorization: function addAuthorization(credentials, date) { - if (!this.request.headers['presigned-expires']) { - this.request.headers['X-Amz-Date'] = AWS.util.date.rfc822(date); - } - if (credentials.sessionToken) { - // presigned URLs require this header to be lowercased - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - var signature = this.sign(credentials.secretAccessKey, this.stringToSign()); - var auth = 'AWS ' + credentials.accessKeyId + ':' + signature; +var _DeleteVpcEndpointServiceConfigurationsCommand = class _DeleteVpcEndpointServiceConfigurationsCommand 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("AmazonEC2", "DeleteVpcEndpointServiceConfigurations", {}).n("EC2Client", "DeleteVpcEndpointServiceConfigurationsCommand").f(void 0, void 0).ser(se_DeleteVpcEndpointServiceConfigurationsCommand).de(de_DeleteVpcEndpointServiceConfigurationsCommand).build() { +}; +__name(_DeleteVpcEndpointServiceConfigurationsCommand, "DeleteVpcEndpointServiceConfigurationsCommand"); +var DeleteVpcEndpointServiceConfigurationsCommand = _DeleteVpcEndpointServiceConfigurationsCommand; - this.request.headers['Authorization'] = auth; - }, +// src/commands/DeleteVpcPeeringConnectionCommand.ts - stringToSign: function stringToSign() { - var r = this.request; - var parts = []; - parts.push(r.method); - parts.push(r.headers['Content-MD5'] || ''); - parts.push(r.headers['Content-Type'] || ''); - // This is the "Date" header, but we use X-Amz-Date. - // The S3 signing mechanism requires us to pass an empty - // string for this Date header regardless. - parts.push(r.headers['presigned-expires'] || ''); - var headers = this.canonicalizedAmzHeaders(); - if (headers) parts.push(headers); - parts.push(this.canonicalizedResource()); +var _DeleteVpcPeeringConnectionCommand = class _DeleteVpcPeeringConnectionCommand 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("AmazonEC2", "DeleteVpcPeeringConnection", {}).n("EC2Client", "DeleteVpcPeeringConnectionCommand").f(void 0, void 0).ser(se_DeleteVpcPeeringConnectionCommand).de(de_DeleteVpcPeeringConnectionCommand).build() { +}; +__name(_DeleteVpcPeeringConnectionCommand, "DeleteVpcPeeringConnectionCommand"); +var DeleteVpcPeeringConnectionCommand = _DeleteVpcPeeringConnectionCommand; - return parts.join('\n'); +// src/commands/DeleteVpnConnectionCommand.ts - }, - canonicalizedAmzHeaders: function canonicalizedAmzHeaders() { - var amzHeaders = []; - AWS.util.each(this.request.headers, function (name) { - if (name.match(/^x-amz-/i)) - amzHeaders.push(name); - }); +var _DeleteVpnConnectionCommand = class _DeleteVpnConnectionCommand 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("AmazonEC2", "DeleteVpnConnection", {}).n("EC2Client", "DeleteVpnConnectionCommand").f(void 0, void 0).ser(se_DeleteVpnConnectionCommand).de(de_DeleteVpnConnectionCommand).build() { +}; +__name(_DeleteVpnConnectionCommand, "DeleteVpnConnectionCommand"); +var DeleteVpnConnectionCommand = _DeleteVpnConnectionCommand; - amzHeaders.sort(function (a, b) { - return a.toLowerCase() < b.toLowerCase() ? -1 : 1; - }); +// src/commands/DeleteVpnConnectionRouteCommand.ts - var parts = []; - AWS.util.arrayEach.call(this, amzHeaders, function (name) { - parts.push(name.toLowerCase() + ':' + String(this.request.headers[name])); - }); - return parts.join('\n'); - }, - canonicalizedResource: function canonicalizedResource() { +var _DeleteVpnConnectionRouteCommand = class _DeleteVpnConnectionRouteCommand 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("AmazonEC2", "DeleteVpnConnectionRoute", {}).n("EC2Client", "DeleteVpnConnectionRouteCommand").f(void 0, void 0).ser(se_DeleteVpnConnectionRouteCommand).de(de_DeleteVpnConnectionRouteCommand).build() { +}; +__name(_DeleteVpnConnectionRouteCommand, "DeleteVpnConnectionRouteCommand"); +var DeleteVpnConnectionRouteCommand = _DeleteVpnConnectionRouteCommand; - var r = this.request; +// src/commands/DeleteVpnGatewayCommand.ts - var parts = r.path.split('?'); - var path = parts[0]; - var querystring = parts[1]; - var resource = ''; - if (r.virtualHostedBucket) - resource += '/' + r.virtualHostedBucket; - resource += path; +var _DeleteVpnGatewayCommand = class _DeleteVpnGatewayCommand 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("AmazonEC2", "DeleteVpnGateway", {}).n("EC2Client", "DeleteVpnGatewayCommand").f(void 0, void 0).ser(se_DeleteVpnGatewayCommand).de(de_DeleteVpnGatewayCommand).build() { +}; +__name(_DeleteVpnGatewayCommand, "DeleteVpnGatewayCommand"); +var DeleteVpnGatewayCommand = _DeleteVpnGatewayCommand; - if (querystring) { +// src/commands/DeprovisionByoipCidrCommand.ts - // collect a list of sub resources and query params that need to be signed - var resources = []; - AWS.util.arrayEach.call(this, querystring.split('&'), function (param) { - var name = param.split('=')[0]; - var value = param.split('=')[1]; - if (this.subResources[name] || this.responseHeaders[name]) { - var subresource = { name: name }; - if (value !== undefined) { - if (this.subResources[name]) { - subresource.value = value; - } else { - subresource.value = decodeURIComponent(value); - } - } - resources.push(subresource); - } - }); - resources.sort(function (a, b) { return a.name < b.name ? -1 : 1; }); - if (resources.length) { +var _DeprovisionByoipCidrCommand = class _DeprovisionByoipCidrCommand 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("AmazonEC2", "DeprovisionByoipCidr", {}).n("EC2Client", "DeprovisionByoipCidrCommand").f(void 0, void 0).ser(se_DeprovisionByoipCidrCommand).de(de_DeprovisionByoipCidrCommand).build() { +}; +__name(_DeprovisionByoipCidrCommand, "DeprovisionByoipCidrCommand"); +var DeprovisionByoipCidrCommand = _DeprovisionByoipCidrCommand; - querystring = []; - AWS.util.arrayEach(resources, function (res) { - if (res.value === undefined) { - querystring.push(res.name); - } else { - querystring.push(res.name + '=' + res.value); - } - }); +// src/commands/DeprovisionIpamByoasnCommand.ts - resource += '?' + querystring.join('&'); - } - } - return resource; - }, +var _DeprovisionIpamByoasnCommand = class _DeprovisionIpamByoasnCommand 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("AmazonEC2", "DeprovisionIpamByoasn", {}).n("EC2Client", "DeprovisionIpamByoasnCommand").f(void 0, void 0).ser(se_DeprovisionIpamByoasnCommand).de(de_DeprovisionIpamByoasnCommand).build() { +}; +__name(_DeprovisionIpamByoasnCommand, "DeprovisionIpamByoasnCommand"); +var DeprovisionIpamByoasnCommand = _DeprovisionIpamByoasnCommand; - sign: function sign(secret, string) { - return AWS.util.crypto.hmac(secret, string, 'base64', 'sha1'); - } -}); +// src/commands/DeprovisionIpamPoolCidrCommand.ts -/** - * @api private - */ -module.exports = AWS.Signers.S3; -/***/ }), -/***/ 28489: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _DeprovisionIpamPoolCidrCommand = class _DeprovisionIpamPoolCidrCommand 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("AmazonEC2", "DeprovisionIpamPoolCidr", {}).n("EC2Client", "DeprovisionIpamPoolCidrCommand").f(void 0, void 0).ser(se_DeprovisionIpamPoolCidrCommand).de(de_DeprovisionIpamPoolCidrCommand).build() { +}; +__name(_DeprovisionIpamPoolCidrCommand, "DeprovisionIpamPoolCidrCommand"); +var DeprovisionIpamPoolCidrCommand = _DeprovisionIpamPoolCidrCommand; -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; +// src/commands/DeprovisionPublicIpv4PoolCidrCommand.ts -/** - * @api private - */ -AWS.Signers.V2 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - if (!date) date = AWS.util.date.getDate(); - var r = this.request; - r.params.Timestamp = AWS.util.date.iso8601(date); - r.params.SignatureVersion = '2'; - r.params.SignatureMethod = 'HmacSHA256'; - r.params.AWSAccessKeyId = credentials.accessKeyId; +var _DeprovisionPublicIpv4PoolCidrCommand = class _DeprovisionPublicIpv4PoolCidrCommand 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("AmazonEC2", "DeprovisionPublicIpv4PoolCidr", {}).n("EC2Client", "DeprovisionPublicIpv4PoolCidrCommand").f(void 0, void 0).ser(se_DeprovisionPublicIpv4PoolCidrCommand).de(de_DeprovisionPublicIpv4PoolCidrCommand).build() { +}; +__name(_DeprovisionPublicIpv4PoolCidrCommand, "DeprovisionPublicIpv4PoolCidrCommand"); +var DeprovisionPublicIpv4PoolCidrCommand = _DeprovisionPublicIpv4PoolCidrCommand; - if (credentials.sessionToken) { - r.params.SecurityToken = credentials.sessionToken; - } +// src/commands/DeregisterImageCommand.ts - delete r.params.Signature; // delete old Signature for re-signing - r.params.Signature = this.signature(credentials); - r.body = AWS.util.queryParamsToString(r.params); - r.headers['Content-Length'] = r.body.length; - }, - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push(this.request.endpoint.host.toLowerCase()); - parts.push(this.request.pathname()); - parts.push(AWS.util.queryParamsToString(this.request.params)); - return parts.join('\n'); - } +var _DeregisterImageCommand = class _DeregisterImageCommand 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("AmazonEC2", "DeregisterImage", {}).n("EC2Client", "DeregisterImageCommand").f(void 0, void 0).ser(se_DeregisterImageCommand).de(de_DeregisterImageCommand).build() { +}; +__name(_DeregisterImageCommand, "DeregisterImageCommand"); +var DeregisterImageCommand = _DeregisterImageCommand; -}); +// src/commands/DeregisterInstanceEventNotificationAttributesCommand.ts -/** - * @api private - */ -module.exports = AWS.Signers.V2; -/***/ }), -/***/ 66458: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +var _DeregisterInstanceEventNotificationAttributesCommand = class _DeregisterInstanceEventNotificationAttributesCommand 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("AmazonEC2", "DeregisterInstanceEventNotificationAttributes", {}).n("EC2Client", "DeregisterInstanceEventNotificationAttributesCommand").f(void 0, void 0).ser(se_DeregisterInstanceEventNotificationAttributesCommand).de(de_DeregisterInstanceEventNotificationAttributesCommand).build() { +}; +__name(_DeregisterInstanceEventNotificationAttributesCommand, "DeregisterInstanceEventNotificationAttributesCommand"); +var DeregisterInstanceEventNotificationAttributesCommand = _DeregisterInstanceEventNotificationAttributesCommand; -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; +// src/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts -/** - * @api private - */ -AWS.Signers.V3 = inherit(AWS.Signers.RequestSigner, { - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.rfc822(date); - this.request.headers['X-Amz-Date'] = datetime; - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } +var _DeregisterTransitGatewayMulticastGroupMembersCommand = class _DeregisterTransitGatewayMulticastGroupMembersCommand 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("AmazonEC2", "DeregisterTransitGatewayMulticastGroupMembers", {}).n("EC2Client", "DeregisterTransitGatewayMulticastGroupMembersCommand").f(void 0, void 0).ser(se_DeregisterTransitGatewayMulticastGroupMembersCommand).de(de_DeregisterTransitGatewayMulticastGroupMembersCommand).build() { +}; +__name(_DeregisterTransitGatewayMulticastGroupMembersCommand, "DeregisterTransitGatewayMulticastGroupMembersCommand"); +var DeregisterTransitGatewayMulticastGroupMembersCommand = _DeregisterTransitGatewayMulticastGroupMembersCommand; - this.request.headers['X-Amzn-Authorization'] = - this.authorization(credentials, datetime); +// src/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts - }, - authorization: function authorization(credentials) { - return 'AWS3 ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'SignedHeaders=' + this.signedHeaders() + ',' + - 'Signature=' + this.signature(credentials); - }, - signedHeaders: function signedHeaders() { - var headers = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - headers.push(h.toLowerCase()); - }); - return headers.sort().join(';'); - }, - canonicalHeaders: function canonicalHeaders() { - var headers = this.request.headers; - var parts = []; - AWS.util.arrayEach(this.headersToSign(), function iterator(h) { - parts.push(h.toLowerCase().trim() + ':' + String(headers[h]).trim()); - }); - return parts.sort().join('\n') + '\n'; - }, +var _DeregisterTransitGatewayMulticastGroupSourcesCommand = class _DeregisterTransitGatewayMulticastGroupSourcesCommand 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("AmazonEC2", "DeregisterTransitGatewayMulticastGroupSources", {}).n("EC2Client", "DeregisterTransitGatewayMulticastGroupSourcesCommand").f(void 0, void 0).ser(se_DeregisterTransitGatewayMulticastGroupSourcesCommand).de(de_DeregisterTransitGatewayMulticastGroupSourcesCommand).build() { +}; +__name(_DeregisterTransitGatewayMulticastGroupSourcesCommand, "DeregisterTransitGatewayMulticastGroupSourcesCommand"); +var DeregisterTransitGatewayMulticastGroupSourcesCommand = _DeregisterTransitGatewayMulticastGroupSourcesCommand; - headersToSign: function headersToSign() { - var headers = []; - AWS.util.each(this.request.headers, function iterator(k) { - if (k === 'Host' || k === 'Content-Encoding' || k.match(/^X-Amz/i)) { - headers.push(k); - } - }); - return headers; - }, +// src/commands/DescribeAccountAttributesCommand.ts - signature: function signature(credentials) { - return AWS.util.crypto.hmac(credentials.secretAccessKey, this.stringToSign(), 'base64'); - }, - stringToSign: function stringToSign() { - var parts = []; - parts.push(this.request.method); - parts.push('/'); - parts.push(''); - parts.push(this.canonicalHeaders()); - parts.push(this.request.body); - return AWS.util.crypto.sha256(parts.join('\n')); - } -}); -/** - * @api private - */ -module.exports = AWS.Signers.V3; +var _DescribeAccountAttributesCommand = class _DescribeAccountAttributesCommand 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("AmazonEC2", "DescribeAccountAttributes", {}).n("EC2Client", "DescribeAccountAttributesCommand").f(void 0, void 0).ser(se_DescribeAccountAttributesCommand).de(de_DescribeAccountAttributesCommand).build() { +}; +__name(_DescribeAccountAttributesCommand, "DescribeAccountAttributesCommand"); +var DescribeAccountAttributesCommand = _DescribeAccountAttributesCommand; +// src/commands/DescribeAddressesAttributeCommand.ts -/***/ }), -/***/ 24473: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var inherit = AWS.util.inherit; -__nccwpck_require__(66458); +var _DescribeAddressesAttributeCommand = class _DescribeAddressesAttributeCommand 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("AmazonEC2", "DescribeAddressesAttribute", {}).n("EC2Client", "DescribeAddressesAttributeCommand").f(void 0, void 0).ser(se_DescribeAddressesAttributeCommand).de(de_DescribeAddressesAttributeCommand).build() { +}; +__name(_DescribeAddressesAttributeCommand, "DescribeAddressesAttributeCommand"); +var DescribeAddressesAttributeCommand = _DescribeAddressesAttributeCommand; -/** - * @api private - */ -AWS.Signers.V3Https = inherit(AWS.Signers.V3, { - authorization: function authorization(credentials) { - return 'AWS3-HTTPS ' + - 'AWSAccessKeyId=' + credentials.accessKeyId + ',' + - 'Algorithm=HmacSHA256,' + - 'Signature=' + this.signature(credentials); - }, +// src/commands/DescribeAddressesCommand.ts - stringToSign: function stringToSign() { - return this.request.headers['X-Amz-Date']; - } -}); -/** - * @api private - */ -module.exports = AWS.Signers.V3Https; -/***/ }), +var _DescribeAddressesCommand = class _DescribeAddressesCommand 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("AmazonEC2", "DescribeAddresses", {}).n("EC2Client", "DescribeAddressesCommand").f(void 0, void 0).ser(se_DescribeAddressesCommand).de(de_DescribeAddressesCommand).build() { +}; +__name(_DescribeAddressesCommand, "DescribeAddressesCommand"); +var DescribeAddressesCommand = _DescribeAddressesCommand; -/***/ 26529: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DescribeAddressTransfersCommand.ts -var AWS = __nccwpck_require__(28437); -var v4Credentials = __nccwpck_require__(62660); -var inherit = AWS.util.inherit; -/** - * @api private - */ -var expiresHeader = 'presigned-expires'; -/** - * @api private - */ -AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, { - constructor: function V4(request, serviceName, options) { - AWS.Signers.RequestSigner.call(this, request); - this.serviceName = serviceName; - options = options || {}; - this.signatureCache = typeof options.signatureCache === 'boolean' ? options.signatureCache : true; - this.operation = options.operation; - this.signatureVersion = options.signatureVersion; - }, - algorithm: 'AWS4-HMAC-SHA256', +var _DescribeAddressTransfersCommand = class _DescribeAddressTransfersCommand 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("AmazonEC2", "DescribeAddressTransfers", {}).n("EC2Client", "DescribeAddressTransfersCommand").f(void 0, void 0).ser(se_DescribeAddressTransfersCommand).de(de_DescribeAddressTransfersCommand).build() { +}; +__name(_DescribeAddressTransfersCommand, "DescribeAddressTransfersCommand"); +var DescribeAddressTransfersCommand = _DescribeAddressTransfersCommand; - addAuthorization: function addAuthorization(credentials, date) { - var datetime = AWS.util.date.iso8601(date).replace(/[:\-]|\.\d{3}/g, ''); +// src/commands/DescribeAggregateIdFormatCommand.ts - if (this.isPresigned()) { - this.updateForPresigned(credentials, datetime); - } else { - this.addHeaders(credentials, datetime); - } - this.request.headers['Authorization'] = - this.authorization(credentials, datetime); - }, - addHeaders: function addHeaders(credentials, datetime) { - this.request.headers['X-Amz-Date'] = datetime; - if (credentials.sessionToken) { - this.request.headers['x-amz-security-token'] = credentials.sessionToken; - } - }, - updateForPresigned: function updateForPresigned(credentials, datetime) { - var credString = this.credentialString(datetime); - var qs = { - 'X-Amz-Date': datetime, - 'X-Amz-Algorithm': this.algorithm, - 'X-Amz-Credential': credentials.accessKeyId + '/' + credString, - 'X-Amz-Expires': this.request.headers[expiresHeader], - 'X-Amz-SignedHeaders': this.signedHeaders() - }; +var _DescribeAggregateIdFormatCommand = class _DescribeAggregateIdFormatCommand 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("AmazonEC2", "DescribeAggregateIdFormat", {}).n("EC2Client", "DescribeAggregateIdFormatCommand").f(void 0, void 0).ser(se_DescribeAggregateIdFormatCommand).de(de_DescribeAggregateIdFormatCommand).build() { +}; +__name(_DescribeAggregateIdFormatCommand, "DescribeAggregateIdFormatCommand"); +var DescribeAggregateIdFormatCommand = _DescribeAggregateIdFormatCommand; - if (credentials.sessionToken) { - qs['X-Amz-Security-Token'] = credentials.sessionToken; - } +// src/commands/DescribeAvailabilityZonesCommand.ts - if (this.request.headers['Content-Type']) { - qs['Content-Type'] = this.request.headers['Content-Type']; - } - if (this.request.headers['Content-MD5']) { - qs['Content-MD5'] = this.request.headers['Content-MD5']; - } - if (this.request.headers['Cache-Control']) { - qs['Cache-Control'] = this.request.headers['Cache-Control']; - } - // need to pull in any other X-Amz-* headers - AWS.util.each.call(this, this.request.headers, function(key, value) { - if (key === expiresHeader) return; - if (this.isSignableHeader(key)) { - var lowerKey = key.toLowerCase(); - // Metadata should be normalized - if (lowerKey.indexOf('x-amz-meta-') === 0) { - qs[lowerKey] = value; - } else if (lowerKey.indexOf('x-amz-') === 0) { - qs[key] = value; - } - } - }); - var sep = this.request.path.indexOf('?') >= 0 ? '&' : '?'; - this.request.path += sep + AWS.util.queryParamsToString(qs); - }, - authorization: function authorization(credentials, datetime) { - var parts = []; - var credString = this.credentialString(datetime); - parts.push(this.algorithm + ' Credential=' + - credentials.accessKeyId + '/' + credString); - parts.push('SignedHeaders=' + this.signedHeaders()); - parts.push('Signature=' + this.signature(credentials, datetime)); - return parts.join(', '); - }, +var _DescribeAvailabilityZonesCommand = class _DescribeAvailabilityZonesCommand 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("AmazonEC2", "DescribeAvailabilityZones", {}).n("EC2Client", "DescribeAvailabilityZonesCommand").f(void 0, void 0).ser(se_DescribeAvailabilityZonesCommand).de(de_DescribeAvailabilityZonesCommand).build() { +}; +__name(_DescribeAvailabilityZonesCommand, "DescribeAvailabilityZonesCommand"); +var DescribeAvailabilityZonesCommand = _DescribeAvailabilityZonesCommand; - signature: function signature(credentials, datetime) { - var signingKey = v4Credentials.getSigningKey( - credentials, - datetime.substr(0, 8), - this.request.region, - this.serviceName, - this.signatureCache - ); - return AWS.util.crypto.hmac(signingKey, this.stringToSign(datetime), 'hex'); - }, +// src/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.ts - stringToSign: function stringToSign(datetime) { - var parts = []; - parts.push('AWS4-HMAC-SHA256'); - parts.push(datetime); - parts.push(this.credentialString(datetime)); - parts.push(this.hexEncodedHash(this.canonicalString())); - return parts.join('\n'); - }, - canonicalString: function canonicalString() { - var parts = [], pathname = this.request.pathname(); - if (this.serviceName !== 's3' && this.signatureVersion !== 's3v4') pathname = AWS.util.uriEscapePath(pathname); - - parts.push(this.request.method); - parts.push(pathname); - parts.push(this.request.search()); - parts.push(this.canonicalHeaders() + '\n'); - parts.push(this.signedHeaders()); - parts.push(this.hexEncodedBodyHash()); - return parts.join('\n'); - }, - canonicalHeaders: function canonicalHeaders() { - var headers = []; - AWS.util.each.call(this, this.request.headers, function (key, item) { - headers.push([key, item]); - }); - headers.sort(function (a, b) { - return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : 1; - }); - var parts = []; - AWS.util.arrayEach.call(this, headers, function (item) { - var key = item[0].toLowerCase(); - if (this.isSignableHeader(key)) { - var value = item[1]; - if (typeof value === 'undefined' || value === null || typeof value.toString !== 'function') { - throw AWS.util.error(new Error('Header ' + key + ' contains invalid value'), { - code: 'InvalidHeader' - }); - } - parts.push(key + ':' + - this.canonicalHeaderValues(value.toString())); - } - }); - return parts.join('\n'); - }, - canonicalHeaderValues: function canonicalHeaderValues(values) { - return values.replace(/\s+/g, ' ').replace(/^\s+|\s+$/g, ''); - }, +var _DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = class _DescribeAwsNetworkPerformanceMetricSubscriptionsCommand 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("AmazonEC2", "DescribeAwsNetworkPerformanceMetricSubscriptions", {}).n("EC2Client", "DescribeAwsNetworkPerformanceMetricSubscriptionsCommand").f(void 0, void 0).ser(se_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand).de(de_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand).build() { +}; +__name(_DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, "DescribeAwsNetworkPerformanceMetricSubscriptionsCommand"); +var DescribeAwsNetworkPerformanceMetricSubscriptionsCommand = _DescribeAwsNetworkPerformanceMetricSubscriptionsCommand; - signedHeaders: function signedHeaders() { - var keys = []; - AWS.util.each.call(this, this.request.headers, function (key) { - key = key.toLowerCase(); - if (this.isSignableHeader(key)) keys.push(key); - }); - return keys.sort().join(';'); - }, +// src/commands/DescribeBundleTasksCommand.ts - credentialString: function credentialString(datetime) { - return v4Credentials.createScope( - datetime.substr(0, 8), - this.request.region, - this.serviceName - ); - }, - hexEncodedHash: function hash(string) { - return AWS.util.crypto.sha256(string, 'hex'); - }, - hexEncodedBodyHash: function hexEncodedBodyHash() { - var request = this.request; - if (this.isPresigned() && (['s3', 's3-object-lambda'].indexOf(this.serviceName) > -1) && !request.body) { - return 'UNSIGNED-PAYLOAD'; - } else if (request.headers['X-Amz-Content-Sha256']) { - return request.headers['X-Amz-Content-Sha256']; - } else { - return this.hexEncodedHash(this.request.body || ''); - } - }, - unsignableHeaders: [ - 'authorization', - 'content-type', - 'content-length', - 'user-agent', - expiresHeader, - 'expect', - 'x-amzn-trace-id' - ], +var _DescribeBundleTasksCommand = class _DescribeBundleTasksCommand 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("AmazonEC2", "DescribeBundleTasks", {}).n("EC2Client", "DescribeBundleTasksCommand").f(void 0, DescribeBundleTasksResultFilterSensitiveLog).ser(se_DescribeBundleTasksCommand).de(de_DescribeBundleTasksCommand).build() { +}; +__name(_DescribeBundleTasksCommand, "DescribeBundleTasksCommand"); +var DescribeBundleTasksCommand = _DescribeBundleTasksCommand; - isSignableHeader: function isSignableHeader(key) { - if (key.toLowerCase().indexOf('x-amz-') === 0) return true; - return this.unsignableHeaders.indexOf(key) < 0; - }, +// src/commands/DescribeByoipCidrsCommand.ts - isPresigned: function isPresigned() { - return this.request.headers[expiresHeader] ? true : false; - } -}); -/** - * @api private - */ -module.exports = AWS.Signers.V4; +var _DescribeByoipCidrsCommand = class _DescribeByoipCidrsCommand 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("AmazonEC2", "DescribeByoipCidrs", {}).n("EC2Client", "DescribeByoipCidrsCommand").f(void 0, void 0).ser(se_DescribeByoipCidrsCommand).de(de_DescribeByoipCidrsCommand).build() { +}; +__name(_DescribeByoipCidrsCommand, "DescribeByoipCidrsCommand"); +var DescribeByoipCidrsCommand = _DescribeByoipCidrsCommand; -/***/ }), +// src/commands/DescribeCapacityBlockOfferingsCommand.ts -/***/ 62660: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -/** - * @api private - */ -var cachedSecret = {}; -/** - * @api private - */ -var cacheQueue = []; +var _DescribeCapacityBlockOfferingsCommand = class _DescribeCapacityBlockOfferingsCommand 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("AmazonEC2", "DescribeCapacityBlockOfferings", {}).n("EC2Client", "DescribeCapacityBlockOfferingsCommand").f(void 0, void 0).ser(se_DescribeCapacityBlockOfferingsCommand).de(de_DescribeCapacityBlockOfferingsCommand).build() { +}; +__name(_DescribeCapacityBlockOfferingsCommand, "DescribeCapacityBlockOfferingsCommand"); +var DescribeCapacityBlockOfferingsCommand = _DescribeCapacityBlockOfferingsCommand; -/** - * @api private - */ -var maxCacheEntries = 50; +// src/commands/DescribeCapacityReservationFleetsCommand.ts -/** - * @api private - */ -var v4Identifier = 'aws4_request'; -/** - * @api private - */ -module.exports = { - /** - * @api private - * - * @param date [String] - * @param region [String] - * @param serviceName [String] - * @return [String] - */ - createScope: function createScope(date, region, serviceName) { - return [ - date.substr(0, 8), - region, - serviceName, - v4Identifier - ].join('/'); - }, - /** - * @api private - * - * @param credentials [Credentials] - * @param date [String] - * @param region [String] - * @param service [String] - * @param shouldCache [Boolean] - * @return [String] - */ - getSigningKey: function getSigningKey( - credentials, - date, - region, - service, - shouldCache - ) { - var credsIdentifier = AWS.util.crypto - .hmac(credentials.secretAccessKey, credentials.accessKeyId, 'base64'); - var cacheKey = [credsIdentifier, date, region, service].join('_'); - shouldCache = shouldCache !== false; - if (shouldCache && (cacheKey in cachedSecret)) { - return cachedSecret[cacheKey]; - } - - var kDate = AWS.util.crypto.hmac( - 'AWS4' + credentials.secretAccessKey, - date, - 'buffer' - ); - var kRegion = AWS.util.crypto.hmac(kDate, region, 'buffer'); - var kService = AWS.util.crypto.hmac(kRegion, service, 'buffer'); - var signingKey = AWS.util.crypto.hmac(kService, v4Identifier, 'buffer'); - if (shouldCache) { - cachedSecret[cacheKey] = signingKey; - cacheQueue.push(cacheKey); - if (cacheQueue.length > maxCacheEntries) { - // remove the oldest entry (not the least recently used) - delete cachedSecret[cacheQueue.shift()]; - } - } +var _DescribeCapacityReservationFleetsCommand = class _DescribeCapacityReservationFleetsCommand 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("AmazonEC2", "DescribeCapacityReservationFleets", {}).n("EC2Client", "DescribeCapacityReservationFleetsCommand").f(void 0, void 0).ser(se_DescribeCapacityReservationFleetsCommand).de(de_DescribeCapacityReservationFleetsCommand).build() { +}; +__name(_DescribeCapacityReservationFleetsCommand, "DescribeCapacityReservationFleetsCommand"); +var DescribeCapacityReservationFleetsCommand = _DescribeCapacityReservationFleetsCommand; - return signingKey; - }, +// src/commands/DescribeCapacityReservationsCommand.ts - /** - * @api private - * - * Empties the derived signing key cache. Made available for testing purposes - * only. - */ - emptyCache: function emptyCache() { - cachedSecret = {}; - cacheQueue = []; - } -}; -/***/ }), -/***/ 68118: -/***/ ((module) => { +var _DescribeCapacityReservationsCommand = class _DescribeCapacityReservationsCommand 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("AmazonEC2", "DescribeCapacityReservations", {}).n("EC2Client", "DescribeCapacityReservationsCommand").f(void 0, void 0).ser(se_DescribeCapacityReservationsCommand).de(de_DescribeCapacityReservationsCommand).build() { +}; +__name(_DescribeCapacityReservationsCommand, "DescribeCapacityReservationsCommand"); +var DescribeCapacityReservationsCommand = _DescribeCapacityReservationsCommand; -function AcceptorStateMachine(states, state) { - this.currentState = state || null; - this.states = states || {}; -} +// src/commands/DescribeCarrierGatewaysCommand.ts -AcceptorStateMachine.prototype.runTo = function runTo(finalState, done, bindObject, inputError) { - if (typeof finalState === 'function') { - inputError = bindObject; bindObject = done; - done = finalState; finalState = null; - } - var self = this; - var state = self.states[self.currentState]; - state.fn.call(bindObject || self, inputError, function(err) { - if (err) { - if (state.fail) self.currentState = state.fail; - else return done ? done.call(bindObject, err) : null; - } else { - if (state.accept) self.currentState = state.accept; - else return done ? done.call(bindObject) : null; - } - if (self.currentState === finalState) { - return done ? done.call(bindObject, err) : null; - } - self.runTo(finalState, done, bindObject, err); - }); + +var _DescribeCarrierGatewaysCommand = class _DescribeCarrierGatewaysCommand 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("AmazonEC2", "DescribeCarrierGateways", {}).n("EC2Client", "DescribeCarrierGatewaysCommand").f(void 0, void 0).ser(se_DescribeCarrierGatewaysCommand).de(de_DescribeCarrierGatewaysCommand).build() { }; +__name(_DescribeCarrierGatewaysCommand, "DescribeCarrierGatewaysCommand"); +var DescribeCarrierGatewaysCommand = _DescribeCarrierGatewaysCommand; -AcceptorStateMachine.prototype.addState = function addState(name, acceptState, failState, fn) { - if (typeof acceptState === 'function') { - fn = acceptState; acceptState = null; failState = null; - } else if (typeof failState === 'function') { - fn = failState; failState = null; - } +// src/commands/DescribeClassicLinkInstancesCommand.ts - if (!this.currentState) this.currentState = name; - this.states[name] = { accept: acceptState, fail: failState, fn: fn }; - return this; -}; -/** - * @api private - */ -module.exports = AcceptorStateMachine; -/***/ }), +var _DescribeClassicLinkInstancesCommand = class _DescribeClassicLinkInstancesCommand 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("AmazonEC2", "DescribeClassicLinkInstances", {}).n("EC2Client", "DescribeClassicLinkInstancesCommand").f(void 0, void 0).ser(se_DescribeClassicLinkInstancesCommand).de(de_DescribeClassicLinkInstancesCommand).build() { +}; +__name(_DescribeClassicLinkInstancesCommand, "DescribeClassicLinkInstancesCommand"); +var DescribeClassicLinkInstancesCommand = _DescribeClassicLinkInstancesCommand; -/***/ 82647: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DescribeClientVpnAuthorizationRulesCommand.ts -var AWS = __nccwpck_require__(28437); -/** - * Represents AWS token object, which contains {token}, and optional - * {expireTime}. - * Creating a `Token` object allows you to pass around your - * token to configuration and service objects. - * - * Note that this class typically does not need to be constructed manually, - * as the {AWS.Config} and {AWS.Service} classes both accept simple - * options hashes with the two keys. The token from this object will be used - * automatically in operations which require them. - * - * ## Expiring and Refreshing Token - * - * Occasionally token can expire in the middle of a long-running - * application. In this case, the SDK will automatically attempt to - * refresh the token from the storage location if the Token - * class implements the {refresh} method. - * - * If you are implementing a token storage location, you - * will want to create a subclass of the `Token` class and - * override the {refresh} method. This method allows token to be - * retrieved from the backing store, be it a file system, database, or - * some network storage. The method should reset the token attributes - * on the object. - * - * @!attribute token - * @return [String] represents the literal token string. This will typically - * be a base64 encoded string. - * @!attribute expireTime - * @return [Date] a time when token should be considered expired. Used - * in conjunction with {expired}. - * @!attribute expired - * @return [Boolean] whether the token is expired and require a refresh. Used - * in conjunction with {expireTime}. - */ -AWS.Token = AWS.util.inherit({ - /** - * Creates a Token object with a given set of information in options hash. - * @option options token [String] represents the literal token string. - * @option options expireTime [Date] field representing the time at which - * the token expires. - * @example Create a token object - * var token = new AWS.Token({ token: 'token' }); - */ - constructor: function Token(options) { - // hide token from being displayed with util.inspect - AWS.util.hideProperties(this, ['token']); - - this.expired = false; - this.expireTime = null; - this.refreshCallbacks = []; - if (arguments.length === 1) { - var options = arguments[0]; - this.token = options.token; - this.expireTime = options.expireTime; - } - }, - /** - * @return [Integer] the number of seconds before {expireTime} during which - * the token will be considered expired. - */ - expiryWindow: 15, - /** - * @return [Boolean] whether the Token object should call {refresh} - * @note Subclasses should override this method to provide custom refresh - * logic. - */ - needsRefresh: function needsRefresh() { - var currentTime = AWS.util.date.getDate().getTime(); - var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); +var _DescribeClientVpnAuthorizationRulesCommand = class _DescribeClientVpnAuthorizationRulesCommand 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("AmazonEC2", "DescribeClientVpnAuthorizationRules", {}).n("EC2Client", "DescribeClientVpnAuthorizationRulesCommand").f(void 0, void 0).ser(se_DescribeClientVpnAuthorizationRulesCommand).de(de_DescribeClientVpnAuthorizationRulesCommand).build() { +}; +__name(_DescribeClientVpnAuthorizationRulesCommand, "DescribeClientVpnAuthorizationRulesCommand"); +var DescribeClientVpnAuthorizationRulesCommand = _DescribeClientVpnAuthorizationRulesCommand; - if (this.expireTime && adjustedTime > this.expireTime) - return true; +// src/commands/DescribeClientVpnConnectionsCommand.ts - return this.expired || !this.token; - }, - /** - * Gets the existing token, refreshing them if they are not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload token when they are already - * loaded into the object. - * - * @callback callback function(err) - * When this callback is called with no error, it means either token - * do not need to be refreshed or refreshed token information has - * been loaded into the object (as the `token` property). - * @param err [Error] if an error occurred, this value will be filled - */ - get: function get(callback) { - var self = this; - if (this.needsRefresh()) { - this.refresh(function(err) { - if (!err) self.expired = false; // reset expired flag - if (callback) callback(err); - }); - } else if (callback) { - callback(); - } - }, - /** - * @!method getPromise() - * Returns a 'thenable' promise. - * Gets the existing token, refreshing it if it's not yet loaded - * or have expired. Users should call this method before using {refresh}, - * as this will not attempt to reload token when it's already - * loaded into the object. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it means - * either token does not need to be refreshed or refreshed token information - * has been loaded into the object (as the `token` property). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled. - * @return [Promise] A promise that represents the state of the `get` call. - * @example Calling the `getPromise` method. - * var promise = tokenProvider.getPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ - /** - * @!method refreshPromise() - * Returns a 'thenable' promise. - * Refreshes the token. Users should call {get} before attempting - * to forcibly refresh token. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function() - * Called if the promise is fulfilled. When this callback is called, it - * means refreshed token information has been loaded into the object - * (as the `token` property). - * @callback rejectedCallback function(err) - * Called if the promise is rejected. - * @param err [Error] if an error occurred, this value will be filled. - * @return [Promise] A promise that represents the state of the `refresh` call. - * @example Calling the `refreshPromise` method. - * var promise = tokenProvider.refreshPromise(); - * promise.then(function() { ... }, function(err) { ... }); - */ +var _DescribeClientVpnConnectionsCommand = class _DescribeClientVpnConnectionsCommand 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("AmazonEC2", "DescribeClientVpnConnections", {}).n("EC2Client", "DescribeClientVpnConnectionsCommand").f(void 0, void 0).ser(se_DescribeClientVpnConnectionsCommand).de(de_DescribeClientVpnConnectionsCommand).build() { +}; +__name(_DescribeClientVpnConnectionsCommand, "DescribeClientVpnConnectionsCommand"); +var DescribeClientVpnConnectionsCommand = _DescribeClientVpnConnectionsCommand; - /** - * Refreshes the token. Users should call {get} before attempting - * to forcibly refresh token. - * - * @callback callback function(err) - * When this callback is called with no error, it means refreshed - * token information has been loaded into the object (as the - * `token` property). - * @param err [Error] if an error occurred, this value will be filled - * @note Subclasses should override this class to reset the - * {token} on the token object and then call the callback with - * any error information. - * @see get - */ - refresh: function refresh(callback) { - this.expired = false; - callback(); - }, +// src/commands/DescribeClientVpnEndpointsCommand.ts - /** - * @api private - * @param callback - */ - coalesceRefresh: function coalesceRefresh(callback, sync) { - var self = this; - if (self.refreshCallbacks.push(callback) === 1) { - self.load(function onLoad(err) { - AWS.util.arrayEach(self.refreshCallbacks, function(callback) { - if (sync) { - callback(err); - } else { - // callback could throw, so defer to ensure all callbacks are notified - AWS.util.defer(function () { - callback(err); - }); - } - }); - self.refreshCallbacks.length = 0; - }); - } - }, - /** - * @api private - * @param callback - */ - load: function load(callback) { - callback(); - } -}); -/** - * @api private - */ -AWS.Token.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.getPromise = AWS.util.promisifyMethod('get', PromiseDependency); - this.prototype.refreshPromise = AWS.util.promisifyMethod('refresh', PromiseDependency); -}; -/** - * @api private - */ -AWS.Token.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.getPromise; - delete this.prototype.refreshPromise; +var _DescribeClientVpnEndpointsCommand = class _DescribeClientVpnEndpointsCommand 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("AmazonEC2", "DescribeClientVpnEndpoints", {}).n("EC2Client", "DescribeClientVpnEndpointsCommand").f(void 0, void 0).ser(se_DescribeClientVpnEndpointsCommand).de(de_DescribeClientVpnEndpointsCommand).build() { }; +__name(_DescribeClientVpnEndpointsCommand, "DescribeClientVpnEndpointsCommand"); +var DescribeClientVpnEndpointsCommand = _DescribeClientVpnEndpointsCommand; + +// src/commands/DescribeClientVpnRoutesCommand.ts -AWS.util.addPromises(AWS.Token); -/***/ }), -/***/ 90327: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +var _DescribeClientVpnRoutesCommand = class _DescribeClientVpnRoutesCommand 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("AmazonEC2", "DescribeClientVpnRoutes", {}).n("EC2Client", "DescribeClientVpnRoutesCommand").f(void 0, void 0).ser(se_DescribeClientVpnRoutesCommand).de(de_DescribeClientVpnRoutesCommand).build() { +}; +__name(_DescribeClientVpnRoutesCommand, "DescribeClientVpnRoutesCommand"); +var DescribeClientVpnRoutesCommand = _DescribeClientVpnRoutesCommand; -var AWS = __nccwpck_require__(28437); -var crypto = __nccwpck_require__(6113); -var fs = __nccwpck_require__(57147); -var path = __nccwpck_require__(71017); -var iniLoader = AWS.util.iniLoader; +// src/commands/DescribeClientVpnTargetNetworksCommand.ts -// Tracking refresh attempt to ensure refresh is not attempted more than once every 30 seconds. -var lastRefreshAttemptTime = 0; -/** - * Throws error is key is not present in token object. - * - * @param token [Object] Object to be validated. - * @param key [String] The key to be validated on the object. - */ -var validateTokenKey = function validateTokenKey(token, key) { - if (!token[key]) { - throw AWS.util.error( - new Error('Key "' + key + '" not present in SSO Token'), - { code: 'SSOTokenProviderFailure' } - ); - } -}; -/** - * Calls callback function with or without error based on provided times in case - * of unsuccessful refresh. - * - * @param currentTime [number] current time in milliseconds since ECMAScript epoch. - * @param tokenExpireTime [number] token expire time in milliseconds since ECMAScript epoch. - * @param callback [Function] Callback to call in case of error. - */ -var refreshUnsuccessful = function refreshUnsuccessful( - currentTime, - tokenExpireTime, - callback -) { - if (tokenExpireTime > currentTime) { - // Cached token is still valid, return. - callback(null); - } else { - // Token invalid, throw error requesting user to sso login. - throw AWS.util.error( - new Error('SSO Token refresh failed. Please log in using "aws sso login"'), - { code: 'SSOTokenProviderFailure' } - ); - } + +var _DescribeClientVpnTargetNetworksCommand = class _DescribeClientVpnTargetNetworksCommand 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("AmazonEC2", "DescribeClientVpnTargetNetworks", {}).n("EC2Client", "DescribeClientVpnTargetNetworksCommand").f(void 0, void 0).ser(se_DescribeClientVpnTargetNetworksCommand).de(de_DescribeClientVpnTargetNetworksCommand).build() { }; +__name(_DescribeClientVpnTargetNetworksCommand, "DescribeClientVpnTargetNetworksCommand"); +var DescribeClientVpnTargetNetworksCommand = _DescribeClientVpnTargetNetworksCommand; -/** - * Represents token loaded from disk derived from the AWS SSO device grant authorication flow. - * - * ## Using SSO Token Provider - * - * This provider is checked by default in the Node.js environment in TokenProviderChain. - * To use the SSO Token Provider, simply add your SSO Start URL and Region to the - * ~/.aws/config file in the following format: - * - * [default] - * sso_start_url = https://d-abc123.awsapps.com/start - * sso_region = us-east-1 - * - * ## Using custom profiles - * - * The SDK supports loading token for separate profiles. This can be done in two ways: - * - * 1. Set the `AWS_PROFILE` environment variable in your process prior to loading the SDK. - * 2. Directly load the AWS.SSOTokenProvider: - * - * ```javascript - * var ssoTokenProvider = new AWS.SSOTokenProvider({profile: 'myprofile'}); - * ``` - * - * @!macro nobrowser - */ -AWS.SSOTokenProvider = AWS.util.inherit(AWS.Token, { - /** - * Expiry window of five minutes. - */ - expiryWindow: 5 * 60, +// src/commands/DescribeCoipPoolsCommand.ts - /** - * Creates a new token object from cached access token. - * - * @param options [map] a set of options - * @option options profile [String] (AWS_PROFILE env var or 'default') - * the name of the profile to load. - * @option options callback [Function] (err) Token is eagerly loaded - * by the constructor. When the callback is called with no error, the - * token has been loaded successfully. - */ - constructor: function SSOTokenProvider(options) { - AWS.Token.call(this); - options = options || {}; - this.expired = true; - this.profile = options.profile || process.env.AWS_PROFILE || AWS.util.defaultProfile; - this.get(options.callback || AWS.util.fn.noop); - }, - /** - * Reads sso_start_url from provided profile, and reads token from - * ~/.aws/sso/cache/.json - * - * Throws an error if required fields token and expiresAt are missing. - * Throws an error if token has expired and metadata to perform refresh is - * not available. - * Attempts to refresh the token if it's within 5 minutes before expiry time. - * - * @api private - */ - load: function load(callback) { - var self = this; - var profiles = iniLoader.loadFrom({ isConfig: true }); - var profile = profiles[this.profile] || {}; - - if (Object.keys(profile).length === 0) { - throw AWS.util.error( - new Error('Profile "' + this.profile + '" not found'), - { code: 'SSOTokenProviderFailure' } - ); - } else if (!profile['sso_session']) { - throw AWS.util.error( - new Error('Profile "' + this.profile + '" is missing required property "sso_session".'), - { code: 'SSOTokenProviderFailure' } - ); - } +var _DescribeCoipPoolsCommand = class _DescribeCoipPoolsCommand 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("AmazonEC2", "DescribeCoipPools", {}).n("EC2Client", "DescribeCoipPoolsCommand").f(void 0, void 0).ser(se_DescribeCoipPoolsCommand).de(de_DescribeCoipPoolsCommand).build() { +}; +__name(_DescribeCoipPoolsCommand, "DescribeCoipPoolsCommand"); +var DescribeCoipPoolsCommand = _DescribeCoipPoolsCommand; - var ssoSessionName = profile['sso_session']; - var ssoSessions = iniLoader.loadSsoSessionsFrom(); - var ssoSession = ssoSessions[ssoSessionName]; +// src/commands/DescribeConversionTasksCommand.ts - if (!ssoSession) { - throw AWS.util.error( - new Error('Sso session "' + ssoSessionName + '" not found'), - { code: 'SSOTokenProviderFailure' } - ); - } else if (!ssoSession['sso_start_url']) { - throw AWS.util.error( - new Error('Sso session "' + this.profile + '" is missing required property "sso_start_url".'), - { code: 'SSOTokenProviderFailure' } - ); - } else if (!ssoSession['sso_region']) { - throw AWS.util.error( - new Error('Sso session "' + this.profile + '" is missing required property "sso_region".'), - { code: 'SSOTokenProviderFailure' } - ); - } - var hasher = crypto.createHash('sha1'); - var fileName = hasher.update(ssoSessionName).digest('hex') + '.json'; - var cachePath = path.join(iniLoader.getHomeDir(), '.aws', 'sso', 'cache', fileName); - var tokenFromCache = JSON.parse(fs.readFileSync(cachePath)); - if (!tokenFromCache) { - throw AWS.util.error( - new Error('Cached token not found. Please log in using "aws sso login"' - + ' for profile "' + this.profile + '".'), - { code: 'SSOTokenProviderFailure' } - ); - } - validateTokenKey(tokenFromCache, 'accessToken'); - validateTokenKey(tokenFromCache, 'expiresAt'); +var _DescribeConversionTasksCommand = class _DescribeConversionTasksCommand 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("AmazonEC2", "DescribeConversionTasks", {}).n("EC2Client", "DescribeConversionTasksCommand").f(void 0, DescribeConversionTasksResultFilterSensitiveLog).ser(se_DescribeConversionTasksCommand).de(de_DescribeConversionTasksCommand).build() { +}; +__name(_DescribeConversionTasksCommand, "DescribeConversionTasksCommand"); +var DescribeConversionTasksCommand = _DescribeConversionTasksCommand; - var currentTime = AWS.util.date.getDate().getTime(); - var adjustedTime = new Date(currentTime + this.expiryWindow * 1000); - var tokenExpireTime = new Date(tokenFromCache['expiresAt']); +// src/commands/DescribeCustomerGatewaysCommand.ts - if (tokenExpireTime > adjustedTime) { - // Token is valid and not expired. - self.token = tokenFromCache.accessToken; - self.expireTime = tokenExpireTime; - self.expired = false; - callback(null); - return; - } - // Skip new refresh, if last refresh was done within 30 seconds. - if (currentTime - lastRefreshAttemptTime < 30 * 1000) { - refreshUnsuccessful(currentTime, tokenExpireTime, callback); - return; - } - // Token is in expiry window, refresh from SSOOIDC.createToken() call. - validateTokenKey(tokenFromCache, 'clientId'); - validateTokenKey(tokenFromCache, 'clientSecret'); - validateTokenKey(tokenFromCache, 'refreshToken'); - if (!self.service || self.service.config.region !== ssoSession.sso_region) { - self.service = new AWS.SSOOIDC({ region: ssoSession.sso_region }); - } +var _DescribeCustomerGatewaysCommand = class _DescribeCustomerGatewaysCommand 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("AmazonEC2", "DescribeCustomerGateways", {}).n("EC2Client", "DescribeCustomerGatewaysCommand").f(void 0, void 0).ser(se_DescribeCustomerGatewaysCommand).de(de_DescribeCustomerGatewaysCommand).build() { +}; +__name(_DescribeCustomerGatewaysCommand, "DescribeCustomerGatewaysCommand"); +var DescribeCustomerGatewaysCommand = _DescribeCustomerGatewaysCommand; - var params = { - clientId: tokenFromCache.clientId, - clientSecret: tokenFromCache.clientSecret, - refreshToken: tokenFromCache.refreshToken, - grantType: 'refresh_token', - }; +// src/commands/DescribeDhcpOptionsCommand.ts - lastRefreshAttemptTime = AWS.util.date.getDate().getTime(); - self.service.createToken(params, function(err, data) { - if (err || !data) { - refreshUnsuccessful(currentTime, tokenExpireTime, callback); - } else { - try { - validateTokenKey(data, 'accessToken'); - validateTokenKey(data, 'expiresIn'); - self.expired = false; - self.token = data.accessToken; - self.expireTime = new Date(Date.now() + data.expiresIn * 1000); - callback(null); - - try { - // Write updated token data to disk. - tokenFromCache.accessToken = data.accessToken; - tokenFromCache.expiresAt = self.expireTime.toISOString(); - tokenFromCache.refreshToken = data.refreshToken; - fs.writeFileSync(cachePath, JSON.stringify(tokenFromCache, null, 2)); - } catch (error) { - // Swallow error if unable to write token to file. - } - } catch (error) { - refreshUnsuccessful(currentTime, tokenExpireTime, callback); - } - } - }); - }, - /** - * Loads the cached access token from disk. - * - * @callback callback function(err) - * Called after the AWS SSO process has been executed. When this - * callback is called with no error, it means that the token information - * has been loaded into the object (as the `token` property). - * @param err [Error] if an error occurred, this value will be filled. - * @see get - */ - refresh: function refresh(callback) { - iniLoader.clearCachedFiles(); - this.coalesceRefresh(callback || AWS.util.fn.callback); - }, -}); -/***/ }), +var _DescribeDhcpOptionsCommand = class _DescribeDhcpOptionsCommand 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("AmazonEC2", "DescribeDhcpOptions", {}).n("EC2Client", "DescribeDhcpOptionsCommand").f(void 0, void 0).ser(se_DescribeDhcpOptionsCommand).de(de_DescribeDhcpOptionsCommand).build() { +}; +__name(_DescribeDhcpOptionsCommand, "DescribeDhcpOptionsCommand"); +var DescribeDhcpOptionsCommand = _DescribeDhcpOptionsCommand; -/***/ 50126: -/***/ ((__unused_webpack_module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DescribeEgressOnlyInternetGatewaysCommand.ts -var AWS = __nccwpck_require__(28437); -/** - * Creates a token provider chain that searches for token in a list of - * token providers specified by the {providers} property. - * - * By default, the chain will use the {defaultProviders} to resolve token. - * - * ## Setting Providers - * - * Each provider in the {providers} list should be a function that returns - * a {AWS.Token} object, or a hardcoded token object. The function - * form allows for delayed execution of the Token construction. - * - * ## Resolving Token from a Chain - * - * Call {resolve} to return the first valid token object that can be - * loaded by the provider chain. - * - * For example, to resolve a chain with a custom provider that checks a file - * on disk after the set of {defaultProviders}: - * - * ```javascript - * var diskProvider = new FileTokenProvider('./token.json'); - * var chain = new AWS.TokenProviderChain(); - * chain.providers.push(diskProvider); - * chain.resolve(); - * ``` - * - * The above code will return the `diskProvider` object if the - * file contains token and the `defaultProviders` do not contain - * any token. - * - * @!attribute providers - * @return [Array] - * a list of token objects or functions that return token - * objects. If the provider is a function, the function will be - * executed lazily when the provider needs to be checked for valid - * token. By default, this object will be set to the {defaultProviders}. - * @see defaultProviders - */ -AWS.TokenProviderChain = AWS.util.inherit(AWS.Token, { - /** - * Creates a new TokenProviderChain with a default set of providers - * specified by {defaultProviders}. - */ - constructor: function TokenProviderChain(providers) { - if (providers) { - this.providers = providers; - } else { - this.providers = AWS.TokenProviderChain.defaultProviders.slice(0); - } - this.resolveCallbacks = []; - }, - /** - * @!method resolvePromise() - * Returns a 'thenable' promise. - * Resolves the provider chain by searching for the first token in {providers}. - * - * Two callbacks can be provided to the `then` method on the returned promise. - * The first callback will be called if the promise is fulfilled, and the second - * callback will be called if the promise is rejected. - * @callback fulfilledCallback function(token) - * Called if the promise is fulfilled and the provider resolves the chain - * to a token object - * @param token [AWS.Token] the token object resolved by the provider chain. - * @callback rejectedCallback function(error) - * Called if the promise is rejected. - * @param err [Error] the error object returned if no token is found. - * @return [Promise] A promise that represents the state of the `resolve` method call. - * @example Calling the `resolvePromise` method. - * var promise = chain.resolvePromise(); - * promise.then(function(token) { ... }, function(err) { ... }); - */ +var _DescribeEgressOnlyInternetGatewaysCommand = class _DescribeEgressOnlyInternetGatewaysCommand 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("AmazonEC2", "DescribeEgressOnlyInternetGateways", {}).n("EC2Client", "DescribeEgressOnlyInternetGatewaysCommand").f(void 0, void 0).ser(se_DescribeEgressOnlyInternetGatewaysCommand).de(de_DescribeEgressOnlyInternetGatewaysCommand).build() { +}; +__name(_DescribeEgressOnlyInternetGatewaysCommand, "DescribeEgressOnlyInternetGatewaysCommand"); +var DescribeEgressOnlyInternetGatewaysCommand = _DescribeEgressOnlyInternetGatewaysCommand; - /** - * Resolves the provider chain by searching for the first token in {providers}. - * - * @callback callback function(err, token) - * Called when the provider resolves the chain to a token object - * or null if no token can be found. - * - * @param err [Error] the error object returned if no token is found. - * @param token [AWS.Token] the token object resolved by the provider chain. - * @return [AWS.TokenProviderChain] the provider, for chaining. - */ - resolve: function resolve(callback) { - var self = this; - if (self.providers.length === 0) { - callback(new Error('No providers')); - return self; - } +// src/commands/DescribeElasticGpusCommand.ts - if (self.resolveCallbacks.push(callback) === 1) { - var index = 0; - var providers = self.providers.slice(0); - function resolveNext(err, token) { - if ((!err && token) || index === providers.length) { - AWS.util.arrayEach(self.resolveCallbacks, function (callback) { - callback(err, token); - }); - self.resolveCallbacks.length = 0; - return; - } - var provider = providers[index++]; - if (typeof provider === 'function') { - token = provider.call(); - } else { - token = provider; - } - if (token.get) { - token.get(function (getErr) { - resolveNext(getErr, getErr ? null : token); - }); - } else { - resolveNext(null, token); - } - } +var _DescribeElasticGpusCommand = class _DescribeElasticGpusCommand 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("AmazonEC2", "DescribeElasticGpus", {}).n("EC2Client", "DescribeElasticGpusCommand").f(void 0, void 0).ser(se_DescribeElasticGpusCommand).de(de_DescribeElasticGpusCommand).build() { +}; +__name(_DescribeElasticGpusCommand, "DescribeElasticGpusCommand"); +var DescribeElasticGpusCommand = _DescribeElasticGpusCommand; - resolveNext(); - } +// src/commands/DescribeExportImageTasksCommand.ts - return self; - } -}); -/** - * The default set of providers used by a vanilla TokenProviderChain. - * - * In the browser: - * - * ```javascript - * AWS.TokenProviderChain.defaultProviders = [] - * ``` - * - * In Node.js: - * - * ```javascript - * AWS.TokenProviderChain.defaultProviders = [ - * function () { return new AWS.SSOTokenProvider(); }, - * ] - * ``` - */ -AWS.TokenProviderChain.defaultProviders = []; -/** - * @api private - */ -AWS.TokenProviderChain.addPromisesToClass = function addPromisesToClass(PromiseDependency) { - this.prototype.resolvePromise = AWS.util.promisifyMethod('resolve', PromiseDependency); -}; -/** - * @api private - */ -AWS.TokenProviderChain.deletePromisesFromClass = function deletePromisesFromClass() { - delete this.prototype.resolvePromise; +var _DescribeExportImageTasksCommand = class _DescribeExportImageTasksCommand 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("AmazonEC2", "DescribeExportImageTasks", {}).n("EC2Client", "DescribeExportImageTasksCommand").f(void 0, void 0).ser(se_DescribeExportImageTasksCommand).de(de_DescribeExportImageTasksCommand).build() { }; +__name(_DescribeExportImageTasksCommand, "DescribeExportImageTasksCommand"); +var DescribeExportImageTasksCommand = _DescribeExportImageTasksCommand; -AWS.util.addPromises(AWS.TokenProviderChain); +// src/commands/DescribeExportTasksCommand.ts -/***/ }), -/***/ 77985: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -/* eslint guard-for-in:0 */ -var AWS; +var _DescribeExportTasksCommand = class _DescribeExportTasksCommand 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("AmazonEC2", "DescribeExportTasks", {}).n("EC2Client", "DescribeExportTasksCommand").f(void 0, void 0).ser(se_DescribeExportTasksCommand).de(de_DescribeExportTasksCommand).build() { +}; +__name(_DescribeExportTasksCommand, "DescribeExportTasksCommand"); +var DescribeExportTasksCommand = _DescribeExportTasksCommand; -/** - * A set of utility methods for use with the AWS SDK. - * - * @!attribute abort - * Return this value from an iterator function {each} or {arrayEach} - * to break out of the iteration. - * @example Breaking out of an iterator function - * AWS.util.each({a: 1, b: 2, c: 3}, function(key, value) { - * if (key == 'b') return AWS.util.abort; - * }); - * @see each - * @see arrayEach - * @api private - */ -var util = { - environment: 'nodejs', - engine: function engine() { - if (util.isBrowser() && typeof navigator !== 'undefined') { - return navigator.userAgent; - } else { - var engine = process.platform + '/' + process.version; - if (process.env.AWS_EXECUTION_ENV) { - engine += ' exec-env/' + process.env.AWS_EXECUTION_ENV; - } - return engine; - } - }, +// src/commands/DescribeFastLaunchImagesCommand.ts - userAgent: function userAgent() { - var name = util.environment; - var agent = 'aws-sdk-' + name + '/' + (__nccwpck_require__(28437).VERSION); - if (name === 'nodejs') agent += ' ' + util.engine(); - return agent; - }, - uriEscape: function uriEscape(string) { - var output = encodeURIComponent(string); - output = output.replace(/[^A-Za-z0-9_.~\-%]+/g, escape); - // AWS percent-encodes some extra non-standard characters in a URI - output = output.replace(/[*]/g, function(ch) { - return '%' + ch.charCodeAt(0).toString(16).toUpperCase(); - }); - return output; - }, +var _DescribeFastLaunchImagesCommand = class _DescribeFastLaunchImagesCommand 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("AmazonEC2", "DescribeFastLaunchImages", {}).n("EC2Client", "DescribeFastLaunchImagesCommand").f(void 0, void 0).ser(se_DescribeFastLaunchImagesCommand).de(de_DescribeFastLaunchImagesCommand).build() { +}; +__name(_DescribeFastLaunchImagesCommand, "DescribeFastLaunchImagesCommand"); +var DescribeFastLaunchImagesCommand = _DescribeFastLaunchImagesCommand; - uriEscapePath: function uriEscapePath(string) { - var parts = []; - util.arrayEach(string.split('/'), function (part) { - parts.push(util.uriEscape(part)); - }); - return parts.join('/'); - }, +// src/commands/DescribeFastSnapshotRestoresCommand.ts - urlParse: function urlParse(url) { - return util.url.parse(url); - }, - urlFormat: function urlFormat(url) { - return util.url.format(url); - }, - queryStringParse: function queryStringParse(qs) { - return util.querystring.parse(qs); - }, - queryParamsToString: function queryParamsToString(params) { - var items = []; - var escape = util.uriEscape; - var sortedKeys = Object.keys(params).sort(); +var _DescribeFastSnapshotRestoresCommand = class _DescribeFastSnapshotRestoresCommand 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("AmazonEC2", "DescribeFastSnapshotRestores", {}).n("EC2Client", "DescribeFastSnapshotRestoresCommand").f(void 0, void 0).ser(se_DescribeFastSnapshotRestoresCommand).de(de_DescribeFastSnapshotRestoresCommand).build() { +}; +__name(_DescribeFastSnapshotRestoresCommand, "DescribeFastSnapshotRestoresCommand"); +var DescribeFastSnapshotRestoresCommand = _DescribeFastSnapshotRestoresCommand; - util.arrayEach(sortedKeys, function(name) { - var value = params[name]; - var ename = escape(name); - var result = ename + '='; - if (Array.isArray(value)) { - var vals = []; - util.arrayEach(value, function(item) { vals.push(escape(item)); }); - result = ename + '=' + vals.sort().join('&' + ename + '='); - } else if (value !== undefined && value !== null) { - result = ename + '=' + escape(value); - } - items.push(result); - }); +// src/commands/DescribeFleetHistoryCommand.ts - return items.join('&'); - }, - readFileSync: function readFileSync(path) { - if (util.isBrowser()) return null; - return (__nccwpck_require__(57147).readFileSync)(path, 'utf-8'); - }, - base64: { - encode: function encode64(string) { - if (typeof string === 'number') { - throw util.error(new Error('Cannot base64 encode number ' + string)); - } - if (string === null || typeof string === 'undefined') { - return string; - } - var buf = util.buffer.toBuffer(string); - return buf.toString('base64'); - }, - decode: function decode64(string) { - if (typeof string === 'number') { - throw util.error(new Error('Cannot base64 decode number ' + string)); - } - if (string === null || typeof string === 'undefined') { - return string; - } - return util.buffer.toBuffer(string, 'base64'); - } +var _DescribeFleetHistoryCommand = class _DescribeFleetHistoryCommand 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("AmazonEC2", "DescribeFleetHistory", {}).n("EC2Client", "DescribeFleetHistoryCommand").f(void 0, void 0).ser(se_DescribeFleetHistoryCommand).de(de_DescribeFleetHistoryCommand).build() { +}; +__name(_DescribeFleetHistoryCommand, "DescribeFleetHistoryCommand"); +var DescribeFleetHistoryCommand = _DescribeFleetHistoryCommand; - }, +// src/commands/DescribeFleetInstancesCommand.ts - buffer: { - /** - * Buffer constructor for Node buffer and buffer pollyfill - */ - toBuffer: function(data, encoding) { - return (typeof util.Buffer.from === 'function' && util.Buffer.from !== Uint8Array.from) ? - util.Buffer.from(data, encoding) : new util.Buffer(data, encoding); - }, - alloc: function(size, fill, encoding) { - if (typeof size !== 'number') { - throw new Error('size passed to alloc must be a number.'); - } - if (typeof util.Buffer.alloc === 'function') { - return util.Buffer.alloc(size, fill, encoding); - } else { - var buf = new util.Buffer(size); - if (fill !== undefined && typeof buf.fill === 'function') { - buf.fill(fill, undefined, undefined, encoding); - } - return buf; - } - }, - toStream: function toStream(buffer) { - if (!util.Buffer.isBuffer(buffer)) buffer = util.buffer.toBuffer(buffer); - var readable = new (util.stream.Readable)(); - var pos = 0; - readable._read = function(size) { - if (pos >= buffer.length) return readable.push(null); +var _DescribeFleetInstancesCommand = class _DescribeFleetInstancesCommand 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("AmazonEC2", "DescribeFleetInstances", {}).n("EC2Client", "DescribeFleetInstancesCommand").f(void 0, void 0).ser(se_DescribeFleetInstancesCommand).de(de_DescribeFleetInstancesCommand).build() { +}; +__name(_DescribeFleetInstancesCommand, "DescribeFleetInstancesCommand"); +var DescribeFleetInstancesCommand = _DescribeFleetInstancesCommand; - var end = pos + size; - if (end > buffer.length) end = buffer.length; - readable.push(buffer.slice(pos, end)); - pos = end; - }; +// src/commands/DescribeFleetsCommand.ts - return readable; - }, - /** - * Concatenates a list of Buffer objects. - */ - concat: function(buffers) { - var length = 0, - offset = 0, - buffer = null, i; - for (i = 0; i < buffers.length; i++) { - length += buffers[i].length; - } - buffer = util.buffer.alloc(length); +var _DescribeFleetsCommand = class _DescribeFleetsCommand 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("AmazonEC2", "DescribeFleets", {}).n("EC2Client", "DescribeFleetsCommand").f(void 0, void 0).ser(se_DescribeFleetsCommand).de(de_DescribeFleetsCommand).build() { +}; +__name(_DescribeFleetsCommand, "DescribeFleetsCommand"); +var DescribeFleetsCommand = _DescribeFleetsCommand; - for (i = 0; i < buffers.length; i++) { - buffers[i].copy(buffer, offset); - offset += buffers[i].length; - } +// src/commands/DescribeFlowLogsCommand.ts - return buffer; - } - }, - string: { - byteLength: function byteLength(string) { - if (string === null || string === undefined) return 0; - if (typeof string === 'string') string = util.buffer.toBuffer(string); - - if (typeof string.byteLength === 'number') { - return string.byteLength; - } else if (typeof string.length === 'number') { - return string.length; - } else if (typeof string.size === 'number') { - return string.size; - } else if (typeof string.path === 'string') { - return (__nccwpck_require__(57147).lstatSync)(string.path).size; - } else { - throw util.error(new Error('Cannot determine length of ' + string), - { object: string }); - } - }, - upperFirst: function upperFirst(string) { - return string[0].toUpperCase() + string.substr(1); - }, - lowerFirst: function lowerFirst(string) { - return string[0].toLowerCase() + string.substr(1); - } - }, +var _DescribeFlowLogsCommand = class _DescribeFlowLogsCommand 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("AmazonEC2", "DescribeFlowLogs", {}).n("EC2Client", "DescribeFlowLogsCommand").f(void 0, void 0).ser(se_DescribeFlowLogsCommand).de(de_DescribeFlowLogsCommand).build() { +}; +__name(_DescribeFlowLogsCommand, "DescribeFlowLogsCommand"); +var DescribeFlowLogsCommand = _DescribeFlowLogsCommand; - ini: { - parse: function string(ini) { - var currentSection, map = {}; - util.arrayEach(ini.split(/\r?\n/), function(line) { - line = line.split(/(^|\s)[;#]/)[0].trim(); // remove comments and trim - var isSection = line[0] === '[' && line[line.length - 1] === ']'; - if (isSection) { - currentSection = line.substring(1, line.length - 1); - if (currentSection === '__proto__' || currentSection.split(/\s/)[1] === '__proto__') { - throw util.error( - new Error('Cannot load profile name \'' + currentSection + '\' from shared ini file.') - ); - } - } else if (currentSection) { - var indexOfEqualsSign = line.indexOf('='); - var start = 0; - var end = line.length - 1; - var isAssignment = - indexOfEqualsSign !== -1 && indexOfEqualsSign !== start && indexOfEqualsSign !== end; - - if (isAssignment) { - var name = line.substring(0, indexOfEqualsSign).trim(); - var value = line.substring(indexOfEqualsSign + 1).trim(); - - map[currentSection] = map[currentSection] || {}; - map[currentSection][name] = value; - } - } - }); +// src/commands/DescribeFpgaImageAttributeCommand.ts - return map; - } - }, - fn: { - noop: function() {}, - callback: function (err) { if (err) throw err; }, - /** - * Turn a synchronous function into as "async" function by making it call - * a callback. The underlying function is called with all but the last argument, - * which is treated as the callback. The callback is passed passed a first argument - * of null on success to mimick standard node callbacks. - */ - makeAsync: function makeAsync(fn, expectedArgs) { - if (expectedArgs && expectedArgs <= fn.length) { - return fn; - } - return function() { - var args = Array.prototype.slice.call(arguments, 0); - var callback = args.pop(); - var result = fn.apply(null, args); - callback(result); - }; - } - }, +var _DescribeFpgaImageAttributeCommand = class _DescribeFpgaImageAttributeCommand 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("AmazonEC2", "DescribeFpgaImageAttribute", {}).n("EC2Client", "DescribeFpgaImageAttributeCommand").f(void 0, void 0).ser(se_DescribeFpgaImageAttributeCommand).de(de_DescribeFpgaImageAttributeCommand).build() { +}; +__name(_DescribeFpgaImageAttributeCommand, "DescribeFpgaImageAttributeCommand"); +var DescribeFpgaImageAttributeCommand = _DescribeFpgaImageAttributeCommand; - /** - * Date and time utility functions. - */ - date: { +// src/commands/DescribeFpgaImagesCommand.ts - /** - * @return [Date] the current JavaScript date object. Since all - * AWS services rely on this date object, you can override - * this function to provide a special time value to AWS service - * requests. - */ - getDate: function getDate() { - if (!AWS) AWS = __nccwpck_require__(28437); - if (AWS.config.systemClockOffset) { // use offset when non-zero - return new Date(new Date().getTime() + AWS.config.systemClockOffset); - } else { - return new Date(); - } - }, - /** - * @return [String] the date in ISO-8601 format - */ - iso8601: function iso8601(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toISOString().replace(/\.\d{3}Z$/, 'Z'); - }, - /** - * @return [String] the date in RFC 822 format - */ - rfc822: function rfc822(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.toUTCString(); - }, - /** - * @return [Integer] the UNIX timestamp value for the current time - */ - unixTimestamp: function unixTimestamp(date) { - if (date === undefined) { date = util.date.getDate(); } - return date.getTime() / 1000; - }, +var _DescribeFpgaImagesCommand = class _DescribeFpgaImagesCommand 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("AmazonEC2", "DescribeFpgaImages", {}).n("EC2Client", "DescribeFpgaImagesCommand").f(void 0, void 0).ser(se_DescribeFpgaImagesCommand).de(de_DescribeFpgaImagesCommand).build() { +}; +__name(_DescribeFpgaImagesCommand, "DescribeFpgaImagesCommand"); +var DescribeFpgaImagesCommand = _DescribeFpgaImagesCommand; - /** - * @param [String,number,Date] date - * @return [Date] - */ - from: function format(date) { - if (typeof date === 'number') { - return new Date(date * 1000); // unix timestamp - } else { - return new Date(date); - } - }, +// src/commands/DescribeHostReservationOfferingsCommand.ts - /** - * Given a Date or date-like value, this function formats the - * date into a string of the requested value. - * @param [String,number,Date] date - * @param [String] formatter Valid formats are: - # * 'iso8601' - # * 'rfc822' - # * 'unixTimestamp' - * @return [String] - */ - format: function format(date, formatter) { - if (!formatter) formatter = 'iso8601'; - return util.date[formatter](util.date.from(date)); - }, - parseTimestamp: function parseTimestamp(value) { - if (typeof value === 'number') { // unix timestamp (number) - return new Date(value * 1000); - } else if (value.match(/^\d+$/)) { // unix timestamp - return new Date(value * 1000); - } else if (value.match(/^\d{4}/)) { // iso8601 - return new Date(value); - } else if (value.match(/^\w{3},/)) { // rfc822 - return new Date(value); - } else { - throw util.error( - new Error('unhandled timestamp format: ' + value), - {code: 'TimestampParserError'}); - } - } - }, - crypto: { - crc32Table: [ - 0x00000000, 0x77073096, 0xEE0E612C, 0x990951BA, 0x076DC419, - 0x706AF48F, 0xE963A535, 0x9E6495A3, 0x0EDB8832, 0x79DCB8A4, - 0xE0D5E91E, 0x97D2D988, 0x09B64C2B, 0x7EB17CBD, 0xE7B82D07, - 0x90BF1D91, 0x1DB71064, 0x6AB020F2, 0xF3B97148, 0x84BE41DE, - 0x1ADAD47D, 0x6DDDE4EB, 0xF4D4B551, 0x83D385C7, 0x136C9856, - 0x646BA8C0, 0xFD62F97A, 0x8A65C9EC, 0x14015C4F, 0x63066CD9, - 0xFA0F3D63, 0x8D080DF5, 0x3B6E20C8, 0x4C69105E, 0xD56041E4, - 0xA2677172, 0x3C03E4D1, 0x4B04D447, 0xD20D85FD, 0xA50AB56B, - 0x35B5A8FA, 0x42B2986C, 0xDBBBC9D6, 0xACBCF940, 0x32D86CE3, - 0x45DF5C75, 0xDCD60DCF, 0xABD13D59, 0x26D930AC, 0x51DE003A, - 0xC8D75180, 0xBFD06116, 0x21B4F4B5, 0x56B3C423, 0xCFBA9599, - 0xB8BDA50F, 0x2802B89E, 0x5F058808, 0xC60CD9B2, 0xB10BE924, - 0x2F6F7C87, 0x58684C11, 0xC1611DAB, 0xB6662D3D, 0x76DC4190, - 0x01DB7106, 0x98D220BC, 0xEFD5102A, 0x71B18589, 0x06B6B51F, - 0x9FBFE4A5, 0xE8B8D433, 0x7807C9A2, 0x0F00F934, 0x9609A88E, - 0xE10E9818, 0x7F6A0DBB, 0x086D3D2D, 0x91646C97, 0xE6635C01, - 0x6B6B51F4, 0x1C6C6162, 0x856530D8, 0xF262004E, 0x6C0695ED, - 0x1B01A57B, 0x8208F4C1, 0xF50FC457, 0x65B0D9C6, 0x12B7E950, - 0x8BBEB8EA, 0xFCB9887C, 0x62DD1DDF, 0x15DA2D49, 0x8CD37CF3, - 0xFBD44C65, 0x4DB26158, 0x3AB551CE, 0xA3BC0074, 0xD4BB30E2, - 0x4ADFA541, 0x3DD895D7, 0xA4D1C46D, 0xD3D6F4FB, 0x4369E96A, - 0x346ED9FC, 0xAD678846, 0xDA60B8D0, 0x44042D73, 0x33031DE5, - 0xAA0A4C5F, 0xDD0D7CC9, 0x5005713C, 0x270241AA, 0xBE0B1010, - 0xC90C2086, 0x5768B525, 0x206F85B3, 0xB966D409, 0xCE61E49F, - 0x5EDEF90E, 0x29D9C998, 0xB0D09822, 0xC7D7A8B4, 0x59B33D17, - 0x2EB40D81, 0xB7BD5C3B, 0xC0BA6CAD, 0xEDB88320, 0x9ABFB3B6, - 0x03B6E20C, 0x74B1D29A, 0xEAD54739, 0x9DD277AF, 0x04DB2615, - 0x73DC1683, 0xE3630B12, 0x94643B84, 0x0D6D6A3E, 0x7A6A5AA8, - 0xE40ECF0B, 0x9309FF9D, 0x0A00AE27, 0x7D079EB1, 0xF00F9344, - 0x8708A3D2, 0x1E01F268, 0x6906C2FE, 0xF762575D, 0x806567CB, - 0x196C3671, 0x6E6B06E7, 0xFED41B76, 0x89D32BE0, 0x10DA7A5A, - 0x67DD4ACC, 0xF9B9DF6F, 0x8EBEEFF9, 0x17B7BE43, 0x60B08ED5, - 0xD6D6A3E8, 0xA1D1937E, 0x38D8C2C4, 0x4FDFF252, 0xD1BB67F1, - 0xA6BC5767, 0x3FB506DD, 0x48B2364B, 0xD80D2BDA, 0xAF0A1B4C, - 0x36034AF6, 0x41047A60, 0xDF60EFC3, 0xA867DF55, 0x316E8EEF, - 0x4669BE79, 0xCB61B38C, 0xBC66831A, 0x256FD2A0, 0x5268E236, - 0xCC0C7795, 0xBB0B4703, 0x220216B9, 0x5505262F, 0xC5BA3BBE, - 0xB2BD0B28, 0x2BB45A92, 0x5CB36A04, 0xC2D7FFA7, 0xB5D0CF31, - 0x2CD99E8B, 0x5BDEAE1D, 0x9B64C2B0, 0xEC63F226, 0x756AA39C, - 0x026D930A, 0x9C0906A9, 0xEB0E363F, 0x72076785, 0x05005713, - 0x95BF4A82, 0xE2B87A14, 0x7BB12BAE, 0x0CB61B38, 0x92D28E9B, - 0xE5D5BE0D, 0x7CDCEFB7, 0x0BDBDF21, 0x86D3D2D4, 0xF1D4E242, - 0x68DDB3F8, 0x1FDA836E, 0x81BE16CD, 0xF6B9265B, 0x6FB077E1, - 0x18B74777, 0x88085AE6, 0xFF0F6A70, 0x66063BCA, 0x11010B5C, - 0x8F659EFF, 0xF862AE69, 0x616BFFD3, 0x166CCF45, 0xA00AE278, - 0xD70DD2EE, 0x4E048354, 0x3903B3C2, 0xA7672661, 0xD06016F7, - 0x4969474D, 0x3E6E77DB, 0xAED16A4A, 0xD9D65ADC, 0x40DF0B66, - 0x37D83BF0, 0xA9BCAE53, 0xDEBB9EC5, 0x47B2CF7F, 0x30B5FFE9, - 0xBDBDF21C, 0xCABAC28A, 0x53B39330, 0x24B4A3A6, 0xBAD03605, - 0xCDD70693, 0x54DE5729, 0x23D967BF, 0xB3667A2E, 0xC4614AB8, - 0x5D681B02, 0x2A6F2B94, 0xB40BBE37, 0xC30C8EA1, 0x5A05DF1B, - 0x2D02EF8D], - - crc32: function crc32(data) { - var tbl = util.crypto.crc32Table; - var crc = 0 ^ -1; - - if (typeof data === 'string') { - data = util.buffer.toBuffer(data); - } - - for (var i = 0; i < data.length; i++) { - var code = data.readUInt8(i); - crc = (crc >>> 8) ^ tbl[(crc ^ code) & 0xFF]; - } - return (crc ^ -1) >>> 0; - }, +var _DescribeHostReservationOfferingsCommand = class _DescribeHostReservationOfferingsCommand 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("AmazonEC2", "DescribeHostReservationOfferings", {}).n("EC2Client", "DescribeHostReservationOfferingsCommand").f(void 0, void 0).ser(se_DescribeHostReservationOfferingsCommand).de(de_DescribeHostReservationOfferingsCommand).build() { +}; +__name(_DescribeHostReservationOfferingsCommand, "DescribeHostReservationOfferingsCommand"); +var DescribeHostReservationOfferingsCommand = _DescribeHostReservationOfferingsCommand; - hmac: function hmac(key, string, digest, fn) { - if (!digest) digest = 'binary'; - if (digest === 'buffer') { digest = undefined; } - if (!fn) fn = 'sha256'; - if (typeof string === 'string') string = util.buffer.toBuffer(string); - return util.crypto.lib.createHmac(fn, key).update(string).digest(digest); - }, +// src/commands/DescribeHostReservationsCommand.ts - md5: function md5(data, digest, callback) { - return util.crypto.hash('md5', data, digest, callback); - }, - sha256: function sha256(data, digest, callback) { - return util.crypto.hash('sha256', data, digest, callback); - }, - hash: function(algorithm, data, digest, callback) { - var hash = util.crypto.createHash(algorithm); - if (!digest) { digest = 'binary'; } - if (digest === 'buffer') { digest = undefined; } - if (typeof data === 'string') data = util.buffer.toBuffer(data); - var sliceFn = util.arraySliceFn(data); - var isBuffer = util.Buffer.isBuffer(data); - //Identifying objects with an ArrayBuffer as buffers - if (util.isBrowser() && typeof ArrayBuffer !== 'undefined' && data && data.buffer instanceof ArrayBuffer) isBuffer = true; - - if (callback && typeof data === 'object' && - typeof data.on === 'function' && !isBuffer) { - data.on('data', function(chunk) { hash.update(chunk); }); - data.on('error', function(err) { callback(err); }); - data.on('end', function() { callback(null, hash.digest(digest)); }); - } else if (callback && sliceFn && !isBuffer && - typeof FileReader !== 'undefined') { - // this might be a File/Blob - var index = 0, size = 1024 * 512; - var reader = new FileReader(); - reader.onerror = function() { - callback(new Error('Failed to read data.')); - }; - reader.onload = function() { - var buf = new util.Buffer(new Uint8Array(reader.result)); - hash.update(buf); - index += buf.length; - reader._continueReading(); - }; - reader._continueReading = function() { - if (index >= data.size) { - callback(null, hash.digest(digest)); - return; - } - var back = index + size; - if (back > data.size) back = data.size; - reader.readAsArrayBuffer(sliceFn.call(data, index, back)); - }; +var _DescribeHostReservationsCommand = class _DescribeHostReservationsCommand 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("AmazonEC2", "DescribeHostReservations", {}).n("EC2Client", "DescribeHostReservationsCommand").f(void 0, void 0).ser(se_DescribeHostReservationsCommand).de(de_DescribeHostReservationsCommand).build() { +}; +__name(_DescribeHostReservationsCommand, "DescribeHostReservationsCommand"); +var DescribeHostReservationsCommand = _DescribeHostReservationsCommand; - reader._continueReading(); - } else { - if (util.isBrowser() && typeof data === 'object' && !isBuffer) { - data = new util.Buffer(new Uint8Array(data)); - } - var out = hash.update(data).digest(digest); - if (callback) callback(null, out); - return out; - } - }, +// src/commands/DescribeHostsCommand.ts - toHex: function toHex(data) { - var out = []; - for (var i = 0; i < data.length; i++) { - out.push(('0' + data.charCodeAt(i).toString(16)).substr(-2, 2)); - } - return out.join(''); - }, - createHash: function createHash(algorithm) { - return util.crypto.lib.createHash(algorithm); - } - }, - /** @!ignore */ +var _DescribeHostsCommand = class _DescribeHostsCommand 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("AmazonEC2", "DescribeHosts", {}).n("EC2Client", "DescribeHostsCommand").f(void 0, void 0).ser(se_DescribeHostsCommand).de(de_DescribeHostsCommand).build() { +}; +__name(_DescribeHostsCommand, "DescribeHostsCommand"); +var DescribeHostsCommand = _DescribeHostsCommand; - /* Abort constant */ - abort: {}, +// src/commands/DescribeIamInstanceProfileAssociationsCommand.ts - each: function each(object, iterFunction) { - for (var key in object) { - if (Object.prototype.hasOwnProperty.call(object, key)) { - var ret = iterFunction.call(this, key, object[key]); - if (ret === util.abort) break; - } - } - }, - arrayEach: function arrayEach(array, iterFunction) { - for (var idx in array) { - if (Object.prototype.hasOwnProperty.call(array, idx)) { - var ret = iterFunction.call(this, array[idx], parseInt(idx, 10)); - if (ret === util.abort) break; - } - } - }, - update: function update(obj1, obj2) { - util.each(obj2, function iterator(key, item) { - obj1[key] = item; - }); - return obj1; - }, - merge: function merge(obj1, obj2) { - return util.update(util.copy(obj1), obj2); - }, +var _DescribeIamInstanceProfileAssociationsCommand = class _DescribeIamInstanceProfileAssociationsCommand 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("AmazonEC2", "DescribeIamInstanceProfileAssociations", {}).n("EC2Client", "DescribeIamInstanceProfileAssociationsCommand").f(void 0, void 0).ser(se_DescribeIamInstanceProfileAssociationsCommand).de(de_DescribeIamInstanceProfileAssociationsCommand).build() { +}; +__name(_DescribeIamInstanceProfileAssociationsCommand, "DescribeIamInstanceProfileAssociationsCommand"); +var DescribeIamInstanceProfileAssociationsCommand = _DescribeIamInstanceProfileAssociationsCommand; - copy: function copy(object) { - if (object === null || object === undefined) return object; - var dupe = {}; - // jshint forin:false - for (var key in object) { - dupe[key] = object[key]; - } - return dupe; - }, +// src/commands/DescribeIdentityIdFormatCommand.ts - isEmpty: function isEmpty(obj) { - for (var prop in obj) { - if (Object.prototype.hasOwnProperty.call(obj, prop)) { - return false; - } - } - return true; - }, - arraySliceFn: function arraySliceFn(obj) { - var fn = obj.slice || obj.webkitSlice || obj.mozSlice; - return typeof fn === 'function' ? fn : null; - }, - isType: function isType(obj, type) { - // handle cross-"frame" objects - if (typeof type === 'function') type = util.typeName(type); - return Object.prototype.toString.call(obj) === '[object ' + type + ']'; - }, - typeName: function typeName(type) { - if (Object.prototype.hasOwnProperty.call(type, 'name')) return type.name; - var str = type.toString(); - var match = str.match(/^\s*function (.+)\(/); - return match ? match[1] : str; - }, +var _DescribeIdentityIdFormatCommand = class _DescribeIdentityIdFormatCommand 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("AmazonEC2", "DescribeIdentityIdFormat", {}).n("EC2Client", "DescribeIdentityIdFormatCommand").f(void 0, void 0).ser(se_DescribeIdentityIdFormatCommand).de(de_DescribeIdentityIdFormatCommand).build() { +}; +__name(_DescribeIdentityIdFormatCommand, "DescribeIdentityIdFormatCommand"); +var DescribeIdentityIdFormatCommand = _DescribeIdentityIdFormatCommand; - error: function error(err, options) { - var originalError = null; - if (typeof err.message === 'string' && err.message !== '') { - if (typeof options === 'string' || (options && options.message)) { - originalError = util.copy(err); - originalError.message = err.message; - } - } - err.message = err.message || null; +// src/commands/DescribeIdFormatCommand.ts - if (typeof options === 'string') { - err.message = options; - } else if (typeof options === 'object' && options !== null) { - util.update(err, options); - if (options.message) - err.message = options.message; - if (options.code || options.name) - err.code = options.code || options.name; - if (options.stack) - err.stack = options.stack; - } - if (typeof Object.defineProperty === 'function') { - Object.defineProperty(err, 'name', {writable: true, enumerable: false}); - Object.defineProperty(err, 'message', {enumerable: true}); - } - err.name = String(options && options.name || err.name || err.code || 'Error'); - err.time = new Date(); - if (originalError) { - err.originalError = originalError; - } +var _DescribeIdFormatCommand = class _DescribeIdFormatCommand 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("AmazonEC2", "DescribeIdFormat", {}).n("EC2Client", "DescribeIdFormatCommand").f(void 0, void 0).ser(se_DescribeIdFormatCommand).de(de_DescribeIdFormatCommand).build() { +}; +__name(_DescribeIdFormatCommand, "DescribeIdFormatCommand"); +var DescribeIdFormatCommand = _DescribeIdFormatCommand; +// src/commands/DescribeImageAttributeCommand.ts - for (var key in options || {}) { - if (key[0] === '[' && key[key.length - 1] === ']') { - key = key.slice(1, -1); - if (key === 'code' || key === 'message') { - continue; - } - err['[' + key + ']'] = 'See error.' + key + ' for details.'; - Object.defineProperty(err, key, { - value: err[key] || (options && options[key]) || (originalError && originalError[key]), - enumerable: false, - writable: true - }); - } - } - return err; - }, - /** - * @api private - */ - inherit: function inherit(klass, features) { - var newObject = null; - if (features === undefined) { - features = klass; - klass = Object; - newObject = {}; - } else { - var ctor = function ConstructorWrapper() {}; - ctor.prototype = klass.prototype; - newObject = new ctor(); - } - // constructor not supplied, create pass-through ctor - if (features.constructor === Object) { - features.constructor = function() { - if (klass !== Object) { - return klass.apply(this, arguments); - } - }; - } +var _DescribeImageAttributeCommand = class _DescribeImageAttributeCommand 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("AmazonEC2", "DescribeImageAttribute", {}).n("EC2Client", "DescribeImageAttributeCommand").f(void 0, void 0).ser(se_DescribeImageAttributeCommand).de(de_DescribeImageAttributeCommand).build() { +}; +__name(_DescribeImageAttributeCommand, "DescribeImageAttributeCommand"); +var DescribeImageAttributeCommand = _DescribeImageAttributeCommand; - features.constructor.prototype = newObject; - util.update(features.constructor.prototype, features); - features.constructor.__super__ = klass; - return features.constructor; - }, +// src/commands/DescribeImagesCommand.ts - /** - * @api private - */ - mixin: function mixin() { - var klass = arguments[0]; - for (var i = 1; i < arguments.length; i++) { - // jshint forin:false - for (var prop in arguments[i].prototype) { - var fn = arguments[i].prototype[prop]; - if (prop !== 'constructor') { - klass.prototype[prop] = fn; - } - } - } - return klass; - }, - /** - * @api private - */ - hideProperties: function hideProperties(obj, props) { - if (typeof Object.defineProperty !== 'function') return; - util.arrayEach(props, function (key) { - Object.defineProperty(obj, key, { - enumerable: false, writable: true, configurable: true }); - }); - }, - /** - * @api private - */ - property: function property(obj, name, value, enumerable, isValue) { - var opts = { - configurable: true, - enumerable: enumerable !== undefined ? enumerable : true - }; - if (typeof value === 'function' && !isValue) { - opts.get = value; - } - else { - opts.value = value; opts.writable = true; - } +var _DescribeImagesCommand = class _DescribeImagesCommand 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("AmazonEC2", "DescribeImages", {}).n("EC2Client", "DescribeImagesCommand").f(void 0, void 0).ser(se_DescribeImagesCommand).de(de_DescribeImagesCommand).build() { +}; +__name(_DescribeImagesCommand, "DescribeImagesCommand"); +var DescribeImagesCommand = _DescribeImagesCommand; - Object.defineProperty(obj, name, opts); - }, +// src/commands/DescribeImportImageTasksCommand.ts - /** - * @api private - */ - memoizedProperty: function memoizedProperty(obj, name, get, enumerable) { - var cachedValue = null; - // build enumerable attribute for each value with lazy accessor. - util.property(obj, name, function() { - if (cachedValue === null) { - cachedValue = get(); - } - return cachedValue; - }, enumerable); - }, - /** - * TODO Remove in major version revision - * This backfill populates response data without the - * top-level payload name. - * - * @api private - */ - hoistPayloadMember: function hoistPayloadMember(resp) { - var req = resp.request; - var operationName = req.operation; - var operation = req.service.api.operations[operationName]; - var output = operation.output; - if (output.payload && !operation.hasEventOutput) { - var payloadMember = output.members[output.payload]; - var responsePayload = resp.data[output.payload]; - if (payloadMember.type === 'structure') { - util.each(responsePayload, function(key, value) { - util.property(resp.data, key, value, false); - }); - } - } - }, - /** - * Compute SHA-256 checksums of streams - * - * @api private - */ - computeSha256: function computeSha256(body, done) { - if (util.isNode()) { - var Stream = util.stream.Stream; - var fs = __nccwpck_require__(57147); - if (typeof Stream === 'function' && body instanceof Stream) { - if (typeof body.path === 'string') { // assume file object - var settings = {}; - if (typeof body.start === 'number') { - settings.start = body.start; - } - if (typeof body.end === 'number') { - settings.end = body.end; - } - body = fs.createReadStream(body.path, settings); - } else { // TODO support other stream types - return done(new Error('Non-file stream objects are ' + - 'not supported with SigV4')); - } - } - } +var _DescribeImportImageTasksCommand = class _DescribeImportImageTasksCommand 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("AmazonEC2", "DescribeImportImageTasks", {}).n("EC2Client", "DescribeImportImageTasksCommand").f(void 0, DescribeImportImageTasksResultFilterSensitiveLog).ser(se_DescribeImportImageTasksCommand).de(de_DescribeImportImageTasksCommand).build() { +}; +__name(_DescribeImportImageTasksCommand, "DescribeImportImageTasksCommand"); +var DescribeImportImageTasksCommand = _DescribeImportImageTasksCommand; - util.crypto.sha256(body, 'hex', function(err, sha) { - if (err) done(err); - else done(null, sha); - }); - }, +// src/commands/DescribeImportSnapshotTasksCommand.ts - /** - * @api private - */ - isClockSkewed: function isClockSkewed(serverTime) { - if (serverTime) { - util.property(AWS.config, 'isClockSkewed', - Math.abs(new Date().getTime() - serverTime) >= 300000, false); - return AWS.config.isClockSkewed; - } - }, - applyClockOffset: function applyClockOffset(serverTime) { - if (serverTime) - AWS.config.systemClockOffset = serverTime - new Date().getTime(); - }, - /** - * @api private - */ - extractRequestId: function extractRequestId(resp) { - var requestId = resp.httpResponse.headers['x-amz-request-id'] || - resp.httpResponse.headers['x-amzn-requestid']; - if (!requestId && resp.data && resp.data.ResponseMetadata) { - requestId = resp.data.ResponseMetadata.RequestId; - } - if (requestId) { - resp.requestId = requestId; - } +// src/models/models_4.ts - if (resp.error) { - resp.error.requestId = requestId; - } - }, +var InstanceAttributeName = { + blockDeviceMapping: "blockDeviceMapping", + disableApiStop: "disableApiStop", + disableApiTermination: "disableApiTermination", + ebsOptimized: "ebsOptimized", + enaSupport: "enaSupport", + enclaveOptions: "enclaveOptions", + groupSet: "groupSet", + instanceInitiatedShutdownBehavior: "instanceInitiatedShutdownBehavior", + instanceType: "instanceType", + kernel: "kernel", + productCodes: "productCodes", + ramdisk: "ramdisk", + rootDeviceName: "rootDeviceName", + sourceDestCheck: "sourceDestCheck", + sriovNetSupport: "sriovNetSupport", + userData: "userData" +}; +var InstanceBootModeValues = { + legacy_bios: "legacy-bios", + uefi: "uefi" +}; +var InstanceLifecycleType = { + capacity_block: "capacity-block", + scheduled: "scheduled", + spot: "spot" +}; +var InstanceAutoRecoveryState = { + default: "default", + disabled: "disabled" +}; +var InstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled" +}; +var InstanceMetadataProtocolState = { + disabled: "disabled", + enabled: "enabled" +}; +var HttpTokensState = { + optional: "optional", + required: "required" +}; +var InstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled" +}; +var InstanceMetadataOptionsState = { + applied: "applied", + pending: "pending" +}; +var MonitoringState = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + pending: "pending" +}; +var InstanceStateName = { + pending: "pending", + running: "running", + shutting_down: "shutting-down", + stopped: "stopped", + stopping: "stopping", + terminated: "terminated" +}; +var EventCode = { + instance_reboot: "instance-reboot", + instance_retirement: "instance-retirement", + instance_stop: "instance-stop", + system_maintenance: "system-maintenance", + system_reboot: "system-reboot" +}; +var StatusName = { + reachability: "reachability" +}; +var StatusType = { + failed: "failed", + initializing: "initializing", + insufficient_data: "insufficient-data", + passed: "passed" +}; +var SummaryStatus = { + impaired: "impaired", + initializing: "initializing", + insufficient_data: "insufficient-data", + not_applicable: "not-applicable", + ok: "ok" +}; +var LocationType = { + availability_zone: "availability-zone", + availability_zone_id: "availability-zone-id", + outpost: "outpost", + region: "region" +}; +var EbsOptimizedSupport = { + default: "default", + supported: "supported", + unsupported: "unsupported" +}; +var EbsEncryptionSupport = { + supported: "supported", + unsupported: "unsupported" +}; +var EbsNvmeSupport = { + REQUIRED: "required", + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var InstanceTypeHypervisor = { + NITRO: "nitro", + XEN: "xen" +}; +var DiskType = { + hdd: "hdd", + ssd: "ssd" +}; +var InstanceStorageEncryptionSupport = { + required: "required", + unsupported: "unsupported" +}; +var EphemeralNvmeSupport = { + REQUIRED: "required", + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var EnaSupport = { + required: "required", + supported: "supported", + unsupported: "unsupported" +}; +var NitroEnclavesSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var NitroTpmSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var PlacementGroupStrategy = { + cluster: "cluster", + partition: "partition", + spread: "spread" +}; +var ArchitectureType = { + arm64: "arm64", + arm64_mac: "arm64_mac", + i386: "i386", + x86_64: "x86_64", + x86_64_mac: "x86_64_mac" +}; +var SupportedAdditionalProcessorFeature = { + AMD_SEV_SNP: "amd-sev-snp" +}; +var BootModeType = { + legacy_bios: "legacy-bios", + uefi: "uefi" +}; +var RootDeviceType = { + ebs: "ebs", + instance_store: "instance-store" +}; +var UsageClassType = { + capacity_block: "capacity-block", + on_demand: "on-demand", + spot: "spot" +}; +var LockState = { + compliance: "compliance", + compliance_cooloff: "compliance-cooloff", + expired: "expired", + governance: "governance" +}; +var MoveStatus = { + movingToVpc: "movingToVpc", + restoringToClassic: "restoringToClassic" +}; +var FindingsFound = { + false: "false", + true: "true", + unknown: "unknown" +}; +var AnalysisStatus = { + failed: "failed", + running: "running", + succeeded: "succeeded" +}; +var NetworkInterfaceAttribute = { + associatePublicIpAddress: "associatePublicIpAddress", + attachment: "attachment", + description: "description", + groupSet: "groupSet", + sourceDestCheck: "sourceDestCheck" +}; +var OfferingClassType = { + CONVERTIBLE: "convertible", + STANDARD: "standard" +}; +var OfferingTypeValues = { + All_Upfront: "All Upfront", + Heavy_Utilization: "Heavy Utilization", + Light_Utilization: "Light Utilization", + Medium_Utilization: "Medium Utilization", + No_Upfront: "No Upfront", + Partial_Upfront: "Partial Upfront" +}; +var RIProductDescription = { + Linux_UNIX: "Linux/UNIX", + Linux_UNIX_Amazon_VPC_: "Linux/UNIX (Amazon VPC)", + Windows: "Windows", + Windows_Amazon_VPC_: "Windows (Amazon VPC)" +}; +var RecurringChargeFrequency = { + Hourly: "Hourly" +}; +var Scope = { + AVAILABILITY_ZONE: "Availability Zone", + REGIONAL: "Region" +}; +var ReservedInstanceState = { + active: "active", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + queued: "queued", + queued_deleted: "queued-deleted", + retired: "retired" +}; +var SnapshotAttributeName = { + createVolumePermission: "createVolumePermission", + productCodes: "productCodes" +}; +var TieringOperationStatus = { + archival_completed: "archival-completed", + archival_failed: "archival-failed", + archival_in_progress: "archival-in-progress", + permanent_restore_completed: "permanent-restore-completed", + permanent_restore_failed: "permanent-restore-failed", + permanent_restore_in_progress: "permanent-restore-in-progress", + temporary_restore_completed: "temporary-restore-completed", + temporary_restore_failed: "temporary-restore-failed", + temporary_restore_in_progress: "temporary-restore-in-progress" +}; +var EventType = { + BATCH_CHANGE: "fleetRequestChange", + ERROR: "error", + INFORMATION: "information", + INSTANCE_CHANGE: "instanceChange" +}; +var ExcessCapacityTerminationPolicy = { + DEFAULT: "default", + NO_TERMINATION: "noTermination" +}; +var OnDemandAllocationStrategy = { + LOWEST_PRICE: "lowestPrice", + PRIORITIZED: "prioritized" +}; +var ReplacementStrategy = { + LAUNCH: "launch", + LAUNCH_BEFORE_TERMINATE: "launch-before-terminate" +}; +var SpotInstanceState = { + active: "active", + cancelled: "cancelled", + closed: "closed", + disabled: "disabled", + failed: "failed", + open: "open" +}; +var SnapshotTaskDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } +}), "SnapshotTaskDetailFilterSensitiveLog"); +var ImportSnapshotTaskFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) } +}), "ImportSnapshotTaskFilterSensitiveLog"); +var DescribeImportSnapshotTasksResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ImportSnapshotTasks && { + ImportSnapshotTasks: obj.ImportSnapshotTasks.map((item) => ImportSnapshotTaskFilterSensitiveLog(item)) + } +}), "DescribeImportSnapshotTasksResultFilterSensitiveLog"); +var DescribeLaunchTemplateVersionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateVersions && { + LaunchTemplateVersions: obj.LaunchTemplateVersions.map((item) => LaunchTemplateVersionFilterSensitiveLog(item)) + } +}), "DescribeLaunchTemplateVersionsResultFilterSensitiveLog"); +var SpotFleetLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "SpotFleetLaunchSpecificationFilterSensitiveLog"); +var SpotFleetRequestConfigDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchSpecifications && { + LaunchSpecifications: obj.LaunchSpecifications.map((item) => SpotFleetLaunchSpecificationFilterSensitiveLog(item)) + } +}), "SpotFleetRequestConfigDataFilterSensitiveLog"); +var SpotFleetRequestConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SpotFleetRequestConfig && { + SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig) + } +}), "SpotFleetRequestConfigFilterSensitiveLog"); +var DescribeSpotFleetRequestsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj +}), "DescribeSpotFleetRequestsResponseFilterSensitiveLog"); +var LaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "LaunchSpecificationFilterSensitiveLog"); +var SpotInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchSpecification && { + LaunchSpecification: LaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) + } +}), "SpotInstanceRequestFilterSensitiveLog"); +var DescribeSpotInstanceRequestsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SpotInstanceRequests && { + SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)) + } +}), "DescribeSpotInstanceRequestsResultFilterSensitiveLog"); + +// src/commands/DescribeImportSnapshotTasksCommand.ts +var _DescribeImportSnapshotTasksCommand = class _DescribeImportSnapshotTasksCommand 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("AmazonEC2", "DescribeImportSnapshotTasks", {}).n("EC2Client", "DescribeImportSnapshotTasksCommand").f(void 0, DescribeImportSnapshotTasksResultFilterSensitiveLog).ser(se_DescribeImportSnapshotTasksCommand).de(de_DescribeImportSnapshotTasksCommand).build() { +}; +__name(_DescribeImportSnapshotTasksCommand, "DescribeImportSnapshotTasksCommand"); +var DescribeImportSnapshotTasksCommand = _DescribeImportSnapshotTasksCommand; - /** - * @api private - */ - addPromises: function addPromises(constructors, PromiseDependency) { - var deletePromises = false; - if (PromiseDependency === undefined && AWS && AWS.config) { - PromiseDependency = AWS.config.getPromisesDependency(); - } - if (PromiseDependency === undefined && typeof Promise !== 'undefined') { - PromiseDependency = Promise; - } - if (typeof PromiseDependency !== 'function') deletePromises = true; - if (!Array.isArray(constructors)) constructors = [constructors]; - - for (var ind = 0; ind < constructors.length; ind++) { - var constructor = constructors[ind]; - if (deletePromises) { - if (constructor.deletePromisesFromClass) { - constructor.deletePromisesFromClass(); - } - } else if (constructor.addPromisesToClass) { - constructor.addPromisesToClass(PromiseDependency); - } - } - }, +// src/commands/DescribeInstanceAttributeCommand.ts - /** - * @api private - * Return a function that will return a promise whose fate is decided by the - * callback behavior of the given method with `methodName`. The method to be - * promisified should conform to node.js convention of accepting a callback as - * last argument and calling that callback with error as the first argument - * and success value on the second argument. - */ - promisifyMethod: function promisifyMethod(methodName, PromiseDependency) { - return function promise() { - var self = this; - var args = Array.prototype.slice.call(arguments); - return new PromiseDependency(function(resolve, reject) { - args.push(function(err, data) { - if (err) { - reject(err); - } else { - resolve(data); - } - }); - self[methodName].apply(self, args); - }); - }; - }, - /** - * @api private - */ - isDualstackAvailable: function isDualstackAvailable(service) { - if (!service) return false; - var metadata = __nccwpck_require__(17752); - if (typeof service !== 'string') service = service.serviceIdentifier; - if (typeof service !== 'string' || !metadata.hasOwnProperty(service)) return false; - return !!metadata[service].dualstackAvailable; - }, - /** - * @api private - */ - calculateRetryDelay: function calculateRetryDelay(retryCount, retryDelayOptions, err) { - if (!retryDelayOptions) retryDelayOptions = {}; - var customBackoff = retryDelayOptions.customBackoff || null; - if (typeof customBackoff === 'function') { - return customBackoff(retryCount, err); - } - var base = typeof retryDelayOptions.base === 'number' ? retryDelayOptions.base : 100; - var delay = Math.random() * (Math.pow(2, retryCount) * base); - return delay; - }, - /** - * @api private - */ - handleRequestWithRetries: function handleRequestWithRetries(httpRequest, options, cb) { - if (!options) options = {}; - var http = AWS.HttpClient.getInstance(); - var httpOptions = options.httpOptions || {}; - var retryCount = 0; - - var errCallback = function(err) { - var maxRetries = options.maxRetries || 0; - if (err && err.code === 'TimeoutError') err.retryable = true; - - // Call `calculateRetryDelay()` only when relevant, see #3401 - if (err && err.retryable && retryCount < maxRetries) { - var delay = util.calculateRetryDelay(retryCount, options.retryDelayOptions, err); - if (delay >= 0) { - retryCount++; - setTimeout(sendRequest, delay + (err.retryAfter || 0)); - return; - } - } - cb(err); - }; +var _DescribeInstanceAttributeCommand = class _DescribeInstanceAttributeCommand 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("AmazonEC2", "DescribeInstanceAttribute", {}).n("EC2Client", "DescribeInstanceAttributeCommand").f(void 0, void 0).ser(se_DescribeInstanceAttributeCommand).de(de_DescribeInstanceAttributeCommand).build() { +}; +__name(_DescribeInstanceAttributeCommand, "DescribeInstanceAttributeCommand"); +var DescribeInstanceAttributeCommand = _DescribeInstanceAttributeCommand; - var sendRequest = function() { - var data = ''; - http.handleRequest(httpRequest, httpOptions, function(httpResponse) { - httpResponse.on('data', function(chunk) { data += chunk.toString(); }); - httpResponse.on('end', function() { - var statusCode = httpResponse.statusCode; - if (statusCode < 300) { - cb(null, data); - } else { - var retryAfter = parseInt(httpResponse.headers['retry-after'], 10) * 1000 || 0; - var err = util.error(new Error(), - { - statusCode: statusCode, - retryable: statusCode >= 500 || statusCode === 429 - } - ); - if (retryAfter && err.retryable) err.retryAfter = retryAfter; - errCallback(err); - } - }); - }, errCallback); - }; +// src/commands/DescribeInstanceConnectEndpointsCommand.ts - AWS.util.defer(sendRequest); - }, - /** - * @api private - */ - uuid: { - v4: function uuidV4() { - return (__nccwpck_require__(57821).v4)(); - } - }, - /** - * @api private - */ - convertPayloadToString: function convertPayloadToString(resp) { - var req = resp.request; - var operation = req.operation; - var rules = req.service.api.operations[operation].output || {}; - if (rules.payload && resp.data[rules.payload]) { - resp.data[rules.payload] = resp.data[rules.payload].toString(); - } - }, - /** - * @api private - */ - defer: function defer(callback) { - if (typeof process === 'object' && typeof process.nextTick === 'function') { - process.nextTick(callback); - } else if (typeof setImmediate === 'function') { - setImmediate(callback); - } else { - setTimeout(callback, 0); - } - }, +var _DescribeInstanceConnectEndpointsCommand = class _DescribeInstanceConnectEndpointsCommand 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("AmazonEC2", "DescribeInstanceConnectEndpoints", {}).n("EC2Client", "DescribeInstanceConnectEndpointsCommand").f(void 0, void 0).ser(se_DescribeInstanceConnectEndpointsCommand).de(de_DescribeInstanceConnectEndpointsCommand).build() { +}; +__name(_DescribeInstanceConnectEndpointsCommand, "DescribeInstanceConnectEndpointsCommand"); +var DescribeInstanceConnectEndpointsCommand = _DescribeInstanceConnectEndpointsCommand; - /** - * @api private - */ - getRequestPayloadShape: function getRequestPayloadShape(req) { - var operations = req.service.api.operations; - if (!operations) return undefined; - var operation = (operations || {})[req.operation]; - if (!operation || !operation.input || !operation.input.payload) return undefined; - return operation.input.members[operation.input.payload]; - }, +// src/commands/DescribeInstanceCreditSpecificationsCommand.ts - getProfilesFromSharedConfig: function getProfilesFromSharedConfig(iniLoader, filename) { - var profiles = {}; - var profilesFromConfig = {}; - if (process.env[util.configOptInEnv]) { - var profilesFromConfig = iniLoader.loadFrom({ - isConfig: true, - filename: process.env[util.sharedConfigFileEnv] - }); - } - var profilesFromCreds= {}; - try { - var profilesFromCreds = iniLoader.loadFrom({ - filename: filename || - (process.env[util.configOptInEnv] && process.env[util.sharedCredentialsFileEnv]) - }); - } catch (error) { - // if using config, assume it is fully descriptive without a credentials file: - if (!process.env[util.configOptInEnv]) throw error; - } - for (var i = 0, profileNames = Object.keys(profilesFromConfig); i < profileNames.length; i++) { - profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromConfig[profileNames[i]]); - } - for (var i = 0, profileNames = Object.keys(profilesFromCreds); i < profileNames.length; i++) { - profiles[profileNames[i]] = objectAssign(profiles[profileNames[i]] || {}, profilesFromCreds[profileNames[i]]); - } - return profiles; - /** - * Roughly the semantics of `Object.assign(target, source)` - */ - function objectAssign(target, source) { - for (var i = 0, keys = Object.keys(source); i < keys.length; i++) { - target[keys[i]] = source[keys[i]]; - } - return target; - } - }, - /** - * @api private - */ - ARN: { - validate: function validateARN(str) { - return str && str.indexOf('arn:') === 0 && str.split(':').length >= 6; - }, - parse: function parseARN(arn) { - var matched = arn.split(':'); - return { - partition: matched[1], - service: matched[2], - region: matched[3], - accountId: matched[4], - resource: matched.slice(5).join(':') - }; - }, - build: function buildARN(arnObject) { - if ( - arnObject.service === undefined || - arnObject.region === undefined || - arnObject.accountId === undefined || - arnObject.resource === undefined - ) throw util.error(new Error('Input ARN object is invalid')); - return 'arn:'+ (arnObject.partition || 'aws') + ':' + arnObject.service + - ':' + arnObject.region + ':' + arnObject.accountId + ':' + arnObject.resource; - } - }, - /** - * @api private - */ - defaultProfile: 'default', +var _DescribeInstanceCreditSpecificationsCommand = class _DescribeInstanceCreditSpecificationsCommand 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("AmazonEC2", "DescribeInstanceCreditSpecifications", {}).n("EC2Client", "DescribeInstanceCreditSpecificationsCommand").f(void 0, void 0).ser(se_DescribeInstanceCreditSpecificationsCommand).de(de_DescribeInstanceCreditSpecificationsCommand).build() { +}; +__name(_DescribeInstanceCreditSpecificationsCommand, "DescribeInstanceCreditSpecificationsCommand"); +var DescribeInstanceCreditSpecificationsCommand = _DescribeInstanceCreditSpecificationsCommand; - /** - * @api private - */ - configOptInEnv: 'AWS_SDK_LOAD_CONFIG', +// src/commands/DescribeInstanceEventNotificationAttributesCommand.ts - /** - * @api private - */ - sharedCredentialsFileEnv: 'AWS_SHARED_CREDENTIALS_FILE', - /** - * @api private - */ - sharedConfigFileEnv: 'AWS_CONFIG_FILE', - /** - * @api private - */ - imdsDisabledEnv: 'AWS_EC2_METADATA_DISABLED' + +var _DescribeInstanceEventNotificationAttributesCommand = class _DescribeInstanceEventNotificationAttributesCommand 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("AmazonEC2", "DescribeInstanceEventNotificationAttributes", {}).n("EC2Client", "DescribeInstanceEventNotificationAttributesCommand").f(void 0, void 0).ser(se_DescribeInstanceEventNotificationAttributesCommand).de(de_DescribeInstanceEventNotificationAttributesCommand).build() { }; +__name(_DescribeInstanceEventNotificationAttributesCommand, "DescribeInstanceEventNotificationAttributesCommand"); +var DescribeInstanceEventNotificationAttributesCommand = _DescribeInstanceEventNotificationAttributesCommand; -/** - * @api private - */ -module.exports = util; +// src/commands/DescribeInstanceEventWindowsCommand.ts -/***/ }), -/***/ 23546: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var util = __nccwpck_require__(77985); -var XmlNode = (__nccwpck_require__(20397).XmlNode); -var XmlText = (__nccwpck_require__(90971).XmlText); +var _DescribeInstanceEventWindowsCommand = class _DescribeInstanceEventWindowsCommand 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("AmazonEC2", "DescribeInstanceEventWindows", {}).n("EC2Client", "DescribeInstanceEventWindowsCommand").f(void 0, void 0).ser(se_DescribeInstanceEventWindowsCommand).de(de_DescribeInstanceEventWindowsCommand).build() { +}; +__name(_DescribeInstanceEventWindowsCommand, "DescribeInstanceEventWindowsCommand"); +var DescribeInstanceEventWindowsCommand = _DescribeInstanceEventWindowsCommand; -function XmlBuilder() { } +// src/commands/DescribeInstancesCommand.ts -XmlBuilder.prototype.toXML = function(params, shape, rootElement, noEmpty) { - var xml = new XmlNode(rootElement); - applyNamespaces(xml, shape, true); - serialize(xml, params, shape); - return xml.children.length > 0 || noEmpty ? xml.toString() : ''; -}; -function serialize(xml, value, shape) { - switch (shape.type) { - case 'structure': return serializeStructure(xml, value, shape); - case 'map': return serializeMap(xml, value, shape); - case 'list': return serializeList(xml, value, shape); - default: return serializeScalar(xml, value, shape); - } -} -function serializeStructure(xml, params, shape) { - util.arrayEach(shape.memberNames, function(memberName) { - var memberShape = shape.members[memberName]; - if (memberShape.location !== 'body') return; - var value = params[memberName]; - var name = memberShape.name; - if (value !== undefined && value !== null) { - if (memberShape.isXmlAttribute) { - xml.addAttribute(name, value); - } else if (memberShape.flattened) { - serialize(xml, value, memberShape); - } else { - var element = new XmlNode(name); - xml.addChildNode(element); - applyNamespaces(element, memberShape); - serialize(element, value, memberShape); - } - } - }); -} +var _DescribeInstancesCommand = class _DescribeInstancesCommand 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("AmazonEC2", "DescribeInstances", {}).n("EC2Client", "DescribeInstancesCommand").f(void 0, void 0).ser(se_DescribeInstancesCommand).de(de_DescribeInstancesCommand).build() { +}; +__name(_DescribeInstancesCommand, "DescribeInstancesCommand"); +var DescribeInstancesCommand = _DescribeInstancesCommand; -function serializeMap(xml, map, shape) { - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; +// src/commands/DescribeInstanceStatusCommand.ts - util.each(map, function(key, value) { - var entry = new XmlNode(shape.flattened ? shape.name : 'entry'); - xml.addChildNode(entry); - var entryKey = new XmlNode(xmlKey); - var entryValue = new XmlNode(xmlValue); - entry.addChildNode(entryKey); - entry.addChildNode(entryValue); - serialize(entryKey, key, shape.key); - serialize(entryValue, value, shape.value); - }); -} -function serializeList(xml, list, shape) { - if (shape.flattened) { - util.arrayEach(list, function(value) { - var name = shape.member.name || shape.name; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } else { - util.arrayEach(list, function(value) { - var name = shape.member.name || 'member'; - var element = new XmlNode(name); - xml.addChildNode(element); - serialize(element, value, shape.member); - }); - } -} +var _DescribeInstanceStatusCommand = class _DescribeInstanceStatusCommand 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("AmazonEC2", "DescribeInstanceStatus", {}).n("EC2Client", "DescribeInstanceStatusCommand").f(void 0, void 0).ser(se_DescribeInstanceStatusCommand).de(de_DescribeInstanceStatusCommand).build() { +}; +__name(_DescribeInstanceStatusCommand, "DescribeInstanceStatusCommand"); +var DescribeInstanceStatusCommand = _DescribeInstanceStatusCommand; -function serializeScalar(xml, value, shape) { - xml.addChildNode( - new XmlText(shape.toWireFormat(value)) - ); -} +// src/commands/DescribeInstanceTopologyCommand.ts -function applyNamespaces(xml, shape, isRoot) { - var uri, prefix = 'xmlns'; - if (shape.xmlNamespaceUri) { - uri = shape.xmlNamespaceUri; - if (shape.xmlNamespacePrefix) prefix += ':' + shape.xmlNamespacePrefix; - } else if (isRoot && shape.api.xmlNamespaceUri) { - uri = shape.api.xmlNamespaceUri; - } - if (uri) xml.addAttribute(prefix, uri); -} -/** - * @api private - */ -module.exports = XmlBuilder; +var _DescribeInstanceTopologyCommand = class _DescribeInstanceTopologyCommand 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("AmazonEC2", "DescribeInstanceTopology", {}).n("EC2Client", "DescribeInstanceTopologyCommand").f(void 0, void 0).ser(se_DescribeInstanceTopologyCommand).de(de_DescribeInstanceTopologyCommand).build() { +}; +__name(_DescribeInstanceTopologyCommand, "DescribeInstanceTopologyCommand"); +var DescribeInstanceTopologyCommand = _DescribeInstanceTopologyCommand; -/***/ }), +// src/commands/DescribeInstanceTypeOfferingsCommand.ts -/***/ 98241: -/***/ ((module) => { -/** - * Escapes characters that can not be in an XML attribute. - */ -function escapeAttribute(value) { - return value.replace(/&/g, '&').replace(/'/g, ''').replace(//g, '>').replace(/"/g, '"'); -} -/** - * @api private - */ -module.exports = { - escapeAttribute: escapeAttribute + +var _DescribeInstanceTypeOfferingsCommand = class _DescribeInstanceTypeOfferingsCommand 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("AmazonEC2", "DescribeInstanceTypeOfferings", {}).n("EC2Client", "DescribeInstanceTypeOfferingsCommand").f(void 0, void 0).ser(se_DescribeInstanceTypeOfferingsCommand).de(de_DescribeInstanceTypeOfferingsCommand).build() { }; +__name(_DescribeInstanceTypeOfferingsCommand, "DescribeInstanceTypeOfferingsCommand"); +var DescribeInstanceTypeOfferingsCommand = _DescribeInstanceTypeOfferingsCommand; +// src/commands/DescribeInstanceTypesCommand.ts -/***/ }), -/***/ 98464: -/***/ ((module) => { -/** - * Escapes characters that can not be in an XML element. - */ -function escapeElement(value) { - return value.replace(/&/g, '&') - .replace(//g, '>') - .replace(/\r/g, ' ') - .replace(/\n/g, ' ') - .replace(/\u0085/g, '…') - .replace(/\u2028/, '
'); -} -/** - * @api private - */ -module.exports = { - escapeElement: escapeElement +var _DescribeInstanceTypesCommand = class _DescribeInstanceTypesCommand 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("AmazonEC2", "DescribeInstanceTypes", {}).n("EC2Client", "DescribeInstanceTypesCommand").f(void 0, void 0).ser(se_DescribeInstanceTypesCommand).de(de_DescribeInstanceTypesCommand).build() { }; +__name(_DescribeInstanceTypesCommand, "DescribeInstanceTypesCommand"); +var DescribeInstanceTypesCommand = _DescribeInstanceTypesCommand; +// src/commands/DescribeInternetGatewaysCommand.ts -/***/ }), - -/***/ 96752: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var AWS = __nccwpck_require__(28437); -var util = AWS.util; -var Shape = AWS.Model.Shape; -var xml2js = __nccwpck_require__(66189); -/** - * @api private - */ -var options = { // options passed to xml2js parser - explicitCharkey: false, // undocumented - trim: false, // trim the leading/trailing whitespace from text nodes - normalize: false, // trim interior whitespace inside text nodes - explicitRoot: false, // return the root node in the resulting object? - emptyTag: null, // the default value for empty nodes - explicitArray: true, // always put child nodes in an array - ignoreAttrs: false, // ignore attributes, only create text nodes - mergeAttrs: false, // merge attributes and child elements - validator: null // a callable validator +var _DescribeInternetGatewaysCommand = class _DescribeInternetGatewaysCommand 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("AmazonEC2", "DescribeInternetGateways", {}).n("EC2Client", "DescribeInternetGatewaysCommand").f(void 0, void 0).ser(se_DescribeInternetGatewaysCommand).de(de_DescribeInternetGatewaysCommand).build() { }; +__name(_DescribeInternetGatewaysCommand, "DescribeInternetGatewaysCommand"); +var DescribeInternetGatewaysCommand = _DescribeInternetGatewaysCommand; -function NodeXmlParser() { } +// src/commands/DescribeIpamByoasnCommand.ts -NodeXmlParser.prototype.parse = function(xml, shape) { - shape = shape || {}; - var result = null; - var error = null; - var parser = new xml2js.Parser(options); - parser.parseString(xml, function (e, r) { - error = e; - result = r; - }); - if (result) { - var data = parseXml(result, shape); - if (result.ResponseMetadata) { - data.ResponseMetadata = parseXml(result.ResponseMetadata[0], {}); - } - return data; - } else if (error) { - throw util.error(error, {code: 'XMLParserError', retryable: true}); - } else { // empty xml document - return parseXml({}, shape); - } +var _DescribeIpamByoasnCommand = class _DescribeIpamByoasnCommand 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("AmazonEC2", "DescribeIpamByoasn", {}).n("EC2Client", "DescribeIpamByoasnCommand").f(void 0, void 0).ser(se_DescribeIpamByoasnCommand).de(de_DescribeIpamByoasnCommand).build() { }; +__name(_DescribeIpamByoasnCommand, "DescribeIpamByoasnCommand"); +var DescribeIpamByoasnCommand = _DescribeIpamByoasnCommand; -function parseXml(xml, shape) { - switch (shape.type) { - case 'structure': return parseStructure(xml, shape); - case 'map': return parseMap(xml, shape); - case 'list': return parseList(xml, shape); - case undefined: case null: return parseUnknown(xml); - default: return parseScalar(xml, shape); - } -} +// src/commands/DescribeIpamPoolsCommand.ts -function parseStructure(xml, shape) { - var data = {}; - if (xml === null) return data; - util.each(shape.members, function(memberName, memberShape) { - var xmlName = memberShape.name; - if (Object.prototype.hasOwnProperty.call(xml, xmlName) && Array.isArray(xml[xmlName])) { - var xmlChild = xml[xmlName]; - if (!memberShape.flattened) xmlChild = xmlChild[0]; - data[memberName] = parseXml(xmlChild, memberShape); - } else if (memberShape.isXmlAttribute && - xml.$ && Object.prototype.hasOwnProperty.call(xml.$, xmlName)) { - data[memberName] = parseScalar(xml.$[xmlName], memberShape); - } else if (memberShape.type === 'list' && !shape.api.xmlNoDefaultLists) { - data[memberName] = memberShape.defaultValue; - } - }); - return data; -} +var _DescribeIpamPoolsCommand = class _DescribeIpamPoolsCommand 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("AmazonEC2", "DescribeIpamPools", {}).n("EC2Client", "DescribeIpamPoolsCommand").f(void 0, void 0).ser(se_DescribeIpamPoolsCommand).de(de_DescribeIpamPoolsCommand).build() { +}; +__name(_DescribeIpamPoolsCommand, "DescribeIpamPoolsCommand"); +var DescribeIpamPoolsCommand = _DescribeIpamPoolsCommand; -function parseMap(xml, shape) { - var data = {}; - if (xml === null) return data; +// src/commands/DescribeIpamResourceDiscoveriesCommand.ts - var xmlKey = shape.key.name || 'key'; - var xmlValue = shape.value.name || 'value'; - var iterable = shape.flattened ? xml : xml.entry; - if (Array.isArray(iterable)) { - util.arrayEach(iterable, function(child) { - data[child[xmlKey][0]] = parseXml(child[xmlValue][0], shape.value); - }); - } - return data; -} -function parseList(xml, shape) { - var data = []; - var name = shape.member.name || 'member'; - if (shape.flattened) { - util.arrayEach(xml, function(xmlChild) { - data.push(parseXml(xmlChild, shape.member)); - }); - } else if (xml && Array.isArray(xml[name])) { - util.arrayEach(xml[name], function(child) { - data.push(parseXml(child, shape.member)); - }); - } +var _DescribeIpamResourceDiscoveriesCommand = class _DescribeIpamResourceDiscoveriesCommand 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("AmazonEC2", "DescribeIpamResourceDiscoveries", {}).n("EC2Client", "DescribeIpamResourceDiscoveriesCommand").f(void 0, void 0).ser(se_DescribeIpamResourceDiscoveriesCommand).de(de_DescribeIpamResourceDiscoveriesCommand).build() { +}; +__name(_DescribeIpamResourceDiscoveriesCommand, "DescribeIpamResourceDiscoveriesCommand"); +var DescribeIpamResourceDiscoveriesCommand = _DescribeIpamResourceDiscoveriesCommand; - return data; -} +// src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts -function parseScalar(text, shape) { - if (text && text.$ && text.$.encoding === 'base64') { - shape = new Shape.create({type: text.$.encoding}); - } - if (text && text._) text = text._; - if (typeof shape.toType === 'function') { - return shape.toType(text); - } else { - return text; - } -} -function parseUnknown(xml) { - if (xml === undefined || xml === null) return ''; - if (typeof xml === 'string') return xml; - // parse a list - if (Array.isArray(xml)) { - var arr = []; - for (i = 0; i < xml.length; i++) { - arr.push(parseXml(xml[i], {})); - } - return arr; - } +var _DescribeIpamResourceDiscoveryAssociationsCommand = class _DescribeIpamResourceDiscoveryAssociationsCommand 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("AmazonEC2", "DescribeIpamResourceDiscoveryAssociations", {}).n("EC2Client", "DescribeIpamResourceDiscoveryAssociationsCommand").f(void 0, void 0).ser(se_DescribeIpamResourceDiscoveryAssociationsCommand).de(de_DescribeIpamResourceDiscoveryAssociationsCommand).build() { +}; +__name(_DescribeIpamResourceDiscoveryAssociationsCommand, "DescribeIpamResourceDiscoveryAssociationsCommand"); +var DescribeIpamResourceDiscoveryAssociationsCommand = _DescribeIpamResourceDiscoveryAssociationsCommand; - // empty object - var keys = Object.keys(xml), i; - if (keys.length === 0 || (keys.length === 1 && keys[0] === '$')) { - return {}; - } +// src/commands/DescribeIpamsCommand.ts - // object, parse as structure - var data = {}; - for (i = 0; i < keys.length; i++) { - var key = keys[i], value = xml[key]; - if (key === '$') continue; - if (value.length > 1) { // this member is a list - data[key] = parseList(value, {member: {}}); - } else { // this member is a single item - data[key] = parseXml(value[0], {}); - } - } - return data; -} -/** - * @api private - */ -module.exports = NodeXmlParser; -/***/ }), +var _DescribeIpamsCommand = class _DescribeIpamsCommand 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("AmazonEC2", "DescribeIpams", {}).n("EC2Client", "DescribeIpamsCommand").f(void 0, void 0).ser(se_DescribeIpamsCommand).de(de_DescribeIpamsCommand).build() { +}; +__name(_DescribeIpamsCommand, "DescribeIpamsCommand"); +var DescribeIpamsCommand = _DescribeIpamsCommand; -/***/ 20397: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { +// src/commands/DescribeIpamScopesCommand.ts -var escapeAttribute = (__nccwpck_require__(98241).escapeAttribute); -/** - * Represents an XML node. - * @api private - */ -function XmlNode(name, children) { - if (children === void 0) { children = []; } - this.name = name; - this.children = children; - this.attributes = {}; -} -XmlNode.prototype.addAttribute = function (name, value) { - this.attributes[name] = value; - return this; -}; -XmlNode.prototype.addChildNode = function (child) { - this.children.push(child); - return this; -}; -XmlNode.prototype.removeAttribute = function (name) { - delete this.attributes[name]; - return this; -}; -XmlNode.prototype.toString = function () { - var hasChildren = Boolean(this.children.length); - var xmlText = '<' + this.name; - // add attributes - var attributes = this.attributes; - for (var i = 0, attributeNames = Object.keys(attributes); i < attributeNames.length; i++) { - var attributeName = attributeNames[i]; - var attribute = attributes[attributeName]; - if (typeof attribute !== 'undefined' && attribute !== null) { - xmlText += ' ' + attributeName + '=\"' + escapeAttribute('' + attribute) + '\"'; - } - } - return xmlText += !hasChildren ? '/>' : '>' + this.children.map(function (c) { return c.toString(); }).join('') + ''; -}; -/** - * @api private - */ -module.exports = { - XmlNode: XmlNode -}; +var _DescribeIpamScopesCommand = class _DescribeIpamScopesCommand 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("AmazonEC2", "DescribeIpamScopes", {}).n("EC2Client", "DescribeIpamScopesCommand").f(void 0, void 0).ser(se_DescribeIpamScopesCommand).de(de_DescribeIpamScopesCommand).build() { +}; +__name(_DescribeIpamScopesCommand, "DescribeIpamScopesCommand"); +var DescribeIpamScopesCommand = _DescribeIpamScopesCommand; -/***/ }), +// src/commands/DescribeIpv6PoolsCommand.ts -/***/ 90971: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var escapeElement = (__nccwpck_require__(98464).escapeElement); -/** - * Represents an XML text value. - * @api private - */ -function XmlText(value) { - this.value = value; -} -XmlText.prototype.toString = function () { - return escapeElement('' + this.value); +var _DescribeIpv6PoolsCommand = class _DescribeIpv6PoolsCommand 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("AmazonEC2", "DescribeIpv6Pools", {}).n("EC2Client", "DescribeIpv6PoolsCommand").f(void 0, void 0).ser(se_DescribeIpv6PoolsCommand).de(de_DescribeIpv6PoolsCommand).build() { }; +__name(_DescribeIpv6PoolsCommand, "DescribeIpv6PoolsCommand"); +var DescribeIpv6PoolsCommand = _DescribeIpv6PoolsCommand; -/** - * @api private - */ -module.exports = { - XmlText: XmlText -}; +// src/commands/DescribeKeyPairsCommand.ts -/***/ }), -/***/ 35827: -/***/ ((__unused_webpack_module, exports) => { -"use strict"; +var _DescribeKeyPairsCommand = class _DescribeKeyPairsCommand 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("AmazonEC2", "DescribeKeyPairs", {}).n("EC2Client", "DescribeKeyPairsCommand").f(void 0, void 0).ser(se_DescribeKeyPairsCommand).de(de_DescribeKeyPairsCommand).build() { +}; +__name(_DescribeKeyPairsCommand, "DescribeKeyPairsCommand"); +var DescribeKeyPairsCommand = _DescribeKeyPairsCommand; + +// src/commands/DescribeLaunchTemplatesCommand.ts + -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -/** - * Convert array of 16 byte values to UUID string format of the form: - * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX - */ -var byteToHex = []; +var _DescribeLaunchTemplatesCommand = class _DescribeLaunchTemplatesCommand 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("AmazonEC2", "DescribeLaunchTemplates", {}).n("EC2Client", "DescribeLaunchTemplatesCommand").f(void 0, void 0).ser(se_DescribeLaunchTemplatesCommand).de(de_DescribeLaunchTemplatesCommand).build() { +}; +__name(_DescribeLaunchTemplatesCommand, "DescribeLaunchTemplatesCommand"); +var DescribeLaunchTemplatesCommand = _DescribeLaunchTemplatesCommand; -for (var i = 0; i < 256; ++i) { - byteToHex[i] = (i + 0x100).toString(16).substr(1); -} +// src/commands/DescribeLaunchTemplateVersionsCommand.ts -function bytesToUuid(buf, offset) { - var i = offset || 0; - var bth = byteToHex; // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4 - return [bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], '-', bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]], bth[buf[i++]]].join(''); -} -var _default = bytesToUuid; -exports["default"] = _default; -/***/ }), +var _DescribeLaunchTemplateVersionsCommand = class _DescribeLaunchTemplateVersionsCommand 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("AmazonEC2", "DescribeLaunchTemplateVersions", {}).n("EC2Client", "DescribeLaunchTemplateVersionsCommand").f(void 0, DescribeLaunchTemplateVersionsResultFilterSensitiveLog).ser(se_DescribeLaunchTemplateVersionsCommand).de(de_DescribeLaunchTemplateVersionsCommand).build() { +}; +__name(_DescribeLaunchTemplateVersionsCommand, "DescribeLaunchTemplateVersionsCommand"); +var DescribeLaunchTemplateVersionsCommand = _DescribeLaunchTemplateVersionsCommand; -/***/ 57821: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +// src/commands/DescribeLocalGatewayRouteTablesCommand.ts -"use strict"; -var __webpack_unused_export__; -__webpack_unused_export__ = ({ - value: true -}); -__webpack_unused_export__ = ({ - enumerable: true, - get: function () { - return _v.default; - } -}); -__webpack_unused_export__ = ({ - enumerable: true, - get: function () { - return _v2.default; - } -}); -Object.defineProperty(exports, "v4", ({ - enumerable: true, - get: function () { - return _v3.default; - } -})); -__webpack_unused_export__ = ({ - enumerable: true, - get: function () { - return _v4.default; - } -}); -var _v = _interopRequireDefault(__nccwpck_require__(67668)); +var _DescribeLocalGatewayRouteTablesCommand = class _DescribeLocalGatewayRouteTablesCommand 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("AmazonEC2", "DescribeLocalGatewayRouteTables", {}).n("EC2Client", "DescribeLocalGatewayRouteTablesCommand").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTablesCommand).de(de_DescribeLocalGatewayRouteTablesCommand).build() { +}; +__name(_DescribeLocalGatewayRouteTablesCommand, "DescribeLocalGatewayRouteTablesCommand"); +var DescribeLocalGatewayRouteTablesCommand = _DescribeLocalGatewayRouteTablesCommand; -var _v2 = _interopRequireDefault(__nccwpck_require__(98573)); +// src/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts -var _v3 = _interopRequireDefault(__nccwpck_require__(7811)); -var _v4 = _interopRequireDefault(__nccwpck_require__(46508)); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -/***/ }), +var _DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = class _DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand 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("AmazonEC2", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations", {}).n("EC2Client", "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand).de(de_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand).build() { +}; +__name(_DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, "DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand"); +var DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand = _DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand; -/***/ 93525: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +// src/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts -"use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); +var _DescribeLocalGatewayRouteTableVpcAssociationsCommand = class _DescribeLocalGatewayRouteTableVpcAssociationsCommand 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("AmazonEC2", "DescribeLocalGatewayRouteTableVpcAssociations", {}).n("EC2Client", "DescribeLocalGatewayRouteTableVpcAssociationsCommand").f(void 0, void 0).ser(se_DescribeLocalGatewayRouteTableVpcAssociationsCommand).de(de_DescribeLocalGatewayRouteTableVpcAssociationsCommand).build() { +}; +__name(_DescribeLocalGatewayRouteTableVpcAssociationsCommand, "DescribeLocalGatewayRouteTableVpcAssociationsCommand"); +var DescribeLocalGatewayRouteTableVpcAssociationsCommand = _DescribeLocalGatewayRouteTableVpcAssociationsCommand; -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +// src/commands/DescribeLocalGatewaysCommand.ts -function md5(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } - return _crypto.default.createHash('md5').update(bytes).digest(); -} -var _default = md5; -exports["default"] = _default; -/***/ }), +var _DescribeLocalGatewaysCommand = class _DescribeLocalGatewaysCommand 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("AmazonEC2", "DescribeLocalGateways", {}).n("EC2Client", "DescribeLocalGatewaysCommand").f(void 0, void 0).ser(se_DescribeLocalGatewaysCommand).de(de_DescribeLocalGatewaysCommand).build() { +}; +__name(_DescribeLocalGatewaysCommand, "DescribeLocalGatewaysCommand"); +var DescribeLocalGatewaysCommand = _DescribeLocalGatewaysCommand; -/***/ 49788: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +// src/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts -"use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = rng; -var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); +var _DescribeLocalGatewayVirtualInterfaceGroupsCommand = class _DescribeLocalGatewayVirtualInterfaceGroupsCommand 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("AmazonEC2", "DescribeLocalGatewayVirtualInterfaceGroups", {}).n("EC2Client", "DescribeLocalGatewayVirtualInterfaceGroupsCommand").f(void 0, void 0).ser(se_DescribeLocalGatewayVirtualInterfaceGroupsCommand).de(de_DescribeLocalGatewayVirtualInterfaceGroupsCommand).build() { +}; +__name(_DescribeLocalGatewayVirtualInterfaceGroupsCommand, "DescribeLocalGatewayVirtualInterfaceGroupsCommand"); +var DescribeLocalGatewayVirtualInterfaceGroupsCommand = _DescribeLocalGatewayVirtualInterfaceGroupsCommand; -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +// src/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts -function rng() { - return _crypto.default.randomBytes(16); -} -/***/ }), -/***/ 7387: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -"use strict"; +var _DescribeLocalGatewayVirtualInterfacesCommand = class _DescribeLocalGatewayVirtualInterfacesCommand 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("AmazonEC2", "DescribeLocalGatewayVirtualInterfaces", {}).n("EC2Client", "DescribeLocalGatewayVirtualInterfacesCommand").f(void 0, void 0).ser(se_DescribeLocalGatewayVirtualInterfacesCommand).de(de_DescribeLocalGatewayVirtualInterfacesCommand).build() { +}; +__name(_DescribeLocalGatewayVirtualInterfacesCommand, "DescribeLocalGatewayVirtualInterfacesCommand"); +var DescribeLocalGatewayVirtualInterfacesCommand = _DescribeLocalGatewayVirtualInterfacesCommand; +// src/commands/DescribeLockedSnapshotsCommand.ts -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function sha1(bytes) { - if (Array.isArray(bytes)) { - bytes = Buffer.from(bytes); - } else if (typeof bytes === 'string') { - bytes = Buffer.from(bytes, 'utf8'); - } +var _DescribeLockedSnapshotsCommand = class _DescribeLockedSnapshotsCommand 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("AmazonEC2", "DescribeLockedSnapshots", {}).n("EC2Client", "DescribeLockedSnapshotsCommand").f(void 0, void 0).ser(se_DescribeLockedSnapshotsCommand).de(de_DescribeLockedSnapshotsCommand).build() { +}; +__name(_DescribeLockedSnapshotsCommand, "DescribeLockedSnapshotsCommand"); +var DescribeLockedSnapshotsCommand = _DescribeLockedSnapshotsCommand; - return _crypto.default.createHash('sha1').update(bytes).digest(); -} +// src/commands/DescribeMacHostsCommand.ts -var _default = sha1; -exports["default"] = _default; -/***/ }), -/***/ 67668: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -"use strict"; +var _DescribeMacHostsCommand = class _DescribeMacHostsCommand 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("AmazonEC2", "DescribeMacHosts", {}).n("EC2Client", "DescribeMacHostsCommand").f(void 0, void 0).ser(se_DescribeMacHostsCommand).de(de_DescribeMacHostsCommand).build() { +}; +__name(_DescribeMacHostsCommand, "DescribeMacHostsCommand"); +var DescribeMacHostsCommand = _DescribeMacHostsCommand; +// src/commands/DescribeManagedPrefixListsCommand.ts -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(49788)); -var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(35827)); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var _DescribeManagedPrefixListsCommand = class _DescribeManagedPrefixListsCommand 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("AmazonEC2", "DescribeManagedPrefixLists", {}).n("EC2Client", "DescribeManagedPrefixListsCommand").f(void 0, void 0).ser(se_DescribeManagedPrefixListsCommand).de(de_DescribeManagedPrefixListsCommand).build() { +}; +__name(_DescribeManagedPrefixListsCommand, "DescribeManagedPrefixListsCommand"); +var DescribeManagedPrefixListsCommand = _DescribeManagedPrefixListsCommand; -// **`v1()` - Generate time-based UUID** -// -// Inspired by https://github.com/LiosK/UUID.js -// and http://docs.python.org/library/uuid.html -var _nodeId; +// src/commands/DescribeMovingAddressesCommand.ts -var _clockseq; // Previous uuid creation time -var _lastMSecs = 0; -var _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details -function v1(options, buf, offset) { - var i = buf && offset || 0; - var b = buf || []; - options = options || {}; - var node = options.node || _nodeId; - var clockseq = options.clockseq !== undefined ? options.clockseq : _clockseq; // node and clockseq need to be initialized to random values if they're not - // specified. We do this lazily to minimize issues related to insufficient - // system entropy. See #189 +var _DescribeMovingAddressesCommand = class _DescribeMovingAddressesCommand 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("AmazonEC2", "DescribeMovingAddresses", {}).n("EC2Client", "DescribeMovingAddressesCommand").f(void 0, void 0).ser(se_DescribeMovingAddressesCommand).de(de_DescribeMovingAddressesCommand).build() { +}; +__name(_DescribeMovingAddressesCommand, "DescribeMovingAddressesCommand"); +var DescribeMovingAddressesCommand = _DescribeMovingAddressesCommand; - if (node == null || clockseq == null) { - var seedBytes = options.random || (options.rng || _rng.default)(); +// src/commands/DescribeNatGatewaysCommand.ts - if (node == null) { - // Per 4.5, create and 48-bit node id, (47 random bits + multicast bit = 1) - node = _nodeId = [seedBytes[0] | 0x01, seedBytes[1], seedBytes[2], seedBytes[3], seedBytes[4], seedBytes[5]]; - } - if (clockseq == null) { - // Per 4.2.2, randomize (14 bit) clockseq - clockseq = _clockseq = (seedBytes[6] << 8 | seedBytes[7]) & 0x3fff; - } - } // UUID timestamps are 100 nano-second units since the Gregorian epoch, - // (1582-10-15 00:00). JSNumbers aren't precise enough for this, so - // time is handled internally as 'msecs' (integer milliseconds) and 'nsecs' - // (100-nanoseconds offset from msecs) since unix epoch, 1970-01-01 00:00. - var msecs = options.msecs !== undefined ? options.msecs : new Date().getTime(); // Per 4.2.1.2, use count of uuid's generated during the current clock - // cycle to simulate higher resolution clock +var _DescribeNatGatewaysCommand = class _DescribeNatGatewaysCommand 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("AmazonEC2", "DescribeNatGateways", {}).n("EC2Client", "DescribeNatGatewaysCommand").f(void 0, void 0).ser(se_DescribeNatGatewaysCommand).de(de_DescribeNatGatewaysCommand).build() { +}; +__name(_DescribeNatGatewaysCommand, "DescribeNatGatewaysCommand"); +var DescribeNatGatewaysCommand = _DescribeNatGatewaysCommand; - var nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs) +// src/commands/DescribeNetworkAclsCommand.ts - var dt = msecs - _lastMSecs + (nsecs - _lastNSecs) / 10000; // Per 4.2.1.2, Bump clockseq on clock regression - if (dt < 0 && options.clockseq === undefined) { - clockseq = clockseq + 1 & 0x3fff; - } // Reset nsecs if clock regresses (new clockseq) or we've moved onto a new - // time interval - if ((dt < 0 || msecs > _lastMSecs) && options.nsecs === undefined) { - nsecs = 0; - } // Per 4.2.1.2 Throw error if too many uuids are requested +var _DescribeNetworkAclsCommand = class _DescribeNetworkAclsCommand 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("AmazonEC2", "DescribeNetworkAcls", {}).n("EC2Client", "DescribeNetworkAclsCommand").f(void 0, void 0).ser(se_DescribeNetworkAclsCommand).de(de_DescribeNetworkAclsCommand).build() { +}; +__name(_DescribeNetworkAclsCommand, "DescribeNetworkAclsCommand"); +var DescribeNetworkAclsCommand = _DescribeNetworkAclsCommand; +// src/commands/DescribeNetworkInsightsAccessScopeAnalysesCommand.ts - if (nsecs >= 10000) { - throw new Error("uuid.v1(): Can't create more than 10M uuids/sec"); - } - _lastMSecs = msecs; - _lastNSecs = nsecs; - _clockseq = clockseq; // Per 4.1.4 - Convert from unix epoch to Gregorian epoch - msecs += 12219292800000; // `time_low` - var tl = ((msecs & 0xfffffff) * 10000 + nsecs) % 0x100000000; - b[i++] = tl >>> 24 & 0xff; - b[i++] = tl >>> 16 & 0xff; - b[i++] = tl >>> 8 & 0xff; - b[i++] = tl & 0xff; // `time_mid` +var _DescribeNetworkInsightsAccessScopeAnalysesCommand = class _DescribeNetworkInsightsAccessScopeAnalysesCommand 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("AmazonEC2", "DescribeNetworkInsightsAccessScopeAnalyses", {}).n("EC2Client", "DescribeNetworkInsightsAccessScopeAnalysesCommand").f(void 0, void 0).ser(se_DescribeNetworkInsightsAccessScopeAnalysesCommand).de(de_DescribeNetworkInsightsAccessScopeAnalysesCommand).build() { +}; +__name(_DescribeNetworkInsightsAccessScopeAnalysesCommand, "DescribeNetworkInsightsAccessScopeAnalysesCommand"); +var DescribeNetworkInsightsAccessScopeAnalysesCommand = _DescribeNetworkInsightsAccessScopeAnalysesCommand; - var tmh = msecs / 0x100000000 * 10000 & 0xfffffff; - b[i++] = tmh >>> 8 & 0xff; - b[i++] = tmh & 0xff; // `time_high_and_version` +// src/commands/DescribeNetworkInsightsAccessScopesCommand.ts - b[i++] = tmh >>> 24 & 0xf | 0x10; // include version - b[i++] = tmh >>> 16 & 0xff; // `clock_seq_hi_and_reserved` (Per 4.2.2 - include variant) - b[i++] = clockseq >>> 8 | 0x80; // `clock_seq_low` - b[i++] = clockseq & 0xff; // `node` +var _DescribeNetworkInsightsAccessScopesCommand = class _DescribeNetworkInsightsAccessScopesCommand 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("AmazonEC2", "DescribeNetworkInsightsAccessScopes", {}).n("EC2Client", "DescribeNetworkInsightsAccessScopesCommand").f(void 0, void 0).ser(se_DescribeNetworkInsightsAccessScopesCommand).de(de_DescribeNetworkInsightsAccessScopesCommand).build() { +}; +__name(_DescribeNetworkInsightsAccessScopesCommand, "DescribeNetworkInsightsAccessScopesCommand"); +var DescribeNetworkInsightsAccessScopesCommand = _DescribeNetworkInsightsAccessScopesCommand; - for (var n = 0; n < 6; ++n) { - b[i + n] = node[n]; - } +// src/commands/DescribeNetworkInsightsAnalysesCommand.ts - return buf ? buf : (0, _bytesToUuid.default)(b); -} -var _default = v1; -exports["default"] = _default; -/***/ }), -/***/ 98573: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +var _DescribeNetworkInsightsAnalysesCommand = class _DescribeNetworkInsightsAnalysesCommand 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("AmazonEC2", "DescribeNetworkInsightsAnalyses", {}).n("EC2Client", "DescribeNetworkInsightsAnalysesCommand").f(void 0, void 0).ser(se_DescribeNetworkInsightsAnalysesCommand).de(de_DescribeNetworkInsightsAnalysesCommand).build() { +}; +__name(_DescribeNetworkInsightsAnalysesCommand, "DescribeNetworkInsightsAnalysesCommand"); +var DescribeNetworkInsightsAnalysesCommand = _DescribeNetworkInsightsAnalysesCommand; -"use strict"; +// src/commands/DescribeNetworkInsightsPathsCommand.ts -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(36097)); -var _md = _interopRequireDefault(__nccwpck_require__(93525)); +var _DescribeNetworkInsightsPathsCommand = class _DescribeNetworkInsightsPathsCommand 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("AmazonEC2", "DescribeNetworkInsightsPaths", {}).n("EC2Client", "DescribeNetworkInsightsPathsCommand").f(void 0, void 0).ser(se_DescribeNetworkInsightsPathsCommand).de(de_DescribeNetworkInsightsPathsCommand).build() { +}; +__name(_DescribeNetworkInsightsPathsCommand, "DescribeNetworkInsightsPathsCommand"); +var DescribeNetworkInsightsPathsCommand = _DescribeNetworkInsightsPathsCommand; -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +// src/commands/DescribeNetworkInterfaceAttributeCommand.ts -const v3 = (0, _v.default)('v3', 0x30, _md.default); -var _default = v3; -exports["default"] = _default; -/***/ }), -/***/ 36097: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -"use strict"; +var _DescribeNetworkInterfaceAttributeCommand = class _DescribeNetworkInterfaceAttributeCommand 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("AmazonEC2", "DescribeNetworkInterfaceAttribute", {}).n("EC2Client", "DescribeNetworkInterfaceAttributeCommand").f(void 0, void 0).ser(se_DescribeNetworkInterfaceAttributeCommand).de(de_DescribeNetworkInterfaceAttributeCommand).build() { +}; +__name(_DescribeNetworkInterfaceAttributeCommand, "DescribeNetworkInterfaceAttributeCommand"); +var DescribeNetworkInterfaceAttributeCommand = _DescribeNetworkInterfaceAttributeCommand; +// src/commands/DescribeNetworkInterfacePermissionsCommand.ts -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = _default; -exports.URL = exports.DNS = void 0; -var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(35827)); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -function uuidToBytes(uuid) { - // Note: We assume we're being passed a valid uuid string - var bytes = []; - uuid.replace(/[a-fA-F0-9]{2}/g, function (hex) { - bytes.push(parseInt(hex, 16)); - }); - return bytes; -} +var _DescribeNetworkInterfacePermissionsCommand = class _DescribeNetworkInterfacePermissionsCommand 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("AmazonEC2", "DescribeNetworkInterfacePermissions", {}).n("EC2Client", "DescribeNetworkInterfacePermissionsCommand").f(void 0, void 0).ser(se_DescribeNetworkInterfacePermissionsCommand).de(de_DescribeNetworkInterfacePermissionsCommand).build() { +}; +__name(_DescribeNetworkInterfacePermissionsCommand, "DescribeNetworkInterfacePermissionsCommand"); +var DescribeNetworkInterfacePermissionsCommand = _DescribeNetworkInterfacePermissionsCommand; -function stringToBytes(str) { - str = unescape(encodeURIComponent(str)); // UTF8 escape +// src/commands/DescribeNetworkInterfacesCommand.ts - var bytes = new Array(str.length); - for (var i = 0; i < str.length; i++) { - bytes[i] = str.charCodeAt(i); - } - return bytes; -} -const DNS = '6ba7b810-9dad-11d1-80b4-00c04fd430c8'; -exports.DNS = DNS; -const URL = '6ba7b811-9dad-11d1-80b4-00c04fd430c8'; -exports.URL = URL; +var _DescribeNetworkInterfacesCommand = class _DescribeNetworkInterfacesCommand 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("AmazonEC2", "DescribeNetworkInterfaces", {}).n("EC2Client", "DescribeNetworkInterfacesCommand").f(void 0, void 0).ser(se_DescribeNetworkInterfacesCommand).de(de_DescribeNetworkInterfacesCommand).build() { +}; +__name(_DescribeNetworkInterfacesCommand, "DescribeNetworkInterfacesCommand"); +var DescribeNetworkInterfacesCommand = _DescribeNetworkInterfacesCommand; -function _default(name, version, hashfunc) { - var generateUUID = function (value, namespace, buf, offset) { - var off = buf && offset || 0; - if (typeof value == 'string') value = stringToBytes(value); - if (typeof namespace == 'string') namespace = uuidToBytes(namespace); - if (!Array.isArray(value)) throw TypeError('value must be an array of bytes'); - if (!Array.isArray(namespace) || namespace.length !== 16) throw TypeError('namespace must be uuid string or an Array of 16 byte values'); // Per 4.3 - - var bytes = hashfunc(namespace.concat(value)); - bytes[6] = bytes[6] & 0x0f | version; - bytes[8] = bytes[8] & 0x3f | 0x80; +// src/commands/DescribePlacementGroupsCommand.ts - if (buf) { - for (var idx = 0; idx < 16; ++idx) { - buf[off + idx] = bytes[idx]; - } - } - return buf || (0, _bytesToUuid.default)(bytes); - }; // Function#name is not settable on some platforms (#270) - try { - generateUUID.name = name; - } catch (err) {} // For CommonJS default export support +var _DescribePlacementGroupsCommand = class _DescribePlacementGroupsCommand 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("AmazonEC2", "DescribePlacementGroups", {}).n("EC2Client", "DescribePlacementGroupsCommand").f(void 0, void 0).ser(se_DescribePlacementGroupsCommand).de(de_DescribePlacementGroupsCommand).build() { +}; +__name(_DescribePlacementGroupsCommand, "DescribePlacementGroupsCommand"); +var DescribePlacementGroupsCommand = _DescribePlacementGroupsCommand; +// src/commands/DescribePrefixListsCommand.ts - generateUUID.DNS = DNS; - generateUUID.URL = URL; - return generateUUID; -} -/***/ }), -/***/ 7811: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { -"use strict"; +var _DescribePrefixListsCommand = class _DescribePrefixListsCommand 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("AmazonEC2", "DescribePrefixLists", {}).n("EC2Client", "DescribePrefixListsCommand").f(void 0, void 0).ser(se_DescribePrefixListsCommand).de(de_DescribePrefixListsCommand).build() { +}; +__name(_DescribePrefixListsCommand, "DescribePrefixListsCommand"); +var DescribePrefixListsCommand = _DescribePrefixListsCommand; +// src/commands/DescribePrincipalIdFormatCommand.ts -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _rng = _interopRequireDefault(__nccwpck_require__(49788)); -var _bytesToUuid = _interopRequireDefault(__nccwpck_require__(35827)); -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } +var _DescribePrincipalIdFormatCommand = class _DescribePrincipalIdFormatCommand 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("AmazonEC2", "DescribePrincipalIdFormat", {}).n("EC2Client", "DescribePrincipalIdFormatCommand").f(void 0, void 0).ser(se_DescribePrincipalIdFormatCommand).de(de_DescribePrincipalIdFormatCommand).build() { +}; +__name(_DescribePrincipalIdFormatCommand, "DescribePrincipalIdFormatCommand"); +var DescribePrincipalIdFormatCommand = _DescribePrincipalIdFormatCommand; -function v4(options, buf, offset) { - var i = buf && offset || 0; +// src/commands/DescribePublicIpv4PoolsCommand.ts - if (typeof options == 'string') { - buf = options === 'binary' ? new Array(16) : null; - options = null; - } - options = options || {}; - var rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` +var _DescribePublicIpv4PoolsCommand = class _DescribePublicIpv4PoolsCommand 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("AmazonEC2", "DescribePublicIpv4Pools", {}).n("EC2Client", "DescribePublicIpv4PoolsCommand").f(void 0, void 0).ser(se_DescribePublicIpv4PoolsCommand).de(de_DescribePublicIpv4PoolsCommand).build() { +}; +__name(_DescribePublicIpv4PoolsCommand, "DescribePublicIpv4PoolsCommand"); +var DescribePublicIpv4PoolsCommand = _DescribePublicIpv4PoolsCommand; - rnds[6] = rnds[6] & 0x0f | 0x40; - rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided +// src/commands/DescribeRegionsCommand.ts - if (buf) { - for (var ii = 0; ii < 16; ++ii) { - buf[i + ii] = rnds[ii]; - } - } - return buf || (0, _bytesToUuid.default)(rnds); -} -var _default = v4; -exports["default"] = _default; -/***/ }), +var _DescribeRegionsCommand = class _DescribeRegionsCommand 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("AmazonEC2", "DescribeRegions", {}).n("EC2Client", "DescribeRegionsCommand").f(void 0, void 0).ser(se_DescribeRegionsCommand).de(de_DescribeRegionsCommand).build() { +}; +__name(_DescribeRegionsCommand, "DescribeRegionsCommand"); +var DescribeRegionsCommand = _DescribeRegionsCommand; -/***/ 46508: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +// src/commands/DescribeReplaceRootVolumeTasksCommand.ts -"use strict"; -Object.defineProperty(exports, "__esModule", ({ - value: true -})); -exports["default"] = void 0; -var _v = _interopRequireDefault(__nccwpck_require__(36097)); +var _DescribeReplaceRootVolumeTasksCommand = class _DescribeReplaceRootVolumeTasksCommand 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("AmazonEC2", "DescribeReplaceRootVolumeTasks", {}).n("EC2Client", "DescribeReplaceRootVolumeTasksCommand").f(void 0, void 0).ser(se_DescribeReplaceRootVolumeTasksCommand).de(de_DescribeReplaceRootVolumeTasksCommand).build() { +}; +__name(_DescribeReplaceRootVolumeTasksCommand, "DescribeReplaceRootVolumeTasksCommand"); +var DescribeReplaceRootVolumeTasksCommand = _DescribeReplaceRootVolumeTasksCommand; -var _sha = _interopRequireDefault(__nccwpck_require__(7387)); +// src/commands/DescribeReservedInstancesCommand.ts -function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } -const v5 = (0, _v.default)('v5', 0x50, _sha.default); -var _default = v5; -exports["default"] = _default; -/***/ }), -/***/ 96323: -/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { +var _DescribeReservedInstancesCommand = class _DescribeReservedInstancesCommand 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("AmazonEC2", "DescribeReservedInstances", {}).n("EC2Client", "DescribeReservedInstancesCommand").f(void 0, void 0).ser(se_DescribeReservedInstancesCommand).de(de_DescribeReservedInstancesCommand).build() { +}; +__name(_DescribeReservedInstancesCommand, "DescribeReservedInstancesCommand"); +var DescribeReservedInstancesCommand = _DescribeReservedInstancesCommand; -"use strict"; -var __webpack_unused_export__; +// src/commands/DescribeReservedInstancesListingsCommand.ts -__webpack_unused_export__ = ({ value: true }); -var LRU_1 = __nccwpck_require__(77710); -var CACHE_SIZE = 1000; -/** - * Inspired node-lru-cache[https://github.com/isaacs/node-lru-cache] - */ -var EndpointCache = /** @class */ (function () { - function EndpointCache(maxSize) { - if (maxSize === void 0) { maxSize = CACHE_SIZE; } - this.maxSize = maxSize; - this.cache = new LRU_1.LRUCache(maxSize); - } - ; - Object.defineProperty(EndpointCache.prototype, "size", { - get: function () { - return this.cache.length; - }, - enumerable: true, - configurable: true - }); - EndpointCache.prototype.put = function (key, value) { - var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; - var endpointRecord = this.populateValue(value); - this.cache.put(keyString, endpointRecord); - }; - EndpointCache.prototype.get = function (key) { - var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; - var now = Date.now(); - var records = this.cache.get(keyString); - if (records) { - for (var i = records.length-1; i >= 0; i--) { - var record = records[i]; - if (record.Expire < now) { - records.splice(i, 1); - } - } - if (records.length === 0) { - this.cache.remove(keyString); - return undefined; - } - } - return records; - }; - EndpointCache.getKeyString = function (key) { - var identifiers = []; - var identifierNames = Object.keys(key).sort(); - for (var i = 0; i < identifierNames.length; i++) { - var identifierName = identifierNames[i]; - if (key[identifierName] === undefined) - continue; - identifiers.push(key[identifierName]); - } - return identifiers.join(' '); - }; - EndpointCache.prototype.populateValue = function (endpoints) { - var now = Date.now(); - return endpoints.map(function (endpoint) { return ({ - Address: endpoint.Address || '', - Expire: now + (endpoint.CachePeriodInMinutes || 1) * 60 * 1000 - }); }); - }; - EndpointCache.prototype.empty = function () { - this.cache.empty(); - }; - EndpointCache.prototype.remove = function (key) { - var keyString = typeof key !== 'string' ? EndpointCache.getKeyString(key) : key; - this.cache.remove(keyString); - }; - return EndpointCache; -}()); -exports.$ = EndpointCache; -/***/ }), -/***/ 77710: -/***/ ((__unused_webpack_module, exports) => { -"use strict"; +var _DescribeReservedInstancesListingsCommand = class _DescribeReservedInstancesListingsCommand 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("AmazonEC2", "DescribeReservedInstancesListings", {}).n("EC2Client", "DescribeReservedInstancesListingsCommand").f(void 0, void 0).ser(se_DescribeReservedInstancesListingsCommand).de(de_DescribeReservedInstancesListingsCommand).build() { +}; +__name(_DescribeReservedInstancesListingsCommand, "DescribeReservedInstancesListingsCommand"); +var DescribeReservedInstancesListingsCommand = _DescribeReservedInstancesListingsCommand; -Object.defineProperty(exports, "__esModule", ({ value: true })); -var LinkedListNode = /** @class */ (function () { - function LinkedListNode(key, value) { - this.key = key; - this.value = value; - } - return LinkedListNode; -}()); -var LRUCache = /** @class */ (function () { - function LRUCache(size) { - this.nodeMap = {}; - this.size = 0; - if (typeof size !== 'number' || size < 1) { - throw new Error('Cache size can only be positive number'); - } - this.sizeLimit = size; - } - Object.defineProperty(LRUCache.prototype, "length", { - get: function () { - return this.size; - }, - enumerable: true, - configurable: true - }); - LRUCache.prototype.prependToList = function (node) { - if (!this.headerNode) { - this.tailNode = node; - } - else { - this.headerNode.prev = node; - node.next = this.headerNode; - } - this.headerNode = node; - this.size++; - }; - LRUCache.prototype.removeFromTail = function () { - if (!this.tailNode) { - return undefined; - } - var node = this.tailNode; - var prevNode = node.prev; - if (prevNode) { - prevNode.next = undefined; - } - node.prev = undefined; - this.tailNode = prevNode; - this.size--; - return node; - }; - LRUCache.prototype.detachFromList = function (node) { - if (this.headerNode === node) { - this.headerNode = node.next; - } - if (this.tailNode === node) { - this.tailNode = node.prev; - } - if (node.prev) { - node.prev.next = node.next; - } - if (node.next) { - node.next.prev = node.prev; - } - node.next = undefined; - node.prev = undefined; - this.size--; - }; - LRUCache.prototype.get = function (key) { - if (this.nodeMap[key]) { - var node = this.nodeMap[key]; - this.detachFromList(node); - this.prependToList(node); - return node.value; - } - }; - LRUCache.prototype.remove = function (key) { - if (this.nodeMap[key]) { - var node = this.nodeMap[key]; - this.detachFromList(node); - delete this.nodeMap[key]; - } - }; - LRUCache.prototype.put = function (key, value) { - if (this.nodeMap[key]) { - this.remove(key); - } - else if (this.size === this.sizeLimit) { - var tailNode = this.removeFromTail(); - var key_1 = tailNode.key; - delete this.nodeMap[key_1]; - } - var newNode = new LinkedListNode(key, value); - this.nodeMap[key] = newNode; - this.prependToList(newNode); - }; - LRUCache.prototype.empty = function () { - var keys = Object.keys(this.nodeMap); - for (var i = 0; i < keys.length; i++) { - var key = keys[i]; - var node = this.nodeMap[key]; - this.detachFromList(node); - delete this.nodeMap[key]; - } - }; - return LRUCache; -}()); -exports.LRUCache = LRUCache; +// src/commands/DescribeReservedInstancesModificationsCommand.ts -/***/ }), -/***/ 83682: -/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { -var register = __nccwpck_require__(44670); -var addHook = __nccwpck_require__(5549); -var removeHook = __nccwpck_require__(6819); -// bind with array of arguments: https://stackoverflow.com/a/21792913 -var bind = Function.bind; -var bindable = bind.bind(bind); +var _DescribeReservedInstancesModificationsCommand = class _DescribeReservedInstancesModificationsCommand 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("AmazonEC2", "DescribeReservedInstancesModifications", {}).n("EC2Client", "DescribeReservedInstancesModificationsCommand").f(void 0, void 0).ser(se_DescribeReservedInstancesModificationsCommand).de(de_DescribeReservedInstancesModificationsCommand).build() { +}; +__name(_DescribeReservedInstancesModificationsCommand, "DescribeReservedInstancesModificationsCommand"); +var DescribeReservedInstancesModificationsCommand = _DescribeReservedInstancesModificationsCommand; -function bindApi(hook, state, name) { - var removeHookRef = bindable(removeHook, null).apply( - null, - name ? [state, name] : [state] - ); - hook.api = { remove: removeHookRef }; - hook.remove = removeHookRef; - ["before", "error", "after", "wrap"].forEach(function (kind) { - var args = name ? [state, kind, name] : [state, kind]; - hook[kind] = hook.api[kind] = bindable(addHook, null).apply(null, args); - }); -} +// src/commands/DescribeReservedInstancesOfferingsCommand.ts -function HookSingular() { - var singularHookName = "h"; - var singularHookState = { - registry: {}, - }; - var singularHook = register.bind(null, singularHookState, singularHookName); - bindApi(singularHook, singularHookState, singularHookName); - return singularHook; -} -function HookCollection() { - var state = { - registry: {}, - }; - var hook = register.bind(null, state); - bindApi(hook, state); - return hook; -} +var _DescribeReservedInstancesOfferingsCommand = class _DescribeReservedInstancesOfferingsCommand 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("AmazonEC2", "DescribeReservedInstancesOfferings", {}).n("EC2Client", "DescribeReservedInstancesOfferingsCommand").f(void 0, void 0).ser(se_DescribeReservedInstancesOfferingsCommand).de(de_DescribeReservedInstancesOfferingsCommand).build() { +}; +__name(_DescribeReservedInstancesOfferingsCommand, "DescribeReservedInstancesOfferingsCommand"); +var DescribeReservedInstancesOfferingsCommand = _DescribeReservedInstancesOfferingsCommand; -var collectionHookDeprecationMessageDisplayed = false; -function Hook() { - if (!collectionHookDeprecationMessageDisplayed) { - console.warn( - '[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4' - ); - collectionHookDeprecationMessageDisplayed = true; - } - return HookCollection(); -} +// src/commands/DescribeRouteTablesCommand.ts -Hook.Singular = HookSingular.bind(); -Hook.Collection = HookCollection.bind(); -module.exports = Hook; -// expose constructors as a named property for TypeScript -module.exports.Hook = Hook; -module.exports.Singular = Hook.Singular; -module.exports.Collection = Hook.Collection; -/***/ }), +var _DescribeRouteTablesCommand = class _DescribeRouteTablesCommand 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("AmazonEC2", "DescribeRouteTables", {}).n("EC2Client", "DescribeRouteTablesCommand").f(void 0, void 0).ser(se_DescribeRouteTablesCommand).de(de_DescribeRouteTablesCommand).build() { +}; +__name(_DescribeRouteTablesCommand, "DescribeRouteTablesCommand"); +var DescribeRouteTablesCommand = _DescribeRouteTablesCommand; -/***/ 5549: -/***/ ((module) => { +// src/commands/DescribeScheduledInstanceAvailabilityCommand.ts -module.exports = addHook; -function addHook(state, kind, name, hook) { - var orig = hook; - if (!state.registry[name]) { - state.registry[name] = []; - } - if (kind === "before") { - hook = function (method, options) { - return Promise.resolve() - .then(orig.bind(null, options)) - .then(method.bind(null, options)); - }; - } - if (kind === "after") { - hook = function (method, options) { - var result; - return Promise.resolve() - .then(method.bind(null, options)) - .then(function (result_) { - result = result_; - return orig(result, options); - }) - .then(function () { - return result; - }); - }; - } +var _DescribeScheduledInstanceAvailabilityCommand = class _DescribeScheduledInstanceAvailabilityCommand 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("AmazonEC2", "DescribeScheduledInstanceAvailability", {}).n("EC2Client", "DescribeScheduledInstanceAvailabilityCommand").f(void 0, void 0).ser(se_DescribeScheduledInstanceAvailabilityCommand).de(de_DescribeScheduledInstanceAvailabilityCommand).build() { +}; +__name(_DescribeScheduledInstanceAvailabilityCommand, "DescribeScheduledInstanceAvailabilityCommand"); +var DescribeScheduledInstanceAvailabilityCommand = _DescribeScheduledInstanceAvailabilityCommand; - if (kind === "error") { - hook = function (method, options) { - return Promise.resolve() - .then(method.bind(null, options)) - .catch(function (error) { - return orig(error, options); - }); - }; - } +// src/commands/DescribeScheduledInstancesCommand.ts - state.registry[name].push({ - hook: hook, - orig: orig, - }); -} -/***/ }), -/***/ 44670: -/***/ ((module) => { +var _DescribeScheduledInstancesCommand = class _DescribeScheduledInstancesCommand 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("AmazonEC2", "DescribeScheduledInstances", {}).n("EC2Client", "DescribeScheduledInstancesCommand").f(void 0, void 0).ser(se_DescribeScheduledInstancesCommand).de(de_DescribeScheduledInstancesCommand).build() { +}; +__name(_DescribeScheduledInstancesCommand, "DescribeScheduledInstancesCommand"); +var DescribeScheduledInstancesCommand = _DescribeScheduledInstancesCommand; -module.exports = register; +// src/commands/DescribeSecurityGroupReferencesCommand.ts -function register(state, name, method, options) { - if (typeof method !== "function") { - throw new Error("method for before hook must be a function"); - } - if (!options) { - options = {}; - } - if (Array.isArray(name)) { - return name.reverse().reduce(function (callback, name) { - return register.bind(null, state, name, callback, options); - }, method)(); - } - return Promise.resolve().then(function () { - if (!state.registry[name]) { - return method(options); - } +var _DescribeSecurityGroupReferencesCommand = class _DescribeSecurityGroupReferencesCommand 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("AmazonEC2", "DescribeSecurityGroupReferences", {}).n("EC2Client", "DescribeSecurityGroupReferencesCommand").f(void 0, void 0).ser(se_DescribeSecurityGroupReferencesCommand).de(de_DescribeSecurityGroupReferencesCommand).build() { +}; +__name(_DescribeSecurityGroupReferencesCommand, "DescribeSecurityGroupReferencesCommand"); +var DescribeSecurityGroupReferencesCommand = _DescribeSecurityGroupReferencesCommand; - return state.registry[name].reduce(function (method, registered) { - return registered.hook.bind(null, method, options); - }, method)(); - }); -} +// src/commands/DescribeSecurityGroupRulesCommand.ts -/***/ }), -/***/ 6819: -/***/ ((module) => { -module.exports = removeHook; +var _DescribeSecurityGroupRulesCommand = class _DescribeSecurityGroupRulesCommand 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("AmazonEC2", "DescribeSecurityGroupRules", {}).n("EC2Client", "DescribeSecurityGroupRulesCommand").f(void 0, void 0).ser(se_DescribeSecurityGroupRulesCommand).de(de_DescribeSecurityGroupRulesCommand).build() { +}; +__name(_DescribeSecurityGroupRulesCommand, "DescribeSecurityGroupRulesCommand"); +var DescribeSecurityGroupRulesCommand = _DescribeSecurityGroupRulesCommand; -function removeHook(state, name, method) { - if (!state.registry[name]) { - return; - } +// src/commands/DescribeSecurityGroupsCommand.ts - var index = state.registry[name] - .map(function (registered) { - return registered.orig; - }) - .indexOf(method); - if (index === -1) { - return; - } - state.registry[name].splice(index, 1); -} +var _DescribeSecurityGroupsCommand = class _DescribeSecurityGroupsCommand 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("AmazonEC2", "DescribeSecurityGroups", {}).n("EC2Client", "DescribeSecurityGroupsCommand").f(void 0, void 0).ser(se_DescribeSecurityGroupsCommand).de(de_DescribeSecurityGroupsCommand).build() { +}; +__name(_DescribeSecurityGroupsCommand, "DescribeSecurityGroupsCommand"); +var DescribeSecurityGroupsCommand = _DescribeSecurityGroupsCommand; + +// src/commands/DescribeSnapshotAttributeCommand.ts -/***/ }), -/***/ 58932: -/***/ ((__unused_webpack_module, exports) => { -"use strict"; +var _DescribeSnapshotAttributeCommand = class _DescribeSnapshotAttributeCommand 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("AmazonEC2", "DescribeSnapshotAttribute", {}).n("EC2Client", "DescribeSnapshotAttributeCommand").f(void 0, void 0).ser(se_DescribeSnapshotAttributeCommand).de(de_DescribeSnapshotAttributeCommand).build() { +}; +__name(_DescribeSnapshotAttributeCommand, "DescribeSnapshotAttributeCommand"); +var DescribeSnapshotAttributeCommand = _DescribeSnapshotAttributeCommand; -Object.defineProperty(exports, "__esModule", ({ value: true })); +// src/commands/DescribeSnapshotsCommand.ts -class Deprecation extends Error { - constructor(message) { - super(message); // Maintains proper stack trace (only available on V8) - /* istanbul ignore next */ - if (Error.captureStackTrace) { - Error.captureStackTrace(this, this.constructor); - } - this.name = 'Deprecation'; - } +var _DescribeSnapshotsCommand = class _DescribeSnapshotsCommand 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("AmazonEC2", "DescribeSnapshots", {}).n("EC2Client", "DescribeSnapshotsCommand").f(void 0, void 0).ser(se_DescribeSnapshotsCommand).de(de_DescribeSnapshotsCommand).build() { +}; +__name(_DescribeSnapshotsCommand, "DescribeSnapshotsCommand"); +var DescribeSnapshotsCommand = _DescribeSnapshotsCommand; -} +// src/commands/DescribeSnapshotTierStatusCommand.ts -exports.Deprecation = Deprecation; -/***/ }), -/***/ 87783: -/***/ ((__unused_webpack_module, exports) => { +var _DescribeSnapshotTierStatusCommand = class _DescribeSnapshotTierStatusCommand 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("AmazonEC2", "DescribeSnapshotTierStatus", {}).n("EC2Client", "DescribeSnapshotTierStatusCommand").f(void 0, void 0).ser(se_DescribeSnapshotTierStatusCommand).de(de_DescribeSnapshotTierStatusCommand).build() { +}; +__name(_DescribeSnapshotTierStatusCommand, "DescribeSnapshotTierStatusCommand"); +var DescribeSnapshotTierStatusCommand = _DescribeSnapshotTierStatusCommand; -(function(exports) { - "use strict"; +// src/commands/DescribeSpotDatafeedSubscriptionCommand.ts - function isArray(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Array]"; - } else { - return false; - } - } - function isObject(obj) { - if (obj !== null) { - return Object.prototype.toString.call(obj) === "[object Object]"; - } else { - return false; - } - } - function strictDeepEqual(first, second) { - // Check the scalar case first. - if (first === second) { - return true; - } - // Check if they are the same type. - var firstType = Object.prototype.toString.call(first); - if (firstType !== Object.prototype.toString.call(second)) { - return false; - } - // We know that first and second have the same type so we can just check the - // first type from now on. - if (isArray(first) === true) { - // Short circuit if they're not the same length; - if (first.length !== second.length) { - return false; - } - for (var i = 0; i < first.length; i++) { - if (strictDeepEqual(first[i], second[i]) === false) { - return false; - } - } - return true; - } - if (isObject(first) === true) { - // An object is equal if it has the same key/value pairs. - var keysSeen = {}; - for (var key in first) { - if (hasOwnProperty.call(first, key)) { - if (strictDeepEqual(first[key], second[key]) === false) { - return false; - } - keysSeen[key] = true; - } - } - // Now check that there aren't any keys in second that weren't - // in first. - for (var key2 in second) { - if (hasOwnProperty.call(second, key2)) { - if (keysSeen[key2] !== true) { - return false; - } - } - } - return true; - } - return false; - } +var _DescribeSpotDatafeedSubscriptionCommand = class _DescribeSpotDatafeedSubscriptionCommand 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("AmazonEC2", "DescribeSpotDatafeedSubscription", {}).n("EC2Client", "DescribeSpotDatafeedSubscriptionCommand").f(void 0, void 0).ser(se_DescribeSpotDatafeedSubscriptionCommand).de(de_DescribeSpotDatafeedSubscriptionCommand).build() { +}; +__name(_DescribeSpotDatafeedSubscriptionCommand, "DescribeSpotDatafeedSubscriptionCommand"); +var DescribeSpotDatafeedSubscriptionCommand = _DescribeSpotDatafeedSubscriptionCommand; - function isFalse(obj) { - // From the spec: - // A false value corresponds to the following values: - // Empty list - // Empty object - // Empty string - // False boolean - // null value +// src/commands/DescribeSpotFleetInstancesCommand.ts - // First check the scalar values. - if (obj === "" || obj === false || obj === null) { - return true; - } else if (isArray(obj) && obj.length === 0) { - // Check for an empty array. - return true; - } else if (isObject(obj)) { - // Check for an empty object. - for (var key in obj) { - // If there are any keys, then - // the object is not empty so the object - // is not false. - if (obj.hasOwnProperty(key)) { - return false; - } - } - return true; - } else { - return false; - } - } - function objValues(obj) { - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - } - function merge(a, b) { - var merged = {}; - for (var key in a) { - merged[key] = a[key]; - } - for (var key2 in b) { - merged[key2] = b[key2]; - } - return merged; - } - var trimLeft; - if (typeof String.prototype.trimLeft === "function") { - trimLeft = function(str) { - return str.trimLeft(); - }; - } else { - trimLeft = function(str) { - return str.match(/^\s*(.*)/)[1]; - }; - } +var _DescribeSpotFleetInstancesCommand = class _DescribeSpotFleetInstancesCommand 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("AmazonEC2", "DescribeSpotFleetInstances", {}).n("EC2Client", "DescribeSpotFleetInstancesCommand").f(void 0, void 0).ser(se_DescribeSpotFleetInstancesCommand).de(de_DescribeSpotFleetInstancesCommand).build() { +}; +__name(_DescribeSpotFleetInstancesCommand, "DescribeSpotFleetInstancesCommand"); +var DescribeSpotFleetInstancesCommand = _DescribeSpotFleetInstancesCommand; - // Type constants used to define functions. - var TYPE_NUMBER = 0; - var TYPE_ANY = 1; - var TYPE_STRING = 2; - var TYPE_ARRAY = 3; - var TYPE_OBJECT = 4; - var TYPE_BOOLEAN = 5; - var TYPE_EXPREF = 6; - var TYPE_NULL = 7; - var TYPE_ARRAY_NUMBER = 8; - var TYPE_ARRAY_STRING = 9; - var TYPE_NAME_TABLE = { - 0: 'number', - 1: 'any', - 2: 'string', - 3: 'array', - 4: 'object', - 5: 'boolean', - 6: 'expression', - 7: 'null', - 8: 'Array', - 9: 'Array' - }; - - var TOK_EOF = "EOF"; - var TOK_UNQUOTEDIDENTIFIER = "UnquotedIdentifier"; - var TOK_QUOTEDIDENTIFIER = "QuotedIdentifier"; - var TOK_RBRACKET = "Rbracket"; - var TOK_RPAREN = "Rparen"; - var TOK_COMMA = "Comma"; - var TOK_COLON = "Colon"; - var TOK_RBRACE = "Rbrace"; - var TOK_NUMBER = "Number"; - var TOK_CURRENT = "Current"; - var TOK_EXPREF = "Expref"; - var TOK_PIPE = "Pipe"; - var TOK_OR = "Or"; - var TOK_AND = "And"; - var TOK_EQ = "EQ"; - var TOK_GT = "GT"; - var TOK_LT = "LT"; - var TOK_GTE = "GTE"; - var TOK_LTE = "LTE"; - var TOK_NE = "NE"; - var TOK_FLATTEN = "Flatten"; - var TOK_STAR = "Star"; - var TOK_FILTER = "Filter"; - var TOK_DOT = "Dot"; - var TOK_NOT = "Not"; - var TOK_LBRACE = "Lbrace"; - var TOK_LBRACKET = "Lbracket"; - var TOK_LPAREN= "Lparen"; - var TOK_LITERAL= "Literal"; - - // The "&", "[", "<", ">" tokens - // are not in basicToken because - // there are two token variants - // ("&&", "[?", "<=", ">="). This is specially handled - // below. - - var basicTokens = { - ".": TOK_DOT, - "*": TOK_STAR, - ",": TOK_COMMA, - ":": TOK_COLON, - "{": TOK_LBRACE, - "}": TOK_RBRACE, - "]": TOK_RBRACKET, - "(": TOK_LPAREN, - ")": TOK_RPAREN, - "@": TOK_CURRENT - }; - - var operatorStartToken = { - "<": true, - ">": true, - "=": true, - "!": true - }; - - var skipChars = { - " ": true, - "\t": true, - "\n": true - }; - - - function isAlpha(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - ch === "_"; - } - - function isNum(ch) { - return (ch >= "0" && ch <= "9") || - ch === "-"; - } - function isAlphaNum(ch) { - return (ch >= "a" && ch <= "z") || - (ch >= "A" && ch <= "Z") || - (ch >= "0" && ch <= "9") || - ch === "_"; - } - - function Lexer() { - } - Lexer.prototype = { - tokenize: function(stream) { - var tokens = []; - this._current = 0; - var start; - var identifier; - var token; - while (this._current < stream.length) { - if (isAlpha(stream[this._current])) { - start = this._current; - identifier = this._consumeUnquotedIdentifier(stream); - tokens.push({type: TOK_UNQUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (basicTokens[stream[this._current]] !== undefined) { - tokens.push({type: basicTokens[stream[this._current]], - value: stream[this._current], - start: this._current}); - this._current++; - } else if (isNum(stream[this._current])) { - token = this._consumeNumber(stream); - tokens.push(token); - } else if (stream[this._current] === "[") { - // No need to increment this._current. This happens - // in _consumeLBracket - token = this._consumeLBracket(stream); - tokens.push(token); - } else if (stream[this._current] === "\"") { - start = this._current; - identifier = this._consumeQuotedIdentifier(stream); - tokens.push({type: TOK_QUOTEDIDENTIFIER, - value: identifier, - start: start}); - } else if (stream[this._current] === "'") { - start = this._current; - identifier = this._consumeRawStringLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: identifier, - start: start}); - } else if (stream[this._current] === "`") { - start = this._current; - var literal = this._consumeLiteral(stream); - tokens.push({type: TOK_LITERAL, - value: literal, - start: start}); - } else if (operatorStartToken[stream[this._current]] !== undefined) { - tokens.push(this._consumeOperator(stream)); - } else if (skipChars[stream[this._current]] !== undefined) { - // Ignore whitespace. - this._current++; - } else if (stream[this._current] === "&") { - start = this._current; - this._current++; - if (stream[this._current] === "&") { - this._current++; - tokens.push({type: TOK_AND, value: "&&", start: start}); - } else { - tokens.push({type: TOK_EXPREF, value: "&", start: start}); - } - } else if (stream[this._current] === "|") { - start = this._current; - this._current++; - if (stream[this._current] === "|") { - this._current++; - tokens.push({type: TOK_OR, value: "||", start: start}); - } else { - tokens.push({type: TOK_PIPE, value: "|", start: start}); - } - } else { - var error = new Error("Unknown character:" + stream[this._current]); - error.name = "LexerError"; - throw error; - } - } - return tokens; - }, +// src/commands/DescribeSpotFleetRequestHistoryCommand.ts - _consumeUnquotedIdentifier: function(stream) { - var start = this._current; - this._current++; - while (this._current < stream.length && isAlphaNum(stream[this._current])) { - this._current++; - } - return stream.slice(start, this._current); - }, - _consumeQuotedIdentifier: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "\"" && this._current < maxLength) { - // You can escape a double quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "\"")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - return JSON.parse(stream.slice(start, this._current)); - }, - _consumeRawStringLiteral: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (stream[this._current] !== "'" && this._current < maxLength) { - // You can escape a single quote and you can escape an escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "'")) { - current += 2; - } else { - current++; - } - this._current = current; - } - this._current++; - var literal = stream.slice(start + 1, this._current - 1); - return literal.replace("\\'", "'"); - }, - _consumeNumber: function(stream) { - var start = this._current; - this._current++; - var maxLength = stream.length; - while (isNum(stream[this._current]) && this._current < maxLength) { - this._current++; - } - var value = parseInt(stream.slice(start, this._current)); - return {type: TOK_NUMBER, value: value, start: start}; - }, +var _DescribeSpotFleetRequestHistoryCommand = class _DescribeSpotFleetRequestHistoryCommand 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("AmazonEC2", "DescribeSpotFleetRequestHistory", {}).n("EC2Client", "DescribeSpotFleetRequestHistoryCommand").f(void 0, void 0).ser(se_DescribeSpotFleetRequestHistoryCommand).de(de_DescribeSpotFleetRequestHistoryCommand).build() { +}; +__name(_DescribeSpotFleetRequestHistoryCommand, "DescribeSpotFleetRequestHistoryCommand"); +var DescribeSpotFleetRequestHistoryCommand = _DescribeSpotFleetRequestHistoryCommand; - _consumeLBracket: function(stream) { - var start = this._current; - this._current++; - if (stream[this._current] === "?") { - this._current++; - return {type: TOK_FILTER, value: "[?", start: start}; - } else if (stream[this._current] === "]") { - this._current++; - return {type: TOK_FLATTEN, value: "[]", start: start}; - } else { - return {type: TOK_LBRACKET, value: "[", start: start}; - } - }, +// src/commands/DescribeSpotFleetRequestsCommand.ts - _consumeOperator: function(stream) { - var start = this._current; - var startingChar = stream[start]; - this._current++; - if (startingChar === "!") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_NE, value: "!=", start: start}; - } else { - return {type: TOK_NOT, value: "!", start: start}; - } - } else if (startingChar === "<") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_LTE, value: "<=", start: start}; - } else { - return {type: TOK_LT, value: "<", start: start}; - } - } else if (startingChar === ">") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_GTE, value: ">=", start: start}; - } else { - return {type: TOK_GT, value: ">", start: start}; - } - } else if (startingChar === "=") { - if (stream[this._current] === "=") { - this._current++; - return {type: TOK_EQ, value: "==", start: start}; - } - } - }, - _consumeLiteral: function(stream) { - this._current++; - var start = this._current; - var maxLength = stream.length; - var literal; - while(stream[this._current] !== "`" && this._current < maxLength) { - // You can escape a literal char or you can escape the escape. - var current = this._current; - if (stream[current] === "\\" && (stream[current + 1] === "\\" || - stream[current + 1] === "`")) { - current += 2; - } else { - current++; - } - this._current = current; - } - var literalString = trimLeft(stream.slice(start, this._current)); - literalString = literalString.replace("\\`", "`"); - if (this._looksLikeJSON(literalString)) { - literal = JSON.parse(literalString); - } else { - // Try to JSON parse it as "" - literal = JSON.parse("\"" + literalString + "\""); - } - // +1 gets us to the ending "`", +1 to move on to the next char. - this._current++; - return literal; - }, - _looksLikeJSON: function(literalString) { - var startingChars = "[{\""; - var jsonLiterals = ["true", "false", "null"]; - var numberLooking = "-0123456789"; - - if (literalString === "") { - return false; - } else if (startingChars.indexOf(literalString[0]) >= 0) { - return true; - } else if (jsonLiterals.indexOf(literalString) >= 0) { - return true; - } else if (numberLooking.indexOf(literalString[0]) >= 0) { - try { - JSON.parse(literalString); - return true; - } catch (ex) { - return false; - } - } else { - return false; - } - } - }; - var bindingPower = {}; - bindingPower[TOK_EOF] = 0; - bindingPower[TOK_UNQUOTEDIDENTIFIER] = 0; - bindingPower[TOK_QUOTEDIDENTIFIER] = 0; - bindingPower[TOK_RBRACKET] = 0; - bindingPower[TOK_RPAREN] = 0; - bindingPower[TOK_COMMA] = 0; - bindingPower[TOK_RBRACE] = 0; - bindingPower[TOK_NUMBER] = 0; - bindingPower[TOK_CURRENT] = 0; - bindingPower[TOK_EXPREF] = 0; - bindingPower[TOK_PIPE] = 1; - bindingPower[TOK_OR] = 2; - bindingPower[TOK_AND] = 3; - bindingPower[TOK_EQ] = 5; - bindingPower[TOK_GT] = 5; - bindingPower[TOK_LT] = 5; - bindingPower[TOK_GTE] = 5; - bindingPower[TOK_LTE] = 5; - bindingPower[TOK_NE] = 5; - bindingPower[TOK_FLATTEN] = 9; - bindingPower[TOK_STAR] = 20; - bindingPower[TOK_FILTER] = 21; - bindingPower[TOK_DOT] = 40; - bindingPower[TOK_NOT] = 45; - bindingPower[TOK_LBRACE] = 50; - bindingPower[TOK_LBRACKET] = 55; - bindingPower[TOK_LPAREN] = 60; - - function Parser() { - } - - Parser.prototype = { - parse: function(expression) { - this._loadTokens(expression); - this.index = 0; - var ast = this.expression(0); - if (this._lookahead(0) !== TOK_EOF) { - var t = this._lookaheadToken(0); - var error = new Error( - "Unexpected token type: " + t.type + ", value: " + t.value); - error.name = "ParserError"; - throw error; - } - return ast; - }, +var _DescribeSpotFleetRequestsCommand = class _DescribeSpotFleetRequestsCommand 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("AmazonEC2", "DescribeSpotFleetRequests", {}).n("EC2Client", "DescribeSpotFleetRequestsCommand").f(void 0, DescribeSpotFleetRequestsResponseFilterSensitiveLog).ser(se_DescribeSpotFleetRequestsCommand).de(de_DescribeSpotFleetRequestsCommand).build() { +}; +__name(_DescribeSpotFleetRequestsCommand, "DescribeSpotFleetRequestsCommand"); +var DescribeSpotFleetRequestsCommand = _DescribeSpotFleetRequestsCommand; - _loadTokens: function(expression) { - var lexer = new Lexer(); - var tokens = lexer.tokenize(expression); - tokens.push({type: TOK_EOF, value: "", start: expression.length}); - this.tokens = tokens; - }, +// src/commands/DescribeSpotInstanceRequestsCommand.ts - expression: function(rbp) { - var leftToken = this._lookaheadToken(0); - this._advance(); - var left = this.nud(leftToken); - var currentToken = this._lookahead(0); - while (rbp < bindingPower[currentToken]) { - this._advance(); - left = this.led(currentToken, left); - currentToken = this._lookahead(0); - } - return left; - }, - _lookahead: function(number) { - return this.tokens[this.index + number].type; - }, - _lookaheadToken: function(number) { - return this.tokens[this.index + number]; - }, - _advance: function() { - this.index++; - }, +var _DescribeSpotInstanceRequestsCommand = class _DescribeSpotInstanceRequestsCommand 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("AmazonEC2", "DescribeSpotInstanceRequests", {}).n("EC2Client", "DescribeSpotInstanceRequestsCommand").f(void 0, DescribeSpotInstanceRequestsResultFilterSensitiveLog).ser(se_DescribeSpotInstanceRequestsCommand).de(de_DescribeSpotInstanceRequestsCommand).build() { +}; +__name(_DescribeSpotInstanceRequestsCommand, "DescribeSpotInstanceRequestsCommand"); +var DescribeSpotInstanceRequestsCommand = _DescribeSpotInstanceRequestsCommand; - nud: function(token) { - var left; - var right; - var expression; - switch (token.type) { - case TOK_LITERAL: - return {type: "Literal", value: token.value}; - case TOK_UNQUOTEDIDENTIFIER: - return {type: "Field", name: token.value}; - case TOK_QUOTEDIDENTIFIER: - var node = {type: "Field", name: token.value}; - if (this._lookahead(0) === TOK_LPAREN) { - throw new Error("Quoted identifier not allowed for function names."); - } - return node; - case TOK_NOT: - right = this.expression(bindingPower.Not); - return {type: "NotExpression", children: [right]}; - case TOK_STAR: - left = {type: "Identity"}; - right = null; - if (this._lookahead(0) === TOK_RBRACKET) { - // This can happen in a multiselect, - // [a, b, *] - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Star); - } - return {type: "ValueProjection", children: [left, right]}; - case TOK_FILTER: - return this.led(token.type, {type: "Identity"}); - case TOK_LBRACE: - return this._parseMultiselectHash(); - case TOK_FLATTEN: - left = {type: TOK_FLATTEN, children: [{type: "Identity"}]}; - right = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [left, right]}; - case TOK_LBRACKET: - if (this._lookahead(0) === TOK_NUMBER || this._lookahead(0) === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice({type: "Identity"}, right); - } else if (this._lookahead(0) === TOK_STAR && - this._lookahead(1) === TOK_RBRACKET) { - this._advance(); - this._advance(); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", - children: [{type: "Identity"}, right]}; - } - return this._parseMultiselectList(); - case TOK_CURRENT: - return {type: TOK_CURRENT}; - case TOK_EXPREF: - expression = this.expression(bindingPower.Expref); - return {type: "ExpressionReference", children: [expression]}; - case TOK_LPAREN: - var args = []; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - args.push(expression); - } - this._match(TOK_RPAREN); - return args[0]; - default: - this._errorToken(token); - } - }, +// src/commands/DescribeSpotPriceHistoryCommand.ts - led: function(tokenName, left) { - var right; - switch(tokenName) { - case TOK_DOT: - var rbp = bindingPower.Dot; - if (this._lookahead(0) !== TOK_STAR) { - right = this._parseDotRHS(rbp); - return {type: "Subexpression", children: [left, right]}; - } - // Creating a projection. - this._advance(); - right = this._parseProjectionRHS(rbp); - return {type: "ValueProjection", children: [left, right]}; - case TOK_PIPE: - right = this.expression(bindingPower.Pipe); - return {type: TOK_PIPE, children: [left, right]}; - case TOK_OR: - right = this.expression(bindingPower.Or); - return {type: "OrExpression", children: [left, right]}; - case TOK_AND: - right = this.expression(bindingPower.And); - return {type: "AndExpression", children: [left, right]}; - case TOK_LPAREN: - var name = left.name; - var args = []; - var expression, node; - while (this._lookahead(0) !== TOK_RPAREN) { - if (this._lookahead(0) === TOK_CURRENT) { - expression = {type: TOK_CURRENT}; - this._advance(); - } else { - expression = this.expression(0); - } - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } - args.push(expression); - } - this._match(TOK_RPAREN); - node = {type: "Function", name: name, children: args}; - return node; - case TOK_FILTER: - var condition = this.expression(0); - this._match(TOK_RBRACKET); - if (this._lookahead(0) === TOK_FLATTEN) { - right = {type: "Identity"}; - } else { - right = this._parseProjectionRHS(bindingPower.Filter); - } - return {type: "FilterProjection", children: [left, right, condition]}; - case TOK_FLATTEN: - var leftNode = {type: TOK_FLATTEN, children: [left]}; - var rightNode = this._parseProjectionRHS(bindingPower.Flatten); - return {type: "Projection", children: [leftNode, rightNode]}; - case TOK_EQ: - case TOK_NE: - case TOK_GT: - case TOK_GTE: - case TOK_LT: - case TOK_LTE: - return this._parseComparator(left, tokenName); - case TOK_LBRACKET: - var token = this._lookaheadToken(0); - if (token.type === TOK_NUMBER || token.type === TOK_COLON) { - right = this._parseIndexExpression(); - return this._projectIfSlice(left, right); - } - this._match(TOK_STAR); - this._match(TOK_RBRACKET); - right = this._parseProjectionRHS(bindingPower.Star); - return {type: "Projection", children: [left, right]}; - default: - this._errorToken(this._lookaheadToken(0)); - } - }, - _match: function(tokenType) { - if (this._lookahead(0) === tokenType) { - this._advance(); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Expected " + tokenType + ", got: " + t.type); - error.name = "ParserError"; - throw error; - } - }, - _errorToken: function(token) { - var error = new Error("Invalid token (" + - token.type + "): \"" + - token.value + "\""); - error.name = "ParserError"; - throw error; - }, +var _DescribeSpotPriceHistoryCommand = class _DescribeSpotPriceHistoryCommand 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("AmazonEC2", "DescribeSpotPriceHistory", {}).n("EC2Client", "DescribeSpotPriceHistoryCommand").f(void 0, void 0).ser(se_DescribeSpotPriceHistoryCommand).de(de_DescribeSpotPriceHistoryCommand).build() { +}; +__name(_DescribeSpotPriceHistoryCommand, "DescribeSpotPriceHistoryCommand"); +var DescribeSpotPriceHistoryCommand = _DescribeSpotPriceHistoryCommand; - _parseIndexExpression: function() { - if (this._lookahead(0) === TOK_COLON || this._lookahead(1) === TOK_COLON) { - return this._parseSliceExpression(); - } else { - var node = { - type: "Index", - value: this._lookaheadToken(0).value}; - this._advance(); - this._match(TOK_RBRACKET); - return node; - } - }, +// src/commands/DescribeStaleSecurityGroupsCommand.ts - _projectIfSlice: function(left, right) { - var indexExpr = {type: "IndexExpression", children: [left, right]}; - if (right.type === "Slice") { - return { - type: "Projection", - children: [indexExpr, this._parseProjectionRHS(bindingPower.Star)] - }; - } else { - return indexExpr; - } - }, - _parseSliceExpression: function() { - // [start:end:step] where each part is optional, as well as the last - // colon. - var parts = [null, null, null]; - var index = 0; - var currentToken = this._lookahead(0); - while (currentToken !== TOK_RBRACKET && index < 3) { - if (currentToken === TOK_COLON) { - index++; - this._advance(); - } else if (currentToken === TOK_NUMBER) { - parts[index] = this._lookaheadToken(0).value; - this._advance(); - } else { - var t = this._lookahead(0); - var error = new Error("Syntax error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "Parsererror"; - throw error; - } - currentToken = this._lookahead(0); - } - this._match(TOK_RBRACKET); - return { - type: "Slice", - children: parts - }; - }, - _parseComparator: function(left, comparator) { - var right = this.expression(bindingPower[comparator]); - return {type: "Comparator", name: comparator, children: [left, right]}; - }, - _parseDotRHS: function(rbp) { - var lookahead = this._lookahead(0); - var exprTokens = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER, TOK_STAR]; - if (exprTokens.indexOf(lookahead) >= 0) { - return this.expression(rbp); - } else if (lookahead === TOK_LBRACKET) { - this._match(TOK_LBRACKET); - return this._parseMultiselectList(); - } else if (lookahead === TOK_LBRACE) { - this._match(TOK_LBRACE); - return this._parseMultiselectHash(); - } - }, +var _DescribeStaleSecurityGroupsCommand = class _DescribeStaleSecurityGroupsCommand 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("AmazonEC2", "DescribeStaleSecurityGroups", {}).n("EC2Client", "DescribeStaleSecurityGroupsCommand").f(void 0, void 0).ser(se_DescribeStaleSecurityGroupsCommand).de(de_DescribeStaleSecurityGroupsCommand).build() { +}; +__name(_DescribeStaleSecurityGroupsCommand, "DescribeStaleSecurityGroupsCommand"); +var DescribeStaleSecurityGroupsCommand = _DescribeStaleSecurityGroupsCommand; - _parseProjectionRHS: function(rbp) { - var right; - if (bindingPower[this._lookahead(0)] < 10) { - right = {type: "Identity"}; - } else if (this._lookahead(0) === TOK_LBRACKET) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_FILTER) { - right = this.expression(rbp); - } else if (this._lookahead(0) === TOK_DOT) { - this._match(TOK_DOT); - right = this._parseDotRHS(rbp); - } else { - var t = this._lookaheadToken(0); - var error = new Error("Sytanx error, unexpected token: " + - t.value + "(" + t.type + ")"); - error.name = "ParserError"; - throw error; - } - return right; - }, +// src/commands/DescribeStoreImageTasksCommand.ts - _parseMultiselectList: function() { - var expressions = []; - while (this._lookahead(0) !== TOK_RBRACKET) { - var expression = this.expression(0); - expressions.push(expression); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - if (this._lookahead(0) === TOK_RBRACKET) { - throw new Error("Unexpected token Rbracket"); - } - } - } - this._match(TOK_RBRACKET); - return {type: "MultiSelectList", children: expressions}; - }, - _parseMultiselectHash: function() { - var pairs = []; - var identifierTypes = [TOK_UNQUOTEDIDENTIFIER, TOK_QUOTEDIDENTIFIER]; - var keyToken, keyName, value, node; - for (;;) { - keyToken = this._lookaheadToken(0); - if (identifierTypes.indexOf(keyToken.type) < 0) { - throw new Error("Expecting an identifier token, got: " + - keyToken.type); - } - keyName = keyToken.value; - this._advance(); - this._match(TOK_COLON); - value = this.expression(0); - node = {type: "KeyValuePair", name: keyName, value: value}; - pairs.push(node); - if (this._lookahead(0) === TOK_COMMA) { - this._match(TOK_COMMA); - } else if (this._lookahead(0) === TOK_RBRACE) { - this._match(TOK_RBRACE); - break; - } - } - return {type: "MultiSelectHash", children: pairs}; - } - }; - function TreeInterpreter(runtime) { - this.runtime = runtime; - } +var _DescribeStoreImageTasksCommand = class _DescribeStoreImageTasksCommand 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("AmazonEC2", "DescribeStoreImageTasks", {}).n("EC2Client", "DescribeStoreImageTasksCommand").f(void 0, void 0).ser(se_DescribeStoreImageTasksCommand).de(de_DescribeStoreImageTasksCommand).build() { +}; +__name(_DescribeStoreImageTasksCommand, "DescribeStoreImageTasksCommand"); +var DescribeStoreImageTasksCommand = _DescribeStoreImageTasksCommand; - TreeInterpreter.prototype = { - search: function(node, value) { - return this.visit(node, value); - }, +// src/commands/DescribeSubnetsCommand.ts - visit: function(node, value) { - var matched, current, result, first, second, field, left, right, collected, i; - switch (node.type) { - case "Field": - if (value !== null && isObject(value)) { - field = value[node.name]; - if (field === undefined) { - return null; - } else { - return field; - } - } - return null; - case "Subexpression": - result = this.visit(node.children[0], value); - for (i = 1; i < node.children.length; i++) { - result = this.visit(node.children[1], result); - if (result === null) { - return null; - } - } - return result; - case "IndexExpression": - left = this.visit(node.children[0], value); - right = this.visit(node.children[1], left); - return right; - case "Index": - if (!isArray(value)) { - return null; - } - var index = node.value; - if (index < 0) { - index = value.length + index; - } - result = value[index]; - if (result === undefined) { - result = null; - } - return result; - case "Slice": - if (!isArray(value)) { - return null; - } - var sliceParams = node.children.slice(0); - var computed = this.computeSliceParams(value.length, sliceParams); - var start = computed[0]; - var stop = computed[1]; - var step = computed[2]; - result = []; - if (step > 0) { - for (i = start; i < stop; i += step) { - result.push(value[i]); - } - } else { - for (i = start; i > stop; i += step) { - result.push(value[i]); - } - } - return result; - case "Projection": - // Evaluate left child. - var base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - collected = []; - for (i = 0; i < base.length; i++) { - current = this.visit(node.children[1], base[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "ValueProjection": - // Evaluate left child. - base = this.visit(node.children[0], value); - if (!isObject(base)) { - return null; - } - collected = []; - var values = objValues(base); - for (i = 0; i < values.length; i++) { - current = this.visit(node.children[1], values[i]); - if (current !== null) { - collected.push(current); - } - } - return collected; - case "FilterProjection": - base = this.visit(node.children[0], value); - if (!isArray(base)) { - return null; - } - var filtered = []; - var finalResults = []; - for (i = 0; i < base.length; i++) { - matched = this.visit(node.children[2], base[i]); - if (!isFalse(matched)) { - filtered.push(base[i]); - } - } - for (var j = 0; j < filtered.length; j++) { - current = this.visit(node.children[1], filtered[j]); - if (current !== null) { - finalResults.push(current); - } - } - return finalResults; - case "Comparator": - first = this.visit(node.children[0], value); - second = this.visit(node.children[1], value); - switch(node.name) { - case TOK_EQ: - result = strictDeepEqual(first, second); - break; - case TOK_NE: - result = !strictDeepEqual(first, second); - break; - case TOK_GT: - result = first > second; - break; - case TOK_GTE: - result = first >= second; - break; - case TOK_LT: - result = first < second; - break; - case TOK_LTE: - result = first <= second; - break; - default: - throw new Error("Unknown comparator: " + node.name); - } - return result; - case TOK_FLATTEN: - var original = this.visit(node.children[0], value); - if (!isArray(original)) { - return null; - } - var merged = []; - for (i = 0; i < original.length; i++) { - current = original[i]; - if (isArray(current)) { - merged.push.apply(merged, current); - } else { - merged.push(current); - } - } - return merged; - case "Identity": - return value; - case "MultiSelectList": - if (value === null) { - return null; - } - collected = []; - for (i = 0; i < node.children.length; i++) { - collected.push(this.visit(node.children[i], value)); - } - return collected; - case "MultiSelectHash": - if (value === null) { - return null; - } - collected = {}; - var child; - for (i = 0; i < node.children.length; i++) { - child = node.children[i]; - collected[child.name] = this.visit(child.value, value); - } - return collected; - case "OrExpression": - matched = this.visit(node.children[0], value); - if (isFalse(matched)) { - matched = this.visit(node.children[1], value); - } - return matched; - case "AndExpression": - first = this.visit(node.children[0], value); - if (isFalse(first) === true) { - return first; - } - return this.visit(node.children[1], value); - case "NotExpression": - first = this.visit(node.children[0], value); - return isFalse(first); - case "Literal": - return node.value; - case TOK_PIPE: - left = this.visit(node.children[0], value); - return this.visit(node.children[1], left); - case TOK_CURRENT: - return value; - case "Function": - var resolvedArgs = []; - for (i = 0; i < node.children.length; i++) { - resolvedArgs.push(this.visit(node.children[i], value)); - } - return this.runtime.callFunction(node.name, resolvedArgs); - case "ExpressionReference": - var refNode = node.children[0]; - // Tag the node with a specific attribute so the type - // checker verify the type. - refNode.jmespathType = TOK_EXPREF; - return refNode; - default: - throw new Error("Unknown node type: " + node.type); - } - }, - computeSliceParams: function(arrayLength, sliceParams) { - var start = sliceParams[0]; - var stop = sliceParams[1]; - var step = sliceParams[2]; - var computed = [null, null, null]; - if (step === null) { - step = 1; - } else if (step === 0) { - var error = new Error("Invalid slice, step cannot be 0"); - error.name = "RuntimeError"; - throw error; - } - var stepValueNegative = step < 0 ? true : false; - if (start === null) { - start = stepValueNegative ? arrayLength - 1 : 0; - } else { - start = this.capSliceRange(arrayLength, start, step); - } +var _DescribeSubnetsCommand = class _DescribeSubnetsCommand 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("AmazonEC2", "DescribeSubnets", {}).n("EC2Client", "DescribeSubnetsCommand").f(void 0, void 0).ser(se_DescribeSubnetsCommand).de(de_DescribeSubnetsCommand).build() { +}; +__name(_DescribeSubnetsCommand, "DescribeSubnetsCommand"); +var DescribeSubnetsCommand = _DescribeSubnetsCommand; - if (stop === null) { - stop = stepValueNegative ? -1 : arrayLength; - } else { - stop = this.capSliceRange(arrayLength, stop, step); - } - computed[0] = start; - computed[1] = stop; - computed[2] = step; - return computed; - }, +// src/commands/DescribeTagsCommand.ts - capSliceRange: function(arrayLength, actualValue, step) { - if (actualValue < 0) { - actualValue += arrayLength; - if (actualValue < 0) { - actualValue = step < 0 ? -1 : 0; - } - } else if (actualValue >= arrayLength) { - actualValue = step < 0 ? arrayLength - 1 : arrayLength; - } - return actualValue; - } - - }; - - function Runtime(interpreter) { - this._interpreter = interpreter; - this.functionTable = { - // name: [function, ] - // The can be: - // - // { - // args: [[type1, type2], [type1, type2]], - // variadic: true|false - // } - // - // Each arg in the arg list is a list of valid types - // (if the function is overloaded and supports multiple - // types. If the type is "any" then no type checking - // occurs on the argument. Variadic is optional - // and if not provided is assumed to be false. - abs: {_func: this._functionAbs, _signature: [{types: [TYPE_NUMBER]}]}, - avg: {_func: this._functionAvg, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - ceil: {_func: this._functionCeil, _signature: [{types: [TYPE_NUMBER]}]}, - contains: { - _func: this._functionContains, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}, - {types: [TYPE_ANY]}]}, - "ends_with": { - _func: this._functionEndsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - floor: {_func: this._functionFloor, _signature: [{types: [TYPE_NUMBER]}]}, - length: { - _func: this._functionLength, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY, TYPE_OBJECT]}]}, - map: { - _func: this._functionMap, - _signature: [{types: [TYPE_EXPREF]}, {types: [TYPE_ARRAY]}]}, - max: { - _func: this._functionMax, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "merge": { - _func: this._functionMerge, - _signature: [{types: [TYPE_OBJECT], variadic: true}] - }, - "max_by": { - _func: this._functionMaxBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - sum: {_func: this._functionSum, _signature: [{types: [TYPE_ARRAY_NUMBER]}]}, - "starts_with": { - _func: this._functionStartsWith, - _signature: [{types: [TYPE_STRING]}, {types: [TYPE_STRING]}]}, - min: { - _func: this._functionMin, - _signature: [{types: [TYPE_ARRAY_NUMBER, TYPE_ARRAY_STRING]}]}, - "min_by": { - _func: this._functionMinBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - type: {_func: this._functionType, _signature: [{types: [TYPE_ANY]}]}, - keys: {_func: this._functionKeys, _signature: [{types: [TYPE_OBJECT]}]}, - values: {_func: this._functionValues, _signature: [{types: [TYPE_OBJECT]}]}, - sort: {_func: this._functionSort, _signature: [{types: [TYPE_ARRAY_STRING, TYPE_ARRAY_NUMBER]}]}, - "sort_by": { - _func: this._functionSortBy, - _signature: [{types: [TYPE_ARRAY]}, {types: [TYPE_EXPREF]}] - }, - join: { - _func: this._functionJoin, - _signature: [ - {types: [TYPE_STRING]}, - {types: [TYPE_ARRAY_STRING]} - ] - }, - reverse: { - _func: this._functionReverse, - _signature: [{types: [TYPE_STRING, TYPE_ARRAY]}]}, - "to_array": {_func: this._functionToArray, _signature: [{types: [TYPE_ANY]}]}, - "to_string": {_func: this._functionToString, _signature: [{types: [TYPE_ANY]}]}, - "to_number": {_func: this._functionToNumber, _signature: [{types: [TYPE_ANY]}]}, - "not_null": { - _func: this._functionNotNull, - _signature: [{types: [TYPE_ANY], variadic: true}] - } - }; - } - Runtime.prototype = { - callFunction: function(name, resolvedArgs) { - var functionEntry = this.functionTable[name]; - if (functionEntry === undefined) { - throw new Error("Unknown function: " + name + "()"); - } - this._validateArgs(name, resolvedArgs, functionEntry._signature); - return functionEntry._func.call(this, resolvedArgs); - }, - _validateArgs: function(name, args, signature) { - // Validating the args requires validating - // the correct arity and the correct type of each arg. - // If the last argument is declared as variadic, then we need - // a minimum number of args to be required. Otherwise it has to - // be an exact amount. - var pluralized; - if (signature[signature.length - 1].variadic) { - if (args.length < signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes at least" + signature.length + pluralized + - " but received " + args.length); - } - } else if (args.length !== signature.length) { - pluralized = signature.length === 1 ? " argument" : " arguments"; - throw new Error("ArgumentError: " + name + "() " + - "takes " + signature.length + pluralized + - " but received " + args.length); - } - var currentSpec; - var actualType; - var typeMatched; - for (var i = 0; i < signature.length; i++) { - typeMatched = false; - currentSpec = signature[i].types; - actualType = this._getTypeName(args[i]); - for (var j = 0; j < currentSpec.length; j++) { - if (this._typeMatches(actualType, currentSpec[j], args[i])) { - typeMatched = true; - break; - } - } - if (!typeMatched) { - var expected = currentSpec - .map(function(typeIdentifier) { - return TYPE_NAME_TABLE[typeIdentifier]; - }) - .join(','); - throw new Error("TypeError: " + name + "() " + - "expected argument " + (i + 1) + - " to be type " + expected + - " but received type " + - TYPE_NAME_TABLE[actualType] + " instead."); - } - } - }, - _typeMatches: function(actual, expected, argValue) { - if (expected === TYPE_ANY) { - return true; - } - if (expected === TYPE_ARRAY_STRING || - expected === TYPE_ARRAY_NUMBER || - expected === TYPE_ARRAY) { - // The expected type can either just be array, - // or it can require a specific subtype (array of numbers). - // - // The simplest case is if "array" with no subtype is specified. - if (expected === TYPE_ARRAY) { - return actual === TYPE_ARRAY; - } else if (actual === TYPE_ARRAY) { - // Otherwise we need to check subtypes. - // I think this has potential to be improved. - var subtype; - if (expected === TYPE_ARRAY_NUMBER) { - subtype = TYPE_NUMBER; - } else if (expected === TYPE_ARRAY_STRING) { - subtype = TYPE_STRING; - } - for (var i = 0; i < argValue.length; i++) { - if (!this._typeMatches( - this._getTypeName(argValue[i]), subtype, - argValue[i])) { - return false; - } - } - return true; - } - } else { - return actual === expected; - } - }, - _getTypeName: function(obj) { - switch (Object.prototype.toString.call(obj)) { - case "[object String]": - return TYPE_STRING; - case "[object Number]": - return TYPE_NUMBER; - case "[object Array]": - return TYPE_ARRAY; - case "[object Boolean]": - return TYPE_BOOLEAN; - case "[object Null]": - return TYPE_NULL; - case "[object Object]": - // Check if it's an expref. If it has, it's been - // tagged with a jmespathType attr of 'Expref'; - if (obj.jmespathType === TOK_EXPREF) { - return TYPE_EXPREF; - } else { - return TYPE_OBJECT; - } - } - }, +var _DescribeTagsCommand = class _DescribeTagsCommand 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("AmazonEC2", "DescribeTags", {}).n("EC2Client", "DescribeTagsCommand").f(void 0, void 0).ser(se_DescribeTagsCommand).de(de_DescribeTagsCommand).build() { +}; +__name(_DescribeTagsCommand, "DescribeTagsCommand"); +var DescribeTagsCommand = _DescribeTagsCommand; - _functionStartsWith: function(resolvedArgs) { - return resolvedArgs[0].lastIndexOf(resolvedArgs[1]) === 0; - }, +// src/commands/DescribeTrafficMirrorFiltersCommand.ts - _functionEndsWith: function(resolvedArgs) { - var searchStr = resolvedArgs[0]; - var suffix = resolvedArgs[1]; - return searchStr.indexOf(suffix, searchStr.length - suffix.length) !== -1; - }, - _functionReverse: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - if (typeName === TYPE_STRING) { - var originalStr = resolvedArgs[0]; - var reversedStr = ""; - for (var i = originalStr.length - 1; i >= 0; i--) { - reversedStr += originalStr[i]; - } - return reversedStr; - } else { - var reversedArray = resolvedArgs[0].slice(0); - reversedArray.reverse(); - return reversedArray; - } - }, - _functionAbs: function(resolvedArgs) { - return Math.abs(resolvedArgs[0]); - }, - _functionCeil: function(resolvedArgs) { - return Math.ceil(resolvedArgs[0]); - }, +var _DescribeTrafficMirrorFiltersCommand = class _DescribeTrafficMirrorFiltersCommand 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("AmazonEC2", "DescribeTrafficMirrorFilters", {}).n("EC2Client", "DescribeTrafficMirrorFiltersCommand").f(void 0, void 0).ser(se_DescribeTrafficMirrorFiltersCommand).de(de_DescribeTrafficMirrorFiltersCommand).build() { +}; +__name(_DescribeTrafficMirrorFiltersCommand, "DescribeTrafficMirrorFiltersCommand"); +var DescribeTrafficMirrorFiltersCommand = _DescribeTrafficMirrorFiltersCommand; - _functionAvg: function(resolvedArgs) { - var sum = 0; - var inputArray = resolvedArgs[0]; - for (var i = 0; i < inputArray.length; i++) { - sum += inputArray[i]; - } - return sum / inputArray.length; - }, +// src/commands/DescribeTrafficMirrorSessionsCommand.ts - _functionContains: function(resolvedArgs) { - return resolvedArgs[0].indexOf(resolvedArgs[1]) >= 0; - }, - _functionFloor: function(resolvedArgs) { - return Math.floor(resolvedArgs[0]); - }, - _functionLength: function(resolvedArgs) { - if (!isObject(resolvedArgs[0])) { - return resolvedArgs[0].length; - } else { - // As far as I can tell, there's no way to get the length - // of an object without O(n) iteration through the object. - return Object.keys(resolvedArgs[0]).length; - } - }, - _functionMap: function(resolvedArgs) { - var mapped = []; - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[0]; - var elements = resolvedArgs[1]; - for (var i = 0; i < elements.length; i++) { - mapped.push(interpreter.visit(exprefNode, elements[i])); - } - return mapped; - }, +var _DescribeTrafficMirrorSessionsCommand = class _DescribeTrafficMirrorSessionsCommand 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("AmazonEC2", "DescribeTrafficMirrorSessions", {}).n("EC2Client", "DescribeTrafficMirrorSessionsCommand").f(void 0, void 0).ser(se_DescribeTrafficMirrorSessionsCommand).de(de_DescribeTrafficMirrorSessionsCommand).build() { +}; +__name(_DescribeTrafficMirrorSessionsCommand, "DescribeTrafficMirrorSessionsCommand"); +var DescribeTrafficMirrorSessionsCommand = _DescribeTrafficMirrorSessionsCommand; - _functionMerge: function(resolvedArgs) { - var merged = {}; - for (var i = 0; i < resolvedArgs.length; i++) { - var current = resolvedArgs[i]; - for (var key in current) { - merged[key] = current[key]; - } - } - return merged; - }, +// src/commands/DescribeTrafficMirrorTargetsCommand.ts - _functionMax: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.max.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var maxElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (maxElement.localeCompare(elements[i]) < 0) { - maxElement = elements[i]; - } - } - return maxElement; - } - } else { - return null; - } - }, - _functionMin: function(resolvedArgs) { - if (resolvedArgs[0].length > 0) { - var typeName = this._getTypeName(resolvedArgs[0][0]); - if (typeName === TYPE_NUMBER) { - return Math.min.apply(Math, resolvedArgs[0]); - } else { - var elements = resolvedArgs[0]; - var minElement = elements[0]; - for (var i = 1; i < elements.length; i++) { - if (elements[i].localeCompare(minElement) < 0) { - minElement = elements[i]; - } - } - return minElement; - } - } else { - return null; - } - }, - _functionSum: function(resolvedArgs) { - var sum = 0; - var listToSum = resolvedArgs[0]; - for (var i = 0; i < listToSum.length; i++) { - sum += listToSum[i]; - } - return sum; - }, - _functionType: function(resolvedArgs) { - switch (this._getTypeName(resolvedArgs[0])) { - case TYPE_NUMBER: - return "number"; - case TYPE_STRING: - return "string"; - case TYPE_ARRAY: - return "array"; - case TYPE_OBJECT: - return "object"; - case TYPE_BOOLEAN: - return "boolean"; - case TYPE_EXPREF: - return "expref"; - case TYPE_NULL: - return "null"; - } - }, +var _DescribeTrafficMirrorTargetsCommand = class _DescribeTrafficMirrorTargetsCommand 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("AmazonEC2", "DescribeTrafficMirrorTargets", {}).n("EC2Client", "DescribeTrafficMirrorTargetsCommand").f(void 0, void 0).ser(se_DescribeTrafficMirrorTargetsCommand).de(de_DescribeTrafficMirrorTargetsCommand).build() { +}; +__name(_DescribeTrafficMirrorTargetsCommand, "DescribeTrafficMirrorTargetsCommand"); +var DescribeTrafficMirrorTargetsCommand = _DescribeTrafficMirrorTargetsCommand; - _functionKeys: function(resolvedArgs) { - return Object.keys(resolvedArgs[0]); - }, +// src/commands/DescribeTransitGatewayAttachmentsCommand.ts - _functionValues: function(resolvedArgs) { - var obj = resolvedArgs[0]; - var keys = Object.keys(obj); - var values = []; - for (var i = 0; i < keys.length; i++) { - values.push(obj[keys[i]]); - } - return values; - }, - _functionJoin: function(resolvedArgs) { - var joinChar = resolvedArgs[0]; - var listJoin = resolvedArgs[1]; - return listJoin.join(joinChar); - }, - _functionToArray: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_ARRAY) { - return resolvedArgs[0]; - } else { - return [resolvedArgs[0]]; - } - }, - _functionToString: function(resolvedArgs) { - if (this._getTypeName(resolvedArgs[0]) === TYPE_STRING) { - return resolvedArgs[0]; - } else { - return JSON.stringify(resolvedArgs[0]); - } - }, +var _DescribeTransitGatewayAttachmentsCommand = class _DescribeTransitGatewayAttachmentsCommand 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("AmazonEC2", "DescribeTransitGatewayAttachments", {}).n("EC2Client", "DescribeTransitGatewayAttachmentsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayAttachmentsCommand).de(de_DescribeTransitGatewayAttachmentsCommand).build() { +}; +__name(_DescribeTransitGatewayAttachmentsCommand, "DescribeTransitGatewayAttachmentsCommand"); +var DescribeTransitGatewayAttachmentsCommand = _DescribeTransitGatewayAttachmentsCommand; - _functionToNumber: function(resolvedArgs) { - var typeName = this._getTypeName(resolvedArgs[0]); - var convertedValue; - if (typeName === TYPE_NUMBER) { - return resolvedArgs[0]; - } else if (typeName === TYPE_STRING) { - convertedValue = +resolvedArgs[0]; - if (!isNaN(convertedValue)) { - return convertedValue; - } - } - return null; - }, +// src/commands/DescribeTransitGatewayConnectPeersCommand.ts - _functionNotNull: function(resolvedArgs) { - for (var i = 0; i < resolvedArgs.length; i++) { - if (this._getTypeName(resolvedArgs[i]) !== TYPE_NULL) { - return resolvedArgs[i]; - } - } - return null; - }, - _functionSort: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - sortedArray.sort(); - return sortedArray; - }, - _functionSortBy: function(resolvedArgs) { - var sortedArray = resolvedArgs[0].slice(0); - if (sortedArray.length === 0) { - return sortedArray; - } - var interpreter = this._interpreter; - var exprefNode = resolvedArgs[1]; - var requiredType = this._getTypeName( - interpreter.visit(exprefNode, sortedArray[0])); - if ([TYPE_NUMBER, TYPE_STRING].indexOf(requiredType) < 0) { - throw new Error("TypeError"); - } - var that = this; - // In order to get a stable sort out of an unstable - // sort algorithm, we decorate/sort/undecorate (DSU) - // by creating a new list of [index, element] pairs. - // In the cmp function, if the evaluated elements are - // equal, then the index will be used as the tiebreaker. - // After the decorated list has been sorted, it will be - // undecorated to extract the original elements. - var decorated = []; - for (var i = 0; i < sortedArray.length; i++) { - decorated.push([i, sortedArray[i]]); - } - decorated.sort(function(a, b) { - var exprA = interpreter.visit(exprefNode, a[1]); - var exprB = interpreter.visit(exprefNode, b[1]); - if (that._getTypeName(exprA) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprA)); - } else if (that._getTypeName(exprB) !== requiredType) { - throw new Error( - "TypeError: expected " + requiredType + ", received " + - that._getTypeName(exprB)); - } - if (exprA > exprB) { - return 1; - } else if (exprA < exprB) { - return -1; - } else { - // If they're equal compare the items by their - // order to maintain relative order of equal keys - // (i.e. to get a stable sort). - return a[0] - b[0]; - } - }); - // Undecorate: extract out the original list elements. - for (var j = 0; j < decorated.length; j++) { - sortedArray[j] = decorated[j][1]; - } - return sortedArray; - }, - _functionMaxBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var maxNumber = -Infinity; - var maxRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current > maxNumber) { - maxNumber = current; - maxRecord = resolvedArray[i]; - } - } - return maxRecord; - }, +var _DescribeTransitGatewayConnectPeersCommand = class _DescribeTransitGatewayConnectPeersCommand 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("AmazonEC2", "DescribeTransitGatewayConnectPeers", {}).n("EC2Client", "DescribeTransitGatewayConnectPeersCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayConnectPeersCommand).de(de_DescribeTransitGatewayConnectPeersCommand).build() { +}; +__name(_DescribeTransitGatewayConnectPeersCommand, "DescribeTransitGatewayConnectPeersCommand"); +var DescribeTransitGatewayConnectPeersCommand = _DescribeTransitGatewayConnectPeersCommand; - _functionMinBy: function(resolvedArgs) { - var exprefNode = resolvedArgs[1]; - var resolvedArray = resolvedArgs[0]; - var keyFunction = this.createKeyFunction(exprefNode, [TYPE_NUMBER, TYPE_STRING]); - var minNumber = Infinity; - var minRecord; - var current; - for (var i = 0; i < resolvedArray.length; i++) { - current = keyFunction(resolvedArray[i]); - if (current < minNumber) { - minNumber = current; - minRecord = resolvedArray[i]; - } - } - return minRecord; - }, +// src/commands/DescribeTransitGatewayConnectsCommand.ts - createKeyFunction: function(exprefNode, allowedTypes) { - var that = this; - var interpreter = this._interpreter; - var keyFunc = function(x) { - var current = interpreter.visit(exprefNode, x); - if (allowedTypes.indexOf(that._getTypeName(current)) < 0) { - var msg = "TypeError: expected one of " + allowedTypes + - ", received " + that._getTypeName(current); - throw new Error(msg); - } - return current; - }; - return keyFunc; - } - }; - function compile(stream) { - var parser = new Parser(); - var ast = parser.parse(stream); - return ast; - } - function tokenize(stream) { - var lexer = new Lexer(); - return lexer.tokenize(stream); - } +var _DescribeTransitGatewayConnectsCommand = class _DescribeTransitGatewayConnectsCommand 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("AmazonEC2", "DescribeTransitGatewayConnects", {}).n("EC2Client", "DescribeTransitGatewayConnectsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayConnectsCommand).de(de_DescribeTransitGatewayConnectsCommand).build() { +}; +__name(_DescribeTransitGatewayConnectsCommand, "DescribeTransitGatewayConnectsCommand"); +var DescribeTransitGatewayConnectsCommand = _DescribeTransitGatewayConnectsCommand; - function search(data, expression) { - var parser = new Parser(); - // This needs to be improved. Both the interpreter and runtime depend on - // each other. The runtime needs the interpreter to support exprefs. - // There's likely a clean way to avoid the cyclic dependency. - var runtime = new Runtime(); - var interpreter = new TreeInterpreter(runtime); - runtime._interpreter = interpreter; - var node = parser.parse(expression); - return interpreter.search(node, data); - } +// src/commands/DescribeTransitGatewayMulticastDomainsCommand.ts - exports.tokenize = tokenize; - exports.compile = compile; - exports.search = search; - exports.strictDeepEqual = strictDeepEqual; -})( false ? 0 : exports); -/***/ }), -/***/ 90250: -/***/ (function(module, exports, __nccwpck_require__) { +var _DescribeTransitGatewayMulticastDomainsCommand = class _DescribeTransitGatewayMulticastDomainsCommand 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("AmazonEC2", "DescribeTransitGatewayMulticastDomains", {}).n("EC2Client", "DescribeTransitGatewayMulticastDomainsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayMulticastDomainsCommand).de(de_DescribeTransitGatewayMulticastDomainsCommand).build() { +}; +__name(_DescribeTransitGatewayMulticastDomainsCommand, "DescribeTransitGatewayMulticastDomainsCommand"); +var DescribeTransitGatewayMulticastDomainsCommand = _DescribeTransitGatewayMulticastDomainsCommand; -/* module decorator */ module = __nccwpck_require__.nmd(module); -/** - * @license - * Lodash - * Copyright OpenJS Foundation and other contributors - * Released under MIT license - * Based on Underscore.js 1.8.3 - * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */ -;(function() { +// src/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts - /** Used as a safe reference for `undefined` in pre-ES5 environments. */ - var undefined; - /** Used as the semantic version number. */ - var VERSION = '4.17.21'; - /** Used as the size to enable large array optimizations. */ - var LARGE_ARRAY_SIZE = 200; - /** Error message constants. */ - var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.', - FUNC_ERROR_TEXT = 'Expected a function', - INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'; +var _DescribeTransitGatewayPeeringAttachmentsCommand = class _DescribeTransitGatewayPeeringAttachmentsCommand 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("AmazonEC2", "DescribeTransitGatewayPeeringAttachments", {}).n("EC2Client", "DescribeTransitGatewayPeeringAttachmentsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayPeeringAttachmentsCommand).de(de_DescribeTransitGatewayPeeringAttachmentsCommand).build() { +}; +__name(_DescribeTransitGatewayPeeringAttachmentsCommand, "DescribeTransitGatewayPeeringAttachmentsCommand"); +var DescribeTransitGatewayPeeringAttachmentsCommand = _DescribeTransitGatewayPeeringAttachmentsCommand; - /** Used to stand-in for `undefined` hash values. */ - var HASH_UNDEFINED = '__lodash_hash_undefined__'; +// src/commands/DescribeTransitGatewayPolicyTablesCommand.ts - /** Used as the maximum memoize cache size. */ - var MAX_MEMOIZE_SIZE = 500; - /** Used as the internal argument placeholder. */ - var PLACEHOLDER = '__lodash_placeholder__'; - /** Used to compose bitmasks for cloning. */ - var CLONE_DEEP_FLAG = 1, - CLONE_FLAT_FLAG = 2, - CLONE_SYMBOLS_FLAG = 4; - /** Used to compose bitmasks for value comparisons. */ - var COMPARE_PARTIAL_FLAG = 1, - COMPARE_UNORDERED_FLAG = 2; +var _DescribeTransitGatewayPolicyTablesCommand = class _DescribeTransitGatewayPolicyTablesCommand 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("AmazonEC2", "DescribeTransitGatewayPolicyTables", {}).n("EC2Client", "DescribeTransitGatewayPolicyTablesCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayPolicyTablesCommand).de(de_DescribeTransitGatewayPolicyTablesCommand).build() { +}; +__name(_DescribeTransitGatewayPolicyTablesCommand, "DescribeTransitGatewayPolicyTablesCommand"); +var DescribeTransitGatewayPolicyTablesCommand = _DescribeTransitGatewayPolicyTablesCommand; - /** Used to compose bitmasks for function metadata. */ - var WRAP_BIND_FLAG = 1, - WRAP_BIND_KEY_FLAG = 2, - WRAP_CURRY_BOUND_FLAG = 4, - WRAP_CURRY_FLAG = 8, - WRAP_CURRY_RIGHT_FLAG = 16, - WRAP_PARTIAL_FLAG = 32, - WRAP_PARTIAL_RIGHT_FLAG = 64, - WRAP_ARY_FLAG = 128, - WRAP_REARG_FLAG = 256, - WRAP_FLIP_FLAG = 512; +// src/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.ts - /** Used as default options for `_.truncate`. */ - var DEFAULT_TRUNC_LENGTH = 30, - DEFAULT_TRUNC_OMISSION = '...'; - /** Used to detect hot functions by number of calls within a span of milliseconds. */ - var HOT_COUNT = 800, - HOT_SPAN = 16; - /** Used to indicate the type of lazy iteratees. */ - var LAZY_FILTER_FLAG = 1, - LAZY_MAP_FLAG = 2, - LAZY_WHILE_FLAG = 3; - /** Used as references for various `Number` constants. */ - var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991, - MAX_INTEGER = 1.7976931348623157e+308, - NAN = 0 / 0; +var _DescribeTransitGatewayRouteTableAnnouncementsCommand = class _DescribeTransitGatewayRouteTableAnnouncementsCommand 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("AmazonEC2", "DescribeTransitGatewayRouteTableAnnouncements", {}).n("EC2Client", "DescribeTransitGatewayRouteTableAnnouncementsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayRouteTableAnnouncementsCommand).de(de_DescribeTransitGatewayRouteTableAnnouncementsCommand).build() { +}; +__name(_DescribeTransitGatewayRouteTableAnnouncementsCommand, "DescribeTransitGatewayRouteTableAnnouncementsCommand"); +var DescribeTransitGatewayRouteTableAnnouncementsCommand = _DescribeTransitGatewayRouteTableAnnouncementsCommand; - /** Used as references for the maximum length and index of an array. */ - var MAX_ARRAY_LENGTH = 4294967295, - MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1, - HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1; +// src/commands/DescribeTransitGatewayRouteTablesCommand.ts - /** Used to associate wrap methods with their bit flags. */ - var wrapFlags = [ - ['ary', WRAP_ARY_FLAG], - ['bind', WRAP_BIND_FLAG], - ['bindKey', WRAP_BIND_KEY_FLAG], - ['curry', WRAP_CURRY_FLAG], - ['curryRight', WRAP_CURRY_RIGHT_FLAG], - ['flip', WRAP_FLIP_FLAG], - ['partial', WRAP_PARTIAL_FLAG], - ['partialRight', WRAP_PARTIAL_RIGHT_FLAG], - ['rearg', WRAP_REARG_FLAG] - ]; - /** `Object#toString` result references. */ - var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - asyncTag = '[object AsyncFunction]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - domExcTag = '[object DOMException]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - nullTag = '[object Null]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - proxyTag = '[object Proxy]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]', - undefinedTag = '[object Undefined]', - weakMapTag = '[object WeakMap]', - weakSetTag = '[object WeakSet]'; - var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; - /** Used to match empty string literals in compiled template source. */ - var reEmptyStringLeading = /\b__p \+= '';/g, - reEmptyStringMiddle = /\b(__p \+=) '' \+/g, - reEmptyStringTrailing = /(__e\(.*?\)|\b__t\)) \+\n'';/g; +var _DescribeTransitGatewayRouteTablesCommand = class _DescribeTransitGatewayRouteTablesCommand 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("AmazonEC2", "DescribeTransitGatewayRouteTables", {}).n("EC2Client", "DescribeTransitGatewayRouteTablesCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayRouteTablesCommand).de(de_DescribeTransitGatewayRouteTablesCommand).build() { +}; +__name(_DescribeTransitGatewayRouteTablesCommand, "DescribeTransitGatewayRouteTablesCommand"); +var DescribeTransitGatewayRouteTablesCommand = _DescribeTransitGatewayRouteTablesCommand; - /** Used to match HTML entities and HTML characters. */ - var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g, - reUnescapedHtml = /[&<>"']/g, - reHasEscapedHtml = RegExp(reEscapedHtml.source), - reHasUnescapedHtml = RegExp(reUnescapedHtml.source); +// src/commands/DescribeTransitGatewaysCommand.ts - /** Used to match template delimiters. */ - var reEscape = /<%-([\s\S]+?)%>/g, - reEvaluate = /<%([\s\S]+?)%>/g, - reInterpolate = /<%=([\s\S]+?)%>/g; - /** Used to match property names within property paths. */ - var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, - reIsPlainProp = /^\w*$/, - rePropName = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g; - /** - * Used to match `RegExp` - * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns). - */ - var reRegExpChar = /[\\^$.*+?()[\]{}|]/g, - reHasRegExpChar = RegExp(reRegExpChar.source); - /** Used to match leading whitespace. */ - var reTrimStart = /^\s+/; +var _DescribeTransitGatewaysCommand = class _DescribeTransitGatewaysCommand 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("AmazonEC2", "DescribeTransitGateways", {}).n("EC2Client", "DescribeTransitGatewaysCommand").f(void 0, void 0).ser(se_DescribeTransitGatewaysCommand).de(de_DescribeTransitGatewaysCommand).build() { +}; +__name(_DescribeTransitGatewaysCommand, "DescribeTransitGatewaysCommand"); +var DescribeTransitGatewaysCommand = _DescribeTransitGatewaysCommand; - /** Used to match a single whitespace character. */ - var reWhitespace = /\s/; +// src/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts - /** Used to match wrap detail comments. */ - var reWrapComment = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, - reWrapDetails = /\{\n\/\* \[wrapped with (.+)\] \*/, - reSplitDetails = /,? & /; - /** Used to match words composed of alphanumeric characters. */ - var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g; - /** - * Used to validate the `validate` option in `_.template` variable. - * - * Forbids characters which could potentially change the meaning of the function argument definition: - * - "()," (modification of function parameters) - * - "=" (default value) - * - "[]{}" (destructuring of function parameters) - * - "/" (beginning of a comment) - * - whitespace - */ - var reForbiddenIdentifierChars = /[()=,{}\[\]\/\s]/; - /** Used to match backslashes in property paths. */ - var reEscapeChar = /\\(\\)?/g; +var _DescribeTransitGatewayVpcAttachmentsCommand = class _DescribeTransitGatewayVpcAttachmentsCommand 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("AmazonEC2", "DescribeTransitGatewayVpcAttachments", {}).n("EC2Client", "DescribeTransitGatewayVpcAttachmentsCommand").f(void 0, void 0).ser(se_DescribeTransitGatewayVpcAttachmentsCommand).de(de_DescribeTransitGatewayVpcAttachmentsCommand).build() { +}; +__name(_DescribeTransitGatewayVpcAttachmentsCommand, "DescribeTransitGatewayVpcAttachmentsCommand"); +var DescribeTransitGatewayVpcAttachmentsCommand = _DescribeTransitGatewayVpcAttachmentsCommand; - /** - * Used to match - * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components). - */ - var reEsTemplate = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g; +// src/commands/DescribeTrunkInterfaceAssociationsCommand.ts - /** Used to match `RegExp` flags from their coerced string values. */ - var reFlags = /\w*$/; - /** Used to detect bad signed hexadecimal string values. */ - var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - /** Used to detect binary string values. */ - var reIsBinary = /^0b[01]+$/i; - /** Used to detect host constructors (Safari). */ - var reIsHostCtor = /^\[object .+?Constructor\]$/; +var _DescribeTrunkInterfaceAssociationsCommand = class _DescribeTrunkInterfaceAssociationsCommand 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("AmazonEC2", "DescribeTrunkInterfaceAssociations", {}).n("EC2Client", "DescribeTrunkInterfaceAssociationsCommand").f(void 0, void 0).ser(se_DescribeTrunkInterfaceAssociationsCommand).de(de_DescribeTrunkInterfaceAssociationsCommand).build() { +}; +__name(_DescribeTrunkInterfaceAssociationsCommand, "DescribeTrunkInterfaceAssociationsCommand"); +var DescribeTrunkInterfaceAssociationsCommand = _DescribeTrunkInterfaceAssociationsCommand; - /** Used to detect octal string values. */ - var reIsOctal = /^0o[0-7]+$/i; +// src/commands/DescribeVerifiedAccessEndpointsCommand.ts - /** Used to detect unsigned integer values. */ - var reIsUint = /^(?:0|[1-9]\d*)$/; - /** Used to match Latin Unicode letters (excluding mathematical operators). */ - var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g; - /** Used to ensure capturing order of template delimiters. */ - var reNoMatch = /($^)/; - /** Used to match unescaped characters in compiled string literals. */ - var reUnescapedString = /['\n\r\u2028\u2029\\]/g; +var _DescribeVerifiedAccessEndpointsCommand = class _DescribeVerifiedAccessEndpointsCommand 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("AmazonEC2", "DescribeVerifiedAccessEndpoints", {}).n("EC2Client", "DescribeVerifiedAccessEndpointsCommand").f(void 0, void 0).ser(se_DescribeVerifiedAccessEndpointsCommand).de(de_DescribeVerifiedAccessEndpointsCommand).build() { +}; +__name(_DescribeVerifiedAccessEndpointsCommand, "DescribeVerifiedAccessEndpointsCommand"); +var DescribeVerifiedAccessEndpointsCommand = _DescribeVerifiedAccessEndpointsCommand; - /** Used to compose unicode character classes. */ - var rsAstralRange = '\\ud800-\\udfff', - rsComboMarksRange = '\\u0300-\\u036f', - reComboHalfMarksRange = '\\ufe20-\\ufe2f', - rsComboSymbolsRange = '\\u20d0-\\u20ff', - rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange, - rsDingbatRange = '\\u2700-\\u27bf', - rsLowerRange = 'a-z\\xdf-\\xf6\\xf8-\\xff', - rsMathOpRange = '\\xac\\xb1\\xd7\\xf7', - rsNonCharRange = '\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf', - rsPunctuationRange = '\\u2000-\\u206f', - rsSpaceRange = ' \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000', - rsUpperRange = 'A-Z\\xc0-\\xd6\\xd8-\\xde', - rsVarRange = '\\ufe0e\\ufe0f', - rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange; +// src/commands/DescribeVerifiedAccessGroupsCommand.ts - /** Used to compose unicode capture groups. */ - var rsApos = "['\u2019]", - rsAstral = '[' + rsAstralRange + ']', - rsBreak = '[' + rsBreakRange + ']', - rsCombo = '[' + rsComboRange + ']', - rsDigits = '\\d+', - rsDingbat = '[' + rsDingbatRange + ']', - rsLower = '[' + rsLowerRange + ']', - rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']', - rsFitz = '\\ud83c[\\udffb-\\udfff]', - rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')', - rsNonAstral = '[^' + rsAstralRange + ']', - rsRegional = '(?:\\ud83c[\\udde6-\\uddff]){2}', - rsSurrPair = '[\\ud800-\\udbff][\\udc00-\\udfff]', - rsUpper = '[' + rsUpperRange + ']', - rsZWJ = '\\u200d'; - /** Used to compose unicode regexes. */ - var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')', - rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')', - rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?', - rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?', - reOptMod = rsModifier + '?', - rsOptVar = '[' + rsVarRange + ']?', - rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*', - rsOrdLower = '\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])', - rsOrdUpper = '\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])', - rsSeq = rsOptVar + reOptMod + rsOptJoin, - rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq, - rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')'; - /** Used to match apostrophes. */ - var reApos = RegExp(rsApos, 'g'); - /** - * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and - * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols). - */ - var reComboMark = RegExp(rsCombo, 'g'); +var _DescribeVerifiedAccessGroupsCommand = class _DescribeVerifiedAccessGroupsCommand 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("AmazonEC2", "DescribeVerifiedAccessGroups", {}).n("EC2Client", "DescribeVerifiedAccessGroupsCommand").f(void 0, void 0).ser(se_DescribeVerifiedAccessGroupsCommand).de(de_DescribeVerifiedAccessGroupsCommand).build() { +}; +__name(_DescribeVerifiedAccessGroupsCommand, "DescribeVerifiedAccessGroupsCommand"); +var DescribeVerifiedAccessGroupsCommand = _DescribeVerifiedAccessGroupsCommand; - /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */ - var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g'); +// src/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.ts - /** Used to match complex or compound words. */ - var reUnicodeWord = RegExp([ - rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')', - rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')', - rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower, - rsUpper + '+' + rsOptContrUpper, - rsOrdUpper, - rsOrdLower, - rsDigits, - rsEmoji - ].join('|'), 'g'); - /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */ - var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']'); - /** Used to detect strings that need a more robust regexp to match words. */ - var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/; - /** Used to assign default `context` object properties. */ - var contextProps = [ - 'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array', - 'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object', - 'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array', - 'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap', - '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout' +var _DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = class _DescribeVerifiedAccessInstanceLoggingConfigurationsCommand 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("AmazonEC2", "DescribeVerifiedAccessInstanceLoggingConfigurations", {}).n("EC2Client", "DescribeVerifiedAccessInstanceLoggingConfigurationsCommand").f(void 0, void 0).ser(se_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand).de(de_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand).build() { +}; +__name(_DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, "DescribeVerifiedAccessInstanceLoggingConfigurationsCommand"); +var DescribeVerifiedAccessInstanceLoggingConfigurationsCommand = _DescribeVerifiedAccessInstanceLoggingConfigurationsCommand; - /** Used to make template sourceURLs easier to identify. */ - var templateCounter = -1; +// src/commands/DescribeVerifiedAccessInstancesCommand.ts - /** Used to identify `toStringTag` values of typed arrays. */ - var typedArrayTags = {}; - typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = - typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = - typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = - typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = - typedArrayTags[uint32Tag] = true; - typedArrayTags[argsTag] = typedArrayTags[arrayTag] = - typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = - typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = - typedArrayTags[errorTag] = typedArrayTags[funcTag] = - typedArrayTags[mapTag] = typedArrayTags[numberTag] = - typedArrayTags[objectTag] = typedArrayTags[regexpTag] = - typedArrayTags[setTag] = typedArrayTags[stringTag] = - typedArrayTags[weakMapTag] = false; - /** Used to identify `toStringTag` values supported by `_.clone`. */ - var cloneableTags = {}; - cloneableTags[argsTag] = cloneableTags[arrayTag] = - cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = - cloneableTags[boolTag] = cloneableTags[dateTag] = - cloneableTags[float32Tag] = cloneableTags[float64Tag] = - cloneableTags[int8Tag] = cloneableTags[int16Tag] = - cloneableTags[int32Tag] = cloneableTags[mapTag] = - cloneableTags[numberTag] = cloneableTags[objectTag] = - cloneableTags[regexpTag] = cloneableTags[setTag] = - cloneableTags[stringTag] = cloneableTags[symbolTag] = - cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = - cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; - cloneableTags[errorTag] = cloneableTags[funcTag] = - cloneableTags[weakMapTag] = false; - /** Used to map Latin Unicode letters to basic Latin letters. */ - var deburredLetters = { - // Latin-1 Supplement block. - '\xc0': 'A', '\xc1': 'A', '\xc2': 'A', '\xc3': 'A', '\xc4': 'A', '\xc5': 'A', - '\xe0': 'a', '\xe1': 'a', '\xe2': 'a', '\xe3': 'a', '\xe4': 'a', '\xe5': 'a', - '\xc7': 'C', '\xe7': 'c', - '\xd0': 'D', '\xf0': 'd', - '\xc8': 'E', '\xc9': 'E', '\xca': 'E', '\xcb': 'E', - '\xe8': 'e', '\xe9': 'e', '\xea': 'e', '\xeb': 'e', - '\xcc': 'I', '\xcd': 'I', '\xce': 'I', '\xcf': 'I', - '\xec': 'i', '\xed': 'i', '\xee': 'i', '\xef': 'i', - '\xd1': 'N', '\xf1': 'n', - '\xd2': 'O', '\xd3': 'O', '\xd4': 'O', '\xd5': 'O', '\xd6': 'O', '\xd8': 'O', - '\xf2': 'o', '\xf3': 'o', '\xf4': 'o', '\xf5': 'o', '\xf6': 'o', '\xf8': 'o', - '\xd9': 'U', '\xda': 'U', '\xdb': 'U', '\xdc': 'U', - '\xf9': 'u', '\xfa': 'u', '\xfb': 'u', '\xfc': 'u', - '\xdd': 'Y', '\xfd': 'y', '\xff': 'y', - '\xc6': 'Ae', '\xe6': 'ae', - '\xde': 'Th', '\xfe': 'th', - '\xdf': 'ss', - // Latin Extended-A block. - '\u0100': 'A', '\u0102': 'A', '\u0104': 'A', - '\u0101': 'a', '\u0103': 'a', '\u0105': 'a', - '\u0106': 'C', '\u0108': 'C', '\u010a': 'C', '\u010c': 'C', - '\u0107': 'c', '\u0109': 'c', '\u010b': 'c', '\u010d': 'c', - '\u010e': 'D', '\u0110': 'D', '\u010f': 'd', '\u0111': 'd', - '\u0112': 'E', '\u0114': 'E', '\u0116': 'E', '\u0118': 'E', '\u011a': 'E', - '\u0113': 'e', '\u0115': 'e', '\u0117': 'e', '\u0119': 'e', '\u011b': 'e', - '\u011c': 'G', '\u011e': 'G', '\u0120': 'G', '\u0122': 'G', - '\u011d': 'g', '\u011f': 'g', '\u0121': 'g', '\u0123': 'g', - '\u0124': 'H', '\u0126': 'H', '\u0125': 'h', '\u0127': 'h', - '\u0128': 'I', '\u012a': 'I', '\u012c': 'I', '\u012e': 'I', '\u0130': 'I', - '\u0129': 'i', '\u012b': 'i', '\u012d': 'i', '\u012f': 'i', '\u0131': 'i', - '\u0134': 'J', '\u0135': 'j', - '\u0136': 'K', '\u0137': 'k', '\u0138': 'k', - '\u0139': 'L', '\u013b': 'L', '\u013d': 'L', '\u013f': 'L', '\u0141': 'L', - '\u013a': 'l', '\u013c': 'l', '\u013e': 'l', '\u0140': 'l', '\u0142': 'l', - '\u0143': 'N', '\u0145': 'N', '\u0147': 'N', '\u014a': 'N', - '\u0144': 'n', '\u0146': 'n', '\u0148': 'n', '\u014b': 'n', - '\u014c': 'O', '\u014e': 'O', '\u0150': 'O', - '\u014d': 'o', '\u014f': 'o', '\u0151': 'o', - '\u0154': 'R', '\u0156': 'R', '\u0158': 'R', - '\u0155': 'r', '\u0157': 'r', '\u0159': 'r', - '\u015a': 'S', '\u015c': 'S', '\u015e': 'S', '\u0160': 'S', - '\u015b': 's', '\u015d': 's', '\u015f': 's', '\u0161': 's', - '\u0162': 'T', '\u0164': 'T', '\u0166': 'T', - '\u0163': 't', '\u0165': 't', '\u0167': 't', - '\u0168': 'U', '\u016a': 'U', '\u016c': 'U', '\u016e': 'U', '\u0170': 'U', '\u0172': 'U', - '\u0169': 'u', '\u016b': 'u', '\u016d': 'u', '\u016f': 'u', '\u0171': 'u', '\u0173': 'u', - '\u0174': 'W', '\u0175': 'w', - '\u0176': 'Y', '\u0177': 'y', '\u0178': 'Y', - '\u0179': 'Z', '\u017b': 'Z', '\u017d': 'Z', - '\u017a': 'z', '\u017c': 'z', '\u017e': 'z', - '\u0132': 'IJ', '\u0133': 'ij', - '\u0152': 'Oe', '\u0153': 'oe', - '\u0149': "'n", '\u017f': 's' - }; - /** Used to map characters to HTML entities. */ - var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' - }; +var _DescribeVerifiedAccessInstancesCommand = class _DescribeVerifiedAccessInstancesCommand 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("AmazonEC2", "DescribeVerifiedAccessInstances", {}).n("EC2Client", "DescribeVerifiedAccessInstancesCommand").f(void 0, void 0).ser(se_DescribeVerifiedAccessInstancesCommand).de(de_DescribeVerifiedAccessInstancesCommand).build() { +}; +__name(_DescribeVerifiedAccessInstancesCommand, "DescribeVerifiedAccessInstancesCommand"); +var DescribeVerifiedAccessInstancesCommand = _DescribeVerifiedAccessInstancesCommand; - /** Used to map HTML entities to characters. */ - var htmlUnescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" - }; +// src/commands/DescribeVerifiedAccessTrustProvidersCommand.ts - /** Used to escape characters for inclusion in compiled string literals. */ - var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - /** Built-in method references without a dependency on `root`. */ - var freeParseFloat = parseFloat, - freeParseInt = parseInt; - /** Detect free variable `global` from Node.js. */ - var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; - /** Detect free variable `self`. */ - var freeSelf = typeof self == 'object' && self && self.Object === Object && self; - /** Used as a reference to the global object. */ - var root = freeGlobal || freeSelf || Function('return this')(); +// src/models/models_5.ts - /** Detect free variable `exports`. */ - var freeExports = true && exports && !exports.nodeType && exports; +var VerifiedAccessLogDeliveryStatusCode = { + FAILED: "failed", + SUCCESS: "success" +}; +var VolumeAttributeName = { + autoEnableIO: "autoEnableIO", + productCodes: "productCodes" +}; +var VolumeModificationState = { + completed: "completed", + failed: "failed", + modifying: "modifying", + optimizing: "optimizing" +}; +var VolumeStatusName = { + io_enabled: "io-enabled", + io_performance: "io-performance" +}; +var VolumeStatusInfoStatus = { + impaired: "impaired", + insufficient_data: "insufficient-data", + ok: "ok" +}; +var VpcAttributeName = { + enableDnsHostnames: "enableDnsHostnames", + enableDnsSupport: "enableDnsSupport", + enableNetworkAddressUsageMetrics: "enableNetworkAddressUsageMetrics" +}; +var ImageBlockPublicAccessDisabledState = { + unblocked: "unblocked" +}; +var SnapshotBlockPublicAccessState = { + block_all_sharing: "block-all-sharing", + block_new_sharing: "block-new-sharing", + unblocked: "unblocked" +}; +var TransitGatewayPropagationState = { + disabled: "disabled", + disabling: "disabling", + enabled: "enabled", + enabling: "enabling" +}; +var ImageBlockPublicAccessEnabledState = { + block_new_sharing: "block-new-sharing" +}; +var ClientCertificateRevocationListStatusCode = { + active: "active", + pending: "pending" +}; +var UnlimitedSupportedInstanceFamily = { + t2: "t2", + t3: "t3", + t3a: "t3a", + t4g: "t4g" +}; +var PartitionLoadFrequency = { + DAILY: "daily", + MONTHLY: "monthly", + NONE: "none", + WEEKLY: "weekly" +}; +var EkPubKeyFormat = { + der: "der", + tpmt: "tpmt" +}; +var EkPubKeyType = { + ECC_SEC_P384: "ecc-sec-p384", + RSA_2048: "rsa-2048" +}; +var IpamComplianceStatus = { + compliant: "compliant", + ignored: "ignored", + noncompliant: "noncompliant", + unmanaged: "unmanaged" +}; +var IpamOverlapStatus = { + ignored: "ignored", + nonoverlapping: "nonoverlapping", + overlapping: "overlapping" +}; +var IpamAddressHistoryResourceType = { + eip: "eip", + instance: "instance", + network_interface: "network-interface", + subnet: "subnet", + vpc: "vpc" +}; +var DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProviders && { + VerifiedAccessTrustProviders: obj.VerifiedAccessTrustProviders.map( + (item) => VerifiedAccessTrustProviderFilterSensitiveLog(item) + ) + } +}), "DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog"); +var DescribeVpnConnectionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnections && { + VpnConnections: obj.VpnConnections.map((item) => VpnConnectionFilterSensitiveLog(item)) + } +}), "DescribeVpnConnectionsResultFilterSensitiveLog"); +var DetachVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProvider && { + VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) + } +}), "DetachVerifiedAccessTrustProviderResultFilterSensitiveLog"); +var GetInstanceTpmEkPubResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.KeyValue && { KeyValue: import_smithy_client.SENSITIVE_STRING } +}), "GetInstanceTpmEkPubResultFilterSensitiveLog"); + +// src/commands/DescribeVerifiedAccessTrustProvidersCommand.ts +var _DescribeVerifiedAccessTrustProvidersCommand = class _DescribeVerifiedAccessTrustProvidersCommand 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("AmazonEC2", "DescribeVerifiedAccessTrustProviders", {}).n("EC2Client", "DescribeVerifiedAccessTrustProvidersCommand").f(void 0, DescribeVerifiedAccessTrustProvidersResultFilterSensitiveLog).ser(se_DescribeVerifiedAccessTrustProvidersCommand).de(de_DescribeVerifiedAccessTrustProvidersCommand).build() { +}; +__name(_DescribeVerifiedAccessTrustProvidersCommand, "DescribeVerifiedAccessTrustProvidersCommand"); +var DescribeVerifiedAccessTrustProvidersCommand = _DescribeVerifiedAccessTrustProvidersCommand; - /** Detect free variable `module`. */ - var freeModule = freeExports && "object" == 'object' && module && !module.nodeType && module; +// src/commands/DescribeVolumeAttributeCommand.ts - /** Detect the popular CommonJS extension `module.exports`. */ - var moduleExports = freeModule && freeModule.exports === freeExports; - /** Detect free variable `process` from Node.js. */ - var freeProcess = moduleExports && freeGlobal.process; - /** Used to access faster Node.js helpers. */ - var nodeUtil = (function() { - try { - // Use `util.types` for Node.js 10+. - var types = freeModule && freeModule.require && freeModule.require('util').types; - if (types) { - return types; - } +var _DescribeVolumeAttributeCommand = class _DescribeVolumeAttributeCommand 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("AmazonEC2", "DescribeVolumeAttribute", {}).n("EC2Client", "DescribeVolumeAttributeCommand").f(void 0, void 0).ser(se_DescribeVolumeAttributeCommand).de(de_DescribeVolumeAttributeCommand).build() { +}; +__name(_DescribeVolumeAttributeCommand, "DescribeVolumeAttributeCommand"); +var DescribeVolumeAttributeCommand = _DescribeVolumeAttributeCommand; - // Legacy `process.binding('util')` for Node.js < 10. - return freeProcess && freeProcess.binding && freeProcess.binding('util'); - } catch (e) {} - }()); +// src/commands/DescribeVolumesCommand.ts - /* Node.js helper references. */ - var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer, - nodeIsDate = nodeUtil && nodeUtil.isDate, - nodeIsMap = nodeUtil && nodeUtil.isMap, - nodeIsRegExp = nodeUtil && nodeUtil.isRegExp, - nodeIsSet = nodeUtil && nodeUtil.isSet, - nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray; - /*--------------------------------------------------------------------------*/ - /** - * A faster alternative to `Function#apply`, this function invokes `func` - * with the `this` binding of `thisArg` and the arguments of `args`. - * - * @private - * @param {Function} func The function to invoke. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} args The arguments to invoke `func` with. - * @returns {*} Returns the result of `func`. - */ - function apply(func, thisArg, args) { - switch (args.length) { - case 0: return func.call(thisArg); - case 1: return func.call(thisArg, args[0]); - case 2: return func.call(thisArg, args[0], args[1]); - case 3: return func.call(thisArg, args[0], args[1], args[2]); - } - return func.apply(thisArg, args); - } - /** - * A specialized version of `baseAggregator` for arrays. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function arrayAggregator(array, setter, iteratee, accumulator) { - var index = -1, - length = array == null ? 0 : array.length; +var _DescribeVolumesCommand = class _DescribeVolumesCommand 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("AmazonEC2", "DescribeVolumes", {}).n("EC2Client", "DescribeVolumesCommand").f(void 0, void 0).ser(se_DescribeVolumesCommand).de(de_DescribeVolumesCommand).build() { +}; +__name(_DescribeVolumesCommand, "DescribeVolumesCommand"); +var DescribeVolumesCommand = _DescribeVolumesCommand; - while (++index < length) { - var value = array[index]; - setter(accumulator, value, iteratee(value), array); - } - return accumulator; - } +// src/commands/DescribeVolumesModificationsCommand.ts - /** - * A specialized version of `_.forEach` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEach(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length; - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; - } - /** - * A specialized version of `_.forEachRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns `array`. - */ - function arrayEachRight(array, iteratee) { - var length = array == null ? 0 : array.length; - while (length--) { - if (iteratee(array[length], length, array) === false) { - break; - } - } - return array; - } +var _DescribeVolumesModificationsCommand = class _DescribeVolumesModificationsCommand 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("AmazonEC2", "DescribeVolumesModifications", {}).n("EC2Client", "DescribeVolumesModificationsCommand").f(void 0, void 0).ser(se_DescribeVolumesModificationsCommand).de(de_DescribeVolumesModificationsCommand).build() { +}; +__name(_DescribeVolumesModificationsCommand, "DescribeVolumesModificationsCommand"); +var DescribeVolumesModificationsCommand = _DescribeVolumesModificationsCommand; - /** - * A specialized version of `_.every` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - */ - function arrayEvery(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; +// src/commands/DescribeVolumeStatusCommand.ts - while (++index < length) { - if (!predicate(array[index], index, array)) { - return false; - } - } - return true; - } - /** - * A specialized version of `_.filter` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function arrayFilter(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result[resIndex++] = value; - } - } - return result; - } - /** - * A specialized version of `_.includes` for arrays without support for - * specifying an index to search from. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludes(array, value) { - var length = array == null ? 0 : array.length; - return !!length && baseIndexOf(array, value, 0) > -1; - } +var _DescribeVolumeStatusCommand = class _DescribeVolumeStatusCommand 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("AmazonEC2", "DescribeVolumeStatus", {}).n("EC2Client", "DescribeVolumeStatusCommand").f(void 0, void 0).ser(se_DescribeVolumeStatusCommand).de(de_DescribeVolumeStatusCommand).build() { +}; +__name(_DescribeVolumeStatusCommand, "DescribeVolumeStatusCommand"); +var DescribeVolumeStatusCommand = _DescribeVolumeStatusCommand; - /** - * This function is like `arrayIncludes` except that it accepts a comparator. - * - * @private - * @param {Array} [array] The array to inspect. - * @param {*} target The value to search for. - * @param {Function} comparator The comparator invoked per element. - * @returns {boolean} Returns `true` if `target` is found, else `false`. - */ - function arrayIncludesWith(array, value, comparator) { - var index = -1, - length = array == null ? 0 : array.length; +// src/commands/DescribeVpcAttributeCommand.ts - while (++index < length) { - if (comparator(value, array[index])) { - return true; - } - } - return false; - } - /** - * A specialized version of `_.map` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function arrayMap(array, iteratee) { - var index = -1, - length = array == null ? 0 : array.length, - result = Array(length); - while (++index < length) { - result[index] = iteratee(array[index], index, array); - } - return result; - } - /** - * Appends the elements of `values` to `array`. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to append. - * @returns {Array} Returns `array`. - */ - function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; +var _DescribeVpcAttributeCommand = class _DescribeVpcAttributeCommand 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("AmazonEC2", "DescribeVpcAttribute", {}).n("EC2Client", "DescribeVpcAttributeCommand").f(void 0, void 0).ser(se_DescribeVpcAttributeCommand).de(de_DescribeVpcAttributeCommand).build() { +}; +__name(_DescribeVpcAttributeCommand, "DescribeVpcAttributeCommand"); +var DescribeVpcAttributeCommand = _DescribeVpcAttributeCommand; + +// src/commands/DescribeVpcClassicLinkCommand.ts + - while (++index < length) { - array[offset + index] = values[index]; - } - return array; - } - /** - * A specialized version of `_.reduce` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the first element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, - length = array == null ? 0 : array.length; - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; - } +var _DescribeVpcClassicLinkCommand = class _DescribeVpcClassicLinkCommand 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("AmazonEC2", "DescribeVpcClassicLink", {}).n("EC2Client", "DescribeVpcClassicLinkCommand").f(void 0, void 0).ser(se_DescribeVpcClassicLinkCommand).de(de_DescribeVpcClassicLinkCommand).build() { +}; +__name(_DescribeVpcClassicLinkCommand, "DescribeVpcClassicLinkCommand"); +var DescribeVpcClassicLinkCommand = _DescribeVpcClassicLinkCommand; - /** - * A specialized version of `_.reduceRight` for arrays without support for - * iteratee shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @param {boolean} [initAccum] Specify using the last element of `array` as - * the initial value. - * @returns {*} Returns the accumulated value. - */ - function arrayReduceRight(array, iteratee, accumulator, initAccum) { - var length = array == null ? 0 : array.length; - if (initAccum && length) { - accumulator = array[--length]; - } - while (length--) { - accumulator = iteratee(accumulator, array[length], length, array); - } - return accumulator; - } +// src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts - /** - * A specialized version of `_.some` for arrays without support for iteratee - * shorthands. - * - * @private - * @param {Array} [array] The array to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function arraySome(array, predicate) { - var index = -1, - length = array == null ? 0 : array.length; - while (++index < length) { - if (predicate(array[index], index, array)) { - return true; - } - } - return false; - } - /** - * Gets the size of an ASCII `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - var asciiSize = baseProperty('length'); - /** - * Converts an ASCII `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function asciiToArray(string) { - return string.split(''); - } +var _DescribeVpcClassicLinkDnsSupportCommand = class _DescribeVpcClassicLinkDnsSupportCommand 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("AmazonEC2", "DescribeVpcClassicLinkDnsSupport", {}).n("EC2Client", "DescribeVpcClassicLinkDnsSupportCommand").f(void 0, void 0).ser(se_DescribeVpcClassicLinkDnsSupportCommand).de(de_DescribeVpcClassicLinkDnsSupportCommand).build() { +}; +__name(_DescribeVpcClassicLinkDnsSupportCommand, "DescribeVpcClassicLinkDnsSupportCommand"); +var DescribeVpcClassicLinkDnsSupportCommand = _DescribeVpcClassicLinkDnsSupportCommand; - /** - * Splits an ASCII `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function asciiWords(string) { - return string.match(reAsciiWord) || []; - } +// src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts - /** - * The base implementation of methods like `_.findKey` and `_.findLastKey`, - * without support for iteratee shorthands, which iterates over `collection` - * using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the found element or its key, else `undefined`. - */ - function baseFindKey(collection, predicate, eachFunc) { - var result; - eachFunc(collection, function(value, key, collection) { - if (predicate(value, key, collection)) { - result = key; - return false; - } - }); - return result; - } - /** - * The base implementation of `_.findIndex` and `_.findLastIndex` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} predicate The function invoked per iteration. - * @param {number} fromIndex The index to search from. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseFindIndex(array, predicate, fromIndex, fromRight) { - var length = array.length, - index = fromIndex + (fromRight ? 1 : -1); - while ((fromRight ? index-- : ++index < length)) { - if (predicate(array[index], index, array)) { - return index; - } - } - return -1; - } - /** - * The base implementation of `_.indexOf` without `fromIndex` bounds checks. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOf(array, value, fromIndex) { - return value === value - ? strictIndexOf(array, value, fromIndex) - : baseFindIndex(array, baseIsNaN, fromIndex); - } +var _DescribeVpcEndpointConnectionNotificationsCommand = class _DescribeVpcEndpointConnectionNotificationsCommand 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("AmazonEC2", "DescribeVpcEndpointConnectionNotifications", {}).n("EC2Client", "DescribeVpcEndpointConnectionNotificationsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointConnectionNotificationsCommand).de(de_DescribeVpcEndpointConnectionNotificationsCommand).build() { +}; +__name(_DescribeVpcEndpointConnectionNotificationsCommand, "DescribeVpcEndpointConnectionNotificationsCommand"); +var DescribeVpcEndpointConnectionNotificationsCommand = _DescribeVpcEndpointConnectionNotificationsCommand; - /** - * This function is like `baseIndexOf` except that it accepts a comparator. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @param {Function} comparator The comparator invoked per element. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function baseIndexOfWith(array, value, fromIndex, comparator) { - var index = fromIndex - 1, - length = array.length; +// src/commands/DescribeVpcEndpointConnectionsCommand.ts - while (++index < length) { - if (comparator(array[index], value)) { - return index; - } - } - return -1; - } - /** - * The base implementation of `_.isNaN` without support for number objects. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - */ - function baseIsNaN(value) { - return value !== value; - } - /** - * The base implementation of `_.mean` and `_.meanBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the mean. - */ - function baseMean(array, iteratee) { - var length = array == null ? 0 : array.length; - return length ? (baseSum(array, iteratee) / length) : NAN; - } - /** - * The base implementation of `_.property` without support for deep paths. - * - * @private - * @param {string} key The key of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function baseProperty(key) { - return function(object) { - return object == null ? undefined : object[key]; - }; - } +var _DescribeVpcEndpointConnectionsCommand = class _DescribeVpcEndpointConnectionsCommand 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("AmazonEC2", "DescribeVpcEndpointConnections", {}).n("EC2Client", "DescribeVpcEndpointConnectionsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointConnectionsCommand).de(de_DescribeVpcEndpointConnectionsCommand).build() { +}; +__name(_DescribeVpcEndpointConnectionsCommand, "DescribeVpcEndpointConnectionsCommand"); +var DescribeVpcEndpointConnectionsCommand = _DescribeVpcEndpointConnectionsCommand; - /** - * The base implementation of `_.propertyOf` without support for deep paths. - * - * @private - * @param {Object} object The object to query. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyOf(object) { - return function(key) { - return object == null ? undefined : object[key]; - }; - } +// src/commands/DescribeVpcEndpointsCommand.ts - /** - * The base implementation of `_.reduce` and `_.reduceRight`, without support - * for iteratee shorthands, which iterates over `collection` using `eachFunc`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {*} accumulator The initial value. - * @param {boolean} initAccum Specify using the first or last element of - * `collection` as the initial value. - * @param {Function} eachFunc The function to iterate over `collection`. - * @returns {*} Returns the accumulated value. - */ - function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) { - eachFunc(collection, function(value, index, collection) { - accumulator = initAccum - ? (initAccum = false, value) - : iteratee(accumulator, value, index, collection); - }); - return accumulator; - } - /** - * The base implementation of `_.sortBy` which uses `comparer` to define the - * sort order of `array` and replaces criteria objects with their corresponding - * values. - * - * @private - * @param {Array} array The array to sort. - * @param {Function} comparer The function to define sort order. - * @returns {Array} Returns `array`. - */ - function baseSortBy(array, comparer) { - var length = array.length; - array.sort(comparer); - while (length--) { - array[length] = array[length].value; - } - return array; - } - /** - * The base implementation of `_.sum` and `_.sumBy` without support for - * iteratee shorthands. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {number} Returns the sum. - */ - function baseSum(array, iteratee) { - var result, - index = -1, - length = array.length; +var _DescribeVpcEndpointsCommand = class _DescribeVpcEndpointsCommand 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("AmazonEC2", "DescribeVpcEndpoints", {}).n("EC2Client", "DescribeVpcEndpointsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointsCommand).de(de_DescribeVpcEndpointsCommand).build() { +}; +__name(_DescribeVpcEndpointsCommand, "DescribeVpcEndpointsCommand"); +var DescribeVpcEndpointsCommand = _DescribeVpcEndpointsCommand; - while (++index < length) { - var current = iteratee(array[index]); - if (current !== undefined) { - result = result === undefined ? current : (result + current); - } - } - return result; - } +// src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts - /** - * The base implementation of `_.times` without support for iteratee shorthands - * or max array length checks. - * - * @private - * @param {number} n The number of times to invoke `iteratee`. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the array of results. - */ - function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - while (++index < n) { - result[index] = iteratee(index); - } - return result; - } - /** - * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array - * of key-value pairs for `object` corresponding to the property names of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the key-value pairs. - */ - function baseToPairs(object, props) { - return arrayMap(props, function(key) { - return [key, object[key]]; - }); - } - /** - * The base implementation of `_.trim`. - * - * @private - * @param {string} string The string to trim. - * @returns {string} Returns the trimmed string. - */ - function baseTrim(string) { - return string - ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '') - : string; - } +var _DescribeVpcEndpointServiceConfigurationsCommand = class _DescribeVpcEndpointServiceConfigurationsCommand 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("AmazonEC2", "DescribeVpcEndpointServiceConfigurations", {}).n("EC2Client", "DescribeVpcEndpointServiceConfigurationsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointServiceConfigurationsCommand).de(de_DescribeVpcEndpointServiceConfigurationsCommand).build() { +}; +__name(_DescribeVpcEndpointServiceConfigurationsCommand, "DescribeVpcEndpointServiceConfigurationsCommand"); +var DescribeVpcEndpointServiceConfigurationsCommand = _DescribeVpcEndpointServiceConfigurationsCommand; - /** - * The base implementation of `_.unary` without support for storing metadata. - * - * @private - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - */ - function baseUnary(func) { - return function(value) { - return func(value); - }; - } +// src/commands/DescribeVpcEndpointServicePermissionsCommand.ts - /** - * The base implementation of `_.values` and `_.valuesIn` which creates an - * array of `object` property values corresponding to the property names - * of `props`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} props The property names to get values for. - * @returns {Object} Returns the array of property values. - */ - function baseValues(object, props) { - return arrayMap(props, function(key) { - return object[key]; - }); - } - /** - * Checks if a `cache` value for `key` exists. - * - * @private - * @param {Object} cache The cache to query. - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function cacheHas(cache, key) { - return cache.has(key); - } - /** - * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the first unmatched string symbol. - */ - function charsStartIndex(strSymbols, chrSymbols) { - var index = -1, - length = strSymbols.length; - while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } +var _DescribeVpcEndpointServicePermissionsCommand = class _DescribeVpcEndpointServicePermissionsCommand 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("AmazonEC2", "DescribeVpcEndpointServicePermissions", {}).n("EC2Client", "DescribeVpcEndpointServicePermissionsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointServicePermissionsCommand).de(de_DescribeVpcEndpointServicePermissionsCommand).build() { +}; +__name(_DescribeVpcEndpointServicePermissionsCommand, "DescribeVpcEndpointServicePermissionsCommand"); +var DescribeVpcEndpointServicePermissionsCommand = _DescribeVpcEndpointServicePermissionsCommand; - /** - * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol - * that is not found in the character symbols. - * - * @private - * @param {Array} strSymbols The string symbols to inspect. - * @param {Array} chrSymbols The character symbols to find. - * @returns {number} Returns the index of the last unmatched string symbol. - */ - function charsEndIndex(strSymbols, chrSymbols) { - var index = strSymbols.length; +// src/commands/DescribeVpcEndpointServicesCommand.ts - while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {} - return index; - } - /** - * Gets the number of `placeholder` occurrences in `array`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} placeholder The placeholder to search for. - * @returns {number} Returns the placeholder count. - */ - function countHolders(array, placeholder) { - var length = array.length, - result = 0; - while (length--) { - if (array[length] === placeholder) { - ++result; - } - } - return result; - } - /** - * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A - * letters to basic Latin letters. - * - * @private - * @param {string} letter The matched letter to deburr. - * @returns {string} Returns the deburred letter. - */ - var deburrLetter = basePropertyOf(deburredLetters); +var _DescribeVpcEndpointServicesCommand = class _DescribeVpcEndpointServicesCommand 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("AmazonEC2", "DescribeVpcEndpointServices", {}).n("EC2Client", "DescribeVpcEndpointServicesCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointServicesCommand).de(de_DescribeVpcEndpointServicesCommand).build() { +}; +__name(_DescribeVpcEndpointServicesCommand, "DescribeVpcEndpointServicesCommand"); +var DescribeVpcEndpointServicesCommand = _DescribeVpcEndpointServicesCommand; - /** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - var escapeHtmlChar = basePropertyOf(htmlEscapes); +// src/commands/DescribeVpcPeeringConnectionsCommand.ts - /** - * Used by `_.template` to escape characters for inclusion in compiled string literals. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ - function escapeStringChar(chr) { - return '\\' + stringEscapes[chr]; - } - /** - * Gets the value at `key` of `object`. - * - * @private - * @param {Object} [object] The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function getValue(object, key) { - return object == null ? undefined : object[key]; - } - /** - * Checks if `string` contains Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a symbol is found, else `false`. - */ - function hasUnicode(string) { - return reHasUnicode.test(string); - } - /** - * Checks if `string` contains a word composed of Unicode symbols. - * - * @private - * @param {string} string The string to inspect. - * @returns {boolean} Returns `true` if a word is found, else `false`. - */ - function hasUnicodeWord(string) { - return reHasUnicodeWord.test(string); - } +var _DescribeVpcPeeringConnectionsCommand = class _DescribeVpcPeeringConnectionsCommand 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("AmazonEC2", "DescribeVpcPeeringConnections", {}).n("EC2Client", "DescribeVpcPeeringConnectionsCommand").f(void 0, void 0).ser(se_DescribeVpcPeeringConnectionsCommand).de(de_DescribeVpcPeeringConnectionsCommand).build() { +}; +__name(_DescribeVpcPeeringConnectionsCommand, "DescribeVpcPeeringConnectionsCommand"); +var DescribeVpcPeeringConnectionsCommand = _DescribeVpcPeeringConnectionsCommand; + +// src/commands/DescribeVpcsCommand.ts + + + + +var _DescribeVpcsCommand = class _DescribeVpcsCommand 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("AmazonEC2", "DescribeVpcs", {}).n("EC2Client", "DescribeVpcsCommand").f(void 0, void 0).ser(se_DescribeVpcsCommand).de(de_DescribeVpcsCommand).build() { +}; +__name(_DescribeVpcsCommand, "DescribeVpcsCommand"); +var DescribeVpcsCommand = _DescribeVpcsCommand; + +// src/commands/DescribeVpnConnectionsCommand.ts - /** - * Converts `iterator` to an array. - * - * @private - * @param {Object} iterator The iterator to convert. - * @returns {Array} Returns the converted array. - */ - function iteratorToArray(iterator) { - var data, - result = []; - while (!(data = iterator.next()).done) { - result.push(data.value); - } - return result; - } - /** - * Converts `map` to its key-value pairs. - * - * @private - * @param {Object} map The map to convert. - * @returns {Array} Returns the key-value pairs. - */ - function mapToArray(map) { - var index = -1, - result = Array(map.size); - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; - } +var _DescribeVpnConnectionsCommand = class _DescribeVpnConnectionsCommand 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("AmazonEC2", "DescribeVpnConnections", {}).n("EC2Client", "DescribeVpnConnectionsCommand").f(void 0, DescribeVpnConnectionsResultFilterSensitiveLog).ser(se_DescribeVpnConnectionsCommand).de(de_DescribeVpnConnectionsCommand).build() { +}; +__name(_DescribeVpnConnectionsCommand, "DescribeVpnConnectionsCommand"); +var DescribeVpnConnectionsCommand = _DescribeVpnConnectionsCommand; - /** - * Creates a unary function that invokes `func` with its argument transformed. - * - * @private - * @param {Function} func The function to wrap. - * @param {Function} transform The argument transform. - * @returns {Function} Returns the new function. - */ - function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; - } +// src/commands/DescribeVpnGatewaysCommand.ts - /** - * Replaces all `placeholder` elements in `array` with an internal placeholder - * and returns an array of their indexes. - * - * @private - * @param {Array} array The array to modify. - * @param {*} placeholder The placeholder to replace. - * @returns {Array} Returns the new array of placeholder indexes. - */ - function replaceHolders(array, placeholder) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; - while (++index < length) { - var value = array[index]; - if (value === placeholder || value === PLACEHOLDER) { - array[index] = PLACEHOLDER; - result[resIndex++] = index; - } - } - return result; - } - /** - * Converts `set` to an array of its values. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the values. - */ - function setToArray(set) { - var index = -1, - result = Array(set.size); - set.forEach(function(value) { - result[++index] = value; - }); - return result; - } +var _DescribeVpnGatewaysCommand = class _DescribeVpnGatewaysCommand 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("AmazonEC2", "DescribeVpnGateways", {}).n("EC2Client", "DescribeVpnGatewaysCommand").f(void 0, void 0).ser(se_DescribeVpnGatewaysCommand).de(de_DescribeVpnGatewaysCommand).build() { +}; +__name(_DescribeVpnGatewaysCommand, "DescribeVpnGatewaysCommand"); +var DescribeVpnGatewaysCommand = _DescribeVpnGatewaysCommand; - /** - * Converts `set` to its value-value pairs. - * - * @private - * @param {Object} set The set to convert. - * @returns {Array} Returns the value-value pairs. - */ - function setToPairs(set) { - var index = -1, - result = Array(set.size); +// src/commands/DetachClassicLinkVpcCommand.ts - set.forEach(function(value) { - result[++index] = [value, value]; - }); - return result; - } - /** - * A specialized version of `_.indexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictIndexOf(array, value, fromIndex) { - var index = fromIndex - 1, - length = array.length; - while (++index < length) { - if (array[index] === value) { - return index; - } - } - return -1; - } - /** - * A specialized version of `_.lastIndexOf` which performs strict equality - * comparisons of values, i.e. `===`. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} fromIndex The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function strictLastIndexOf(array, value, fromIndex) { - var index = fromIndex + 1; - while (index--) { - if (array[index] === value) { - return index; - } - } - return index; - } +var _DetachClassicLinkVpcCommand = class _DetachClassicLinkVpcCommand 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("AmazonEC2", "DetachClassicLinkVpc", {}).n("EC2Client", "DetachClassicLinkVpcCommand").f(void 0, void 0).ser(se_DetachClassicLinkVpcCommand).de(de_DetachClassicLinkVpcCommand).build() { +}; +__name(_DetachClassicLinkVpcCommand, "DetachClassicLinkVpcCommand"); +var DetachClassicLinkVpcCommand = _DetachClassicLinkVpcCommand; - /** - * Gets the number of symbols in `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the string size. - */ - function stringSize(string) { - return hasUnicode(string) - ? unicodeSize(string) - : asciiSize(string); - } +// src/commands/DetachInternetGatewayCommand.ts - /** - * Converts `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function stringToArray(string) { - return hasUnicode(string) - ? unicodeToArray(string) - : asciiToArray(string); - } - /** - * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace - * character of `string`. - * - * @private - * @param {string} string The string to inspect. - * @returns {number} Returns the index of the last non-whitespace character. - */ - function trimmedEndIndex(string) { - var index = string.length; - while (index-- && reWhitespace.test(string.charAt(index))) {} - return index; - } - /** - * Used by `_.unescape` to convert HTML entities to characters. - * - * @private - * @param {string} chr The matched character to unescape. - * @returns {string} Returns the unescaped character. - */ - var unescapeHtmlChar = basePropertyOf(htmlUnescapes); +var _DetachInternetGatewayCommand = class _DetachInternetGatewayCommand 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("AmazonEC2", "DetachInternetGateway", {}).n("EC2Client", "DetachInternetGatewayCommand").f(void 0, void 0).ser(se_DetachInternetGatewayCommand).de(de_DetachInternetGatewayCommand).build() { +}; +__name(_DetachInternetGatewayCommand, "DetachInternetGatewayCommand"); +var DetachInternetGatewayCommand = _DetachInternetGatewayCommand; - /** - * Gets the size of a Unicode `string`. - * - * @private - * @param {string} string The string inspect. - * @returns {number} Returns the string size. - */ - function unicodeSize(string) { - var result = reUnicode.lastIndex = 0; - while (reUnicode.test(string)) { - ++result; - } - return result; - } +// src/commands/DetachNetworkInterfaceCommand.ts - /** - * Converts a Unicode `string` to an array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the converted array. - */ - function unicodeToArray(string) { - return string.match(reUnicode) || []; - } - /** - * Splits a Unicode `string` into an array of its words. - * - * @private - * @param {string} The string to inspect. - * @returns {Array} Returns the words of `string`. - */ - function unicodeWords(string) { - return string.match(reUnicodeWord) || []; - } - /*--------------------------------------------------------------------------*/ - /** - * Create a new pristine `lodash` function using the `context` object. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Util - * @param {Object} [context=root] The context object. - * @returns {Function} Returns a new `lodash` function. - * @example - * - * _.mixin({ 'foo': _.constant('foo') }); - * - * var lodash = _.runInContext(); - * lodash.mixin({ 'bar': lodash.constant('bar') }); - * - * _.isFunction(_.foo); - * // => true - * _.isFunction(_.bar); - * // => false - * - * lodash.isFunction(lodash.foo); - * // => false - * lodash.isFunction(lodash.bar); - * // => true - * - * // Create a suped-up `defer` in Node.js. - * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer; - */ - var runInContext = (function runInContext(context) { - context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps)); +var _DetachNetworkInterfaceCommand = class _DetachNetworkInterfaceCommand 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("AmazonEC2", "DetachNetworkInterface", {}).n("EC2Client", "DetachNetworkInterfaceCommand").f(void 0, void 0).ser(se_DetachNetworkInterfaceCommand).de(de_DetachNetworkInterfaceCommand).build() { +}; +__name(_DetachNetworkInterfaceCommand, "DetachNetworkInterfaceCommand"); +var DetachNetworkInterfaceCommand = _DetachNetworkInterfaceCommand; - /** Built-in constructor references. */ - var Array = context.Array, - Date = context.Date, - Error = context.Error, - Function = context.Function, - Math = context.Math, - Object = context.Object, - RegExp = context.RegExp, - String = context.String, - TypeError = context.TypeError; +// src/commands/DetachVerifiedAccessTrustProviderCommand.ts - /** Used for built-in method references. */ - var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; - /** Used to detect overreaching core-js shims. */ - var coreJsData = context['__core-js_shared__']; - /** Used to resolve the decompiled source of functions. */ - var funcToString = funcProto.toString; - /** Used to check objects for own properties. */ - var hasOwnProperty = objectProto.hasOwnProperty; +var _DetachVerifiedAccessTrustProviderCommand = class _DetachVerifiedAccessTrustProviderCommand 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("AmazonEC2", "DetachVerifiedAccessTrustProvider", {}).n("EC2Client", "DetachVerifiedAccessTrustProviderCommand").f(void 0, DetachVerifiedAccessTrustProviderResultFilterSensitiveLog).ser(se_DetachVerifiedAccessTrustProviderCommand).de(de_DetachVerifiedAccessTrustProviderCommand).build() { +}; +__name(_DetachVerifiedAccessTrustProviderCommand, "DetachVerifiedAccessTrustProviderCommand"); +var DetachVerifiedAccessTrustProviderCommand = _DetachVerifiedAccessTrustProviderCommand; - /** Used to generate unique IDs. */ - var idCounter = 0; +// src/commands/DetachVolumeCommand.ts - /** Used to detect methods masquerading as native. */ - var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; - }()); - /** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) - * of values. - */ - var nativeObjectToString = objectProto.toString; - /** Used to infer the `Object` constructor. */ - var objectCtorString = funcToString.call(Object); - /** Used to restore the original `_` reference in `_.noConflict`. */ - var oldDash = root._; +var _DetachVolumeCommand = class _DetachVolumeCommand 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("AmazonEC2", "DetachVolume", {}).n("EC2Client", "DetachVolumeCommand").f(void 0, void 0).ser(se_DetachVolumeCommand).de(de_DetachVolumeCommand).build() { +}; +__name(_DetachVolumeCommand, "DetachVolumeCommand"); +var DetachVolumeCommand = _DetachVolumeCommand; - /** Used to detect if a method is native. */ - var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' - ); +// src/commands/DetachVpnGatewayCommand.ts - /** Built-in value references. */ - var Buffer = moduleExports ? context.Buffer : undefined, - Symbol = context.Symbol, - Uint8Array = context.Uint8Array, - allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined, - getPrototype = overArg(Object.getPrototypeOf, Object), - objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - splice = arrayProto.splice, - spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined, - symIterator = Symbol ? Symbol.iterator : undefined, - symToStringTag = Symbol ? Symbol.toStringTag : undefined; - var defineProperty = (function() { - try { - var func = getNative(Object, 'defineProperty'); - func({}, '', {}); - return func; - } catch (e) {} - }()); - /** Mocked built-ins. */ - var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout, - ctxNow = Date && Date.now !== root.Date.now && Date.now, - ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout; - /* Built-in method references for those with the same name as other `lodash` methods. */ - var nativeCeil = Math.ceil, - nativeFloor = Math.floor, - nativeGetSymbols = Object.getOwnPropertySymbols, - nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeIsFinite = context.isFinite, - nativeJoin = arrayProto.join, - nativeKeys = overArg(Object.keys, Object), - nativeMax = Math.max, - nativeMin = Math.min, - nativeNow = Date.now, - nativeParseInt = context.parseInt, - nativeRandom = Math.random, - nativeReverse = arrayProto.reverse; +var _DetachVpnGatewayCommand = class _DetachVpnGatewayCommand 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("AmazonEC2", "DetachVpnGateway", {}).n("EC2Client", "DetachVpnGatewayCommand").f(void 0, void 0).ser(se_DetachVpnGatewayCommand).de(de_DetachVpnGatewayCommand).build() { +}; +__name(_DetachVpnGatewayCommand, "DetachVpnGatewayCommand"); +var DetachVpnGatewayCommand = _DetachVpnGatewayCommand; - /* Built-in method references that are verified to be native. */ - var DataView = getNative(context, 'DataView'), - Map = getNative(context, 'Map'), - Promise = getNative(context, 'Promise'), - Set = getNative(context, 'Set'), - WeakMap = getNative(context, 'WeakMap'), - nativeCreate = getNative(Object, 'create'); +// src/commands/DisableAddressTransferCommand.ts - /** Used to store function metadata. */ - var metaMap = WeakMap && new WeakMap; - /** Used to lookup unminified function names. */ - var realNames = {}; - /** Used to detect maps, sets, and weakmaps. */ - var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); - /** Used to convert symbols to primitives and strings. */ - var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined, - symbolToString = symbolProto ? symbolProto.toString : undefined; +var _DisableAddressTransferCommand = class _DisableAddressTransferCommand 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("AmazonEC2", "DisableAddressTransfer", {}).n("EC2Client", "DisableAddressTransferCommand").f(void 0, void 0).ser(se_DisableAddressTransferCommand).de(de_DisableAddressTransferCommand).build() { +}; +__name(_DisableAddressTransferCommand, "DisableAddressTransferCommand"); +var DisableAddressTransferCommand = _DisableAddressTransferCommand; - /*------------------------------------------------------------------------*/ +// src/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.ts - /** - * Creates a `lodash` object which wraps `value` to enable implicit method - * chain sequences. Methods that operate on and return arrays, collections, - * and functions can be chained together. Methods that retrieve a single value - * or may return a primitive value will automatically end the chain sequence - * and return the unwrapped value. Otherwise, the value must be unwrapped - * with `_#value`. - * - * Explicit chain sequences, which must be unwrapped with `_#value`, may be - * enabled using `_.chain`. - * - * The execution of chained methods is lazy, that is, it's deferred until - * `_#value` is implicitly or explicitly called. - * - * Lazy evaluation allows several methods to support shortcut fusion. - * Shortcut fusion is an optimization to merge iteratee calls; this avoids - * the creation of intermediate arrays and can greatly reduce the number of - * iteratee executions. Sections of a chain sequence qualify for shortcut - * fusion if the section is applied to an array and iteratees accept only - * one argument. The heuristic for whether a section qualifies for shortcut - * fusion is subject to change. - * - * Chaining is supported in custom builds as long as the `_#value` method is - * directly or indirectly included in the build. - * - * In addition to lodash methods, wrappers have `Array` and `String` methods. - * - * The wrapper `Array` methods are: - * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift` - * - * The wrapper `String` methods are: - * `replace` and `split` - * - * The wrapper methods that support shortcut fusion are: - * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`, - * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`, - * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray` - * - * The chainable wrapper methods are: - * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`, - * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`, - * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`, - * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`, - * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`, - * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`, - * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`, - * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`, - * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`, - * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`, - * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`, - * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`, - * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`, - * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`, - * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`, - * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`, - * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`, - * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`, - * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`, - * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`, - * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`, - * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`, - * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`, - * `zipObject`, `zipObjectDeep`, and `zipWith` - * - * The wrapper methods that are **not** chainable by default are: - * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`, - * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`, - * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`, - * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`, - * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`, - * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`, - * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`, - * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`, - * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`, - * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`, - * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`, - * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`, - * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`, - * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`, - * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`, - * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`, - * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`, - * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`, - * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`, - * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`, - * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`, - * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`, - * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`, - * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`, - * `upperFirst`, `value`, and `words` - * - * @name _ - * @constructor - * @category Seq - * @param {*} value The value to wrap in a `lodash` instance. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2, 3]); - * - * // Returns an unwrapped value. - * wrapped.reduce(_.add); - * // => 6 - * - * // Returns a wrapped value. - * var squares = wrapped.map(square); - * - * _.isArray(squares); - * // => false - * - * _.isArray(squares.value()); - * // => true - */ - function lodash(value) { - if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) { - if (value instanceof LodashWrapper) { - return value; - } - if (hasOwnProperty.call(value, '__wrapped__')) { - return wrapperClone(value); - } - } - return new LodashWrapper(value); - } - /** - * The base implementation of `_.create` without support for assigning - * properties to the created object. - * - * @private - * @param {Object} proto The object to inherit from. - * @returns {Object} Returns the new object. - */ - var baseCreate = (function() { - function object() {} - return function(proto) { - if (!isObject(proto)) { - return {}; - } - if (objectCreate) { - return objectCreate(proto); - } - object.prototype = proto; - var result = new object; - object.prototype = undefined; - return result; - }; - }()); - /** - * The function whose prototype chain sequence wrappers inherit from. - * - * @private - */ - function baseLodash() { - // No operation performed. - } - /** - * The base constructor for creating `lodash` wrapper objects. - * - * @private - * @param {*} value The value to wrap. - * @param {boolean} [chainAll] Enable explicit method chain sequences. - */ - function LodashWrapper(value, chainAll) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__chain__ = !!chainAll; - this.__index__ = 0; - this.__values__ = undefined; - } +var _DisableAwsNetworkPerformanceMetricSubscriptionCommand = class _DisableAwsNetworkPerformanceMetricSubscriptionCommand 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("AmazonEC2", "DisableAwsNetworkPerformanceMetricSubscription", {}).n("EC2Client", "DisableAwsNetworkPerformanceMetricSubscriptionCommand").f(void 0, void 0).ser(se_DisableAwsNetworkPerformanceMetricSubscriptionCommand).de(de_DisableAwsNetworkPerformanceMetricSubscriptionCommand).build() { +}; +__name(_DisableAwsNetworkPerformanceMetricSubscriptionCommand, "DisableAwsNetworkPerformanceMetricSubscriptionCommand"); +var DisableAwsNetworkPerformanceMetricSubscriptionCommand = _DisableAwsNetworkPerformanceMetricSubscriptionCommand; - /** - * By default, the template delimiters used by lodash are like those in - * embedded Ruby (ERB) as well as ES2015 template strings. Change the - * following template settings to use alternative delimiters. - * - * @static - * @memberOf _ - * @type {Object} - */ - lodash.templateSettings = { +// src/commands/DisableEbsEncryptionByDefaultCommand.ts - /** - * Used to detect `data` property values to be HTML-escaped. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'escape': reEscape, - /** - * Used to detect code to be evaluated. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'evaluate': reEvaluate, - /** - * Used to detect `data` property values to inject. - * - * @memberOf _.templateSettings - * @type {RegExp} - */ - 'interpolate': reInterpolate, - /** - * Used to reference the data object in the template text. - * - * @memberOf _.templateSettings - * @type {string} - */ - 'variable': '', +var _DisableEbsEncryptionByDefaultCommand = class _DisableEbsEncryptionByDefaultCommand 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("AmazonEC2", "DisableEbsEncryptionByDefault", {}).n("EC2Client", "DisableEbsEncryptionByDefaultCommand").f(void 0, void 0).ser(se_DisableEbsEncryptionByDefaultCommand).de(de_DisableEbsEncryptionByDefaultCommand).build() { +}; +__name(_DisableEbsEncryptionByDefaultCommand, "DisableEbsEncryptionByDefaultCommand"); +var DisableEbsEncryptionByDefaultCommand = _DisableEbsEncryptionByDefaultCommand; - /** - * Used to import variables into the compiled template. - * - * @memberOf _.templateSettings - * @type {Object} - */ - 'imports': { +// src/commands/DisableFastLaunchCommand.ts - /** - * A reference to the `lodash` function. - * - * @memberOf _.templateSettings.imports - * @type {Function} - */ - '_': lodash - } - }; - // Ensure wrappers are instances of `baseLodash`. - lodash.prototype = baseLodash.prototype; - lodash.prototype.constructor = lodash; - LodashWrapper.prototype = baseCreate(baseLodash.prototype); - LodashWrapper.prototype.constructor = LodashWrapper; - /*------------------------------------------------------------------------*/ +var _DisableFastLaunchCommand = class _DisableFastLaunchCommand 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("AmazonEC2", "DisableFastLaunch", {}).n("EC2Client", "DisableFastLaunchCommand").f(void 0, void 0).ser(se_DisableFastLaunchCommand).de(de_DisableFastLaunchCommand).build() { +}; +__name(_DisableFastLaunchCommand, "DisableFastLaunchCommand"); +var DisableFastLaunchCommand = _DisableFastLaunchCommand; - /** - * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation. - * - * @private - * @constructor - * @param {*} value The value to wrap. - */ - function LazyWrapper(value) { - this.__wrapped__ = value; - this.__actions__ = []; - this.__dir__ = 1; - this.__filtered__ = false; - this.__iteratees__ = []; - this.__takeCount__ = MAX_ARRAY_LENGTH; - this.__views__ = []; - } +// src/commands/DisableFastSnapshotRestoresCommand.ts - /** - * Creates a clone of the lazy wrapper object. - * - * @private - * @name clone - * @memberOf LazyWrapper - * @returns {Object} Returns the cloned `LazyWrapper` object. - */ - function lazyClone() { - var result = new LazyWrapper(this.__wrapped__); - result.__actions__ = copyArray(this.__actions__); - result.__dir__ = this.__dir__; - result.__filtered__ = this.__filtered__; - result.__iteratees__ = copyArray(this.__iteratees__); - result.__takeCount__ = this.__takeCount__; - result.__views__ = copyArray(this.__views__); - return result; - } - /** - * Reverses the direction of lazy iteration. - * - * @private - * @name reverse - * @memberOf LazyWrapper - * @returns {Object} Returns the new reversed `LazyWrapper` object. - */ - function lazyReverse() { - if (this.__filtered__) { - var result = new LazyWrapper(this); - result.__dir__ = -1; - result.__filtered__ = true; - } else { - result = this.clone(); - result.__dir__ *= -1; - } - return result; - } - /** - * Extracts the unwrapped value from its lazy wrapper. - * - * @private - * @name value - * @memberOf LazyWrapper - * @returns {*} Returns the unwrapped value. - */ - function lazyValue() { - var array = this.__wrapped__.value(), - dir = this.__dir__, - isArr = isArray(array), - isRight = dir < 0, - arrLength = isArr ? array.length : 0, - view = getView(0, arrLength, this.__views__), - start = view.start, - end = view.end, - length = end - start, - index = isRight ? end : (start - 1), - iteratees = this.__iteratees__, - iterLength = iteratees.length, - resIndex = 0, - takeCount = nativeMin(length, this.__takeCount__); - if (!isArr || (!isRight && arrLength == length && takeCount == length)) { - return baseWrapperValue(array, this.__actions__); - } - var result = []; +var _DisableFastSnapshotRestoresCommand = class _DisableFastSnapshotRestoresCommand 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("AmazonEC2", "DisableFastSnapshotRestores", {}).n("EC2Client", "DisableFastSnapshotRestoresCommand").f(void 0, void 0).ser(se_DisableFastSnapshotRestoresCommand).de(de_DisableFastSnapshotRestoresCommand).build() { +}; +__name(_DisableFastSnapshotRestoresCommand, "DisableFastSnapshotRestoresCommand"); +var DisableFastSnapshotRestoresCommand = _DisableFastSnapshotRestoresCommand; - outer: - while (length-- && resIndex < takeCount) { - index += dir; +// src/commands/DisableImageBlockPublicAccessCommand.ts - var iterIndex = -1, - value = array[index]; - while (++iterIndex < iterLength) { - var data = iteratees[iterIndex], - iteratee = data.iteratee, - type = data.type, - computed = iteratee(value); - if (type == LAZY_MAP_FLAG) { - value = computed; - } else if (!computed) { - if (type == LAZY_FILTER_FLAG) { - continue outer; - } else { - break outer; - } - } - } - result[resIndex++] = value; - } - return result; - } - // Ensure `LazyWrapper` is an instance of `baseLodash`. - LazyWrapper.prototype = baseCreate(baseLodash.prototype); - LazyWrapper.prototype.constructor = LazyWrapper; +var _DisableImageBlockPublicAccessCommand = class _DisableImageBlockPublicAccessCommand 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("AmazonEC2", "DisableImageBlockPublicAccess", {}).n("EC2Client", "DisableImageBlockPublicAccessCommand").f(void 0, void 0).ser(se_DisableImageBlockPublicAccessCommand).de(de_DisableImageBlockPublicAccessCommand).build() { +}; +__name(_DisableImageBlockPublicAccessCommand, "DisableImageBlockPublicAccessCommand"); +var DisableImageBlockPublicAccessCommand = _DisableImageBlockPublicAccessCommand; - /*------------------------------------------------------------------------*/ +// src/commands/DisableImageCommand.ts - /** - * Creates a hash object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Hash(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - /** - * Removes all key-value entries from the hash. - * - * @private - * @name clear - * @memberOf Hash - */ - function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; - this.size = 0; - } - /** - * Removes `key` and its value from the hash. - * - * @private - * @name delete - * @memberOf Hash - * @param {Object} hash The hash to modify. - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function hashDelete(key) { - var result = this.has(key) && delete this.__data__[key]; - this.size -= result ? 1 : 0; - return result; - } +var _DisableImageCommand = class _DisableImageCommand 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("AmazonEC2", "DisableImage", {}).n("EC2Client", "DisableImageCommand").f(void 0, void 0).ser(se_DisableImageCommand).de(de_DisableImageCommand).build() { +}; +__name(_DisableImageCommand, "DisableImageCommand"); +var DisableImageCommand = _DisableImageCommand; - /** - * Gets the hash value for `key`. - * - * @private - * @name get - * @memberOf Hash - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; - } +// src/commands/DisableImageDeprecationCommand.ts - /** - * Checks if a hash value for `key` exists. - * - * @private - * @name has - * @memberOf Hash - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function hashHas(key) { - var data = this.__data__; - return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key); - } - /** - * Sets the hash `key` to `value`. - * - * @private - * @name set - * @memberOf Hash - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the hash instance. - */ - function hashSet(key, value) { - var data = this.__data__; - this.size += this.has(key) ? 0 : 1; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; - } - // Add methods to `Hash`. - Hash.prototype.clear = hashClear; - Hash.prototype['delete'] = hashDelete; - Hash.prototype.get = hashGet; - Hash.prototype.has = hashHas; - Hash.prototype.set = hashSet; - /*------------------------------------------------------------------------*/ +var _DisableImageDeprecationCommand = class _DisableImageDeprecationCommand 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("AmazonEC2", "DisableImageDeprecation", {}).n("EC2Client", "DisableImageDeprecationCommand").f(void 0, void 0).ser(se_DisableImageDeprecationCommand).de(de_DisableImageDeprecationCommand).build() { +}; +__name(_DisableImageDeprecationCommand, "DisableImageDeprecationCommand"); +var DisableImageDeprecationCommand = _DisableImageDeprecationCommand; - /** - * Creates an list cache object. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function ListCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; +// src/commands/DisableImageDeregistrationProtectionCommand.ts - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - /** - * Removes all key-value entries from the list cache. - * - * @private - * @name clear - * @memberOf ListCache - */ - function listCacheClear() { - this.__data__ = []; - this.size = 0; - } - /** - * Removes `key` and its value from the list cache. - * - * @private - * @name delete - * @memberOf ListCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - --this.size; - return true; - } +var _DisableImageDeregistrationProtectionCommand = class _DisableImageDeregistrationProtectionCommand 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("AmazonEC2", "DisableImageDeregistrationProtection", {}).n("EC2Client", "DisableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_DisableImageDeregistrationProtectionCommand).de(de_DisableImageDeregistrationProtectionCommand).build() { +}; +__name(_DisableImageDeregistrationProtectionCommand, "DisableImageDeregistrationProtectionCommand"); +var DisableImageDeregistrationProtectionCommand = _DisableImageDeregistrationProtectionCommand; - /** - * Gets the list cache value for `key`. - * - * @private - * @name get - * @memberOf ListCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); +// src/commands/DisableIpamOrganizationAdminAccountCommand.ts - return index < 0 ? undefined : data[index][1]; - } - /** - * Checks if a list cache value for `key` exists. - * - * @private - * @name has - * @memberOf ListCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; - } - /** - * Sets the list cache `key` to `value`. - * - * @private - * @name set - * @memberOf ListCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the list cache instance. - */ - function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - if (index < 0) { - ++this.size; - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; - } +var _DisableIpamOrganizationAdminAccountCommand = class _DisableIpamOrganizationAdminAccountCommand 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("AmazonEC2", "DisableIpamOrganizationAdminAccount", {}).n("EC2Client", "DisableIpamOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_DisableIpamOrganizationAdminAccountCommand).de(de_DisableIpamOrganizationAdminAccountCommand).build() { +}; +__name(_DisableIpamOrganizationAdminAccountCommand, "DisableIpamOrganizationAdminAccountCommand"); +var DisableIpamOrganizationAdminAccountCommand = _DisableIpamOrganizationAdminAccountCommand; - // Add methods to `ListCache`. - ListCache.prototype.clear = listCacheClear; - ListCache.prototype['delete'] = listCacheDelete; - ListCache.prototype.get = listCacheGet; - ListCache.prototype.has = listCacheHas; - ListCache.prototype.set = listCacheSet; +// src/commands/DisableSerialConsoleAccessCommand.ts - /*------------------------------------------------------------------------*/ - /** - * Creates a map cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function MapCache(entries) { - var index = -1, - length = entries == null ? 0 : entries.length; - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } - } - /** - * Removes all key-value entries from the map. - * - * @private - * @name clear - * @memberOf MapCache - */ - function mapCacheClear() { - this.size = 0; - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; - } +var _DisableSerialConsoleAccessCommand = class _DisableSerialConsoleAccessCommand 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("AmazonEC2", "DisableSerialConsoleAccess", {}).n("EC2Client", "DisableSerialConsoleAccessCommand").f(void 0, void 0).ser(se_DisableSerialConsoleAccessCommand).de(de_DisableSerialConsoleAccessCommand).build() { +}; +__name(_DisableSerialConsoleAccessCommand, "DisableSerialConsoleAccessCommand"); +var DisableSerialConsoleAccessCommand = _DisableSerialConsoleAccessCommand; + +// src/commands/DisableSnapshotBlockPublicAccessCommand.ts + + + + +var _DisableSnapshotBlockPublicAccessCommand = class _DisableSnapshotBlockPublicAccessCommand 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("AmazonEC2", "DisableSnapshotBlockPublicAccess", {}).n("EC2Client", "DisableSnapshotBlockPublicAccessCommand").f(void 0, void 0).ser(se_DisableSnapshotBlockPublicAccessCommand).de(de_DisableSnapshotBlockPublicAccessCommand).build() { +}; +__name(_DisableSnapshotBlockPublicAccessCommand, "DisableSnapshotBlockPublicAccessCommand"); +var DisableSnapshotBlockPublicAccessCommand = _DisableSnapshotBlockPublicAccessCommand; + +// src/commands/DisableTransitGatewayRouteTablePropagationCommand.ts + + + + +var _DisableTransitGatewayRouteTablePropagationCommand = class _DisableTransitGatewayRouteTablePropagationCommand 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("AmazonEC2", "DisableTransitGatewayRouteTablePropagation", {}).n("EC2Client", "DisableTransitGatewayRouteTablePropagationCommand").f(void 0, void 0).ser(se_DisableTransitGatewayRouteTablePropagationCommand).de(de_DisableTransitGatewayRouteTablePropagationCommand).build() { +}; +__name(_DisableTransitGatewayRouteTablePropagationCommand, "DisableTransitGatewayRouteTablePropagationCommand"); +var DisableTransitGatewayRouteTablePropagationCommand = _DisableTransitGatewayRouteTablePropagationCommand; + +// src/commands/DisableVgwRoutePropagationCommand.ts + + + + +var _DisableVgwRoutePropagationCommand = class _DisableVgwRoutePropagationCommand 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("AmazonEC2", "DisableVgwRoutePropagation", {}).n("EC2Client", "DisableVgwRoutePropagationCommand").f(void 0, void 0).ser(se_DisableVgwRoutePropagationCommand).de(de_DisableVgwRoutePropagationCommand).build() { +}; +__name(_DisableVgwRoutePropagationCommand, "DisableVgwRoutePropagationCommand"); +var DisableVgwRoutePropagationCommand = _DisableVgwRoutePropagationCommand; + +// src/commands/DisableVpcClassicLinkCommand.ts + + + + +var _DisableVpcClassicLinkCommand = class _DisableVpcClassicLinkCommand 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("AmazonEC2", "DisableVpcClassicLink", {}).n("EC2Client", "DisableVpcClassicLinkCommand").f(void 0, void 0).ser(se_DisableVpcClassicLinkCommand).de(de_DisableVpcClassicLinkCommand).build() { +}; +__name(_DisableVpcClassicLinkCommand, "DisableVpcClassicLinkCommand"); +var DisableVpcClassicLinkCommand = _DisableVpcClassicLinkCommand; + +// src/commands/DisableVpcClassicLinkDnsSupportCommand.ts + + + + +var _DisableVpcClassicLinkDnsSupportCommand = class _DisableVpcClassicLinkDnsSupportCommand 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("AmazonEC2", "DisableVpcClassicLinkDnsSupport", {}).n("EC2Client", "DisableVpcClassicLinkDnsSupportCommand").f(void 0, void 0).ser(se_DisableVpcClassicLinkDnsSupportCommand).de(de_DisableVpcClassicLinkDnsSupportCommand).build() { +}; +__name(_DisableVpcClassicLinkDnsSupportCommand, "DisableVpcClassicLinkDnsSupportCommand"); +var DisableVpcClassicLinkDnsSupportCommand = _DisableVpcClassicLinkDnsSupportCommand; - /** - * Removes `key` and its value from the map. - * - * @private - * @name delete - * @memberOf MapCache - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function mapCacheDelete(key) { - var result = getMapData(this, key)['delete'](key); - this.size -= result ? 1 : 0; - return result; - } +// src/commands/DisassociateAddressCommand.ts - /** - * Gets the map value for `key`. - * - * @private - * @name get - * @memberOf MapCache - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function mapCacheGet(key) { - return getMapData(this, key).get(key); - } - /** - * Checks if a map value for `key` exists. - * - * @private - * @name has - * @memberOf MapCache - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function mapCacheHas(key) { - return getMapData(this, key).has(key); - } - /** - * Sets the map `key` to `value`. - * - * @private - * @name set - * @memberOf MapCache - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the map cache instance. - */ - function mapCacheSet(key, value) { - var data = getMapData(this, key), - size = data.size; - data.set(key, value); - this.size += data.size == size ? 0 : 1; - return this; - } +var _DisassociateAddressCommand = class _DisassociateAddressCommand 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("AmazonEC2", "DisassociateAddress", {}).n("EC2Client", "DisassociateAddressCommand").f(void 0, void 0).ser(se_DisassociateAddressCommand).de(de_DisassociateAddressCommand).build() { +}; +__name(_DisassociateAddressCommand, "DisassociateAddressCommand"); +var DisassociateAddressCommand = _DisassociateAddressCommand; - // Add methods to `MapCache`. - MapCache.prototype.clear = mapCacheClear; - MapCache.prototype['delete'] = mapCacheDelete; - MapCache.prototype.get = mapCacheGet; - MapCache.prototype.has = mapCacheHas; - MapCache.prototype.set = mapCacheSet; +// src/commands/DisassociateClientVpnTargetNetworkCommand.ts - /*------------------------------------------------------------------------*/ - /** - * - * Creates an array cache object to store unique values. - * - * @private - * @constructor - * @param {Array} [values] The values to cache. - */ - function SetCache(values) { - var index = -1, - length = values == null ? 0 : values.length; - this.__data__ = new MapCache; - while (++index < length) { - this.add(values[index]); - } - } - /** - * Adds `value` to the array cache. - * - * @private - * @name add - * @memberOf SetCache - * @alias push - * @param {*} value The value to cache. - * @returns {Object} Returns the cache instance. - */ - function setCacheAdd(value) { - this.__data__.set(value, HASH_UNDEFINED); - return this; - } +var _DisassociateClientVpnTargetNetworkCommand = class _DisassociateClientVpnTargetNetworkCommand 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("AmazonEC2", "DisassociateClientVpnTargetNetwork", {}).n("EC2Client", "DisassociateClientVpnTargetNetworkCommand").f(void 0, void 0).ser(se_DisassociateClientVpnTargetNetworkCommand).de(de_DisassociateClientVpnTargetNetworkCommand).build() { +}; +__name(_DisassociateClientVpnTargetNetworkCommand, "DisassociateClientVpnTargetNetworkCommand"); +var DisassociateClientVpnTargetNetworkCommand = _DisassociateClientVpnTargetNetworkCommand; - /** - * Checks if `value` is in the array cache. - * - * @private - * @name has - * @memberOf SetCache - * @param {*} value The value to search for. - * @returns {number} Returns `true` if `value` is found, else `false`. - */ - function setCacheHas(value) { - return this.__data__.has(value); - } +// src/commands/DisassociateEnclaveCertificateIamRoleCommand.ts - // Add methods to `SetCache`. - SetCache.prototype.add = SetCache.prototype.push = setCacheAdd; - SetCache.prototype.has = setCacheHas; - /*------------------------------------------------------------------------*/ - /** - * Creates a stack cache object to store key-value pairs. - * - * @private - * @constructor - * @param {Array} [entries] The key-value pairs to cache. - */ - function Stack(entries) { - var data = this.__data__ = new ListCache(entries); - this.size = data.size; - } - /** - * Removes all key-value entries from the stack. - * - * @private - * @name clear - * @memberOf Stack - */ - function stackClear() { - this.__data__ = new ListCache; - this.size = 0; - } +var _DisassociateEnclaveCertificateIamRoleCommand = class _DisassociateEnclaveCertificateIamRoleCommand 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("AmazonEC2", "DisassociateEnclaveCertificateIamRole", {}).n("EC2Client", "DisassociateEnclaveCertificateIamRoleCommand").f(void 0, void 0).ser(se_DisassociateEnclaveCertificateIamRoleCommand).de(de_DisassociateEnclaveCertificateIamRoleCommand).build() { +}; +__name(_DisassociateEnclaveCertificateIamRoleCommand, "DisassociateEnclaveCertificateIamRoleCommand"); +var DisassociateEnclaveCertificateIamRoleCommand = _DisassociateEnclaveCertificateIamRoleCommand; - /** - * Removes `key` and its value from the stack. - * - * @private - * @name delete - * @memberOf Stack - * @param {string} key The key of the value to remove. - * @returns {boolean} Returns `true` if the entry was removed, else `false`. - */ - function stackDelete(key) { - var data = this.__data__, - result = data['delete'](key); +// src/commands/DisassociateIamInstanceProfileCommand.ts - this.size = data.size; - return result; - } - /** - * Gets the stack value for `key`. - * - * @private - * @name get - * @memberOf Stack - * @param {string} key The key of the value to get. - * @returns {*} Returns the entry value. - */ - function stackGet(key) { - return this.__data__.get(key); - } - /** - * Checks if a stack value for `key` exists. - * - * @private - * @name has - * @memberOf Stack - * @param {string} key The key of the entry to check. - * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`. - */ - function stackHas(key) { - return this.__data__.has(key); - } - /** - * Sets the stack `key` to `value`. - * - * @private - * @name set - * @memberOf Stack - * @param {string} key The key of the value to set. - * @param {*} value The value to set. - * @returns {Object} Returns the stack cache instance. - */ - function stackSet(key, value) { - var data = this.__data__; - if (data instanceof ListCache) { - var pairs = data.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - this.size = ++data.size; - return this; - } - data = this.__data__ = new MapCache(pairs); - } - data.set(key, value); - this.size = data.size; - return this; - } +var _DisassociateIamInstanceProfileCommand = class _DisassociateIamInstanceProfileCommand 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("AmazonEC2", "DisassociateIamInstanceProfile", {}).n("EC2Client", "DisassociateIamInstanceProfileCommand").f(void 0, void 0).ser(se_DisassociateIamInstanceProfileCommand).de(de_DisassociateIamInstanceProfileCommand).build() { +}; +__name(_DisassociateIamInstanceProfileCommand, "DisassociateIamInstanceProfileCommand"); +var DisassociateIamInstanceProfileCommand = _DisassociateIamInstanceProfileCommand; - // Add methods to `Stack`. - Stack.prototype.clear = stackClear; - Stack.prototype['delete'] = stackDelete; - Stack.prototype.get = stackGet; - Stack.prototype.has = stackHas; - Stack.prototype.set = stackSet; +// src/commands/DisassociateInstanceEventWindowCommand.ts - /*------------------------------------------------------------------------*/ - /** - * Creates an array of the enumerable property names of the array-like `value`. - * - * @private - * @param {*} value The value to query. - * @param {boolean} inherited Specify returning inherited property names. - * @returns {Array} Returns the array of property names. - */ - function arrayLikeKeys(value, inherited) { - var isArr = isArray(value), - isArg = !isArr && isArguments(value), - isBuff = !isArr && !isArg && isBuffer(value), - isType = !isArr && !isArg && !isBuff && isTypedArray(value), - skipIndexes = isArr || isArg || isBuff || isType, - result = skipIndexes ? baseTimes(value.length, String) : [], - length = result.length; - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && ( - // Safari 9 has enumerable `arguments.length` in strict mode. - key == 'length' || - // Node.js 0.10 has enumerable non-index properties on buffers. - (isBuff && (key == 'offset' || key == 'parent')) || - // PhantomJS 2 has enumerable non-index properties on typed arrays. - (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) || - // Skip index properties. - isIndex(key, length) - ))) { - result.push(key); - } - } - return result; - } - /** - * A specialized version of `_.sample` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @returns {*} Returns the random element. - */ - function arraySample(array) { - var length = array.length; - return length ? array[baseRandom(0, length - 1)] : undefined; - } +var _DisassociateInstanceEventWindowCommand = class _DisassociateInstanceEventWindowCommand 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("AmazonEC2", "DisassociateInstanceEventWindow", {}).n("EC2Client", "DisassociateInstanceEventWindowCommand").f(void 0, void 0).ser(se_DisassociateInstanceEventWindowCommand).de(de_DisassociateInstanceEventWindowCommand).build() { +}; +__name(_DisassociateInstanceEventWindowCommand, "DisassociateInstanceEventWindowCommand"); +var DisassociateInstanceEventWindowCommand = _DisassociateInstanceEventWindowCommand; - /** - * A specialized version of `_.sampleSize` for arrays. - * - * @private - * @param {Array} array The array to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function arraySampleSize(array, n) { - return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length)); - } +// src/commands/DisassociateIpamByoasnCommand.ts - /** - * A specialized version of `_.shuffle` for arrays. - * - * @private - * @param {Array} array The array to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function arrayShuffle(array) { - return shuffleSelf(copyArray(array)); - } - /** - * This function is like `assignValue` except that it doesn't assign - * `undefined` values. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignMergeValue(object, key, value) { - if ((value !== undefined && !eq(object[key], value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - /** - * Assigns `value` to `key` of `object` if the existing value is not equivalent - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - baseAssignValue(object, key, value); - } - } - /** - * Gets the index at which the `key` is found in `array` of key-value pairs. - * - * @private - * @param {Array} array The array to inspect. - * @param {*} key The key to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - */ - function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; - } +var _DisassociateIpamByoasnCommand = class _DisassociateIpamByoasnCommand 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("AmazonEC2", "DisassociateIpamByoasn", {}).n("EC2Client", "DisassociateIpamByoasnCommand").f(void 0, void 0).ser(se_DisassociateIpamByoasnCommand).de(de_DisassociateIpamByoasnCommand).build() { +}; +__name(_DisassociateIpamByoasnCommand, "DisassociateIpamByoasnCommand"); +var DisassociateIpamByoasnCommand = _DisassociateIpamByoasnCommand; - /** - * Aggregates elements of `collection` on `accumulator` with keys transformed - * by `iteratee` and values set by `setter`. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform keys. - * @param {Object} accumulator The initial aggregated object. - * @returns {Function} Returns `accumulator`. - */ - function baseAggregator(collection, setter, iteratee, accumulator) { - baseEach(collection, function(value, key, collection) { - setter(accumulator, value, iteratee(value), collection); - }); - return accumulator; - } +// src/commands/DisassociateIpamResourceDiscoveryCommand.ts - /** - * The base implementation of `_.assign` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); - } - /** - * The base implementation of `_.assignIn` without support for multiple sources - * or `customizer` functions. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @returns {Object} Returns `object`. - */ - function baseAssignIn(object, source) { - return object && copyObject(source, keysIn(source), object); - } - /** - * The base implementation of `assignValue` and `assignMergeValue` without - * value checks. - * - * @private - * @param {Object} object The object to modify. - * @param {string} key The key of the property to assign. - * @param {*} value The value to assign. - */ - function baseAssignValue(object, key, value) { - if (key == '__proto__' && defineProperty) { - defineProperty(object, key, { - 'configurable': true, - 'enumerable': true, - 'value': value, - 'writable': true - }); - } else { - object[key] = value; - } - } - /** - * The base implementation of `_.at` without support for individual paths. - * - * @private - * @param {Object} object The object to iterate over. - * @param {string[]} paths The property paths to pick. - * @returns {Array} Returns the picked elements. - */ - function baseAt(object, paths) { - var index = -1, - length = paths.length, - result = Array(length), - skip = object == null; +var _DisassociateIpamResourceDiscoveryCommand = class _DisassociateIpamResourceDiscoveryCommand 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("AmazonEC2", "DisassociateIpamResourceDiscovery", {}).n("EC2Client", "DisassociateIpamResourceDiscoveryCommand").f(void 0, void 0).ser(se_DisassociateIpamResourceDiscoveryCommand).de(de_DisassociateIpamResourceDiscoveryCommand).build() { +}; +__name(_DisassociateIpamResourceDiscoveryCommand, "DisassociateIpamResourceDiscoveryCommand"); +var DisassociateIpamResourceDiscoveryCommand = _DisassociateIpamResourceDiscoveryCommand; - while (++index < length) { - result[index] = skip ? undefined : get(object, paths[index]); - } - return result; - } +// src/commands/DisassociateNatGatewayAddressCommand.ts - /** - * The base implementation of `_.clamp` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - */ - function baseClamp(number, lower, upper) { - if (number === number) { - if (upper !== undefined) { - number = number <= upper ? number : upper; - } - if (lower !== undefined) { - number = number >= lower ? number : lower; - } - } - return number; - } - /** - * The base implementation of `_.clone` and `_.cloneDeep` which tracks - * traversed objects. - * - * @private - * @param {*} value The value to clone. - * @param {boolean} bitmask The bitmask flags. - * 1 - Deep clone - * 2 - Flatten inherited properties - * 4 - Clone symbols - * @param {Function} [customizer] The function to customize cloning. - * @param {string} [key] The key of `value`. - * @param {Object} [object] The parent object of `value`. - * @param {Object} [stack] Tracks traversed objects and their clone counterparts. - * @returns {*} Returns the cloned value. - */ - function baseClone(value, bitmask, customizer, key, object, stack) { - var result, - isDeep = bitmask & CLONE_DEEP_FLAG, - isFlat = bitmask & CLONE_FLAT_FLAG, - isFull = bitmask & CLONE_SYMBOLS_FLAG; - if (customizer) { - result = object ? customizer(value, key, object, stack) : customizer(value); - } - if (result !== undefined) { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return copyArray(value, result); - } - } else { - var tag = getTag(value), - isFunc = tag == funcTag || tag == genTag; - if (isBuffer(value)) { - return cloneBuffer(value, isDeep); - } - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - result = (isFlat || isFunc) ? {} : initCloneObject(value); - if (!isDeep) { - return isFlat - ? copySymbolsIn(value, baseAssignIn(result, value)) - : copySymbols(value, baseAssign(result, value)); - } - } else { - if (!cloneableTags[tag]) { - return object ? value : {}; - } - result = initCloneByTag(value, tag, isDeep); - } - } - // Check for circular references and return its corresponding clone. - stack || (stack = new Stack); - var stacked = stack.get(value); - if (stacked) { - return stacked; - } - stack.set(value, result); +var _DisassociateNatGatewayAddressCommand = class _DisassociateNatGatewayAddressCommand 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("AmazonEC2", "DisassociateNatGatewayAddress", {}).n("EC2Client", "DisassociateNatGatewayAddressCommand").f(void 0, void 0).ser(se_DisassociateNatGatewayAddressCommand).de(de_DisassociateNatGatewayAddressCommand).build() { +}; +__name(_DisassociateNatGatewayAddressCommand, "DisassociateNatGatewayAddressCommand"); +var DisassociateNatGatewayAddressCommand = _DisassociateNatGatewayAddressCommand; + +// src/commands/DisassociateRouteTableCommand.ts + + + + +var _DisassociateRouteTableCommand = class _DisassociateRouteTableCommand 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("AmazonEC2", "DisassociateRouteTable", {}).n("EC2Client", "DisassociateRouteTableCommand").f(void 0, void 0).ser(se_DisassociateRouteTableCommand).de(de_DisassociateRouteTableCommand).build() { +}; +__name(_DisassociateRouteTableCommand, "DisassociateRouteTableCommand"); +var DisassociateRouteTableCommand = _DisassociateRouteTableCommand; - if (isSet(value)) { - value.forEach(function(subValue) { - result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack)); - }); - } else if (isMap(value)) { - value.forEach(function(subValue, key) { - result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - } +// src/commands/DisassociateSubnetCidrBlockCommand.ts - var keysFunc = isFull - ? (isFlat ? getAllKeysIn : getAllKeys) - : (isFlat ? keysIn : keys); - var props = isArr ? undefined : keysFunc(value); - arrayEach(props || value, function(subValue, key) { - if (props) { - key = subValue; - subValue = value[key]; - } - // Recursively populate clone (susceptible to call stack limits). - assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack)); - }); - return result; - } - /** - * The base implementation of `_.conforms` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property predicates to conform to. - * @returns {Function} Returns the new spec function. - */ - function baseConforms(source) { - var props = keys(source); - return function(object) { - return baseConformsTo(object, source, props); - }; - } - /** - * The base implementation of `_.conformsTo` which accepts `props` to check. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - */ - function baseConformsTo(object, source, props) { - var length = props.length; - if (object == null) { - return !length; - } - object = Object(object); - while (length--) { - var key = props[length], - predicate = source[key], - value = object[key]; +var _DisassociateSubnetCidrBlockCommand = class _DisassociateSubnetCidrBlockCommand 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("AmazonEC2", "DisassociateSubnetCidrBlock", {}).n("EC2Client", "DisassociateSubnetCidrBlockCommand").f(void 0, void 0).ser(se_DisassociateSubnetCidrBlockCommand).de(de_DisassociateSubnetCidrBlockCommand).build() { +}; +__name(_DisassociateSubnetCidrBlockCommand, "DisassociateSubnetCidrBlockCommand"); +var DisassociateSubnetCidrBlockCommand = _DisassociateSubnetCidrBlockCommand; - if ((value === undefined && !(key in object)) || !predicate(value)) { - return false; - } - } - return true; - } +// src/commands/DisassociateTransitGatewayMulticastDomainCommand.ts - /** - * The base implementation of `_.delay` and `_.defer` which accepts `args` - * to provide to `func`. - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {Array} args The arguments to provide to `func`. - * @returns {number|Object} Returns the timer id or timeout object. - */ - function baseDelay(func, wait, args) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return setTimeout(function() { func.apply(undefined, args); }, wait); - } - /** - * The base implementation of methods like `_.difference` without support - * for excluding multiple arrays or iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Array} values The values to exclude. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - */ - function baseDifference(array, values, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - isCommon = true, - length = array.length, - result = [], - valuesLength = values.length; - if (!length) { - return result; - } - if (iteratee) { - values = arrayMap(values, baseUnary(iteratee)); - } - if (comparator) { - includes = arrayIncludesWith; - isCommon = false; - } - else if (values.length >= LARGE_ARRAY_SIZE) { - includes = cacheHas; - isCommon = false; - values = new SetCache(values); - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee == null ? value : iteratee(value); - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var valuesIndex = valuesLength; - while (valuesIndex--) { - if (values[valuesIndex] === computed) { - continue outer; - } - } - result.push(value); - } - else if (!includes(values, computed, comparator)) { - result.push(value); - } - } - return result; - } +var _DisassociateTransitGatewayMulticastDomainCommand = class _DisassociateTransitGatewayMulticastDomainCommand 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("AmazonEC2", "DisassociateTransitGatewayMulticastDomain", {}).n("EC2Client", "DisassociateTransitGatewayMulticastDomainCommand").f(void 0, void 0).ser(se_DisassociateTransitGatewayMulticastDomainCommand).de(de_DisassociateTransitGatewayMulticastDomainCommand).build() { +}; +__name(_DisassociateTransitGatewayMulticastDomainCommand, "DisassociateTransitGatewayMulticastDomainCommand"); +var DisassociateTransitGatewayMulticastDomainCommand = _DisassociateTransitGatewayMulticastDomainCommand; - /** - * The base implementation of `_.forEach` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEach = createBaseEach(baseForOwn); +// src/commands/DisassociateTransitGatewayPolicyTableCommand.ts - /** - * The base implementation of `_.forEachRight` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - */ - var baseEachRight = createBaseEach(baseForOwnRight, true); - /** - * The base implementation of `_.every` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false` - */ - function baseEvery(collection, predicate) { - var result = true; - baseEach(collection, function(value, index, collection) { - result = !!predicate(value, index, collection); - return result; - }); - return result; - } - /** - * The base implementation of methods like `_.max` and `_.min` which accepts a - * `comparator` to determine the extremum value. - * - * @private - * @param {Array} array The array to iterate over. - * @param {Function} iteratee The iteratee invoked per iteration. - * @param {Function} comparator The comparator used to compare values. - * @returns {*} Returns the extremum value. - */ - function baseExtremum(array, iteratee, comparator) { - var index = -1, - length = array.length; - while (++index < length) { - var value = array[index], - current = iteratee(value); +var _DisassociateTransitGatewayPolicyTableCommand = class _DisassociateTransitGatewayPolicyTableCommand 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("AmazonEC2", "DisassociateTransitGatewayPolicyTable", {}).n("EC2Client", "DisassociateTransitGatewayPolicyTableCommand").f(void 0, void 0).ser(se_DisassociateTransitGatewayPolicyTableCommand).de(de_DisassociateTransitGatewayPolicyTableCommand).build() { +}; +__name(_DisassociateTransitGatewayPolicyTableCommand, "DisassociateTransitGatewayPolicyTableCommand"); +var DisassociateTransitGatewayPolicyTableCommand = _DisassociateTransitGatewayPolicyTableCommand; - if (current != null && (computed === undefined - ? (current === current && !isSymbol(current)) - : comparator(current, computed) - )) { - var computed = current, - result = value; - } - } - return result; - } +// src/commands/DisassociateTransitGatewayRouteTableCommand.ts - /** - * The base implementation of `_.fill` without an iteratee call guard. - * - * @private - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - */ - function baseFill(array, value, start, end) { - var length = array.length; - start = toInteger(start); - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = (end === undefined || end > length) ? length : toInteger(end); - if (end < 0) { - end += length; - } - end = start > end ? 0 : toLength(end); - while (start < end) { - array[start++] = value; - } - return array; - } - /** - * The base implementation of `_.filter` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - */ - function baseFilter(collection, predicate) { - var result = []; - baseEach(collection, function(value, index, collection) { - if (predicate(value, index, collection)) { - result.push(value); - } - }); - return result; - } - /** - * The base implementation of `_.flatten` with support for restricting flattening. - * - * @private - * @param {Array} array The array to flatten. - * @param {number} depth The maximum recursion depth. - * @param {boolean} [predicate=isFlattenable] The function invoked per iteration. - * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks. - * @param {Array} [result=[]] The initial result value. - * @returns {Array} Returns the new flattened array. - */ - function baseFlatten(array, depth, predicate, isStrict, result) { - var index = -1, - length = array.length; +var _DisassociateTransitGatewayRouteTableCommand = class _DisassociateTransitGatewayRouteTableCommand 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("AmazonEC2", "DisassociateTransitGatewayRouteTable", {}).n("EC2Client", "DisassociateTransitGatewayRouteTableCommand").f(void 0, void 0).ser(se_DisassociateTransitGatewayRouteTableCommand).de(de_DisassociateTransitGatewayRouteTableCommand).build() { +}; +__name(_DisassociateTransitGatewayRouteTableCommand, "DisassociateTransitGatewayRouteTableCommand"); +var DisassociateTransitGatewayRouteTableCommand = _DisassociateTransitGatewayRouteTableCommand; - predicate || (predicate = isFlattenable); - result || (result = []); +// src/commands/DisassociateTrunkInterfaceCommand.ts - while (++index < length) { - var value = array[index]; - if (depth > 0 && predicate(value)) { - if (depth > 1) { - // Recursively flatten arrays (susceptible to call stack limits). - baseFlatten(value, depth - 1, predicate, isStrict, result); - } else { - arrayPush(result, value); - } - } else if (!isStrict) { - result[result.length] = value; - } - } - return result; - } - /** - * The base implementation of `baseForOwn` which iterates over `object` - * properties returned by `keysFunc` and invokes `iteratee` for each property. - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseFor = createBaseFor(); - /** - * This function is like `baseFor` except that it iterates over properties - * in the opposite order. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @param {Function} keysFunc The function to get the keys of `object`. - * @returns {Object} Returns `object`. - */ - var baseForRight = createBaseFor(true); - /** - * The base implementation of `_.forOwn` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwn(object, iteratee) { - return object && baseFor(object, iteratee, keys); - } +var _DisassociateTrunkInterfaceCommand = class _DisassociateTrunkInterfaceCommand 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("AmazonEC2", "DisassociateTrunkInterface", {}).n("EC2Client", "DisassociateTrunkInterfaceCommand").f(void 0, void 0).ser(se_DisassociateTrunkInterfaceCommand).de(de_DisassociateTrunkInterfaceCommand).build() { +}; +__name(_DisassociateTrunkInterfaceCommand, "DisassociateTrunkInterfaceCommand"); +var DisassociateTrunkInterfaceCommand = _DisassociateTrunkInterfaceCommand; - /** - * The base implementation of `_.forOwnRight` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Object} Returns `object`. - */ - function baseForOwnRight(object, iteratee) { - return object && baseForRight(object, iteratee, keys); - } +// src/commands/DisassociateVpcCidrBlockCommand.ts - /** - * The base implementation of `_.functions` which creates an array of - * `object` function property names filtered from `props`. - * - * @private - * @param {Object} object The object to inspect. - * @param {Array} props The property names to filter. - * @returns {Array} Returns the function names. - */ - function baseFunctions(object, props) { - return arrayFilter(props, function(key) { - return isFunction(object[key]); - }); - } - /** - * The base implementation of `_.get` without support for default values. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @returns {*} Returns the resolved value. - */ - function baseGet(object, path) { - path = castPath(path, object); - var index = 0, - length = path.length; - while (object != null && index < length) { - object = object[toKey(path[index++])]; - } - return (index && index == length) ? object : undefined; - } +var _DisassociateVpcCidrBlockCommand = class _DisassociateVpcCidrBlockCommand 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("AmazonEC2", "DisassociateVpcCidrBlock", {}).n("EC2Client", "DisassociateVpcCidrBlockCommand").f(void 0, void 0).ser(se_DisassociateVpcCidrBlockCommand).de(de_DisassociateVpcCidrBlockCommand).build() { +}; +__name(_DisassociateVpcCidrBlockCommand, "DisassociateVpcCidrBlockCommand"); +var DisassociateVpcCidrBlockCommand = _DisassociateVpcCidrBlockCommand; - /** - * The base implementation of `getAllKeys` and `getAllKeysIn` which uses - * `keysFunc` and `symbolsFunc` to get the enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Function} keysFunc The function to get the keys of `object`. - * @param {Function} symbolsFunc The function to get the symbols of `object`. - * @returns {Array} Returns the array of property names and symbols. - */ - function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); - } +// src/commands/EnableAddressTransferCommand.ts - /** - * The base implementation of `getTag` without fallbacks for buggy environments. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - function baseGetTag(value) { - if (value == null) { - return value === undefined ? undefinedTag : nullTag; - } - return (symToStringTag && symToStringTag in Object(value)) - ? getRawTag(value) - : objectToString(value); - } - /** - * The base implementation of `_.gt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - */ - function baseGt(value, other) { - return value > other; - } - /** - * The base implementation of `_.has` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHas(object, key) { - return object != null && hasOwnProperty.call(object, key); - } - /** - * The base implementation of `_.hasIn` without support for deep paths. - * - * @private - * @param {Object} [object] The object to query. - * @param {Array|string} key The key to check. - * @returns {boolean} Returns `true` if `key` exists, else `false`. - */ - function baseHasIn(object, key) { - return object != null && key in Object(object); - } +var _EnableAddressTransferCommand = class _EnableAddressTransferCommand 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("AmazonEC2", "EnableAddressTransfer", {}).n("EC2Client", "EnableAddressTransferCommand").f(void 0, void 0).ser(se_EnableAddressTransferCommand).de(de_EnableAddressTransferCommand).build() { +}; +__name(_EnableAddressTransferCommand, "EnableAddressTransferCommand"); +var EnableAddressTransferCommand = _EnableAddressTransferCommand; - /** - * The base implementation of `_.inRange` which doesn't coerce arguments. - * - * @private - * @param {number} number The number to check. - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - */ - function baseInRange(number, start, end) { - return number >= nativeMin(start, end) && number < nativeMax(start, end); - } +// src/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.ts - /** - * The base implementation of methods like `_.intersection`, without support - * for iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of shared values. - */ - function baseIntersection(arrays, iteratee, comparator) { - var includes = comparator ? arrayIncludesWith : arrayIncludes, - length = arrays[0].length, - othLength = arrays.length, - othIndex = othLength, - caches = Array(othLength), - maxLength = Infinity, - result = []; - while (othIndex--) { - var array = arrays[othIndex]; - if (othIndex && iteratee) { - array = arrayMap(array, baseUnary(iteratee)); - } - maxLength = nativeMin(array.length, maxLength); - caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120)) - ? new SetCache(othIndex && array) - : undefined; - } - array = arrays[0]; - var index = -1, - seen = caches[0]; - outer: - while (++index < length && result.length < maxLength) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; +var _EnableAwsNetworkPerformanceMetricSubscriptionCommand = class _EnableAwsNetworkPerformanceMetricSubscriptionCommand 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("AmazonEC2", "EnableAwsNetworkPerformanceMetricSubscription", {}).n("EC2Client", "EnableAwsNetworkPerformanceMetricSubscriptionCommand").f(void 0, void 0).ser(se_EnableAwsNetworkPerformanceMetricSubscriptionCommand).de(de_EnableAwsNetworkPerformanceMetricSubscriptionCommand).build() { +}; +__name(_EnableAwsNetworkPerformanceMetricSubscriptionCommand, "EnableAwsNetworkPerformanceMetricSubscriptionCommand"); +var EnableAwsNetworkPerformanceMetricSubscriptionCommand = _EnableAwsNetworkPerformanceMetricSubscriptionCommand; - value = (comparator || value !== 0) ? value : 0; - if (!(seen - ? cacheHas(seen, computed) - : includes(result, computed, comparator) - )) { - othIndex = othLength; - while (--othIndex) { - var cache = caches[othIndex]; - if (!(cache - ? cacheHas(cache, computed) - : includes(arrays[othIndex], computed, comparator)) - ) { - continue outer; - } - } - if (seen) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } +// src/commands/EnableEbsEncryptionByDefaultCommand.ts + + + + +var _EnableEbsEncryptionByDefaultCommand = class _EnableEbsEncryptionByDefaultCommand 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("AmazonEC2", "EnableEbsEncryptionByDefault", {}).n("EC2Client", "EnableEbsEncryptionByDefaultCommand").f(void 0, void 0).ser(se_EnableEbsEncryptionByDefaultCommand).de(de_EnableEbsEncryptionByDefaultCommand).build() { +}; +__name(_EnableEbsEncryptionByDefaultCommand, "EnableEbsEncryptionByDefaultCommand"); +var EnableEbsEncryptionByDefaultCommand = _EnableEbsEncryptionByDefaultCommand; + +// src/commands/EnableFastLaunchCommand.ts + + + + +var _EnableFastLaunchCommand = class _EnableFastLaunchCommand 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("AmazonEC2", "EnableFastLaunch", {}).n("EC2Client", "EnableFastLaunchCommand").f(void 0, void 0).ser(se_EnableFastLaunchCommand).de(de_EnableFastLaunchCommand).build() { +}; +__name(_EnableFastLaunchCommand, "EnableFastLaunchCommand"); +var EnableFastLaunchCommand = _EnableFastLaunchCommand; - /** - * The base implementation of `_.invert` and `_.invertBy` which inverts - * `object` with values transformed by `iteratee` and set by `setter`. - * - * @private - * @param {Object} object The object to iterate over. - * @param {Function} setter The function to set `accumulator` values. - * @param {Function} iteratee The iteratee to transform values. - * @param {Object} accumulator The initial inverted object. - * @returns {Function} Returns `accumulator`. - */ - function baseInverter(object, setter, iteratee, accumulator) { - baseForOwn(object, function(value, key, object) { - setter(accumulator, iteratee(value), key, object); - }); - return accumulator; - } +// src/commands/EnableFastSnapshotRestoresCommand.ts - /** - * The base implementation of `_.invoke` without support for individual - * method arguments. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {Array} args The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - */ - function baseInvoke(object, path, args) { - path = castPath(path, object); - object = parent(object, path); - var func = object == null ? object : object[toKey(last(path))]; - return func == null ? undefined : apply(func, object, args); - } - /** - * The base implementation of `_.isArguments`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - */ - function baseIsArguments(value) { - return isObjectLike(value) && baseGetTag(value) == argsTag; - } - /** - * The base implementation of `_.isArrayBuffer` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - */ - function baseIsArrayBuffer(value) { - return isObjectLike(value) && baseGetTag(value) == arrayBufferTag; - } - /** - * The base implementation of `_.isDate` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - */ - function baseIsDate(value) { - return isObjectLike(value) && baseGetTag(value) == dateTag; - } +var _EnableFastSnapshotRestoresCommand = class _EnableFastSnapshotRestoresCommand 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("AmazonEC2", "EnableFastSnapshotRestores", {}).n("EC2Client", "EnableFastSnapshotRestoresCommand").f(void 0, void 0).ser(se_EnableFastSnapshotRestoresCommand).de(de_EnableFastSnapshotRestoresCommand).build() { +}; +__name(_EnableFastSnapshotRestoresCommand, "EnableFastSnapshotRestoresCommand"); +var EnableFastSnapshotRestoresCommand = _EnableFastSnapshotRestoresCommand; - /** - * The base implementation of `_.isEqual` which supports partial comparisons - * and tracks traversed objects. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {boolean} bitmask The bitmask flags. - * 1 - Unordered comparison - * 2 - Partial comparison - * @param {Function} [customizer] The function to customize comparisons. - * @param {Object} [stack] Tracks traversed `value` and `other` objects. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - */ - function baseIsEqual(value, other, bitmask, customizer, stack) { - if (value === other) { - return true; - } - if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) { - return value !== value && other !== other; - } - return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack); - } +// src/commands/EnableImageBlockPublicAccessCommand.ts - /** - * A specialized version of `baseIsEqual` for arrays and objects which performs - * deep comparisons and tracks traversed objects enabling objects with circular - * references to be compared. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} [stack] Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) { - var objIsArr = isArray(object), - othIsArr = isArray(other), - objTag = objIsArr ? arrayTag : getTag(object), - othTag = othIsArr ? arrayTag : getTag(other); - objTag = objTag == argsTag ? objectTag : objTag; - othTag = othTag == argsTag ? objectTag : othTag; - var objIsObj = objTag == objectTag, - othIsObj = othTag == objectTag, - isSameTag = objTag == othTag; - if (isSameTag && isBuffer(object)) { - if (!isBuffer(other)) { - return false; - } - objIsArr = true; - objIsObj = false; - } - if (isSameTag && !objIsObj) { - stack || (stack = new Stack); - return (objIsArr || isTypedArray(object)) - ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) - : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack); - } - if (!(bitmask & COMPARE_PARTIAL_FLAG)) { - var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'), - othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__'); +var _EnableImageBlockPublicAccessCommand = class _EnableImageBlockPublicAccessCommand 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("AmazonEC2", "EnableImageBlockPublicAccess", {}).n("EC2Client", "EnableImageBlockPublicAccessCommand").f(void 0, void 0).ser(se_EnableImageBlockPublicAccessCommand).de(de_EnableImageBlockPublicAccessCommand).build() { +}; +__name(_EnableImageBlockPublicAccessCommand, "EnableImageBlockPublicAccessCommand"); +var EnableImageBlockPublicAccessCommand = _EnableImageBlockPublicAccessCommand; - if (objIsWrapped || othIsWrapped) { - var objUnwrapped = objIsWrapped ? object.value() : object, - othUnwrapped = othIsWrapped ? other.value() : other; +// src/commands/EnableImageCommand.ts - stack || (stack = new Stack); - return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack); - } - } - if (!isSameTag) { - return false; - } - stack || (stack = new Stack); - return equalObjects(object, other, bitmask, customizer, equalFunc, stack); - } - /** - * The base implementation of `_.isMap` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - */ - function baseIsMap(value) { - return isObjectLike(value) && getTag(value) == mapTag; - } - /** - * The base implementation of `_.isMatch` without support for iteratee shorthands. - * - * @private - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Array} matchData The property names, values, and compare flags to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - */ - function baseIsMatch(object, source, matchData, customizer) { - var index = matchData.length, - length = index, - noCustomizer = !customizer; - if (object == null) { - return !length; - } - object = Object(object); - while (index--) { - var data = matchData[index]; - if ((noCustomizer && data[2]) - ? data[1] !== object[data[0]] - : !(data[0] in object) - ) { - return false; - } - } - while (++index < length) { - data = matchData[index]; - var key = data[0], - objValue = object[key], - srcValue = data[1]; +var _EnableImageCommand = class _EnableImageCommand 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("AmazonEC2", "EnableImage", {}).n("EC2Client", "EnableImageCommand").f(void 0, void 0).ser(se_EnableImageCommand).de(de_EnableImageCommand).build() { +}; +__name(_EnableImageCommand, "EnableImageCommand"); +var EnableImageCommand = _EnableImageCommand; - if (noCustomizer && data[2]) { - if (objValue === undefined && !(key in object)) { - return false; - } - } else { - var stack = new Stack; - if (customizer) { - var result = customizer(objValue, srcValue, key, object, source, stack); - } - if (!(result === undefined - ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack) - : result - )) { - return false; - } - } - } - return true; - } +// src/commands/EnableImageDeprecationCommand.ts - /** - * The base implementation of `_.isNative` without bad shim checks. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - */ - function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = isFunction(value) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); - } - /** - * The base implementation of `_.isRegExp` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - */ - function baseIsRegExp(value) { - return isObjectLike(value) && baseGetTag(value) == regexpTag; - } - /** - * The base implementation of `_.isSet` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - */ - function baseIsSet(value) { - return isObjectLike(value) && getTag(value) == setTag; - } - /** - * The base implementation of `_.isTypedArray` without Node.js optimizations. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - */ - function baseIsTypedArray(value) { - return isObjectLike(value) && - isLength(value.length) && !!typedArrayTags[baseGetTag(value)]; - } +var _EnableImageDeprecationCommand = class _EnableImageDeprecationCommand 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("AmazonEC2", "EnableImageDeprecation", {}).n("EC2Client", "EnableImageDeprecationCommand").f(void 0, void 0).ser(se_EnableImageDeprecationCommand).de(de_EnableImageDeprecationCommand).build() { +}; +__name(_EnableImageDeprecationCommand, "EnableImageDeprecationCommand"); +var EnableImageDeprecationCommand = _EnableImageDeprecationCommand; - /** - * The base implementation of `_.iteratee`. - * - * @private - * @param {*} [value=_.identity] The value to convert to an iteratee. - * @returns {Function} Returns the iteratee. - */ - function baseIteratee(value) { - // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9. - // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details. - if (typeof value == 'function') { - return value; - } - if (value == null) { - return identity; - } - if (typeof value == 'object') { - return isArray(value) - ? baseMatchesProperty(value[0], value[1]) - : baseMatches(value); - } - return property(value); - } +// src/commands/EnableImageDeregistrationProtectionCommand.ts - /** - * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; - } - /** - * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function baseKeysIn(object) { - if (!isObject(object)) { - return nativeKeysIn(object); - } - var isProto = isPrototype(object), - result = []; - for (var key in object) { - if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) { - result.push(key); - } - } - return result; - } - /** - * The base implementation of `_.lt` which doesn't coerce arguments. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - */ - function baseLt(value, other) { - return value < other; - } +var _EnableImageDeregistrationProtectionCommand = class _EnableImageDeregistrationProtectionCommand 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("AmazonEC2", "EnableImageDeregistrationProtection", {}).n("EC2Client", "EnableImageDeregistrationProtectionCommand").f(void 0, void 0).ser(se_EnableImageDeregistrationProtectionCommand).de(de_EnableImageDeregistrationProtectionCommand).build() { +}; +__name(_EnableImageDeregistrationProtectionCommand, "EnableImageDeregistrationProtectionCommand"); +var EnableImageDeregistrationProtectionCommand = _EnableImageDeregistrationProtectionCommand; - /** - * The base implementation of `_.map` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} iteratee The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - */ - function baseMap(collection, iteratee) { - var index = -1, - result = isArrayLike(collection) ? Array(collection.length) : []; +// src/commands/EnableIpamOrganizationAdminAccountCommand.ts - baseEach(collection, function(value, key, collection) { - result[++index] = iteratee(value, key, collection); - }); - return result; - } - /** - * The base implementation of `_.matches` which doesn't clone `source`. - * - * @private - * @param {Object} source The object of property values to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatches(source) { - var matchData = getMatchData(source); - if (matchData.length == 1 && matchData[0][2]) { - return matchesStrictComparable(matchData[0][0], matchData[0][1]); - } - return function(object) { - return object === source || baseIsMatch(object, source, matchData); - }; - } - /** - * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`. - * - * @private - * @param {string} path The path of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function baseMatchesProperty(path, srcValue) { - if (isKey(path) && isStrictComparable(srcValue)) { - return matchesStrictComparable(toKey(path), srcValue); - } - return function(object) { - var objValue = get(object, path); - return (objValue === undefined && objValue === srcValue) - ? hasIn(object, path) - : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG); - }; - } - /** - * The base implementation of `_.merge` without support for multiple sources. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {number} srcIndex The index of `source`. - * @param {Function} [customizer] The function to customize merged values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMerge(object, source, srcIndex, customizer, stack) { - if (object === source) { - return; - } - baseFor(source, function(srcValue, key) { - stack || (stack = new Stack); - if (isObject(srcValue)) { - baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack); - } - else { - var newValue = customizer - ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack) - : undefined; +var _EnableIpamOrganizationAdminAccountCommand = class _EnableIpamOrganizationAdminAccountCommand 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("AmazonEC2", "EnableIpamOrganizationAdminAccount", {}).n("EC2Client", "EnableIpamOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_EnableIpamOrganizationAdminAccountCommand).de(de_EnableIpamOrganizationAdminAccountCommand).build() { +}; +__name(_EnableIpamOrganizationAdminAccountCommand, "EnableIpamOrganizationAdminAccountCommand"); +var EnableIpamOrganizationAdminAccountCommand = _EnableIpamOrganizationAdminAccountCommand; - if (newValue === undefined) { - newValue = srcValue; - } - assignMergeValue(object, key, newValue); - } - }, keysIn); - } +// src/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.ts - /** - * A specialized version of `baseMerge` for arrays and objects which performs - * deep merges and tracks traversed objects enabling objects with circular - * references to be merged. - * - * @private - * @param {Object} object The destination object. - * @param {Object} source The source object. - * @param {string} key The key of the value to merge. - * @param {number} srcIndex The index of `source`. - * @param {Function} mergeFunc The function to merge values. - * @param {Function} [customizer] The function to customize assigned values. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - */ - function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) { - var objValue = safeGet(object, key), - srcValue = safeGet(source, key), - stacked = stack.get(srcValue); - if (stacked) { - assignMergeValue(object, key, stacked); - return; - } - var newValue = customizer - ? customizer(objValue, srcValue, (key + ''), object, source, stack) - : undefined; - var isCommon = newValue === undefined; - if (isCommon) { - var isArr = isArray(srcValue), - isBuff = !isArr && isBuffer(srcValue), - isTyped = !isArr && !isBuff && isTypedArray(srcValue); +var _EnableReachabilityAnalyzerOrganizationSharingCommand = class _EnableReachabilityAnalyzerOrganizationSharingCommand 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("AmazonEC2", "EnableReachabilityAnalyzerOrganizationSharing", {}).n("EC2Client", "EnableReachabilityAnalyzerOrganizationSharingCommand").f(void 0, void 0).ser(se_EnableReachabilityAnalyzerOrganizationSharingCommand).de(de_EnableReachabilityAnalyzerOrganizationSharingCommand).build() { +}; +__name(_EnableReachabilityAnalyzerOrganizationSharingCommand, "EnableReachabilityAnalyzerOrganizationSharingCommand"); +var EnableReachabilityAnalyzerOrganizationSharingCommand = _EnableReachabilityAnalyzerOrganizationSharingCommand; - newValue = srcValue; - if (isArr || isBuff || isTyped) { - if (isArray(objValue)) { - newValue = objValue; - } - else if (isArrayLikeObject(objValue)) { - newValue = copyArray(objValue); - } - else if (isBuff) { - isCommon = false; - newValue = cloneBuffer(srcValue, true); - } - else if (isTyped) { - isCommon = false; - newValue = cloneTypedArray(srcValue, true); - } - else { - newValue = []; - } - } - else if (isPlainObject(srcValue) || isArguments(srcValue)) { - newValue = objValue; - if (isArguments(objValue)) { - newValue = toPlainObject(objValue); - } - else if (!isObject(objValue) || isFunction(objValue)) { - newValue = initCloneObject(srcValue); - } - } - else { - isCommon = false; - } - } - if (isCommon) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, newValue); - mergeFunc(newValue, srcValue, srcIndex, customizer, stack); - stack['delete'](srcValue); - } - assignMergeValue(object, key, newValue); - } +// src/commands/EnableSerialConsoleAccessCommand.ts + + + + +var _EnableSerialConsoleAccessCommand = class _EnableSerialConsoleAccessCommand 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("AmazonEC2", "EnableSerialConsoleAccess", {}).n("EC2Client", "EnableSerialConsoleAccessCommand").f(void 0, void 0).ser(se_EnableSerialConsoleAccessCommand).de(de_EnableSerialConsoleAccessCommand).build() { +}; +__name(_EnableSerialConsoleAccessCommand, "EnableSerialConsoleAccessCommand"); +var EnableSerialConsoleAccessCommand = _EnableSerialConsoleAccessCommand; + +// src/commands/EnableSnapshotBlockPublicAccessCommand.ts + + + + +var _EnableSnapshotBlockPublicAccessCommand = class _EnableSnapshotBlockPublicAccessCommand 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("AmazonEC2", "EnableSnapshotBlockPublicAccess", {}).n("EC2Client", "EnableSnapshotBlockPublicAccessCommand").f(void 0, void 0).ser(se_EnableSnapshotBlockPublicAccessCommand).de(de_EnableSnapshotBlockPublicAccessCommand).build() { +}; +__name(_EnableSnapshotBlockPublicAccessCommand, "EnableSnapshotBlockPublicAccessCommand"); +var EnableSnapshotBlockPublicAccessCommand = _EnableSnapshotBlockPublicAccessCommand; + +// src/commands/EnableTransitGatewayRouteTablePropagationCommand.ts - /** - * The base implementation of `_.nth` which doesn't coerce arguments. - * - * @private - * @param {Array} array The array to query. - * @param {number} n The index of the element to return. - * @returns {*} Returns the nth element of `array`. - */ - function baseNth(array, n) { - var length = array.length; - if (!length) { - return; - } - n += n < 0 ? length : 0; - return isIndex(n, length) ? array[n] : undefined; - } - /** - * The base implementation of `_.orderBy` without param guards. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by. - * @param {string[]} orders The sort orders of `iteratees`. - * @returns {Array} Returns the new sorted array. - */ - function baseOrderBy(collection, iteratees, orders) { - if (iteratees.length) { - iteratees = arrayMap(iteratees, function(iteratee) { - if (isArray(iteratee)) { - return function(value) { - return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee); - } - } - return iteratee; - }); - } else { - iteratees = [identity]; - } - var index = -1; - iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - var result = baseMap(collection, function(value, key, collection) { - var criteria = arrayMap(iteratees, function(iteratee) { - return iteratee(value); - }); - return { 'criteria': criteria, 'index': ++index, 'value': value }; - }); +var _EnableTransitGatewayRouteTablePropagationCommand = class _EnableTransitGatewayRouteTablePropagationCommand 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("AmazonEC2", "EnableTransitGatewayRouteTablePropagation", {}).n("EC2Client", "EnableTransitGatewayRouteTablePropagationCommand").f(void 0, void 0).ser(se_EnableTransitGatewayRouteTablePropagationCommand).de(de_EnableTransitGatewayRouteTablePropagationCommand).build() { +}; +__name(_EnableTransitGatewayRouteTablePropagationCommand, "EnableTransitGatewayRouteTablePropagationCommand"); +var EnableTransitGatewayRouteTablePropagationCommand = _EnableTransitGatewayRouteTablePropagationCommand; - return baseSortBy(result, function(object, other) { - return compareMultiple(object, other, orders); - }); - } +// src/commands/EnableVgwRoutePropagationCommand.ts - /** - * The base implementation of `_.pick` without support for individual - * property identifiers. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @returns {Object} Returns the new object. - */ - function basePick(object, paths) { - return basePickBy(object, paths, function(value, path) { - return hasIn(object, path); - }); - } - /** - * The base implementation of `_.pickBy` without support for iteratee shorthands. - * - * @private - * @param {Object} object The source object. - * @param {string[]} paths The property paths to pick. - * @param {Function} predicate The function invoked per property. - * @returns {Object} Returns the new object. - */ - function basePickBy(object, paths, predicate) { - var index = -1, - length = paths.length, - result = {}; - while (++index < length) { - var path = paths[index], - value = baseGet(object, path); - if (predicate(value, path)) { - baseSet(result, castPath(path, object), value); - } - } - return result; - } +var _EnableVgwRoutePropagationCommand = class _EnableVgwRoutePropagationCommand 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("AmazonEC2", "EnableVgwRoutePropagation", {}).n("EC2Client", "EnableVgwRoutePropagationCommand").f(void 0, void 0).ser(se_EnableVgwRoutePropagationCommand).de(de_EnableVgwRoutePropagationCommand).build() { +}; +__name(_EnableVgwRoutePropagationCommand, "EnableVgwRoutePropagationCommand"); +var EnableVgwRoutePropagationCommand = _EnableVgwRoutePropagationCommand; - /** - * A specialized version of `baseProperty` which supports deep paths. - * - * @private - * @param {Array|string} path The path of the property to get. - * @returns {Function} Returns the new accessor function. - */ - function basePropertyDeep(path) { - return function(object) { - return baseGet(object, path); - }; - } +// src/commands/EnableVolumeIOCommand.ts - /** - * The base implementation of `_.pullAllBy` without support for iteratee - * shorthands. - * - * @private - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - */ - function basePullAll(array, values, iteratee, comparator) { - var indexOf = comparator ? baseIndexOfWith : baseIndexOf, - index = -1, - length = values.length, - seen = array; - if (array === values) { - values = copyArray(values); - } - if (iteratee) { - seen = arrayMap(array, baseUnary(iteratee)); - } - while (++index < length) { - var fromIndex = 0, - value = values[index], - computed = iteratee ? iteratee(value) : value; - while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) { - if (seen !== array) { - splice.call(seen, fromIndex, 1); - } - splice.call(array, fromIndex, 1); - } - } - return array; - } - /** - * The base implementation of `_.pullAt` without support for individual - * indexes or capturing the removed elements. - * - * @private - * @param {Array} array The array to modify. - * @param {number[]} indexes The indexes of elements to remove. - * @returns {Array} Returns `array`. - */ - function basePullAt(array, indexes) { - var length = array ? indexes.length : 0, - lastIndex = length - 1; +var _EnableVolumeIOCommand = class _EnableVolumeIOCommand 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("AmazonEC2", "EnableVolumeIO", {}).n("EC2Client", "EnableVolumeIOCommand").f(void 0, void 0).ser(se_EnableVolumeIOCommand).de(de_EnableVolumeIOCommand).build() { +}; +__name(_EnableVolumeIOCommand, "EnableVolumeIOCommand"); +var EnableVolumeIOCommand = _EnableVolumeIOCommand; - while (length--) { - var index = indexes[length]; - if (length == lastIndex || index !== previous) { - var previous = index; - if (isIndex(index)) { - splice.call(array, index, 1); - } else { - baseUnset(array, index); - } - } - } - return array; - } +// src/commands/EnableVpcClassicLinkCommand.ts - /** - * The base implementation of `_.random` without support for returning - * floating-point numbers. - * - * @private - * @param {number} lower The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the random number. - */ - function baseRandom(lower, upper) { - return lower + nativeFloor(nativeRandom() * (upper - lower + 1)); - } - /** - * The base implementation of `_.range` and `_.rangeRight` which doesn't - * coerce arguments. - * - * @private - * @param {number} start The start of the range. - * @param {number} end The end of the range. - * @param {number} step The value to increment or decrement by. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the range of numbers. - */ - function baseRange(start, end, step, fromRight) { - var index = -1, - length = nativeMax(nativeCeil((end - start) / (step || 1)), 0), - result = Array(length); - while (length--) { - result[fromRight ? length : ++index] = start; - start += step; - } - return result; - } - /** - * The base implementation of `_.repeat` which doesn't coerce arguments. - * - * @private - * @param {string} string The string to repeat. - * @param {number} n The number of times to repeat the string. - * @returns {string} Returns the repeated string. - */ - function baseRepeat(string, n) { - var result = ''; - if (!string || n < 1 || n > MAX_SAFE_INTEGER) { - return result; - } - // Leverage the exponentiation by squaring algorithm for a faster repeat. - // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details. - do { - if (n % 2) { - result += string; - } - n = nativeFloor(n / 2); - if (n) { - string += string; - } - } while (n); +var _EnableVpcClassicLinkCommand = class _EnableVpcClassicLinkCommand 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("AmazonEC2", "EnableVpcClassicLink", {}).n("EC2Client", "EnableVpcClassicLinkCommand").f(void 0, void 0).ser(se_EnableVpcClassicLinkCommand).de(de_EnableVpcClassicLinkCommand).build() { +}; +__name(_EnableVpcClassicLinkCommand, "EnableVpcClassicLinkCommand"); +var EnableVpcClassicLinkCommand = _EnableVpcClassicLinkCommand; - return result; - } +// src/commands/EnableVpcClassicLinkDnsSupportCommand.ts - /** - * The base implementation of `_.rest` which doesn't validate or coerce arguments. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - */ - function baseRest(func, start) { - return setToString(overRest(func, start, identity), func + ''); - } - /** - * The base implementation of `_.sample`. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - */ - function baseSample(collection) { - return arraySample(values(collection)); - } - /** - * The base implementation of `_.sampleSize` without param guards. - * - * @private - * @param {Array|Object} collection The collection to sample. - * @param {number} n The number of elements to sample. - * @returns {Array} Returns the random elements. - */ - function baseSampleSize(collection, n) { - var array = values(collection); - return shuffleSelf(array, baseClamp(n, 0, array.length)); - } - /** - * The base implementation of `_.set`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseSet(object, path, value, customizer) { - if (!isObject(object)) { - return object; - } - path = castPath(path, object); +var _EnableVpcClassicLinkDnsSupportCommand = class _EnableVpcClassicLinkDnsSupportCommand 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("AmazonEC2", "EnableVpcClassicLinkDnsSupport", {}).n("EC2Client", "EnableVpcClassicLinkDnsSupportCommand").f(void 0, void 0).ser(se_EnableVpcClassicLinkDnsSupportCommand).de(de_EnableVpcClassicLinkDnsSupportCommand).build() { +}; +__name(_EnableVpcClassicLinkDnsSupportCommand, "EnableVpcClassicLinkDnsSupportCommand"); +var EnableVpcClassicLinkDnsSupportCommand = _EnableVpcClassicLinkDnsSupportCommand; - var index = -1, - length = path.length, - lastIndex = length - 1, - nested = object; +// src/commands/ExportClientVpnClientCertificateRevocationListCommand.ts - while (nested != null && ++index < length) { - var key = toKey(path[index]), - newValue = value; - if (key === '__proto__' || key === 'constructor' || key === 'prototype') { - return object; - } - if (index != lastIndex) { - var objValue = nested[key]; - newValue = customizer ? customizer(objValue, key, nested) : undefined; - if (newValue === undefined) { - newValue = isObject(objValue) - ? objValue - : (isIndex(path[index + 1]) ? [] : {}); - } - } - assignValue(nested, key, newValue); - nested = nested[key]; - } - return object; - } - /** - * The base implementation of `setData` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var baseSetData = !metaMap ? identity : function(func, data) { - metaMap.set(func, data); - return func; - }; +var _ExportClientVpnClientCertificateRevocationListCommand = class _ExportClientVpnClientCertificateRevocationListCommand 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("AmazonEC2", "ExportClientVpnClientCertificateRevocationList", {}).n("EC2Client", "ExportClientVpnClientCertificateRevocationListCommand").f(void 0, void 0).ser(se_ExportClientVpnClientCertificateRevocationListCommand).de(de_ExportClientVpnClientCertificateRevocationListCommand).build() { +}; +__name(_ExportClientVpnClientCertificateRevocationListCommand, "ExportClientVpnClientCertificateRevocationListCommand"); +var ExportClientVpnClientCertificateRevocationListCommand = _ExportClientVpnClientCertificateRevocationListCommand; - /** - * The base implementation of `setToString` without support for hot loop shorting. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var baseSetToString = !defineProperty ? identity : function(func, string) { - return defineProperty(func, 'toString', { - 'configurable': true, - 'enumerable': false, - 'value': constant(string), - 'writable': true - }); - }; +// src/commands/ExportClientVpnClientConfigurationCommand.ts - /** - * The base implementation of `_.shuffle`. - * - * @private - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - */ - function baseShuffle(collection) { - return shuffleSelf(values(collection)); - } - /** - * The base implementation of `_.slice` without an iteratee call guard. - * - * @private - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function baseSlice(array, start, end) { - var index = -1, - length = array.length; - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; - } +var _ExportClientVpnClientConfigurationCommand = class _ExportClientVpnClientConfigurationCommand 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("AmazonEC2", "ExportClientVpnClientConfiguration", {}).n("EC2Client", "ExportClientVpnClientConfigurationCommand").f(void 0, void 0).ser(se_ExportClientVpnClientConfigurationCommand).de(de_ExportClientVpnClientConfigurationCommand).build() { +}; +__name(_ExportClientVpnClientConfigurationCommand, "ExportClientVpnClientConfigurationCommand"); +var ExportClientVpnClientConfigurationCommand = _ExportClientVpnClientConfigurationCommand; - /** - * The base implementation of `_.some` without support for iteratee shorthands. - * - * @private - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} predicate The function invoked per iteration. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - */ - function baseSome(collection, predicate) { - var result; +// src/commands/ExportImageCommand.ts - baseEach(collection, function(value, index, collection) { - result = predicate(value, index, collection); - return !result; - }); - return !!result; - } - /** - * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which - * performs a binary search of `array` to determine the index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndex(array, value, retHighest) { - var low = 0, - high = array == null ? low : array.length; - if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) { - while (low < high) { - var mid = (low + high) >>> 1, - computed = array[mid]; - if (computed !== null && !isSymbol(computed) && - (retHighest ? (computed <= value) : (computed < value))) { - low = mid + 1; - } else { - high = mid; - } - } - return high; - } - return baseSortedIndexBy(array, value, identity, retHighest); - } +var _ExportImageCommand = class _ExportImageCommand 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("AmazonEC2", "ExportImage", {}).n("EC2Client", "ExportImageCommand").f(void 0, void 0).ser(se_ExportImageCommand).de(de_ExportImageCommand).build() { +}; +__name(_ExportImageCommand, "ExportImageCommand"); +var ExportImageCommand = _ExportImageCommand; - /** - * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy` - * which invokes `iteratee` for `value` and each element of `array` to compute - * their sort ranking. The iteratee is invoked with one argument; (value). - * - * @private - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} iteratee The iteratee invoked per element. - * @param {boolean} [retHighest] Specify returning the highest qualified index. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - */ - function baseSortedIndexBy(array, value, iteratee, retHighest) { - var low = 0, - high = array == null ? 0 : array.length; - if (high === 0) { - return 0; - } +// src/commands/ExportTransitGatewayRoutesCommand.ts - value = iteratee(value); - var valIsNaN = value !== value, - valIsNull = value === null, - valIsSymbol = isSymbol(value), - valIsUndefined = value === undefined; - while (low < high) { - var mid = nativeFloor((low + high) / 2), - computed = iteratee(array[mid]), - othIsDefined = computed !== undefined, - othIsNull = computed === null, - othIsReflexive = computed === computed, - othIsSymbol = isSymbol(computed); - if (valIsNaN) { - var setLow = retHighest || othIsReflexive; - } else if (valIsUndefined) { - setLow = othIsReflexive && (retHighest || othIsDefined); - } else if (valIsNull) { - setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull); - } else if (valIsSymbol) { - setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol); - } else if (othIsNull || othIsSymbol) { - setLow = false; - } else { - setLow = retHighest ? (computed <= value) : (computed < value); - } - if (setLow) { - low = mid + 1; - } else { - high = mid; - } - } - return nativeMin(high, MAX_ARRAY_INDEX); - } - /** - * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without - * support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseSortedUniq(array, iteratee) { - var index = -1, - length = array.length, - resIndex = 0, - result = []; +var _ExportTransitGatewayRoutesCommand = class _ExportTransitGatewayRoutesCommand 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("AmazonEC2", "ExportTransitGatewayRoutes", {}).n("EC2Client", "ExportTransitGatewayRoutesCommand").f(void 0, void 0).ser(se_ExportTransitGatewayRoutesCommand).de(de_ExportTransitGatewayRoutesCommand).build() { +}; +__name(_ExportTransitGatewayRoutesCommand, "ExportTransitGatewayRoutesCommand"); +var ExportTransitGatewayRoutesCommand = _ExportTransitGatewayRoutesCommand; + +// src/commands/GetAssociatedEnclaveCertificateIamRolesCommand.ts + + + + +var _GetAssociatedEnclaveCertificateIamRolesCommand = class _GetAssociatedEnclaveCertificateIamRolesCommand 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("AmazonEC2", "GetAssociatedEnclaveCertificateIamRoles", {}).n("EC2Client", "GetAssociatedEnclaveCertificateIamRolesCommand").f(void 0, void 0).ser(se_GetAssociatedEnclaveCertificateIamRolesCommand).de(de_GetAssociatedEnclaveCertificateIamRolesCommand).build() { +}; +__name(_GetAssociatedEnclaveCertificateIamRolesCommand, "GetAssociatedEnclaveCertificateIamRolesCommand"); +var GetAssociatedEnclaveCertificateIamRolesCommand = _GetAssociatedEnclaveCertificateIamRolesCommand; + +// src/commands/GetAssociatedIpv6PoolCidrsCommand.ts + + + + +var _GetAssociatedIpv6PoolCidrsCommand = class _GetAssociatedIpv6PoolCidrsCommand 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("AmazonEC2", "GetAssociatedIpv6PoolCidrs", {}).n("EC2Client", "GetAssociatedIpv6PoolCidrsCommand").f(void 0, void 0).ser(se_GetAssociatedIpv6PoolCidrsCommand).de(de_GetAssociatedIpv6PoolCidrsCommand).build() { +}; +__name(_GetAssociatedIpv6PoolCidrsCommand, "GetAssociatedIpv6PoolCidrsCommand"); +var GetAssociatedIpv6PoolCidrsCommand = _GetAssociatedIpv6PoolCidrsCommand; + +// src/commands/GetAwsNetworkPerformanceDataCommand.ts + + + + +var _GetAwsNetworkPerformanceDataCommand = class _GetAwsNetworkPerformanceDataCommand 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("AmazonEC2", "GetAwsNetworkPerformanceData", {}).n("EC2Client", "GetAwsNetworkPerformanceDataCommand").f(void 0, void 0).ser(se_GetAwsNetworkPerformanceDataCommand).de(de_GetAwsNetworkPerformanceDataCommand).build() { +}; +__name(_GetAwsNetworkPerformanceDataCommand, "GetAwsNetworkPerformanceDataCommand"); +var GetAwsNetworkPerformanceDataCommand = _GetAwsNetworkPerformanceDataCommand; + +// src/commands/GetCapacityReservationUsageCommand.ts + + + + +var _GetCapacityReservationUsageCommand = class _GetCapacityReservationUsageCommand 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("AmazonEC2", "GetCapacityReservationUsage", {}).n("EC2Client", "GetCapacityReservationUsageCommand").f(void 0, void 0).ser(se_GetCapacityReservationUsageCommand).de(de_GetCapacityReservationUsageCommand).build() { +}; +__name(_GetCapacityReservationUsageCommand, "GetCapacityReservationUsageCommand"); +var GetCapacityReservationUsageCommand = _GetCapacityReservationUsageCommand; + +// src/commands/GetCoipPoolUsageCommand.ts - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - if (!index || !eq(computed, seen)) { - var seen = computed; - result[resIndex++] = value === 0 ? 0 : value; - } - } - return result; - } - /** - * The base implementation of `_.toNumber` which doesn't ensure correct - * conversions of binary, hexadecimal, or octal string values. - * - * @private - * @param {*} value The value to process. - * @returns {number} Returns the number. - */ - function baseToNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - return +value; - } - /** - * The base implementation of `_.toString` which doesn't convert nullish - * values to empty strings. - * - * @private - * @param {*} value The value to process. - * @returns {string} Returns the string. - */ - function baseToString(value) { - // Exit early for strings to avoid a performance hit in some environments. - if (typeof value == 'string') { - return value; - } - if (isArray(value)) { - // Recursively convert values (susceptible to call stack limits). - return arrayMap(value, baseToString) + ''; - } - if (isSymbol(value)) { - return symbolToString ? symbolToString.call(value) : ''; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } +var _GetCoipPoolUsageCommand = class _GetCoipPoolUsageCommand 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("AmazonEC2", "GetCoipPoolUsage", {}).n("EC2Client", "GetCoipPoolUsageCommand").f(void 0, void 0).ser(se_GetCoipPoolUsageCommand).de(de_GetCoipPoolUsageCommand).build() { +}; +__name(_GetCoipPoolUsageCommand, "GetCoipPoolUsageCommand"); +var GetCoipPoolUsageCommand = _GetCoipPoolUsageCommand; - /** - * The base implementation of `_.uniqBy` without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - */ - function baseUniq(array, iteratee, comparator) { - var index = -1, - includes = arrayIncludes, - length = array.length, - isCommon = true, - result = [], - seen = result; +// src/commands/GetConsoleOutputCommand.ts - if (comparator) { - isCommon = false; - includes = arrayIncludesWith; - } - else if (length >= LARGE_ARRAY_SIZE) { - var set = iteratee ? null : createSet(array); - if (set) { - return setToArray(set); - } - isCommon = false; - includes = cacheHas; - seen = new SetCache; - } - else { - seen = iteratee ? [] : result; - } - outer: - while (++index < length) { - var value = array[index], - computed = iteratee ? iteratee(value) : value; - value = (comparator || value !== 0) ? value : 0; - if (isCommon && computed === computed) { - var seenIndex = seen.length; - while (seenIndex--) { - if (seen[seenIndex] === computed) { - continue outer; - } - } - if (iteratee) { - seen.push(computed); - } - result.push(value); - } - else if (!includes(seen, computed, comparator)) { - if (seen !== result) { - seen.push(computed); - } - result.push(value); - } - } - return result; - } - /** - * The base implementation of `_.unset`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The property path to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - */ - function baseUnset(object, path) { - path = castPath(path, object); - object = parent(object, path); - return object == null || delete object[toKey(last(path))]; - } - /** - * The base implementation of `_.update`. - * - * @private - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to update. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize path creation. - * @returns {Object} Returns `object`. - */ - function baseUpdate(object, path, updater, customizer) { - return baseSet(object, path, updater(baseGet(object, path)), customizer); - } +var _GetConsoleOutputCommand = class _GetConsoleOutputCommand 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("AmazonEC2", "GetConsoleOutput", {}).n("EC2Client", "GetConsoleOutputCommand").f(void 0, void 0).ser(se_GetConsoleOutputCommand).de(de_GetConsoleOutputCommand).build() { +}; +__name(_GetConsoleOutputCommand, "GetConsoleOutputCommand"); +var GetConsoleOutputCommand = _GetConsoleOutputCommand; - /** - * The base implementation of methods like `_.dropWhile` and `_.takeWhile` - * without support for iteratee shorthands. - * - * @private - * @param {Array} array The array to query. - * @param {Function} predicate The function invoked per iteration. - * @param {boolean} [isDrop] Specify dropping elements instead of taking them. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Array} Returns the slice of `array`. - */ - function baseWhile(array, predicate, isDrop, fromRight) { - var length = array.length, - index = fromRight ? length : -1; +// src/commands/GetConsoleScreenshotCommand.ts - while ((fromRight ? index-- : ++index < length) && - predicate(array[index], index, array)) {} - return isDrop - ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length)) - : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index)); - } - /** - * The base implementation of `wrapperValue` which returns the result of - * performing a sequence of actions on the unwrapped `value`, where each - * successive action is supplied the return value of the previous. - * - * @private - * @param {*} value The unwrapped value. - * @param {Array} actions Actions to perform to resolve the unwrapped value. - * @returns {*} Returns the resolved value. - */ - function baseWrapperValue(value, actions) { - var result = value; - if (result instanceof LazyWrapper) { - result = result.value(); - } - return arrayReduce(actions, function(result, action) { - return action.func.apply(action.thisArg, arrayPush([result], action.args)); - }, result); - } - /** - * The base implementation of methods like `_.xor`, without support for - * iteratee shorthands, that accepts an array of arrays to inspect. - * - * @private - * @param {Array} arrays The arrays to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of values. - */ - function baseXor(arrays, iteratee, comparator) { - var length = arrays.length; - if (length < 2) { - return length ? baseUniq(arrays[0]) : []; - } - var index = -1, - result = Array(length); +var _GetConsoleScreenshotCommand = class _GetConsoleScreenshotCommand 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("AmazonEC2", "GetConsoleScreenshot", {}).n("EC2Client", "GetConsoleScreenshotCommand").f(void 0, void 0).ser(se_GetConsoleScreenshotCommand).de(de_GetConsoleScreenshotCommand).build() { +}; +__name(_GetConsoleScreenshotCommand, "GetConsoleScreenshotCommand"); +var GetConsoleScreenshotCommand = _GetConsoleScreenshotCommand; - while (++index < length) { - var array = arrays[index], - othIndex = -1; +// src/commands/GetDefaultCreditSpecificationCommand.ts - while (++othIndex < length) { - if (othIndex != index) { - result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator); - } - } - } - return baseUniq(baseFlatten(result, 1), iteratee, comparator); - } - /** - * This base implementation of `_.zipObject` which assigns values using `assignFunc`. - * - * @private - * @param {Array} props The property identifiers. - * @param {Array} values The property values. - * @param {Function} assignFunc The function to assign values. - * @returns {Object} Returns the new object. - */ - function baseZipObject(props, values, assignFunc) { - var index = -1, - length = props.length, - valsLength = values.length, - result = {}; - while (++index < length) { - var value = index < valsLength ? values[index] : undefined; - assignFunc(result, props[index], value); - } - return result; - } - /** - * Casts `value` to an empty array if it's not an array like object. - * - * @private - * @param {*} value The value to inspect. - * @returns {Array|Object} Returns the cast array-like object. - */ - function castArrayLikeObject(value) { - return isArrayLikeObject(value) ? value : []; - } +var _GetDefaultCreditSpecificationCommand = class _GetDefaultCreditSpecificationCommand 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("AmazonEC2", "GetDefaultCreditSpecification", {}).n("EC2Client", "GetDefaultCreditSpecificationCommand").f(void 0, void 0).ser(se_GetDefaultCreditSpecificationCommand).de(de_GetDefaultCreditSpecificationCommand).build() { +}; +__name(_GetDefaultCreditSpecificationCommand, "GetDefaultCreditSpecificationCommand"); +var GetDefaultCreditSpecificationCommand = _GetDefaultCreditSpecificationCommand; - /** - * Casts `value` to `identity` if it's not a function. - * - * @private - * @param {*} value The value to inspect. - * @returns {Function} Returns cast function. - */ - function castFunction(value) { - return typeof value == 'function' ? value : identity; - } +// src/commands/GetEbsDefaultKmsKeyIdCommand.ts - /** - * Casts `value` to a path array if it's not one. - * - * @private - * @param {*} value The value to inspect. - * @param {Object} [object] The object to query keys on. - * @returns {Array} Returns the cast property path array. - */ - function castPath(value, object) { - if (isArray(value)) { - return value; - } - return isKey(value, object) ? [value] : stringToPath(toString(value)); - } - /** - * A `baseRest` alias which can be replaced with `identity` by module - * replacement plugins. - * - * @private - * @type {Function} - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - var castRest = baseRest; - /** - * Casts `array` to a slice if it's needed. - * - * @private - * @param {Array} array The array to inspect. - * @param {number} start The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the cast slice. - */ - function castSlice(array, start, end) { - var length = array.length; - end = end === undefined ? length : end; - return (!start && end >= length) ? array : baseSlice(array, start, end); - } - /** - * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout). - * - * @private - * @param {number|Object} id The timer id or timeout object of the timer to clear. - */ - var clearTimeout = ctxClearTimeout || function(id) { - return root.clearTimeout(id); - }; +var _GetEbsDefaultKmsKeyIdCommand = class _GetEbsDefaultKmsKeyIdCommand 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("AmazonEC2", "GetEbsDefaultKmsKeyId", {}).n("EC2Client", "GetEbsDefaultKmsKeyIdCommand").f(void 0, void 0).ser(se_GetEbsDefaultKmsKeyIdCommand).de(de_GetEbsDefaultKmsKeyIdCommand).build() { +}; +__name(_GetEbsDefaultKmsKeyIdCommand, "GetEbsDefaultKmsKeyIdCommand"); +var GetEbsDefaultKmsKeyIdCommand = _GetEbsDefaultKmsKeyIdCommand; - /** - * Creates a clone of `buffer`. - * - * @private - * @param {Buffer} buffer The buffer to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Buffer} Returns the cloned buffer. - */ - function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var length = buffer.length, - result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length); +// src/commands/GetEbsEncryptionByDefaultCommand.ts - buffer.copy(result); - return result; - } - /** - * Creates a clone of `arrayBuffer`. - * - * @private - * @param {ArrayBuffer} arrayBuffer The array buffer to clone. - * @returns {ArrayBuffer} Returns the cloned array buffer. - */ - function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; - } - /** - * Creates a clone of `dataView`. - * - * @private - * @param {Object} dataView The data view to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned data view. - */ - function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); - } - /** - * Creates a clone of `regexp`. - * - * @private - * @param {Object} regexp The regexp to clone. - * @returns {Object} Returns the cloned regexp. - */ - function cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; - return result; - } +var _GetEbsEncryptionByDefaultCommand = class _GetEbsEncryptionByDefaultCommand 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("AmazonEC2", "GetEbsEncryptionByDefault", {}).n("EC2Client", "GetEbsEncryptionByDefaultCommand").f(void 0, void 0).ser(se_GetEbsEncryptionByDefaultCommand).de(de_GetEbsEncryptionByDefaultCommand).build() { +}; +__name(_GetEbsEncryptionByDefaultCommand, "GetEbsEncryptionByDefaultCommand"); +var GetEbsEncryptionByDefaultCommand = _GetEbsEncryptionByDefaultCommand; - /** - * Creates a clone of the `symbol` object. - * - * @private - * @param {Object} symbol The symbol object to clone. - * @returns {Object} Returns the cloned symbol object. - */ - function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; - } +// src/commands/GetFlowLogsIntegrationTemplateCommand.ts - /** - * Creates a clone of `typedArray`. - * - * @private - * @param {Object} typedArray The typed array to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the cloned typed array. - */ - function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); - } - /** - * Compares values to sort them in ascending order. - * - * @private - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {number} Returns the sort order indicator for `value`. - */ - function compareAscending(value, other) { - if (value !== other) { - var valIsDefined = value !== undefined, - valIsNull = value === null, - valIsReflexive = value === value, - valIsSymbol = isSymbol(value); - var othIsDefined = other !== undefined, - othIsNull = other === null, - othIsReflexive = other === other, - othIsSymbol = isSymbol(other); - if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) || - (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) || - (valIsNull && othIsDefined && othIsReflexive) || - (!valIsDefined && othIsReflexive) || - !valIsReflexive) { - return 1; - } - if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) || - (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) || - (othIsNull && valIsDefined && valIsReflexive) || - (!othIsDefined && valIsReflexive) || - !othIsReflexive) { - return -1; - } - } - return 0; - } +var _GetFlowLogsIntegrationTemplateCommand = class _GetFlowLogsIntegrationTemplateCommand 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("AmazonEC2", "GetFlowLogsIntegrationTemplate", {}).n("EC2Client", "GetFlowLogsIntegrationTemplateCommand").f(void 0, void 0).ser(se_GetFlowLogsIntegrationTemplateCommand).de(de_GetFlowLogsIntegrationTemplateCommand).build() { +}; +__name(_GetFlowLogsIntegrationTemplateCommand, "GetFlowLogsIntegrationTemplateCommand"); +var GetFlowLogsIntegrationTemplateCommand = _GetFlowLogsIntegrationTemplateCommand; - /** - * Used by `_.orderBy` to compare multiple properties of a value to another - * and stable sort them. - * - * If `orders` is unspecified, all values are sorted in ascending order. Otherwise, - * specify an order of "desc" for descending or "asc" for ascending sort order - * of corresponding values. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {boolean[]|string[]} orders The order to sort by for each property. - * @returns {number} Returns the sort order indicator for `object`. - */ - function compareMultiple(object, other, orders) { - var index = -1, - objCriteria = object.criteria, - othCriteria = other.criteria, - length = objCriteria.length, - ordersLength = orders.length; +// src/commands/GetGroupsForCapacityReservationCommand.ts - while (++index < length) { - var result = compareAscending(objCriteria[index], othCriteria[index]); - if (result) { - if (index >= ordersLength) { - return result; - } - var order = orders[index]; - return result * (order == 'desc' ? -1 : 1); - } - } - // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications - // that causes it, under certain circumstances, to provide the same value for - // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247 - // for more details. - // - // This also ensures a stable sort in V8 and other engines. - // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details. - return object.index - other.index; - } - /** - * Creates an array that is the composition of partially applied arguments, - * placeholders, and provided arguments into a single array of arguments. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to prepend to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgs(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersLength = holders.length, - leftIndex = -1, - leftLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(leftLength + rangeLength), - isUncurried = !isCurried; - while (++leftIndex < leftLength) { - result[leftIndex] = partials[leftIndex]; - } - while (++argsIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[holders[argsIndex]] = args[argsIndex]; - } - } - while (rangeLength--) { - result[leftIndex++] = args[argsIndex++]; - } - return result; - } - /** - * This function is like `composeArgs` except that the arguments composition - * is tailored for `_.partialRight`. - * - * @private - * @param {Array} args The provided arguments. - * @param {Array} partials The arguments to append to those provided. - * @param {Array} holders The `partials` placeholder indexes. - * @params {boolean} [isCurried] Specify composing for a curried function. - * @returns {Array} Returns the new array of composed arguments. - */ - function composeArgsRight(args, partials, holders, isCurried) { - var argsIndex = -1, - argsLength = args.length, - holdersIndex = -1, - holdersLength = holders.length, - rightIndex = -1, - rightLength = partials.length, - rangeLength = nativeMax(argsLength - holdersLength, 0), - result = Array(rangeLength + rightLength), - isUncurried = !isCurried; +var _GetGroupsForCapacityReservationCommand = class _GetGroupsForCapacityReservationCommand 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("AmazonEC2", "GetGroupsForCapacityReservation", {}).n("EC2Client", "GetGroupsForCapacityReservationCommand").f(void 0, void 0).ser(se_GetGroupsForCapacityReservationCommand).de(de_GetGroupsForCapacityReservationCommand).build() { +}; +__name(_GetGroupsForCapacityReservationCommand, "GetGroupsForCapacityReservationCommand"); +var GetGroupsForCapacityReservationCommand = _GetGroupsForCapacityReservationCommand; + +// src/commands/GetHostReservationPurchasePreviewCommand.ts + + + + +var _GetHostReservationPurchasePreviewCommand = class _GetHostReservationPurchasePreviewCommand 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("AmazonEC2", "GetHostReservationPurchasePreview", {}).n("EC2Client", "GetHostReservationPurchasePreviewCommand").f(void 0, void 0).ser(se_GetHostReservationPurchasePreviewCommand).de(de_GetHostReservationPurchasePreviewCommand).build() { +}; +__name(_GetHostReservationPurchasePreviewCommand, "GetHostReservationPurchasePreviewCommand"); +var GetHostReservationPurchasePreviewCommand = _GetHostReservationPurchasePreviewCommand; + +// src/commands/GetImageBlockPublicAccessStateCommand.ts + + + + +var _GetImageBlockPublicAccessStateCommand = class _GetImageBlockPublicAccessStateCommand 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("AmazonEC2", "GetImageBlockPublicAccessState", {}).n("EC2Client", "GetImageBlockPublicAccessStateCommand").f(void 0, void 0).ser(se_GetImageBlockPublicAccessStateCommand).de(de_GetImageBlockPublicAccessStateCommand).build() { +}; +__name(_GetImageBlockPublicAccessStateCommand, "GetImageBlockPublicAccessStateCommand"); +var GetImageBlockPublicAccessStateCommand = _GetImageBlockPublicAccessStateCommand; + +// src/commands/GetInstanceMetadataDefaultsCommand.ts + - while (++argsIndex < rangeLength) { - result[argsIndex] = args[argsIndex]; - } - var offset = argsIndex; - while (++rightIndex < rightLength) { - result[offset + rightIndex] = partials[rightIndex]; - } - while (++holdersIndex < holdersLength) { - if (isUncurried || argsIndex < argsLength) { - result[offset + holders[holdersIndex]] = args[argsIndex++]; - } - } - return result; - } - /** - * Copies the values of `source` to `array`. - * - * @private - * @param {Array} source The array to copy values from. - * @param {Array} [array=[]] The array to copy values to. - * @returns {Array} Returns `array`. - */ - function copyArray(source, array) { - var index = -1, - length = source.length; - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; - } +var _GetInstanceMetadataDefaultsCommand = class _GetInstanceMetadataDefaultsCommand 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("AmazonEC2", "GetInstanceMetadataDefaults", {}).n("EC2Client", "GetInstanceMetadataDefaultsCommand").f(void 0, void 0).ser(se_GetInstanceMetadataDefaultsCommand).de(de_GetInstanceMetadataDefaultsCommand).build() { +}; +__name(_GetInstanceMetadataDefaultsCommand, "GetInstanceMetadataDefaultsCommand"); +var GetInstanceMetadataDefaultsCommand = _GetInstanceMetadataDefaultsCommand; - /** - * Copies properties of `source` to `object`. - * - * @private - * @param {Object} source The object to copy properties from. - * @param {Array} props The property identifiers to copy. - * @param {Object} [object={}] The object to copy properties to. - * @param {Function} [customizer] The function to customize copied values. - * @returns {Object} Returns `object`. - */ - function copyObject(source, props, object, customizer) { - var isNew = !object; - object || (object = {}); +// src/commands/GetInstanceTpmEkPubCommand.ts - var index = -1, - length = props.length; - while (++index < length) { - var key = props[index]; - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - if (newValue === undefined) { - newValue = source[key]; - } - if (isNew) { - baseAssignValue(object, key, newValue); - } else { - assignValue(object, key, newValue); - } - } - return object; - } +var _GetInstanceTpmEkPubCommand = class _GetInstanceTpmEkPubCommand 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("AmazonEC2", "GetInstanceTpmEkPub", {}).n("EC2Client", "GetInstanceTpmEkPubCommand").f(void 0, GetInstanceTpmEkPubResultFilterSensitiveLog).ser(se_GetInstanceTpmEkPubCommand).de(de_GetInstanceTpmEkPubCommand).build() { +}; +__name(_GetInstanceTpmEkPubCommand, "GetInstanceTpmEkPubCommand"); +var GetInstanceTpmEkPubCommand = _GetInstanceTpmEkPubCommand; - /** - * Copies own symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); - } +// src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts - /** - * Copies own and inherited symbols of `source` to `object`. - * - * @private - * @param {Object} source The object to copy symbols from. - * @param {Object} [object={}] The object to copy symbols to. - * @returns {Object} Returns `object`. - */ - function copySymbolsIn(source, object) { - return copyObject(source, getSymbolsIn(source), object); - } - /** - * Creates a function like `_.groupBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} [initializer] The accumulator object initializer. - * @returns {Function} Returns the new aggregator function. - */ - function createAggregator(setter, initializer) { - return function(collection, iteratee) { - var func = isArray(collection) ? arrayAggregator : baseAggregator, - accumulator = initializer ? initializer() : {}; - return func(collection, setter, getIteratee(iteratee, 2), accumulator); - }; - } - /** - * Creates a function like `_.assign`. - * - * @private - * @param {Function} assigner The function to assign values. - * @returns {Function} Returns the new assigner function. - */ - function createAssigner(assigner) { - return baseRest(function(object, sources) { - var index = -1, - length = sources.length, - customizer = length > 1 ? sources[length - 1] : undefined, - guard = length > 2 ? sources[2] : undefined; +var _GetInstanceTypesFromInstanceRequirementsCommand = class _GetInstanceTypesFromInstanceRequirementsCommand 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("AmazonEC2", "GetInstanceTypesFromInstanceRequirements", {}).n("EC2Client", "GetInstanceTypesFromInstanceRequirementsCommand").f(void 0, void 0).ser(se_GetInstanceTypesFromInstanceRequirementsCommand).de(de_GetInstanceTypesFromInstanceRequirementsCommand).build() { +}; +__name(_GetInstanceTypesFromInstanceRequirementsCommand, "GetInstanceTypesFromInstanceRequirementsCommand"); +var GetInstanceTypesFromInstanceRequirementsCommand = _GetInstanceTypesFromInstanceRequirementsCommand; - customizer = (assigner.length > 3 && typeof customizer == 'function') - ? (length--, customizer) - : undefined; +// src/commands/GetInstanceUefiDataCommand.ts - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - customizer = length < 3 ? undefined : customizer; - length = 1; - } - object = Object(object); - while (++index < length) { - var source = sources[index]; - if (source) { - assigner(object, source, index, customizer); - } - } - return object; - }); - } - /** - * Creates a `baseEach` or `baseEachRight` function. - * - * @private - * @param {Function} eachFunc The function to iterate over a collection. - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseEach(eachFunc, fromRight) { - return function(collection, iteratee) { - if (collection == null) { - return collection; - } - if (!isArrayLike(collection)) { - return eachFunc(collection, iteratee); - } - var length = collection.length, - index = fromRight ? length : -1, - iterable = Object(collection); - while ((fromRight ? index-- : ++index < length)) { - if (iteratee(iterable[index], index, iterable) === false) { - break; - } - } - return collection; - }; - } - /** - * Creates a base function for methods like `_.forIn` and `_.forOwn`. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new base function. - */ - function createBaseFor(fromRight) { - return function(object, iteratee, keysFunc) { - var index = -1, - iterable = Object(object), - props = keysFunc(object), - length = props.length; +var _GetInstanceUefiDataCommand = class _GetInstanceUefiDataCommand 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("AmazonEC2", "GetInstanceUefiData", {}).n("EC2Client", "GetInstanceUefiDataCommand").f(void 0, void 0).ser(se_GetInstanceUefiDataCommand).de(de_GetInstanceUefiDataCommand).build() { +}; +__name(_GetInstanceUefiDataCommand, "GetInstanceUefiDataCommand"); +var GetInstanceUefiDataCommand = _GetInstanceUefiDataCommand; - while (length--) { - var key = props[fromRight ? length : ++index]; - if (iteratee(iterable[key], key, iterable) === false) { - break; - } - } - return object; - }; - } +// src/commands/GetIpamAddressHistoryCommand.ts - /** - * Creates a function that wraps `func` to invoke it with the optional `this` - * binding of `thisArg`. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createBind(func, bitmask, thisArg) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - function wrapper() { - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return fn.apply(isBind ? thisArg : this, arguments); - } - return wrapper; - } - /** - * Creates a function like `_.lowerFirst`. - * - * @private - * @param {string} methodName The name of the `String` case method to use. - * @returns {Function} Returns the new case function. - */ - function createCaseFirst(methodName) { - return function(string) { - string = toString(string); - var strSymbols = hasUnicode(string) - ? stringToArray(string) - : undefined; +var _GetIpamAddressHistoryCommand = class _GetIpamAddressHistoryCommand 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("AmazonEC2", "GetIpamAddressHistory", {}).n("EC2Client", "GetIpamAddressHistoryCommand").f(void 0, void 0).ser(se_GetIpamAddressHistoryCommand).de(de_GetIpamAddressHistoryCommand).build() { +}; +__name(_GetIpamAddressHistoryCommand, "GetIpamAddressHistoryCommand"); +var GetIpamAddressHistoryCommand = _GetIpamAddressHistoryCommand; - var chr = strSymbols - ? strSymbols[0] - : string.charAt(0); +// src/commands/GetIpamDiscoveredAccountsCommand.ts - var trailing = strSymbols - ? castSlice(strSymbols, 1).join('') - : string.slice(1); - return chr[methodName]() + trailing; - }; - } - /** - * Creates a function like `_.camelCase`. - * - * @private - * @param {Function} callback The function to combine each word. - * @returns {Function} Returns the new compounder function. - */ - function createCompounder(callback) { - return function(string) { - return arrayReduce(words(deburr(string).replace(reApos, '')), callback, ''); - }; - } - /** - * Creates a function that produces an instance of `Ctor` regardless of - * whether it was invoked as part of a `new` expression or by `call` or `apply`. - * - * @private - * @param {Function} Ctor The constructor to wrap. - * @returns {Function} Returns the new wrapped function. - */ - function createCtor(Ctor) { - return function() { - // Use a `switch` statement to work with class constructors. See - // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist - // for more details. - var args = arguments; - switch (args.length) { - case 0: return new Ctor; - case 1: return new Ctor(args[0]); - case 2: return new Ctor(args[0], args[1]); - case 3: return new Ctor(args[0], args[1], args[2]); - case 4: return new Ctor(args[0], args[1], args[2], args[3]); - case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]); - case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]); - case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]); - } - var thisBinding = baseCreate(Ctor.prototype), - result = Ctor.apply(thisBinding, args); +var _GetIpamDiscoveredAccountsCommand = class _GetIpamDiscoveredAccountsCommand 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("AmazonEC2", "GetIpamDiscoveredAccounts", {}).n("EC2Client", "GetIpamDiscoveredAccountsCommand").f(void 0, void 0).ser(se_GetIpamDiscoveredAccountsCommand).de(de_GetIpamDiscoveredAccountsCommand).build() { +}; +__name(_GetIpamDiscoveredAccountsCommand, "GetIpamDiscoveredAccountsCommand"); +var GetIpamDiscoveredAccountsCommand = _GetIpamDiscoveredAccountsCommand; - // Mimic the constructor's `return` behavior. - // See https://es5.github.io/#x13.2.2 for more details. - return isObject(result) ? result : thisBinding; - }; - } +// src/commands/GetIpamDiscoveredPublicAddressesCommand.ts - /** - * Creates a function that wraps `func` to enable currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {number} arity The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createCurry(func, bitmask, arity) { - var Ctor = createCtor(func); - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length, - placeholder = getHolder(wrapper); - while (index--) { - args[index] = arguments[index]; - } - var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder) - ? [] - : replaceHolders(args, placeholder); - length -= holders.length; - if (length < arity) { - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, undefined, - args, holders, undefined, undefined, arity - length); - } - var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; - return apply(fn, this, args); - } - return wrapper; - } +var _GetIpamDiscoveredPublicAddressesCommand = class _GetIpamDiscoveredPublicAddressesCommand 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("AmazonEC2", "GetIpamDiscoveredPublicAddresses", {}).n("EC2Client", "GetIpamDiscoveredPublicAddressesCommand").f(void 0, void 0).ser(se_GetIpamDiscoveredPublicAddressesCommand).de(de_GetIpamDiscoveredPublicAddressesCommand).build() { +}; +__name(_GetIpamDiscoveredPublicAddressesCommand, "GetIpamDiscoveredPublicAddressesCommand"); +var GetIpamDiscoveredPublicAddressesCommand = _GetIpamDiscoveredPublicAddressesCommand; - /** - * Creates a `_.find` or `_.findLast` function. - * - * @private - * @param {Function} findIndexFunc The function to find the collection index. - * @returns {Function} Returns the new find function. - */ - function createFind(findIndexFunc) { - return function(collection, predicate, fromIndex) { - var iterable = Object(collection); - if (!isArrayLike(collection)) { - var iteratee = getIteratee(predicate, 3); - collection = keys(collection); - predicate = function(key) { return iteratee(iterable[key], key, iterable); }; - } - var index = findIndexFunc(collection, predicate, fromIndex); - return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined; - }; - } +// src/commands/GetIpamDiscoveredResourceCidrsCommand.ts - /** - * Creates a `_.flow` or `_.flowRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new flow function. - */ - function createFlow(fromRight) { - return flatRest(function(funcs) { - var length = funcs.length, - index = length, - prereq = LodashWrapper.prototype.thru; - if (fromRight) { - funcs.reverse(); - } - while (index--) { - var func = funcs[index]; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (prereq && !wrapper && getFuncName(func) == 'wrapper') { - var wrapper = new LodashWrapper([], true); - } - } - index = wrapper ? index : length; - while (++index < length) { - func = funcs[index]; - var funcName = getFuncName(func), - data = funcName == 'wrapper' ? getData(func) : undefined; - if (data && isLaziable(data[0]) && - data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) && - !data[4].length && data[9] == 1 - ) { - wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]); - } else { - wrapper = (func.length == 1 && isLaziable(func)) - ? wrapper[funcName]() - : wrapper.thru(func); - } - } - return function() { - var args = arguments, - value = args[0]; +var _GetIpamDiscoveredResourceCidrsCommand = class _GetIpamDiscoveredResourceCidrsCommand 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("AmazonEC2", "GetIpamDiscoveredResourceCidrs", {}).n("EC2Client", "GetIpamDiscoveredResourceCidrsCommand").f(void 0, void 0).ser(se_GetIpamDiscoveredResourceCidrsCommand).de(de_GetIpamDiscoveredResourceCidrsCommand).build() { +}; +__name(_GetIpamDiscoveredResourceCidrsCommand, "GetIpamDiscoveredResourceCidrsCommand"); +var GetIpamDiscoveredResourceCidrsCommand = _GetIpamDiscoveredResourceCidrsCommand; - if (wrapper && args.length == 1 && isArray(value)) { - return wrapper.plant(value).value(); - } - var index = 0, - result = length ? funcs[index].apply(this, args) : value; +// src/commands/GetIpamPoolAllocationsCommand.ts - while (++index < length) { - result = funcs[index].call(this, result); - } - return result; - }; - }); - } - /** - * Creates a function that wraps `func` to invoke it with optional `this` - * binding of `thisArg`, partial application, and currying. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [partialsRight] The arguments to append to those provided - * to the new function. - * @param {Array} [holdersRight] The `partialsRight` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) { - var isAry = bitmask & WRAP_ARY_FLAG, - isBind = bitmask & WRAP_BIND_FLAG, - isBindKey = bitmask & WRAP_BIND_KEY_FLAG, - isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG), - isFlip = bitmask & WRAP_FLIP_FLAG, - Ctor = isBindKey ? undefined : createCtor(func); - function wrapper() { - var length = arguments.length, - args = Array(length), - index = length; - while (index--) { - args[index] = arguments[index]; - } - if (isCurried) { - var placeholder = getHolder(wrapper), - holdersCount = countHolders(args, placeholder); - } - if (partials) { - args = composeArgs(args, partials, holders, isCurried); - } - if (partialsRight) { - args = composeArgsRight(args, partialsRight, holdersRight, isCurried); - } - length -= holdersCount; - if (isCurried && length < arity) { - var newHolders = replaceHolders(args, placeholder); - return createRecurry( - func, bitmask, createHybrid, wrapper.placeholder, thisArg, - args, newHolders, argPos, ary, arity - length - ); - } - var thisBinding = isBind ? thisArg : this, - fn = isBindKey ? thisBinding[func] : func; +var _GetIpamPoolAllocationsCommand = class _GetIpamPoolAllocationsCommand 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("AmazonEC2", "GetIpamPoolAllocations", {}).n("EC2Client", "GetIpamPoolAllocationsCommand").f(void 0, void 0).ser(se_GetIpamPoolAllocationsCommand).de(de_GetIpamPoolAllocationsCommand).build() { +}; +__name(_GetIpamPoolAllocationsCommand, "GetIpamPoolAllocationsCommand"); +var GetIpamPoolAllocationsCommand = _GetIpamPoolAllocationsCommand; + +// src/commands/GetIpamPoolCidrsCommand.ts + + + + +var _GetIpamPoolCidrsCommand = class _GetIpamPoolCidrsCommand 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("AmazonEC2", "GetIpamPoolCidrs", {}).n("EC2Client", "GetIpamPoolCidrsCommand").f(void 0, void 0).ser(se_GetIpamPoolCidrsCommand).de(de_GetIpamPoolCidrsCommand).build() { +}; +__name(_GetIpamPoolCidrsCommand, "GetIpamPoolCidrsCommand"); +var GetIpamPoolCidrsCommand = _GetIpamPoolCidrsCommand; + +// src/commands/GetIpamResourceCidrsCommand.ts + + - length = args.length; - if (argPos) { - args = reorder(args, argPos); - } else if (isFlip && length > 1) { - args.reverse(); - } - if (isAry && ary < length) { - args.length = ary; - } - if (this && this !== root && this instanceof wrapper) { - fn = Ctor || createCtor(fn); - } - return fn.apply(thisBinding, args); - } - return wrapper; - } - /** - * Creates a function like `_.invertBy`. - * - * @private - * @param {Function} setter The function to set accumulator values. - * @param {Function} toIteratee The function to resolve iteratees. - * @returns {Function} Returns the new inverter function. - */ - function createInverter(setter, toIteratee) { - return function(object, iteratee) { - return baseInverter(object, setter, toIteratee(iteratee), {}); - }; - } +var _GetIpamResourceCidrsCommand = class _GetIpamResourceCidrsCommand 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("AmazonEC2", "GetIpamResourceCidrs", {}).n("EC2Client", "GetIpamResourceCidrsCommand").f(void 0, void 0).ser(se_GetIpamResourceCidrsCommand).de(de_GetIpamResourceCidrsCommand).build() { +}; +__name(_GetIpamResourceCidrsCommand, "GetIpamResourceCidrsCommand"); +var GetIpamResourceCidrsCommand = _GetIpamResourceCidrsCommand; - /** - * Creates a function that performs a mathematical operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @param {number} [defaultValue] The value used for `undefined` arguments. - * @returns {Function} Returns the new mathematical operation function. - */ - function createMathOperation(operator, defaultValue) { - return function(value, other) { - var result; - if (value === undefined && other === undefined) { - return defaultValue; - } - if (value !== undefined) { - result = value; - } - if (other !== undefined) { - if (result === undefined) { - return other; - } - if (typeof value == 'string' || typeof other == 'string') { - value = baseToString(value); - other = baseToString(other); - } else { - value = baseToNumber(value); - other = baseToNumber(other); - } - result = operator(value, other); - } - return result; - }; - } +// src/commands/GetLaunchTemplateDataCommand.ts - /** - * Creates a function like `_.over`. - * - * @private - * @param {Function} arrayFunc The function to iterate over iteratees. - * @returns {Function} Returns the new over function. - */ - function createOver(arrayFunc) { - return flatRest(function(iteratees) { - iteratees = arrayMap(iteratees, baseUnary(getIteratee())); - return baseRest(function(args) { - var thisArg = this; - return arrayFunc(iteratees, function(iteratee) { - return apply(iteratee, thisArg, args); - }); - }); - }); - } - /** - * Creates the padding for `string` based on `length`. The `chars` string - * is truncated if the number of characters exceeds `length`. - * - * @private - * @param {number} length The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padding for `string`. - */ - function createPadding(length, chars) { - chars = chars === undefined ? ' ' : baseToString(chars); - var charsLength = chars.length; - if (charsLength < 2) { - return charsLength ? baseRepeat(chars, length) : chars; - } - var result = baseRepeat(chars, nativeCeil(length / stringSize(chars))); - return hasUnicode(chars) - ? castSlice(stringToArray(result), 0, length).join('') - : result.slice(0, length); - } - /** - * Creates a function that wraps `func` to invoke it with the `this` binding - * of `thisArg` and `partials` prepended to the arguments it receives. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {*} thisArg The `this` binding of `func`. - * @param {Array} partials The arguments to prepend to those provided to - * the new function. - * @returns {Function} Returns the new wrapped function. - */ - function createPartial(func, bitmask, thisArg, partials) { - var isBind = bitmask & WRAP_BIND_FLAG, - Ctor = createCtor(func); - function wrapper() { - var argsIndex = -1, - argsLength = arguments.length, - leftIndex = -1, - leftLength = partials.length, - args = Array(leftLength + argsLength), - fn = (this && this !== root && this instanceof wrapper) ? Ctor : func; +// src/models/models_6.ts - while (++leftIndex < leftLength) { - args[leftIndex] = partials[leftIndex]; - } - while (argsLength--) { - args[leftIndex++] = arguments[++argsIndex]; - } - return apply(fn, isBind ? thisArg : this, args); - } - return wrapper; - } +var IpamDiscoveryFailureCode = { + assume_role_failure: "assume-role-failure", + throttling_failure: "throttling-failure", + unauthorized_failure: "unauthorized-failure" +}; +var IpamPublicAddressType = { + AMAZON_OWNED_EIP: "amazon-owned-eip", + BYOIP: "byoip", + EC2_PUBLIC_IP: "ec2-public-ip", + SERVICE_MANAGED_BYOIP: "service-managed-byoip", + SERVICE_MANAGED_IP: "service-managed-ip" +}; +var IpamPublicAddressAssociationStatus = { + ASSOCIATED: "associated", + DISASSOCIATED: "disassociated" +}; +var IpamPublicAddressAwsService = { + AGA: "global-accelerator", + DMS: "database-migration-service", + EC2_LB: "load-balancer", + ECS: "elastic-container-service", + NAT_GATEWAY: "nat-gateway", + OTHER: "other", + RDS: "relational-database-service", + REDSHIFT: "redshift", + S2S_VPN: "site-to-site-vpn" +}; +var IpamResourceType = { + eip: "eip", + eni: "eni", + ipv6_pool: "ipv6-pool", + public_ipv4_pool: "public-ipv4-pool", + subnet: "subnet", + vpc: "vpc" +}; +var IpamManagementState = { + ignored: "ignored", + managed: "managed", + unmanaged: "unmanaged" +}; +var LockMode = { + compliance: "compliance", + governance: "governance" +}; +var ModifyAvailabilityZoneOptInStatus = { + not_opted_in: "not-opted-in", + opted_in: "opted-in" +}; +var OperationType = { + add: "add", + remove: "remove" +}; +var UnsuccessfulInstanceCreditSpecificationErrorCode = { + INCORRECT_INSTANCE_STATE: "IncorrectInstanceState", + INSTANCE_CREDIT_SPECIFICATION_NOT_SUPPORTED: "InstanceCreditSpecification.NotSupported", + INSTANCE_NOT_FOUND: "InvalidInstanceID.NotFound", + INVALID_INSTANCE_ID: "InvalidInstanceID.Malformed" +}; +var DefaultInstanceMetadataEndpointState = { + disabled: "disabled", + enabled: "enabled", + no_preference: "no-preference" +}; +var MetadataDefaultHttpTokensState = { + no_preference: "no-preference", + optional: "optional", + required: "required" +}; +var DefaultInstanceMetadataTagsState = { + disabled: "disabled", + enabled: "enabled", + no_preference: "no-preference" +}; +var HostTenancy = { + dedicated: "dedicated", + host: "host" +}; +var TargetStorageTier = { + archive: "archive" +}; +var TrafficMirrorFilterRuleField = { + description: "description", + destination_port_range: "destination-port-range", + protocol: "protocol", + source_port_range: "source-port-range" +}; +var TrafficMirrorSessionField = { + description: "description", + packet_length: "packet-length", + virtual_network_id: "virtual-network-id" +}; +var VpcTenancy = { + default: "default" +}; +var Status = { + inClassic: "InClassic", + inVpc: "InVpc", + moveInProgress: "MoveInProgress" +}; +var GetLaunchTemplateDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchTemplateData && { + LaunchTemplateData: ResponseLaunchTemplateDataFilterSensitiveLog(obj.LaunchTemplateData) + } +}), "GetLaunchTemplateDataResultFilterSensitiveLog"); +var GetPasswordDataResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.PasswordData && { PasswordData: import_smithy_client.SENSITIVE_STRING } +}), "GetPasswordDataResultFilterSensitiveLog"); +var GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnectionDeviceSampleConfiguration && { VpnConnectionDeviceSampleConfiguration: import_smithy_client.SENSITIVE_STRING } +}), "GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog"); +var ImageDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } +}), "ImageDiskContainerFilterSensitiveLog"); +var ImportImageRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.DiskContainers && { + DiskContainers: obj.DiskContainers.map((item) => ImageDiskContainerFilterSensitiveLog(item)) + } +}), "ImportImageRequestFilterSensitiveLog"); +var ImportImageResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SnapshotDetails && { + SnapshotDetails: obj.SnapshotDetails.map((item) => SnapshotDetailFilterSensitiveLog(item)) + } +}), "ImportImageResultFilterSensitiveLog"); +var DiskImageDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ImportManifestUrl && { ImportManifestUrl: import_smithy_client.SENSITIVE_STRING } +}), "DiskImageDetailFilterSensitiveLog"); +var DiskImageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) } +}), "DiskImageFilterSensitiveLog"); +var UserDataFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj +}), "UserDataFilterSensitiveLog"); +var ImportInstanceLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "ImportInstanceLaunchSpecificationFilterSensitiveLog"); +var ImportInstanceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) }, + ...obj.LaunchSpecification && { + LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) + } +}), "ImportInstanceRequestFilterSensitiveLog"); +var ImportInstanceResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) } +}), "ImportInstanceResultFilterSensitiveLog"); +var SnapshotDiskContainerFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Url && { Url: import_smithy_client.SENSITIVE_STRING } +}), "SnapshotDiskContainerFilterSensitiveLog"); +var ImportSnapshotRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.DiskContainer && { DiskContainer: SnapshotDiskContainerFilterSensitiveLog(obj.DiskContainer) } +}), "ImportSnapshotRequestFilterSensitiveLog"); +var ImportSnapshotResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SnapshotTaskDetail && { SnapshotTaskDetail: SnapshotTaskDetailFilterSensitiveLog(obj.SnapshotTaskDetail) } +}), "ImportSnapshotResultFilterSensitiveLog"); +var ImportVolumeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Image && { Image: DiskImageDetailFilterSensitiveLog(obj.Image) } +}), "ImportVolumeRequestFilterSensitiveLog"); +var ImportVolumeResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ConversionTask && { ConversionTask: ConversionTaskFilterSensitiveLog(obj.ConversionTask) } +}), "ImportVolumeResultFilterSensitiveLog"); +var ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog"); +var ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.OidcOptions && { + OidcOptions: ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog(obj.OidcOptions) + } +}), "ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog"); +var ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VerifiedAccessTrustProvider && { + VerifiedAccessTrustProvider: VerifiedAccessTrustProviderFilterSensitiveLog(obj.VerifiedAccessTrustProvider) + } +}), "ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog"); +var ModifyVpnConnectionResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } +}), "ModifyVpnConnectionResultFilterSensitiveLog"); +var ModifyVpnConnectionOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } +}), "ModifyVpnConnectionOptionsResultFilterSensitiveLog"); +var ModifyVpnTunnelCertificateResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } +}), "ModifyVpnTunnelCertificateResultFilterSensitiveLog"); +var ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.PreSharedKey && { PreSharedKey: import_smithy_client.SENSITIVE_STRING } +}), "ModifyVpnTunnelOptionsSpecificationFilterSensitiveLog"); +var ModifyVpnTunnelOptionsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.TunnelOptions && { TunnelOptions: import_smithy_client.SENSITIVE_STRING } +}), "ModifyVpnTunnelOptionsRequestFilterSensitiveLog"); +var ModifyVpnTunnelOptionsResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.VpnConnection && { VpnConnection: VpnConnectionFilterSensitiveLog(obj.VpnConnection) } +}), "ModifyVpnTunnelOptionsResultFilterSensitiveLog"); + +// src/commands/GetLaunchTemplateDataCommand.ts +var _GetLaunchTemplateDataCommand = class _GetLaunchTemplateDataCommand 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("AmazonEC2", "GetLaunchTemplateData", {}).n("EC2Client", "GetLaunchTemplateDataCommand").f(void 0, GetLaunchTemplateDataResultFilterSensitiveLog).ser(se_GetLaunchTemplateDataCommand).de(de_GetLaunchTemplateDataCommand).build() { +}; +__name(_GetLaunchTemplateDataCommand, "GetLaunchTemplateDataCommand"); +var GetLaunchTemplateDataCommand = _GetLaunchTemplateDataCommand; - /** - * Creates a `_.range` or `_.rangeRight` function. - * - * @private - * @param {boolean} [fromRight] Specify iterating from right to left. - * @returns {Function} Returns the new range function. - */ - function createRange(fromRight) { - return function(start, end, step) { - if (step && typeof step != 'number' && isIterateeCall(start, end, step)) { - end = step = undefined; - } - // Ensure the sign of `-0` is preserved. - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - step = step === undefined ? (start < end ? 1 : -1) : toFinite(step); - return baseRange(start, end, step, fromRight); - }; - } +// src/commands/GetManagedPrefixListAssociationsCommand.ts - /** - * Creates a function that performs a relational operation on two values. - * - * @private - * @param {Function} operator The function to perform the operation. - * @returns {Function} Returns the new relational operation function. - */ - function createRelationalOperation(operator) { - return function(value, other) { - if (!(typeof value == 'string' && typeof other == 'string')) { - value = toNumber(value); - other = toNumber(other); - } - return operator(value, other); - }; - } - /** - * Creates a function that wraps `func` to continue currying. - * - * @private - * @param {Function} func The function to wrap. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @param {Function} wrapFunc The function to create the `func` wrapper. - * @param {*} placeholder The placeholder value. - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to prepend to those provided to - * the new function. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) { - var isCurry = bitmask & WRAP_CURRY_FLAG, - newHolders = isCurry ? holders : undefined, - newHoldersRight = isCurry ? undefined : holders, - newPartials = isCurry ? partials : undefined, - newPartialsRight = isCurry ? undefined : partials; - bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG); - bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG); - if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) { - bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG); - } - var newData = [ - func, bitmask, thisArg, newPartials, newHolders, newPartialsRight, - newHoldersRight, argPos, ary, arity - ]; +var _GetManagedPrefixListAssociationsCommand = class _GetManagedPrefixListAssociationsCommand 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("AmazonEC2", "GetManagedPrefixListAssociations", {}).n("EC2Client", "GetManagedPrefixListAssociationsCommand").f(void 0, void 0).ser(se_GetManagedPrefixListAssociationsCommand).de(de_GetManagedPrefixListAssociationsCommand).build() { +}; +__name(_GetManagedPrefixListAssociationsCommand, "GetManagedPrefixListAssociationsCommand"); +var GetManagedPrefixListAssociationsCommand = _GetManagedPrefixListAssociationsCommand; - var result = wrapFunc.apply(undefined, newData); - if (isLaziable(func)) { - setData(result, newData); - } - result.placeholder = placeholder; - return setWrapToString(result, func, bitmask); - } +// src/commands/GetManagedPrefixListEntriesCommand.ts - /** - * Creates a function like `_.round`. - * - * @private - * @param {string} methodName The name of the `Math` method to use when rounding. - * @returns {Function} Returns the new round function. - */ - function createRound(methodName) { - var func = Math[methodName]; - return function(number, precision) { - number = toNumber(number); - precision = precision == null ? 0 : nativeMin(toInteger(precision), 292); - if (precision && nativeIsFinite(number)) { - // Shift with exponential notation to avoid floating-point issues. - // See [MDN](https://mdn.io/round#Examples) for more details. - var pair = (toString(number) + 'e').split('e'), - value = func(pair[0] + 'e' + (+pair[1] + precision)); - pair = (toString(value) + 'e').split('e'); - return +(pair[0] + 'e' + (+pair[1] - precision)); - } - return func(number); - }; - } - /** - * Creates a set object of `values`. - * - * @private - * @param {Array} values The values to add to the set. - * @returns {Object} Returns the new set. - */ - var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) { - return new Set(values); - }; - /** - * Creates a `_.toPairs` or `_.toPairsIn` function. - * - * @private - * @param {Function} keysFunc The function to get the keys of a given object. - * @returns {Function} Returns the new pairs function. - */ - function createToPairs(keysFunc) { - return function(object) { - var tag = getTag(object); - if (tag == mapTag) { - return mapToArray(object); - } - if (tag == setTag) { - return setToPairs(object); - } - return baseToPairs(object, keysFunc(object)); - }; - } +var _GetManagedPrefixListEntriesCommand = class _GetManagedPrefixListEntriesCommand 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("AmazonEC2", "GetManagedPrefixListEntries", {}).n("EC2Client", "GetManagedPrefixListEntriesCommand").f(void 0, void 0).ser(se_GetManagedPrefixListEntriesCommand).de(de_GetManagedPrefixListEntriesCommand).build() { +}; +__name(_GetManagedPrefixListEntriesCommand, "GetManagedPrefixListEntriesCommand"); +var GetManagedPrefixListEntriesCommand = _GetManagedPrefixListEntriesCommand; - /** - * Creates a function that either curries or invokes `func` with optional - * `this` binding and partially applied arguments. - * - * @private - * @param {Function|string} func The function or method name to wrap. - * @param {number} bitmask The bitmask flags. - * 1 - `_.bind` - * 2 - `_.bindKey` - * 4 - `_.curry` or `_.curryRight` of a bound function - * 8 - `_.curry` - * 16 - `_.curryRight` - * 32 - `_.partial` - * 64 - `_.partialRight` - * 128 - `_.rearg` - * 256 - `_.ary` - * 512 - `_.flip` - * @param {*} [thisArg] The `this` binding of `func`. - * @param {Array} [partials] The arguments to be partially applied. - * @param {Array} [holders] The `partials` placeholder indexes. - * @param {Array} [argPos] The argument positions of the new function. - * @param {number} [ary] The arity cap of `func`. - * @param {number} [arity] The arity of `func`. - * @returns {Function} Returns the new wrapped function. - */ - function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) { - var isBindKey = bitmask & WRAP_BIND_KEY_FLAG; - if (!isBindKey && typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - var length = partials ? partials.length : 0; - if (!length) { - bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG); - partials = holders = undefined; - } - ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0); - arity = arity === undefined ? arity : toInteger(arity); - length -= holders ? holders.length : 0; +// src/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.ts - if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) { - var partialsRight = partials, - holdersRight = holders; - partials = holders = undefined; - } - var data = isBindKey ? undefined : getData(func); - var newData = [ - func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, - argPos, ary, arity - ]; - if (data) { - mergeData(newData, data); - } - func = newData[0]; - bitmask = newData[1]; - thisArg = newData[2]; - partials = newData[3]; - holders = newData[4]; - arity = newData[9] = newData[9] === undefined - ? (isBindKey ? 0 : func.length) - : nativeMax(newData[9] - length, 0); +var _GetNetworkInsightsAccessScopeAnalysisFindingsCommand = class _GetNetworkInsightsAccessScopeAnalysisFindingsCommand 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("AmazonEC2", "GetNetworkInsightsAccessScopeAnalysisFindings", {}).n("EC2Client", "GetNetworkInsightsAccessScopeAnalysisFindingsCommand").f(void 0, void 0).ser(se_GetNetworkInsightsAccessScopeAnalysisFindingsCommand).de(de_GetNetworkInsightsAccessScopeAnalysisFindingsCommand).build() { +}; +__name(_GetNetworkInsightsAccessScopeAnalysisFindingsCommand, "GetNetworkInsightsAccessScopeAnalysisFindingsCommand"); +var GetNetworkInsightsAccessScopeAnalysisFindingsCommand = _GetNetworkInsightsAccessScopeAnalysisFindingsCommand; - if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) { - bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG); - } - if (!bitmask || bitmask == WRAP_BIND_FLAG) { - var result = createBind(func, bitmask, thisArg); - } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) { - result = createCurry(func, bitmask, arity); - } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) { - result = createPartial(func, bitmask, thisArg, partials); - } else { - result = createHybrid.apply(undefined, newData); - } - var setter = data ? baseSetData : setData; - return setWrapToString(setter(result, newData), func, bitmask); - } +// src/commands/GetNetworkInsightsAccessScopeContentCommand.ts - /** - * Used by `_.defaults` to customize its `_.assignIn` use to assign properties - * of source objects to the destination object for all destination properties - * that resolve to `undefined`. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to assign. - * @param {Object} object The parent object of `objValue`. - * @returns {*} Returns the value to assign. - */ - function customDefaultsAssignIn(objValue, srcValue, key, object) { - if (objValue === undefined || - (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) { - return srcValue; - } - return objValue; - } - /** - * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source - * objects into destination objects that are passed thru. - * - * @private - * @param {*} objValue The destination value. - * @param {*} srcValue The source value. - * @param {string} key The key of the property to merge. - * @param {Object} object The parent object of `objValue`. - * @param {Object} source The parent object of `srcValue`. - * @param {Object} [stack] Tracks traversed source values and their merged - * counterparts. - * @returns {*} Returns the value to assign. - */ - function customDefaultsMerge(objValue, srcValue, key, object, source, stack) { - if (isObject(objValue) && isObject(srcValue)) { - // Recursively merge objects and arrays (susceptible to call stack limits). - stack.set(srcValue, objValue); - baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack); - stack['delete'](srcValue); - } - return objValue; - } - /** - * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain - * objects. - * - * @private - * @param {*} value The value to inspect. - * @param {string} key The key of the property to inspect. - * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`. - */ - function customOmitClone(value) { - return isPlainObject(value) ? undefined : value; - } - /** - * A specialized version of `baseIsEqualDeep` for arrays with support for - * partial deep comparisons. - * - * @private - * @param {Array} array The array to compare. - * @param {Array} other The other array to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `array` and `other` objects. - * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`. - */ - function equalArrays(array, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - arrLength = array.length, - othLength = other.length; +var _GetNetworkInsightsAccessScopeContentCommand = class _GetNetworkInsightsAccessScopeContentCommand 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("AmazonEC2", "GetNetworkInsightsAccessScopeContent", {}).n("EC2Client", "GetNetworkInsightsAccessScopeContentCommand").f(void 0, void 0).ser(se_GetNetworkInsightsAccessScopeContentCommand).de(de_GetNetworkInsightsAccessScopeContentCommand).build() { +}; +__name(_GetNetworkInsightsAccessScopeContentCommand, "GetNetworkInsightsAccessScopeContentCommand"); +var GetNetworkInsightsAccessScopeContentCommand = _GetNetworkInsightsAccessScopeContentCommand; - if (arrLength != othLength && !(isPartial && othLength > arrLength)) { - return false; - } - // Check that cyclic values are equal. - var arrStacked = stack.get(array); - var othStacked = stack.get(other); - if (arrStacked && othStacked) { - return arrStacked == other && othStacked == array; - } - var index = -1, - result = true, - seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined; +// src/commands/GetPasswordDataCommand.ts - stack.set(array, other); - stack.set(other, array); - // Ignore non-index properties. - while (++index < arrLength) { - var arrValue = array[index], - othValue = other[index]; - if (customizer) { - var compared = isPartial - ? customizer(othValue, arrValue, index, other, array, stack) - : customizer(arrValue, othValue, index, array, other, stack); - } - if (compared !== undefined) { - if (compared) { - continue; - } - result = false; - break; - } - // Recursively compare arrays (susceptible to call stack limits). - if (seen) { - if (!arraySome(other, function(othValue, othIndex) { - if (!cacheHas(seen, othIndex) && - (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) { - return seen.push(othIndex); - } - })) { - result = false; - break; - } - } else if (!( - arrValue === othValue || - equalFunc(arrValue, othValue, bitmask, customizer, stack) - )) { - result = false; - break; - } - } - stack['delete'](array); - stack['delete'](other); - return result; - } - /** - * A specialized version of `baseIsEqualDeep` for comparing objects of - * the same `toStringTag`. - * - * **Note:** This function only supports comparing values with tags of - * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {string} tag The `toStringTag` of the objects to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) { - switch (tag) { - case dataViewTag: - if ((object.byteLength != other.byteLength) || - (object.byteOffset != other.byteOffset)) { - return false; - } - object = object.buffer; - other = other.buffer; +var _GetPasswordDataCommand = class _GetPasswordDataCommand 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("AmazonEC2", "GetPasswordData", {}).n("EC2Client", "GetPasswordDataCommand").f(void 0, GetPasswordDataResultFilterSensitiveLog).ser(se_GetPasswordDataCommand).de(de_GetPasswordDataCommand).build() { +}; +__name(_GetPasswordDataCommand, "GetPasswordDataCommand"); +var GetPasswordDataCommand = _GetPasswordDataCommand; + +// src/commands/GetReservedInstancesExchangeQuoteCommand.ts - case arrayBufferTag: - if ((object.byteLength != other.byteLength) || - !equalFunc(new Uint8Array(object), new Uint8Array(other))) { - return false; - } - return true; - case boolTag: - case dateTag: - case numberTag: - // Coerce booleans to `1` or `0` and dates to milliseconds. - // Invalid dates are coerced to `NaN`. - return eq(+object, +other); - case errorTag: - return object.name == other.name && object.message == other.message; - case regexpTag: - case stringTag: - // Coerce regexes to strings and treat strings, primitives and objects, - // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring - // for more details. - return object == (other + ''); +var _GetReservedInstancesExchangeQuoteCommand = class _GetReservedInstancesExchangeQuoteCommand 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("AmazonEC2", "GetReservedInstancesExchangeQuote", {}).n("EC2Client", "GetReservedInstancesExchangeQuoteCommand").f(void 0, void 0).ser(se_GetReservedInstancesExchangeQuoteCommand).de(de_GetReservedInstancesExchangeQuoteCommand).build() { +}; +__name(_GetReservedInstancesExchangeQuoteCommand, "GetReservedInstancesExchangeQuoteCommand"); +var GetReservedInstancesExchangeQuoteCommand = _GetReservedInstancesExchangeQuoteCommand; - case mapTag: - var convert = mapToArray; +// src/commands/GetSecurityGroupsForVpcCommand.ts - case setTag: - var isPartial = bitmask & COMPARE_PARTIAL_FLAG; - convert || (convert = setToArray); - if (object.size != other.size && !isPartial) { - return false; - } - // Assume cyclic values are equal. - var stacked = stack.get(object); - if (stacked) { - return stacked == other; - } - bitmask |= COMPARE_UNORDERED_FLAG; - // Recursively compare objects (susceptible to call stack limits). - stack.set(object, other); - var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack); - stack['delete'](object); - return result; - case symbolTag: - if (symbolValueOf) { - return symbolValueOf.call(object) == symbolValueOf.call(other); - } - } - return false; - } +var _GetSecurityGroupsForVpcCommand = class _GetSecurityGroupsForVpcCommand 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("AmazonEC2", "GetSecurityGroupsForVpc", {}).n("EC2Client", "GetSecurityGroupsForVpcCommand").f(void 0, void 0).ser(se_GetSecurityGroupsForVpcCommand).de(de_GetSecurityGroupsForVpcCommand).build() { +}; +__name(_GetSecurityGroupsForVpcCommand, "GetSecurityGroupsForVpcCommand"); +var GetSecurityGroupsForVpcCommand = _GetSecurityGroupsForVpcCommand; - /** - * A specialized version of `baseIsEqualDeep` for objects with support for - * partial deep comparisons. - * - * @private - * @param {Object} object The object to compare. - * @param {Object} other The other object to compare. - * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details. - * @param {Function} customizer The function to customize comparisons. - * @param {Function} equalFunc The function to determine equivalents of values. - * @param {Object} stack Tracks traversed `object` and `other` objects. - * @returns {boolean} Returns `true` if the objects are equivalent, else `false`. - */ - function equalObjects(object, other, bitmask, customizer, equalFunc, stack) { - var isPartial = bitmask & COMPARE_PARTIAL_FLAG, - objProps = getAllKeys(object), - objLength = objProps.length, - othProps = getAllKeys(other), - othLength = othProps.length; +// src/commands/GetSerialConsoleAccessStatusCommand.ts - if (objLength != othLength && !isPartial) { - return false; - } - var index = objLength; - while (index--) { - var key = objProps[index]; - if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) { - return false; - } - } - // Check that cyclic values are equal. - var objStacked = stack.get(object); - var othStacked = stack.get(other); - if (objStacked && othStacked) { - return objStacked == other && othStacked == object; - } - var result = true; - stack.set(object, other); - stack.set(other, object); - var skipCtor = isPartial; - while (++index < objLength) { - key = objProps[index]; - var objValue = object[key], - othValue = other[key]; - if (customizer) { - var compared = isPartial - ? customizer(othValue, objValue, key, other, object, stack) - : customizer(objValue, othValue, key, object, other, stack); - } - // Recursively compare objects (susceptible to call stack limits). - if (!(compared === undefined - ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack)) - : compared - )) { - result = false; - break; - } - skipCtor || (skipCtor = key == 'constructor'); - } - if (result && !skipCtor) { - var objCtor = object.constructor, - othCtor = other.constructor; - // Non `Object` object instances with different constructors are not equal. - if (objCtor != othCtor && - ('constructor' in object && 'constructor' in other) && - !(typeof objCtor == 'function' && objCtor instanceof objCtor && - typeof othCtor == 'function' && othCtor instanceof othCtor)) { - result = false; - } - } - stack['delete'](object); - stack['delete'](other); - return result; - } +var _GetSerialConsoleAccessStatusCommand = class _GetSerialConsoleAccessStatusCommand 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("AmazonEC2", "GetSerialConsoleAccessStatus", {}).n("EC2Client", "GetSerialConsoleAccessStatusCommand").f(void 0, void 0).ser(se_GetSerialConsoleAccessStatusCommand).de(de_GetSerialConsoleAccessStatusCommand).build() { +}; +__name(_GetSerialConsoleAccessStatusCommand, "GetSerialConsoleAccessStatusCommand"); +var GetSerialConsoleAccessStatusCommand = _GetSerialConsoleAccessStatusCommand; - /** - * A specialized version of `baseRest` which flattens the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @returns {Function} Returns the new function. - */ - function flatRest(func) { - return setToString(overRest(func, undefined, flatten), func + ''); - } +// src/commands/GetSnapshotBlockPublicAccessStateCommand.ts - /** - * Creates an array of own enumerable property names and symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); - } - /** - * Creates an array of own and inherited enumerable property names and - * symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names and symbols. - */ - function getAllKeysIn(object) { - return baseGetAllKeys(object, keysIn, getSymbolsIn); - } - /** - * Gets metadata for `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {*} Returns the metadata for `func`. - */ - var getData = !metaMap ? noop : function(func) { - return metaMap.get(func); - }; - /** - * Gets the name of `func`. - * - * @private - * @param {Function} func The function to query. - * @returns {string} Returns the function name. - */ - function getFuncName(func) { - var result = (func.name + ''), - array = realNames[result], - length = hasOwnProperty.call(realNames, result) ? array.length : 0; +var _GetSnapshotBlockPublicAccessStateCommand = class _GetSnapshotBlockPublicAccessStateCommand 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("AmazonEC2", "GetSnapshotBlockPublicAccessState", {}).n("EC2Client", "GetSnapshotBlockPublicAccessStateCommand").f(void 0, void 0).ser(se_GetSnapshotBlockPublicAccessStateCommand).de(de_GetSnapshotBlockPublicAccessStateCommand).build() { +}; +__name(_GetSnapshotBlockPublicAccessStateCommand, "GetSnapshotBlockPublicAccessStateCommand"); +var GetSnapshotBlockPublicAccessStateCommand = _GetSnapshotBlockPublicAccessStateCommand; - while (length--) { - var data = array[length], - otherFunc = data.func; - if (otherFunc == null || otherFunc == func) { - return data.name; - } - } - return result; - } +// src/commands/GetSpotPlacementScoresCommand.ts - /** - * Gets the argument placeholder value for `func`. - * - * @private - * @param {Function} func The function to inspect. - * @returns {*} Returns the placeholder value. - */ - function getHolder(func) { - var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; - return object.placeholder; - } - /** - * Gets the appropriate "iteratee" function. If `_.iteratee` is customized, - * this function returns the custom method, otherwise it returns `baseIteratee`. - * If arguments are provided, the chosen function is invoked with them and - * its result is returned. - * - * @private - * @param {*} [value] The value to convert to an iteratee. - * @param {number} [arity] The arity of the created iteratee. - * @returns {Function} Returns the chosen function or its result. - */ - function getIteratee() { - var result = lodash.iteratee || iteratee; - result = result === iteratee ? baseIteratee : result; - return arguments.length ? result(arguments[0], arguments[1]) : result; - } - /** - * Gets the data for `map`. - * - * @private - * @param {Object} map The map to query. - * @param {string} key The reference key. - * @returns {*} Returns the map data. - */ - function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; - } - /** - * Gets the property names, values, and compare flags of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the match data of `object`. - */ - function getMatchData(object) { - var result = keys(object), - length = result.length; +var _GetSpotPlacementScoresCommand = class _GetSpotPlacementScoresCommand 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("AmazonEC2", "GetSpotPlacementScores", {}).n("EC2Client", "GetSpotPlacementScoresCommand").f(void 0, void 0).ser(se_GetSpotPlacementScoresCommand).de(de_GetSpotPlacementScoresCommand).build() { +}; +__name(_GetSpotPlacementScoresCommand, "GetSpotPlacementScoresCommand"); +var GetSpotPlacementScoresCommand = _GetSpotPlacementScoresCommand; - while (length--) { - var key = result[length], - value = object[key]; +// src/commands/GetSubnetCidrReservationsCommand.ts - result[length] = [key, value, isStrictComparable(value)]; - } - return result; - } - /** - * Gets the native function at `key` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the method to get. - * @returns {*} Returns the function if it's native, else `undefined`. - */ - function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; - } - /** - * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the raw `toStringTag`. - */ - function getRawTag(value) { - var isOwn = hasOwnProperty.call(value, symToStringTag), - tag = value[symToStringTag]; - try { - value[symToStringTag] = undefined; - var unmasked = true; - } catch (e) {} +var _GetSubnetCidrReservationsCommand = class _GetSubnetCidrReservationsCommand 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("AmazonEC2", "GetSubnetCidrReservations", {}).n("EC2Client", "GetSubnetCidrReservationsCommand").f(void 0, void 0).ser(se_GetSubnetCidrReservationsCommand).de(de_GetSubnetCidrReservationsCommand).build() { +}; +__name(_GetSubnetCidrReservationsCommand, "GetSubnetCidrReservationsCommand"); +var GetSubnetCidrReservationsCommand = _GetSubnetCidrReservationsCommand; - var result = nativeObjectToString.call(value); - if (unmasked) { - if (isOwn) { - value[symToStringTag] = tag; - } else { - delete value[symToStringTag]; - } - } - return result; - } +// src/commands/GetTransitGatewayAttachmentPropagationsCommand.ts - /** - * Creates an array of the own enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbols = !nativeGetSymbols ? stubArray : function(object) { - if (object == null) { - return []; - } - object = Object(object); - return arrayFilter(nativeGetSymbols(object), function(symbol) { - return propertyIsEnumerable.call(object, symbol); - }); - }; - /** - * Creates an array of the own and inherited enumerable symbols of `object`. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of symbols. - */ - var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) { - var result = []; - while (object) { - arrayPush(result, getSymbols(object)); - object = getPrototype(object); - } - return result; - }; - /** - * Gets the `toStringTag` of `value`. - * - * @private - * @param {*} value The value to query. - * @returns {string} Returns the `toStringTag`. - */ - var getTag = baseGetTag; - // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6. - if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = baseGetTag(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : ''; +var _GetTransitGatewayAttachmentPropagationsCommand = class _GetTransitGatewayAttachmentPropagationsCommand 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("AmazonEC2", "GetTransitGatewayAttachmentPropagations", {}).n("EC2Client", "GetTransitGatewayAttachmentPropagationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayAttachmentPropagationsCommand).de(de_GetTransitGatewayAttachmentPropagationsCommand).build() { +}; +__name(_GetTransitGatewayAttachmentPropagationsCommand, "GetTransitGatewayAttachmentPropagationsCommand"); +var GetTransitGatewayAttachmentPropagationsCommand = _GetTransitGatewayAttachmentPropagationsCommand; - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; - } +// src/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts - /** - * Gets the view, applying any `transforms` to the `start` and `end` positions. - * - * @private - * @param {number} start The start of the view. - * @param {number} end The end of the view. - * @param {Array} transforms The transformations to apply to the view. - * @returns {Object} Returns an object containing the `start` and `end` - * positions of the view. - */ - function getView(start, end, transforms) { - var index = -1, - length = transforms.length; - while (++index < length) { - var data = transforms[index], - size = data.size; - switch (data.type) { - case 'drop': start += size; break; - case 'dropRight': end -= size; break; - case 'take': end = nativeMin(end, start + size); break; - case 'takeRight': start = nativeMax(start, end - size); break; - } - } - return { 'start': start, 'end': end }; - } - /** - * Extracts wrapper details from the `source` body comment. - * - * @private - * @param {string} source The source to inspect. - * @returns {Array} Returns the wrapper details. - */ - function getWrapDetails(source) { - var match = source.match(reWrapDetails); - return match ? match[1].split(reSplitDetails) : []; - } +var _GetTransitGatewayMulticastDomainAssociationsCommand = class _GetTransitGatewayMulticastDomainAssociationsCommand 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("AmazonEC2", "GetTransitGatewayMulticastDomainAssociations", {}).n("EC2Client", "GetTransitGatewayMulticastDomainAssociationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayMulticastDomainAssociationsCommand).de(de_GetTransitGatewayMulticastDomainAssociationsCommand).build() { +}; +__name(_GetTransitGatewayMulticastDomainAssociationsCommand, "GetTransitGatewayMulticastDomainAssociationsCommand"); +var GetTransitGatewayMulticastDomainAssociationsCommand = _GetTransitGatewayMulticastDomainAssociationsCommand; - /** - * Checks if `path` exists on `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @param {Function} hasFunc The function to check properties. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - */ - function hasPath(object, path, hasFunc) { - path = castPath(path, object); +// src/commands/GetTransitGatewayPolicyTableAssociationsCommand.ts - var index = -1, - length = path.length, - result = false; - while (++index < length) { - var key = toKey(path[index]); - if (!(result = object != null && hasFunc(object, key))) { - break; - } - object = object[key]; - } - if (result || ++index != length) { - return result; - } - length = object == null ? 0 : object.length; - return !!length && isLength(length) && isIndex(key, length) && - (isArray(object) || isArguments(object)); - } - /** - * Initializes an array clone. - * - * @private - * @param {Array} array The array to clone. - * @returns {Array} Returns the initialized clone. - */ - function initCloneArray(array) { - var length = array.length, - result = new array.constructor(length); - // Add properties assigned by `RegExp#exec`. - if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { - result.index = array.index; - result.input = array.input; - } - return result; - } +var _GetTransitGatewayPolicyTableAssociationsCommand = class _GetTransitGatewayPolicyTableAssociationsCommand 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("AmazonEC2", "GetTransitGatewayPolicyTableAssociations", {}).n("EC2Client", "GetTransitGatewayPolicyTableAssociationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayPolicyTableAssociationsCommand).de(de_GetTransitGatewayPolicyTableAssociationsCommand).build() { +}; +__name(_GetTransitGatewayPolicyTableAssociationsCommand, "GetTransitGatewayPolicyTableAssociationsCommand"); +var GetTransitGatewayPolicyTableAssociationsCommand = _GetTransitGatewayPolicyTableAssociationsCommand; - /** - * Initializes an object clone. - * - * @private - * @param {Object} object The object to clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; - } +// src/commands/GetTransitGatewayPolicyTableEntriesCommand.ts - /** - * Initializes an object clone based on its `toStringTag`. - * - * **Note:** This function only supports cloning values with tags of - * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`. - * - * @private - * @param {Object} object The object to clone. - * @param {string} tag The `toStringTag` of the object to clone. - * @param {boolean} [isDeep] Specify a deep clone. - * @returns {Object} Returns the initialized clone. - */ - function initCloneByTag(object, tag, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return cloneArrayBuffer(object); - case boolTag: - case dateTag: - return new Ctor(+object); - case dataViewTag: - return cloneDataView(object, isDeep); - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - return cloneTypedArray(object, isDeep); +var _GetTransitGatewayPolicyTableEntriesCommand = class _GetTransitGatewayPolicyTableEntriesCommand 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("AmazonEC2", "GetTransitGatewayPolicyTableEntries", {}).n("EC2Client", "GetTransitGatewayPolicyTableEntriesCommand").f(void 0, void 0).ser(se_GetTransitGatewayPolicyTableEntriesCommand).de(de_GetTransitGatewayPolicyTableEntriesCommand).build() { +}; +__name(_GetTransitGatewayPolicyTableEntriesCommand, "GetTransitGatewayPolicyTableEntriesCommand"); +var GetTransitGatewayPolicyTableEntriesCommand = _GetTransitGatewayPolicyTableEntriesCommand; - case mapTag: - return new Ctor; +// src/commands/GetTransitGatewayPrefixListReferencesCommand.ts - case numberTag: - case stringTag: - return new Ctor(object); - case regexpTag: - return cloneRegExp(object); - case setTag: - return new Ctor; - case symbolTag: - return cloneSymbol(object); - } - } +var _GetTransitGatewayPrefixListReferencesCommand = class _GetTransitGatewayPrefixListReferencesCommand 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("AmazonEC2", "GetTransitGatewayPrefixListReferences", {}).n("EC2Client", "GetTransitGatewayPrefixListReferencesCommand").f(void 0, void 0).ser(se_GetTransitGatewayPrefixListReferencesCommand).de(de_GetTransitGatewayPrefixListReferencesCommand).build() { +}; +__name(_GetTransitGatewayPrefixListReferencesCommand, "GetTransitGatewayPrefixListReferencesCommand"); +var GetTransitGatewayPrefixListReferencesCommand = _GetTransitGatewayPrefixListReferencesCommand; + +// src/commands/GetTransitGatewayRouteTableAssociationsCommand.ts + + + + +var _GetTransitGatewayRouteTableAssociationsCommand = class _GetTransitGatewayRouteTableAssociationsCommand 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("AmazonEC2", "GetTransitGatewayRouteTableAssociations", {}).n("EC2Client", "GetTransitGatewayRouteTableAssociationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayRouteTableAssociationsCommand).de(de_GetTransitGatewayRouteTableAssociationsCommand).build() { +}; +__name(_GetTransitGatewayRouteTableAssociationsCommand, "GetTransitGatewayRouteTableAssociationsCommand"); +var GetTransitGatewayRouteTableAssociationsCommand = _GetTransitGatewayRouteTableAssociationsCommand; + +// src/commands/GetTransitGatewayRouteTablePropagationsCommand.ts + + + + +var _GetTransitGatewayRouteTablePropagationsCommand = class _GetTransitGatewayRouteTablePropagationsCommand 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("AmazonEC2", "GetTransitGatewayRouteTablePropagations", {}).n("EC2Client", "GetTransitGatewayRouteTablePropagationsCommand").f(void 0, void 0).ser(se_GetTransitGatewayRouteTablePropagationsCommand).de(de_GetTransitGatewayRouteTablePropagationsCommand).build() { +}; +__name(_GetTransitGatewayRouteTablePropagationsCommand, "GetTransitGatewayRouteTablePropagationsCommand"); +var GetTransitGatewayRouteTablePropagationsCommand = _GetTransitGatewayRouteTablePropagationsCommand; + +// src/commands/GetVerifiedAccessEndpointPolicyCommand.ts - /** - * Inserts wrapper `details` in a comment at the top of the `source` body. - * - * @private - * @param {string} source The source to modify. - * @returns {Array} details The details to insert. - * @returns {string} Returns the modified source. - */ - function insertWrapDetails(source, details) { - var length = details.length; - if (!length) { - return source; - } - var lastIndex = length - 1; - details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex]; - details = details.join(length > 2 ? ', ' : ' '); - return source.replace(reWrapComment, '{\n/* [wrapped with ' + details + '] */\n'); - } - /** - * Checks if `value` is a flattenable `arguments` object or array. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is flattenable, else `false`. - */ - function isFlattenable(value) { - return isArray(value) || isArguments(value) || - !!(spreadableSymbol && value && value[spreadableSymbol]); - } - /** - * Checks if `value` is a valid array-like index. - * - * @private - * @param {*} value The value to check. - * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index. - * @returns {boolean} Returns `true` if `value` is a valid index, else `false`. - */ - function isIndex(value, length) { - var type = typeof value; - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (type == 'number' || - (type != 'symbol' && reIsUint.test(value))) && - (value > -1 && value % 1 == 0 && value < length); - } +var _GetVerifiedAccessEndpointPolicyCommand = class _GetVerifiedAccessEndpointPolicyCommand 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("AmazonEC2", "GetVerifiedAccessEndpointPolicy", {}).n("EC2Client", "GetVerifiedAccessEndpointPolicyCommand").f(void 0, void 0).ser(se_GetVerifiedAccessEndpointPolicyCommand).de(de_GetVerifiedAccessEndpointPolicyCommand).build() { +}; +__name(_GetVerifiedAccessEndpointPolicyCommand, "GetVerifiedAccessEndpointPolicyCommand"); +var GetVerifiedAccessEndpointPolicyCommand = _GetVerifiedAccessEndpointPolicyCommand; - /** - * Checks if the given arguments are from an iteratee call. - * - * @private - * @param {*} value The potential iteratee value argument. - * @param {*} index The potential iteratee index or key argument. - * @param {*} object The potential iteratee object argument. - * @returns {boolean} Returns `true` if the arguments are from an iteratee call, - * else `false`. - */ - function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; - } +// src/commands/GetVerifiedAccessGroupPolicyCommand.ts - /** - * Checks if `value` is a property name and not a property path. - * - * @private - * @param {*} value The value to check. - * @param {Object} [object] The object to query keys on. - * @returns {boolean} Returns `true` if `value` is a property name, else `false`. - */ - function isKey(value, object) { - if (isArray(value)) { - return false; - } - var type = typeof value; - if (type == 'number' || type == 'symbol' || type == 'boolean' || - value == null || isSymbol(value)) { - return true; - } - return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || - (object != null && value in Object(object)); - } - /** - * Checks if `value` is suitable for use as unique object key. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is suitable, else `false`. - */ - function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); - } - /** - * Checks if `func` has a lazy counterpart. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` has a lazy counterpart, - * else `false`. - */ - function isLaziable(func) { - var funcName = getFuncName(func), - other = lodash[funcName]; - if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) { - return false; - } - if (func === other) { - return true; - } - var data = getData(other); - return !!data && func === data[0]; - } +var _GetVerifiedAccessGroupPolicyCommand = class _GetVerifiedAccessGroupPolicyCommand 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("AmazonEC2", "GetVerifiedAccessGroupPolicy", {}).n("EC2Client", "GetVerifiedAccessGroupPolicyCommand").f(void 0, void 0).ser(se_GetVerifiedAccessGroupPolicyCommand).de(de_GetVerifiedAccessGroupPolicyCommand).build() { +}; +__name(_GetVerifiedAccessGroupPolicyCommand, "GetVerifiedAccessGroupPolicyCommand"); +var GetVerifiedAccessGroupPolicyCommand = _GetVerifiedAccessGroupPolicyCommand; - /** - * Checks if `func` has its source masked. - * - * @private - * @param {Function} func The function to check. - * @returns {boolean} Returns `true` if `func` is masked, else `false`. - */ - function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); - } +// src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts - /** - * Checks if `func` is capable of being masked. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `func` is maskable, else `false`. - */ - var isMaskable = coreJsData ? isFunction : stubFalse; - /** - * Checks if `value` is likely a prototype object. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a prototype, else `false`. - */ - function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - return value === proto; - } - /** - * Checks if `value` is suitable for strict equality comparisons, i.e. `===`. - * - * @private - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` if suitable for strict - * equality comparisons, else `false`. - */ - function isStrictComparable(value) { - return value === value && !isObject(value); - } +var _GetVpnConnectionDeviceSampleConfigurationCommand = class _GetVpnConnectionDeviceSampleConfigurationCommand 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("AmazonEC2", "GetVpnConnectionDeviceSampleConfiguration", {}).n("EC2Client", "GetVpnConnectionDeviceSampleConfigurationCommand").f(void 0, GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog).ser(se_GetVpnConnectionDeviceSampleConfigurationCommand).de(de_GetVpnConnectionDeviceSampleConfigurationCommand).build() { +}; +__name(_GetVpnConnectionDeviceSampleConfigurationCommand, "GetVpnConnectionDeviceSampleConfigurationCommand"); +var GetVpnConnectionDeviceSampleConfigurationCommand = _GetVpnConnectionDeviceSampleConfigurationCommand; - /** - * A specialized version of `matchesProperty` for source values suitable - * for strict equality comparisons, i.e. `===`. - * - * @private - * @param {string} key The key of the property to get. - * @param {*} srcValue The value to match. - * @returns {Function} Returns the new spec function. - */ - function matchesStrictComparable(key, srcValue) { - return function(object) { - if (object == null) { - return false; - } - return object[key] === srcValue && - (srcValue !== undefined || (key in Object(object))); - }; - } +// src/commands/GetVpnConnectionDeviceTypesCommand.ts - /** - * A specialized version of `_.memoize` which clears the memoized function's - * cache when it exceeds `MAX_MEMOIZE_SIZE`. - * - * @private - * @param {Function} func The function to have its output memoized. - * @returns {Function} Returns the new memoized function. - */ - function memoizeCapped(func) { - var result = memoize(func, function(key) { - if (cache.size === MAX_MEMOIZE_SIZE) { - cache.clear(); - } - return key; - }); - var cache = result.cache; - return result; - } - /** - * Merges the function metadata of `source` into `data`. - * - * Merging metadata reduces the number of wrappers used to invoke a function. - * This is possible because methods like `_.bind`, `_.curry`, and `_.partial` - * may be applied regardless of execution order. Methods like `_.ary` and - * `_.rearg` modify function arguments, making the order in which they are - * executed important, preventing the merging of metadata. However, we make - * an exception for a safe combined case where curried functions have `_.ary` - * and or `_.rearg` applied. - * - * @private - * @param {Array} data The destination metadata. - * @param {Array} source The source metadata. - * @returns {Array} Returns `data`. - */ - function mergeData(data, source) { - var bitmask = data[1], - srcBitmask = source[1], - newBitmask = bitmask | srcBitmask, - isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG); - var isCombo = - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) || - ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) || - ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG)); +var _GetVpnConnectionDeviceTypesCommand = class _GetVpnConnectionDeviceTypesCommand 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("AmazonEC2", "GetVpnConnectionDeviceTypes", {}).n("EC2Client", "GetVpnConnectionDeviceTypesCommand").f(void 0, void 0).ser(se_GetVpnConnectionDeviceTypesCommand).de(de_GetVpnConnectionDeviceTypesCommand).build() { +}; +__name(_GetVpnConnectionDeviceTypesCommand, "GetVpnConnectionDeviceTypesCommand"); +var GetVpnConnectionDeviceTypesCommand = _GetVpnConnectionDeviceTypesCommand; - // Exit early if metadata can't be merged. - if (!(isCommon || isCombo)) { - return data; - } - // Use source `thisArg` if available. - if (srcBitmask & WRAP_BIND_FLAG) { - data[2] = source[2]; - // Set when currying a bound function. - newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG; - } - // Compose partial arguments. - var value = source[3]; - if (value) { - var partials = data[3]; - data[3] = partials ? composeArgs(partials, value, source[4]) : value; - data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4]; - } - // Compose partial right arguments. - value = source[5]; - if (value) { - partials = data[5]; - data[5] = partials ? composeArgsRight(partials, value, source[6]) : value; - data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6]; - } - // Use source `argPos` if available. - value = source[7]; - if (value) { - data[7] = value; - } - // Use source `ary` if it's smaller. - if (srcBitmask & WRAP_ARY_FLAG) { - data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]); - } - // Use source `arity` if one is not provided. - if (data[9] == null) { - data[9] = source[9]; - } - // Use source `func` and merge bitmasks. - data[0] = source[0]; - data[1] = newBitmask; +// src/commands/GetVpnTunnelReplacementStatusCommand.ts - return data; - } - /** - * This function is like - * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * except that it includes inherited enumerable properties. - * - * @private - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - */ - function nativeKeysIn(object) { - var result = []; - if (object != null) { - for (var key in Object(object)) { - result.push(key); - } - } - return result; - } - /** - * Converts `value` to a string using `Object.prototype.toString`. - * - * @private - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - */ - function objectToString(value) { - return nativeObjectToString.call(value); - } - /** - * A specialized version of `baseRest` which transforms the rest array. - * - * @private - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @param {Function} transform The rest array transform. - * @returns {Function} Returns the new function. - */ - function overRest(func, start, transform) { - start = nativeMax(start === undefined ? (func.length - 1) : start, 0); - return function() { - var args = arguments, - index = -1, - length = nativeMax(args.length - start, 0), - array = Array(length); +var _GetVpnTunnelReplacementStatusCommand = class _GetVpnTunnelReplacementStatusCommand 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("AmazonEC2", "GetVpnTunnelReplacementStatus", {}).n("EC2Client", "GetVpnTunnelReplacementStatusCommand").f(void 0, void 0).ser(se_GetVpnTunnelReplacementStatusCommand).de(de_GetVpnTunnelReplacementStatusCommand).build() { +}; +__name(_GetVpnTunnelReplacementStatusCommand, "GetVpnTunnelReplacementStatusCommand"); +var GetVpnTunnelReplacementStatusCommand = _GetVpnTunnelReplacementStatusCommand; - while (++index < length) { - array[index] = args[start + index]; - } - index = -1; - var otherArgs = Array(start + 1); - while (++index < start) { - otherArgs[index] = args[index]; - } - otherArgs[start] = transform(array); - return apply(func, this, otherArgs); - }; - } +// src/commands/ImportClientVpnClientCertificateRevocationListCommand.ts - /** - * Gets the parent value at `path` of `object`. - * - * @private - * @param {Object} object The object to query. - * @param {Array} path The path to get the parent value of. - * @returns {*} Returns the parent value. - */ - function parent(object, path) { - return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1)); - } - /** - * Reorder `array` according to the specified indexes where the element at - * the first index is assigned as the first element, the element at - * the second index is assigned as the second element, and so on. - * - * @private - * @param {Array} array The array to reorder. - * @param {Array} indexes The arranged array indexes. - * @returns {Array} Returns `array`. - */ - function reorder(array, indexes) { - var arrLength = array.length, - length = nativeMin(indexes.length, arrLength), - oldArray = copyArray(array); - while (length--) { - var index = indexes[length]; - array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined; - } - return array; - } - /** - * Gets the value at `key`, unless `key` is "__proto__" or "constructor". - * - * @private - * @param {Object} object The object to query. - * @param {string} key The key of the property to get. - * @returns {*} Returns the property value. - */ - function safeGet(object, key) { - if (key === 'constructor' && typeof object[key] === 'function') { - return; - } +var _ImportClientVpnClientCertificateRevocationListCommand = class _ImportClientVpnClientCertificateRevocationListCommand 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("AmazonEC2", "ImportClientVpnClientCertificateRevocationList", {}).n("EC2Client", "ImportClientVpnClientCertificateRevocationListCommand").f(void 0, void 0).ser(se_ImportClientVpnClientCertificateRevocationListCommand).de(de_ImportClientVpnClientCertificateRevocationListCommand).build() { +}; +__name(_ImportClientVpnClientCertificateRevocationListCommand, "ImportClientVpnClientCertificateRevocationListCommand"); +var ImportClientVpnClientCertificateRevocationListCommand = _ImportClientVpnClientCertificateRevocationListCommand; - if (key == '__proto__') { - return; - } +// src/commands/ImportImageCommand.ts - return object[key]; - } - /** - * Sets metadata for `func`. - * - * **Note:** If this function becomes hot, i.e. is invoked a lot in a short - * period of time, it will trip its breaker and transition to an identity - * function to avoid garbage collection pauses in V8. See - * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070) - * for more details. - * - * @private - * @param {Function} func The function to associate metadata with. - * @param {*} data The metadata. - * @returns {Function} Returns `func`. - */ - var setData = shortOut(baseSetData); - /** - * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout). - * - * @private - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @returns {number|Object} Returns the timer id or timeout object. - */ - var setTimeout = ctxSetTimeout || function(func, wait) { - return root.setTimeout(func, wait); - }; - /** - * Sets the `toString` method of `func` to return `string`. - * - * @private - * @param {Function} func The function to modify. - * @param {Function} string The `toString` result. - * @returns {Function} Returns `func`. - */ - var setToString = shortOut(baseSetToString); +var _ImportImageCommand = class _ImportImageCommand 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("AmazonEC2", "ImportImage", {}).n("EC2Client", "ImportImageCommand").f(ImportImageRequestFilterSensitiveLog, ImportImageResultFilterSensitiveLog).ser(se_ImportImageCommand).de(de_ImportImageCommand).build() { +}; +__name(_ImportImageCommand, "ImportImageCommand"); +var ImportImageCommand = _ImportImageCommand; - /** - * Sets the `toString` method of `wrapper` to mimic the source of `reference` - * with wrapper details in a comment at the top of the source body. - * - * @private - * @param {Function} wrapper The function to modify. - * @param {Function} reference The reference function. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Function} Returns `wrapper`. - */ - function setWrapToString(wrapper, reference, bitmask) { - var source = (reference + ''); - return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask))); - } +// src/commands/ImportInstanceCommand.ts - /** - * Creates a function that'll short out and invoke `identity` instead - * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN` - * milliseconds. - * - * @private - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new shortable function. - */ - function shortOut(func) { - var count = 0, - lastCalled = 0; - return function() { - var stamp = nativeNow(), - remaining = HOT_SPAN - (stamp - lastCalled); - lastCalled = stamp; - if (remaining > 0) { - if (++count >= HOT_COUNT) { - return arguments[0]; - } - } else { - count = 0; - } - return func.apply(undefined, arguments); - }; - } - /** - * A specialized version of `_.shuffle` which mutates and sets the size of `array`. - * - * @private - * @param {Array} array The array to shuffle. - * @param {number} [size=array.length] The size of `array`. - * @returns {Array} Returns `array`. - */ - function shuffleSelf(array, size) { - var index = -1, - length = array.length, - lastIndex = length - 1; +var _ImportInstanceCommand = class _ImportInstanceCommand 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("AmazonEC2", "ImportInstance", {}).n("EC2Client", "ImportInstanceCommand").f(ImportInstanceRequestFilterSensitiveLog, ImportInstanceResultFilterSensitiveLog).ser(se_ImportInstanceCommand).de(de_ImportInstanceCommand).build() { +}; +__name(_ImportInstanceCommand, "ImportInstanceCommand"); +var ImportInstanceCommand = _ImportInstanceCommand; - size = size === undefined ? length : size; - while (++index < size) { - var rand = baseRandom(index, lastIndex), - value = array[rand]; +// src/commands/ImportKeyPairCommand.ts - array[rand] = array[index]; - array[index] = value; - } - array.length = size; - return array; - } - /** - * Converts `string` to a property path array. - * - * @private - * @param {string} string The string to convert. - * @returns {Array} Returns the property path array. - */ - var stringToPath = memoizeCapped(function(string) { - var result = []; - if (string.charCodeAt(0) === 46 /* . */) { - result.push(''); - } - string.replace(rePropName, function(match, number, quote, subString) { - result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match)); - }); - return result; - }); - /** - * Converts `value` to a string key if it's not a string or symbol. - * - * @private - * @param {*} value The value to inspect. - * @returns {string|symbol} Returns the key. - */ - function toKey(value) { - if (typeof value == 'string' || isSymbol(value)) { - return value; - } - var result = (value + ''); - return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result; - } - /** - * Converts `func` to its source code. - * - * @private - * @param {Function} func The function to convert. - * @returns {string} Returns the source code. - */ - function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; - } +var _ImportKeyPairCommand = class _ImportKeyPairCommand 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("AmazonEC2", "ImportKeyPair", {}).n("EC2Client", "ImportKeyPairCommand").f(void 0, void 0).ser(se_ImportKeyPairCommand).de(de_ImportKeyPairCommand).build() { +}; +__name(_ImportKeyPairCommand, "ImportKeyPairCommand"); +var ImportKeyPairCommand = _ImportKeyPairCommand; - /** - * Updates wrapper `details` based on `bitmask` flags. - * - * @private - * @returns {Array} details The details to modify. - * @param {number} bitmask The bitmask flags. See `createWrap` for more details. - * @returns {Array} Returns `details`. - */ - function updateWrapDetails(details, bitmask) { - arrayEach(wrapFlags, function(pair) { - var value = '_.' + pair[0]; - if ((bitmask & pair[1]) && !arrayIncludes(details, value)) { - details.push(value); - } - }); - return details.sort(); - } +// src/commands/ImportSnapshotCommand.ts - /** - * Creates a clone of `wrapper`. - * - * @private - * @param {Object} wrapper The wrapper to clone. - * @returns {Object} Returns the cloned wrapper. - */ - function wrapperClone(wrapper) { - if (wrapper instanceof LazyWrapper) { - return wrapper.clone(); - } - var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__); - result.__actions__ = copyArray(wrapper.__actions__); - result.__index__ = wrapper.__index__; - result.__values__ = wrapper.__values__; - return result; - } - /*------------------------------------------------------------------------*/ - /** - * Creates an array of elements split into groups the length of `size`. - * If `array` can't be split evenly, the final chunk will be the remaining - * elements. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to process. - * @param {number} [size=1] The length of each chunk - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the new array of chunks. - * @example - * - * _.chunk(['a', 'b', 'c', 'd'], 2); - * // => [['a', 'b'], ['c', 'd']] - * - * _.chunk(['a', 'b', 'c', 'd'], 3); - * // => [['a', 'b', 'c'], ['d']] - */ - function chunk(array, size, guard) { - if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) { - size = 1; - } else { - size = nativeMax(toInteger(size), 0); - } - var length = array == null ? 0 : array.length; - if (!length || size < 1) { - return []; - } - var index = 0, - resIndex = 0, - result = Array(nativeCeil(length / size)); - while (index < length) { - result[resIndex++] = baseSlice(array, index, (index += size)); - } - return result; - } +var _ImportSnapshotCommand = class _ImportSnapshotCommand 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("AmazonEC2", "ImportSnapshot", {}).n("EC2Client", "ImportSnapshotCommand").f(ImportSnapshotRequestFilterSensitiveLog, ImportSnapshotResultFilterSensitiveLog).ser(se_ImportSnapshotCommand).de(de_ImportSnapshotCommand).build() { +}; +__name(_ImportSnapshotCommand, "ImportSnapshotCommand"); +var ImportSnapshotCommand = _ImportSnapshotCommand; - /** - * Creates an array with all falsey values removed. The values `false`, `null`, - * `0`, `""`, `undefined`, and `NaN` are falsey. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to compact. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.compact([0, 1, false, 2, '', 3]); - * // => [1, 2, 3] - */ - function compact(array) { - var index = -1, - length = array == null ? 0 : array.length, - resIndex = 0, - result = []; +// src/commands/ImportVolumeCommand.ts - while (++index < length) { - var value = array[index]; - if (value) { - result[resIndex++] = value; - } - } - return result; - } - /** - * Creates a new array concatenating `array` with any additional arrays - * and/or values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to concatenate. - * @param {...*} [values] The values to concatenate. - * @returns {Array} Returns the new concatenated array. - * @example - * - * var array = [1]; - * var other = _.concat(array, 2, [3], [[4]]); - * - * console.log(other); - * // => [1, 2, 3, [4]] - * - * console.log(array); - * // => [1] - */ - function concat() { - var length = arguments.length; - if (!length) { - return []; - } - var args = Array(length - 1), - array = arguments[0], - index = length; - while (index--) { - args[index - 1] = arguments[index]; - } - return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1)); - } - /** - * Creates an array of `array` values not included in the other given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * **Note:** Unlike `_.pullAll`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.without, _.xor - * @example - * - * _.difference([2, 1], [2, 3]); - * // => [1] - */ - var difference = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true)) - : []; - }); +var _ImportVolumeCommand = class _ImportVolumeCommand 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("AmazonEC2", "ImportVolume", {}).n("EC2Client", "ImportVolumeCommand").f(ImportVolumeRequestFilterSensitiveLog, ImportVolumeResultFilterSensitiveLog).ser(se_ImportVolumeCommand).de(de_ImportVolumeCommand).build() { +}; +__name(_ImportVolumeCommand, "ImportVolumeCommand"); +var ImportVolumeCommand = _ImportVolumeCommand; - /** - * This method is like `_.difference` except that it accepts `iteratee` which - * is invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * **Note:** Unlike `_.pullAllBy`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2] - * - * // The `_.property` iteratee shorthand. - * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var differenceBy = baseRest(function(array, values) { - var iteratee = last(values); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)) - : []; - }); +// src/commands/ListImagesInRecycleBinCommand.ts - /** - * This method is like `_.difference` except that it accepts `comparator` - * which is invoked to compare elements of `array` to `values`. The order and - * references of result values are determined by the first array. The comparator - * is invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.pullAllWith`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...Array} [values] The values to exclude. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * - * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual); - * // => [{ 'x': 2, 'y': 1 }] - */ - var differenceWith = baseRest(function(array, values) { - var comparator = last(values); - if (isArrayLikeObject(comparator)) { - comparator = undefined; - } - return isArrayLikeObject(array) - ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator) - : []; - }); - /** - * Creates a slice of `array` with `n` elements dropped from the beginning. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.drop([1, 2, 3]); - * // => [2, 3] - * - * _.drop([1, 2, 3], 2); - * // => [3] - * - * _.drop([1, 2, 3], 5); - * // => [] - * - * _.drop([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function drop(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, n < 0 ? 0 : n, length); - } - /** - * Creates a slice of `array` with `n` elements dropped from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to drop. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.dropRight([1, 2, 3]); - * // => [1, 2] - * - * _.dropRight([1, 2, 3], 2); - * // => [1] - * - * _.dropRight([1, 2, 3], 5); - * // => [] - * - * _.dropRight([1, 2, 3], 0); - * // => [1, 2, 3] - */ - function dropRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, 0, n < 0 ? 0 : n); - } - /** - * Creates a slice of `array` excluding elements dropped from the end. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.dropRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney'] - * - * // The `_.matches` iteratee shorthand. - * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropRightWhile(users, ['active', false]); - * // => objects for ['barney'] - * - * // The `_.property` iteratee shorthand. - * _.dropRightWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true, true) - : []; - } +var _ListImagesInRecycleBinCommand = class _ListImagesInRecycleBinCommand 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("AmazonEC2", "ListImagesInRecycleBin", {}).n("EC2Client", "ListImagesInRecycleBinCommand").f(void 0, void 0).ser(se_ListImagesInRecycleBinCommand).de(de_ListImagesInRecycleBinCommand).build() { +}; +__name(_ListImagesInRecycleBinCommand, "ListImagesInRecycleBinCommand"); +var ListImagesInRecycleBinCommand = _ListImagesInRecycleBinCommand; - /** - * Creates a slice of `array` excluding elements dropped from the beginning. - * Elements are dropped until `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.dropWhile(users, function(o) { return !o.active; }); - * // => objects for ['pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.dropWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.dropWhile(users, ['active', false]); - * // => objects for ['pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.dropWhile(users, 'active'); - * // => objects for ['barney', 'fred', 'pebbles'] - */ - function dropWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), true) - : []; - } +// src/commands/ListSnapshotsInRecycleBinCommand.ts - /** - * Fills elements of `array` with `value` from `start` up to, but not - * including, `end`. - * - * **Note:** This method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Array - * @param {Array} array The array to fill. - * @param {*} value The value to fill `array` with. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.fill(array, 'a'); - * console.log(array); - * // => ['a', 'a', 'a'] - * - * _.fill(Array(3), 2); - * // => [2, 2, 2] - * - * _.fill([4, 6, 8, 10], '*', 1, 3); - * // => [4, '*', '*', 10] - */ - function fill(array, value, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (start && typeof start != 'number' && isIterateeCall(array, value, start)) { - start = 0; - end = length; - } - return baseFill(array, value, start, end); - } - /** - * This method is like `_.find` except that it returns the index of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.findIndex(users, function(o) { return o.user == 'barney'; }); - * // => 0 - * - * // The `_.matches` iteratee shorthand. - * _.findIndex(users, { 'user': 'fred', 'active': false }); - * // => 1 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findIndex(users, ['active', false]); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.findIndex(users, 'active'); - * // => 2 - */ - function findIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseFindIndex(array, getIteratee(predicate, 3), index); - } - /** - * This method is like `_.findIndex` except that it iterates over elements - * of `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the found element, else `-1`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; }); - * // => 2 - * - * // The `_.matches` iteratee shorthand. - * _.findLastIndex(users, { 'user': 'barney', 'active': true }); - * // => 0 - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastIndex(users, ['active', false]); - * // => 2 - * - * // The `_.property` iteratee shorthand. - * _.findLastIndex(users, 'active'); - * // => 0 - */ - function findLastIndex(array, predicate, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length - 1; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = fromIndex < 0 - ? nativeMax(length + index, 0) - : nativeMin(index, length - 1); - } - return baseFindIndex(array, getIteratee(predicate, 3), index, true); - } - /** - * Flattens `array` a single level deep. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flatten([1, [2, [3, [4]], 5]]); - * // => [1, 2, [3, [4]], 5] - */ - function flatten(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, 1) : []; - } +var _ListSnapshotsInRecycleBinCommand = class _ListSnapshotsInRecycleBinCommand 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("AmazonEC2", "ListSnapshotsInRecycleBin", {}).n("EC2Client", "ListSnapshotsInRecycleBinCommand").f(void 0, void 0).ser(se_ListSnapshotsInRecycleBinCommand).de(de_ListSnapshotsInRecycleBinCommand).build() { +}; +__name(_ListSnapshotsInRecycleBinCommand, "ListSnapshotsInRecycleBinCommand"); +var ListSnapshotsInRecycleBinCommand = _ListSnapshotsInRecycleBinCommand; + +// src/commands/LockSnapshotCommand.ts + - /** - * Recursively flattens `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to flatten. - * @returns {Array} Returns the new flattened array. - * @example - * - * _.flattenDeep([1, [2, [3, [4]], 5]]); - * // => [1, 2, 3, 4, 5] - */ - function flattenDeep(array) { - var length = array == null ? 0 : array.length; - return length ? baseFlatten(array, INFINITY) : []; - } - /** - * Recursively flatten `array` up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Array - * @param {Array} array The array to flatten. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * var array = [1, [2, [3, [4]], 5]]; - * - * _.flattenDepth(array, 1); - * // => [1, 2, [3, [4]], 5] - * - * _.flattenDepth(array, 2); - * // => [1, 2, 3, [4], 5] - */ - function flattenDepth(array, depth) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(array, depth); - } - /** - * The inverse of `_.toPairs`; this method returns an object composed - * from key-value `pairs`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} pairs The key-value pairs. - * @returns {Object} Returns the new object. - * @example - * - * _.fromPairs([['a', 1], ['b', 2]]); - * // => { 'a': 1, 'b': 2 } - */ - function fromPairs(pairs) { - var index = -1, - length = pairs == null ? 0 : pairs.length, - result = {}; +var _LockSnapshotCommand = class _LockSnapshotCommand 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("AmazonEC2", "LockSnapshot", {}).n("EC2Client", "LockSnapshotCommand").f(void 0, void 0).ser(se_LockSnapshotCommand).de(de_LockSnapshotCommand).build() { +}; +__name(_LockSnapshotCommand, "LockSnapshotCommand"); +var LockSnapshotCommand = _LockSnapshotCommand; - while (++index < length) { - var pair = pairs[index]; - result[pair[0]] = pair[1]; - } - return result; - } +// src/commands/ModifyAddressAttributeCommand.ts - /** - * Gets the first element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias first - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the first element of `array`. - * @example - * - * _.head([1, 2, 3]); - * // => 1 - * - * _.head([]); - * // => undefined - */ - function head(array) { - return (array && array.length) ? array[0] : undefined; - } - /** - * Gets the index at which the first occurrence of `value` is found in `array` - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. If `fromIndex` is negative, it's used as the - * offset from the end of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.indexOf([1, 2, 1, 2], 2); - * // => 1 - * - * // Search from the `fromIndex`. - * _.indexOf([1, 2, 1, 2], 2, 2); - * // => 3 - */ - function indexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = fromIndex == null ? 0 : toInteger(fromIndex); - if (index < 0) { - index = nativeMax(length + index, 0); - } - return baseIndexOf(array, value, index); - } - /** - * Gets all but the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.initial([1, 2, 3]); - * // => [1, 2] - */ - function initial(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 0, -1) : []; - } - /** - * Creates an array of unique values that are included in all given arrays - * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. The order and references of result values are - * determined by the first array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersection([2, 1], [2, 3]); - * // => [2] - */ - var intersection = baseRest(function(arrays) { - var mapped = arrayMap(arrays, castArrayLikeObject); - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped) - : []; - }); +var _ModifyAddressAttributeCommand = class _ModifyAddressAttributeCommand 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("AmazonEC2", "ModifyAddressAttribute", {}).n("EC2Client", "ModifyAddressAttributeCommand").f(void 0, void 0).ser(se_ModifyAddressAttributeCommand).de(de_ModifyAddressAttributeCommand).build() { +}; +__name(_ModifyAddressAttributeCommand, "ModifyAddressAttributeCommand"); +var ModifyAddressAttributeCommand = _ModifyAddressAttributeCommand; - /** - * This method is like `_.intersection` except that it accepts `iteratee` - * which is invoked for each element of each `arrays` to generate the criterion - * by which they're compared. The order and references of result values are - * determined by the first array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [2.1] - * - * // The `_.property` iteratee shorthand. - * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }] - */ - var intersectionBy = baseRest(function(arrays) { - var iteratee = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); +// src/commands/ModifyAvailabilityZoneGroupCommand.ts - if (iteratee === last(mapped)) { - iteratee = undefined; - } else { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, getIteratee(iteratee, 2)) - : []; - }); - /** - * This method is like `_.intersection` except that it accepts `comparator` - * which is invoked to compare elements of `arrays`. The order and references - * of result values are determined by the first array. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of intersecting values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.intersectionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }] - */ - var intersectionWith = baseRest(function(arrays) { - var comparator = last(arrays), - mapped = arrayMap(arrays, castArrayLikeObject); - comparator = typeof comparator == 'function' ? comparator : undefined; - if (comparator) { - mapped.pop(); - } - return (mapped.length && mapped[0] === arrays[0]) - ? baseIntersection(mapped, undefined, comparator) - : []; - }); - /** - * Converts all elements in `array` into a string separated by `separator`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to convert. - * @param {string} [separator=','] The element separator. - * @returns {string} Returns the joined string. - * @example - * - * _.join(['a', 'b', 'c'], '~'); - * // => 'a~b~c' - */ - function join(array, separator) { - return array == null ? '' : nativeJoin.call(array, separator); - } +var _ModifyAvailabilityZoneGroupCommand = class _ModifyAvailabilityZoneGroupCommand 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("AmazonEC2", "ModifyAvailabilityZoneGroup", {}).n("EC2Client", "ModifyAvailabilityZoneGroupCommand").f(void 0, void 0).ser(se_ModifyAvailabilityZoneGroupCommand).de(de_ModifyAvailabilityZoneGroupCommand).build() { +}; +__name(_ModifyAvailabilityZoneGroupCommand, "ModifyAvailabilityZoneGroupCommand"); +var ModifyAvailabilityZoneGroupCommand = _ModifyAvailabilityZoneGroupCommand; - /** - * Gets the last element of `array`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @returns {*} Returns the last element of `array`. - * @example - * - * _.last([1, 2, 3]); - * // => 3 - */ - function last(array) { - var length = array == null ? 0 : array.length; - return length ? array[length - 1] : undefined; - } +// src/commands/ModifyCapacityReservationCommand.ts - /** - * This method is like `_.indexOf` except that it iterates over elements of - * `array` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=array.length-1] The index to search from. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.lastIndexOf([1, 2, 1, 2], 2); - * // => 3 - * - * // Search from the `fromIndex`. - * _.lastIndexOf([1, 2, 1, 2], 2, 2); - * // => 1 - */ - function lastIndexOf(array, value, fromIndex) { - var length = array == null ? 0 : array.length; - if (!length) { - return -1; - } - var index = length; - if (fromIndex !== undefined) { - index = toInteger(fromIndex); - index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1); - } - return value === value - ? strictLastIndexOf(array, value, index) - : baseFindIndex(array, baseIsNaN, index, true); - } - /** - * Gets the element at index `n` of `array`. If `n` is negative, the nth - * element from the end is returned. - * - * @static - * @memberOf _ - * @since 4.11.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=0] The index of the element to return. - * @returns {*} Returns the nth element of `array`. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * - * _.nth(array, 1); - * // => 'b' - * - * _.nth(array, -2); - * // => 'c'; - */ - function nth(array, n) { - return (array && array.length) ? baseNth(array, toInteger(n)) : undefined; - } - /** - * Removes all given values from `array` using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove` - * to remove elements from an array by predicate. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...*} [values] The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pull(array, 'a', 'c'); - * console.log(array); - * // => ['b', 'b'] - */ - var pull = baseRest(pullAll); - /** - * This method is like `_.pull` except that it accepts an array of values to remove. - * - * **Note:** Unlike `_.difference`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @returns {Array} Returns `array`. - * @example - * - * var array = ['a', 'b', 'c', 'a', 'b', 'c']; - * - * _.pullAll(array, ['a', 'c']); - * console.log(array); - * // => ['b', 'b'] - */ - function pullAll(array, values) { - return (array && array.length && values && values.length) - ? basePullAll(array, values) - : array; - } +var _ModifyCapacityReservationCommand = class _ModifyCapacityReservationCommand 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("AmazonEC2", "ModifyCapacityReservation", {}).n("EC2Client", "ModifyCapacityReservationCommand").f(void 0, void 0).ser(se_ModifyCapacityReservationCommand).de(de_ModifyCapacityReservationCommand).build() { +}; +__name(_ModifyCapacityReservationCommand, "ModifyCapacityReservationCommand"); +var ModifyCapacityReservationCommand = _ModifyCapacityReservationCommand; + +// src/commands/ModifyCapacityReservationFleetCommand.ts + + + + +var _ModifyCapacityReservationFleetCommand = class _ModifyCapacityReservationFleetCommand 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("AmazonEC2", "ModifyCapacityReservationFleet", {}).n("EC2Client", "ModifyCapacityReservationFleetCommand").f(void 0, void 0).ser(se_ModifyCapacityReservationFleetCommand).de(de_ModifyCapacityReservationFleetCommand).build() { +}; +__name(_ModifyCapacityReservationFleetCommand, "ModifyCapacityReservationFleetCommand"); +var ModifyCapacityReservationFleetCommand = _ModifyCapacityReservationFleetCommand; + +// src/commands/ModifyClientVpnEndpointCommand.ts + + + + +var _ModifyClientVpnEndpointCommand = class _ModifyClientVpnEndpointCommand 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("AmazonEC2", "ModifyClientVpnEndpoint", {}).n("EC2Client", "ModifyClientVpnEndpointCommand").f(void 0, void 0).ser(se_ModifyClientVpnEndpointCommand).de(de_ModifyClientVpnEndpointCommand).build() { +}; +__name(_ModifyClientVpnEndpointCommand, "ModifyClientVpnEndpointCommand"); +var ModifyClientVpnEndpointCommand = _ModifyClientVpnEndpointCommand; + +// src/commands/ModifyDefaultCreditSpecificationCommand.ts + + + + +var _ModifyDefaultCreditSpecificationCommand = class _ModifyDefaultCreditSpecificationCommand 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("AmazonEC2", "ModifyDefaultCreditSpecification", {}).n("EC2Client", "ModifyDefaultCreditSpecificationCommand").f(void 0, void 0).ser(se_ModifyDefaultCreditSpecificationCommand).de(de_ModifyDefaultCreditSpecificationCommand).build() { +}; +__name(_ModifyDefaultCreditSpecificationCommand, "ModifyDefaultCreditSpecificationCommand"); +var ModifyDefaultCreditSpecificationCommand = _ModifyDefaultCreditSpecificationCommand; + +// src/commands/ModifyEbsDefaultKmsKeyIdCommand.ts + + - /** - * This method is like `_.pullAll` except that it accepts `iteratee` which is - * invoked for each element of `array` and `values` to generate the criterion - * by which they're compared. The iteratee is invoked with one argument: (value). - * - * **Note:** Unlike `_.differenceBy`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }]; - * - * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x'); - * console.log(array); - * // => [{ 'x': 2 }] - */ - function pullAllBy(array, values, iteratee) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, getIteratee(iteratee, 2)) - : array; - } - /** - * This method is like `_.pullAll` except that it accepts `comparator` which - * is invoked to compare elements of `array` to `values`. The comparator is - * invoked with two arguments: (arrVal, othVal). - * - * **Note:** Unlike `_.differenceWith`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Array} values The values to remove. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns `array`. - * @example - * - * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }]; - * - * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual); - * console.log(array); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }] - */ - function pullAllWith(array, values, comparator) { - return (array && array.length && values && values.length) - ? basePullAll(array, values, undefined, comparator) - : array; - } +var _ModifyEbsDefaultKmsKeyIdCommand = class _ModifyEbsDefaultKmsKeyIdCommand 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("AmazonEC2", "ModifyEbsDefaultKmsKeyId", {}).n("EC2Client", "ModifyEbsDefaultKmsKeyIdCommand").f(void 0, void 0).ser(se_ModifyEbsDefaultKmsKeyIdCommand).de(de_ModifyEbsDefaultKmsKeyIdCommand).build() { +}; +__name(_ModifyEbsDefaultKmsKeyIdCommand, "ModifyEbsDefaultKmsKeyIdCommand"); +var ModifyEbsDefaultKmsKeyIdCommand = _ModifyEbsDefaultKmsKeyIdCommand; - /** - * Removes elements from `array` corresponding to `indexes` and returns an - * array of removed elements. - * - * **Note:** Unlike `_.at`, this method mutates `array`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {...(number|number[])} [indexes] The indexes of elements to remove. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = ['a', 'b', 'c', 'd']; - * var pulled = _.pullAt(array, [1, 3]); - * - * console.log(array); - * // => ['a', 'c'] - * - * console.log(pulled); - * // => ['b', 'd'] - */ - var pullAt = flatRest(function(array, indexes) { - var length = array == null ? 0 : array.length, - result = baseAt(array, indexes); +// src/commands/ModifyFleetCommand.ts - basePullAt(array, arrayMap(indexes, function(index) { - return isIndex(index, length) ? +index : index; - }).sort(compareAscending)); - return result; - }); - /** - * Removes all elements from `array` that `predicate` returns truthy for - * and returns an array of the removed elements. The predicate is invoked - * with three arguments: (value, index, array). - * - * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull` - * to pull elements from an array by value. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Array - * @param {Array} array The array to modify. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new array of removed elements. - * @example - * - * var array = [1, 2, 3, 4]; - * var evens = _.remove(array, function(n) { - * return n % 2 == 0; - * }); - * - * console.log(array); - * // => [1, 3] - * - * console.log(evens); - * // => [2, 4] - */ - function remove(array, predicate) { - var result = []; - if (!(array && array.length)) { - return result; - } - var index = -1, - indexes = [], - length = array.length; - predicate = getIteratee(predicate, 3); - while (++index < length) { - var value = array[index]; - if (predicate(value, index, array)) { - result.push(value); - indexes.push(index); - } - } - basePullAt(array, indexes); - return result; - } +var _ModifyFleetCommand = class _ModifyFleetCommand 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("AmazonEC2", "ModifyFleet", {}).n("EC2Client", "ModifyFleetCommand").f(void 0, void 0).ser(se_ModifyFleetCommand).de(de_ModifyFleetCommand).build() { +}; +__name(_ModifyFleetCommand, "ModifyFleetCommand"); +var ModifyFleetCommand = _ModifyFleetCommand; - /** - * Reverses `array` so that the first element becomes the last, the second - * element becomes the second to last, and so on. - * - * **Note:** This method mutates `array` and is based on - * [`Array#reverse`](https://mdn.io/Array/reverse). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to modify. - * @returns {Array} Returns `array`. - * @example - * - * var array = [1, 2, 3]; - * - * _.reverse(array); - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function reverse(array) { - return array == null ? array : nativeReverse.call(array); - } +// src/commands/ModifyFpgaImageAttributeCommand.ts - /** - * Creates a slice of `array` from `start` up to, but not including, `end`. - * - * **Note:** This method is used instead of - * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are - * returned. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to slice. - * @param {number} [start=0] The start position. - * @param {number} [end=array.length] The end position. - * @returns {Array} Returns the slice of `array`. - */ - function slice(array, start, end) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - else { - start = start == null ? 0 : toInteger(start); - end = end === undefined ? length : toInteger(end); - } - return baseSlice(array, start, end); - } - /** - * Uses a binary search to determine the lowest index at which `value` - * should be inserted into `array` in order to maintain its sort order. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedIndex([30, 50], 40); - * // => 1 - */ - function sortedIndex(array, value) { - return baseSortedIndex(array, value); - } - /** - * This method is like `_.sortedIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 0 - * - * // The `_.property` iteratee shorthand. - * _.sortedIndexBy(objects, { 'x': 4 }, 'x'); - * // => 0 - */ - function sortedIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2)); - } - /** - * This method is like `_.indexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedIndexOf([4, 5, 5, 5, 6], 5); - * // => 1 - */ - function sortedIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value); - if (index < length && eq(array[index], value)) { - return index; - } - } - return -1; - } +var _ModifyFpgaImageAttributeCommand = class _ModifyFpgaImageAttributeCommand 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("AmazonEC2", "ModifyFpgaImageAttribute", {}).n("EC2Client", "ModifyFpgaImageAttributeCommand").f(void 0, void 0).ser(se_ModifyFpgaImageAttributeCommand).de(de_ModifyFpgaImageAttributeCommand).build() { +}; +__name(_ModifyFpgaImageAttributeCommand, "ModifyFpgaImageAttributeCommand"); +var ModifyFpgaImageAttributeCommand = _ModifyFpgaImageAttributeCommand; - /** - * This method is like `_.sortedIndex` except that it returns the highest - * index at which `value` should be inserted into `array` in order to - * maintain its sort order. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * _.sortedLastIndex([4, 5, 5, 5, 6], 5); - * // => 4 - */ - function sortedLastIndex(array, value) { - return baseSortedIndex(array, value, true); - } +// src/commands/ModifyHostsCommand.ts - /** - * This method is like `_.sortedLastIndex` except that it accepts `iteratee` - * which is invoked for `value` and each element of `array` to compute their - * sort ranking. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The sorted array to inspect. - * @param {*} value The value to evaluate. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {number} Returns the index at which `value` should be inserted - * into `array`. - * @example - * - * var objects = [{ 'x': 4 }, { 'x': 5 }]; - * - * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; }); - * // => 1 - * - * // The `_.property` iteratee shorthand. - * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x'); - * // => 1 - */ - function sortedLastIndexBy(array, value, iteratee) { - return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true); - } - /** - * This method is like `_.lastIndexOf` except that it performs a binary - * search on a sorted `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {*} value The value to search for. - * @returns {number} Returns the index of the matched value, else `-1`. - * @example - * - * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5); - * // => 3 - */ - function sortedLastIndexOf(array, value) { - var length = array == null ? 0 : array.length; - if (length) { - var index = baseSortedIndex(array, value, true) - 1; - if (eq(array[index], value)) { - return index; - } - } - return -1; - } - /** - * This method is like `_.uniq` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniq([1, 1, 2]); - * // => [1, 2] - */ - function sortedUniq(array) { - return (array && array.length) - ? baseSortedUniq(array) - : []; - } - /** - * This method is like `_.uniqBy` except that it's designed and optimized - * for sorted arrays. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor); - * // => [1.1, 2.3] - */ - function sortedUniqBy(array, iteratee) { - return (array && array.length) - ? baseSortedUniq(array, getIteratee(iteratee, 2)) - : []; - } +var _ModifyHostsCommand = class _ModifyHostsCommand 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("AmazonEC2", "ModifyHosts", {}).n("EC2Client", "ModifyHostsCommand").f(void 0, void 0).ser(se_ModifyHostsCommand).de(de_ModifyHostsCommand).build() { +}; +__name(_ModifyHostsCommand, "ModifyHostsCommand"); +var ModifyHostsCommand = _ModifyHostsCommand; - /** - * Gets all but the first element of `array`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to query. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.tail([1, 2, 3]); - * // => [2, 3] - */ - function tail(array) { - var length = array == null ? 0 : array.length; - return length ? baseSlice(array, 1, length) : []; - } +// src/commands/ModifyIdentityIdFormatCommand.ts - /** - * Creates a slice of `array` with `n` elements taken from the beginning. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.take([1, 2, 3]); - * // => [1] - * - * _.take([1, 2, 3], 2); - * // => [1, 2] - * - * _.take([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.take([1, 2, 3], 0); - * // => [] - */ - function take(array, n, guard) { - if (!(array && array.length)) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - return baseSlice(array, 0, n < 0 ? 0 : n); - } - /** - * Creates a slice of `array` with `n` elements taken from the end. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {number} [n=1] The number of elements to take. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the slice of `array`. - * @example - * - * _.takeRight([1, 2, 3]); - * // => [3] - * - * _.takeRight([1, 2, 3], 2); - * // => [2, 3] - * - * _.takeRight([1, 2, 3], 5); - * // => [1, 2, 3] - * - * _.takeRight([1, 2, 3], 0); - * // => [] - */ - function takeRight(array, n, guard) { - var length = array == null ? 0 : array.length; - if (!length) { - return []; - } - n = (guard || n === undefined) ? 1 : toInteger(n); - n = length - n; - return baseSlice(array, n < 0 ? 0 : n, length); - } - /** - * Creates a slice of `array` with elements taken from the end. Elements are - * taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': false } - * ]; - * - * _.takeRightWhile(users, function(o) { return !o.active; }); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.matches` iteratee shorthand. - * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false }); - * // => objects for ['pebbles'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeRightWhile(users, ['active', false]); - * // => objects for ['fred', 'pebbles'] - * - * // The `_.property` iteratee shorthand. - * _.takeRightWhile(users, 'active'); - * // => [] - */ - function takeRightWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3), false, true) - : []; - } - /** - * Creates a slice of `array` with elements taken from the beginning. Elements - * are taken until `predicate` returns falsey. The predicate is invoked with - * three arguments: (value, index, array). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Array - * @param {Array} array The array to query. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the slice of `array`. - * @example - * - * var users = [ - * { 'user': 'barney', 'active': false }, - * { 'user': 'fred', 'active': false }, - * { 'user': 'pebbles', 'active': true } - * ]; - * - * _.takeWhile(users, function(o) { return !o.active; }); - * // => objects for ['barney', 'fred'] - * - * // The `_.matches` iteratee shorthand. - * _.takeWhile(users, { 'user': 'barney', 'active': false }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.takeWhile(users, ['active', false]); - * // => objects for ['barney', 'fred'] - * - * // The `_.property` iteratee shorthand. - * _.takeWhile(users, 'active'); - * // => [] - */ - function takeWhile(array, predicate) { - return (array && array.length) - ? baseWhile(array, getIteratee(predicate, 3)) - : []; - } +var _ModifyIdentityIdFormatCommand = class _ModifyIdentityIdFormatCommand 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("AmazonEC2", "ModifyIdentityIdFormat", {}).n("EC2Client", "ModifyIdentityIdFormatCommand").f(void 0, void 0).ser(se_ModifyIdentityIdFormatCommand).de(de_ModifyIdentityIdFormatCommand).build() { +}; +__name(_ModifyIdentityIdFormatCommand, "ModifyIdentityIdFormatCommand"); +var ModifyIdentityIdFormatCommand = _ModifyIdentityIdFormatCommand; + +// src/commands/ModifyIdFormatCommand.ts + + + + +var _ModifyIdFormatCommand = class _ModifyIdFormatCommand 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("AmazonEC2", "ModifyIdFormat", {}).n("EC2Client", "ModifyIdFormatCommand").f(void 0, void 0).ser(se_ModifyIdFormatCommand).de(de_ModifyIdFormatCommand).build() { +}; +__name(_ModifyIdFormatCommand, "ModifyIdFormatCommand"); +var ModifyIdFormatCommand = _ModifyIdFormatCommand; + +// src/commands/ModifyImageAttributeCommand.ts + + + + +var _ModifyImageAttributeCommand = class _ModifyImageAttributeCommand 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("AmazonEC2", "ModifyImageAttribute", {}).n("EC2Client", "ModifyImageAttributeCommand").f(void 0, void 0).ser(se_ModifyImageAttributeCommand).de(de_ModifyImageAttributeCommand).build() { +}; +__name(_ModifyImageAttributeCommand, "ModifyImageAttributeCommand"); +var ModifyImageAttributeCommand = _ModifyImageAttributeCommand; + +// src/commands/ModifyInstanceAttributeCommand.ts + + - /** - * Creates an array of unique values, in order, from all given arrays using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.union([2], [1, 2]); - * // => [2, 1] - */ - var union = baseRest(function(arrays) { - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true)); - }); - /** - * This method is like `_.union` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which uniqueness is computed. Result values are chosen from the first - * array in which the value occurs. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * _.unionBy([2.1], [1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - var unionBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2)); - }); +var _ModifyInstanceAttributeCommand = class _ModifyInstanceAttributeCommand 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("AmazonEC2", "ModifyInstanceAttribute", {}).n("EC2Client", "ModifyInstanceAttributeCommand").f(void 0, void 0).ser(se_ModifyInstanceAttributeCommand).de(de_ModifyInstanceAttributeCommand).build() { +}; +__name(_ModifyInstanceAttributeCommand, "ModifyInstanceAttributeCommand"); +var ModifyInstanceAttributeCommand = _ModifyInstanceAttributeCommand; - /** - * This method is like `_.union` except that it accepts `comparator` which - * is invoked to compare elements of `arrays`. Result values are chosen from - * the first array in which the value occurs. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of combined values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.unionWith(objects, others, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var unionWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator); - }); +// src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts - /** - * Creates a duplicate-free version of an array, using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons, in which only the first occurrence of each element - * is kept. The order of result values is determined by the order they occur - * in the array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniq([2, 1, 2]); - * // => [2, 1] - */ - function uniq(array) { - return (array && array.length) ? baseUniq(array) : []; - } - /** - * This method is like `_.uniq` except that it accepts `iteratee` which is - * invoked for each element in `array` to generate the criterion by which - * uniqueness is computed. The order of result values is determined by the - * order they occur in the array. The iteratee is invoked with one argument: - * (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * _.uniqBy([2.1, 1.2, 2.3], Math.floor); - * // => [2.1, 1.2] - * - * // The `_.property` iteratee shorthand. - * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 1 }, { 'x': 2 }] - */ - function uniqBy(array, iteratee) { - return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : []; - } - /** - * This method is like `_.uniq` except that it accepts `comparator` which - * is invoked to compare elements of `array`. The order of result values is - * determined by the order they occur in the array.The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new duplicate free array. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.uniqWith(objects, _.isEqual); - * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }] - */ - function uniqWith(array, comparator) { - comparator = typeof comparator == 'function' ? comparator : undefined; - return (array && array.length) ? baseUniq(array, undefined, comparator) : []; - } - /** - * This method is like `_.zip` except that it accepts an array of grouped - * elements and creates an array regrouping the elements to their pre-zip - * configuration. - * - * @static - * @memberOf _ - * @since 1.2.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - * - * _.unzip(zipped); - * // => [['a', 'b'], [1, 2], [true, false]] - */ - function unzip(array) { - if (!(array && array.length)) { - return []; - } - var length = 0; - array = arrayFilter(array, function(group) { - if (isArrayLikeObject(group)) { - length = nativeMax(group.length, length); - return true; - } - }); - return baseTimes(length, function(index) { - return arrayMap(array, baseProperty(index)); - }); - } +var _ModifyInstanceCapacityReservationAttributesCommand = class _ModifyInstanceCapacityReservationAttributesCommand 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("AmazonEC2", "ModifyInstanceCapacityReservationAttributes", {}).n("EC2Client", "ModifyInstanceCapacityReservationAttributesCommand").f(void 0, void 0).ser(se_ModifyInstanceCapacityReservationAttributesCommand).de(de_ModifyInstanceCapacityReservationAttributesCommand).build() { +}; +__name(_ModifyInstanceCapacityReservationAttributesCommand, "ModifyInstanceCapacityReservationAttributesCommand"); +var ModifyInstanceCapacityReservationAttributesCommand = _ModifyInstanceCapacityReservationAttributesCommand; - /** - * This method is like `_.unzip` except that it accepts `iteratee` to specify - * how regrouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {Array} array The array of grouped elements to process. - * @param {Function} [iteratee=_.identity] The function to combine - * regrouped values. - * @returns {Array} Returns the new array of regrouped elements. - * @example - * - * var zipped = _.zip([1, 2], [10, 20], [100, 200]); - * // => [[1, 10, 100], [2, 20, 200]] - * - * _.unzipWith(zipped, _.add); - * // => [3, 30, 300] - */ - function unzipWith(array, iteratee) { - if (!(array && array.length)) { - return []; - } - var result = unzip(array); - if (iteratee == null) { - return result; - } - return arrayMap(result, function(group) { - return apply(iteratee, undefined, group); - }); - } +// src/commands/ModifyInstanceCreditSpecificationCommand.ts - /** - * Creates an array excluding all given values using - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * for equality comparisons. - * - * **Note:** Unlike `_.pull`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {Array} array The array to inspect. - * @param {...*} [values] The values to exclude. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.xor - * @example - * - * _.without([2, 1, 2, 3], 1, 2); - * // => [3] - */ - var without = baseRest(function(array, values) { - return isArrayLikeObject(array) - ? baseDifference(array, values) - : []; - }); - /** - * Creates an array of unique values that is the - * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference) - * of the given arrays. The order of result values is determined by the order - * they occur in the arrays. - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @returns {Array} Returns the new array of filtered values. - * @see _.difference, _.without - * @example - * - * _.xor([2, 1], [2, 3]); - * // => [1, 3] - */ - var xor = baseRest(function(arrays) { - return baseXor(arrayFilter(arrays, isArrayLikeObject)); - }); - /** - * This method is like `_.xor` except that it accepts `iteratee` which is - * invoked for each element of each `arrays` to generate the criterion by - * which by which they're compared. The order of result values is determined - * by the order they occur in the arrays. The iteratee is invoked with one - * argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor); - * // => [1.2, 3.4] - * - * // The `_.property` iteratee shorthand. - * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x'); - * // => [{ 'x': 2 }] - */ - var xorBy = baseRest(function(arrays) { - var iteratee = last(arrays); - if (isArrayLikeObject(iteratee)) { - iteratee = undefined; - } - return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2)); - }); - /** - * This method is like `_.xor` except that it accepts `comparator` which is - * invoked to compare elements of `arrays`. The order of result values is - * determined by the order they occur in the arrays. The comparator is invoked - * with two arguments: (arrVal, othVal). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Array - * @param {...Array} [arrays] The arrays to inspect. - * @param {Function} [comparator] The comparator invoked per element. - * @returns {Array} Returns the new array of filtered values. - * @example - * - * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]; - * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }]; - * - * _.xorWith(objects, others, _.isEqual); - * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }] - */ - var xorWith = baseRest(function(arrays) { - var comparator = last(arrays); - comparator = typeof comparator == 'function' ? comparator : undefined; - return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator); - }); +var _ModifyInstanceCreditSpecificationCommand = class _ModifyInstanceCreditSpecificationCommand 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("AmazonEC2", "ModifyInstanceCreditSpecification", {}).n("EC2Client", "ModifyInstanceCreditSpecificationCommand").f(void 0, void 0).ser(se_ModifyInstanceCreditSpecificationCommand).de(de_ModifyInstanceCreditSpecificationCommand).build() { +}; +__name(_ModifyInstanceCreditSpecificationCommand, "ModifyInstanceCreditSpecificationCommand"); +var ModifyInstanceCreditSpecificationCommand = _ModifyInstanceCreditSpecificationCommand; - /** - * Creates an array of grouped elements, the first of which contains the - * first elements of the given arrays, the second of which contains the - * second elements of the given arrays, and so on. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zip(['a', 'b'], [1, 2], [true, false]); - * // => [['a', 1, true], ['b', 2, false]] - */ - var zip = baseRest(unzip); +// src/commands/ModifyInstanceEventStartTimeCommand.ts - /** - * This method is like `_.fromPairs` except that it accepts two arrays, - * one of property identifiers and one of corresponding values. - * - * @static - * @memberOf _ - * @since 0.4.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObject(['a', 'b'], [1, 2]); - * // => { 'a': 1, 'b': 2 } - */ - function zipObject(props, values) { - return baseZipObject(props || [], values || [], assignValue); - } - /** - * This method is like `_.zipObject` except that it supports property paths. - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Array - * @param {Array} [props=[]] The property identifiers. - * @param {Array} [values=[]] The property values. - * @returns {Object} Returns the new object. - * @example - * - * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]); - * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } } - */ - function zipObjectDeep(props, values) { - return baseZipObject(props || [], values || [], baseSet); - } - /** - * This method is like `_.zip` except that it accepts `iteratee` to specify - * how grouped values should be combined. The iteratee is invoked with the - * elements of each group: (...group). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Array - * @param {...Array} [arrays] The arrays to process. - * @param {Function} [iteratee=_.identity] The function to combine - * grouped values. - * @returns {Array} Returns the new array of grouped elements. - * @example - * - * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) { - * return a + b + c; - * }); - * // => [111, 222] - */ - var zipWith = baseRest(function(arrays) { - var length = arrays.length, - iteratee = length > 1 ? arrays[length - 1] : undefined; - iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined; - return unzipWith(arrays, iteratee); - }); +var _ModifyInstanceEventStartTimeCommand = class _ModifyInstanceEventStartTimeCommand 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("AmazonEC2", "ModifyInstanceEventStartTime", {}).n("EC2Client", "ModifyInstanceEventStartTimeCommand").f(void 0, void 0).ser(se_ModifyInstanceEventStartTimeCommand).de(de_ModifyInstanceEventStartTimeCommand).build() { +}; +__name(_ModifyInstanceEventStartTimeCommand, "ModifyInstanceEventStartTimeCommand"); +var ModifyInstanceEventStartTimeCommand = _ModifyInstanceEventStartTimeCommand; - /*------------------------------------------------------------------------*/ +// src/commands/ModifyInstanceEventWindowCommand.ts - /** - * Creates a `lodash` wrapper instance that wraps `value` with explicit method - * chain sequences enabled. The result of such sequences must be unwrapped - * with `_#value`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Seq - * @param {*} value The value to wrap. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'pebbles', 'age': 1 } - * ]; - * - * var youngest = _ - * .chain(users) - * .sortBy('age') - * .map(function(o) { - * return o.user + ' is ' + o.age; - * }) - * .head() - * .value(); - * // => 'pebbles is 1' - */ - function chain(value) { - var result = lodash(value); - result.__chain__ = true; - return result; - } - /** - * This method invokes `interceptor` and returns `value`. The interceptor - * is invoked with one argument; (value). The purpose of this method is to - * "tap into" a method chain sequence in order to modify intermediate results. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns `value`. - * @example - * - * _([1, 2, 3]) - * .tap(function(array) { - * // Mutate input array. - * array.pop(); - * }) - * .reverse() - * .value(); - * // => [2, 1] - */ - function tap(value, interceptor) { - interceptor(value); - return value; - } - /** - * This method is like `_.tap` except that it returns the result of `interceptor`. - * The purpose of this method is to "pass thru" values replacing intermediate - * results in a method chain sequence. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Seq - * @param {*} value The value to provide to `interceptor`. - * @param {Function} interceptor The function to invoke. - * @returns {*} Returns the result of `interceptor`. - * @example - * - * _(' abc ') - * .chain() - * .trim() - * .thru(function(value) { - * return [value]; - * }) - * .value(); - * // => ['abc'] - */ - function thru(value, interceptor) { - return interceptor(value); - } - /** - * This method is the wrapper version of `_.at`. - * - * @name at - * @memberOf _ - * @since 1.0.0 - * @category Seq - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _(object).at(['a[0].b.c', 'a[1]']).value(); - * // => [3, 4] - */ - var wrapperAt = flatRest(function(paths) { - var length = paths.length, - start = length ? paths[0] : 0, - value = this.__wrapped__, - interceptor = function(object) { return baseAt(object, paths); }; +var _ModifyInstanceEventWindowCommand = class _ModifyInstanceEventWindowCommand 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("AmazonEC2", "ModifyInstanceEventWindow", {}).n("EC2Client", "ModifyInstanceEventWindowCommand").f(void 0, void 0).ser(se_ModifyInstanceEventWindowCommand).de(de_ModifyInstanceEventWindowCommand).build() { +}; +__name(_ModifyInstanceEventWindowCommand, "ModifyInstanceEventWindowCommand"); +var ModifyInstanceEventWindowCommand = _ModifyInstanceEventWindowCommand; + +// src/commands/ModifyInstanceMaintenanceOptionsCommand.ts + + + + +var _ModifyInstanceMaintenanceOptionsCommand = class _ModifyInstanceMaintenanceOptionsCommand 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("AmazonEC2", "ModifyInstanceMaintenanceOptions", {}).n("EC2Client", "ModifyInstanceMaintenanceOptionsCommand").f(void 0, void 0).ser(se_ModifyInstanceMaintenanceOptionsCommand).de(de_ModifyInstanceMaintenanceOptionsCommand).build() { +}; +__name(_ModifyInstanceMaintenanceOptionsCommand, "ModifyInstanceMaintenanceOptionsCommand"); +var ModifyInstanceMaintenanceOptionsCommand = _ModifyInstanceMaintenanceOptionsCommand; + +// src/commands/ModifyInstanceMetadataDefaultsCommand.ts + + + + +var _ModifyInstanceMetadataDefaultsCommand = class _ModifyInstanceMetadataDefaultsCommand 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("AmazonEC2", "ModifyInstanceMetadataDefaults", {}).n("EC2Client", "ModifyInstanceMetadataDefaultsCommand").f(void 0, void 0).ser(se_ModifyInstanceMetadataDefaultsCommand).de(de_ModifyInstanceMetadataDefaultsCommand).build() { +}; +__name(_ModifyInstanceMetadataDefaultsCommand, "ModifyInstanceMetadataDefaultsCommand"); +var ModifyInstanceMetadataDefaultsCommand = _ModifyInstanceMetadataDefaultsCommand; + +// src/commands/ModifyInstanceMetadataOptionsCommand.ts + + + + +var _ModifyInstanceMetadataOptionsCommand = class _ModifyInstanceMetadataOptionsCommand 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("AmazonEC2", "ModifyInstanceMetadataOptions", {}).n("EC2Client", "ModifyInstanceMetadataOptionsCommand").f(void 0, void 0).ser(se_ModifyInstanceMetadataOptionsCommand).de(de_ModifyInstanceMetadataOptionsCommand).build() { +}; +__name(_ModifyInstanceMetadataOptionsCommand, "ModifyInstanceMetadataOptionsCommand"); +var ModifyInstanceMetadataOptionsCommand = _ModifyInstanceMetadataOptionsCommand; + +// src/commands/ModifyInstancePlacementCommand.ts + + - if (length > 1 || this.__actions__.length || - !(value instanceof LazyWrapper) || !isIndex(start)) { - return this.thru(interceptor); - } - value = value.slice(start, +start + (length ? 1 : 0)); - value.__actions__.push({ - 'func': thru, - 'args': [interceptor], - 'thisArg': undefined - }); - return new LodashWrapper(value, this.__chain__).thru(function(array) { - if (length && !array.length) { - array.push(undefined); - } - return array; - }); - }); - /** - * Creates a `lodash` wrapper instance with explicit method chain sequences enabled. - * - * @name chain - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 40 } - * ]; - * - * // A sequence without explicit chaining. - * _(users).head(); - * // => { 'user': 'barney', 'age': 36 } - * - * // A sequence with explicit chaining. - * _(users) - * .chain() - * .head() - * .pick('user') - * .value(); - * // => { 'user': 'barney' } - */ - function wrapperChain() { - return chain(this); - } +var _ModifyInstancePlacementCommand = class _ModifyInstancePlacementCommand 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("AmazonEC2", "ModifyInstancePlacement", {}).n("EC2Client", "ModifyInstancePlacementCommand").f(void 0, void 0).ser(se_ModifyInstancePlacementCommand).de(de_ModifyInstancePlacementCommand).build() { +}; +__name(_ModifyInstancePlacementCommand, "ModifyInstancePlacementCommand"); +var ModifyInstancePlacementCommand = _ModifyInstancePlacementCommand; - /** - * Executes the chain sequence and returns the wrapped result. - * - * @name commit - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2]; - * var wrapped = _(array).push(3); - * - * console.log(array); - * // => [1, 2] - * - * wrapped = wrapped.commit(); - * console.log(array); - * // => [1, 2, 3] - * - * wrapped.last(); - * // => 3 - * - * console.log(array); - * // => [1, 2, 3] - */ - function wrapperCommit() { - return new LodashWrapper(this.value(), this.__chain__); - } +// src/commands/ModifyIpamCommand.ts - /** - * Gets the next value on a wrapped object following the - * [iterator protocol](https://mdn.io/iteration_protocols#iterator). - * - * @name next - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the next iterator value. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped.next(); - * // => { 'done': false, 'value': 1 } - * - * wrapped.next(); - * // => { 'done': false, 'value': 2 } - * - * wrapped.next(); - * // => { 'done': true, 'value': undefined } - */ - function wrapperNext() { - if (this.__values__ === undefined) { - this.__values__ = toArray(this.value()); - } - var done = this.__index__ >= this.__values__.length, - value = done ? undefined : this.__values__[this.__index__++]; - return { 'done': done, 'value': value }; - } - /** - * Enables the wrapper to be iterable. - * - * @name Symbol.iterator - * @memberOf _ - * @since 4.0.0 - * @category Seq - * @returns {Object} Returns the wrapper object. - * @example - * - * var wrapped = _([1, 2]); - * - * wrapped[Symbol.iterator]() === wrapped; - * // => true - * - * Array.from(wrapped); - * // => [1, 2] - */ - function wrapperToIterator() { - return this; - } - /** - * Creates a clone of the chain sequence planting `value` as the wrapped value. - * - * @name plant - * @memberOf _ - * @since 3.2.0 - * @category Seq - * @param {*} value The value to plant. - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * function square(n) { - * return n * n; - * } - * - * var wrapped = _([1, 2]).map(square); - * var other = wrapped.plant([3, 4]); - * - * other.value(); - * // => [9, 16] - * - * wrapped.value(); - * // => [1, 4] - */ - function wrapperPlant(value) { - var result, - parent = this; +var _ModifyIpamCommand = class _ModifyIpamCommand 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("AmazonEC2", "ModifyIpam", {}).n("EC2Client", "ModifyIpamCommand").f(void 0, void 0).ser(se_ModifyIpamCommand).de(de_ModifyIpamCommand).build() { +}; +__name(_ModifyIpamCommand, "ModifyIpamCommand"); +var ModifyIpamCommand = _ModifyIpamCommand; - while (parent instanceof baseLodash) { - var clone = wrapperClone(parent); - clone.__index__ = 0; - clone.__values__ = undefined; - if (result) { - previous.__wrapped__ = clone; - } else { - result = clone; - } - var previous = clone; - parent = parent.__wrapped__; - } - previous.__wrapped__ = value; - return result; - } +// src/commands/ModifyIpamPoolCommand.ts - /** - * This method is the wrapper version of `_.reverse`. - * - * **Note:** This method mutates the wrapped array. - * - * @name reverse - * @memberOf _ - * @since 0.1.0 - * @category Seq - * @returns {Object} Returns the new `lodash` wrapper instance. - * @example - * - * var array = [1, 2, 3]; - * - * _(array).reverse().value() - * // => [3, 2, 1] - * - * console.log(array); - * // => [3, 2, 1] - */ - function wrapperReverse() { - var value = this.__wrapped__; - if (value instanceof LazyWrapper) { - var wrapped = value; - if (this.__actions__.length) { - wrapped = new LazyWrapper(this); - } - wrapped = wrapped.reverse(); - wrapped.__actions__.push({ - 'func': thru, - 'args': [reverse], - 'thisArg': undefined - }); - return new LodashWrapper(wrapped, this.__chain__); - } - return this.thru(reverse); - } - /** - * Executes the chain sequence to resolve the unwrapped value. - * - * @name value - * @memberOf _ - * @since 0.1.0 - * @alias toJSON, valueOf - * @category Seq - * @returns {*} Returns the resolved unwrapped value. - * @example - * - * _([1, 2, 3]).value(); - * // => [1, 2, 3] - */ - function wrapperValue() { - return baseWrapperValue(this.__wrapped__, this.__actions__); - } - /*------------------------------------------------------------------------*/ - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the number of times the key was returned by `iteratee`. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.countBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': 1, '6': 2 } - * - * // The `_.property` iteratee shorthand. - * _.countBy(['one', 'two', 'three'], 'length'); - * // => { '3': 2, '5': 1 } - */ - var countBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - ++result[key]; - } else { - baseAssignValue(result, key, 1); - } - }); +var _ModifyIpamPoolCommand = class _ModifyIpamPoolCommand 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("AmazonEC2", "ModifyIpamPool", {}).n("EC2Client", "ModifyIpamPoolCommand").f(void 0, void 0).ser(se_ModifyIpamPoolCommand).de(de_ModifyIpamPoolCommand).build() { +}; +__name(_ModifyIpamPoolCommand, "ModifyIpamPoolCommand"); +var ModifyIpamPoolCommand = _ModifyIpamPoolCommand; - /** - * Checks if `predicate` returns truthy for **all** elements of `collection`. - * Iteration is stopped once `predicate` returns falsey. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * **Note:** This method returns `true` for - * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because - * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of - * elements of empty collections. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if all elements pass the predicate check, - * else `false`. - * @example - * - * _.every([true, 1, null, 'yes'], Boolean); - * // => false - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.every(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.every(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.every(users, 'active'); - * // => false - */ - function every(collection, predicate, guard) { - var func = isArray(collection) ? arrayEvery : baseEvery; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } +// src/commands/ModifyIpamResourceCidrCommand.ts - /** - * Iterates over elements of `collection`, returning an array of all elements - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * **Note:** Unlike `_.remove`, this method returns a new array. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.reject - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false } - * ]; - * - * _.filter(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.filter(users, { 'age': 36, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.filter(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.filter(users, 'active'); - * // => objects for ['barney'] - * - * // Combining several predicates using `_.overEvery` or `_.overSome`. - * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]])); - * // => objects for ['fred', 'barney'] - */ - function filter(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, getIteratee(predicate, 3)); - } - /** - * Iterates over elements of `collection`, returning the first element - * `predicate` returns truthy for. The predicate is invoked with three - * arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=0] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': true }, - * { 'user': 'fred', 'age': 40, 'active': false }, - * { 'user': 'pebbles', 'age': 1, 'active': true } - * ]; - * - * _.find(users, function(o) { return o.age < 40; }); - * // => object for 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.find(users, { 'age': 1, 'active': true }); - * // => object for 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.find(users, ['active', false]); - * // => object for 'fred' - * - * // The `_.property` iteratee shorthand. - * _.find(users, 'active'); - * // => object for 'barney' - */ - var find = createFind(findIndex); - /** - * This method is like `_.find` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param {number} [fromIndex=collection.length-1] The index to search from. - * @returns {*} Returns the matched element, else `undefined`. - * @example - * - * _.findLast([1, 2, 3, 4], function(n) { - * return n % 2 == 1; - * }); - * // => 3 - */ - var findLast = createFind(findLastIndex); - /** - * Creates a flattened array of values by running each element in `collection` - * thru `iteratee` and flattening the mapped results. The iteratee is invoked - * with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [n, n]; - * } - * - * _.flatMap([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMap(collection, iteratee) { - return baseFlatten(map(collection, iteratee), 1); - } +var _ModifyIpamResourceCidrCommand = class _ModifyIpamResourceCidrCommand 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("AmazonEC2", "ModifyIpamResourceCidr", {}).n("EC2Client", "ModifyIpamResourceCidrCommand").f(void 0, void 0).ser(se_ModifyIpamResourceCidrCommand).de(de_ModifyIpamResourceCidrCommand).build() { +}; +__name(_ModifyIpamResourceCidrCommand, "ModifyIpamResourceCidrCommand"); +var ModifyIpamResourceCidrCommand = _ModifyIpamResourceCidrCommand; + +// src/commands/ModifyIpamResourceDiscoveryCommand.ts + + + + +var _ModifyIpamResourceDiscoveryCommand = class _ModifyIpamResourceDiscoveryCommand 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("AmazonEC2", "ModifyIpamResourceDiscovery", {}).n("EC2Client", "ModifyIpamResourceDiscoveryCommand").f(void 0, void 0).ser(se_ModifyIpamResourceDiscoveryCommand).de(de_ModifyIpamResourceDiscoveryCommand).build() { +}; +__name(_ModifyIpamResourceDiscoveryCommand, "ModifyIpamResourceDiscoveryCommand"); +var ModifyIpamResourceDiscoveryCommand = _ModifyIpamResourceDiscoveryCommand; + +// src/commands/ModifyIpamScopeCommand.ts + + + + +var _ModifyIpamScopeCommand = class _ModifyIpamScopeCommand 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("AmazonEC2", "ModifyIpamScope", {}).n("EC2Client", "ModifyIpamScopeCommand").f(void 0, void 0).ser(se_ModifyIpamScopeCommand).de(de_ModifyIpamScopeCommand).build() { +}; +__name(_ModifyIpamScopeCommand, "ModifyIpamScopeCommand"); +var ModifyIpamScopeCommand = _ModifyIpamScopeCommand; + +// src/commands/ModifyLaunchTemplateCommand.ts + + + + +var _ModifyLaunchTemplateCommand = class _ModifyLaunchTemplateCommand 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("AmazonEC2", "ModifyLaunchTemplate", {}).n("EC2Client", "ModifyLaunchTemplateCommand").f(void 0, void 0).ser(se_ModifyLaunchTemplateCommand).de(de_ModifyLaunchTemplateCommand).build() { +}; +__name(_ModifyLaunchTemplateCommand, "ModifyLaunchTemplateCommand"); +var ModifyLaunchTemplateCommand = _ModifyLaunchTemplateCommand; + +// src/commands/ModifyLocalGatewayRouteCommand.ts - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDeep([1, 2], duplicate); - * // => [1, 1, 2, 2] - */ - function flatMapDeep(collection, iteratee) { - return baseFlatten(map(collection, iteratee), INFINITY); - } - /** - * This method is like `_.flatMap` except that it recursively flattens the - * mapped results up to `depth` times. - * - * @static - * @memberOf _ - * @since 4.7.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {number} [depth=1] The maximum recursion depth. - * @returns {Array} Returns the new flattened array. - * @example - * - * function duplicate(n) { - * return [[[n, n]]]; - * } - * - * _.flatMapDepth([1, 2], duplicate, 2); - * // => [[1, 1], [2, 2]] - */ - function flatMapDepth(collection, iteratee, depth) { - depth = depth === undefined ? 1 : toInteger(depth); - return baseFlatten(map(collection, iteratee), depth); - } - /** - * Iterates over elements of `collection` and invokes `iteratee` for each element. - * The iteratee is invoked with three arguments: (value, index|key, collection). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * **Note:** As with other "Collections" methods, objects with a "length" - * property are iterated like arrays. To avoid this behavior use `_.forIn` - * or `_.forOwn` for object iteration. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @alias each - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEachRight - * @example - * - * _.forEach([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `1` then `2`. - * - * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forEach(collection, iteratee) { - var func = isArray(collection) ? arrayEach : baseEach; - return func(collection, getIteratee(iteratee, 3)); - } - /** - * This method is like `_.forEach` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @alias eachRight - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array|Object} Returns `collection`. - * @see _.forEach - * @example - * - * _.forEachRight([1, 2], function(value) { - * console.log(value); - * }); - * // => Logs `2` then `1`. - */ - function forEachRight(collection, iteratee) { - var func = isArray(collection) ? arrayEachRight : baseEachRight; - return func(collection, getIteratee(iteratee, 3)); - } +var _ModifyLocalGatewayRouteCommand = class _ModifyLocalGatewayRouteCommand 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("AmazonEC2", "ModifyLocalGatewayRoute", {}).n("EC2Client", "ModifyLocalGatewayRouteCommand").f(void 0, void 0).ser(se_ModifyLocalGatewayRouteCommand).de(de_ModifyLocalGatewayRouteCommand).build() { +}; +__name(_ModifyLocalGatewayRouteCommand, "ModifyLocalGatewayRouteCommand"); +var ModifyLocalGatewayRouteCommand = _ModifyLocalGatewayRouteCommand; - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The order of grouped values - * is determined by the order they occur in `collection`. The corresponding - * value of each key is an array of elements responsible for generating the - * key. The iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * _.groupBy([6.1, 4.2, 6.3], Math.floor); - * // => { '4': [4.2], '6': [6.1, 6.3] } - * - * // The `_.property` iteratee shorthand. - * _.groupBy(['one', 'two', 'three'], 'length'); - * // => { '3': ['one', 'two'], '5': ['three'] } - */ - var groupBy = createAggregator(function(result, value, key) { - if (hasOwnProperty.call(result, key)) { - result[key].push(value); - } else { - baseAssignValue(result, key, [value]); - } - }); +// src/commands/ModifyManagedPrefixListCommand.ts - /** - * Checks if `value` is in `collection`. If `collection` is a string, it's - * checked for a substring of `value`, otherwise - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * is used for equality comparisons. If `fromIndex` is negative, it's used as - * the offset from the end of `collection`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @param {*} value The value to search for. - * @param {number} [fromIndex=0] The index to search from. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {boolean} Returns `true` if `value` is found, else `false`. - * @example - * - * _.includes([1, 2, 3], 1); - * // => true - * - * _.includes([1, 2, 3], 1, 2); - * // => false - * - * _.includes({ 'a': 1, 'b': 2 }, 1); - * // => true - * - * _.includes('abcd', 'bc'); - * // => true - */ - function includes(collection, value, fromIndex, guard) { - collection = isArrayLike(collection) ? collection : values(collection); - fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0; - var length = collection.length; - if (fromIndex < 0) { - fromIndex = nativeMax(length + fromIndex, 0); - } - return isString(collection) - ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1) - : (!!length && baseIndexOf(collection, value, fromIndex) > -1); - } - /** - * Invokes the method at `path` of each element in `collection`, returning - * an array of the results of each invoked method. Any additional arguments - * are provided to each invoked method. If `path` is a function, it's invoked - * for, and `this` bound to, each element in `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array|Function|string} path The path of the method to invoke or - * the function invoked per iteration. - * @param {...*} [args] The arguments to invoke each method with. - * @returns {Array} Returns the array of results. - * @example - * - * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort'); - * // => [[1, 5, 7], [1, 2, 3]] - * - * _.invokeMap([123, 456], String.prototype.split, ''); - * // => [['1', '2', '3'], ['4', '5', '6']] - */ - var invokeMap = baseRest(function(collection, path, args) { - var index = -1, - isFunc = typeof path == 'function', - result = isArrayLike(collection) ? Array(collection.length) : []; - baseEach(collection, function(value) { - result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args); - }); - return result; - }); +var _ModifyManagedPrefixListCommand = class _ModifyManagedPrefixListCommand 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("AmazonEC2", "ModifyManagedPrefixList", {}).n("EC2Client", "ModifyManagedPrefixListCommand").f(void 0, void 0).ser(se_ModifyManagedPrefixListCommand).de(de_ModifyManagedPrefixListCommand).build() { +}; +__name(_ModifyManagedPrefixListCommand, "ModifyManagedPrefixListCommand"); +var ModifyManagedPrefixListCommand = _ModifyManagedPrefixListCommand; - /** - * Creates an object composed of keys generated from the results of running - * each element of `collection` thru `iteratee`. The corresponding value of - * each key is the last element responsible for generating the key. The - * iteratee is invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The iteratee to transform keys. - * @returns {Object} Returns the composed aggregate object. - * @example - * - * var array = [ - * { 'dir': 'left', 'code': 97 }, - * { 'dir': 'right', 'code': 100 } - * ]; - * - * _.keyBy(array, function(o) { - * return String.fromCharCode(o.code); - * }); - * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } } - * - * _.keyBy(array, 'dir'); - * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } } - */ - var keyBy = createAggregator(function(result, value, key) { - baseAssignValue(result, key, value); - }); +// src/commands/ModifyNetworkInterfaceAttributeCommand.ts - /** - * Creates an array of values by running each element in `collection` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`. - * - * The guarded methods are: - * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`, - * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`, - * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`, - * `template`, `trim`, `trimEnd`, `trimStart`, and `words` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new mapped array. - * @example - * - * function square(n) { - * return n * n; - * } - * - * _.map([4, 8], square); - * // => [16, 64] - * - * _.map({ 'a': 4, 'b': 8 }, square); - * // => [16, 64] (iteration order is not guaranteed) - * - * var users = [ - * { 'user': 'barney' }, - * { 'user': 'fred' } - * ]; - * - * // The `_.property` iteratee shorthand. - * _.map(users, 'user'); - * // => ['barney', 'fred'] - */ - function map(collection, iteratee) { - var func = isArray(collection) ? arrayMap : baseMap; - return func(collection, getIteratee(iteratee, 3)); - } - /** - * This method is like `_.sortBy` except that it allows specifying the sort - * orders of the iteratees to sort by. If `orders` is unspecified, all values - * are sorted in ascending order. Otherwise, specify an order of "desc" for - * descending or "asc" for ascending sort order of corresponding values. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]] - * The iteratees to sort by. - * @param {string[]} [orders] The sort orders of `iteratees`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 34 }, - * { 'user': 'fred', 'age': 40 }, - * { 'user': 'barney', 'age': 36 } - * ]; - * - * // Sort by `user` in ascending order and by `age` in descending order. - * _.orderBy(users, ['user', 'age'], ['asc', 'desc']); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]] - */ - function orderBy(collection, iteratees, orders, guard) { - if (collection == null) { - return []; - } - if (!isArray(iteratees)) { - iteratees = iteratees == null ? [] : [iteratees]; - } - orders = guard ? undefined : orders; - if (!isArray(orders)) { - orders = orders == null ? [] : [orders]; - } - return baseOrderBy(collection, iteratees, orders); - } - /** - * Creates an array of elements split into two groups, the first of which - * contains elements `predicate` returns truthy for, the second of which - * contains elements `predicate` returns falsey for. The predicate is - * invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the array of grouped elements. - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true }, - * { 'user': 'pebbles', 'age': 1, 'active': false } - * ]; - * - * _.partition(users, function(o) { return o.active; }); - * // => objects for [['fred'], ['barney', 'pebbles']] - * - * // The `_.matches` iteratee shorthand. - * _.partition(users, { 'age': 1, 'active': false }); - * // => objects for [['pebbles'], ['barney', 'fred']] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.partition(users, ['active', false]); - * // => objects for [['barney', 'pebbles'], ['fred']] - * - * // The `_.property` iteratee shorthand. - * _.partition(users, 'active'); - * // => objects for [['fred'], ['barney', 'pebbles']] - */ - var partition = createAggregator(function(result, value, key) { - result[key ? 0 : 1].push(value); - }, function() { return [[], []]; }); - /** - * Reduces `collection` to a value which is the accumulated result of running - * each element in `collection` thru `iteratee`, where each successive - * invocation is supplied the return value of the previous. If `accumulator` - * is not given, the first element of `collection` is used as the initial - * value. The iteratee is invoked with four arguments: - * (accumulator, value, index|key, collection). - * - * Many lodash methods are guarded to work as iteratees for methods like - * `_.reduce`, `_.reduceRight`, and `_.transform`. - * - * The guarded methods are: - * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`, - * and `sortBy` - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduceRight - * @example - * - * _.reduce([1, 2], function(sum, n) { - * return sum + n; - * }, 0); - * // => 3 - * - * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * return result; - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed) - */ - function reduce(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduce : baseReduce, - initAccum = arguments.length < 3; +var _ModifyNetworkInterfaceAttributeCommand = class _ModifyNetworkInterfaceAttributeCommand 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("AmazonEC2", "ModifyNetworkInterfaceAttribute", {}).n("EC2Client", "ModifyNetworkInterfaceAttributeCommand").f(void 0, void 0).ser(se_ModifyNetworkInterfaceAttributeCommand).de(de_ModifyNetworkInterfaceAttributeCommand).build() { +}; +__name(_ModifyNetworkInterfaceAttributeCommand, "ModifyNetworkInterfaceAttributeCommand"); +var ModifyNetworkInterfaceAttributeCommand = _ModifyNetworkInterfaceAttributeCommand; - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach); - } +// src/commands/ModifyPrivateDnsNameOptionsCommand.ts - /** - * This method is like `_.reduce` except that it iterates over elements of - * `collection` from right to left. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The initial value. - * @returns {*} Returns the accumulated value. - * @see _.reduce - * @example - * - * var array = [[0, 1], [2, 3], [4, 5]]; - * - * _.reduceRight(array, function(flattened, other) { - * return flattened.concat(other); - * }, []); - * // => [4, 5, 2, 3, 0, 1] - */ - function reduceRight(collection, iteratee, accumulator) { - var func = isArray(collection) ? arrayReduceRight : baseReduce, - initAccum = arguments.length < 3; - return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight); - } - /** - * The opposite of `_.filter`; this method returns the elements of `collection` - * that `predicate` does **not** return truthy for. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {Array} Returns the new filtered array. - * @see _.filter - * @example - * - * var users = [ - * { 'user': 'barney', 'age': 36, 'active': false }, - * { 'user': 'fred', 'age': 40, 'active': true } - * ]; - * - * _.reject(users, function(o) { return !o.active; }); - * // => objects for ['fred'] - * - * // The `_.matches` iteratee shorthand. - * _.reject(users, { 'age': 40, 'active': true }); - * // => objects for ['barney'] - * - * // The `_.matchesProperty` iteratee shorthand. - * _.reject(users, ['active', false]); - * // => objects for ['fred'] - * - * // The `_.property` iteratee shorthand. - * _.reject(users, 'active'); - * // => objects for ['barney'] - */ - function reject(collection, predicate) { - var func = isArray(collection) ? arrayFilter : baseFilter; - return func(collection, negate(getIteratee(predicate, 3))); - } - /** - * Gets a random element from `collection`. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @returns {*} Returns the random element. - * @example - * - * _.sample([1, 2, 3, 4]); - * // => 2 - */ - function sample(collection) { - var func = isArray(collection) ? arraySample : baseSample; - return func(collection); - } +var _ModifyPrivateDnsNameOptionsCommand = class _ModifyPrivateDnsNameOptionsCommand 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("AmazonEC2", "ModifyPrivateDnsNameOptions", {}).n("EC2Client", "ModifyPrivateDnsNameOptionsCommand").f(void 0, void 0).ser(se_ModifyPrivateDnsNameOptionsCommand).de(de_ModifyPrivateDnsNameOptionsCommand).build() { +}; +__name(_ModifyPrivateDnsNameOptionsCommand, "ModifyPrivateDnsNameOptionsCommand"); +var ModifyPrivateDnsNameOptionsCommand = _ModifyPrivateDnsNameOptionsCommand; + +// src/commands/ModifyReservedInstancesCommand.ts - /** - * Gets `n` random elements at unique keys from `collection` up to the - * size of `collection`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Collection - * @param {Array|Object} collection The collection to sample. - * @param {number} [n=1] The number of elements to sample. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Array} Returns the random elements. - * @example - * - * _.sampleSize([1, 2, 3], 2); - * // => [3, 1] - * - * _.sampleSize([1, 2, 3], 4); - * // => [2, 3, 1] - */ - function sampleSize(collection, n, guard) { - if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); - } - var func = isArray(collection) ? arraySampleSize : baseSampleSize; - return func(collection, n); - } - /** - * Creates an array of shuffled values, using a version of the - * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to shuffle. - * @returns {Array} Returns the new shuffled array. - * @example - * - * _.shuffle([1, 2, 3, 4]); - * // => [4, 1, 3, 2] - */ - function shuffle(collection) { - var func = isArray(collection) ? arrayShuffle : baseShuffle; - return func(collection); - } - /** - * Gets the size of `collection` by returning its length for array-like - * values or the number of own enumerable string keyed properties for objects. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object|string} collection The collection to inspect. - * @returns {number} Returns the collection size. - * @example - * - * _.size([1, 2, 3]); - * // => 3 - * - * _.size({ 'a': 1, 'b': 2 }); - * // => 2 - * - * _.size('pebbles'); - * // => 7 - */ - function size(collection) { - if (collection == null) { - return 0; - } - if (isArrayLike(collection)) { - return isString(collection) ? stringSize(collection) : collection.length; - } - var tag = getTag(collection); - if (tag == mapTag || tag == setTag) { - return collection.size; - } - return baseKeys(collection).length; - } - /** - * Checks if `predicate` returns truthy for **any** element of `collection`. - * Iteration is stopped once `predicate` returns truthy. The predicate is - * invoked with three arguments: (value, index|key, collection). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {boolean} Returns `true` if any element passes the predicate check, - * else `false`. - * @example - * - * _.some([null, 0, 'yes', false], Boolean); - * // => true - * - * var users = [ - * { 'user': 'barney', 'active': true }, - * { 'user': 'fred', 'active': false } - * ]; - * - * // The `_.matches` iteratee shorthand. - * _.some(users, { 'user': 'barney', 'active': false }); - * // => false - * - * // The `_.matchesProperty` iteratee shorthand. - * _.some(users, ['active', false]); - * // => true - * - * // The `_.property` iteratee shorthand. - * _.some(users, 'active'); - * // => true - */ - function some(collection, predicate, guard) { - var func = isArray(collection) ? arraySome : baseSome; - if (guard && isIterateeCall(collection, predicate, guard)) { - predicate = undefined; - } - return func(collection, getIteratee(predicate, 3)); - } +var _ModifyReservedInstancesCommand = class _ModifyReservedInstancesCommand 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("AmazonEC2", "ModifyReservedInstances", {}).n("EC2Client", "ModifyReservedInstancesCommand").f(void 0, void 0).ser(se_ModifyReservedInstancesCommand).de(de_ModifyReservedInstancesCommand).build() { +}; +__name(_ModifyReservedInstancesCommand, "ModifyReservedInstancesCommand"); +var ModifyReservedInstancesCommand = _ModifyReservedInstancesCommand; - /** - * Creates an array of elements, sorted in ascending order by the results of - * running each element in a collection thru each iteratee. This method - * performs a stable sort, that is, it preserves the original sort order of - * equal elements. The iteratees are invoked with one argument: (value). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Collection - * @param {Array|Object} collection The collection to iterate over. - * @param {...(Function|Function[])} [iteratees=[_.identity]] - * The iteratees to sort by. - * @returns {Array} Returns the new sorted array. - * @example - * - * var users = [ - * { 'user': 'fred', 'age': 48 }, - * { 'user': 'barney', 'age': 36 }, - * { 'user': 'fred', 'age': 30 }, - * { 'user': 'barney', 'age': 34 } - * ]; - * - * _.sortBy(users, [function(o) { return o.user; }]); - * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]] - * - * _.sortBy(users, ['user', 'age']); - * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]] - */ - var sortBy = baseRest(function(collection, iteratees) { - if (collection == null) { - return []; - } - var length = iteratees.length; - if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) { - iteratees = []; - } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) { - iteratees = [iteratees[0]]; - } - return baseOrderBy(collection, baseFlatten(iteratees, 1), []); - }); +// src/commands/ModifySecurityGroupRulesCommand.ts - /*------------------------------------------------------------------------*/ - /** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ - var now = ctxNow || function() { - return root.Date.now(); - }; - /*------------------------------------------------------------------------*/ - /** - * The opposite of `_.before`; this method creates a function that invokes - * `func` once it's called `n` or more times. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {number} n The number of calls before `func` is invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var saves = ['profile', 'settings']; - * - * var done = _.after(saves.length, function() { - * console.log('done saving!'); - * }); - * - * _.forEach(saves, function(type) { - * asyncSave({ 'type': type, 'complete': done }); - * }); - * // => Logs 'done saving!' after the two async saves have completed. - */ - function after(n, func) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n < 1) { - return func.apply(this, arguments); - } - }; - } +var _ModifySecurityGroupRulesCommand = class _ModifySecurityGroupRulesCommand 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("AmazonEC2", "ModifySecurityGroupRules", {}).n("EC2Client", "ModifySecurityGroupRulesCommand").f(void 0, void 0).ser(se_ModifySecurityGroupRulesCommand).de(de_ModifySecurityGroupRulesCommand).build() { +}; +__name(_ModifySecurityGroupRulesCommand, "ModifySecurityGroupRulesCommand"); +var ModifySecurityGroupRulesCommand = _ModifySecurityGroupRulesCommand; - /** - * Creates a function that invokes `func`, with up to `n` arguments, - * ignoring any additional arguments. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @param {number} [n=func.length] The arity cap. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.ary(parseInt, 1)); - * // => [6, 8, 10] - */ - function ary(func, n, guard) { - n = guard ? undefined : n; - n = (func && n == null) ? func.length : n; - return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n); - } +// src/commands/ModifySnapshotAttributeCommand.ts - /** - * Creates a function that invokes `func`, with the `this` binding and arguments - * of the created function, while it's called less than `n` times. Subsequent - * calls to the created function return the result of the last `func` invocation. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {number} n The number of calls at which `func` is no longer invoked. - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * jQuery(element).on('click', _.before(5, addContactToList)); - * // => Allows adding up to 4 contacts to the list. - */ - function before(n, func) { - var result; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - n = toInteger(n); - return function() { - if (--n > 0) { - result = func.apply(this, arguments); - } - if (n <= 1) { - func = undefined; - } - return result; - }; - } - /** - * Creates a function that invokes `func` with the `this` binding of `thisArg` - * and `partials` prepended to the arguments it receives. - * - * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for partially applied arguments. - * - * **Note:** Unlike native `Function#bind`, this method doesn't set the "length" - * property of bound functions. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to bind. - * @param {*} thisArg The `this` binding of `func`. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * function greet(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * - * var object = { 'user': 'fred' }; - * - * var bound = _.bind(greet, object, 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * // Bound with placeholders. - * var bound = _.bind(greet, object, _, '!'); - * bound('hi'); - * // => 'hi fred!' - */ - var bind = baseRest(function(func, thisArg, partials) { - var bitmask = WRAP_BIND_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bind)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(func, bitmask, thisArg, partials, holders); - }); - /** - * Creates a function that invokes the method at `object[key]` with `partials` - * prepended to the arguments it receives. - * - * This method differs from `_.bind` by allowing bound functions to reference - * methods that may be redefined or don't yet exist. See - * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern) - * for more details. - * - * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Function - * @param {Object} object The object to invoke the method on. - * @param {string} key The key of the method. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new bound function. - * @example - * - * var object = { - * 'user': 'fred', - * 'greet': function(greeting, punctuation) { - * return greeting + ' ' + this.user + punctuation; - * } - * }; - * - * var bound = _.bindKey(object, 'greet', 'hi'); - * bound('!'); - * // => 'hi fred!' - * - * object.greet = function(greeting, punctuation) { - * return greeting + 'ya ' + this.user + punctuation; - * }; - * - * bound('!'); - * // => 'hiya fred!' - * - * // Bound with placeholders. - * var bound = _.bindKey(object, 'greet', _, '!'); - * bound('hi'); - * // => 'hiya fred!' - */ - var bindKey = baseRest(function(object, key, partials) { - var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG; - if (partials.length) { - var holders = replaceHolders(partials, getHolder(bindKey)); - bitmask |= WRAP_PARTIAL_FLAG; - } - return createWrap(key, bitmask, object, partials, holders); - }); - /** - * Creates a function that accepts arguments of `func` and either invokes - * `func` returning its result, if at least `arity` number of arguments have - * been provided, or returns a function that accepts the remaining `func` - * arguments, and so on. The arity of `func` may be specified if `func.length` - * is not sufficient. - * - * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds, - * may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curry(abc); - * - * curried(1)(2)(3); - * // => [1, 2, 3] - * - * curried(1, 2)(3); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(1)(_, 3)(2); - * // => [1, 2, 3] - */ - function curry(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curry.placeholder; - return result; - } +var _ModifySnapshotAttributeCommand = class _ModifySnapshotAttributeCommand 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("AmazonEC2", "ModifySnapshotAttribute", {}).n("EC2Client", "ModifySnapshotAttributeCommand").f(void 0, void 0).ser(se_ModifySnapshotAttributeCommand).de(de_ModifySnapshotAttributeCommand).build() { +}; +__name(_ModifySnapshotAttributeCommand, "ModifySnapshotAttributeCommand"); +var ModifySnapshotAttributeCommand = _ModifySnapshotAttributeCommand; - /** - * This method is like `_.curry` except that arguments are applied to `func` - * in the manner of `_.partialRight` instead of `_.partial`. - * - * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for provided arguments. - * - * **Note:** This method doesn't set the "length" property of curried functions. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to curry. - * @param {number} [arity=func.length] The arity of `func`. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the new curried function. - * @example - * - * var abc = function(a, b, c) { - * return [a, b, c]; - * }; - * - * var curried = _.curryRight(abc); - * - * curried(3)(2)(1); - * // => [1, 2, 3] - * - * curried(2, 3)(1); - * // => [1, 2, 3] - * - * curried(1, 2, 3); - * // => [1, 2, 3] - * - * // Curried with placeholders. - * curried(3)(1, _)(2); - * // => [1, 2, 3] - */ - function curryRight(func, arity, guard) { - arity = guard ? undefined : arity; - var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity); - result.placeholder = curryRight.placeholder; - return result; - } +// src/commands/ModifySnapshotTierCommand.ts + + + + +var _ModifySnapshotTierCommand = class _ModifySnapshotTierCommand 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("AmazonEC2", "ModifySnapshotTier", {}).n("EC2Client", "ModifySnapshotTierCommand").f(void 0, void 0).ser(se_ModifySnapshotTierCommand).de(de_ModifySnapshotTierCommand).build() { +}; +__name(_ModifySnapshotTierCommand, "ModifySnapshotTierCommand"); +var ModifySnapshotTierCommand = _ModifySnapshotTierCommand; + +// src/commands/ModifySpotFleetRequestCommand.ts + + + + +var _ModifySpotFleetRequestCommand = class _ModifySpotFleetRequestCommand 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("AmazonEC2", "ModifySpotFleetRequest", {}).n("EC2Client", "ModifySpotFleetRequestCommand").f(void 0, void 0).ser(se_ModifySpotFleetRequestCommand).de(de_ModifySpotFleetRequestCommand).build() { +}; +__name(_ModifySpotFleetRequestCommand, "ModifySpotFleetRequestCommand"); +var ModifySpotFleetRequestCommand = _ModifySpotFleetRequestCommand; + +// src/commands/ModifySubnetAttributeCommand.ts + + + + +var _ModifySubnetAttributeCommand = class _ModifySubnetAttributeCommand 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("AmazonEC2", "ModifySubnetAttribute", {}).n("EC2Client", "ModifySubnetAttributeCommand").f(void 0, void 0).ser(se_ModifySubnetAttributeCommand).de(de_ModifySubnetAttributeCommand).build() { +}; +__name(_ModifySubnetAttributeCommand, "ModifySubnetAttributeCommand"); +var ModifySubnetAttributeCommand = _ModifySubnetAttributeCommand; - /** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide `options` to indicate whether `func` should be invoked on the - * leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent - * calls to the debounced function return the result of the last `func` - * invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the debounced function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ - function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; +// src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } +var _ModifyTrafficMirrorFilterNetworkServicesCommand = class _ModifyTrafficMirrorFilterNetworkServicesCommand 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("AmazonEC2", "ModifyTrafficMirrorFilterNetworkServices", {}).n("EC2Client", "ModifyTrafficMirrorFilterNetworkServicesCommand").f(void 0, void 0).ser(se_ModifyTrafficMirrorFilterNetworkServicesCommand).de(de_ModifyTrafficMirrorFilterNetworkServicesCommand).build() { +}; +__name(_ModifyTrafficMirrorFilterNetworkServicesCommand, "ModifyTrafficMirrorFilterNetworkServicesCommand"); +var ModifyTrafficMirrorFilterNetworkServicesCommand = _ModifyTrafficMirrorFilterNetworkServicesCommand; - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - timeWaiting = wait - timeSinceLastCall; +// src/commands/ModifyTrafficMirrorFilterRuleCommand.ts - return maxing - ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) - : timeWaiting; - } - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } +var _ModifyTrafficMirrorFilterRuleCommand = class _ModifyTrafficMirrorFilterRuleCommand 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("AmazonEC2", "ModifyTrafficMirrorFilterRule", {}).n("EC2Client", "ModifyTrafficMirrorFilterRuleCommand").f(void 0, void 0).ser(se_ModifyTrafficMirrorFilterRuleCommand).de(de_ModifyTrafficMirrorFilterRuleCommand).build() { +}; +__name(_ModifyTrafficMirrorFilterRuleCommand, "ModifyTrafficMirrorFilterRuleCommand"); +var ModifyTrafficMirrorFilterRuleCommand = _ModifyTrafficMirrorFilterRuleCommand; - function trailingEdge(time) { - timerId = undefined; +// src/commands/ModifyTrafficMirrorSessionCommand.ts - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - function cancel() { - if (timerId !== undefined) { - clearTimeout(timerId); - } - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); +var _ModifyTrafficMirrorSessionCommand = class _ModifyTrafficMirrorSessionCommand 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("AmazonEC2", "ModifyTrafficMirrorSession", {}).n("EC2Client", "ModifyTrafficMirrorSessionCommand").f(void 0, void 0).ser(se_ModifyTrafficMirrorSessionCommand).de(de_ModifyTrafficMirrorSessionCommand).build() { +}; +__name(_ModifyTrafficMirrorSessionCommand, "ModifyTrafficMirrorSessionCommand"); +var ModifyTrafficMirrorSessionCommand = _ModifyTrafficMirrorSessionCommand; - lastArgs = arguments; - lastThis = this; - lastCallTime = time; +// src/commands/ModifyTransitGatewayCommand.ts - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - clearTimeout(timerId); - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; - } - /** - * Defers invoking the `func` until the current call stack has cleared. Any - * additional arguments are provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to defer. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.defer(function(text) { - * console.log(text); - * }, 'deferred'); - * // => Logs 'deferred' after one millisecond. - */ - var defer = baseRest(function(func, args) { - return baseDelay(func, 1, args); - }); - /** - * Invokes `func` after `wait` milliseconds. Any additional arguments are - * provided to `func` when it's invoked. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to delay. - * @param {number} wait The number of milliseconds to delay invocation. - * @param {...*} [args] The arguments to invoke `func` with. - * @returns {number} Returns the timer id. - * @example - * - * _.delay(function(text) { - * console.log(text); - * }, 1000, 'later'); - * // => Logs 'later' after one second. - */ - var delay = baseRest(function(func, wait, args) { - return baseDelay(func, toNumber(wait) || 0, args); - }); - /** - * Creates a function that invokes `func` with arguments reversed. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to flip arguments for. - * @returns {Function} Returns the new flipped function. - * @example - * - * var flipped = _.flip(function() { - * return _.toArray(arguments); - * }); - * - * flipped('a', 'b', 'c', 'd'); - * // => ['d', 'c', 'b', 'a'] - */ - function flip(func) { - return createWrap(func, WRAP_FLIP_FLAG); - } +var _ModifyTransitGatewayCommand = class _ModifyTransitGatewayCommand 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("AmazonEC2", "ModifyTransitGateway", {}).n("EC2Client", "ModifyTransitGatewayCommand").f(void 0, void 0).ser(se_ModifyTransitGatewayCommand).de(de_ModifyTransitGatewayCommand).build() { +}; +__name(_ModifyTransitGatewayCommand, "ModifyTransitGatewayCommand"); +var ModifyTransitGatewayCommand = _ModifyTransitGatewayCommand; - /** - * Creates a function that memoizes the result of `func`. If `resolver` is - * provided, it determines the cache key for storing the result based on the - * arguments provided to the memoized function. By default, the first argument - * provided to the memoized function is used as the map cache key. The `func` - * is invoked with the `this` binding of the memoized function. - * - * **Note:** The cache is exposed as the `cache` property on the memoized - * function. Its creation may be customized by replacing the `_.memoize.Cache` - * constructor with one whose instances implement the - * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object) - * method interface of `clear`, `delete`, `get`, `has`, and `set`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to have its output memoized. - * @param {Function} [resolver] The function to resolve the cache key. - * @returns {Function} Returns the new memoized function. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * var other = { 'c': 3, 'd': 4 }; - * - * var values = _.memoize(_.values); - * values(object); - * // => [1, 2] - * - * values(other); - * // => [3, 4] - * - * object.a = 2; - * values(object); - * // => [1, 2] - * - * // Modify the result cache. - * values.cache.set(object, ['a', 'b']); - * values(object); - * // => ['a', 'b'] - * - * // Replace `_.memoize.Cache`. - * _.memoize.Cache = WeakMap; - */ - function memoize(func, resolver) { - if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) { - throw new TypeError(FUNC_ERROR_TEXT); - } - var memoized = function() { - var args = arguments, - key = resolver ? resolver.apply(this, args) : args[0], - cache = memoized.cache; +// src/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts - if (cache.has(key)) { - return cache.get(key); - } - var result = func.apply(this, args); - memoized.cache = cache.set(key, result) || cache; - return result; - }; - memoized.cache = new (memoize.Cache || MapCache); - return memoized; - } - // Expose `MapCache`. - memoize.Cache = MapCache; - /** - * Creates a function that negates the result of the predicate `func`. The - * `func` predicate is invoked with the `this` binding and arguments of the - * created function. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} predicate The predicate to negate. - * @returns {Function} Returns the new negated function. - * @example - * - * function isEven(n) { - * return n % 2 == 0; - * } - * - * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); - * // => [1, 3, 5] - */ - function negate(predicate) { - if (typeof predicate != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - return function() { - var args = arguments; - switch (args.length) { - case 0: return !predicate.call(this); - case 1: return !predicate.call(this, args[0]); - case 2: return !predicate.call(this, args[0], args[1]); - case 3: return !predicate.call(this, args[0], args[1], args[2]); - } - return !predicate.apply(this, args); - }; - } - /** - * Creates a function that is restricted to invoking `func` once. Repeat calls - * to the function return the value of the first invocation. The `func` is - * invoked with the `this` binding and arguments of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to restrict. - * @returns {Function} Returns the new restricted function. - * @example - * - * var initialize = _.once(createApplication); - * initialize(); - * initialize(); - * // => `createApplication` is invoked once - */ - function once(func) { - return before(2, func); - } +var _ModifyTransitGatewayPrefixListReferenceCommand = class _ModifyTransitGatewayPrefixListReferenceCommand 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("AmazonEC2", "ModifyTransitGatewayPrefixListReference", {}).n("EC2Client", "ModifyTransitGatewayPrefixListReferenceCommand").f(void 0, void 0).ser(se_ModifyTransitGatewayPrefixListReferenceCommand).de(de_ModifyTransitGatewayPrefixListReferenceCommand).build() { +}; +__name(_ModifyTransitGatewayPrefixListReferenceCommand, "ModifyTransitGatewayPrefixListReferenceCommand"); +var ModifyTransitGatewayPrefixListReferenceCommand = _ModifyTransitGatewayPrefixListReferenceCommand; - /** - * Creates a function that invokes `func` with its arguments transformed. - * - * @static - * @since 4.0.0 - * @memberOf _ - * @category Function - * @param {Function} func The function to wrap. - * @param {...(Function|Function[])} [transforms=[_.identity]] - * The argument transforms. - * @returns {Function} Returns the new function. - * @example - * - * function doubled(n) { - * return n * 2; - * } - * - * function square(n) { - * return n * n; - * } - * - * var func = _.overArgs(function(x, y) { - * return [x, y]; - * }, [square, doubled]); - * - * func(9, 3); - * // => [81, 6] - * - * func(10, 5); - * // => [100, 10] - */ - var overArgs = castRest(function(func, transforms) { - transforms = (transforms.length == 1 && isArray(transforms[0])) - ? arrayMap(transforms[0], baseUnary(getIteratee())) - : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee())); +// src/commands/ModifyTransitGatewayVpcAttachmentCommand.ts - var funcsLength = transforms.length; - return baseRest(function(args) { - var index = -1, - length = nativeMin(args.length, funcsLength); - while (++index < length) { - args[index] = transforms[index].call(this, args[index]); - } - return apply(func, this, args); - }); - }); - /** - * Creates a function that invokes `func` with `partials` prepended to the - * arguments it receives. This method is like `_.bind` except it does **not** - * alter the `this` binding. - * - * The `_.partial.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 0.2.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var sayHelloTo = _.partial(greet, 'hello'); - * sayHelloTo('fred'); - * // => 'hello fred' - * - * // Partially applied with placeholders. - * var greetFred = _.partial(greet, _, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - */ - var partial = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partial)); - return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders); - }); - /** - * This method is like `_.partial` except that partially applied arguments - * are appended to the arguments it receives. - * - * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic - * builds, may be used as a placeholder for partially applied arguments. - * - * **Note:** This method doesn't set the "length" property of partially - * applied functions. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Function - * @param {Function} func The function to partially apply arguments to. - * @param {...*} [partials] The arguments to be partially applied. - * @returns {Function} Returns the new partially applied function. - * @example - * - * function greet(greeting, name) { - * return greeting + ' ' + name; - * } - * - * var greetFred = _.partialRight(greet, 'fred'); - * greetFred('hi'); - * // => 'hi fred' - * - * // Partially applied with placeholders. - * var sayHelloTo = _.partialRight(greet, 'hello', _); - * sayHelloTo('fred'); - * // => 'hello fred' - */ - var partialRight = baseRest(function(func, partials) { - var holders = replaceHolders(partials, getHolder(partialRight)); - return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders); - }); +var _ModifyTransitGatewayVpcAttachmentCommand = class _ModifyTransitGatewayVpcAttachmentCommand 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("AmazonEC2", "ModifyTransitGatewayVpcAttachment", {}).n("EC2Client", "ModifyTransitGatewayVpcAttachmentCommand").f(void 0, void 0).ser(se_ModifyTransitGatewayVpcAttachmentCommand).de(de_ModifyTransitGatewayVpcAttachmentCommand).build() { +}; +__name(_ModifyTransitGatewayVpcAttachmentCommand, "ModifyTransitGatewayVpcAttachmentCommand"); +var ModifyTransitGatewayVpcAttachmentCommand = _ModifyTransitGatewayVpcAttachmentCommand; + +// src/commands/ModifyVerifiedAccessEndpointCommand.ts + + + + +var _ModifyVerifiedAccessEndpointCommand = class _ModifyVerifiedAccessEndpointCommand 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("AmazonEC2", "ModifyVerifiedAccessEndpoint", {}).n("EC2Client", "ModifyVerifiedAccessEndpointCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessEndpointCommand).de(de_ModifyVerifiedAccessEndpointCommand).build() { +}; +__name(_ModifyVerifiedAccessEndpointCommand, "ModifyVerifiedAccessEndpointCommand"); +var ModifyVerifiedAccessEndpointCommand = _ModifyVerifiedAccessEndpointCommand; + +// src/commands/ModifyVerifiedAccessEndpointPolicyCommand.ts + + + + +var _ModifyVerifiedAccessEndpointPolicyCommand = class _ModifyVerifiedAccessEndpointPolicyCommand 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("AmazonEC2", "ModifyVerifiedAccessEndpointPolicy", {}).n("EC2Client", "ModifyVerifiedAccessEndpointPolicyCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessEndpointPolicyCommand).de(de_ModifyVerifiedAccessEndpointPolicyCommand).build() { +}; +__name(_ModifyVerifiedAccessEndpointPolicyCommand, "ModifyVerifiedAccessEndpointPolicyCommand"); +var ModifyVerifiedAccessEndpointPolicyCommand = _ModifyVerifiedAccessEndpointPolicyCommand; + +// src/commands/ModifyVerifiedAccessGroupCommand.ts + + + + +var _ModifyVerifiedAccessGroupCommand = class _ModifyVerifiedAccessGroupCommand 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("AmazonEC2", "ModifyVerifiedAccessGroup", {}).n("EC2Client", "ModifyVerifiedAccessGroupCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessGroupCommand).de(de_ModifyVerifiedAccessGroupCommand).build() { +}; +__name(_ModifyVerifiedAccessGroupCommand, "ModifyVerifiedAccessGroupCommand"); +var ModifyVerifiedAccessGroupCommand = _ModifyVerifiedAccessGroupCommand; + +// src/commands/ModifyVerifiedAccessGroupPolicyCommand.ts + + - /** - * Creates a function that invokes `func` with arguments arranged according - * to the specified `indexes` where the argument value at the first index is - * provided as the first argument, the argument value at the second index is - * provided as the second argument, and so on. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Function - * @param {Function} func The function to rearrange arguments for. - * @param {...(number|number[])} indexes The arranged argument indexes. - * @returns {Function} Returns the new function. - * @example - * - * var rearged = _.rearg(function(a, b, c) { - * return [a, b, c]; - * }, [2, 0, 1]); - * - * rearged('b', 'c', 'a') - * // => ['a', 'b', 'c'] - */ - var rearg = flatRest(function(func, indexes) { - return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes); - }); - /** - * Creates a function that invokes `func` with the `this` binding of the - * created function and arguments from `start` and beyond provided as - * an array. - * - * **Note:** This method is based on the - * [rest parameter](https://mdn.io/rest_parameters). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to apply a rest parameter to. - * @param {number} [start=func.length-1] The start position of the rest parameter. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.rest(function(what, names) { - * return what + ' ' + _.initial(names).join(', ') + - * (_.size(names) > 1 ? ', & ' : '') + _.last(names); - * }); - * - * say('hello', 'fred', 'barney', 'pebbles'); - * // => 'hello fred, barney, & pebbles' - */ - function rest(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start === undefined ? start : toInteger(start); - return baseRest(func, start); - } +var _ModifyVerifiedAccessGroupPolicyCommand = class _ModifyVerifiedAccessGroupPolicyCommand 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("AmazonEC2", "ModifyVerifiedAccessGroupPolicy", {}).n("EC2Client", "ModifyVerifiedAccessGroupPolicyCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessGroupPolicyCommand).de(de_ModifyVerifiedAccessGroupPolicyCommand).build() { +}; +__name(_ModifyVerifiedAccessGroupPolicyCommand, "ModifyVerifiedAccessGroupPolicyCommand"); +var ModifyVerifiedAccessGroupPolicyCommand = _ModifyVerifiedAccessGroupPolicyCommand; - /** - * Creates a function that invokes `func` with the `this` binding of the - * create function and an array of arguments much like - * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply). - * - * **Note:** This method is based on the - * [spread operator](https://mdn.io/spread_operator). - * - * @static - * @memberOf _ - * @since 3.2.0 - * @category Function - * @param {Function} func The function to spread arguments over. - * @param {number} [start=0] The start position of the spread. - * @returns {Function} Returns the new function. - * @example - * - * var say = _.spread(function(who, what) { - * return who + ' says ' + what; - * }); - * - * say(['fred', 'hello']); - * // => 'fred says hello' - * - * var numbers = Promise.all([ - * Promise.resolve(40), - * Promise.resolve(36) - * ]); - * - * numbers.then(_.spread(function(x, y) { - * return x + y; - * })); - * // => a Promise of 76 - */ - function spread(func, start) { - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - start = start == null ? 0 : nativeMax(toInteger(start), 0); - return baseRest(function(args) { - var array = args[start], - otherArgs = castSlice(args, 0, start); +// src/commands/ModifyVerifiedAccessInstanceCommand.ts - if (array) { - arrayPush(otherArgs, array); - } - return apply(func, this, otherArgs); - }); - } - /** - * Creates a throttled function that only invokes `func` at most once per - * every `wait` milliseconds. The throttled function comes with a `cancel` - * method to cancel delayed `func` invocations and a `flush` method to - * immediately invoke them. Provide `options` to indicate whether `func` - * should be invoked on the leading and/or trailing edge of the `wait` - * timeout. The `func` is invoked with the last arguments provided to the - * throttled function. Subsequent calls to the throttled function return the - * result of the last `func` invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is - * invoked on the trailing edge of the timeout only if the throttled function - * is invoked more than once during the `wait` timeout. - * - * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred - * until to the next tick, similar to `setTimeout` with a timeout of `0`. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.throttle` and `_.debounce`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to throttle. - * @param {number} [wait=0] The number of milliseconds to throttle invocations to. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=true] - * Specify invoking on the leading edge of the timeout. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new throttled function. - * @example - * - * // Avoid excessively updating the position while scrolling. - * jQuery(window).on('scroll', _.throttle(updatePosition, 100)); - * - * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes. - * var throttled = _.throttle(renewToken, 300000, { 'trailing': false }); - * jQuery(element).on('click', throttled); - * - * // Cancel the trailing throttled invocation. - * jQuery(window).on('popstate', throttled.cancel); - */ - function throttle(func, wait, options) { - var leading = true, - trailing = true; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - if (isObject(options)) { - leading = 'leading' in options ? !!options.leading : leading; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } - return debounce(func, wait, { - 'leading': leading, - 'maxWait': wait, - 'trailing': trailing - }); - } - /** - * Creates a function that accepts up to one argument, ignoring any - * additional arguments. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Function - * @param {Function} func The function to cap arguments for. - * @returns {Function} Returns the new capped function. - * @example - * - * _.map(['6', '8', '10'], _.unary(parseInt)); - * // => [6, 8, 10] - */ - function unary(func) { - return ary(func, 1); - } +var _ModifyVerifiedAccessInstanceCommand = class _ModifyVerifiedAccessInstanceCommand 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("AmazonEC2", "ModifyVerifiedAccessInstance", {}).n("EC2Client", "ModifyVerifiedAccessInstanceCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessInstanceCommand).de(de_ModifyVerifiedAccessInstanceCommand).build() { +}; +__name(_ModifyVerifiedAccessInstanceCommand, "ModifyVerifiedAccessInstanceCommand"); +var ModifyVerifiedAccessInstanceCommand = _ModifyVerifiedAccessInstanceCommand; - /** - * Creates a function that provides `value` to `wrapper` as its first - * argument. Any additional arguments provided to the function are appended - * to those provided to the `wrapper`. The wrapper is invoked with the `this` - * binding of the created function. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {*} value The value to wrap. - * @param {Function} [wrapper=identity] The wrapper function. - * @returns {Function} Returns the new function. - * @example - * - * var p = _.wrap(_.escape, function(func, text) { - * return '

' + func(text) + '

'; - * }); - * - * p('fred, barney, & pebbles'); - * // => '

fred, barney, & pebbles

' - */ - function wrap(value, wrapper) { - return partial(castFunction(wrapper), value); - } +// src/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.ts - /*------------------------------------------------------------------------*/ - /** - * Casts `value` as an array if it's not one. - * - * @static - * @memberOf _ - * @since 4.4.0 - * @category Lang - * @param {*} value The value to inspect. - * @returns {Array} Returns the cast array. - * @example - * - * _.castArray(1); - * // => [1] - * - * _.castArray({ 'a': 1 }); - * // => [{ 'a': 1 }] - * - * _.castArray('abc'); - * // => ['abc'] - * - * _.castArray(null); - * // => [null] - * - * _.castArray(undefined); - * // => [undefined] - * - * _.castArray(); - * // => [] - * - * var array = [1, 2, 3]; - * console.log(_.castArray(array) === array); - * // => true - */ - function castArray() { - if (!arguments.length) { - return []; - } - var value = arguments[0]; - return isArray(value) ? value : [value]; - } - /** - * Creates a shallow clone of `value`. - * - * **Note:** This method is loosely based on the - * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm) - * and supports cloning arrays, array buffers, booleans, date objects, maps, - * numbers, `Object` objects, regexes, sets, strings, symbols, and typed - * arrays. The own enumerable properties of `arguments` objects are cloned - * as plain objects. An empty object is returned for uncloneable values such - * as error objects, functions, DOM nodes, and WeakMaps. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to clone. - * @returns {*} Returns the cloned value. - * @see _.cloneDeep - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var shallow = _.clone(objects); - * console.log(shallow[0] === objects[0]); - * // => true - */ - function clone(value) { - return baseClone(value, CLONE_SYMBOLS_FLAG); - } - /** - * This method is like `_.clone` except that it accepts `customizer` which - * is invoked to produce the cloned value. If `customizer` returns `undefined`, - * cloning is handled by the method instead. The `customizer` is invoked with - * up to four arguments; (value [, index|key, object, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the cloned value. - * @see _.cloneDeepWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(false); - * } - * } - * - * var el = _.cloneWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 0 - */ - function cloneWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_SYMBOLS_FLAG, customizer); - } +var _ModifyVerifiedAccessInstanceLoggingConfigurationCommand = class _ModifyVerifiedAccessInstanceLoggingConfigurationCommand 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("AmazonEC2", "ModifyVerifiedAccessInstanceLoggingConfiguration", {}).n("EC2Client", "ModifyVerifiedAccessInstanceLoggingConfigurationCommand").f(void 0, void 0).ser(se_ModifyVerifiedAccessInstanceLoggingConfigurationCommand).de(de_ModifyVerifiedAccessInstanceLoggingConfigurationCommand).build() { +}; +__name(_ModifyVerifiedAccessInstanceLoggingConfigurationCommand, "ModifyVerifiedAccessInstanceLoggingConfigurationCommand"); +var ModifyVerifiedAccessInstanceLoggingConfigurationCommand = _ModifyVerifiedAccessInstanceLoggingConfigurationCommand; - /** - * This method is like `_.clone` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @returns {*} Returns the deep cloned value. - * @see _.clone - * @example - * - * var objects = [{ 'a': 1 }, { 'b': 2 }]; - * - * var deep = _.cloneDeep(objects); - * console.log(deep[0] === objects[0]); - * // => false - */ - function cloneDeep(value) { - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG); - } +// src/commands/ModifyVerifiedAccessTrustProviderCommand.ts - /** - * This method is like `_.cloneWith` except that it recursively clones `value`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to recursively clone. - * @param {Function} [customizer] The function to customize cloning. - * @returns {*} Returns the deep cloned value. - * @see _.cloneWith - * @example - * - * function customizer(value) { - * if (_.isElement(value)) { - * return value.cloneNode(true); - * } - * } - * - * var el = _.cloneDeepWith(document.body, customizer); - * - * console.log(el === document.body); - * // => false - * console.log(el.nodeName); - * // => 'BODY' - * console.log(el.childNodes.length); - * // => 20 - */ - function cloneDeepWith(value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer); - } - /** - * Checks if `object` conforms to `source` by invoking the predicate - * properties of `source` with the corresponding property values of `object`. - * - * **Note:** This method is equivalent to `_.conforms` when `source` is - * partially applied. - * - * @static - * @memberOf _ - * @since 4.14.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property predicates to conform to. - * @returns {boolean} Returns `true` if `object` conforms, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.conformsTo(object, { 'b': function(n) { return n > 1; } }); - * // => true - * - * _.conformsTo(object, { 'b': function(n) { return n > 2; } }); - * // => false - */ - function conformsTo(object, source) { - return source == null || baseConformsTo(object, source, keys(source)); - } - /** - * Performs a - * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero) - * comparison between two values to determine if they are equivalent. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.eq(object, object); - * // => true - * - * _.eq(object, other); - * // => false - * - * _.eq('a', 'a'); - * // => true - * - * _.eq('a', Object('a')); - * // => false - * - * _.eq(NaN, NaN); - * // => true - */ - function eq(value, other) { - return value === other || (value !== value && other !== other); - } - /** - * Checks if `value` is greater than `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than `other`, - * else `false`. - * @see _.lt - * @example - * - * _.gt(3, 1); - * // => true - * - * _.gt(3, 3); - * // => false - * - * _.gt(1, 3); - * // => false - */ - var gt = createRelationalOperation(baseGt); +var _ModifyVerifiedAccessTrustProviderCommand = class _ModifyVerifiedAccessTrustProviderCommand 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("AmazonEC2", "ModifyVerifiedAccessTrustProvider", {}).n("EC2Client", "ModifyVerifiedAccessTrustProviderCommand").f( + ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog +).ser(se_ModifyVerifiedAccessTrustProviderCommand).de(de_ModifyVerifiedAccessTrustProviderCommand).build() { +}; +__name(_ModifyVerifiedAccessTrustProviderCommand, "ModifyVerifiedAccessTrustProviderCommand"); +var ModifyVerifiedAccessTrustProviderCommand = _ModifyVerifiedAccessTrustProviderCommand; - /** - * Checks if `value` is greater than or equal to `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is greater than or equal to - * `other`, else `false`. - * @see _.lte - * @example - * - * _.gte(3, 1); - * // => true - * - * _.gte(3, 3); - * // => true - * - * _.gte(1, 3); - * // => false - */ - var gte = createRelationalOperation(function(value, other) { - return value >= other; - }); +// src/commands/ModifyVolumeAttributeCommand.ts + + + + +var _ModifyVolumeAttributeCommand = class _ModifyVolumeAttributeCommand 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("AmazonEC2", "ModifyVolumeAttribute", {}).n("EC2Client", "ModifyVolumeAttributeCommand").f(void 0, void 0).ser(se_ModifyVolumeAttributeCommand).de(de_ModifyVolumeAttributeCommand).build() { +}; +__name(_ModifyVolumeAttributeCommand, "ModifyVolumeAttributeCommand"); +var ModifyVolumeAttributeCommand = _ModifyVolumeAttributeCommand; + +// src/commands/ModifyVolumeCommand.ts + + + + +var _ModifyVolumeCommand = class _ModifyVolumeCommand 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("AmazonEC2", "ModifyVolume", {}).n("EC2Client", "ModifyVolumeCommand").f(void 0, void 0).ser(se_ModifyVolumeCommand).de(de_ModifyVolumeCommand).build() { +}; +__name(_ModifyVolumeCommand, "ModifyVolumeCommand"); +var ModifyVolumeCommand = _ModifyVolumeCommand; + +// src/commands/ModifyVpcAttributeCommand.ts + + + + +var _ModifyVpcAttributeCommand = class _ModifyVpcAttributeCommand 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("AmazonEC2", "ModifyVpcAttribute", {}).n("EC2Client", "ModifyVpcAttributeCommand").f(void 0, void 0).ser(se_ModifyVpcAttributeCommand).de(de_ModifyVpcAttributeCommand).build() { +}; +__name(_ModifyVpcAttributeCommand, "ModifyVpcAttributeCommand"); +var ModifyVpcAttributeCommand = _ModifyVpcAttributeCommand; - /** - * Checks if `value` is likely an `arguments` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an `arguments` object, - * else `false`. - * @example - * - * _.isArguments(function() { return arguments; }()); - * // => true - * - * _.isArguments([1, 2, 3]); - * // => false - */ - var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) { - return isObjectLike(value) && hasOwnProperty.call(value, 'callee') && - !propertyIsEnumerable.call(value, 'callee'); - }; +// src/commands/ModifyVpcEndpointCommand.ts - /** - * Checks if `value` is classified as an `Array` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array, else `false`. - * @example - * - * _.isArray([1, 2, 3]); - * // => true - * - * _.isArray(document.body.children); - * // => false - * - * _.isArray('abc'); - * // => false - * - * _.isArray(_.noop); - * // => false - */ - var isArray = Array.isArray; - /** - * Checks if `value` is classified as an `ArrayBuffer` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`. - * @example - * - * _.isArrayBuffer(new ArrayBuffer(2)); - * // => true - * - * _.isArrayBuffer(new Array(2)); - * // => false - */ - var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer; - /** - * Checks if `value` is array-like. A value is considered array-like if it's - * not a function and has a `value.length` that's an integer greater than or - * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is array-like, else `false`. - * @example - * - * _.isArrayLike([1, 2, 3]); - * // => true - * - * _.isArrayLike(document.body.children); - * // => true - * - * _.isArrayLike('abc'); - * // => true - * - * _.isArrayLike(_.noop); - * // => false - */ - function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); - } - /** - * This method is like `_.isArrayLike` except that it also checks if `value` - * is an object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an array-like object, - * else `false`. - * @example - * - * _.isArrayLikeObject([1, 2, 3]); - * // => true - * - * _.isArrayLikeObject(document.body.children); - * // => true - * - * _.isArrayLikeObject('abc'); - * // => false - * - * _.isArrayLikeObject(_.noop); - * // => false - */ - function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); - } +var _ModifyVpcEndpointCommand = class _ModifyVpcEndpointCommand 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("AmazonEC2", "ModifyVpcEndpoint", {}).n("EC2Client", "ModifyVpcEndpointCommand").f(void 0, void 0).ser(se_ModifyVpcEndpointCommand).de(de_ModifyVpcEndpointCommand).build() { +}; +__name(_ModifyVpcEndpointCommand, "ModifyVpcEndpointCommand"); +var ModifyVpcEndpointCommand = _ModifyVpcEndpointCommand; - /** - * Checks if `value` is classified as a boolean primitive or object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a boolean, else `false`. - * @example - * - * _.isBoolean(false); - * // => true - * - * _.isBoolean(null); - * // => false - */ - function isBoolean(value) { - return value === true || value === false || - (isObjectLike(value) && baseGetTag(value) == boolTag); - } +// src/commands/ModifyVpcEndpointConnectionNotificationCommand.ts - /** - * Checks if `value` is a buffer. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a buffer, else `false`. - * @example - * - * _.isBuffer(new Buffer(2)); - * // => true - * - * _.isBuffer(new Uint8Array(2)); - * // => false - */ - var isBuffer = nativeIsBuffer || stubFalse; - /** - * Checks if `value` is classified as a `Date` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a date object, else `false`. - * @example - * - * _.isDate(new Date); - * // => true - * - * _.isDate('Mon April 23 2012'); - * // => false - */ - var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate; - /** - * Checks if `value` is likely a DOM element. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`. - * @example - * - * _.isElement(document.body); - * // => true - * - * _.isElement(''); - * // => false - */ - function isElement(value) { - return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value); - } - /** - * Checks if `value` is an empty object, collection, map, or set. - * - * Objects are considered empty if they have no own enumerable string keyed - * properties. - * - * Array-like values such as `arguments` objects, arrays, buffers, strings, or - * jQuery-like collections are considered empty if they have a `length` of `0`. - * Similarly, maps and sets are considered empty if they have a `size` of `0`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is empty, else `false`. - * @example - * - * _.isEmpty(null); - * // => true - * - * _.isEmpty(true); - * // => true - * - * _.isEmpty(1); - * // => true - * - * _.isEmpty([1, 2, 3]); - * // => false - * - * _.isEmpty({ 'a': 1 }); - * // => false - */ - function isEmpty(value) { - if (value == null) { - return true; - } - if (isArrayLike(value) && - (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' || - isBuffer(value) || isTypedArray(value) || isArguments(value))) { - return !value.length; - } - var tag = getTag(value); - if (tag == mapTag || tag == setTag) { - return !value.size; - } - if (isPrototype(value)) { - return !baseKeys(value).length; - } - for (var key in value) { - if (hasOwnProperty.call(value, key)) { - return false; - } - } - return true; - } +var _ModifyVpcEndpointConnectionNotificationCommand = class _ModifyVpcEndpointConnectionNotificationCommand 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("AmazonEC2", "ModifyVpcEndpointConnectionNotification", {}).n("EC2Client", "ModifyVpcEndpointConnectionNotificationCommand").f(void 0, void 0).ser(se_ModifyVpcEndpointConnectionNotificationCommand).de(de_ModifyVpcEndpointConnectionNotificationCommand).build() { +}; +__name(_ModifyVpcEndpointConnectionNotificationCommand, "ModifyVpcEndpointConnectionNotificationCommand"); +var ModifyVpcEndpointConnectionNotificationCommand = _ModifyVpcEndpointConnectionNotificationCommand; - /** - * Performs a deep comparison between two values to determine if they are - * equivalent. - * - * **Note:** This method supports comparing arrays, array buffers, booleans, - * date objects, error objects, maps, numbers, `Object` objects, regexes, - * sets, strings, symbols, and typed arrays. `Object` objects are compared - * by their own, not inherited, enumerable properties. Functions and DOM - * nodes are compared by strict equality, i.e. `===`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * var object = { 'a': 1 }; - * var other = { 'a': 1 }; - * - * _.isEqual(object, other); - * // => true - * - * object === other; - * // => false - */ - function isEqual(value, other) { - return baseIsEqual(value, other); - } +// src/commands/ModifyVpcEndpointServiceConfigurationCommand.ts - /** - * This method is like `_.isEqual` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with up to - * six arguments: (objValue, othValue [, index|key, object, other, stack]). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if the values are equivalent, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, othValue) { - * if (isGreeting(objValue) && isGreeting(othValue)) { - * return true; - * } - * } - * - * var array = ['hello', 'goodbye']; - * var other = ['hi', 'goodbye']; - * - * _.isEqualWith(array, other, customizer); - * // => true - */ - function isEqualWith(value, other, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - var result = customizer ? customizer(value, other) : undefined; - return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result; - } - /** - * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`, - * `SyntaxError`, `TypeError`, or `URIError` object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an error object, else `false`. - * @example - * - * _.isError(new Error); - * // => true - * - * _.isError(Error); - * // => false - */ - function isError(value) { - if (!isObjectLike(value)) { - return false; - } - var tag = baseGetTag(value); - return tag == errorTag || tag == domExcTag || - (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value)); - } - /** - * Checks if `value` is a finite primitive number. - * - * **Note:** This method is based on - * [`Number.isFinite`](https://mdn.io/Number/isFinite). - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a finite number, else `false`. - * @example - * - * _.isFinite(3); - * // => true - * - * _.isFinite(Number.MIN_VALUE); - * // => true - * - * _.isFinite(Infinity); - * // => false - * - * _.isFinite('3'); - * // => false - */ - function isFinite(value) { - return typeof value == 'number' && nativeIsFinite(value); - } - /** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a function, else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ - function isFunction(value) { - if (!isObject(value)) { - return false; - } - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 9 which returns 'object' for typed arrays and other constructors. - var tag = baseGetTag(value); - return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag; - } +var _ModifyVpcEndpointServiceConfigurationCommand = class _ModifyVpcEndpointServiceConfigurationCommand 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("AmazonEC2", "ModifyVpcEndpointServiceConfiguration", {}).n("EC2Client", "ModifyVpcEndpointServiceConfigurationCommand").f(void 0, void 0).ser(se_ModifyVpcEndpointServiceConfigurationCommand).de(de_ModifyVpcEndpointServiceConfigurationCommand).build() { +}; +__name(_ModifyVpcEndpointServiceConfigurationCommand, "ModifyVpcEndpointServiceConfigurationCommand"); +var ModifyVpcEndpointServiceConfigurationCommand = _ModifyVpcEndpointServiceConfigurationCommand; - /** - * Checks if `value` is an integer. - * - * **Note:** This method is based on - * [`Number.isInteger`](https://mdn.io/Number/isInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an integer, else `false`. - * @example - * - * _.isInteger(3); - * // => true - * - * _.isInteger(Number.MIN_VALUE); - * // => false - * - * _.isInteger(Infinity); - * // => false - * - * _.isInteger('3'); - * // => false - */ - function isInteger(value) { - return typeof value == 'number' && value == toInteger(value); - } +// src/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.ts - /** - * Checks if `value` is a valid array-like length. - * - * **Note:** This method is loosely based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a valid length, else `false`. - * @example - * - * _.isLength(3); - * // => true - * - * _.isLength(Number.MIN_VALUE); - * // => false - * - * _.isLength(Infinity); - * // => false - * - * _.isLength('3'); - * // => false - */ - function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; - } - /** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ - function isObject(value) { - var type = typeof value; - return value != null && (type == 'object' || type == 'function'); - } - /** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ - function isObjectLike(value) { - return value != null && typeof value == 'object'; - } - /** - * Checks if `value` is classified as a `Map` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a map, else `false`. - * @example - * - * _.isMap(new Map); - * // => true - * - * _.isMap(new WeakMap); - * // => false - */ - var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap; +var _ModifyVpcEndpointServicePayerResponsibilityCommand = class _ModifyVpcEndpointServicePayerResponsibilityCommand 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("AmazonEC2", "ModifyVpcEndpointServicePayerResponsibility", {}).n("EC2Client", "ModifyVpcEndpointServicePayerResponsibilityCommand").f(void 0, void 0).ser(se_ModifyVpcEndpointServicePayerResponsibilityCommand).de(de_ModifyVpcEndpointServicePayerResponsibilityCommand).build() { +}; +__name(_ModifyVpcEndpointServicePayerResponsibilityCommand, "ModifyVpcEndpointServicePayerResponsibilityCommand"); +var ModifyVpcEndpointServicePayerResponsibilityCommand = _ModifyVpcEndpointServicePayerResponsibilityCommand; + +// src/commands/ModifyVpcEndpointServicePermissionsCommand.ts + + + + +var _ModifyVpcEndpointServicePermissionsCommand = class _ModifyVpcEndpointServicePermissionsCommand 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("AmazonEC2", "ModifyVpcEndpointServicePermissions", {}).n("EC2Client", "ModifyVpcEndpointServicePermissionsCommand").f(void 0, void 0).ser(se_ModifyVpcEndpointServicePermissionsCommand).de(de_ModifyVpcEndpointServicePermissionsCommand).build() { +}; +__name(_ModifyVpcEndpointServicePermissionsCommand, "ModifyVpcEndpointServicePermissionsCommand"); +var ModifyVpcEndpointServicePermissionsCommand = _ModifyVpcEndpointServicePermissionsCommand; + +// src/commands/ModifyVpcPeeringConnectionOptionsCommand.ts + - /** - * Performs a partial deep comparison between `object` and `source` to - * determine if `object` contains equivalent property values. - * - * **Note:** This method is equivalent to `_.matches` when `source` is - * partially applied. - * - * Partial comparisons will match empty array and empty object `source` - * values against any array or object value, respectively. See `_.isEqual` - * for a list of supported value comparisons. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * var object = { 'a': 1, 'b': 2 }; - * - * _.isMatch(object, { 'b': 2 }); - * // => true - * - * _.isMatch(object, { 'b': 1 }); - * // => false - */ - function isMatch(object, source) { - return object === source || baseIsMatch(object, source, getMatchData(source)); - } - /** - * This method is like `_.isMatch` except that it accepts `customizer` which - * is invoked to compare values. If `customizer` returns `undefined`, comparisons - * are handled by the method instead. The `customizer` is invoked with five - * arguments: (objValue, srcValue, index|key, object, source). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {Object} object The object to inspect. - * @param {Object} source The object of property values to match. - * @param {Function} [customizer] The function to customize comparisons. - * @returns {boolean} Returns `true` if `object` is a match, else `false`. - * @example - * - * function isGreeting(value) { - * return /^h(?:i|ello)$/.test(value); - * } - * - * function customizer(objValue, srcValue) { - * if (isGreeting(objValue) && isGreeting(srcValue)) { - * return true; - * } - * } - * - * var object = { 'greeting': 'hello' }; - * var source = { 'greeting': 'hi' }; - * - * _.isMatchWith(object, source, customizer); - * // => true - */ - function isMatchWith(object, source, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return baseIsMatch(object, source, getMatchData(source), customizer); - } - /** - * Checks if `value` is `NaN`. - * - * **Note:** This method is based on - * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as - * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for - * `undefined` and other non-number values. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`. - * @example - * - * _.isNaN(NaN); - * // => true - * - * _.isNaN(new Number(NaN)); - * // => true - * - * isNaN(undefined); - * // => true - * - * _.isNaN(undefined); - * // => false - */ - function isNaN(value) { - // An `NaN` primitive is the only value that is not equal to itself. - // Perform the `toStringTag` check first to avoid errors with some - // ActiveX objects in IE. - return isNumber(value) && value != +value; - } +var _ModifyVpcPeeringConnectionOptionsCommand = class _ModifyVpcPeeringConnectionOptionsCommand 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("AmazonEC2", "ModifyVpcPeeringConnectionOptions", {}).n("EC2Client", "ModifyVpcPeeringConnectionOptionsCommand").f(void 0, void 0).ser(se_ModifyVpcPeeringConnectionOptionsCommand).de(de_ModifyVpcPeeringConnectionOptionsCommand).build() { +}; +__name(_ModifyVpcPeeringConnectionOptionsCommand, "ModifyVpcPeeringConnectionOptionsCommand"); +var ModifyVpcPeeringConnectionOptionsCommand = _ModifyVpcPeeringConnectionOptionsCommand; - /** - * Checks if `value` is a pristine native function. - * - * **Note:** This method can't reliably detect native functions in the presence - * of the core-js package because core-js circumvents this kind of detection. - * Despite multiple requests, the core-js maintainer has made it clear: any - * attempt to fix the detection will be obstructed. As a result, we're left - * with little choice but to throw an error. Unfortunately, this also affects - * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill), - * which rely on core-js. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a native function, - * else `false`. - * @example - * - * _.isNative(Array.prototype.push); - * // => true - * - * _.isNative(_); - * // => false - */ - function isNative(value) { - if (isMaskable(value)) { - throw new Error(CORE_ERROR_TEXT); - } - return baseIsNative(value); - } +// src/commands/ModifyVpcTenancyCommand.ts - /** - * Checks if `value` is `null`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `null`, else `false`. - * @example - * - * _.isNull(null); - * // => true - * - * _.isNull(void 0); - * // => false - */ - function isNull(value) { - return value === null; - } - /** - * Checks if `value` is `null` or `undefined`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is nullish, else `false`. - * @example - * - * _.isNil(null); - * // => true - * - * _.isNil(void 0); - * // => true - * - * _.isNil(NaN); - * // => false - */ - function isNil(value) { - return value == null; - } - /** - * Checks if `value` is classified as a `Number` primitive or object. - * - * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are - * classified as numbers, use the `_.isFinite` method. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a number, else `false`. - * @example - * - * _.isNumber(3); - * // => true - * - * _.isNumber(Number.MIN_VALUE); - * // => true - * - * _.isNumber(Infinity); - * // => true - * - * _.isNumber('3'); - * // => false - */ - function isNumber(value) { - return typeof value == 'number' || - (isObjectLike(value) && baseGetTag(value) == numberTag); - } - /** - * Checks if `value` is a plain object, that is, an object created by the - * `Object` constructor or one with a `[[Prototype]]` of `null`. - * - * @static - * @memberOf _ - * @since 0.8.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a plain object, else `false`. - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * _.isPlainObject(new Foo); - * // => false - * - * _.isPlainObject([1, 2, 3]); - * // => false - * - * _.isPlainObject({ 'x': 0, 'y': 0 }); - * // => true - * - * _.isPlainObject(Object.create(null)); - * // => true - */ - function isPlainObject(value) { - if (!isObjectLike(value) || baseGetTag(value) != objectTag) { - return false; - } - var proto = getPrototype(value); - if (proto === null) { - return true; - } - var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor; - return typeof Ctor == 'function' && Ctor instanceof Ctor && - funcToString.call(Ctor) == objectCtorString; - } +var _ModifyVpcTenancyCommand = class _ModifyVpcTenancyCommand 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("AmazonEC2", "ModifyVpcTenancy", {}).n("EC2Client", "ModifyVpcTenancyCommand").f(void 0, void 0).ser(se_ModifyVpcTenancyCommand).de(de_ModifyVpcTenancyCommand).build() { +}; +__name(_ModifyVpcTenancyCommand, "ModifyVpcTenancyCommand"); +var ModifyVpcTenancyCommand = _ModifyVpcTenancyCommand; - /** - * Checks if `value` is classified as a `RegExp` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a regexp, else `false`. - * @example - * - * _.isRegExp(/abc/); - * // => true - * - * _.isRegExp('/abc/'); - * // => false - */ - var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp; +// src/commands/ModifyVpnConnectionCommand.ts - /** - * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754 - * double precision number which isn't the result of a rounded unsafe integer. - * - * **Note:** This method is based on - * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`. - * @example - * - * _.isSafeInteger(3); - * // => true - * - * _.isSafeInteger(Number.MIN_VALUE); - * // => false - * - * _.isSafeInteger(Infinity); - * // => false - * - * _.isSafeInteger('3'); - * // => false - */ - function isSafeInteger(value) { - return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER; - } - /** - * Checks if `value` is classified as a `Set` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a set, else `false`. - * @example - * - * _.isSet(new Set); - * // => true - * - * _.isSet(new WeakSet); - * // => false - */ - var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet; - /** - * Checks if `value` is classified as a `String` primitive or object. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a string, else `false`. - * @example - * - * _.isString('abc'); - * // => true - * - * _.isString(1); - * // => false - */ - function isString(value) { - return typeof value == 'string' || - (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag); - } - /** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a symbol, else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ - function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && baseGetTag(value) == symbolTag); - } +var _ModifyVpnConnectionCommand = class _ModifyVpnConnectionCommand 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("AmazonEC2", "ModifyVpnConnection", {}).n("EC2Client", "ModifyVpnConnectionCommand").f(void 0, ModifyVpnConnectionResultFilterSensitiveLog).ser(se_ModifyVpnConnectionCommand).de(de_ModifyVpnConnectionCommand).build() { +}; +__name(_ModifyVpnConnectionCommand, "ModifyVpnConnectionCommand"); +var ModifyVpnConnectionCommand = _ModifyVpnConnectionCommand; - /** - * Checks if `value` is classified as a typed array. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a typed array, else `false`. - * @example - * - * _.isTypedArray(new Uint8Array); - * // => true - * - * _.isTypedArray([]); - * // => false - */ - var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray; +// src/commands/ModifyVpnConnectionOptionsCommand.ts - /** - * Checks if `value` is `undefined`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`. - * @example - * - * _.isUndefined(void 0); - * // => true - * - * _.isUndefined(null); - * // => false - */ - function isUndefined(value) { - return value === undefined; - } - /** - * Checks if `value` is classified as a `WeakMap` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak map, else `false`. - * @example - * - * _.isWeakMap(new WeakMap); - * // => true - * - * _.isWeakMap(new Map); - * // => false - */ - function isWeakMap(value) { - return isObjectLike(value) && getTag(value) == weakMapTag; - } - /** - * Checks if `value` is classified as a `WeakSet` object. - * - * @static - * @memberOf _ - * @since 4.3.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is a weak set, else `false`. - * @example - * - * _.isWeakSet(new WeakSet); - * // => true - * - * _.isWeakSet(new Set); - * // => false - */ - function isWeakSet(value) { - return isObjectLike(value) && baseGetTag(value) == weakSetTag; - } - /** - * Checks if `value` is less than `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than `other`, - * else `false`. - * @see _.gt - * @example - * - * _.lt(1, 3); - * // => true - * - * _.lt(3, 3); - * // => false - * - * _.lt(3, 1); - * // => false - */ - var lt = createRelationalOperation(baseLt); +var _ModifyVpnConnectionOptionsCommand = class _ModifyVpnConnectionOptionsCommand 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("AmazonEC2", "ModifyVpnConnectionOptions", {}).n("EC2Client", "ModifyVpnConnectionOptionsCommand").f(void 0, ModifyVpnConnectionOptionsResultFilterSensitiveLog).ser(se_ModifyVpnConnectionOptionsCommand).de(de_ModifyVpnConnectionOptionsCommand).build() { +}; +__name(_ModifyVpnConnectionOptionsCommand, "ModifyVpnConnectionOptionsCommand"); +var ModifyVpnConnectionOptionsCommand = _ModifyVpnConnectionOptionsCommand; - /** - * Checks if `value` is less than or equal to `other`. - * - * @static - * @memberOf _ - * @since 3.9.0 - * @category Lang - * @param {*} value The value to compare. - * @param {*} other The other value to compare. - * @returns {boolean} Returns `true` if `value` is less than or equal to - * `other`, else `false`. - * @see _.gte - * @example - * - * _.lte(1, 3); - * // => true - * - * _.lte(3, 3); - * // => true - * - * _.lte(3, 1); - * // => false - */ - var lte = createRelationalOperation(function(value, other) { - return value <= other; - }); +// src/commands/ModifyVpnTunnelCertificateCommand.ts - /** - * Converts `value` to an array. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Lang - * @param {*} value The value to convert. - * @returns {Array} Returns the converted array. - * @example - * - * _.toArray({ 'a': 1, 'b': 2 }); - * // => [1, 2] - * - * _.toArray('abc'); - * // => ['a', 'b', 'c'] - * - * _.toArray(1); - * // => [] - * - * _.toArray(null); - * // => [] - */ - function toArray(value) { - if (!value) { - return []; - } - if (isArrayLike(value)) { - return isString(value) ? stringToArray(value) : copyArray(value); - } - if (symIterator && value[symIterator]) { - return iteratorToArray(value[symIterator]()); - } - var tag = getTag(value), - func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values); - return func(value); - } - /** - * Converts `value` to a finite number. - * - * @static - * @memberOf _ - * @since 4.12.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted number. - * @example - * - * _.toFinite(3.2); - * // => 3.2 - * - * _.toFinite(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toFinite(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toFinite('3.2'); - * // => 3.2 - */ - function toFinite(value) { - if (!value) { - return value === 0 ? value : 0; - } - value = toNumber(value); - if (value === INFINITY || value === -INFINITY) { - var sign = (value < 0 ? -1 : 1); - return sign * MAX_INTEGER; - } - return value === value ? value : 0; - } - /** - * Converts `value` to an integer. - * - * **Note:** This method is loosely based on - * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toInteger(3.2); - * // => 3 - * - * _.toInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toInteger(Infinity); - * // => 1.7976931348623157e+308 - * - * _.toInteger('3.2'); - * // => 3 - */ - function toInteger(value) { - var result = toFinite(value), - remainder = result % 1; +var _ModifyVpnTunnelCertificateCommand = class _ModifyVpnTunnelCertificateCommand 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("AmazonEC2", "ModifyVpnTunnelCertificate", {}).n("EC2Client", "ModifyVpnTunnelCertificateCommand").f(void 0, ModifyVpnTunnelCertificateResultFilterSensitiveLog).ser(se_ModifyVpnTunnelCertificateCommand).de(de_ModifyVpnTunnelCertificateCommand).build() { +}; +__name(_ModifyVpnTunnelCertificateCommand, "ModifyVpnTunnelCertificateCommand"); +var ModifyVpnTunnelCertificateCommand = _ModifyVpnTunnelCertificateCommand; - return result === result ? (remainder ? result - remainder : result) : 0; - } +// src/commands/ModifyVpnTunnelOptionsCommand.ts - /** - * Converts `value` to an integer suitable for use as the length of an - * array-like object. - * - * **Note:** This method is based on - * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toLength(3.2); - * // => 3 - * - * _.toLength(Number.MIN_VALUE); - * // => 0 - * - * _.toLength(Infinity); - * // => 4294967295 - * - * _.toLength('3.2'); - * // => 3 - */ - function toLength(value) { - return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0; - } - /** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ - function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = baseTrim(value); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); - } - /** - * Converts `value` to a plain object flattening inherited enumerable string - * keyed properties of `value` to own properties of the plain object. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {Object} Returns the converted plain object. - * @example - * - * function Foo() { - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.assign({ 'a': 1 }, new Foo); - * // => { 'a': 1, 'b': 2 } - * - * _.assign({ 'a': 1 }, _.toPlainObject(new Foo)); - * // => { 'a': 1, 'b': 2, 'c': 3 } - */ - function toPlainObject(value) { - return copyObject(value, keysIn(value)); - } - /** - * Converts `value` to a safe integer. A safe integer can be compared and - * represented correctly. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {number} Returns the converted integer. - * @example - * - * _.toSafeInteger(3.2); - * // => 3 - * - * _.toSafeInteger(Number.MIN_VALUE); - * // => 0 - * - * _.toSafeInteger(Infinity); - * // => 9007199254740991 - * - * _.toSafeInteger('3.2'); - * // => 3 - */ - function toSafeInteger(value) { - return value - ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER) - : (value === 0 ? value : 0); - } +var _ModifyVpnTunnelOptionsCommand = class _ModifyVpnTunnelOptionsCommand 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("AmazonEC2", "ModifyVpnTunnelOptions", {}).n("EC2Client", "ModifyVpnTunnelOptionsCommand").f(ModifyVpnTunnelOptionsRequestFilterSensitiveLog, ModifyVpnTunnelOptionsResultFilterSensitiveLog).ser(se_ModifyVpnTunnelOptionsCommand).de(de_ModifyVpnTunnelOptionsCommand).build() { +}; +__name(_ModifyVpnTunnelOptionsCommand, "ModifyVpnTunnelOptionsCommand"); +var ModifyVpnTunnelOptionsCommand = _ModifyVpnTunnelOptionsCommand; - /** - * Converts `value` to a string. An empty string is returned for `null` - * and `undefined` values. The sign of `-0` is preserved. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.toString(null); - * // => '' - * - * _.toString(-0); - * // => '-0' - * - * _.toString([1, 2, 3]); - * // => '1,2,3' - */ - function toString(value) { - return value == null ? '' : baseToString(value); - } +// src/commands/MonitorInstancesCommand.ts - /*------------------------------------------------------------------------*/ - /** - * Assigns own enumerable string keyed properties of source objects to the - * destination object. Source objects are applied from left to right. - * Subsequent sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object` and is loosely based on - * [`Object.assign`](https://mdn.io/Object/assign). - * - * @static - * @memberOf _ - * @since 0.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assignIn - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assign({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'c': 3 } - */ - var assign = createAssigner(function(object, source) { - if (isPrototype(source) || isArrayLike(source)) { - copyObject(source, keys(source), object); - return; - } - for (var key in source) { - if (hasOwnProperty.call(source, key)) { - assignValue(object, key, source[key]); - } - } - }); - /** - * This method is like `_.assign` except that it iterates over own and - * inherited source properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extend - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.assign - * @example - * - * function Foo() { - * this.a = 1; - * } - * - * function Bar() { - * this.c = 3; - * } - * - * Foo.prototype.b = 2; - * Bar.prototype.d = 4; - * - * _.assignIn({ 'a': 0 }, new Foo, new Bar); - * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 } - */ - var assignIn = createAssigner(function(object, source) { - copyObject(source, keysIn(source), object); - }); - /** - * This method is like `_.assignIn` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias extendWith - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignInWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var assignInWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keysIn(source), object, customizer); - }); +var _MonitorInstancesCommand = class _MonitorInstancesCommand 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("AmazonEC2", "MonitorInstances", {}).n("EC2Client", "MonitorInstancesCommand").f(void 0, void 0).ser(se_MonitorInstancesCommand).de(de_MonitorInstancesCommand).build() { +}; +__name(_MonitorInstancesCommand, "MonitorInstancesCommand"); +var MonitorInstancesCommand = _MonitorInstancesCommand; - /** - * This method is like `_.assign` except that it accepts `customizer` - * which is invoked to produce the assigned values. If `customizer` returns - * `undefined`, assignment is handled by the method instead. The `customizer` - * is invoked with five arguments: (objValue, srcValue, key, object, source). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @see _.assignInWith - * @example - * - * function customizer(objValue, srcValue) { - * return _.isUndefined(objValue) ? srcValue : objValue; - * } - * - * var defaults = _.partialRight(_.assignWith, customizer); - * - * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var assignWith = createAssigner(function(object, source, srcIndex, customizer) { - copyObject(source, keys(source), object, customizer); - }); +// src/commands/MoveAddressToVpcCommand.ts - /** - * Creates an array of values corresponding to `paths` of `object`. - * - * @static - * @memberOf _ - * @since 1.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Array} Returns the picked values. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] }; - * - * _.at(object, ['a[0].b.c', 'a[1]']); - * // => [3, 4] - */ - var at = flatRest(baseAt); - /** - * Creates an object that inherits from the `prototype` object. If a - * `properties` object is given, its own enumerable string keyed properties - * are assigned to the created object. - * - * @static - * @memberOf _ - * @since 2.3.0 - * @category Object - * @param {Object} prototype The object to inherit from. - * @param {Object} [properties] The properties to assign to the object. - * @returns {Object} Returns the new object. - * @example - * - * function Shape() { - * this.x = 0; - * this.y = 0; - * } - * - * function Circle() { - * Shape.call(this); - * } - * - * Circle.prototype = _.create(Shape.prototype, { - * 'constructor': Circle - * }); - * - * var circle = new Circle; - * circle instanceof Circle; - * // => true - * - * circle instanceof Shape; - * // => true - */ - function create(prototype, properties) { - var result = baseCreate(prototype); - return properties == null ? result : baseAssign(result, properties); - } - /** - * Assigns own and inherited enumerable string keyed properties of source - * objects to the destination object for all destination properties that - * resolve to `undefined`. Source objects are applied from left to right. - * Once a property is set, additional values of the same property are ignored. - * - * **Note:** This method mutates `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaultsDeep - * @example - * - * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 }); - * // => { 'a': 1, 'b': 2 } - */ - var defaults = baseRest(function(object, sources) { - object = Object(object); - var index = -1; - var length = sources.length; - var guard = length > 2 ? sources[2] : undefined; +var _MoveAddressToVpcCommand = class _MoveAddressToVpcCommand 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("AmazonEC2", "MoveAddressToVpc", {}).n("EC2Client", "MoveAddressToVpcCommand").f(void 0, void 0).ser(se_MoveAddressToVpcCommand).de(de_MoveAddressToVpcCommand).build() { +}; +__name(_MoveAddressToVpcCommand, "MoveAddressToVpcCommand"); +var MoveAddressToVpcCommand = _MoveAddressToVpcCommand; - if (guard && isIterateeCall(sources[0], sources[1], guard)) { - length = 1; - } +// src/commands/MoveByoipCidrToIpamCommand.ts - while (++index < length) { - var source = sources[index]; - var props = keysIn(source); - var propsIndex = -1; - var propsLength = props.length; - while (++propsIndex < propsLength) { - var key = props[propsIndex]; - var value = object[key]; - if (value === undefined || - (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) { - object[key] = source[key]; - } - } - } - return object; - }); +var _MoveByoipCidrToIpamCommand = class _MoveByoipCidrToIpamCommand 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("AmazonEC2", "MoveByoipCidrToIpam", {}).n("EC2Client", "MoveByoipCidrToIpamCommand").f(void 0, void 0).ser(se_MoveByoipCidrToIpamCommand).de(de_MoveByoipCidrToIpamCommand).build() { +}; +__name(_MoveByoipCidrToIpamCommand, "MoveByoipCidrToIpamCommand"); +var MoveByoipCidrToIpamCommand = _MoveByoipCidrToIpamCommand; - /** - * This method is like `_.defaults` except that it recursively assigns - * default properties. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 3.10.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @see _.defaults - * @example - * - * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } }); - * // => { 'a': { 'b': 2, 'c': 3 } } - */ - var defaultsDeep = baseRest(function(args) { - args.push(undefined, customDefaultsMerge); - return apply(mergeWith, undefined, args); - }); +// src/commands/ProvisionByoipCidrCommand.ts - /** - * This method is like `_.find` except that it returns the key of the first - * element `predicate` returns truthy for instead of the element itself. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findKey(users, function(o) { return o.age < 40; }); - * // => 'barney' (iteration order is not guaranteed) - * - * // The `_.matches` iteratee shorthand. - * _.findKey(users, { 'age': 1, 'active': true }); - * // => 'pebbles' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findKey(users, 'active'); - * // => 'barney' - */ - function findKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwn); - } - /** - * This method is like `_.findKey` except that it iterates over elements of - * a collection in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @param {Function} [predicate=_.identity] The function invoked per iteration. - * @returns {string|undefined} Returns the key of the matched element, - * else `undefined`. - * @example - * - * var users = { - * 'barney': { 'age': 36, 'active': true }, - * 'fred': { 'age': 40, 'active': false }, - * 'pebbles': { 'age': 1, 'active': true } - * }; - * - * _.findLastKey(users, function(o) { return o.age < 40; }); - * // => returns 'pebbles' assuming `_.findKey` returns 'barney' - * - * // The `_.matches` iteratee shorthand. - * _.findLastKey(users, { 'age': 36, 'active': true }); - * // => 'barney' - * - * // The `_.matchesProperty` iteratee shorthand. - * _.findLastKey(users, ['active', false]); - * // => 'fred' - * - * // The `_.property` iteratee shorthand. - * _.findLastKey(users, 'active'); - * // => 'pebbles' - */ - function findLastKey(object, predicate) { - return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight); - } - /** - * Iterates over own and inherited enumerable string keyed properties of an - * object and invokes `iteratee` for each property. The iteratee is invoked - * with three arguments: (value, key, object). Iteratee functions may exit - * iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forInRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forIn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed). - */ - function forIn(object, iteratee) { - return object == null - ? object - : baseFor(object, getIteratee(iteratee, 3), keysIn); - } - /** - * This method is like `_.forIn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forIn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forInRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'. - */ - function forInRight(object, iteratee) { - return object == null - ? object - : baseForRight(object, getIteratee(iteratee, 3), keysIn); - } +var _ProvisionByoipCidrCommand = class _ProvisionByoipCidrCommand 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("AmazonEC2", "ProvisionByoipCidr", {}).n("EC2Client", "ProvisionByoipCidrCommand").f(void 0, void 0).ser(se_ProvisionByoipCidrCommand).de(de_ProvisionByoipCidrCommand).build() { +}; +__name(_ProvisionByoipCidrCommand, "ProvisionByoipCidrCommand"); +var ProvisionByoipCidrCommand = _ProvisionByoipCidrCommand; - /** - * Iterates over own enumerable string keyed properties of an object and - * invokes `iteratee` for each property. The iteratee is invoked with three - * arguments: (value, key, object). Iteratee functions may exit iteration - * early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 0.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwnRight - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwn(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'a' then 'b' (iteration order is not guaranteed). - */ - function forOwn(object, iteratee) { - return object && baseForOwn(object, getIteratee(iteratee, 3)); - } +// src/commands/ProvisionIpamByoasnCommand.ts - /** - * This method is like `_.forOwn` except that it iterates over properties of - * `object` in the opposite order. - * - * @static - * @memberOf _ - * @since 2.0.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns `object`. - * @see _.forOwn - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.forOwnRight(new Foo, function(value, key) { - * console.log(key); - * }); - * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'. - */ - function forOwnRight(object, iteratee) { - return object && baseForOwnRight(object, getIteratee(iteratee, 3)); - } - /** - * Creates an array of function property names from own enumerable properties - * of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functionsIn - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functions(new Foo); - * // => ['a', 'b'] - */ - function functions(object) { - return object == null ? [] : baseFunctions(object, keys(object)); - } - /** - * Creates an array of function property names from own and inherited - * enumerable properties of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to inspect. - * @returns {Array} Returns the function names. - * @see _.functions - * @example - * - * function Foo() { - * this.a = _.constant('a'); - * this.b = _.constant('b'); - * } - * - * Foo.prototype.c = _.constant('c'); - * - * _.functionsIn(new Foo); - * // => ['a', 'b', 'c'] - */ - function functionsIn(object) { - return object == null ? [] : baseFunctions(object, keysIn(object)); - } - /** - * Gets the value at `path` of `object`. If the resolved value is - * `undefined`, the `defaultValue` is returned in its place. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to get. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.get(object, 'a[0].b.c'); - * // => 3 - * - * _.get(object, ['a', '0', 'b', 'c']); - * // => 3 - * - * _.get(object, 'a.b.c', 'default'); - * // => 'default' - */ - function get(object, path, defaultValue) { - var result = object == null ? undefined : baseGet(object, path); - return result === undefined ? defaultValue : result; - } +var _ProvisionIpamByoasnCommand = class _ProvisionIpamByoasnCommand 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("AmazonEC2", "ProvisionIpamByoasn", {}).n("EC2Client", "ProvisionIpamByoasnCommand").f(void 0, void 0).ser(se_ProvisionIpamByoasnCommand).de(de_ProvisionIpamByoasnCommand).build() { +}; +__name(_ProvisionIpamByoasnCommand, "ProvisionIpamByoasnCommand"); +var ProvisionIpamByoasnCommand = _ProvisionIpamByoasnCommand; - /** - * Checks if `path` is a direct property of `object`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = { 'a': { 'b': 2 } }; - * var other = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.has(object, 'a'); - * // => true - * - * _.has(object, 'a.b'); - * // => true - * - * _.has(object, ['a', 'b']); - * // => true - * - * _.has(other, 'a'); - * // => false - */ - function has(object, path) { - return object != null && hasPath(object, path, baseHas); - } +// src/commands/ProvisionIpamPoolCidrCommand.ts - /** - * Checks if `path` is a direct or inherited property of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path to check. - * @returns {boolean} Returns `true` if `path` exists, else `false`. - * @example - * - * var object = _.create({ 'a': _.create({ 'b': 2 }) }); - * - * _.hasIn(object, 'a'); - * // => true - * - * _.hasIn(object, 'a.b'); - * // => true - * - * _.hasIn(object, ['a', 'b']); - * // => true - * - * _.hasIn(object, 'b'); - * // => false - */ - function hasIn(object, path) { - return object != null && hasPath(object, path, baseHasIn); - } - /** - * Creates an object composed of the inverted keys and values of `object`. - * If `object` contains duplicate values, subsequent values overwrite - * property assignments of previous values. - * - * @static - * @memberOf _ - * @since 0.7.0 - * @category Object - * @param {Object} object The object to invert. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invert(object); - * // => { '1': 'c', '2': 'b' } - */ - var invert = createInverter(function(result, value, key) { - if (value != null && - typeof value.toString != 'function') { - value = nativeObjectToString.call(value); - } - result[value] = key; - }, constant(identity)); - /** - * This method is like `_.invert` except that the inverted object is generated - * from the results of running each element of `object` thru `iteratee`. The - * corresponding inverted value of each inverted key is an array of keys - * responsible for generating the inverted value. The iteratee is invoked - * with one argument: (value). - * - * @static - * @memberOf _ - * @since 4.1.0 - * @category Object - * @param {Object} object The object to invert. - * @param {Function} [iteratee=_.identity] The iteratee invoked per element. - * @returns {Object} Returns the new inverted object. - * @example - * - * var object = { 'a': 1, 'b': 2, 'c': 1 }; - * - * _.invertBy(object); - * // => { '1': ['a', 'c'], '2': ['b'] } - * - * _.invertBy(object, function(value) { - * return 'group' + value; - * }); - * // => { 'group1': ['a', 'c'], 'group2': ['b'] } - */ - var invertBy = createInverter(function(result, value, key) { - if (value != null && - typeof value.toString != 'function') { - value = nativeObjectToString.call(value); - } +var _ProvisionIpamPoolCidrCommand = class _ProvisionIpamPoolCidrCommand 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("AmazonEC2", "ProvisionIpamPoolCidr", {}).n("EC2Client", "ProvisionIpamPoolCidrCommand").f(void 0, void 0).ser(se_ProvisionIpamPoolCidrCommand).de(de_ProvisionIpamPoolCidrCommand).build() { +}; +__name(_ProvisionIpamPoolCidrCommand, "ProvisionIpamPoolCidrCommand"); +var ProvisionIpamPoolCidrCommand = _ProvisionIpamPoolCidrCommand; - if (hasOwnProperty.call(result, value)) { - result[value].push(key); - } else { - result[value] = [key]; - } - }, getIteratee); +// src/commands/ProvisionPublicIpv4PoolCidrCommand.ts - /** - * Invokes the method at `path` of `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the method to invoke. - * @param {...*} [args] The arguments to invoke the method with. - * @returns {*} Returns the result of the invoked method. - * @example - * - * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] }; - * - * _.invoke(object, 'a[0].b.c.slice', 1, 3); - * // => [2, 3] - */ - var invoke = baseRest(baseInvoke); - /** - * Creates an array of the own enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. See the - * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys) - * for more details. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keys(new Foo); - * // => ['a', 'b'] (iteration order is not guaranteed) - * - * _.keys('hi'); - * // => ['0', '1'] - */ - function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); - } - /** - * Creates an array of the own and inherited enumerable property names of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property names. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.keysIn(new Foo); - * // => ['a', 'b', 'c'] (iteration order is not guaranteed) - */ - function keysIn(object) { - return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object); - } - /** - * The opposite of `_.mapValues`; this method creates an object with the - * same values as `object` and keys generated by running each own enumerable - * string keyed property of `object` thru `iteratee`. The iteratee is invoked - * with three arguments: (value, key, object). - * - * @static - * @memberOf _ - * @since 3.8.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns the new mapped object. - * @see _.mapValues - * @example - * - * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) { - * return key + value; - * }); - * // => { 'a1': 1, 'b2': 2 } - */ - function mapKeys(object, iteratee) { - var result = {}; - iteratee = getIteratee(iteratee, 3); +var _ProvisionPublicIpv4PoolCidrCommand = class _ProvisionPublicIpv4PoolCidrCommand 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("AmazonEC2", "ProvisionPublicIpv4PoolCidr", {}).n("EC2Client", "ProvisionPublicIpv4PoolCidrCommand").f(void 0, void 0).ser(se_ProvisionPublicIpv4PoolCidrCommand).de(de_ProvisionPublicIpv4PoolCidrCommand).build() { +}; +__name(_ProvisionPublicIpv4PoolCidrCommand, "ProvisionPublicIpv4PoolCidrCommand"); +var ProvisionPublicIpv4PoolCidrCommand = _ProvisionPublicIpv4PoolCidrCommand; - baseForOwn(object, function(value, key, object) { - baseAssignValue(result, iteratee(value, key, object), value); - }); - return result; - } +// src/commands/PurchaseCapacityBlockCommand.ts - /** - * Creates an object with the same keys as `object` and values generated - * by running each own enumerable string keyed property of `object` thru - * `iteratee`. The iteratee is invoked with three arguments: - * (value, key, object). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @returns {Object} Returns the new mapped object. - * @see _.mapKeys - * @example - * - * var users = { - * 'fred': { 'user': 'fred', 'age': 40 }, - * 'pebbles': { 'user': 'pebbles', 'age': 1 } - * }; - * - * _.mapValues(users, function(o) { return o.age; }); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - * - * // The `_.property` iteratee shorthand. - * _.mapValues(users, 'age'); - * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed) - */ - function mapValues(object, iteratee) { - var result = {}; - iteratee = getIteratee(iteratee, 3); - baseForOwn(object, function(value, key, object) { - baseAssignValue(result, key, iteratee(value, key, object)); - }); - return result; - } - /** - * This method is like `_.assign` except that it recursively merges own and - * inherited enumerable string keyed properties of source objects into the - * destination object. Source properties that resolve to `undefined` are - * skipped if a destination value exists. Array and plain object properties - * are merged recursively. Other objects and value types are overridden by - * assignment. Source objects are applied from left to right. Subsequent - * sources overwrite property assignments of previous sources. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 0.5.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} [sources] The source objects. - * @returns {Object} Returns `object`. - * @example - * - * var object = { - * 'a': [{ 'b': 2 }, { 'd': 4 }] - * }; - * - * var other = { - * 'a': [{ 'c': 3 }, { 'e': 5 }] - * }; - * - * _.merge(object, other); - * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] } - */ - var merge = createAssigner(function(object, source, srcIndex) { - baseMerge(object, source, srcIndex); - }); - /** - * This method is like `_.merge` except that it accepts `customizer` which - * is invoked to produce the merged values of the destination and source - * properties. If `customizer` returns `undefined`, merging is handled by the - * method instead. The `customizer` is invoked with six arguments: - * (objValue, srcValue, key, object, source, stack). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The destination object. - * @param {...Object} sources The source objects. - * @param {Function} customizer The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * function customizer(objValue, srcValue) { - * if (_.isArray(objValue)) { - * return objValue.concat(srcValue); - * } - * } - * - * var object = { 'a': [1], 'b': [2] }; - * var other = { 'a': [3], 'b': [4] }; - * - * _.mergeWith(object, other, customizer); - * // => { 'a': [1, 3], 'b': [2, 4] } - */ - var mergeWith = createAssigner(function(object, source, srcIndex, customizer) { - baseMerge(object, source, srcIndex, customizer); - }); +var _PurchaseCapacityBlockCommand = class _PurchaseCapacityBlockCommand 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("AmazonEC2", "PurchaseCapacityBlock", {}).n("EC2Client", "PurchaseCapacityBlockCommand").f(void 0, void 0).ser(se_PurchaseCapacityBlockCommand).de(de_PurchaseCapacityBlockCommand).build() { +}; +__name(_PurchaseCapacityBlockCommand, "PurchaseCapacityBlockCommand"); +var PurchaseCapacityBlockCommand = _PurchaseCapacityBlockCommand; - /** - * The opposite of `_.pick`; this method creates an object composed of the - * own and inherited enumerable property paths of `object` that are not omitted. - * - * **Note:** This method is considerably slower than `_.pick`. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [paths] The property paths to omit. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omit(object, ['a', 'c']); - * // => { 'b': '2' } - */ - var omit = flatRest(function(object, paths) { - var result = {}; - if (object == null) { - return result; - } - var isDeep = false; - paths = arrayMap(paths, function(path) { - path = castPath(path, object); - isDeep || (isDeep = path.length > 1); - return path; - }); - copyObject(object, getAllKeysIn(object), result); - if (isDeep) { - result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone); - } - var length = paths.length; - while (length--) { - baseUnset(result, paths[length]); - } - return result; - }); +// src/commands/PurchaseHostReservationCommand.ts - /** - * The opposite of `_.pickBy`; this method creates an object composed of - * the own and inherited enumerable string keyed properties of `object` that - * `predicate` doesn't return truthy for. The predicate is invoked with two - * arguments: (value, key). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The source object. - * @param {Function} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.omitBy(object, _.isNumber); - * // => { 'b': '2' } - */ - function omitBy(object, predicate) { - return pickBy(object, negate(getIteratee(predicate))); - } - /** - * Creates an object composed of the picked `object` properties. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The source object. - * @param {...(string|string[])} [paths] The property paths to pick. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pick(object, ['a', 'c']); - * // => { 'a': 1, 'c': 3 } - */ - var pick = flatRest(function(object, paths) { - return object == null ? {} : basePick(object, paths); - }); - /** - * Creates an object composed of the `object` properties `predicate` returns - * truthy for. The predicate is invoked with two arguments: (value, key). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The source object. - * @param {Function} [predicate=_.identity] The function invoked per property. - * @returns {Object} Returns the new object. - * @example - * - * var object = { 'a': 1, 'b': '2', 'c': 3 }; - * - * _.pickBy(object, _.isNumber); - * // => { 'a': 1, 'c': 3 } - */ - function pickBy(object, predicate) { - if (object == null) { - return {}; - } - var props = arrayMap(getAllKeysIn(object), function(prop) { - return [prop]; - }); - predicate = getIteratee(predicate); - return basePickBy(object, props, function(value, path) { - return predicate(value, path[0]); - }); - } - /** - * This method is like `_.get` except that if the resolved value is a - * function it's invoked with the `this` binding of its parent object and - * its result is returned. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @param {Array|string} path The path of the property to resolve. - * @param {*} [defaultValue] The value returned for `undefined` resolved values. - * @returns {*} Returns the resolved value. - * @example - * - * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] }; - * - * _.result(object, 'a[0].b.c1'); - * // => 3 - * - * _.result(object, 'a[0].b.c2'); - * // => 4 - * - * _.result(object, 'a[0].b.c3', 'default'); - * // => 'default' - * - * _.result(object, 'a[0].b.c3', _.constant('default')); - * // => 'default' - */ - function result(object, path, defaultValue) { - path = castPath(path, object); +var _PurchaseHostReservationCommand = class _PurchaseHostReservationCommand 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("AmazonEC2", "PurchaseHostReservation", {}).n("EC2Client", "PurchaseHostReservationCommand").f(void 0, void 0).ser(se_PurchaseHostReservationCommand).de(de_PurchaseHostReservationCommand).build() { +}; +__name(_PurchaseHostReservationCommand, "PurchaseHostReservationCommand"); +var PurchaseHostReservationCommand = _PurchaseHostReservationCommand; - var index = -1, - length = path.length; +// src/commands/PurchaseReservedInstancesOfferingCommand.ts - // Ensure the loop is entered when path is empty. - if (!length) { - length = 1; - object = undefined; - } - while (++index < length) { - var value = object == null ? undefined : object[toKey(path[index])]; - if (value === undefined) { - index = length; - value = defaultValue; - } - object = isFunction(value) ? value.call(object) : value; - } - return object; - } - /** - * Sets the value at `path` of `object`. If a portion of `path` doesn't exist, - * it's created. Arrays are created for missing index properties while objects - * are created for all other missing properties. Use `_.setWith` to customize - * `path` creation. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 3.7.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @returns {Object} Returns `object`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.set(object, 'a[0].b.c', 4); - * console.log(object.a[0].b.c); - * // => 4 - * - * _.set(object, ['x', '0', 'y', 'z'], 5); - * console.log(object.x[0].y.z); - * // => 5 - */ - function set(object, path, value) { - return object == null ? object : baseSet(object, path, value); - } - /** - * This method is like `_.set` except that it accepts `customizer` which is - * invoked to produce the objects of `path`. If `customizer` returns `undefined` - * path creation is handled by the method instead. The `customizer` is invoked - * with three arguments: (nsValue, key, nsObject). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {*} value The value to set. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * var object = {}; - * - * _.setWith(object, '[0][1]', 'a', Object); - * // => { '0': { '1': 'a' } } - */ - function setWith(object, path, value, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseSet(object, path, value, customizer); - } - /** - * Creates an array of own enumerable string keyed-value pairs for `object` - * which can be consumed by `_.fromPairs`. If `object` is a map or set, its - * entries are returned. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias entries - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.toPairs(new Foo); - * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed) - */ - var toPairs = createToPairs(keys); +var _PurchaseReservedInstancesOfferingCommand = class _PurchaseReservedInstancesOfferingCommand 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("AmazonEC2", "PurchaseReservedInstancesOffering", {}).n("EC2Client", "PurchaseReservedInstancesOfferingCommand").f(void 0, void 0).ser(se_PurchaseReservedInstancesOfferingCommand).de(de_PurchaseReservedInstancesOfferingCommand).build() { +}; +__name(_PurchaseReservedInstancesOfferingCommand, "PurchaseReservedInstancesOfferingCommand"); +var PurchaseReservedInstancesOfferingCommand = _PurchaseReservedInstancesOfferingCommand; - /** - * Creates an array of own and inherited enumerable string keyed-value pairs - * for `object` which can be consumed by `_.fromPairs`. If `object` is a map - * or set, its entries are returned. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @alias entriesIn - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the key-value pairs. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.toPairsIn(new Foo); - * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed) - */ - var toPairsIn = createToPairs(keysIn); +// src/commands/PurchaseScheduledInstancesCommand.ts - /** - * An alternative to `_.reduce`; this method transforms `object` to a new - * `accumulator` object which is the result of running each of its own - * enumerable string keyed properties thru `iteratee`, with each invocation - * potentially mutating the `accumulator` object. If `accumulator` is not - * provided, a new object with the same `[[Prototype]]` will be used. The - * iteratee is invoked with four arguments: (accumulator, value, key, object). - * Iteratee functions may exit iteration early by explicitly returning `false`. - * - * @static - * @memberOf _ - * @since 1.3.0 - * @category Object - * @param {Object} object The object to iterate over. - * @param {Function} [iteratee=_.identity] The function invoked per iteration. - * @param {*} [accumulator] The custom accumulator value. - * @returns {*} Returns the accumulated value. - * @example - * - * _.transform([2, 3, 4], function(result, n) { - * result.push(n *= n); - * return n % 2 == 0; - * }, []); - * // => [4, 9] - * - * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) { - * (result[value] || (result[value] = [])).push(key); - * }, {}); - * // => { '1': ['a', 'c'], '2': ['b'] } - */ - function transform(object, iteratee, accumulator) { - var isArr = isArray(object), - isArrLike = isArr || isBuffer(object) || isTypedArray(object); - iteratee = getIteratee(iteratee, 4); - if (accumulator == null) { - var Ctor = object && object.constructor; - if (isArrLike) { - accumulator = isArr ? new Ctor : []; - } - else if (isObject(object)) { - accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {}; - } - else { - accumulator = {}; - } - } - (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) { - return iteratee(accumulator, value, index, object); - }); - return accumulator; - } - /** - * Removes the property at `path` of `object`. - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to unset. - * @returns {boolean} Returns `true` if the property is deleted, else `false`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 7 } }] }; - * _.unset(object, 'a[0].b.c'); - * // => true - * - * console.log(object); - * // => { 'a': [{ 'b': {} }] }; - * - * _.unset(object, ['a', '0', 'b', 'c']); - * // => true - * - * console.log(object); - * // => { 'a': [{ 'b': {} }] }; - */ - function unset(object, path) { - return object == null ? true : baseUnset(object, path); - } - /** - * This method is like `_.set` except that accepts `updater` to produce the - * value to set. Use `_.updateWith` to customize `path` creation. The `updater` - * is invoked with one argument: (value). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {Function} updater The function to produce the updated value. - * @returns {Object} Returns `object`. - * @example - * - * var object = { 'a': [{ 'b': { 'c': 3 } }] }; - * - * _.update(object, 'a[0].b.c', function(n) { return n * n; }); - * console.log(object.a[0].b.c); - * // => 9 - * - * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; }); - * console.log(object.x[0].y.z); - * // => 0 - */ - function update(object, path, updater) { - return object == null ? object : baseUpdate(object, path, castFunction(updater)); - } +var _PurchaseScheduledInstancesCommand = class _PurchaseScheduledInstancesCommand 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("AmazonEC2", "PurchaseScheduledInstances", {}).n("EC2Client", "PurchaseScheduledInstancesCommand").f(void 0, void 0).ser(se_PurchaseScheduledInstancesCommand).de(de_PurchaseScheduledInstancesCommand).build() { +}; +__name(_PurchaseScheduledInstancesCommand, "PurchaseScheduledInstancesCommand"); +var PurchaseScheduledInstancesCommand = _PurchaseScheduledInstancesCommand; + +// src/commands/RebootInstancesCommand.ts + + + + +var _RebootInstancesCommand = class _RebootInstancesCommand 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("AmazonEC2", "RebootInstances", {}).n("EC2Client", "RebootInstancesCommand").f(void 0, void 0).ser(se_RebootInstancesCommand).de(de_RebootInstancesCommand).build() { +}; +__name(_RebootInstancesCommand, "RebootInstancesCommand"); +var RebootInstancesCommand = _RebootInstancesCommand; + +// src/commands/RegisterImageCommand.ts + + + + +var _RegisterImageCommand = class _RegisterImageCommand 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("AmazonEC2", "RegisterImage", {}).n("EC2Client", "RegisterImageCommand").f(void 0, void 0).ser(se_RegisterImageCommand).de(de_RegisterImageCommand).build() { +}; +__name(_RegisterImageCommand, "RegisterImageCommand"); +var RegisterImageCommand = _RegisterImageCommand; + +// src/commands/RegisterInstanceEventNotificationAttributesCommand.ts + - /** - * This method is like `_.update` except that it accepts `customizer` which is - * invoked to produce the objects of `path`. If `customizer` returns `undefined` - * path creation is handled by the method instead. The `customizer` is invoked - * with three arguments: (nsValue, key, nsObject). - * - * **Note:** This method mutates `object`. - * - * @static - * @memberOf _ - * @since 4.6.0 - * @category Object - * @param {Object} object The object to modify. - * @param {Array|string} path The path of the property to set. - * @param {Function} updater The function to produce the updated value. - * @param {Function} [customizer] The function to customize assigned values. - * @returns {Object} Returns `object`. - * @example - * - * var object = {}; - * - * _.updateWith(object, '[0][1]', _.constant('a'), Object); - * // => { '0': { '1': 'a' } } - */ - function updateWith(object, path, updater, customizer) { - customizer = typeof customizer == 'function' ? customizer : undefined; - return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer); - } - /** - * Creates an array of the own enumerable string keyed property values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.values(new Foo); - * // => [1, 2] (iteration order is not guaranteed) - * - * _.values('hi'); - * // => ['h', 'i'] - */ - function values(object) { - return object == null ? [] : baseValues(object, keys(object)); - } - /** - * Creates an array of the own and inherited enumerable string keyed property - * values of `object`. - * - * **Note:** Non-object values are coerced to objects. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category Object - * @param {Object} object The object to query. - * @returns {Array} Returns the array of property values. - * @example - * - * function Foo() { - * this.a = 1; - * this.b = 2; - * } - * - * Foo.prototype.c = 3; - * - * _.valuesIn(new Foo); - * // => [1, 2, 3] (iteration order is not guaranteed) - */ - function valuesIn(object) { - return object == null ? [] : baseValues(object, keysIn(object)); - } +var _RegisterInstanceEventNotificationAttributesCommand = class _RegisterInstanceEventNotificationAttributesCommand 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("AmazonEC2", "RegisterInstanceEventNotificationAttributes", {}).n("EC2Client", "RegisterInstanceEventNotificationAttributesCommand").f(void 0, void 0).ser(se_RegisterInstanceEventNotificationAttributesCommand).de(de_RegisterInstanceEventNotificationAttributesCommand).build() { +}; +__name(_RegisterInstanceEventNotificationAttributesCommand, "RegisterInstanceEventNotificationAttributesCommand"); +var RegisterInstanceEventNotificationAttributesCommand = _RegisterInstanceEventNotificationAttributesCommand; - /*------------------------------------------------------------------------*/ +// src/commands/RegisterTransitGatewayMulticastGroupMembersCommand.ts - /** - * Clamps `number` within the inclusive `lower` and `upper` bounds. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Number - * @param {number} number The number to clamp. - * @param {number} [lower] The lower bound. - * @param {number} upper The upper bound. - * @returns {number} Returns the clamped number. - * @example - * - * _.clamp(-10, -5, 5); - * // => -5 - * - * _.clamp(10, -5, 5); - * // => 5 - */ - function clamp(number, lower, upper) { - if (upper === undefined) { - upper = lower; - lower = undefined; - } - if (upper !== undefined) { - upper = toNumber(upper); - upper = upper === upper ? upper : 0; - } - if (lower !== undefined) { - lower = toNumber(lower); - lower = lower === lower ? lower : 0; - } - return baseClamp(toNumber(number), lower, upper); - } - /** - * Checks if `n` is between `start` and up to, but not including, `end`. If - * `end` is not specified, it's set to `start` with `start` then set to `0`. - * If `start` is greater than `end` the params are swapped to support - * negative ranges. - * - * @static - * @memberOf _ - * @since 3.3.0 - * @category Number - * @param {number} number The number to check. - * @param {number} [start=0] The start of the range. - * @param {number} end The end of the range. - * @returns {boolean} Returns `true` if `number` is in the range, else `false`. - * @see _.range, _.rangeRight - * @example - * - * _.inRange(3, 2, 4); - * // => true - * - * _.inRange(4, 8); - * // => true - * - * _.inRange(4, 2); - * // => false - * - * _.inRange(2, 2); - * // => false - * - * _.inRange(1.2, 2); - * // => true - * - * _.inRange(5.2, 4); - * // => false - * - * _.inRange(-3, -2, -6); - * // => true - */ - function inRange(number, start, end) { - start = toFinite(start); - if (end === undefined) { - end = start; - start = 0; - } else { - end = toFinite(end); - } - number = toNumber(number); - return baseInRange(number, start, end); - } - /** - * Produces a random number between the inclusive `lower` and `upper` bounds. - * If only one argument is provided a number between `0` and the given number - * is returned. If `floating` is `true`, or either `lower` or `upper` are - * floats, a floating-point number is returned instead of an integer. - * - * **Note:** JavaScript follows the IEEE-754 standard for resolving - * floating-point values which can produce unexpected results. - * - * @static - * @memberOf _ - * @since 0.7.0 - * @category Number - * @param {number} [lower=0] The lower bound. - * @param {number} [upper=1] The upper bound. - * @param {boolean} [floating] Specify returning a floating-point number. - * @returns {number} Returns the random number. - * @example - * - * _.random(0, 5); - * // => an integer between 0 and 5 - * - * _.random(5); - * // => also an integer between 0 and 5 - * - * _.random(5, true); - * // => a floating-point number between 0 and 5 - * - * _.random(1.2, 5.2); - * // => a floating-point number between 1.2 and 5.2 - */ - function random(lower, upper, floating) { - if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) { - upper = floating = undefined; - } - if (floating === undefined) { - if (typeof upper == 'boolean') { - floating = upper; - upper = undefined; - } - else if (typeof lower == 'boolean') { - floating = lower; - lower = undefined; - } - } - if (lower === undefined && upper === undefined) { - lower = 0; - upper = 1; - } - else { - lower = toFinite(lower); - if (upper === undefined) { - upper = lower; - lower = 0; - } else { - upper = toFinite(upper); - } - } - if (lower > upper) { - var temp = lower; - lower = upper; - upper = temp; - } - if (floating || lower % 1 || upper % 1) { - var rand = nativeRandom(); - return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper); - } - return baseRandom(lower, upper); - } - /*------------------------------------------------------------------------*/ +var _RegisterTransitGatewayMulticastGroupMembersCommand = class _RegisterTransitGatewayMulticastGroupMembersCommand 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("AmazonEC2", "RegisterTransitGatewayMulticastGroupMembers", {}).n("EC2Client", "RegisterTransitGatewayMulticastGroupMembersCommand").f(void 0, void 0).ser(se_RegisterTransitGatewayMulticastGroupMembersCommand).de(de_RegisterTransitGatewayMulticastGroupMembersCommand).build() { +}; +__name(_RegisterTransitGatewayMulticastGroupMembersCommand, "RegisterTransitGatewayMulticastGroupMembersCommand"); +var RegisterTransitGatewayMulticastGroupMembersCommand = _RegisterTransitGatewayMulticastGroupMembersCommand; - /** - * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the camel cased string. - * @example - * - * _.camelCase('Foo Bar'); - * // => 'fooBar' - * - * _.camelCase('--foo-bar--'); - * // => 'fooBar' - * - * _.camelCase('__FOO_BAR__'); - * // => 'fooBar' - */ - var camelCase = createCompounder(function(result, word, index) { - word = word.toLowerCase(); - return result + (index ? capitalize(word) : word); - }); +// src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts - /** - * Converts the first character of `string` to upper case and the remaining - * to lower case. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to capitalize. - * @returns {string} Returns the capitalized string. - * @example - * - * _.capitalize('FRED'); - * // => 'Fred' - */ - function capitalize(string) { - return upperFirst(toString(string).toLowerCase()); - } - /** - * Deburrs `string` by converting - * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table) - * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A) - * letters to basic Latin letters and removing - * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to deburr. - * @returns {string} Returns the deburred string. - * @example - * - * _.deburr('déjà vu'); - * // => 'deja vu' - */ - function deburr(string) { - string = toString(string); - return string && string.replace(reLatin, deburrLetter).replace(reComboMark, ''); - } - /** - * Checks if `string` ends with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=string.length] The position to search up to. - * @returns {boolean} Returns `true` if `string` ends with `target`, - * else `false`. - * @example - * - * _.endsWith('abc', 'c'); - * // => true - * - * _.endsWith('abc', 'b'); - * // => false - * - * _.endsWith('abc', 'b', 2); - * // => true - */ - function endsWith(string, target, position) { - string = toString(string); - target = baseToString(target); - var length = string.length; - position = position === undefined - ? length - : baseClamp(toInteger(position), 0, length); +var _RegisterTransitGatewayMulticastGroupSourcesCommand = class _RegisterTransitGatewayMulticastGroupSourcesCommand 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("AmazonEC2", "RegisterTransitGatewayMulticastGroupSources", {}).n("EC2Client", "RegisterTransitGatewayMulticastGroupSourcesCommand").f(void 0, void 0).ser(se_RegisterTransitGatewayMulticastGroupSourcesCommand).de(de_RegisterTransitGatewayMulticastGroupSourcesCommand).build() { +}; +__name(_RegisterTransitGatewayMulticastGroupSourcesCommand, "RegisterTransitGatewayMulticastGroupSourcesCommand"); +var RegisterTransitGatewayMulticastGroupSourcesCommand = _RegisterTransitGatewayMulticastGroupSourcesCommand; - var end = position; - position -= target.length; - return position >= 0 && string.slice(position, end) == target; - } +// src/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts - /** - * Converts the characters "&", "<", ">", '"', and "'" in `string` to their - * corresponding HTML entities. - * - * **Note:** No other characters are escaped. To escape additional - * characters use a third-party library like [_he_](https://mths.be/he). - * - * Though the ">" character is escaped for symmetry, characters like - * ">" and "/" don't need escaping in HTML and have no special meaning - * unless they're part of a tag or unquoted attribute value. See - * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands) - * (under "semi-related fun fact") for more details. - * - * When working with HTML you should always - * [quote attribute values](http://wonko.com/post/html-escaping) to reduce - * XSS vectors. - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escape('fred, barney, & pebbles'); - * // => 'fred, barney, & pebbles' - */ - function escape(string) { - string = toString(string); - return (string && reHasUnescapedHtml.test(string)) - ? string.replace(reUnescapedHtml, escapeHtmlChar) - : string; - } - /** - * Escapes the `RegExp` special characters "^", "$", "\", ".", "*", "+", - * "?", "(", ")", "[", "]", "{", "}", and "|" in `string`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to escape. - * @returns {string} Returns the escaped string. - * @example - * - * _.escapeRegExp('[lodash](https://lodash.com/)'); - * // => '\[lodash\]\(https://lodash\.com/\)' - */ - function escapeRegExp(string) { - string = toString(string); - return (string && reHasRegExpChar.test(string)) - ? string.replace(reRegExpChar, '\\$&') - : string; - } - /** - * Converts `string` to - * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the kebab cased string. - * @example - * - * _.kebabCase('Foo Bar'); - * // => 'foo-bar' - * - * _.kebabCase('fooBar'); - * // => 'foo-bar' - * - * _.kebabCase('__FOO_BAR__'); - * // => 'foo-bar' - */ - var kebabCase = createCompounder(function(result, word, index) { - return result + (index ? '-' : '') + word.toLowerCase(); - }); - /** - * Converts `string`, as space separated words, to lower case. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the lower cased string. - * @example - * - * _.lowerCase('--Foo-Bar--'); - * // => 'foo bar' - * - * _.lowerCase('fooBar'); - * // => 'foo bar' - * - * _.lowerCase('__FOO_BAR__'); - * // => 'foo bar' - */ - var lowerCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + word.toLowerCase(); - }); +var _RejectTransitGatewayMulticastDomainAssociationsCommand = class _RejectTransitGatewayMulticastDomainAssociationsCommand 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("AmazonEC2", "RejectTransitGatewayMulticastDomainAssociations", {}).n("EC2Client", "RejectTransitGatewayMulticastDomainAssociationsCommand").f(void 0, void 0).ser(se_RejectTransitGatewayMulticastDomainAssociationsCommand).de(de_RejectTransitGatewayMulticastDomainAssociationsCommand).build() { +}; +__name(_RejectTransitGatewayMulticastDomainAssociationsCommand, "RejectTransitGatewayMulticastDomainAssociationsCommand"); +var RejectTransitGatewayMulticastDomainAssociationsCommand = _RejectTransitGatewayMulticastDomainAssociationsCommand; - /** - * Converts the first character of `string` to lower case. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the converted string. - * @example - * - * _.lowerFirst('Fred'); - * // => 'fred' - * - * _.lowerFirst('FRED'); - * // => 'fRED' - */ - var lowerFirst = createCaseFirst('toLowerCase'); +// src/commands/RejectTransitGatewayPeeringAttachmentCommand.ts - /** - * Pads `string` on the left and right sides if it's shorter than `length`. - * Padding characters are truncated if they can't be evenly divided by `length`. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.pad('abc', 8); - * // => ' abc ' - * - * _.pad('abc', 8, '_-'); - * // => '_-abc_-_' - * - * _.pad('abc', 3); - * // => 'abc' - */ - function pad(string, length, chars) { - string = toString(string); - length = toInteger(length); - var strLength = length ? stringSize(string) : 0; - if (!length || strLength >= length) { - return string; - } - var mid = (length - strLength) / 2; - return ( - createPadding(nativeFloor(mid), chars) + - string + - createPadding(nativeCeil(mid), chars) - ); - } - /** - * Pads `string` on the right side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.padEnd('abc', 6); - * // => 'abc ' - * - * _.padEnd('abc', 6, '_-'); - * // => 'abc_-_' - * - * _.padEnd('abc', 3); - * // => 'abc' - */ - function padEnd(string, length, chars) { - string = toString(string); - length = toInteger(length); - var strLength = length ? stringSize(string) : 0; - return (length && strLength < length) - ? (string + createPadding(length - strLength, chars)) - : string; - } +var _RejectTransitGatewayPeeringAttachmentCommand = class _RejectTransitGatewayPeeringAttachmentCommand 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("AmazonEC2", "RejectTransitGatewayPeeringAttachment", {}).n("EC2Client", "RejectTransitGatewayPeeringAttachmentCommand").f(void 0, void 0).ser(se_RejectTransitGatewayPeeringAttachmentCommand).de(de_RejectTransitGatewayPeeringAttachmentCommand).build() { +}; +__name(_RejectTransitGatewayPeeringAttachmentCommand, "RejectTransitGatewayPeeringAttachmentCommand"); +var RejectTransitGatewayPeeringAttachmentCommand = _RejectTransitGatewayPeeringAttachmentCommand; - /** - * Pads `string` on the left side if it's shorter than `length`. Padding - * characters are truncated if they exceed `length`. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to pad. - * @param {number} [length=0] The padding length. - * @param {string} [chars=' '] The string used as padding. - * @returns {string} Returns the padded string. - * @example - * - * _.padStart('abc', 6); - * // => ' abc' - * - * _.padStart('abc', 6, '_-'); - * // => '_-_abc' - * - * _.padStart('abc', 3); - * // => 'abc' - */ - function padStart(string, length, chars) { - string = toString(string); - length = toInteger(length); +// src/commands/RejectTransitGatewayVpcAttachmentCommand.ts - var strLength = length ? stringSize(string) : 0; - return (length && strLength < length) - ? (createPadding(length - strLength, chars) + string) - : string; - } - /** - * Converts `string` to an integer of the specified radix. If `radix` is - * `undefined` or `0`, a `radix` of `10` is used unless `value` is a - * hexadecimal, in which case a `radix` of `16` is used. - * - * **Note:** This method aligns with the - * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`. - * - * @static - * @memberOf _ - * @since 1.1.0 - * @category String - * @param {string} string The string to convert. - * @param {number} [radix=10] The radix to interpret `value` by. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {number} Returns the converted integer. - * @example - * - * _.parseInt('08'); - * // => 8 - * - * _.map(['6', '08', '10'], _.parseInt); - * // => [6, 8, 10] - */ - function parseInt(string, radix, guard) { - if (guard || radix == null) { - radix = 0; - } else if (radix) { - radix = +radix; - } - return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0); - } - /** - * Repeats the given string `n` times. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to repeat. - * @param {number} [n=1] The number of times to repeat the string. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {string} Returns the repeated string. - * @example - * - * _.repeat('*', 3); - * // => '***' - * - * _.repeat('abc', 2); - * // => 'abcabc' - * - * _.repeat('abc', 0); - * // => '' - */ - function repeat(string, n, guard) { - if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) { - n = 1; - } else { - n = toInteger(n); - } - return baseRepeat(toString(string), n); - } - /** - * Replaces matches for `pattern` in `string` with `replacement`. - * - * **Note:** This method is based on - * [`String#replace`](https://mdn.io/String/replace). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to modify. - * @param {RegExp|string} pattern The pattern to replace. - * @param {Function|string} replacement The match replacement. - * @returns {string} Returns the modified string. - * @example - * - * _.replace('Hi Fred', 'Fred', 'Barney'); - * // => 'Hi Barney' - */ - function replace() { - var args = arguments, - string = toString(args[0]); +var _RejectTransitGatewayVpcAttachmentCommand = class _RejectTransitGatewayVpcAttachmentCommand 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("AmazonEC2", "RejectTransitGatewayVpcAttachment", {}).n("EC2Client", "RejectTransitGatewayVpcAttachmentCommand").f(void 0, void 0).ser(se_RejectTransitGatewayVpcAttachmentCommand).de(de_RejectTransitGatewayVpcAttachmentCommand).build() { +}; +__name(_RejectTransitGatewayVpcAttachmentCommand, "RejectTransitGatewayVpcAttachmentCommand"); +var RejectTransitGatewayVpcAttachmentCommand = _RejectTransitGatewayVpcAttachmentCommand; - return args.length < 3 ? string : string.replace(args[1], args[2]); - } +// src/commands/RejectVpcEndpointConnectionsCommand.ts - /** - * Converts `string` to - * [snake case](https://en.wikipedia.org/wiki/Snake_case). - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the snake cased string. - * @example - * - * _.snakeCase('Foo Bar'); - * // => 'foo_bar' - * - * _.snakeCase('fooBar'); - * // => 'foo_bar' - * - * _.snakeCase('--FOO-BAR--'); - * // => 'foo_bar' - */ - var snakeCase = createCompounder(function(result, word, index) { - return result + (index ? '_' : '') + word.toLowerCase(); - }); - /** - * Splits `string` by `separator`. - * - * **Note:** This method is based on - * [`String#split`](https://mdn.io/String/split). - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category String - * @param {string} [string=''] The string to split. - * @param {RegExp|string} separator The separator pattern to split by. - * @param {number} [limit] The length to truncate results to. - * @returns {Array} Returns the string segments. - * @example - * - * _.split('a-b-c', '-', 2); - * // => ['a', 'b'] - */ - function split(string, separator, limit) { - if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) { - separator = limit = undefined; - } - limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0; - if (!limit) { - return []; - } - string = toString(string); - if (string && ( - typeof separator == 'string' || - (separator != null && !isRegExp(separator)) - )) { - separator = baseToString(separator); - if (!separator && hasUnicode(string)) { - return castSlice(stringToArray(string), 0, limit); - } - } - return string.split(separator, limit); - } - /** - * Converts `string` to - * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage). - * - * @static - * @memberOf _ - * @since 3.1.0 - * @category String - * @param {string} [string=''] The string to convert. - * @returns {string} Returns the start cased string. - * @example - * - * _.startCase('--foo-bar--'); - * // => 'Foo Bar' - * - * _.startCase('fooBar'); - * // => 'Foo Bar' - * - * _.startCase('__FOO_BAR__'); - * // => 'FOO BAR' - */ - var startCase = createCompounder(function(result, word, index) { - return result + (index ? ' ' : '') + upperFirst(word); - }); - /** - * Checks if `string` starts with the given target string. - * - * @static - * @memberOf _ - * @since 3.0.0 - * @category String - * @param {string} [string=''] The string to inspect. - * @param {string} [target] The string to search for. - * @param {number} [position=0] The position to search from. - * @returns {boolean} Returns `true` if `string` starts with `target`, - * else `false`. - * @example - * - * _.startsWith('abc', 'a'); - * // => true - * - * _.startsWith('abc', 'b'); - * // => false - * - * _.startsWith('abc', 'b', 1); - * // => true - */ - function startsWith(string, target, position) { - string = toString(string); - position = position == null - ? 0 - : baseClamp(toInteger(position), 0, string.length); +var _RejectVpcEndpointConnectionsCommand = class _RejectVpcEndpointConnectionsCommand 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("AmazonEC2", "RejectVpcEndpointConnections", {}).n("EC2Client", "RejectVpcEndpointConnectionsCommand").f(void 0, void 0).ser(se_RejectVpcEndpointConnectionsCommand).de(de_RejectVpcEndpointConnectionsCommand).build() { +}; +__name(_RejectVpcEndpointConnectionsCommand, "RejectVpcEndpointConnectionsCommand"); +var RejectVpcEndpointConnectionsCommand = _RejectVpcEndpointConnectionsCommand; - target = baseToString(target); - return string.slice(position, position + target.length) == target; - } +// src/commands/RejectVpcPeeringConnectionCommand.ts - /** - * Creates a compiled template function that can interpolate data properties - * in "interpolate" delimiters, HTML-escape interpolated data properties in - * "escape" delimiters, and execute JavaScript in "evaluate" delimiters. Data - * properties may be accessed as free variables in the template. If a setting - * object is given, it takes precedence over `_.templateSettings` values. - * - * **Note:** In the development build `_.template` utilizes - * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl) - * for easier debugging. - * - * For more information on precompiling templates see - * [lodash's custom builds documentation](https://lodash.com/custom-builds). - * - * For more information on Chrome extension sandboxes see - * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval). - * - * @static - * @since 0.1.0 - * @memberOf _ - * @category String - * @param {string} [string=''] The template string. - * @param {Object} [options={}] The options object. - * @param {RegExp} [options.escape=_.templateSettings.escape] - * The HTML "escape" delimiter. - * @param {RegExp} [options.evaluate=_.templateSettings.evaluate] - * The "evaluate" delimiter. - * @param {Object} [options.imports=_.templateSettings.imports] - * An object to import into the template as free variables. - * @param {RegExp} [options.interpolate=_.templateSettings.interpolate] - * The "interpolate" delimiter. - * @param {string} [options.sourceURL='lodash.templateSources[n]'] - * The sourceURL of the compiled template. - * @param {string} [options.variable='obj'] - * The data object variable name. - * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`. - * @returns {Function} Returns the compiled template function. - * @example - * - * // Use the "interpolate" delimiter to create a compiled template. - * var compiled = _.template('hello <%= user %>!'); - * compiled({ 'user': 'fred' }); - * // => 'hello fred!' - * - * // Use the HTML "escape" delimiter to escape data property values. - * var compiled = _.template('<%- value %>'); - * compiled({ 'value': '