From d6e4f4c9d5ca0f3fa9a0074e5c196c04c6d244e7 Mon Sep 17 00:00:00 2001 From: Maddiaa <47148561+Maddiaa0@users.noreply.github.com> Date: Tue, 10 Dec 2024 22:30:58 +0800 Subject: [PATCH] chore(ci): prune launch templates job (#10561) --- .github/prune-launch-templates/.gitignore | 134 + .github/prune-launch-templates/LICENSE | 201 + .github/prune-launch-templates/README.md | 31 + .github/prune-launch-templates/action.yaml | 24 + .github/prune-launch-templates/dist/index.js | 128166 +++++++++++++++ .../prune-launch-templates/package-lock.json | 3092 + .github/prune-launch-templates/package.json | 27 + .github/prune-launch-templates/run-local.sh | 20 + .github/prune-launch-templates/src/config.ts | 35 + .github/prune-launch-templates/src/main.ts | 97 + .github/prune-launch-templates/tsconfig.json | 15 + .github/prune-launch-templates/yarn.lock | 1084 + .github/workflows/prune-launch-templates.yaml | 23 + 13 files changed, 132949 insertions(+) create mode 100644 .github/prune-launch-templates/.gitignore create mode 100644 .github/prune-launch-templates/LICENSE create mode 100644 .github/prune-launch-templates/README.md create mode 100644 .github/prune-launch-templates/action.yaml create mode 100644 .github/prune-launch-templates/dist/index.js create mode 100644 .github/prune-launch-templates/package-lock.json create mode 100644 .github/prune-launch-templates/package.json create mode 100755 .github/prune-launch-templates/run-local.sh create mode 100644 .github/prune-launch-templates/src/config.ts create mode 100644 .github/prune-launch-templates/src/main.ts create mode 100644 .github/prune-launch-templates/tsconfig.json create mode 100644 .github/prune-launch-templates/yarn.lock create mode 100644 .github/workflows/prune-launch-templates.yaml diff --git a/.github/prune-launch-templates/.gitignore b/.github/prune-launch-templates/.gitignore new file mode 100644 index 00000000000..486c2c13a8d --- /dev/null +++ b/.github/prune-launch-templates/.gitignore @@ -0,0 +1,134 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +lerna-debug.log* +.pnpm-debug.log* + +# Diagnostic reports (https://nodejs.org/api/report.html) +report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage +*.lcov + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (https://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ +jspm_packages/ + +# Snowpack dependency directory (https://snowpack.dev/) +web_modules/ + +# TypeScript cache +*.tsbuildinfo + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional stylelint cache +.stylelintcache + +# Microbundle cache +.rpt2_cache/ +.rts2_cache_cjs/ +.rts2_cache_es/ +.rts2_cache_umd/ + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variable files +.env +.env.development.local +.env.test.local +.env.production.local +.env.local + +# parcel-bundler cache (https://parceljs.org/) +.cache +.parcel-cache + +# Next.js build output +.next +out + +# Nuxt.js build / generate output +.nuxt +lib + +# Gatsby files +.cache/ +# Comment in the public line in if your project uses Gatsby and not Next.js +# https://nextjs.org/blog/next-9-1#public-directory-support +# public + +# vuepress build output +.vuepress/dist + +# vuepress v2.x temp and cache directory +.temp +.cache + +# Docusaurus cache and generated files +.docusaurus + +# Serverless directories +.serverless/ + +# FuseBox cache +.fusebox/ + +# DynamoDB Local files +.dynamodb/ + +# TernJS port file +.tern-port + +# Stores VSCode versions used for testing VSCode extensions +.vscode-test + +# yarn v2 +.yarn/cache +.yarn/unplugged +.yarn/build-state.yml +.yarn/install-state.gz +.pnp.* +mockConfig.ts + +# intellij +.idea \ No newline at end of file diff --git a/.github/prune-launch-templates/LICENSE b/.github/prune-launch-templates/LICENSE new file mode 100644 index 00000000000..261eeb9e9f8 --- /dev/null +++ b/.github/prune-launch-templates/LICENSE @@ -0,0 +1,201 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License 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. diff --git a/.github/prune-launch-templates/README.md b/.github/prune-launch-templates/README.md new file mode 100644 index 00000000000..9ccaebc93d0 --- /dev/null +++ b/.github/prune-launch-templates/README.md @@ -0,0 +1,31 @@ + +## Prune launch templates + +Remember to use npm run build ( yarn build ) before pushing! + +## Overview + +This is a GitHub action to prune old launch templates older than a given age. + +### Standard + +```yaml +jobs: + prune-launch-templates: + timeout-minutes: 5 # normally it only takes 1-2 minutes + name: Prune launch templates + runs-on: ubuntu-latest + permissions: + actions: write + steps: + - name: Prune launch templates + id: prune-launch-templates + with: + aws_access_key_id: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }} + aws_secret_access_key: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }} + aws_region: "us-west-2" + max_age_in_days: 14 + dry_run: false + +``` + diff --git a/.github/prune-launch-templates/action.yaml b/.github/prune-launch-templates/action.yaml new file mode 100644 index 00000000000..c41ed650424 --- /dev/null +++ b/.github/prune-launch-templates/action.yaml @@ -0,0 +1,24 @@ +name: 'Prune launch templates' +description: 'Prune launch templates older than a given age' +branding: + icon: 'server' + color: 'orange' +inputs: + aws_access_key_id: + description: 'AWS access key ID' + required: true + aws_secret_access_key: + description: 'AWS secret access key' + required: true + aws_region: + description: 'AWS Region' + required: true + max_age_in_days: + description: 'Maximum age in days before deletion' + required: true + dry_run: + description: 'If true, don\'t actually delete anything' + required: false +runs: + using: 'node20' + main: 'dist/index.js' \ No newline at end of file diff --git a/.github/prune-launch-templates/dist/index.js b/.github/prune-launch-templates/dist/index.js new file mode 100644 index 00000000000..15bf1396246 --- /dev/null +++ b/.github/prune-launch-templates/dist/index.js @@ -0,0 +1,128166 @@ +/******/ (() => { // webpackBootstrap +/******/ var __webpack_modules__ = ({ + +/***/ 88: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ActionConfig = void 0; +const core = __importStar(__nccwpck_require__(2186)); +class ActionConfig { + constructor() { + // AWS account and credentials params + this.awsAccessKeyId = core.getInput("aws_access_key_id"); + this.awsSecretAccessKey = core.getInput("aws_secret_access_key"); + this.awsRegion = core.getInput("aws_region"); + this.awsIamRoleArn = core.getInput("aws_iam_role_arn"); + this.awsAssumeRole = this.awsIamRoleArn ? true : false; + this.maxAgeInDays = +core.getInput("max_age_in_days"); + this.dryRun = core.getInput("dry_run") === "true"; + } +} +exports.ActionConfig = ActionConfig; + + +/***/ }), + +/***/ 3109: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +const core = __importStar(__nccwpck_require__(2186)); +const client_ec2_1 = __nccwpck_require__(3802); +const config_1 = __nccwpck_require__(88); +// Main function to prune instances older than 2 weeks +function pruneOldInstances(config) { + var _a; + return __awaiter(this, void 0, void 0, function* () { + // Initialize EC2 client + const credentials = { + accessKeyId: config.awsAccessKeyId, + secretAccessKey: config.awsSecretAccessKey, + }; + const ec2 = new client_ec2_1.EC2({ + region: config.awsRegion, + credentials, + }); + try { + // Fetch all instances + const describeLaunchTemplatesCommand = { + Filters: [ + { + Name: 'launch-template-name', + Values: ['aztec-packages-spot*'] + } + ] + }; + core.info(`Searching for launch templates with params: ${JSON.stringify(describeLaunchTemplatesCommand, null, 2)}`); + const response = yield ec2.describeLaunchTemplates(describeLaunchTemplatesCommand); + core.info(`Raw response contains ${((_a = response.LaunchTemplates) === null || _a === void 0 ? void 0 : _a.length) || 0} launch templates`); + if (!response.LaunchTemplates || response.LaunchTemplates.length === 0) { + core.info('No launch templates found. Please check:'); + core.info(`1. Region is correct: ${config.awsRegion}`); + core.info('2. AWS credentials have correct permissions'); + return; + } + // Calculate cutoff date + const cutoffDate = new Date(); + cutoffDate.setDate(cutoffDate.getDate() - config.maxAgeInDays); + // Find launch templates older than cutoff date + const launchTemplatesToDelete = response.LaunchTemplates.filter(template => { + if (!template.CreateTime) + return false; + const templateDate = new Date(template.CreateTime); + return templateDate < cutoffDate; + }); + core.info('\nLaunch Template Analysis:'); + core.info(`Total launch templates found: ${response.LaunchTemplates.length}`); + core.info(`Cutoff date: ${cutoffDate.toISOString()}`); + core.info(`Launch templates older than ${config.maxAgeInDays} days: ${launchTemplatesToDelete.length}`); + // Log all found launch templates for debugging + core.info('\nAll found launch templates:'); + response.LaunchTemplates.forEach(template => { + core.info(`- ${template.LaunchTemplateId} | ${template.LaunchTemplateName} | Created: ${template.CreateTime}`); + }); + if (launchTemplatesToDelete.length === 0) { + core.info('\nNo launch templates old enough to delete.'); + return; + } + core.info('\nLaunch templates to be deleted:'); + for (const template of launchTemplatesToDelete) { + core.info(`Processing launch template: ${template.LaunchTemplateId} (${template.LaunchTemplateName}) | Created: ${template.CreateTime}`); + if (!config.dryRun) { + if (template.LaunchTemplateId) { + yield ec2.deleteLaunchTemplate({ + LaunchTemplateId: template.LaunchTemplateId + }); + core.info(`Deleted launch template: ${template.LaunchTemplateId}`); + } + } + else { + core.info(`[DRY RUN] Would have deleted launch template: ${template.LaunchTemplateId}`); + } + } + } + catch (error) { + core.error("Error pruning instances:", error); + } + }); +} +// Run the script +(function () { + return __awaiter(this, void 0, void 0, function* () { + try { + const config = new config_1.ActionConfig(); + yield pruneOldInstances(config); + } + catch (error) { + core.error(error.message); + core.setFailed(error.message); + } + }); +})(); + + +/***/ }), + +/***/ 7351: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.issue = exports.issueCommand = void 0; +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(5278); +/** + * Commands + * + * Command Format: + * ::name key=value,key=value::message + * + * Examples: + * ::warning::This is the message + * ::set-env name=MY_VAR::some value + */ +function issueCommand(command, properties, message) { + const cmd = new Command(command, properties, message); + process.stdout.write(cmd.toString() + os.EOL); +} +exports.issueCommand = issueCommand; +function issue(name, message = '') { + issueCommand(name, {}, message); +} +exports.issue = issue; +const CMD_STRING = '::'; +class Command { + constructor(command, properties, message) { + if (!command) { + command = 'missing.command'; + } + this.command = command; + this.properties = properties; + this.message = message; + } + toString() { + let cmdStr = CMD_STRING + this.command; + if (this.properties && Object.keys(this.properties).length > 0) { + cmdStr += ' '; + let first = true; + for (const key in this.properties) { + if (this.properties.hasOwnProperty(key)) { + const val = this.properties[key]; + if (val) { + if (first) { + first = false; + } + else { + cmdStr += ','; + } + cmdStr += `${key}=${escapeProperty(val)}`; + } + } + } + } + cmdStr += `${CMD_STRING}${escapeData(this.message)}`; + return cmdStr; + } +} +function escapeData(s) { + return (0, utils_1.toCommandValue)(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A'); +} +function escapeProperty(s) { + return (0, utils_1.toCommandValue)(s) + .replace(/%/g, '%25') + .replace(/\r/g, '%0D') + .replace(/\n/g, '%0A') + .replace(/:/g, '%3A') + .replace(/,/g, '%2C'); +} +//# sourceMappingURL=command.js.map + +/***/ }), + +/***/ 2186: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = 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__(7351); +const file_command_1 = __nccwpck_require__(717); +const utils_1 = __nccwpck_require__(5278); +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 + */ +var ExitCode; +(function (ExitCode) { + /** + * A code indicating that the action was successful + */ + ExitCode[ExitCode["Success"] = 0] = "Success"; + /** + * A code indicating that the action was a failure + */ + ExitCode[ExitCode["Failure"] = 1] = "Failure"; +})(ExitCode || (exports.ExitCode = ExitCode = {})); +//----------------------------------------------------------------------- +// Variables +//----------------------------------------------------------------------- +/** + * Sets env variable for this action and future actions in the job + * @param name the name of the variable to set + * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function exportVariable(name, val) { + const convertedVal = (0, utils_1.toCommandValue)(val); + process.env[name] = convertedVal; + const filePath = process.env['GITHUB_ENV'] || ''; + if (filePath) { + return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val)); + } + (0, command_1.issueCommand)('set-env', { name }, convertedVal); +} +exports.exportVariable = exportVariable; +/** + * Registers a secret which will get masked from logs + * @param secret value of the secret + */ +function setSecret(secret) { + (0, command_1.issueCommand)('add-mask', {}, secret); +} +exports.setSecret = setSecret; +/** + * Prepends inputPath to the PATH (for this action and future actions) + * @param inputPath + */ +function addPath(inputPath) { + const filePath = process.env['GITHUB_PATH'] || ''; + if (filePath) { + (0, file_command_1.issueFileCommand)('PATH', inputPath); + } + else { + (0, command_1.issueCommand)('add-path', {}, inputPath); + } + process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`; +} +exports.addPath = addPath; +/** + * Gets the value of an input. + * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed. + * Returns an empty string if the value is not defined. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string + */ +function getInput(name, options) { + const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || ''; + if (options && options.required && !val) { + throw new Error(`Input required and not supplied: ${name}`); + } + if (options && options.trimWhitespace === false) { + return val; + } + return val.trim(); +} +exports.getInput = getInput; +/** + * Gets the values of an multiline input. Each value is also trimmed. + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns string[] + * + */ +function getMultilineInput(name, options) { + const inputs = getInput(name, options) + .split('\n') + .filter(x => x !== ''); + if (options && options.trimWhitespace === false) { + return inputs; + } + return inputs.map(input => input.trim()); +} +exports.getMultilineInput = getMultilineInput; +/** + * Gets the input value of the boolean type in the YAML 1.2 "core schema" specification. + * Support boolean input list: `true | True | TRUE | false | False | FALSE` . + * The return value is also in boolean type. + * ref: https://yaml.org/spec/1.2/spec.html#id2804923 + * + * @param name name of the input to get + * @param options optional. See InputOptions. + * @returns boolean + */ +function getBooleanInput(name, options) { + const trueValue = ['true', 'True', 'TRUE']; + const falseValue = ['false', 'False', 'FALSE']; + const val = getInput(name, options); + if (trueValue.includes(val)) + return true; + if (falseValue.includes(val)) + return false; + throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${name}\n` + + `Support boolean input list: \`true | True | TRUE | false | False | FALSE\``); +} +exports.getBooleanInput = getBooleanInput; +/** + * Sets the value of an output. + * + * @param name name of the output to set + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function setOutput(name, value) { + const filePath = process.env['GITHUB_OUTPUT'] || ''; + if (filePath) { + return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value)); + } + process.stdout.write(os.EOL); + (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value)); +} +exports.setOutput = setOutput; +/** + * Enables or disables the echoing of commands into stdout for the rest of the step. + * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set. + * + */ +function setCommandEcho(enabled) { + (0, command_1.issue)('echo', enabled ? 'on' : 'off'); +} +exports.setCommandEcho = setCommandEcho; +//----------------------------------------------------------------------- +// Results +//----------------------------------------------------------------------- +/** + * Sets the action status to failed. + * When the action exits it will be with an exit code of 1 + * @param message add error issue message + */ +function setFailed(message) { + process.exitCode = ExitCode.Failure; + error(message); +} +exports.setFailed = setFailed; +//----------------------------------------------------------------------- +// Logging Commands +//----------------------------------------------------------------------- +/** + * Gets whether Actions Step Debug is on or not + */ +function isDebug() { + return process.env['RUNNER_DEBUG'] === '1'; +} +exports.isDebug = isDebug; +/** + * Writes debug message to user log + * @param message debug message + */ +function debug(message) { + (0, command_1.issueCommand)('debug', {}, message); +} +exports.debug = debug; +/** + * Adds an error issue + * @param message error issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function error(message, properties = {}) { + (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); +} +exports.error = error; +/** + * Adds a warning issue + * @param message warning issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function warning(message, properties = {}) { + (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); +} +exports.warning = warning; +/** + * Adds a notice issue + * @param message notice issue message. Errors will be converted to string via toString() + * @param properties optional properties to add to the annotation. + */ +function notice(message, properties = {}) { + (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message); +} +exports.notice = notice; +/** + * Writes info to log with console.log. + * @param message info message + */ +function info(message) { + process.stdout.write(message + os.EOL); +} +exports.info = info; +/** + * Begin an output group. + * + * Output until the next `groupEnd` will be foldable in this group + * + * @param name The name of the output group + */ +function startGroup(name) { + (0, command_1.issue)('group', name); +} +exports.startGroup = startGroup; +/** + * End an output group. + */ +function endGroup() { + (0, command_1.issue)('endgroup'); +} +exports.endGroup = endGroup; +/** + * Wrap an asynchronous function call in a group. + * + * Returns the same type as the function itself. + * + * @param name The name of the group + * @param fn The function to wrap in the group + */ +function group(name, fn) { + return __awaiter(this, void 0, void 0, function* () { + startGroup(name); + let result; + try { + result = yield fn(); + } + finally { + endGroup(); + } + return result; + }); +} +exports.group = group; +//----------------------------------------------------------------------- +// Wrapper action state +//----------------------------------------------------------------------- +/** + * Saves state for current action, the state can only be retrieved by this action's post job execution. + * + * @param name name of the state to store + * @param value value to store. Non-string values will be converted to a string via JSON.stringify + */ +// eslint-disable-next-line @typescript-eslint/no-explicit-any +function saveState(name, value) { + const filePath = process.env['GITHUB_STATE'] || ''; + if (filePath) { + return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value)); + } + (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value)); +} +exports.saveState = saveState; +/** + * Gets the value of an state set by this action's main execution. + * + * @param name name of the state to get + * @returns string + */ +function getState(name) { + return process.env[`STATE_${name}`] || ''; +} +exports.getState = getState; +function getIDToken(aud) { + return __awaiter(this, void 0, void 0, function* () { + return yield oidc_utils_1.OidcClient.getIDToken(aud); + }); +} +exports.getIDToken = getIDToken; +/** + * Summary exports + */ +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__(1327); +Object.defineProperty(exports, "markdownSummary", ({ enumerable: true, get: function () { return summary_2.markdownSummary; } })); +/** + * Path exports + */ +var path_utils_1 = __nccwpck_require__(2981); +Object.defineProperty(exports, "toPosixPath", ({ enumerable: true, get: function () { return path_utils_1.toPosixPath; } })); +Object.defineProperty(exports, "toWin32Path", ({ enumerable: true, get: function () { return path_utils_1.toWin32Path; } })); +Object.defineProperty(exports, "toPlatformPath", ({ enumerable: true, get: function () { return path_utils_1.toPlatformPath; } })); +/** + * Platform utilities exports + */ +exports.platform = __importStar(__nccwpck_require__(5243)); +//# sourceMappingURL=core.js.map + +/***/ }), + +/***/ 717: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +// For internal use, subject to change. +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +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 crypto = __importStar(__nccwpck_require__(6113)); +const fs = __importStar(__nccwpck_require__(7147)); +const os = __importStar(__nccwpck_require__(2037)); +const utils_1 = __nccwpck_require__(5278); +function issueFileCommand(command, message) { + const filePath = process.env[`GITHUB_${command}`]; + if (!filePath) { + throw new Error(`Unable to find environment variable for file command ${command}`); + } + if (!fs.existsSync(filePath)) { + throw new Error(`Missing file at path: ${filePath}`); + } + fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, { + encoding: 'utf8' + }); +} +exports.issueFileCommand = issueFileCommand; +function prepareKeyValueMessage(key, value) { + const delimiter = `ghadelimiter_${crypto.randomUUID()}`; + const convertedValue = (0, utils_1.toCommandValue)(value); + // These should realistically never happen, but just in case someone finds a + // way to exploit uuid generation let's not allow keys or values that contain + // the delimiter. + if (key.includes(delimiter)) { + throw new Error(`Unexpected input: name should not contain the delimiter "${delimiter}"`); + } + if (convertedValue.includes(delimiter)) { + throw new Error(`Unexpected input: value should not contain the delimiter "${delimiter}"`); + } + return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`; +} +exports.prepareKeyValueMessage = prepareKeyValueMessage; +//# sourceMappingURL=file-command.js.map + +/***/ }), + +/***/ 8041: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.OidcClient = void 0; +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 = { + allowRetries: allowRetry, + maxRetries: maxRetry + }; + return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions); + } + static getRequestToken() { + const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN']; + if (!token) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable'); + } + return token; + } + static getIDTokenUrl() { + const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL']; + if (!runtimeUrl) { + throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable'); + } + return runtimeUrl; + } + static getCall(id_token_url) { + var _a; + return __awaiter(this, void 0, void 0, function* () { + const httpclient = OidcClient.createHttpClient(); + const res = yield httpclient + .getJson(id_token_url) + .catch(error => { + throw new Error(`Failed to get ID Token. \n + Error Code : ${error.statusCode}\n + Error Message: ${error.message}`); + }); + const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value; + if (!id_token) { + throw new Error('Response json body do not have ID Token field'); + } + return id_token; + }); + } + static getIDToken(audience) { + return __awaiter(this, void 0, void 0, function* () { + try { + // New ID Token is requested from action service + let id_token_url = OidcClient.getIDTokenUrl(); + if (audience) { + const encodedAudience = encodeURIComponent(audience); + id_token_url = `${id_token_url}&audience=${encodedAudience}`; + } + (0, core_1.debug)(`ID token url is ${id_token_url}`); + const id_token = yield OidcClient.getCall(id_token_url); + (0, core_1.setSecret)(id_token); + return id_token; + } + catch (error) { + throw new Error(`Error message: ${error.message}`); + } + }); + } +} +exports.OidcClient = OidcClient; +//# sourceMappingURL=oidc-utils.js.map + +/***/ }), + +/***/ 2981: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0; +const path = __importStar(__nccwpck_require__(1017)); +/** + * toPosixPath converts the given path to the posix form. On Windows, \\ will be + * replaced with /. + * + * @param pth. Path to transform. + * @return string Posix path. + */ +function toPosixPath(pth) { + return pth.replace(/[\\]/g, '/'); +} +exports.toPosixPath = toPosixPath; +/** + * toWin32Path converts the given path to the win32 form. On Linux, / will be + * replaced with \\. + * + * @param pth. Path to transform. + * @return string Win32 path. + */ +function toWin32Path(pth) { + return pth.replace(/[/]/g, '\\'); +} +exports.toWin32Path = toWin32Path; +/** + * toPlatformPath converts the given path to a platform-specific path. It does + * this by replacing instances of / and \ with the platform-specific path + * separator. + * + * @param pth The path to platformize. + * @return string The platform-specific path. + */ +function toPlatformPath(pth) { + return pth.replace(/[/\\]/g, path.sep); +} +exports.toPlatformPath = toPlatformPath; +//# sourceMappingURL=path-utils.js.map + +/***/ }), + +/***/ 5243: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + 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.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0; +const os_1 = __importDefault(__nccwpck_require__(2037)); +const exec = __importStar(__nccwpck_require__(1514)); +const getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () { + const { stdout: version } = yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"', undefined, { + silent: true + }); + const { stdout: name } = yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"', undefined, { + silent: true + }); + return { + name: name.trim(), + version: version.trim() + }; +}); +const getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () { + var _a, _b, _c, _d; + const { stdout } = yield exec.getExecOutput('sw_vers', undefined, { + silent: true + }); + const version = (_b = (_a = stdout.match(/ProductVersion:\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : ''; + const name = (_d = (_c = stdout.match(/ProductName:\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : ''; + return { + name, + version + }; +}); +const getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () { + const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], { + silent: true + }); + const [name, version] = stdout.trim().split('\n'); + return { + name, + version + }; +}); +exports.platform = os_1.default.platform(); +exports.arch = os_1.default.arch(); +exports.isWindows = exports.platform === 'win32'; +exports.isMacOS = exports.platform === 'darwin'; +exports.isLinux = exports.platform === 'linux'; +function getDetails() { + return __awaiter(this, void 0, void 0, function* () { + return Object.assign(Object.assign({}, (yield (exports.isWindows + ? getWindowsInfo() + : exports.isMacOS + ? getMacOsInfo() + : getLinuxInfo()))), { platform: exports.platform, + arch: exports.arch, + isWindows: exports.isWindows, + isMacOS: exports.isMacOS, + isLinux: exports.isLinux }); + }); +} +exports.getDetails = getDetails; +//# sourceMappingURL=platform.js.map + +/***/ }), + +/***/ 1327: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +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__(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'; +class Summary { + constructor() { + this._buffer = ''; + } + /** + * Finds the summary file path from the environment, rejects if env var is not found or file does not exist + * Also checks r/w permissions. + * + * @returns step summary file path + */ + filePath() { + return __awaiter(this, void 0, void 0, function* () { + if (this._filePath) { + return this._filePath; + } + const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR]; + if (!pathFromEnv) { + throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`); + } + try { + yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK); + } + catch (_a) { + throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`); + } + this._filePath = pathFromEnv; + return this._filePath; + }); + } + /** + * Wraps content in an HTML tag, adding any HTML attributes + * + * @param {string} tag HTML tag to wrap + * @param {string | null} content content within the tag + * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add + * + * @returns {string} content wrapped in HTML element + */ + wrap(tag, content, attrs = {}) { + const htmlAttrs = Object.entries(attrs) + .map(([key, value]) => ` ${key}="${value}"`) + .join(''); + if (!content) { + return `<${tag}${htmlAttrs}>`; + } + return `<${tag}${htmlAttrs}>${content}`; + } + /** + * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default. + * + * @param {SummaryWriteOptions} [options] (optional) options for write operation + * + * @returns {Promise} summary instance + */ + write(options) { + return __awaiter(this, void 0, void 0, function* () { + const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite); + const filePath = yield this.filePath(); + const writeFunc = overwrite ? writeFile : appendFile; + yield writeFunc(filePath, this._buffer, { encoding: 'utf8' }); + return this.emptyBuffer(); + }); + } + /** + * Clears the summary buffer and wipes the summary file + * + * @returns {Summary} summary instance + */ + clear() { + return __awaiter(this, void 0, void 0, function* () { + return this.emptyBuffer().write({ overwrite: true }); + }); + } + /** + * Returns the current summary buffer as a string + * + * @returns {string} string of summary buffer + */ + stringify() { + return this._buffer; + } + /** + * If the summary buffer is empty + * + * @returns {boolen} true if the buffer is empty + */ + isEmptyBuffer() { + return this._buffer.length === 0; + } + /** + * Resets the summary buffer without writing to summary file + * + * @returns {Summary} summary instance + */ + emptyBuffer() { + this._buffer = ''; + return this; + } + /** + * Adds raw text to the summary buffer + * + * @param {string} text content to add + * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false) + * + * @returns {Summary} summary instance + */ + addRaw(text, addEOL = false) { + this._buffer += text; + return addEOL ? this.addEOL() : this; + } + /** + * Adds the operating system-specific end-of-line marker to the buffer + * + * @returns {Summary} summary instance + */ + addEOL() { + return this.addRaw(os_1.EOL); + } + /** + * Adds an HTML codeblock to the summary buffer + * + * @param {string} code content to render within fenced code block + * @param {string} lang (optional) language to syntax highlight code + * + * @returns {Summary} summary instance + */ + addCodeBlock(code, lang) { + const attrs = Object.assign({}, (lang && { lang })); + const element = this.wrap('pre', this.wrap('code', code), attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML list to the summary buffer + * + * @param {string[]} items list of items to render + * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false) + * + * @returns {Summary} summary instance + */ + addList(items, ordered = false) { + const tag = ordered ? 'ol' : 'ul'; + const listItems = items.map(item => this.wrap('li', item)).join(''); + const element = this.wrap(tag, listItems); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML table to the summary buffer + * + * @param {SummaryTableCell[]} rows table rows + * + * @returns {Summary} summary instance + */ + addTable(rows) { + const tableBody = rows + .map(row => { + const cells = row + .map(cell => { + if (typeof cell === 'string') { + return this.wrap('td', cell); + } + const { header, data, colspan, rowspan } = cell; + const tag = header ? 'th' : 'td'; + const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan })); + return this.wrap(tag, data, attrs); + }) + .join(''); + return this.wrap('tr', cells); + }) + .join(''); + const element = this.wrap('table', tableBody); + return this.addRaw(element).addEOL(); + } + /** + * Adds a collapsable HTML details element to the summary buffer + * + * @param {string} label text for the closed state + * @param {string} content collapsable content + * + * @returns {Summary} summary instance + */ + addDetails(label, content) { + const element = this.wrap('details', this.wrap('summary', label) + content); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML image tag to the summary buffer + * + * @param {string} src path to the image you to embed + * @param {string} alt text description of the image + * @param {SummaryImageOptions} options (optional) addition image attributes + * + * @returns {Summary} summary instance + */ + addImage(src, alt, options) { + const { width, height } = options || {}; + const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height })); + const element = this.wrap('img', null, Object.assign({ src, alt }, attrs)); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML section heading element + * + * @param {string} text heading text + * @param {number | string} [level=1] (optional) the heading level, default: 1 + * + * @returns {Summary} summary instance + */ + addHeading(text, level) { + const tag = `h${level}`; + const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag) + ? tag + : 'h1'; + const element = this.wrap(allowedTag, text); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML thematic break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addSeparator() { + const element = this.wrap('hr', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML line break (
) to the summary buffer + * + * @returns {Summary} summary instance + */ + addBreak() { + const element = this.wrap('br', null); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML blockquote to the summary buffer + * + * @param {string} text quote text + * @param {string} cite (optional) citation url + * + * @returns {Summary} summary instance + */ + addQuote(text, cite) { + const attrs = Object.assign({}, (cite && { cite })); + const element = this.wrap('blockquote', text, attrs); + return this.addRaw(element).addEOL(); + } + /** + * Adds an HTML anchor tag to the summary buffer + * + * @param {string} text link text/content + * @param {string} href hyperlink + * + * @returns {Summary} summary instance + */ + addLink(text, href) { + const element = this.wrap('a', text, { href }); + return this.addRaw(element).addEOL(); + } +} +const _summary = new Summary(); +/** + * @deprecated use `core.summary` + */ +exports.markdownSummary = _summary; +exports.summary = _summary; +//# sourceMappingURL=summary.js.map + +/***/ }), + +/***/ 5278: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +// We use any as a valid input type +/* eslint-disable @typescript-eslint/no-explicit-any */ +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toCommandProperties = exports.toCommandValue = void 0; +/** + * Sanitizes an input into a string so it can be passed into issueCommand safely + * @param input input to sanitize into a string + */ +function toCommandValue(input) { + if (input === null || input === undefined) { + return ''; + } + else if (typeof input === 'string' || input instanceof String) { + return input; + } + return JSON.stringify(input); +} +exports.toCommandValue = toCommandValue; +/** + * + * @param annotationProperties + * @returns The command properties to send with the actual annotation command + * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646 + */ +function toCommandProperties(annotationProperties) { + if (!Object.keys(annotationProperties).length) { + return {}; + } + return { + title: annotationProperties.title, + file: annotationProperties.file, + line: annotationProperties.startLine, + endLine: annotationProperties.endLine, + col: annotationProperties.startColumn, + endColumn: annotationProperties.endColumn + }; +} +exports.toCommandProperties = toCommandProperties; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 1514: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getExecOutput = exports.exec = void 0; +const string_decoder_1 = __nccwpck_require__(1576); +const tr = __importStar(__nccwpck_require__(8159)); +/** + * Exec a command. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code + */ +function exec(commandLine, args, options) { + return __awaiter(this, void 0, void 0, function* () { + const commandArgs = tr.argStringToArray(commandLine); + if (commandArgs.length === 0) { + throw new Error(`Parameter 'commandLine' cannot be null or empty.`); + } + // Path to tool to execute should be first arg + const toolPath = commandArgs[0]; + args = commandArgs.slice(1).concat(args || []); + const runner = new tr.ToolRunner(toolPath, args, options); + return runner.exec(); + }); +} +exports.exec = exec; +/** + * Exec a command and get the output. + * Output will be streamed to the live console. + * Returns promise with the exit code and collected stdout and stderr + * + * @param commandLine command to execute (can include additional args). Must be correctly escaped. + * @param args optional arguments for tool. Escaping is handled by the lib. + * @param options optional exec options. See ExecOptions + * @returns Promise exit code, stdout, and stderr + */ +function getExecOutput(commandLine, args, options) { + var _a, _b; + return __awaiter(this, void 0, void 0, function* () { + let stdout = ''; + let stderr = ''; + //Using string decoder covers the case where a mult-byte character is split + const stdoutDecoder = new string_decoder_1.StringDecoder('utf8'); + const stderrDecoder = new string_decoder_1.StringDecoder('utf8'); + const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout; + const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr; + const stdErrListener = (data) => { + stderr += stderrDecoder.write(data); + if (originalStdErrListener) { + originalStdErrListener(data); + } + }; + const stdOutListener = (data) => { + stdout += stdoutDecoder.write(data); + if (originalStdoutListener) { + originalStdoutListener(data); + } + }; + const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener }); + const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners })); + //flush any remaining characters + stdout += stdoutDecoder.end(); + stderr += stderrDecoder.end(); + return { + exitCode, + stdout, + stderr + }; + }); +} +exports.getExecOutput = getExecOutput; +//# sourceMappingURL=exec.js.map + +/***/ }), + +/***/ 8159: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.argStringToArray = exports.ToolRunner = void 0; +const os = __importStar(__nccwpck_require__(2037)); +const events = __importStar(__nccwpck_require__(2361)); +const child = __importStar(__nccwpck_require__(2081)); +const path = __importStar(__nccwpck_require__(1017)); +const io = __importStar(__nccwpck_require__(7436)); +const ioUtil = __importStar(__nccwpck_require__(1962)); +const timers_1 = __nccwpck_require__(9512); +/* eslint-disable @typescript-eslint/unbound-method */ +const IS_WINDOWS = process.platform === 'win32'; +/* + * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way. + */ +class ToolRunner extends events.EventEmitter { + constructor(toolPath, args, options) { + super(); + if (!toolPath) { + throw new Error("Parameter 'toolPath' cannot be null or empty."); + } + this.toolPath = toolPath; + this.args = args || []; + this.options = options || {}; + } + _debug(message) { + if (this.options.listeners && this.options.listeners.debug) { + this.options.listeners.debug(message); + } + } + _getCommandString(options, noPrefix) { + const toolPath = this._getSpawnFileName(); + const args = this._getSpawnArgs(options); + let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool + if (IS_WINDOWS) { + // Windows + cmd file + if (this._isCmdFile()) { + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows + verbatim + else if (options.windowsVerbatimArguments) { + cmd += `"${toolPath}"`; + for (const a of args) { + cmd += ` ${a}`; + } + } + // Windows (regular) + else { + cmd += this._windowsQuoteCmdArg(toolPath); + for (const a of args) { + cmd += ` ${this._windowsQuoteCmdArg(a)}`; + } + } + } + else { + // OSX/Linux - this can likely be improved with some form of quoting. + // creating processes on Unix is fundamentally different than Windows. + // on Unix, execvp() takes an arg array. + cmd += toolPath; + for (const a of args) { + cmd += ` ${a}`; + } + } + return cmd; + } + _processLineBuffer(data, strBuffer, onLine) { + try { + let s = strBuffer + data.toString(); + let n = s.indexOf(os.EOL); + while (n > -1) { + const line = s.substring(0, n); + onLine(line); + // the rest of the string ... + s = s.substring(n + os.EOL.length); + n = s.indexOf(os.EOL); + } + return s; + } + catch (err) { + // streaming lines to console is best effort. Don't fail a build. + this._debug(`error processing line. Failed with error ${err}`); + return ''; + } + } + _getSpawnFileName() { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + return process.env['COMSPEC'] || 'cmd.exe'; + } + } + return this.toolPath; + } + _getSpawnArgs(options) { + if (IS_WINDOWS) { + if (this._isCmdFile()) { + let argline = `/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`; + for (const a of this.args) { + argline += ' '; + argline += options.windowsVerbatimArguments + ? a + : this._windowsQuoteCmdArg(a); + } + argline += '"'; + return [argline]; + } + } + return this.args; + } + _endsWith(str, end) { + return str.endsWith(end); + } + _isCmdFile() { + const upperToolPath = this.toolPath.toUpperCase(); + return (this._endsWith(upperToolPath, '.CMD') || + this._endsWith(upperToolPath, '.BAT')); + } + _windowsQuoteCmdArg(arg) { + // for .exe, apply the normal quoting rules that libuv applies + if (!this._isCmdFile()) { + return this._uvQuoteCmdArg(arg); + } + // otherwise apply quoting rules specific to the cmd.exe command line parser. + // the libuv rules are generic and are not designed specifically for cmd.exe + // command line parser. + // + // for a detailed description of the cmd.exe command line parser, refer to + // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912 + // need quotes for empty arg + if (!arg) { + return '""'; + } + // determine whether the arg needs to be quoted + const cmdSpecialChars = [ + ' ', + '\t', + '&', + '(', + ')', + '[', + ']', + '{', + '}', + '^', + '=', + ';', + '!', + "'", + '+', + ',', + '`', + '~', + '|', + '<', + '>', + '"' + ]; + let needsQuotes = false; + for (const char of arg) { + if (cmdSpecialChars.some(x => x === char)) { + needsQuotes = true; + break; + } + } + // short-circuit if quotes not needed + if (!needsQuotes) { + return arg; + } + // the following quoting rules are very similar to the rules that by libuv applies. + // + // 1) wrap the string in quotes + // + // 2) double-up quotes - i.e. " => "" + // + // this is different from the libuv quoting rules. libuv replaces " with \", which unfortunately + // doesn't work well with a cmd.exe command line. + // + // note, replacing " with "" also works well if the arg is passed to a downstream .NET console app. + // for example, the command line: + // foo.exe "myarg:""my val""" + // is parsed by a .NET console app into an arg array: + // [ "myarg:\"my val\"" ] + // which is the same end result when applying libuv quoting rules. although the actual + // command line from libuv quoting rules would look like: + // foo.exe "myarg:\"my val\"" + // + // 3) double-up slashes that precede a quote, + // e.g. hello \world => "hello \world" + // hello\"world => "hello\\""world" + // hello\\"world => "hello\\\\""world" + // hello world\ => "hello world\\" + // + // technically this is not required for a cmd.exe command line, or the batch argument parser. + // the reasons for including this as a .cmd quoting rule are: + // + // a) this is optimized for the scenario where the argument is passed from the .cmd file to an + // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule. + // + // b) it's what we've been doing previously (by deferring to node default behavior) and we + // haven't heard any complaints about that aspect. + // + // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be + // escaped when used on the command line directly - even though within a .cmd file % can be escaped + // by using %%. + // + // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts + // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing. + // + // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would + // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the + // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args + // to an external program. + // + // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file. + // % can be escaped within a .cmd file. + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; // double the slash + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '"'; // double the quote + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _uvQuoteCmdArg(arg) { + // Tool runner wraps child_process.spawn() and needs to apply the same quoting as + // Node in certain cases where the undocumented spawn option windowsVerbatimArguments + // is used. + // + // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV, + // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details), + // pasting copyright notice from Node within this function: + // + // Copyright Joyent, Inc. and other Node contributors. All rights reserved. + // + // Permission is hereby granted, free of charge, to any person obtaining a copy + // of this software and associated documentation files (the "Software"), to + // deal in the Software without restriction, including without limitation the + // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + // sell copies of the Software, and to permit persons to whom the Software is + // furnished to do so, subject to the following conditions: + // + // The above copyright notice and this permission notice shall be included in + // all copies or substantial portions of the Software. + // + // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + // IN THE SOFTWARE. + if (!arg) { + // Need double quotation for empty argument + return '""'; + } + if (!arg.includes(' ') && !arg.includes('\t') && !arg.includes('"')) { + // No quotation needed + return arg; + } + if (!arg.includes('"') && !arg.includes('\\')) { + // No embedded double quotes or backslashes, so I can just wrap + // quote marks around the whole thing. + return `"${arg}"`; + } + // Expected input/output: + // input : hello"world + // output: "hello\"world" + // input : hello""world + // output: "hello\"\"world" + // input : hello\world + // output: hello\world + // input : hello\\world + // output: hello\\world + // input : hello\"world + // output: "hello\\\"world" + // input : hello\\"world + // output: "hello\\\\\"world" + // input : hello world\ + // output: "hello world\\" - note the comment in libuv actually reads "hello world\" + // but it appears the comment is wrong, it should be "hello world\\" + let reverse = '"'; + let quoteHit = true; + for (let i = arg.length; i > 0; i--) { + // walk the string in reverse + reverse += arg[i - 1]; + if (quoteHit && arg[i - 1] === '\\') { + reverse += '\\'; + } + else if (arg[i - 1] === '"') { + quoteHit = true; + reverse += '\\'; + } + else { + quoteHit = false; + } + } + reverse += '"'; + return reverse + .split('') + .reverse() + .join(''); + } + _cloneExecOptions(options) { + options = options || {}; + const result = { + cwd: options.cwd || process.cwd(), + env: options.env || process.env, + silent: options.silent || false, + windowsVerbatimArguments: options.windowsVerbatimArguments || false, + failOnStdErr: options.failOnStdErr || false, + ignoreReturnCode: options.ignoreReturnCode || false, + delay: options.delay || 10000 + }; + result.outStream = options.outStream || process.stdout; + result.errStream = options.errStream || process.stderr; + return result; + } + _getSpawnOptions(options, toolPath) { + options = options || {}; + const result = {}; + result.cwd = options.cwd; + result.env = options.env; + result['windowsVerbatimArguments'] = + options.windowsVerbatimArguments || this._isCmdFile(); + if (options.windowsVerbatimArguments) { + result.argv0 = `"${toolPath}"`; + } + return result; + } + /** + * Exec a tool. + * Output will be streamed to the live console. + * Returns promise with return code + * + * @param tool path to tool to exec + * @param options optional exec options. See ExecOptions + * @returns number + */ + exec() { + return __awaiter(this, void 0, void 0, function* () { + // root the tool path if it is unrooted and contains relative pathing + if (!ioUtil.isRooted(this.toolPath) && + (this.toolPath.includes('/') || + (IS_WINDOWS && this.toolPath.includes('\\')))) { + // prefer options.cwd if it is specified, however options.cwd may also need to be rooted + this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath); + } + // if the tool is only a file name, then resolve it from the PATH + // otherwise verify it exists (add extension on Windows if necessary) + this.toolPath = yield io.which(this.toolPath, true); + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + this._debug(`exec tool: ${this.toolPath}`); + this._debug('arguments:'); + for (const arg of this.args) { + this._debug(` ${arg}`); + } + const optionsNonNull = this._cloneExecOptions(this.options); + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL); + } + const state = new ExecState(optionsNonNull, this.toolPath); + state.on('debug', (message) => { + this._debug(message); + }); + if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) { + return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`)); + } + const fileName = this._getSpawnFileName(); + const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName)); + let stdbuffer = ''; + if (cp.stdout) { + cp.stdout.on('data', (data) => { + if (this.options.listeners && this.options.listeners.stdout) { + this.options.listeners.stdout(data); + } + if (!optionsNonNull.silent && optionsNonNull.outStream) { + optionsNonNull.outStream.write(data); + } + stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => { + if (this.options.listeners && this.options.listeners.stdline) { + this.options.listeners.stdline(line); + } + }); + }); + } + let errbuffer = ''; + if (cp.stderr) { + cp.stderr.on('data', (data) => { + state.processStderr = true; + if (this.options.listeners && this.options.listeners.stderr) { + this.options.listeners.stderr(data); + } + if (!optionsNonNull.silent && + optionsNonNull.errStream && + optionsNonNull.outStream) { + const s = optionsNonNull.failOnStdErr + ? optionsNonNull.errStream + : optionsNonNull.outStream; + s.write(data); + } + errbuffer = this._processLineBuffer(data, errbuffer, (line) => { + if (this.options.listeners && this.options.listeners.errline) { + this.options.listeners.errline(line); + } + }); + }); + } + cp.on('error', (err) => { + state.processError = err.message; + state.processExited = true; + state.processClosed = true; + state.CheckComplete(); + }); + cp.on('exit', (code) => { + state.processExitCode = code; + state.processExited = true; + this._debug(`Exit code ${code} received from tool '${this.toolPath}'`); + state.CheckComplete(); + }); + cp.on('close', (code) => { + state.processExitCode = code; + state.processExited = true; + state.processClosed = true; + this._debug(`STDIO streams have closed for tool '${this.toolPath}'`); + state.CheckComplete(); + }); + state.on('done', (error, exitCode) => { + if (stdbuffer.length > 0) { + this.emit('stdline', stdbuffer); + } + if (errbuffer.length > 0) { + this.emit('errline', errbuffer); + } + cp.removeAllListeners(); + if (error) { + reject(error); + } + else { + resolve(exitCode); + } + }); + if (this.options.input) { + if (!cp.stdin) { + throw new Error('child process missing stdin'); + } + cp.stdin.end(this.options.input); + } + })); + }); + } +} +exports.ToolRunner = ToolRunner; +/** + * Convert an arg string to an array of args. Handles escaping + * + * @param argString string of arguments + * @returns string[] array of arguments + */ +function argStringToArray(argString) { + const args = []; + let inQuotes = false; + let escaped = false; + let arg = ''; + function append(c) { + // we only escape double quotes. + if (escaped && c !== '"') { + arg += '\\'; + } + arg += c; + escaped = false; + } + for (let i = 0; i < argString.length; i++) { + const c = argString.charAt(i); + if (c === '"') { + if (!escaped) { + inQuotes = !inQuotes; + } + else { + append(c); + } + continue; + } + if (c === '\\' && escaped) { + append(c); + continue; + } + if (c === '\\' && inQuotes) { + escaped = true; + continue; + } + if (c === ' ' && !inQuotes) { + if (arg.length > 0) { + args.push(arg); + arg = ''; + } + continue; + } + append(c); + } + if (arg.length > 0) { + args.push(arg.trim()); + } + return args; +} +exports.argStringToArray = argStringToArray; +class ExecState extends events.EventEmitter { + constructor(options, toolPath) { + super(); + this.processClosed = false; // tracks whether the process has exited and stdio is closed + this.processError = ''; + this.processExitCode = 0; + this.processExited = false; // tracks whether the process has exited + this.processStderr = false; // tracks whether stderr was written to + this.delay = 10000; // 10 seconds + this.done = false; + this.timeout = null; + if (!toolPath) { + throw new Error('toolPath must not be empty'); + } + this.options = options; + this.toolPath = toolPath; + if (options.delay) { + this.delay = options.delay; + } + } + CheckComplete() { + if (this.done) { + return; + } + if (this.processClosed) { + this._setResult(); + } + else if (this.processExited) { + this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this); + } + } + _debug(message) { + this.emit('debug', message); + } + _setResult() { + // determine whether there is an error + let error; + if (this.processExited) { + if (this.processError) { + error = new Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`); + } + else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) { + error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`); + } + else if (this.processStderr && this.options.failOnStdErr) { + error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`); + } + } + // clear the timeout + if (this.timeout) { + clearTimeout(this.timeout); + this.timeout = null; + } + this.done = true; + this.emit('done', error, this.processExitCode); + } + static HandleTimeout(state) { + if (state.done) { + return; + } + if (!state.processClosed && state.processExited) { + const message = `The STDIO streams did not close within ${state.delay / + 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`; + state._debug(message); + } + state._setResult(); + } +} +//# sourceMappingURL=toolrunner.js.map + +/***/ }), + +/***/ 5526: +/***/ (function(__unused_webpack_module, exports) { + +"use strict"; + +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0; +class BasicCredentialHandler { + constructor(username, password) { + this.username = username; + this.password = password; + } + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.BasicCredentialHandler = BasicCredentialHandler; +class BearerCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Bearer ${this.token}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.BearerCredentialHandler = BearerCredentialHandler; +class PersonalAccessTokenCredentialHandler { + constructor(token) { + this.token = token; + } + // currently implements pre-authorization + // TODO: support preAuth = false where it hooks on 401 + prepareRequest(options) { + if (!options.headers) { + throw Error('The request has no headers'); + } + options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`; + } + // This handler cannot handle 401 + canHandleAuthentication() { + return false; + } + handleAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + throw new Error('not implemented'); + }); + } +} +exports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler; +//# sourceMappingURL=auth.js.map + +/***/ }), + +/***/ 6255: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +/* eslint-disable @typescript-eslint/no-explicit-any */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +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__(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"; + HttpCodes[HttpCodes["MultipleChoices"] = 300] = "MultipleChoices"; + HttpCodes[HttpCodes["MovedPermanently"] = 301] = "MovedPermanently"; + HttpCodes[HttpCodes["ResourceMoved"] = 302] = "ResourceMoved"; + HttpCodes[HttpCodes["SeeOther"] = 303] = "SeeOther"; + HttpCodes[HttpCodes["NotModified"] = 304] = "NotModified"; + HttpCodes[HttpCodes["UseProxy"] = 305] = "UseProxy"; + HttpCodes[HttpCodes["SwitchProxy"] = 306] = "SwitchProxy"; + HttpCodes[HttpCodes["TemporaryRedirect"] = 307] = "TemporaryRedirect"; + HttpCodes[HttpCodes["PermanentRedirect"] = 308] = "PermanentRedirect"; + HttpCodes[HttpCodes["BadRequest"] = 400] = "BadRequest"; + HttpCodes[HttpCodes["Unauthorized"] = 401] = "Unauthorized"; + HttpCodes[HttpCodes["PaymentRequired"] = 402] = "PaymentRequired"; + HttpCodes[HttpCodes["Forbidden"] = 403] = "Forbidden"; + HttpCodes[HttpCodes["NotFound"] = 404] = "NotFound"; + HttpCodes[HttpCodes["MethodNotAllowed"] = 405] = "MethodNotAllowed"; + HttpCodes[HttpCodes["NotAcceptable"] = 406] = "NotAcceptable"; + HttpCodes[HttpCodes["ProxyAuthenticationRequired"] = 407] = "ProxyAuthenticationRequired"; + HttpCodes[HttpCodes["RequestTimeout"] = 408] = "RequestTimeout"; + HttpCodes[HttpCodes["Conflict"] = 409] = "Conflict"; + HttpCodes[HttpCodes["Gone"] = 410] = "Gone"; + HttpCodes[HttpCodes["TooManyRequests"] = 429] = "TooManyRequests"; + HttpCodes[HttpCodes["InternalServerError"] = 500] = "InternalServerError"; + HttpCodes[HttpCodes["NotImplemented"] = 501] = "NotImplemented"; + HttpCodes[HttpCodes["BadGateway"] = 502] = "BadGateway"; + HttpCodes[HttpCodes["ServiceUnavailable"] = 503] = "ServiceUnavailable"; + HttpCodes[HttpCodes["GatewayTimeout"] = 504] = "GatewayTimeout"; +})(HttpCodes || (exports.HttpCodes = HttpCodes = {})); +var Headers; +(function (Headers) { + Headers["Accept"] = "accept"; + Headers["ContentType"] = "content-type"; +})(Headers || (exports.Headers = Headers = {})); +var MediaTypes; +(function (MediaTypes) { + MediaTypes["ApplicationJson"] = "application/json"; +})(MediaTypes || (exports.MediaTypes = MediaTypes = {})); +/** + * Returns the proxy URL, depending upon the supplied url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ +function getProxyUrl(serverUrl) { + const proxyUrl = pm.getProxyUrl(new URL(serverUrl)); + return proxyUrl ? proxyUrl.href : ''; +} +exports.getProxyUrl = getProxyUrl; +const HttpRedirectCodes = [ + HttpCodes.MovedPermanently, + HttpCodes.ResourceMoved, + HttpCodes.SeeOther, + HttpCodes.TemporaryRedirect, + HttpCodes.PermanentRedirect +]; +const HttpResponseRetryCodes = [ + HttpCodes.BadGateway, + HttpCodes.ServiceUnavailable, + HttpCodes.GatewayTimeout +]; +const RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD']; +const ExponentialBackoffCeiling = 10; +const ExponentialBackoffTimeSlice = 5; +class HttpClientError extends Error { + constructor(message, statusCode) { + super(message); + this.name = 'HttpClientError'; + this.statusCode = statusCode; + Object.setPrototypeOf(this, HttpClientError.prototype); + } +} +exports.HttpClientError = HttpClientError; +class HttpClientResponse { + constructor(message) { + this.message = message; + } + readBody() { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { + let output = Buffer.alloc(0); + this.message.on('data', (chunk) => { + output = Buffer.concat([output, chunk]); + }); + this.message.on('end', () => { + resolve(output.toString()); + }); + })); + }); + } + readBodyBuffer() { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () { + const chunks = []; + this.message.on('data', (chunk) => { + chunks.push(chunk); + }); + this.message.on('end', () => { + resolve(Buffer.concat(chunks)); + }); + })); + }); + } +} +exports.HttpClientResponse = HttpClientResponse; +function isHttps(requestUrl) { + const parsedUrl = new URL(requestUrl); + return parsedUrl.protocol === 'https:'; +} +exports.isHttps = isHttps; +class HttpClient { + constructor(userAgent, handlers, requestOptions) { + this._ignoreSslError = false; + this._allowRedirects = true; + this._allowRedirectDowngrade = false; + this._maxRedirects = 50; + this._allowRetries = false; + this._maxRetries = 1; + this._keepAlive = false; + this._disposed = false; + this.userAgent = userAgent; + this.handlers = handlers || []; + this.requestOptions = requestOptions; + if (requestOptions) { + if (requestOptions.ignoreSslError != null) { + this._ignoreSslError = requestOptions.ignoreSslError; + } + this._socketTimeout = requestOptions.socketTimeout; + if (requestOptions.allowRedirects != null) { + this._allowRedirects = requestOptions.allowRedirects; + } + if (requestOptions.allowRedirectDowngrade != null) { + this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade; + } + if (requestOptions.maxRedirects != null) { + this._maxRedirects = Math.max(requestOptions.maxRedirects, 0); + } + if (requestOptions.keepAlive != null) { + this._keepAlive = requestOptions.keepAlive; + } + if (requestOptions.allowRetries != null) { + this._allowRetries = requestOptions.allowRetries; + } + if (requestOptions.maxRetries != null) { + this._maxRetries = requestOptions.maxRetries; + } + } + } + options(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('OPTIONS', requestUrl, null, additionalHeaders || {}); + }); + } + get(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('GET', requestUrl, null, additionalHeaders || {}); + }); + } + del(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('DELETE', requestUrl, null, additionalHeaders || {}); + }); + } + post(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('POST', requestUrl, data, additionalHeaders || {}); + }); + } + patch(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('PATCH', requestUrl, data, additionalHeaders || {}); + }); + } + put(requestUrl, data, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('PUT', requestUrl, data, additionalHeaders || {}); + }); + } + head(requestUrl, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request('HEAD', requestUrl, null, additionalHeaders || {}); + }); + } + sendStream(verb, requestUrl, stream, additionalHeaders) { + return __awaiter(this, void 0, void 0, function* () { + return this.request(verb, requestUrl, stream, additionalHeaders); + }); + } + /** + * Gets a typed object from an endpoint + * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise + */ + getJson(requestUrl, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + const res = yield this.get(requestUrl, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + postJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.post(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + putJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.put(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + patchJson(requestUrl, obj, additionalHeaders = {}) { + return __awaiter(this, void 0, void 0, function* () { + const data = JSON.stringify(obj, null, 2); + additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson); + additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson); + const res = yield this.patch(requestUrl, data, additionalHeaders); + return this._processResponse(res, this.requestOptions); + }); + } + /** + * Makes a raw http request. + * All other methods such as get, post, patch, and request ultimately call this. + * Prefer get, del, post and patch + */ + request(verb, requestUrl, data, headers) { + return __awaiter(this, void 0, void 0, function* () { + if (this._disposed) { + throw new Error('Client has already been disposed.'); + } + const parsedUrl = new URL(requestUrl); + let info = this._prepareRequest(verb, parsedUrl, headers); + // Only perform retries on reads since writes may not be idempotent. + const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb) + ? this._maxRetries + 1 + : 1; + let numTries = 0; + let response; + do { + response = yield this.requestRaw(info, data); + // Check if it's an authentication challenge + if (response && + response.message && + response.message.statusCode === HttpCodes.Unauthorized) { + let authenticationHandler; + for (const handler of this.handlers) { + if (handler.canHandleAuthentication(response)) { + authenticationHandler = handler; + break; + } + } + if (authenticationHandler) { + return authenticationHandler.handleAuthentication(this, info, data); + } + else { + // We have received an unauthorized response but have no handlers to handle it. + // Let the response return to the caller. + return response; + } + } + let redirectsRemaining = this._maxRedirects; + while (response.message.statusCode && + HttpRedirectCodes.includes(response.message.statusCode) && + this._allowRedirects && + redirectsRemaining > 0) { + const redirectUrl = response.message.headers['location']; + if (!redirectUrl) { + // if there's no location to redirect to, we won't + break; + } + const parsedRedirectUrl = new URL(redirectUrl); + if (parsedUrl.protocol === 'https:' && + parsedUrl.protocol !== parsedRedirectUrl.protocol && + !this._allowRedirectDowngrade) { + throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.'); + } + // we need to finish reading the response before reassigning response + // which will leak the open socket. + yield response.readBody(); + // strip authorization header if redirected to a different hostname + if (parsedRedirectUrl.hostname !== parsedUrl.hostname) { + for (const header in headers) { + // header names are case insensitive + if (header.toLowerCase() === 'authorization') { + delete headers[header]; + } + } + } + // let's make the request with the new redirectUrl + info = this._prepareRequest(verb, parsedRedirectUrl, headers); + response = yield this.requestRaw(info, data); + redirectsRemaining--; + } + if (!response.message.statusCode || + !HttpResponseRetryCodes.includes(response.message.statusCode)) { + // If not a retry code, return immediately instead of retrying + return response; + } + numTries += 1; + if (numTries < maxTries) { + yield response.readBody(); + yield this._performExponentialBackoff(numTries); + } + } while (numTries < maxTries); + return response; + }); + } + /** + * Needs to be called if keepAlive is set to true in request options. + */ + dispose() { + if (this._agent) { + this._agent.destroy(); + } + this._disposed = true; + } + /** + * Raw request. + * @param info + * @param data + */ + requestRaw(info, data) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => { + function callbackForResult(err, res) { + if (err) { + reject(err); + } + else if (!res) { + // If `err` is not passed, then `res` must be passed. + reject(new Error('Unknown error')); + } + else { + resolve(res); + } + } + this.requestRawWithCallback(info, data, callbackForResult); + }); + }); + } + /** + * Raw request with callback. + * @param info + * @param data + * @param onResult + */ + requestRawWithCallback(info, data, onResult) { + if (typeof data === 'string') { + if (!info.options.headers) { + info.options.headers = {}; + } + info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8'); + } + let callbackCalled = false; + function handleResult(err, res) { + if (!callbackCalled) { + callbackCalled = true; + onResult(err, res); + } + } + const req = info.httpModule.request(info.options, (msg) => { + const res = new HttpClientResponse(msg); + handleResult(undefined, res); + }); + let socket; + req.on('socket', sock => { + socket = sock; + }); + // If we ever get disconnected, we want the socket to timeout eventually + req.setTimeout(this._socketTimeout || 3 * 60000, () => { + if (socket) { + socket.end(); + } + handleResult(new Error(`Request timeout: ${info.options.path}`)); + }); + req.on('error', function (err) { + // err has statusCode property + // res should have headers + handleResult(err); + }); + if (data && typeof data === 'string') { + req.write(data, 'utf8'); + } + if (data && typeof data !== 'string') { + data.on('close', function () { + req.end(); + }); + data.pipe(req); + } + else { + req.end(); + } + } + /** + * Gets an http agent. This function is useful when you need an http agent that handles + * routing through a proxy server - depending upon the url and proxy environment variables. + * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com + */ + getAgent(serverUrl) { + const parsedUrl = new URL(serverUrl); + return this._getAgent(parsedUrl); + } + getAgentDispatcher(serverUrl) { + const parsedUrl = new URL(serverUrl); + const proxyUrl = pm.getProxyUrl(parsedUrl); + const useProxy = proxyUrl && proxyUrl.hostname; + if (!useProxy) { + return; + } + return this._getProxyAgentDispatcher(parsedUrl, proxyUrl); + } + _prepareRequest(method, requestUrl, headers) { + const info = {}; + info.parsedUrl = requestUrl; + const usingSsl = info.parsedUrl.protocol === 'https:'; + info.httpModule = usingSsl ? https : http; + const defaultPort = usingSsl ? 443 : 80; + info.options = {}; + info.options.host = info.parsedUrl.hostname; + info.options.port = info.parsedUrl.port + ? parseInt(info.parsedUrl.port) + : defaultPort; + info.options.path = + (info.parsedUrl.pathname || '') + (info.parsedUrl.search || ''); + info.options.method = method; + info.options.headers = this._mergeHeaders(headers); + if (this.userAgent != null) { + info.options.headers['user-agent'] = this.userAgent; + } + info.options.agent = this._getAgent(info.parsedUrl); + // gives handlers an opportunity to participate + if (this.handlers) { + for (const handler of this.handlers) { + handler.prepareRequest(info.options); + } + } + return info; + } + _mergeHeaders(headers) { + if (this.requestOptions && this.requestOptions.headers) { + return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {})); + } + return lowercaseKeys(headers || {}); + } + _getExistingOrDefaultHeader(additionalHeaders, header, _default) { + let clientHeader; + if (this.requestOptions && this.requestOptions.headers) { + clientHeader = lowercaseKeys(this.requestOptions.headers)[header]; + } + return additionalHeaders[header] || clientHeader || _default; + } + _getAgent(parsedUrl) { + let agent; + const proxyUrl = pm.getProxyUrl(parsedUrl); + const useProxy = proxyUrl && proxyUrl.hostname; + if (this._keepAlive && useProxy) { + agent = this._proxyAgent; + } + if (!useProxy) { + agent = this._agent; + } + // if agent is already assigned use that agent. + if (agent) { + return agent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + let maxSockets = 100; + if (this.requestOptions) { + maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets; + } + // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis. + if (proxyUrl && proxyUrl.hostname) { + const agentOptions = { + maxSockets, + keepAlive: this._keepAlive, + proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && { + proxyAuth: `${proxyUrl.username}:${proxyUrl.password}` + })), { host: proxyUrl.hostname, port: proxyUrl.port }) + }; + let tunnelAgent; + const overHttps = proxyUrl.protocol === 'https:'; + if (usingSsl) { + tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp; + } + else { + tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp; + } + agent = tunnelAgent(agentOptions); + this._proxyAgent = agent; + } + // if tunneling agent isn't assigned create a new agent + if (!agent) { + const options = { keepAlive: this._keepAlive, maxSockets }; + agent = usingSsl ? new https.Agent(options) : new http.Agent(options); + this._agent = agent; + } + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + agent.options = Object.assign(agent.options || {}, { + rejectUnauthorized: false + }); + } + return agent; + } + _getProxyAgentDispatcher(parsedUrl, proxyUrl) { + let proxyAgent; + if (this._keepAlive) { + proxyAgent = this._proxyAgentDispatcher; + } + // if agent is already assigned use that agent. + if (proxyAgent) { + return proxyAgent; + } + const usingSsl = parsedUrl.protocol === 'https:'; + proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && { + token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}` + }))); + this._proxyAgentDispatcher = proxyAgent; + if (usingSsl && this._ignoreSslError) { + // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process + // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options + // we have to cast it to any and change it directly + proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, { + rejectUnauthorized: false + }); + } + return proxyAgent; + } + _performExponentialBackoff(retryNumber) { + return __awaiter(this, void 0, void 0, function* () { + retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber); + const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber); + return new Promise(resolve => setTimeout(() => resolve(), ms)); + }); + } + _processResponse(res, options) { + return __awaiter(this, void 0, void 0, function* () { + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + const statusCode = res.message.statusCode || 0; + const response = { + statusCode, + result: null, + headers: {} + }; + // not found leads to null obj returned + if (statusCode === HttpCodes.NotFound) { + resolve(response); + } + // get the result from the body + function dateTimeDeserializer(key, value) { + if (typeof value === 'string') { + const a = new Date(value); + if (!isNaN(a.valueOf())) { + return a; + } + } + return value; + } + let obj; + let contents; + try { + contents = yield res.readBody(); + if (contents && contents.length > 0) { + if (options && options.deserializeDates) { + obj = JSON.parse(contents, dateTimeDeserializer); + } + else { + obj = JSON.parse(contents); + } + response.result = obj; + } + response.headers = res.message.headers; + } + catch (err) { + // Invalid resource (contents not json); leaving result obj null + } + // note that 3xx redirects are handled by the http layer. + if (statusCode > 299) { + let msg; + // if exception/error in body, attempt to get better error + if (obj && obj.message) { + msg = obj.message; + } + else if (contents && contents.length > 0) { + // it may be the case that the exception is in the body message as string + msg = contents; + } + else { + msg = `Failed request: (${statusCode})`; + } + const err = new HttpClientError(msg, statusCode); + err.result = response.result; + reject(err); + } + else { + resolve(response); + } + })); + }); + } +} +exports.HttpClient = HttpClient; +const lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {}); +//# sourceMappingURL=index.js.map + +/***/ }), + +/***/ 9835: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkBypass = exports.getProxyUrl = void 0; +function getProxyUrl(reqUrl) { + const usingSsl = reqUrl.protocol === 'https:'; + if (checkBypass(reqUrl)) { + return undefined; + } + const proxyVar = (() => { + if (usingSsl) { + return process.env['https_proxy'] || process.env['HTTPS_PROXY']; + } + else { + return process.env['http_proxy'] || process.env['HTTP_PROXY']; + } + })(); + if (proxyVar) { + try { + return new DecodedURL(proxyVar); + } + catch (_a) { + if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://')) + return new DecodedURL(`http://${proxyVar}`); + } + } + else { + return undefined; + } +} +exports.getProxyUrl = getProxyUrl; +function checkBypass(reqUrl) { + if (!reqUrl.hostname) { + return false; + } + const reqHost = reqUrl.hostname; + if (isLoopbackAddress(reqHost)) { + return true; + } + const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || ''; + if (!noProxy) { + return false; + } + // Determine the request port + let reqPort; + if (reqUrl.port) { + reqPort = Number(reqUrl.port); + } + else if (reqUrl.protocol === 'http:') { + reqPort = 80; + } + else if (reqUrl.protocol === 'https:') { + reqPort = 443; + } + // Format the request hostname and hostname with port + const upperReqHosts = [reqUrl.hostname.toUpperCase()]; + if (typeof reqPort === 'number') { + upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`); + } + // Compare request host against noproxy + for (const upperNoProxyItem of noProxy + .split(',') + .map(x => x.trim().toUpperCase()) + .filter(x => x)) { + if (upperNoProxyItem === '*' || + upperReqHosts.some(x => x === upperNoProxyItem || + x.endsWith(`.${upperNoProxyItem}`) || + (upperNoProxyItem.startsWith('.') && + x.endsWith(`${upperNoProxyItem}`)))) { + return true; + } + } + return false; +} +exports.checkBypass = checkBypass; +function isLoopbackAddress(host) { + const hostLower = host.toLowerCase(); + return (hostLower === 'localhost' || + hostLower.startsWith('127.') || + hostLower.startsWith('[::1]') || + hostLower.startsWith('[0:0:0:0:0:0:0:1]')); +} +class DecodedURL extends URL { + constructor(url, base) { + super(url, base); + this._decodedUsername = decodeURIComponent(super.username); + this._decodedPassword = decodeURIComponent(super.password); + } + get username() { + return this._decodedUsername; + } + get password() { + return this._decodedPassword; + } +} +//# sourceMappingURL=proxy.js.map + +/***/ }), + +/***/ 1962: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +var _a; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0; +const fs = __importStar(__nccwpck_require__(7147)); +const path = __importStar(__nccwpck_require__(1017)); +_a = fs.promises +// export const {open} = 'fs' +, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink; +// export const {open} = 'fs' +exports.IS_WINDOWS = process.platform === 'win32'; +// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691 +exports.UV_FS_O_EXLOCK = 0x10000000; +exports.READONLY = fs.constants.O_RDONLY; +function exists(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + try { + yield exports.stat(fsPath); + } + catch (err) { + if (err.code === 'ENOENT') { + return false; + } + throw err; + } + return true; + }); +} +exports.exists = exists; +function isDirectory(fsPath, useStat = false) { + return __awaiter(this, void 0, void 0, function* () { + const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath); + return stats.isDirectory(); + }); +} +exports.isDirectory = isDirectory; +/** + * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like: + * \, \hello, \\hello\share, C:, and C:\hello (and corresponding alternate separator cases). + */ +function isRooted(p) { + p = normalizeSeparators(p); + if (!p) { + throw new Error('isRooted() parameter "p" cannot be empty'); + } + if (exports.IS_WINDOWS) { + return (p.startsWith('\\') || /^[A-Z]:/i.test(p) // e.g. \ or \hello or \\hello + ); // e.g. C: or C:\hello + } + return p.startsWith('/'); +} +exports.isRooted = isRooted; +/** + * Best effort attempt to determine whether a file exists and is executable. + * @param filePath file path to check + * @param extensions additional file extensions to try + * @return if file exists and is executable, returns the file path. otherwise empty string. + */ +function tryGetExecutablePath(filePath, extensions) { + return __awaiter(this, void 0, void 0, function* () { + let stats = undefined; + try { + // test file exists + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // on Windows, test for valid extension + const upperExt = path.extname(filePath).toUpperCase(); + if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) { + return filePath; + } + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + // try each extension + const originalFilePath = filePath; + for (const extension of extensions) { + filePath = originalFilePath + extension; + stats = undefined; + try { + stats = yield exports.stat(filePath); + } + catch (err) { + if (err.code !== 'ENOENT') { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`); + } + } + if (stats && stats.isFile()) { + if (exports.IS_WINDOWS) { + // preserve the case of the actual file (since an extension was appended) + try { + const directory = path.dirname(filePath); + const upperName = path.basename(filePath).toUpperCase(); + for (const actualName of yield exports.readdir(directory)) { + if (upperName === actualName.toUpperCase()) { + filePath = path.join(directory, actualName); + break; + } + } + } + catch (err) { + // eslint-disable-next-line no-console + console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`); + } + return filePath; + } + else { + if (isUnixExecutable(stats)) { + return filePath; + } + } + } + } + return ''; + }); +} +exports.tryGetExecutablePath = tryGetExecutablePath; +function normalizeSeparators(p) { + p = p || ''; + if (exports.IS_WINDOWS) { + // convert slashes on Windows + p = p.replace(/\//g, '\\'); + // remove redundant slashes + return p.replace(/\\\\+/g, '\\'); + } + // remove redundant slashes + return p.replace(/\/\/+/g, '/'); +} +// on Mac/Linux, test the execute bit +// R W X R W X R W X +// 256 128 64 32 16 8 4 2 1 +function isUnixExecutable(stats) { + return ((stats.mode & 1) > 0 || + ((stats.mode & 8) > 0 && stats.gid === process.getgid()) || + ((stats.mode & 64) > 0 && stats.uid === process.getuid())); +} +// Get the path of cmd.exe in windows +function getCmdPath() { + var _a; + return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`; +} +exports.getCmdPath = getCmdPath; +//# sourceMappingURL=io-util.js.map + +/***/ }), + +/***/ 7436: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0; +const assert_1 = __nccwpck_require__(9491); +const path = __importStar(__nccwpck_require__(1017)); +const ioUtil = __importStar(__nccwpck_require__(1962)); +/** + * Copies a file or folder. + * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js + * + * @param source source path + * @param dest destination path + * @param options optional. See CopyOptions. + */ +function cp(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + const { force, recursive, copySourceDirectory } = readCopyOptions(options); + const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null; + // Dest is an existing file, but not forcing + if (destStat && destStat.isFile() && !force) { + return; + } + // If dest is an existing directory, should copy inside. + const newDest = destStat && destStat.isDirectory() && copySourceDirectory + ? path.join(dest, path.basename(source)) + : dest; + if (!(yield ioUtil.exists(source))) { + throw new Error(`no such file or directory: ${source}`); + } + const sourceStat = yield ioUtil.stat(source); + if (sourceStat.isDirectory()) { + if (!recursive) { + throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`); + } + else { + yield cpDirRecursive(source, newDest, 0, force); + } + } + else { + if (path.relative(source, newDest) === '') { + // a file cannot be copied to itself + throw new Error(`'${newDest}' and '${source}' are the same file`); + } + yield copyFile(source, newDest, force); + } + }); +} +exports.cp = cp; +/** + * Moves a path. + * + * @param source source path + * @param dest destination path + * @param options optional. See MoveOptions. + */ +function mv(source, dest, options = {}) { + return __awaiter(this, void 0, void 0, function* () { + if (yield ioUtil.exists(dest)) { + let destExists = true; + if (yield ioUtil.isDirectory(dest)) { + // If dest is directory copy src into dest + dest = path.join(dest, path.basename(source)); + destExists = yield ioUtil.exists(dest); + } + if (destExists) { + if (options.force == null || options.force) { + yield rmRF(dest); + } + else { + throw new Error('Destination already exists'); + } + } + } + yield mkdirP(path.dirname(dest)); + yield ioUtil.rename(source, dest); + }); +} +exports.mv = mv; +/** + * Remove a path recursively with force + * + * @param inputPath path to remove + */ +function rmRF(inputPath) { + return __awaiter(this, void 0, void 0, function* () { + if (ioUtil.IS_WINDOWS) { + // Check for invalid characters + // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file + if (/[*"<>|]/.test(inputPath)) { + throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows'); + } + } + try { + // note if path does not exist, error is silent + yield ioUtil.rm(inputPath, { + force: true, + maxRetries: 3, + recursive: true, + retryDelay: 300 + }); + } + catch (err) { + throw new Error(`File was unable to be removed ${err}`); + } + }); +} +exports.rmRF = rmRF; +/** + * Make a directory. Creates the full path with folders in between + * Will throw if it fails + * + * @param fsPath path to create + * @returns Promise + */ +function mkdirP(fsPath) { + return __awaiter(this, void 0, void 0, function* () { + assert_1.ok(fsPath, 'a path argument must be provided'); + yield ioUtil.mkdir(fsPath, { recursive: true }); + }); +} +exports.mkdirP = mkdirP; +/** + * Returns path of a tool had the tool actually been invoked. Resolves via paths. + * If you check and the tool does not exist, it will throw. + * + * @param tool name of the tool + * @param check whether to check if tool exists + * @returns Promise path to tool + */ +function which(tool, check) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // recursive when check=true + if (check) { + const result = yield which(tool, false); + if (!result) { + if (ioUtil.IS_WINDOWS) { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`); + } + else { + throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`); + } + } + return result; + } + const matches = yield findInPath(tool); + if (matches && matches.length > 0) { + return matches[0]; + } + return ''; + }); +} +exports.which = which; +/** + * Returns a list of all occurrences of the given tool on the system path. + * + * @returns Promise the paths of the tool + */ +function findInPath(tool) { + return __awaiter(this, void 0, void 0, function* () { + if (!tool) { + throw new Error("parameter 'tool' is required"); + } + // build the list of extensions to try + const extensions = []; + if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) { + for (const extension of process.env['PATHEXT'].split(path.delimiter)) { + if (extension) { + extensions.push(extension); + } + } + } + // if it's rooted, return it if exists. otherwise return empty. + if (ioUtil.isRooted(tool)) { + const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions); + if (filePath) { + return [filePath]; + } + return []; + } + // if any path separators, return empty + if (tool.includes(path.sep)) { + return []; + } + // build the list of directories + // + // Note, technically "where" checks the current directory on Windows. From a toolkit perspective, + // it feels like we should not do this. Checking the current directory seems like more of a use + // case of a shell, and the which() function exposed by the toolkit should strive for consistency + // across platforms. + const directories = []; + if (process.env.PATH) { + for (const p of process.env.PATH.split(path.delimiter)) { + if (p) { + directories.push(p); + } + } + } + // find all matches + const matches = []; + for (const directory of directories) { + const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions); + if (filePath) { + matches.push(filePath); + } + } + return matches; + }); +} +exports.findInPath = findInPath; +function readCopyOptions(options) { + const force = options.force == null ? true : options.force; + const recursive = Boolean(options.recursive); + const copySourceDirectory = options.copySourceDirectory == null + ? true + : Boolean(options.copySourceDirectory); + return { force, recursive, copySourceDirectory }; +} +function cpDirRecursive(sourceDir, destDir, currentDepth, force) { + return __awaiter(this, void 0, void 0, function* () { + // Ensure there is not a run away recursive copy + if (currentDepth >= 255) + return; + currentDepth++; + yield mkdirP(destDir); + const files = yield ioUtil.readdir(sourceDir); + for (const fileName of files) { + const srcFile = `${sourceDir}/${fileName}`; + const destFile = `${destDir}/${fileName}`; + const srcFileStat = yield ioUtil.lstat(srcFile); + if (srcFileStat.isDirectory()) { + // Recurse + yield cpDirRecursive(srcFile, destFile, currentDepth, force); + } + else { + yield copyFile(srcFile, destFile, force); + } + } + // Change the mode for the newly created directory + yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode); + }); +} +// Buffered file copy +function copyFile(srcFile, destFile, force) { + return __awaiter(this, void 0, void 0, function* () { + if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) { + // unlink/re-link it + try { + yield ioUtil.lstat(destFile); + yield ioUtil.unlink(destFile); + } + catch (e) { + // Try to override file permission + if (e.code === 'EPERM') { + yield ioUtil.chmod(destFile, '0666'); + yield ioUtil.unlink(destFile); + } + // other errors = it doesn't exist, no work to do + } + // Copy over symlink + const symlinkFull = yield ioUtil.readlink(srcFile); + yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null); + } + else if (!(yield ioUtil.exists(destFile)) || force) { + yield ioUtil.copyFile(srcFile, destFile); + } + }); +} +//# sourceMappingURL=io.js.map + +/***/ }), + +/***/ 6874: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +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`"); + })(), + }; +}; +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; +}; +exports.defaultEC2HttpAuthSchemeProvider = defaultEC2HttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); + return { + ...config_0, + }; +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 6305: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +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 cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 9599: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +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; + + +/***/ }), + +/***/ 3802: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AcceleratorManufacturer: () => AcceleratorManufacturer, + AcceleratorName: () => AcceleratorName, + AcceleratorType: () => AcceleratorType, + AcceptAddressTransferCommand: () => AcceptAddressTransferCommand, + AcceptCapacityReservationBillingOwnershipCommand: () => AcceptCapacityReservationBillingOwnershipCommand, + 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, + AllowedImagesSettingsDisabledState: () => AllowedImagesSettingsDisabledState, + AllowedImagesSettingsEnabledState: () => AllowedImagesSettingsEnabledState, + 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, + AssociateCapacityReservationBillingOwnerCommand: () => AssociateCapacityReservationBillingOwnerCommand, + AssociateClientVpnTargetNetworkCommand: () => AssociateClientVpnTargetNetworkCommand, + AssociateDhcpOptionsCommand: () => AssociateDhcpOptionsCommand, + AssociateEnclaveCertificateIamRoleCommand: () => AssociateEnclaveCertificateIamRoleCommand, + AssociateIamInstanceProfileCommand: () => AssociateIamInstanceProfileCommand, + AssociateInstanceEventWindowCommand: () => AssociateInstanceEventWindowCommand, + AssociateIpamByoasnCommand: () => AssociateIpamByoasnCommand, + AssociateIpamResourceDiscoveryCommand: () => AssociateIpamResourceDiscoveryCommand, + AssociateNatGatewayAddressCommand: () => AssociateNatGatewayAddressCommand, + AssociateRouteTableCommand: () => AssociateRouteTableCommand, + AssociateSecurityGroupVpcCommand: () => AssociateSecurityGroupVpcCommand, + 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, + BandwidthWeightingType: () => BandwidthWeightingType, + BareMetal: () => BareMetal, + BatchState: () => BatchState, + BgpStatus: () => BgpStatus, + BlockPublicAccessMode: () => BlockPublicAccessMode, + BootModeType: () => BootModeType, + BootModeValues: () => BootModeValues, + BundleInstanceCommand: () => BundleInstanceCommand, + BundleInstanceRequestFilterSensitiveLog: () => BundleInstanceRequestFilterSensitiveLog, + BundleInstanceResultFilterSensitiveLog: () => BundleInstanceResultFilterSensitiveLog, + BundleTaskFilterSensitiveLog: () => BundleTaskFilterSensitiveLog, + BundleTaskState: () => BundleTaskState, + BurstablePerformance: () => BurstablePerformance, + ByoipCidrState: () => ByoipCidrState, + CallerRole: () => CallerRole, + CancelBatchErrorCode: () => CancelBatchErrorCode, + CancelBundleTaskCommand: () => CancelBundleTaskCommand, + CancelBundleTaskResultFilterSensitiveLog: () => CancelBundleTaskResultFilterSensitiveLog, + CancelCapacityReservationCommand: () => CancelCapacityReservationCommand, + CancelCapacityReservationFleetsCommand: () => CancelCapacityReservationFleetsCommand, + CancelConversionTaskCommand: () => CancelConversionTaskCommand, + CancelDeclarativePoliciesReportCommand: () => CancelDeclarativePoliciesReportCommand, + CancelExportTaskCommand: () => CancelExportTaskCommand, + CancelImageLaunchPermissionCommand: () => CancelImageLaunchPermissionCommand, + CancelImportTaskCommand: () => CancelImportTaskCommand, + CancelReservedInstancesListingCommand: () => CancelReservedInstancesListingCommand, + CancelSpotFleetRequestsCommand: () => CancelSpotFleetRequestsCommand, + CancelSpotInstanceRequestState: () => CancelSpotInstanceRequestState, + CancelSpotInstanceRequestsCommand: () => CancelSpotInstanceRequestsCommand, + CapacityBlockExtensionStatus: () => CapacityBlockExtensionStatus, + CapacityReservationBillingRequestStatus: () => CapacityReservationBillingRequestStatus, + CapacityReservationDeliveryPreference: () => CapacityReservationDeliveryPreference, + 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, + CreateCapacityReservationBySplittingCommand: () => CreateCapacityReservationBySplittingCommand, + 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, + CreateIpamExternalResourceVerificationTokenCommand: () => CreateIpamExternalResourceVerificationTokenCommand, + 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, + CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog, + CreateVerifiedAccessTrustProviderCommand: () => CreateVerifiedAccessTrustProviderCommand, + CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, + CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderRequestFilterSensitiveLog, + CreateVerifiedAccessTrustProviderResultFilterSensitiveLog: () => CreateVerifiedAccessTrustProviderResultFilterSensitiveLog, + CreateVolumeCommand: () => CreateVolumeCommand, + CreateVpcBlockPublicAccessExclusionCommand: () => CreateVpcBlockPublicAccessExclusionCommand, + 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, + DeleteIpamExternalResourceVerificationTokenCommand: () => DeleteIpamExternalResourceVerificationTokenCommand, + 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, + DeleteVpcBlockPublicAccessExclusionCommand: () => DeleteVpcBlockPublicAccessExclusionCommand, + 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, + DescribeCapacityBlockExtensionHistoryCommand: () => DescribeCapacityBlockExtensionHistoryCommand, + DescribeCapacityBlockExtensionOfferingsCommand: () => DescribeCapacityBlockExtensionOfferingsCommand, + DescribeCapacityBlockOfferingsCommand: () => DescribeCapacityBlockOfferingsCommand, + DescribeCapacityReservationBillingRequestsCommand: () => DescribeCapacityReservationBillingRequestsCommand, + 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, + DescribeDeclarativePoliciesReportsCommand: () => DescribeDeclarativePoliciesReportsCommand, + 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, + DescribeInstanceImageMetadataCommand: () => DescribeInstanceImageMetadataCommand, + DescribeInstanceStatusCommand: () => DescribeInstanceStatusCommand, + DescribeInstanceTopologyCommand: () => DescribeInstanceTopologyCommand, + DescribeInstanceTypeOfferingsCommand: () => DescribeInstanceTypeOfferingsCommand, + DescribeInstanceTypesCommand: () => DescribeInstanceTypesCommand, + DescribeInstancesCommand: () => DescribeInstancesCommand, + DescribeInternetGatewaysCommand: () => DescribeInternetGatewaysCommand, + DescribeIpamByoasnCommand: () => DescribeIpamByoasnCommand, + DescribeIpamExternalResourceVerificationTokensCommand: () => DescribeIpamExternalResourceVerificationTokensCommand, + 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, + DescribeSecurityGroupVpcAssociationsCommand: () => DescribeSecurityGroupVpcAssociationsCommand, + 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, + DescribeTrafficMirrorFilterRulesCommand: () => DescribeTrafficMirrorFilterRulesCommand, + 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, + DescribeVpcBlockPublicAccessExclusionsCommand: () => DescribeVpcBlockPublicAccessExclusionsCommand, + DescribeVpcBlockPublicAccessOptionsCommand: () => DescribeVpcBlockPublicAccessOptionsCommand, + DescribeVpcClassicLinkCommand: () => DescribeVpcClassicLinkCommand, + DescribeVpcClassicLinkDnsSupportCommand: () => DescribeVpcClassicLinkDnsSupportCommand, + DescribeVpcEndpointAssociationsCommand: () => DescribeVpcEndpointAssociationsCommand, + 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, + DisableAllowedImagesSettingsCommand: () => DisableAllowedImagesSettingsCommand, + 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, + DisassociateCapacityReservationBillingOwnerCommand: () => DisassociateCapacityReservationBillingOwnerCommand, + DisassociateClientVpnTargetNetworkCommand: () => DisassociateClientVpnTargetNetworkCommand, + DisassociateEnclaveCertificateIamRoleCommand: () => DisassociateEnclaveCertificateIamRoleCommand, + DisassociateIamInstanceProfileCommand: () => DisassociateIamInstanceProfileCommand, + DisassociateInstanceEventWindowCommand: () => DisassociateInstanceEventWindowCommand, + DisassociateIpamByoasnCommand: () => DisassociateIpamByoasnCommand, + DisassociateIpamResourceDiscoveryCommand: () => DisassociateIpamResourceDiscoveryCommand, + DisassociateNatGatewayAddressCommand: () => DisassociateNatGatewayAddressCommand, + DisassociateRouteTableCommand: () => DisassociateRouteTableCommand, + DisassociateSecurityGroupVpcCommand: () => DisassociateSecurityGroupVpcCommand, + 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, + EnableAllowedImagesSettingsCommand: () => EnableAllowedImagesSettingsCommand, + 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, + ExportVerifiedAccessInstanceClientConfigurationCommand: () => ExportVerifiedAccessInstanceClientConfigurationCommand, + ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog: () => ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog, + 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, + GetAllowedImagesSettingsCommand: () => GetAllowedImagesSettingsCommand, + GetAssociatedEnclaveCertificateIamRolesCommand: () => GetAssociatedEnclaveCertificateIamRolesCommand, + GetAssociatedIpv6PoolCidrsCommand: () => GetAssociatedIpv6PoolCidrsCommand, + GetAwsNetworkPerformanceDataCommand: () => GetAwsNetworkPerformanceDataCommand, + GetCapacityReservationUsageCommand: () => GetCapacityReservationUsageCommand, + GetCoipPoolUsageCommand: () => GetCoipPoolUsageCommand, + GetConsoleOutputCommand: () => GetConsoleOutputCommand, + GetConsoleScreenshotCommand: () => GetConsoleScreenshotCommand, + GetDeclarativePoliciesReportSummaryCommand: () => GetDeclarativePoliciesReportSummaryCommand, + 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, + GetVerifiedAccessEndpointTargetsCommand: () => GetVerifiedAccessEndpointTargetsCommand, + 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, + InstanceBandwidthWeighting: () => InstanceBandwidthWeighting, + 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, + InternetGatewayBlockMode: () => InternetGatewayBlockMode, + InternetGatewayExclusionMode: () => InternetGatewayExclusionMode, + IpAddressType: () => IpAddressType, + IpSource: () => IpSource, + IpamAddressHistoryResourceType: () => IpamAddressHistoryResourceType, + IpamAssociatedResourceDiscoveryStatus: () => IpamAssociatedResourceDiscoveryStatus, + IpamComplianceStatus: () => IpamComplianceStatus, + IpamDiscoveryFailureCode: () => IpamDiscoveryFailureCode, + IpamExternalResourceVerificationTokenState: () => IpamExternalResourceVerificationTokenState, + IpamManagementState: () => IpamManagementState, + IpamNetworkInterfaceAttachmentStatus: () => IpamNetworkInterfaceAttachmentStatus, + IpamOverlapStatus: () => IpamOverlapStatus, + IpamPoolAllocationResourceType: () => IpamPoolAllocationResourceType, + IpamPoolAwsService: () => IpamPoolAwsService, + IpamPoolCidrFailureCode: () => IpamPoolCidrFailureCode, + IpamPoolCidrState: () => IpamPoolCidrState, + IpamPoolPublicIpSource: () => IpamPoolPublicIpSource, + IpamPoolSourceResourceType: () => IpamPoolSourceResourceType, + IpamPoolState: () => IpamPoolState, + IpamPublicAddressAssociationStatus: () => IpamPublicAddressAssociationStatus, + IpamPublicAddressAwsService: () => IpamPublicAddressAwsService, + IpamPublicAddressType: () => IpamPublicAddressType, + IpamResourceCidrIpSource: () => IpamResourceCidrIpSource, + IpamResourceDiscoveryAssociationState: () => IpamResourceDiscoveryAssociationState, + IpamResourceDiscoveryState: () => IpamResourceDiscoveryState, + IpamResourceType: () => IpamResourceType, + IpamScopeState: () => IpamScopeState, + IpamScopeType: () => IpamScopeType, + IpamState: () => IpamState, + IpamTier: () => IpamTier, + Ipv6AddressAttribute: () => Ipv6AddressAttribute, + 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, + ManagedBy: () => ManagedBy, + 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, + ModifyInstanceCpuOptionsCommand: () => ModifyInstanceCpuOptionsCommand, + ModifyInstanceCreditSpecificationCommand: () => ModifyInstanceCreditSpecificationCommand, + ModifyInstanceEventStartTimeCommand: () => ModifyInstanceEventStartTimeCommand, + ModifyInstanceEventWindowCommand: () => ModifyInstanceEventWindowCommand, + ModifyInstanceMaintenanceOptionsCommand: () => ModifyInstanceMaintenanceOptionsCommand, + ModifyInstanceMetadataDefaultsCommand: () => ModifyInstanceMetadataDefaultsCommand, + ModifyInstanceMetadataOptionsCommand: () => ModifyInstanceMetadataOptionsCommand, + ModifyInstanceNetworkPerformanceOptionsCommand: () => ModifyInstanceNetworkPerformanceOptionsCommand, + 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, + ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderCommand: () => ModifyVerifiedAccessTrustProviderCommand, + ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog, + ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: () => ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog, + ModifyVolumeAttributeCommand: () => ModifyVolumeAttributeCommand, + ModifyVolumeCommand: () => ModifyVolumeCommand, + ModifyVpcAttributeCommand: () => ModifyVpcAttributeCommand, + ModifyVpcBlockPublicAccessExclusionCommand: () => ModifyVpcBlockPublicAccessExclusionCommand, + ModifyVpcBlockPublicAccessOptionsCommand: () => ModifyVpcBlockPublicAccessOptionsCommand, + 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, + MoveCapacityReservationInstancesCommand: () => MoveCapacityReservationInstancesCommand, + 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, + PhcSupport: () => PhcSupport, + 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, + PurchaseCapacityBlockExtensionCommand: () => PurchaseCapacityBlockExtensionCommand, + PurchaseHostReservationCommand: () => PurchaseHostReservationCommand, + PurchaseReservedInstancesOfferingCommand: () => PurchaseReservedInstancesOfferingCommand, + PurchaseScheduledInstancesCommand: () => PurchaseScheduledInstancesCommand, + RIProductDescription: () => RIProductDescription, + RebootInstancesCommand: () => RebootInstancesCommand, + RecurringChargeFrequency: () => RecurringChargeFrequency, + RegisterImageCommand: () => RegisterImageCommand, + RegisterInstanceEventNotificationAttributesCommand: () => RegisterInstanceEventNotificationAttributesCommand, + RegisterTransitGatewayMulticastGroupMembersCommand: () => RegisterTransitGatewayMulticastGroupMembersCommand, + RegisterTransitGatewayMulticastGroupSourcesCommand: () => RegisterTransitGatewayMulticastGroupSourcesCommand, + RejectCapacityReservationBillingOwnershipCommand: () => RejectCapacityReservationBillingOwnershipCommand, + RejectTransitGatewayMulticastDomainAssociationsCommand: () => RejectTransitGatewayMulticastDomainAssociationsCommand, + RejectTransitGatewayPeeringAttachmentCommand: () => RejectTransitGatewayPeeringAttachmentCommand, + RejectTransitGatewayVpcAttachmentCommand: () => RejectTransitGatewayVpcAttachmentCommand, + RejectVpcEndpointConnectionsCommand: () => RejectVpcEndpointConnectionsCommand, + RejectVpcPeeringConnectionCommand: () => RejectVpcPeeringConnectionCommand, + ReleaseAddressCommand: () => ReleaseAddressCommand, + ReleaseHostsCommand: () => ReleaseHostsCommand, + ReleaseIpamPoolAllocationCommand: () => ReleaseIpamPoolAllocationCommand, + ReplaceIamInstanceProfileAssociationCommand: () => ReplaceIamInstanceProfileAssociationCommand, + ReplaceImageCriteriaInAllowedImagesSettingsCommand: () => ReplaceImageCriteriaInAllowedImagesSettingsCommand, + ReplaceNetworkAclAssociationCommand: () => ReplaceNetworkAclAssociationCommand, + ReplaceNetworkAclEntryCommand: () => ReplaceNetworkAclEntryCommand, + ReplaceRootVolumeTaskState: () => ReplaceRootVolumeTaskState, + ReplaceRouteCommand: () => ReplaceRouteCommand, + ReplaceRouteTableAssociationCommand: () => ReplaceRouteTableAssociationCommand, + ReplaceTransitGatewayRouteCommand: () => ReplaceTransitGatewayRouteCommand, + ReplaceVpnTunnelCommand: () => ReplaceVpnTunnelCommand, + ReplacementStrategy: () => ReplacementStrategy, + ReportInstanceReasonCodes: () => ReportInstanceReasonCodes, + ReportInstanceStatusCommand: () => ReportInstanceStatusCommand, + ReportInstanceStatusRequestFilterSensitiveLog: () => ReportInstanceStatusRequestFilterSensitiveLog, + ReportState: () => ReportState, + 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, + SecurityGroupVpcAssociationState: () => SecurityGroupVpcAssociationState, + 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, + StartDeclarativePoliciesReportCommand: () => StartDeclarativePoliciesReportCommand, + 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, + TokenState: () => TokenState, + TpmSupportValues: () => TpmSupportValues, + TrafficDirection: () => TrafficDirection, + TrafficMirrorFilterRuleField: () => TrafficMirrorFilterRuleField, + TrafficMirrorNetworkService: () => TrafficMirrorNetworkService, + TrafficMirrorRuleAction: () => TrafficMirrorRuleAction, + TrafficMirrorSessionField: () => TrafficMirrorSessionField, + TrafficMirrorTargetType: () => TrafficMirrorTargetType, + TrafficType: () => TrafficType, + TransferType: () => TransferType, + 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, + VerificationMethod: () => VerificationMethod, + VerifiedAccessEndpointAttachmentType: () => VerifiedAccessEndpointAttachmentType, + VerifiedAccessEndpointProtocol: () => VerifiedAccessEndpointProtocol, + VerifiedAccessEndpointStatusCode: () => VerifiedAccessEndpointStatusCode, + VerifiedAccessEndpointType: () => VerifiedAccessEndpointType, + VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog: () => VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog, + VerifiedAccessLogDeliveryStatusCode: () => VerifiedAccessLogDeliveryStatusCode, + VerifiedAccessTrustProviderFilterSensitiveLog: () => VerifiedAccessTrustProviderFilterSensitiveLog, + VirtualizationType: () => VirtualizationType, + VolumeAttachmentState: () => VolumeAttachmentState, + VolumeAttributeName: () => VolumeAttributeName, + VolumeModificationState: () => VolumeModificationState, + VolumeState: () => VolumeState, + VolumeStatusInfoStatus: () => VolumeStatusInfoStatus, + VolumeStatusName: () => VolumeStatusName, + VolumeType: () => VolumeType, + VpcAttributeName: () => VpcAttributeName, + VpcBlockPublicAccessExclusionState: () => VpcBlockPublicAccessExclusionState, + VpcBlockPublicAccessExclusionsAllowed: () => VpcBlockPublicAccessExclusionsAllowed, + VpcBlockPublicAccessState: () => VpcBlockPublicAccessState, + 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, + paginateDescribeCapacityBlockExtensionHistory: () => paginateDescribeCapacityBlockExtensionHistory, + paginateDescribeCapacityBlockExtensionOfferings: () => paginateDescribeCapacityBlockExtensionOfferings, + paginateDescribeCapacityBlockOfferings: () => paginateDescribeCapacityBlockOfferings, + paginateDescribeCapacityReservationBillingRequests: () => paginateDescribeCapacityReservationBillingRequests, + 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, + paginateDescribeInstanceImageMetadata: () => paginateDescribeInstanceImageMetadata, + 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, + paginateDescribeSecurityGroupVpcAssociations: () => paginateDescribeSecurityGroupVpcAssociations, + 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(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" } +}; + +// src/EC2Client.ts +var import_runtimeConfig = __nccwpck_require__(4689); + +// 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); + +// 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_middleware_user_agent.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); + const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); + const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); + const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); + super(_config_8); + this.config = _config_8; + this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use( + (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultEC2HttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials + }) + }) + ); + 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(); + } +}; +__name(_EC2Client, "EC2Client"); +var EC2Client = _EC2Client; + +// src/EC2.ts + + +// src/commands/AcceptAddressTransferCommand.ts + +var import_middleware_serde = __nccwpck_require__(1238); + + +// src/protocols/Aws_ec2.ts +var import_core2 = __nccwpck_require__(9963); + + +var import_uuid = __nccwpck_require__(5840); + +// src/models/EC2ServiceException.ts + +var _EC2ServiceException = class _EC2ServiceException extends import_smithy_client.ServiceException { + /** + * @internal + */ + constructor(options) { + super(options); + Object.setPrototypeOf(this, _EC2ServiceException.prototype); + } +}; +__name(_EC2ServiceException, "EC2ServiceException"); +var EC2ServiceException = _EC2ServiceException; + +// 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]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptAddressTransferCommand"); +var se_AcceptCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptCapacityReservationBillingOwnershipRequest(input, context), + [_A]: _ACRBO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AcceptCapacityReservationBillingOwnershipCommand"); +var se_AcceptReservedInstancesExchangeQuoteCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AcceptReservedInstancesExchangeQuoteRequest(input, context), + [_A]: _ARIEQ, + [_V]: _ + }); + 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]: _ + }); + 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]: _ + }); + 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]: _ + }); + 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]: _ + }); + 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_AssociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateCapacityReservationBillingOwnerRequest(input, context), + [_A]: _ACRBOs, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateCapacityReservationBillingOwnerCommand"); +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_AssociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssociateSecurityGroupVpcRequest(input, context), + [_A]: _ASGV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssociateSecurityGroupVpcCommand"); +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_CancelDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CancelDeclarativePoliciesReportRequest(input, context), + [_A]: _CDPR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CancelDeclarativePoliciesReportCommand"); +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_CreateCapacityReservationBySplittingCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateCapacityReservationBySplittingRequest(input, context), + [_A]: _CCRBS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateCapacityReservationBySplittingCommand"); +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_CreateIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateIpamExternalResourceVerificationTokenRequest(input, context), + [_A]: _CIERVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateIpamExternalResourceVerificationTokenCommand"); +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_CreateVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_CreateVpcBlockPublicAccessExclusionRequest(input, context), + [_A]: _CVBPAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_CreateVpcBlockPublicAccessExclusionCommand"); +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_DeleteIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteIpamExternalResourceVerificationTokenRequest(input, context), + [_A]: _DIERVT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteIpamExternalResourceVerificationTokenCommand"); +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_DeleteVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DeleteVpcBlockPublicAccessExclusionRequest(input, context), + [_A]: _DVBPAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DeleteVpcBlockPublicAccessExclusionCommand"); +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_DescribeCapacityBlockExtensionHistoryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityBlockExtensionHistoryRequest(input, context), + [_A]: _DCBEH, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityBlockExtensionHistoryCommand"); +var se_DescribeCapacityBlockExtensionOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityBlockExtensionOfferingsRequest(input, context), + [_A]: _DCBEO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityBlockExtensionOfferingsCommand"); +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_DescribeCapacityReservationBillingRequestsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeCapacityReservationBillingRequestsRequest(input, context), + [_A]: _DCRBR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeCapacityReservationBillingRequestsCommand"); +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_DescribeDeclarativePoliciesReportsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeDeclarativePoliciesReportsRequest(input, context), + [_A]: _DDPR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeDeclarativePoliciesReportsCommand"); +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_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeInstanceImageMetadataRequest(input, context), + [_A]: _DIIM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeInstanceImageMetadataCommand"); +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_DescribeIpamExternalResourceVerificationTokensCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeIpamExternalResourceVerificationTokensRequest(input, context), + [_A]: _DIERVTe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeIpamExternalResourceVerificationTokensCommand"); +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_DescribeSecurityGroupVpcAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeSecurityGroupVpcAssociationsRequest(input, context), + [_A]: _DSGVA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeSecurityGroupVpcAssociationsCommand"); +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_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeTrafficMirrorFilterRulesRequest(input, context), + [_A]: _DTMFRe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeTrafficMirrorFilterRulesCommand"); +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_DescribeVpcBlockPublicAccessExclusionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcBlockPublicAccessExclusionsRequest(input, context), + [_A]: _DVBPAEe, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcBlockPublicAccessExclusionsCommand"); +var se_DescribeVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcBlockPublicAccessOptionsRequest(input, context), + [_A]: _DVBPAO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcBlockPublicAccessOptionsCommand"); +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_DescribeVpcEndpointAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DescribeVpcEndpointAssociationsRequest(input, context), + [_A]: _DVEA, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DescribeVpcEndpointAssociationsCommand"); +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_DisableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisableAllowedImagesSettingsRequest(input, context), + [_A]: _DAIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisableAllowedImagesSettingsCommand"); +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_DisassociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateCapacityReservationBillingOwnerRequest(input, context), + [_A]: _DCRBO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateCapacityReservationBillingOwnerCommand"); +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_DisassociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DisassociateSecurityGroupVpcRequest(input, context), + [_A]: _DSGV, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DisassociateSecurityGroupVpcCommand"); +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_EnableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_EnableAllowedImagesSettingsRequest(input, context), + [_A]: _EAIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_EnableAllowedImagesSettingsCommand"); +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_ExportVerifiedAccessInstanceClientConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ExportVerifiedAccessInstanceClientConfigurationRequest(input, context), + [_A]: _EVAICC, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ExportVerifiedAccessInstanceClientConfigurationCommand"); +var se_GetAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAllowedImagesSettingsRequest(input, context), + [_A]: _GAIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetAllowedImagesSettingsCommand"); +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_GetDeclarativePoliciesReportSummaryCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetDeclarativePoliciesReportSummaryRequest(input, context), + [_A]: _GDPRS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetDeclarativePoliciesReportSummaryCommand"); +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_GetVerifiedAccessEndpointTargetsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetVerifiedAccessEndpointTargetsRequest(input, context), + [_A]: _GVAET, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetVerifiedAccessEndpointTargetsCommand"); +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_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceCpuOptionsRequest(input, context), + [_A]: _MICO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceCpuOptionsCommand"); +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_ModifyInstanceNetworkPerformanceOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyInstanceNetworkPerformanceRequest(input, context), + [_A]: _MINPO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyInstanceNetworkPerformanceOptionsCommand"); +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_ModifyVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcBlockPublicAccessExclusionRequest(input, context), + [_A]: _MVBPAE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcBlockPublicAccessExclusionCommand"); +var se_ModifyVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ModifyVpcBlockPublicAccessOptionsRequest(input, context), + [_A]: _MVBPAO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ModifyVpcBlockPublicAccessOptionsCommand"); +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_MoveCapacityReservationInstancesCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_MoveCapacityReservationInstancesRequest(input, context), + [_A]: _MCRI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_MoveCapacityReservationInstancesCommand"); +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_PurchaseCapacityBlockExtensionCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_PurchaseCapacityBlockExtensionRequest(input, context), + [_A]: _PCBE, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_PurchaseCapacityBlockExtensionCommand"); +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_RejectCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_RejectCapacityReservationBillingOwnershipRequest(input, context), + [_A]: _RCRBO, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_RejectCapacityReservationBillingOwnershipCommand"); +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_ReplaceImageCriteriaInAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_ReplaceImageCriteriaInAllowedImagesSettingsRequest(input, context), + [_A]: _RICIAIS, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_ReplaceImageCriteriaInAllowedImagesSettingsCommand"); +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_StartDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_StartDeclarativePoliciesReportRequest(input, context), + [_A]: _SDPR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_StartDeclarativePoliciesReportCommand"); +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_AcceptCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AcceptCapacityReservationBillingOwnershipResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AcceptCapacityReservationBillingOwnershipCommand"); +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_AssociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateCapacityReservationBillingOwnerResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateCapacityReservationBillingOwnerCommand"); +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_AssociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssociateSecurityGroupVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssociateSecurityGroupVpcCommand"); +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_CancelDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CancelDeclarativePoliciesReportResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CancelDeclarativePoliciesReportCommand"); +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_CreateCapacityReservationBySplittingCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateCapacityReservationBySplittingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateCapacityReservationBySplittingCommand"); +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_CreateIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateIpamExternalResourceVerificationTokenResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateIpamExternalResourceVerificationTokenCommand"); +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_CreateVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_CreateVpcBlockPublicAccessExclusionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_CreateVpcBlockPublicAccessExclusionCommand"); +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_DeleteIpamExternalResourceVerificationTokenCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteIpamExternalResourceVerificationTokenResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteIpamExternalResourceVerificationTokenCommand"); +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_DeleteVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DeleteVpcBlockPublicAccessExclusionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DeleteVpcBlockPublicAccessExclusionCommand"); +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_DescribeCapacityBlockExtensionHistoryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityBlockExtensionHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityBlockExtensionHistoryCommand"); +var de_DescribeCapacityBlockExtensionOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityBlockExtensionOfferingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityBlockExtensionOfferingsCommand"); +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_DescribeCapacityReservationBillingRequestsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeCapacityReservationBillingRequestsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeCapacityReservationBillingRequestsCommand"); +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_DescribeDeclarativePoliciesReportsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeDeclarativePoliciesReportsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeDeclarativePoliciesReportsCommand"); +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_DescribeInstanceImageMetadataCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeInstanceImageMetadataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeInstanceImageMetadataCommand"); +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_DescribeIpamExternalResourceVerificationTokensCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeIpamExternalResourceVerificationTokensResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeIpamExternalResourceVerificationTokensCommand"); +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_DescribeSecurityGroupVpcAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeSecurityGroupVpcAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeSecurityGroupVpcAssociationsCommand"); +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_DescribeTrafficMirrorFilterRulesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeTrafficMirrorFilterRulesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeTrafficMirrorFilterRulesCommand"); +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_DescribeVpcBlockPublicAccessExclusionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcBlockPublicAccessExclusionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcBlockPublicAccessExclusionsCommand"); +var de_DescribeVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcBlockPublicAccessOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcBlockPublicAccessOptionsCommand"); +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_DescribeVpcEndpointAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DescribeVpcEndpointAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DescribeVpcEndpointAssociationsCommand"); +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_DisableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisableAllowedImagesSettingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisableAllowedImagesSettingsCommand"); +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_DisassociateCapacityReservationBillingOwnerCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateCapacityReservationBillingOwnerResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateCapacityReservationBillingOwnerCommand"); +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_DisassociateSecurityGroupVpcCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DisassociateSecurityGroupVpcResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DisassociateSecurityGroupVpcCommand"); +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_EnableAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_EnableAllowedImagesSettingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_EnableAllowedImagesSettingsCommand"); +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_ExportVerifiedAccessInstanceClientConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ExportVerifiedAccessInstanceClientConfigurationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ExportVerifiedAccessInstanceClientConfigurationCommand"); +var de_GetAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetAllowedImagesSettingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetAllowedImagesSettingsCommand"); +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_GetDeclarativePoliciesReportSummaryCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetDeclarativePoliciesReportSummaryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetDeclarativePoliciesReportSummaryCommand"); +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_GetVerifiedAccessEndpointTargetsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetVerifiedAccessEndpointTargetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetVerifiedAccessEndpointTargetsCommand"); +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_ModifyInstanceCpuOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceCpuOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceCpuOptionsCommand"); +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_ModifyInstanceNetworkPerformanceOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyInstanceNetworkPerformanceResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyInstanceNetworkPerformanceOptionsCommand"); +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_ModifyVpcBlockPublicAccessExclusionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcBlockPublicAccessExclusionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcBlockPublicAccessExclusionCommand"); +var de_ModifyVpcBlockPublicAccessOptionsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ModifyVpcBlockPublicAccessOptionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ModifyVpcBlockPublicAccessOptionsCommand"); +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_MoveCapacityReservationInstancesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_MoveCapacityReservationInstancesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_MoveCapacityReservationInstancesCommand"); +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_PurchaseCapacityBlockExtensionCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_PurchaseCapacityBlockExtensionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_PurchaseCapacityBlockExtensionCommand"); +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_RejectCapacityReservationBillingOwnershipCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_RejectCapacityReservationBillingOwnershipResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_RejectCapacityReservationBillingOwnershipCommand"); +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_ReplaceImageCriteriaInAllowedImagesSettingsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_ReplaceImageCriteriaInAllowedImagesSettingsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_ReplaceImageCriteriaInAllowedImagesSettingsCommand"); +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_StartDeclarativePoliciesReportCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core2.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_StartDeclarativePoliciesReportResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_StartDeclarativePoliciesReportCommand"); +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) => { + const entries = {}; + if (input[_Ad] != null) { + entries[_Ad] = input[_Ad]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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_AcceptCapacityReservationBillingOwnershipRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + return entries; +}, "se_AcceptCapacityReservationBillingOwnershipRequest"); +var se_AcceptReservedInstancesExchangeQuoteRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RII] != null) { + const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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_AddIpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_OEP] != null) { + entries[_OEP] = input[_OEP]; + } + return entries; +}, "se_AddIpamOrganizationalUnitExclusion"); +var se_AddIpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_AddIpamOrganizationalUnitExclusion(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_AddIpamOrganizationalUnitExclusionSet"); +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) => { + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPI] != null) { + entries[_IPI] = input[_IPI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AllocateAddressRequest"); +var se_AllocateHostsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AssetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AP] != null) { + entries[_AP] = input[_AP]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + if (input[_Q] != null) { + entries[_Q] = input[_Q]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + return entries; +}, "se_AllocateHostsRequest"); +var se_AllocateIpamPoolCidrRequest = /* @__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[_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); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_IPC] != null) { + entries[_IPC] = input[_IPC]; + } + if (input[_IP] != null) { + const memberEntries = se_IpPrefixList(input[_IP], context); + 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]; + } + if (input[_IA] != null) { + const memberEntries = se_Ipv6AddressList(input[_IA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + return entries; +}, "se_AssignIpv6AddressesRequest"); +var se_AssignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPp] != null) { + const memberEntries = se_IpPrefixList(input[_IPp], context); + 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[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); + 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[_AR] != null) { + entries[_AR] = input[_AR]; + } + return entries; +}, "se_AssignPrivateIpAddressesRequest"); +var se_AssignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_PIA] != null) { + const memberEntries = se_IpList(input[_PIA], context); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_ARl] != null) { + entries[_ARl] = input[_ARl]; + } + return entries; +}, "se_AssociateAddressRequest"); +var se_AssociateCapacityReservationBillingOwnerRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_URBOI] != null) { + entries[_URBOI] = input[_URBOI]; + } + return entries; +}, "se_AssociateCapacityReservationBillingOwnerRequest"); +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) => { + 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); + 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) => { + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + 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); + 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[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + return entries; +}, "se_AssociateRouteTableRequest"); +var se_AssociateSecurityGroupVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_AssociateSecurityGroupVpcRequest"); +var se_AssociateSubnetCidrBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIPI] != null) { + entries[_IIPI] = input[_IIPI]; + } + if (input[_INL] != null) { + entries[_INL] = input[_INL]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + return entries; +}, "se_AssociateSubnetCidrBlockRequest"); +var se_AssociateTransitGatewayMulticastDomainRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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[_CB] != null) { + entries[_CB] = input[_CB]; + } + 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]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_APICB] != null) { + entries[_APICB] = input[_APICB]; + } + 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] = (0, import_smithy_client.serializeDateTime)(input[_PSD]); + } + if (input[_PED] != null) { + entries[_PED] = (0, import_smithy_client.serializeDateTime)(input[_PED]); + } + 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) => { + 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]; + } + if (input[_G] != null) { + const memberEntries = se_GroupIdStringList(input[_G], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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[_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; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_DIev] != null) { + entries[_DIev] = input[_DIev]; + } + 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) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + 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[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AuthorizeSecurityGroupEgressRequest"); +var se_AuthorizeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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_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_BaselinePerformanceFactors = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Cp] != null) { + const memberEntries = se_CpuPerformanceFactor(input[_Cp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Cpu.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_BaselinePerformanceFactors"); +var se_BaselinePerformanceFactorsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Cp] != null) { + const memberEntries = se_CpuPerformanceFactorRequest(input[_Cp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Cpu.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_BaselinePerformanceFactorsRequest"); +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[_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]; + } + if (input[_DN] != null) { + entries[_DN] = input[_DN]; + } + if (input[_VN] != null) { + entries[_VN] = input[_VN]; + } + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRFI] != null) { + const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTI] != null) { + entries[_CTI] = input[_CTI]; + } + if (input[_RM] != null) { + entries[_RM] = input[_RM]; + } + return entries; +}, "se_CancelConversionRequest"); +var se_CancelDeclarativePoliciesReportRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RIep] != null) { + entries[_RIep] = input[_RIep]; + } + return entries; +}, "se_CancelDeclarativePoliciesReportRequest"); +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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFRI] != null) { + const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIRI] != null) { + const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); + 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) => { + const entries = {}; + if (input[_CLB] != null) { + const memberEntries = se_ClassicLoadBalancers(input[_CLB], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_UE]); + } + if (input[_USp] != null) { + entries[_USp] = (0, import_smithy_client.serializeFloat)(input[_USp]); + } + if (input[_USpl] != null) { + entries[_USpl] = (0, import_smithy_client.serializeDateTime)(input[_USpl]); + } + 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) => { + 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[_CITo] != null) { + entries[_CITo] = input[_CITo]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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_CopyImageRequest"); +var se_CopySnapshotRequest = /* @__PURE__ */ __name((input, context) => { + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CDM] != null) { + entries[_CDM] = input[_CDM]; + } + 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_CpuPerformanceFactor = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_R] != null) { + const memberEntries = se_PerformanceFactorReferenceSet(input[_R], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReferenceSet.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CpuPerformanceFactor"); +var se_CpuPerformanceFactorRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_R] != null) { + const memberEntries = se_PerformanceFactorReferenceSetRequest(input[_R], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Reference.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CpuPerformanceFactorRequest"); +var se_CreateCapacityReservationBySplittingRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + 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[_SCRI] != null) { + entries[_SCRI] = input[_SCRI]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateCapacityReservationBySplittingRequest"); +var se_CreateCapacityReservationFleetRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_ED]); + } + if (input[_IMC] != null) { + entries[_IMC] = input[_IMC]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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] = (0, import_smithy_client.serializeDateTime)(input[_ED]); + } + 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); + 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]; + } + if (input[_SD] != null) { + entries[_SD] = (0, import_smithy_client.serializeDateTime)(input[_SD]); + } + if (input[_CD] != null) { + entries[_CD] = input[_CD]; + } + if (input[_DP] != null) { + entries[_DP] = input[_DP]; + } + return entries; +}, "se_CreateCapacityReservationRequest"); +var se_CreateCarrierGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + 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); + 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); + 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); + 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) => { + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + 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[_BAE] != null) { + entries[_BAE] = input[_BAE]; + } + 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) => { + const entries = {}; + if (input[_DCh] != null) { + const memberEntries = se_NewDhcpConfigurationList(input[_DCh], context); + 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); + 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) => { + 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); + 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) => { + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_VF]); + } + if (input[_VU] != null) { + entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]); + } + if (input[_RUI] != null) { + entries[_RUI] = input[_RUI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_NR] != null) { + entries[_NR] = input[_NR]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateImageRequest"); +var se_CreateInstanceConnectEndpointRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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) => { + 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); + 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); + 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) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_TE] != null) { + entries[_TE] = input[_TE]; + } + if (input[_ETST] != null) { + const memberEntries = se_ExportToS3TaskSpecification(input[_ETST], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExportToS3.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateInstanceExportTaskRequest"); +var se_CreateInternetGatewayRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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_CreateIpamExternalResourceVerificationTokenRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIp] != null) { + entries[_IIp] = input[_IIp]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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_CreateIpamExternalResourceVerificationTokenRequest"); +var se_CreateIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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) => { + 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); + 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); + 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]; + } + if (input[_EPG] != null) { + entries[_EPG] = input[_EPG]; + } + return entries; +}, "se_CreateIpamRequest"); +var se_CreateIpamResourceDiscoveryRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_KT] != null) { + entries[_KT] = input[_KT]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateKeyPairRequest"); +var se_CreateLaunchTemplateRequest = /* @__PURE__ */ __name((input, context) => { + 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[_O] != null) { + const memberEntries = se_OperatorRequest(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Operator.${key}`; + entries[loc] = value; + }); + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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); + 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) => { + 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); + 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); + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + 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[_PR] != null) { + const memberEntries = se_PortRange(input[_PR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateNetworkAclEntryRequest"); +var se_CreateNetworkAclRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_CreateNetworkAclRequest"); +var se_CreateNetworkInsightsAccessScopeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_MP] != null) { + const memberEntries = se_AccessScopePathListRequest(input[_MP], context); + 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); + 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); + 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) => { + 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[_DPe] != null) { + entries[_DPe] = input[_DPe]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + const entries = {}; + if (input[_IPp] != null) { + const memberEntries = se_Ipv4PrefixList(input[_IPp], context); + 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); + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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; + }); + } + if (input[_O] != null) { + const memberEntries = se_OperatorRequest(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Operator.${key}`; + entries[loc] = value; + }); + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressSpecificationList(input[_PIA], context); + 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[_IA] != null) { + const memberEntries = se_InstanceIpv6AddressList(input[_IA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IAC] != null) { + entries[_IAC] = input[_IAC]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateNetworkInterfaceRequest"); +var se_CreatePlacementGroupRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PCa] != null) { + entries[_PCa] = input[_PCa]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_Str] != null) { + entries[_Str] = input[_Str]; + } + return entries; +}, "se_CreatePlacementGroupRequest"); +var se_CreatePublicIpv4PoolRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + return entries; +}, "se_CreatePublicIpv4PoolRequest"); +var se_CreateReplaceRootVolumeTaskRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + const entries = {}; + if (input[_RIIe] != null) { + entries[_RIIe] = input[_RIIe]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_PS] != null) { + const memberEntries = se_PriceScheduleSpecificationList(input[_PS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PriceSchedules.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + return entries; +}, "se_CreateReservedInstancesListingRequest"); +var se_CreateRestoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + 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[_CNAo] != null) { + entries[_CNAo] = input[_CNAo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + if (input[_EOIGI] != null) { + entries[_EOIGI] = input[_EOIGI]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + return entries; +}, "se_CreateRouteRequest"); +var se_CreateRouteTableRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_VI] != null) { + entries[_VI] = input[_VI]; + } + return entries; +}, "se_CreateRouteTableRequest"); +var se_CreateSecurityGroupRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_B] != null) { + entries[_B] = input[_B]; + } + if (input[_Pr] != null) { + entries[_Pr] = input[_Pr]; + } + return entries; +}, "se_CreateSpotDatafeedSubscriptionRequest"); +var se_CreateStoreImageTaskRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_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]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateSubnetRequest"); +var se_CreateTagsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Re] != null) { + const memberEntries = se_ResourceIdList(input[_Re], context); + 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); + 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) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateTrafficMirrorFilterRuleRequest"); +var se_CreateTrafficMirrorSessionRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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); + 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) => { + const entries = {}; + if (input[_TTGAI] != null) { + entries[_TTGAI] = input[_TTGAI]; + } + if (input[_Op] != null) { + const memberEntries = se_CreateTransitGatewayConnectRequestOptions(input[_Op], 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); + 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) => { + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_Op] != null) { + const memberEntries = se_CreateTransitGatewayMulticastDomainRequestOptions(input[_Op], 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); + 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) => { + 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[_Op] != null) { + const memberEntries = se_CreateTransitGatewayPeeringAttachmentRequestOptions(input[_Op], 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); + 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) => { + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_Op] != null) { + const memberEntries = se_TransitGatewayRequestOptions(input[_Op], 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_TGI] != null) { + entries[_TGI] = input[_TGI]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Op] != null) { + const memberEntries = se_CreateTransitGatewayVpcAttachmentRequestOptions(input[_Op], 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); + 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_CreateVerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_SIu] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_C] != null) { + entries[_C] = input[_C]; + } + if (input[_PRo] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointCidrOptions"); +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]; + } + if (input[_PRo] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointEniOptions"); +var se_CreateVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PRo] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointLoadBalancerOptions"); +var se_CreateVerifiedAccessEndpointPortRange = /* @__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_CreateVerifiedAccessEndpointPortRange"); +var se_CreateVerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_CreateVerifiedAccessEndpointPortRange(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_CreateVerifiedAccessEndpointPortRangeList"); +var se_CreateVerifiedAccessEndpointRdsOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + if (input[_RDIA] != null) { + entries[_RDIA] = input[_RDIA]; + } + if (input[_RDCA] != null) { + entries[_RDCA] = input[_RDCA]; + } + if (input[_RDPA] != null) { + entries[_RDPA] = input[_RDPA]; + } + if (input[_RE] != null) { + entries[_RE] = input[_RE]; + } + if (input[_SIu] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessEndpointRdsOptions"); +var se_CreateVerifiedAccessEndpointRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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; + }); + } + if (input[_RO] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointRdsOptions(input[_RO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RdsOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CO] != null) { + const memberEntries = se_CreateVerifiedAccessEndpointCidrOptions(input[_CO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CidrOptions.${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) => { + 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); + 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) => { + const entries = {}; + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_CECSD] != null) { + entries[_CECSD] = input[_CECSD]; + } + return entries; +}, "se_CreateVerifiedAccessInstanceRequest"); +var se_CreateVerifiedAccessNativeApplicationOidcOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PSKE] != null) { + entries[_PSKE] = input[_PSKE]; + } + 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_CreateVerifiedAccessNativeApplicationOidcOptions"); +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) => { + 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); + 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; + }); + } + if (input[_NAOO] != null) { + const memberEntries = se_CreateVerifiedAccessNativeApplicationOidcOptions(input[_NAOO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NativeApplicationOidcOptions.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVerifiedAccessTrustProviderRequest"); +var se_CreateVolumePermission = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + if (input[_Gr] != null) { + entries[_Gr] = input[_Gr]; + } + 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) => { + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_CreateVolumePermissionList(input[_Add], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Rem] != null) { + const memberEntries = se_CreateVolumePermissionList(input[_Rem], context); + 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) => { + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_O] != null) { + const memberEntries = se_OperatorRequest(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Operator.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_CreateVolumeRequest"); +var se_CreateVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_IGEM] != null) { + entries[_IGEM] = input[_IGEM]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_CreateVpcBlockPublicAccessExclusionRequest"); +var se_CreateVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetConfiguration.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SNA] != null) { + entries[_SNA] = input[_SNA]; + } + if (input[_RCA] != null) { + entries[_RCA] = input[_RCA]; + } + if (input[_SRe] != null) { + entries[_SRe] = input[_SRe]; + } + return entries; +}, "se_CreateVpcEndpointRequest"); +var se_CreateVpcEndpointServiceConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_SRu] != null) { + const memberEntries = se_ValueStringList(input[_SRu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SupportedRegion.${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); + 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) => { + const entries = {}; + if (input[_PRe] != null) { + entries[_PRe] = input[_PRe]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_PVI] != null) { + entries[_PVI] = input[_PVI]; + } + if (input[_POI] != null) { + entries[_POI] = input[_POI]; + } + return entries; +}, "se_CreateVpcPeeringConnectionRequest"); +var se_CreateVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + 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[_ICBNBG] != null) { + entries[_ICBNBG] = input[_ICBNBG]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_ITns] != null) { + entries[_ITns] = input[_ITns]; + } + if (input[_APICB] != null) { + entries[_APICB] = input[_APICB]; + } + return entries; +}, "se_CreateVpcRequest"); +var se_CreateVpnConnectionRequest = /* @__PURE__ */ __name((input, context) => { + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_Op] != null) { + const memberEntries = se_VpnConnectionOptionsSpecification(input[_Op], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Options.${key}`; + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FI] != null) { + const memberEntries = se_FleetIdSet(input[_FI], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FLI] != null) { + const memberEntries = se_FlowLogIdList(input[_FLI], context); + 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_DeleteIpamExternalResourceVerificationTokenRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IERVTI] != null) { + entries[_IERVTI] = input[_IERVTI]; + } + return entries; +}, "se_DeleteIpamExternalResourceVerificationTokenRequest"); +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) => { + 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); + 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[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + 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]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RIIes] != null) { + const memberEntries = se_DeleteQueuedReservedInstancesIdList(input[_RIIes], context); + 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[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + 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[_SCRIu] != null) { + entries[_SCRIu] = input[_SCRIu]; + } + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Re] != null) { + const memberEntries = se_ResourceIdList(input[_Re], context); + 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); + 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_DeleteVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EIxc] != null) { + entries[_EIxc] = input[_EIxc]; + } + return entries; +}, "se_DeleteVpcBlockPublicAccessExclusionRequest"); +var se_DeleteVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CNIo] != null) { + const memberEntries = se_ConnectionNotificationIdsList(input[_CNIo], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIer] != null) { + const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + 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) => { + const entries = {}; + if (input[_IATOI] != null) { + entries[_IATOI] = input[_IATOI]; + } + if (input[_ITK] != null) { + const memberEntries = se_InstanceTagKeySet(input[_ITK], context); + 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) => { + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AN] != null) { + const memberEntries = se_AccountAttributeNameStringList(input[_AN], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AttributeName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeAccountAttributesRequest"); +var se_DescribeAddressesAttributeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIll] != null) { + const memberEntries = se_AllocationIds(input[_AIll], context); + 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) => { + const entries = {}; + if (input[_PIu] != null) { + const memberEntries = se_PublicIpStringList(input[_PIu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PublicIp.${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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AllocationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeAddressesRequest"); +var se_DescribeAddressTransfersRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIll] != null) { + const memberEntries = se_AllocationIdList(input[_AIll], context); + 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) => { + const entries = {}; + if (input[_ZN] != null) { + const memberEntries = se_ZoneNameStringList(input[_ZN], context); + 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); + 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]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeAvailabilityZonesRequest"); +var se_DescribeAwsNetworkPerformanceMetricSubscriptionsRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + const entries = {}; + if (input[_BIun] != null) { + const memberEntries = se_BundleIdStringList(input[_BIun], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BundleId.${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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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_DescribeCapacityBlockExtensionHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRIa] != null) { + const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context); + 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); + 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_DescribeCapacityBlockExtensionHistoryRequest"); +var se_DescribeCapacityBlockExtensionOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CBEDH] != null) { + entries[_CBEDH] = input[_CBEDH]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeCapacityBlockExtensionOfferingsRequest"); +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] = (0, import_smithy_client.serializeDateTime)(input[_SDR]); + } + if (input[_EDR] != null) { + entries[_EDR] = (0, import_smithy_client.serializeDateTime)(input[_EDR]); + } + 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_DescribeCapacityReservationBillingRequestsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRIa] != null) { + const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CapacityReservationId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Ro] != null) { + entries[_Ro] = input[_Ro]; + } + 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); + 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_DescribeCapacityReservationBillingRequestsRequest"); +var se_DescribeCapacityReservationFleetsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CRFI] != null) { + const memberEntries = se_CapacityReservationFleetIdSet(input[_CRFI], context); + 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); + 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) => { + const entries = {}; + if (input[_CRIa] != null) { + const memberEntries = se_CapacityReservationIdSet(input[_CRIa], context); + 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); + 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) => { + const entries = {}; + if (input[_CGIa] != null) { + const memberEntries = se_CarrierGatewayIdSet(input[_CGIa], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeClassicLinkInstancesRequest"); +var se_DescribeClientVpnAuthorizationRulesRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_CVEIl] != null) { + const memberEntries = se_ClientVpnEndpointIdList(input[_CVEIl], context); + 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); + 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) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_CVEI] != null) { + entries[_CVEI] = input[_CVEI]; + } + if (input[_AIs] != null) { + const memberEntries = se_ValueStringList(input[_AIs], context); + 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); + 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) => { + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_CoipPoolIdSet(input[_PIoo], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CTIo] != null) { + const memberEntries = se_ConversionIdStringList(input[_CTIo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ConversionTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeConversionTasksRequest"); +var se_DescribeCustomerGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CGIus] != null) { + const memberEntries = se_CustomerGatewayIdStringList(input[_CGIus], context); + 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); + 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_DescribeDeclarativePoliciesReportsRequest = /* @__PURE__ */ __name((input, context) => { + 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[_RIepo] != null) { + const memberEntries = se_ValueStringList(input[_RIepo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReportId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeDeclarativePoliciesReportsRequest"); +var se_DescribeDhcpOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DOIh] != null) { + const memberEntries = se_DhcpOptionsIdStringList(input[_DOIh], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DhcpOptionsId.${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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeDhcpOptionsRequest"); +var se_DescribeEgressOnlyInternetGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EOIGIg] != null) { + const memberEntries = se_EgressOnlyInternetGatewayIdList(input[_EOIGIg], context); + 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); + 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) => { + const entries = {}; + if (input[_EGI] != null) { + const memberEntries = se_ElasticGpuIdSet(input[_EGI], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ETIx] != null) { + const memberEntries = se_ExportTaskIdStringList(input[_ETIx], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExportTaskId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeExportTasksRequest"); +var se_DescribeFastLaunchImagesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_FastLaunchImageIdList(input[_IImag], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + return entries; +}, "se_DescribeFleetHistoryRequest"); +var se_DescribeFleetInstancesRequest = /* @__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[_FIl] != null) { + entries[_FIl] = input[_FIl]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + 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); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_FIIp] != null) { + const memberEntries = se_FpgaImageIdList(input[_FIIp], context); + 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); + 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); + 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) => { + const entries = {}; + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + 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) => { + const entries = {}; + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + 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); + 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) => { + const entries = {}; + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${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[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeHostsRequest"); +var se_DescribeIamInstanceProfileAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AIs] != null) { + const memberEntries = se_AssociationIdList(input[_AIs], context); + 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); + 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[_Res] != null) { + entries[_Res] = input[_Res]; + } + if (input[_PAr] != null) { + entries[_PAr] = input[_PAr]; + } + 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) => { + const entries = {}; + if (input[_EU] != null) { + const memberEntries = se_ExecutableByStringList(input[_EU], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExecutableBy.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IImag] != null) { + const memberEntries = se_ImageIdStringList(input[_IImag], context); + 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); + 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[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeImagesRequest"); +var se_DescribeImportImageTasksRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + return entries; +}, "se_DescribeInstanceAttributeRequest"); +var se_DescribeInstanceConnectEndpointsRequest = /* @__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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IEWIn] != null) { + const memberEntries = se_InstanceEventWindowIdSet(input[_IEWIn], context); + 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); + 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_DescribeInstanceImageMetadataRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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]; + } + return entries; +}, "se_DescribeInstanceImageMetadataRequest"); +var se_DescribeInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeInstancesRequest"); +var se_DescribeInstanceStatusRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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) => { + 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); + 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); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ITnst] != null) { + const memberEntries = se_RequestInstanceTypeList(input[_ITnst], context); + 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); + 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) => { + const entries = {}; + 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[_IGIn] != null) { + const memberEntries = se_InternetGatewayIdList(input[_IGIn], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InternetGatewayId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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_DescribeIpamExternalResourceVerificationTokensRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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[_IERVTIp] != null) { + const memberEntries = se_ValueStringList(input[_IERVTIp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpamExternalResourceVerificationTokenId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeIpamExternalResourceVerificationTokensRequest"); +var se_DescribeIpamPoolsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDIp] != null) { + const memberEntries = se_ValueStringList(input[_IRDIp], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IRDAI] != null) { + const memberEntries = se_ValueStringList(input[_IRDAI], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_Ipv6PoolIdList(input[_PIoo], context); + 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); + 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) => { + const entries = {}; + if (input[_KNe] != null) { + const memberEntries = se_KeyNameStringList(input[_KNe], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `KeyPairId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IPK] != null) { + entries[_IPK] = input[_IPK]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeKeyPairsRequest"); +var se_DescribeLaunchTemplatesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_LTIa] != null) { + const memberEntries = se_LaunchTemplateIdStringList(input[_LTIa], context); + 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); + 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); + 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) => { + 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); + 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); + 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) => { + const entries = {}; + if (input[_LGRTIo] != null) { + const memberEntries = se_LocalGatewayRouteTableIdSet(input[_LGRTIo], context); + 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); + 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) => { + const entries = {}; + if (input[_LGRTVIGAIo] != null) { + const memberEntries = se_LocalGatewayRouteTableVirtualInterfaceGroupAssociationIdSet(input[_LGRTVIGAIo], context); + 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); + 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) => { + const entries = {}; + if (input[_LGRTVAIo] != null) { + const memberEntries = se_LocalGatewayRouteTableVpcAssociationIdSet(input[_LGRTVAIo], context); + 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); + 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) => { + const entries = {}; + if (input[_LGIo] != null) { + const memberEntries = se_LocalGatewayIdSet(input[_LGIo], context); + 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); + 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) => { + const entries = {}; + if (input[_LGVIGIo] != null) { + const memberEntries = se_LocalGatewayVirtualInterfaceGroupIdSet(input[_LGVIGIo], context); + 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); + 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) => { + const entries = {}; + if (input[_LGVII] != null) { + const memberEntries = se_LocalGatewayVirtualInterfaceIdSet(input[_LGVII], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_PIu] != null) { + const memberEntries = se_ValueStringList(input[_PIu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PublicIp.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeMovingAddressesRequest"); +var se_DescribeNatGatewaysRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fil] != null) { + const memberEntries = se_FilterList(input[_Fil], context); + 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); + 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) => { + const entries = {}; + 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[_NAIe] != null) { + const memberEntries = se_NetworkAclIdStringList(input[_NAIe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkAclId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeNetworkAclsRequest"); +var se_DescribeNetworkInsightsAccessScopeAnalysesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIASAIe] != null) { + const memberEntries = se_NetworkInsightsAccessScopeAnalysisIdList(input[_NIASAIe], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_ASTB]); + } + if (input[_ASTE] != null) { + entries[_ASTE] = (0, import_smithy_client.serializeDateTime)(input[_ASTE]); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_NIASIe] != null) { + const memberEntries = se_NetworkInsightsAccessScopeIdList(input[_NIASIe], context); + 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); + 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) => { + const entries = {}; + if (input[_NIAIe] != null) { + const memberEntries = se_NetworkInsightsAnalysisIdList(input[_NIAIe], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_AST]); + } + if (input[_AET] != null) { + entries[_AET] = (0, import_smithy_client.serializeDateTime)(input[_AET]); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_NIPIet] != null) { + const memberEntries = se_NetworkInsightsPathIdList(input[_NIPIet], context); + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + return entries; +}, "se_DescribeNetworkInterfaceAttributeRequest"); +var se_DescribeNetworkInterfacePermissionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NIPIetw] != null) { + const memberEntries = se_NetworkInterfacePermissionIdList(input[_NIPIetw], context); + 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); + 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) => { + const entries = {}; + 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[_NIIe] != null) { + const memberEntries = se_NetworkInterfaceIdList(input[_NIIe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterfaceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeNetworkInterfacesRequest"); +var se_DescribePlacementGroupsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GIro] != null) { + const memberEntries = se_PlacementGroupIdStringList(input[_GIro], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribePlacementGroupsRequest"); +var se_DescribePrefixListsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Re] != null) { + const memberEntries = se_ResourceList(input[_Re], context); + 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) => { + const entries = {}; + if (input[_PIoo] != null) { + const memberEntries = se_PublicIpv4PoolIdStringList(input[_PIoo], context); + 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); + 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) => { + const entries = {}; + if (input[_RNe] != null) { + const memberEntries = se_RegionNameStringList(input[_RNe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RegionName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ARll] != null) { + entries[_ARll] = input[_ARll]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeRegionsRequest"); +var se_DescribeReplaceRootVolumeTasksRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RRVTI] != null) { + const memberEntries = se_ReplaceRootVolumeTaskIds(input[_RRVTI], context); + 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); + 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) => { + const entries = {}; + if (input[_RIIe] != null) { + entries[_RIIe] = input[_RIIe]; + } + if (input[_RILI] != null) { + entries[_RILI] = input[_RILI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeReservedInstancesListingsRequest"); +var se_DescribeReservedInstancesModificationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RIMI] != null) { + const memberEntries = se_ReservedInstancesModificationIdStringList(input[_RIMI], context); + 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]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeReservedInstancesModificationsRequest"); +var se_DescribeReservedInstancesOfferingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + 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); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ITns] != null) { + entries[_ITns] = input[_ITns]; + } + if (input[_OT] != null) { + entries[_OT] = input[_OT]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeReservedInstancesOfferingsRequest"); +var se_DescribeReservedInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_OC] != null) { + entries[_OC] = input[_OC]; + } + if (input[_RIIes] != null) { + const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_OT] != null) { + entries[_OT] = input[_OT]; + } + return entries; +}, "se_DescribeReservedInstancesRequest"); +var se_DescribeRouteTablesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + 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[_RTIo] != null) { + const memberEntries = se_RouteTableIdStringList(input[_RTIo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RouteTableId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeRouteTablesRequest"); +var se_DescribeScheduledInstanceAvailabilityRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_GIr] != null) { + const memberEntries = se_GroupIds(input[_GIr], context); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_GIro] != null) { + const memberEntries = se_GroupIdStringList(input[_GIro], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeSecurityGroupsRequest"); +var se_DescribeSecurityGroupVpcAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeSecurityGroupVpcAssociationsRequest"); +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) => { + const entries = {}; + 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); + 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); + 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); + 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]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeSnapshotsRequest"); +var se_DescribeSnapshotTierStatusRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSpotFleetInstancesRequest"); +var se_DescribeSpotFleetRequestHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + if (input[_ETv] != null) { + entries[_ETv] = input[_ETv]; + } + if (input[_STt] != null) { + entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + if (input[_MR] != null) { + entries[_MR] = input[_MR]; + } + return entries; +}, "se_DescribeSpotFleetRequestHistoryRequest"); +var se_DescribeSpotFleetRequestsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SFRI] != null) { + const memberEntries = se_SpotFleetRequestIdList(input[_SFRI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotFleetRequestId.${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_DescribeSpotFleetRequestsRequest"); +var se_DescribeSpotInstanceRequestsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + 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[_SIRI] != null) { + const memberEntries = se_SpotInstanceRequestIdList(input[_SIRI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SpotInstanceRequestId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeSpotInstanceRequestsRequest"); +var se_DescribeSpotPriceHistoryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_STt] != null) { + entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + if (input[_ETn] != null) { + entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]); + } + if (input[_ITnst] != null) { + const memberEntries = se_InstanceTypeList(input[_ITnst], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_PDro] != null) { + const memberEntries = se_ProductDescriptionList(input[_PDro], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProductDescription.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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[_MR] != null) { + entries[_MR] = input[_MR]; + } + if (input[_NT] != null) { + entries[_NT] = input[_NT]; + } + 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) => { + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_ImageIdList(input[_IImag], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${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_DescribeSubnetsRequest"); +var se_DescribeTagsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeTrafficMirrorFilterRulesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMFRIr] != null) { + const memberEntries = se_TrafficMirrorFilterRuleIdList(input[_TMFRIr], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TrafficMirrorFilterRuleId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeTrafficMirrorFilterRulesRequest"); +var se_DescribeTrafficMirrorFiltersRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TMFIr] != null) { + const memberEntries = se_TrafficMirrorFilterIdList(input[_TMFIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TMSIr] != null) { + const memberEntries = se_TrafficMirrorSessionIdList(input[_TMSIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TMTIr] != null) { + const memberEntries = se_TrafficMirrorTargetIdList(input[_TMTIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGCPIr] != null) { + const memberEntries = se_TransitGatewayConnectPeerIdStringList(input[_TGCPIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGMDIr] != null) { + const memberEntries = se_TransitGatewayMulticastDomainIdStringList(input[_TGMDIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGPTIr] != null) { + const memberEntries = se_TransitGatewayPolicyTableIdStringList(input[_TGPTIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGRTAIr] != null) { + const memberEntries = se_TransitGatewayRouteTableAnnouncementIdStringList(input[_TGRTAIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGRTIr] != null) { + const memberEntries = se_TransitGatewayRouteTableIdStringList(input[_TGRTIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGIr] != null) { + const memberEntries = se_TransitGatewayIdStringList(input[_TGIr], context); + 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); + 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) => { + const entries = {}; + if (input[_TGAIr] != null) { + const memberEntries = se_TransitGatewayAttachmentIdStringList(input[_TGAIr], context); + 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); + 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) => { + const entries = {}; + if (input[_AIs] != null) { + const memberEntries = se_TrunkInterfaceAssociationIdList(input[_AIs], context); + 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); + 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) => { + const entries = {}; + if (input[_VAEIe] != null) { + const memberEntries = se_VerifiedAccessEndpointIdList(input[_VAEIe], context); + 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); + 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) => { + const entries = {}; + if (input[_VAGIe] != null) { + const memberEntries = se_VerifiedAccessGroupIdList(input[_VAGIe], context); + 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); + 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) => { + const entries = {}; + if (input[_VAIIe] != null) { + const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); + 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); + 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) => { + const entries = {}; + if (input[_VAIIe] != null) { + const memberEntries = se_VerifiedAccessInstanceIdList(input[_VAIIe], context); + 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); + 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) => { + const entries = {}; + if (input[_VATPIe] != null) { + const memberEntries = se_VerifiedAccessTrustProviderIdList(input[_VATPIe], context); + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIol] != null) { + const memberEntries = se_VolumeIdStringList(input[_VIol], context); + 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); + 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) => { + const entries = {}; + if (input[_VIol] != null) { + const memberEntries = se_VolumeIdStringList(input[_VIol], context); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_DescribeVolumesRequest"); +var se_DescribeVolumeStatusRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + 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); + 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[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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_DescribeVpcBlockPublicAccessExclusionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_EIxcl] != null) { + const memberEntries = se_VpcBlockPublicAccessExclusionIdList(input[_EIxcl], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ExclusionId.${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_DescribeVpcBlockPublicAccessExclusionsRequest"); +var se_DescribeVpcBlockPublicAccessOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DescribeVpcBlockPublicAccessOptionsRequest"); +var se_DescribeVpcClassicLinkDnsSupportRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VIp] != null) { + const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcIds.${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_DescribeVpcClassicLinkDnsSupportRequest"); +var se_DescribeVpcClassicLinkRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VIp] != null) { + const memberEntries = se_VpcClassicLinkIdList(input[_VIp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeVpcClassicLinkRequest"); +var se_DescribeVpcEndpointAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + 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); + 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_DescribeVpcEndpointAssociationsRequest"); +var se_DescribeVpcEndpointConnectionNotificationsRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SIer] != null) { + const memberEntries = se_VpcEndpointServiceIdList(input[_SIer], context); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SNer] != null) { + const memberEntries = se_ValueStringList(input[_SNer], context); + 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); + 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[_SRer] != null) { + const memberEntries = se_ValueStringList(input[_SRer], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ServiceRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeVpcEndpointServicesRequest"); +var se_DescribeVpcEndpointsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_VEI] != null) { + const memberEntries = se_VpcEndpointIdList(input[_VEI], context); + 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); + 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) => { + const entries = {}; + 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[_VPCIp] != null) { + const memberEntries = se_VpcPeeringConnectionIdList(input[_VPCIp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcPeeringConnectionId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Filter.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_DescribeVpcPeeringConnectionsRequest"); +var se_DescribeVpcsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `VpcId.${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_DescribeVpcsRequest"); +var se_DescribeVpnConnectionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AIt] != null) { + entries[_AIt] = input[_AIt]; + } + 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_DisableAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisableAllowedImagesSettingsRequest"); +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) => { + const entries = {}; + if (input[_AZv] != null) { + const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); + 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); + 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_DisassociateCapacityReservationBillingOwnerRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_URBOI] != null) { + entries[_URBOI] = input[_URBOI]; + } + return entries; +}, "se_DisassociateCapacityReservationBillingOwnerRequest"); +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) => { + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_AIs] != null) { + const memberEntries = se_EipAssociationIdList(input[_AIs], context); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + return entries; +}, "se_DisassociateRouteTableRequest"); +var se_DisassociateSecurityGroupVpcRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_DisassociateSecurityGroupVpcRequest"); +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) => { + 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); + 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[_Fo] != null) { + entries[_Fo] = input[_Fo]; + } + if (input[_By] != null) { + entries[_By] = input[_By]; + } + 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) => { + const entries = {}; + if (input[_CDSu] != null) { + const memberEntries = se_ValueStringList(input[_CDSu], context); + 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[_VIo] != null) { + entries[_VIo] = input[_VIo]; + } + if (input[_DOT] != null) { + entries[_DOT] = input[_DOT]; + } + 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_EnableAllowedImagesSettingsRequest = /* @__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_EnableAllowedImagesSettingsRequest"); +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) => { + const entries = {}; + if (input[_AZv] != null) { + const memberEntries = se_AvailabilityZoneStringList(input[_AZv], context); + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_DAe]); + } + 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) => { + 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); + 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[_DIFi] != null) { + entries[_DIFi] = input[_DIFi]; + } + if (input[_CFo] != null) { + entries[_CFo] = input[_CFo]; + } + 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) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_ExportVerifiedAccessInstanceClientConfigurationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAII] != null) { + entries[_VAII] = input[_VAII]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ExportVerifiedAccessInstanceClientConfigurationRequest"); +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) => { + const entries = {}; + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_Val] != null) { + const memberEntries = se_ValueStringList(input[_Val], context); + 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) => { + 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); + 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_GetAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_GetAllowedImagesSettingsRequest"); +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) => { + const entries = {}; + if (input[_DQ] != null) { + const memberEntries = se_DataQueries(input[_DQ], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DataQuery.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_STt] != null) { + entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + if (input[_ETn] != null) { + entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]); + } + 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) => { + const entries = {}; + if (input[_PIo] != null) { + entries[_PIo] = input[_PIo]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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[_La] != null) { + entries[_La] = input[_La]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + 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_GetDeclarativePoliciesReportSummaryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RIep] != null) { + entries[_RIep] = input[_RIep]; + } + return entries; +}, "se_GetDeclarativePoliciesReportSummaryRequest"); +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) => { + const entries = {}; + if (input[_HIS] != null) { + const memberEntries = se_RequestHostIdSet(input[_HIS], context); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_ATr] != null) { + const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + if (input[_ETn] != null) { + entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]); + } + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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[_ROe] != null) { + entries[_ROe] = input[_ROe]; + } + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RII] != null) { + const memberEntries = se_ReservedInstanceIdSet(input[_RII], context); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_ITnst] != null) { + const memberEntries = se_InstanceTypes(input[_ITnst], context); + 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); + 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) => { + const entries = {}; + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGPTI] != null) { + entries[_TGPTI] = input[_TGPTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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_GetVerifiedAccessEndpointTargetsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_VAEI] != null) { + entries[_VAEI] = input[_VAEI]; + } + 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_GetVerifiedAccessEndpointTargetsRequest"); +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[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + 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_ImageCriterionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPm] != null) { + const memberEntries = se_ImageProviderRequestList(input[_IPm], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageProvider.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ImageCriterionRequest"); +var se_ImageCriterionRequestList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ImageCriterionRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`ImageCriterion.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ImageCriterionRequestList"); +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_ImageProviderRequestList = /* @__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_ImageProviderRequestList"); +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) => { + const entries = {}; + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_CDl] != null) { + const memberEntries = se_ClientData(input[_CDl], 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); + 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); + 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); + 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) => { + const entries = {}; + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_GNr] != null) { + const memberEntries = se_SecurityGroupStringList(input[_GNr], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupName.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_GIro] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_GIro], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + if (input[_UD] != null) { + const memberEntries = se_UserData(input[_UD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserData.${key}`; + entries[loc] = value; + }); + } + if (input[_IT] != null) { + entries[_IT] = input[_IT]; + } + 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[_Mon] != null) { + entries[_Mon] = input[_Mon]; + } + if (input[_SIub] != null) { + entries[_SIub] = input[_SIub]; + } + if (input[_IISB] != null) { + entries[_IISB] = input[_IISB]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + return entries; +}, "se_ImportInstanceLaunchSpecification"); +var se_ImportInstanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + 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[_DIis] != null) { + const memberEntries = se_DiskImageList(input[_DIis], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DiskImage.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Pla] != null) { + entries[_Pla] = input[_Pla]; + } + return entries; +}, "se_ImportInstanceRequest"); +var se_ImportKeyPairRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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[_KN] != null) { + entries[_KN] = input[_KN]; + } + if (input[_PKM] != null) { + entries[_PKM] = context.base64Encoder(input[_PKM]); + } + return entries; +}, "se_ImportKeyPairRequest"); +var se_ImportSnapshotRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CDl] != null) { + const memberEntries = se_ClientData(input[_CDl], 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + 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[_De] != null) { + entries[_De] = input[_De]; + } + 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[_VN] != null) { + entries[_VN] = input[_VN]; + } + if (input[_ND] != null) { + entries[_ND] = input[_ND]; + } + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdList(input[_IIns], context); + 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); + 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); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdList(input[_IIns], context); + 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); + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + 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_InstanceNetworkPerformanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_BW] != null) { + entries[_BW] = input[_BW]; + } + return entries; +}, "se_InstanceNetworkPerformanceOptionsRequest"); +var se_InstanceRequirements = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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]; + } + if (input[_BPF] != null) { + const memberEntries = se_BaselinePerformanceFactors(input[_BPF], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BaselinePerformanceFactors.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceRequirements"); +var se_InstanceRequirementsRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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]; + } + if (input[_BPF] != null) { + const memberEntries = se_BaselinePerformanceFactorsRequest(input[_BPF], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BaselinePerformanceFactors.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_InstanceRequirementsRequest"); +var se_InstanceRequirementsWithMetadataRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ATr] != null) { + const memberEntries = se_ArchitectureTypeSet(input[_ATr], context); + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_AIth] != null) { + const memberEntries = se_AthenaIntegrationsSet(input[_AIth], context); + 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[_ROe] != null) { + entries[_ROe] = input[_ROe]; + } + 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) => { + 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[_UIGP] != null) { + const memberEntries = se_UserIdGroupPairList(input[_UIGP], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Groups.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_IRp] != null) { + const memberEntries = se_IpRangeList(input[_IRp], context); + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrefixListIds.${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[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + 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[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_CIid] != null) { + entries[_CIid] = input[_CIid]; + } + 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[_OAr] != null) { + entries[_OAr] = input[_OAr]; + } + if (input[_OUA] != null) { + entries[_OUA] = input[_OUA]; + } + if (input[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + if (input[_Gr] != null) { + entries[_Gr] = input[_Gr]; + } + 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) => { + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_LaunchPermissionList(input[_Add], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Rem] != null) { + const memberEntries = se_LaunchPermissionList(input[_Rem], context); + 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) => { + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + 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_LaunchTemplateNetworkPerformanceOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_BW] != null) { + entries[_BW] = input[_BW]; + } + return entries; +}, "se_LaunchTemplateNetworkPerformanceOptionsRequest"); +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[_SDp] != null) { + entries[_SDp] = input[_SDp]; + } + 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] = (0, import_smithy_client.serializeDateTime)(input[_VU]); + } + if (input[_IIB] != null) { + entries[_IIB] = input[_IIB]; + } + return entries; +}, "se_LaunchTemplateSpotMarketOptionsRequest"); +var se_LaunchTemplateTagSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + 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) => { + const entries = {}; + if (input[_IImag] != null) { + const memberEntries = se_ImageIdStringList(input[_IImag], context); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_Add] != null) { + const memberEntries = se_LoadPermissionListRequest(input[_Add], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Add.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Rem] != null) { + const memberEntries = se_LoadPermissionListRequest(input[_Rem], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_EDx]); + } + 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] = (0, import_smithy_client.serializeDateTime)(input[_ED]); + } + 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] = (0, import_smithy_client.serializeDateTime)(input[_ED]); + } + 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]; + } + if (input[_IMC] != null) { + entries[_IMC] = input[_IMC]; + } + return entries; +}, "se_ModifyCapacityReservationRequest"); +var se_ModifyClientVpnEndpointRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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) => { + 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); + 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); + 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); + 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) => { + const entries = {}; + 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]; + } + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `HostId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AP] != null) { + entries[_AP] = input[_AP]; + } + return entries; +}, "se_ModifyHostsRequest"); +var se_ModifyIdentityIdFormatRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Res] != null) { + entries[_Res] = input[_Res]; + } + if (input[_ULI] != null) { + entries[_ULI] = input[_ULI]; + } + if (input[_PAr] != null) { + entries[_PAr] = input[_PAr]; + } + 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) => { + 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); + 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); + 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); + 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[_OArg] != null) { + const memberEntries = se_OrganizationArnStringList(input[_OArg], context); + 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); + 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; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyImageAttributeRequest"); +var se_ModifyInstanceAttributeRequest = /* @__PURE__ */ __name((input, context) => { + 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[_DAS] != null) { + const memberEntries = se_AttributeBooleanValue(input[_DAS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `DisableApiStop.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + if (input[_BDM] != null) { + const memberEntries = se_InstanceBlockDeviceMappingSpecificationList(input[_BDM], context); + 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[_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[_UD] != null) { + const memberEntries = se_BlobAttributeValue(input[_UD], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `UserData.${key}`; + entries[loc] = value; + }); + } + 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[_G] != null) { + const memberEntries = se_GroupIdStringList(input[_G], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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[_SNS] != null) { + const memberEntries = se_AttributeValue(input[_SNS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SriovNetSupport.${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; + }); + } + 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_ModifyInstanceCpuOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_CC] != null) { + entries[_CC] = input[_CC]; + } + if (input[_TPC] != null) { + entries[_TPC] = input[_TPC]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyInstanceCpuOptionsRequest"); +var se_ModifyInstanceCreditSpecificationRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_NB]); + } + return entries; +}, "se_ModifyInstanceEventStartTimeRequest"); +var se_ModifyInstanceEventWindowRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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_ModifyInstanceNetworkPerformanceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_BW] != null) { + entries[_BW] = input[_BW]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ModifyInstanceNetworkPerformanceRequest"); +var se_ModifyInstancePlacementRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_PN] != null) { + entries[_PN] = input[_PN]; + } + if (input[_HRGA] != null) { + entries[_HRGA] = input[_HRGA]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_Te] != null) { + entries[_Te] = input[_Te]; + } + if (input[_Af] != null) { + entries[_Af] = input[_Af]; + } + if (input[_HIo] != null) { + entries[_HIo] = input[_HIo]; + } + return entries; +}, "se_ModifyInstancePlacementRequest"); +var se_ModifyIpamPoolRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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); + 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) => { + 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); + 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); + 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]; + } + if (input[_EPG] != null) { + entries[_EPG] = input[_EPG]; + } + 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) => { + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveOperatingRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_AOUE] != null) { + const memberEntries = se_AddIpamOrganizationalUnitExclusionSet(input[_AOUE], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddOrganizationalUnitExclusion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ROUE] != null) { + const memberEntries = se_RemoveIpamOrganizationalUnitExclusionSet(input[_ROUE], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveOrganizationalUnitExclusion.${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) => { + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddEntry.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_REe] != null) { + const memberEntries = se_RemovePrefixListEntries(input[_REe], context); + 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) => { + const entries = {}; + 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]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + 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[_SDC] != null) { + const memberEntries = se_AttributeBooleanValue(input[_SDC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourceDestCheck.${key}`; + entries[loc] = value; + }); + } + if (input[_G] != null) { + const memberEntries = se_SecurityGroupIdStringList(input[_G], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SecurityGroupId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Att] != null) { + const memberEntries = se_NetworkInterfaceAttachmentChanges(input[_Att], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Attachment.${key}`; + entries[loc] = value; + }); + } + 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) => { + const entries = {}; + if (input[_RIIes] != null) { + const memberEntries = se_ReservedInstancesIdStringList(input[_RIIes], context); + 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); + 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) => { + const entries = {}; + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_SGR] != null) { + const memberEntries = se_SecurityGroupRuleUpdateList(input[_SGR], context); + 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) => { + 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); + 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); + 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) => { + const entries = {}; + if (input[_LTC] != null) { + const memberEntries = se_LaunchTemplateConfigList(input[_LTC], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `LaunchTemplateConfig.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ODTC] != null) { + entries[_ODTC] = input[_ODTC]; + } + if (input[_Con] != null) { + entries[_Con] = input[_Con]; + } + if (input[_SFRIp] != null) { + entries[_SFRIp] = input[_SFRIp]; + } + if (input[_TCa] != null) { + entries[_TCa] = input[_TCa]; + } + if (input[_ECTP] != null) { + entries[_ECTP] = input[_ECTP]; + } + 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) => { + const entries = {}; + if (input[_TMFI] != null) { + entries[_TMFI] = input[_TMFI]; + } + if (input[_ANS] != null) { + const memberEntries = se_TrafficMirrorNetworkServiceList(input[_ANS], context); + 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); + 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) => { + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_ATGCB] != null) { + const memberEntries = se_TransitGatewayCidrBlockStringList(input[_ATGCB], context); + 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); + 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[_Op] != null) { + const memberEntries = se_ModifyTransitGatewayOptions(input[_Op], 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) => { + const entries = {}; + if (input[_TGAI] != null) { + entries[_TGAI] = input[_TGAI]; + } + if (input[_ASI] != null) { + const memberEntries = se_TransitGatewaySubnetIdList(input[_ASI], context); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSubnetIds.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Op] != null) { + const memberEntries = se_ModifyTransitGatewayVpcAttachmentRequestOptions(input[_Op], 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_ModifyVerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PRo] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVerifiedAccessEndpointCidrOptions"); +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]; + } + if (input[_PRo] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_ModifyVerifiedAccessEndpointEniOptions"); +var se_ModifyVerifiedAccessEndpointLoadBalancerOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIu] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + 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]; + } + if (input[_PRo] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointPortRangeList(input[_PRo], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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_ModifyVerifiedAccessEndpointPortRange = /* @__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_ModifyVerifiedAccessEndpointPortRange"); +var se_ModifyVerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ModifyVerifiedAccessEndpointPortRange(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointPortRangeList"); +var se_ModifyVerifiedAccessEndpointRdsOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SIu] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointSubnetIdList(input[_SIu], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SubnetId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Po] != null) { + entries[_Po] = input[_Po]; + } + if (input[_RE] != null) { + entries[_RE] = input[_RE]; + } + return entries; +}, "se_ModifyVerifiedAccessEndpointRdsOptions"); +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]; + } + if (input[_RO] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointRdsOptions(input[_RO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RdsOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_CO] != null) { + const memberEntries = se_ModifyVerifiedAccessEndpointCidrOptions(input[_CO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `CidrOptions.${key}`; + entries[loc] = value; + }); + } + 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]; + } + if (input[_CECSD] != null) { + entries[_CECSD] = input[_CECSD]; + } + return entries; +}, "se_ModifyVerifiedAccessInstanceRequest"); +var se_ModifyVerifiedAccessNativeApplicationOidcOptions = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PSKE] != null) { + entries[_PSKE] = input[_PSKE]; + } + 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_ModifyVerifiedAccessNativeApplicationOidcOptions"); +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; + }); + } + if (input[_NAOO] != null) { + const memberEntries = se_ModifyVerifiedAccessNativeApplicationOidcOptions(input[_NAOO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NativeApplicationOidcOptions.${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_ModifyVpcBlockPublicAccessExclusionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_EIxc] != null) { + entries[_EIxc] = input[_EIxc]; + } + if (input[_IGEM] != null) { + entries[_IGEM] = input[_IGEM]; + } + return entries; +}, "se_ModifyVpcBlockPublicAccessExclusionRequest"); +var se_ModifyVpcBlockPublicAccessOptionsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IGBM] != null) { + entries[_IGBM] = input[_IGBM]; + } + return entries; +}, "se_ModifyVpcBlockPublicAccessOptionsRequest"); +var se_ModifyVpcEndpointConnectionNotificationRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSupportedIpAddressType.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_ASR] != null) { + const memberEntries = se_ValueStringList(input[_ASR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `AddSupportedRegion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_RSR] != null) { + const memberEntries = se_ValueStringList(input[_RSR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `RemoveSupportedRegion.${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) => { + 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); + 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); + 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) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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_MoveCapacityReservationInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + 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[_SCRI] != null) { + entries[_SCRI] = input[_SCRI]; + } + if (input[_DCRI] != null) { + entries[_DCRI] = input[_DCRI]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + return entries; +}, "se_MoveCapacityReservationInstancesRequest"); +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) => { + const entries = {}; + if (input[_Ke] != null) { + entries[_Ke] = input[_Ke]; + } + if (input[_Val] != null) { + const memberEntries = se_ValueStringList(input[_Val], context); + 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_OperatorRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_Prin] != null) { + entries[_Prin] = input[_Prin]; + } + return entries; +}, "se_OperatorRequest"); +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) => { + const entries = {}; + if (input[_SAo] != null) { + const memberEntries = se_ValueStringList(input[_SAo], context); + 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); + 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); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `SourcePort.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DPes] != null) { + const memberEntries = se_ValueStringList(input[_DPes], context); + 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); + 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); + 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); + 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_PerformanceFactorReference = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + return entries; +}, "se_PerformanceFactorReference"); +var se_PerformanceFactorReferenceRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IF] != null) { + entries[_IF] = input[_IF]; + } + return entries; +}, "se_PerformanceFactorReferenceRequest"); +var se_PerformanceFactorReferenceSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PerformanceFactorReference(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PerformanceFactorReferenceSet"); +var se_PerformanceFactorReferenceSetRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PerformanceFactorReferenceRequest(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Item.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_PerformanceFactorReferenceSetRequest"); +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[_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[_SDp] != null) { + entries[_SDp] = input[_SDp]; + } + if (input[_HRGA] != null) { + entries[_HRGA] = input[_HRGA]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_AZ] != null) { + entries[_AZ] = input[_AZ]; + } + 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[_Ter] != null) { + entries[_Ter] = input[_Ter]; + } + if (input[_Pric] != null) { + entries[_Pric] = (0, import_smithy_client.serializeFloat)(input[_Pric]); + } + if (input[_CCu] != null) { + entries[_CCu] = input[_CCu]; + } + 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) => { + 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); + 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]; + } + if (input[_VM] != null) { + entries[_VM] = input[_VM]; + } + if (input[_IERVTI] != null) { + entries[_IERVTI] = input[_IERVTI]; + } + 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]; + } + if (input[_NBG] != null) { + entries[_NBG] = input[_NBG]; + } + 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_PurchaseCapacityBlockExtensionRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_CBEOI] != null) { + entries[_CBEOI] = input[_CBEOI]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_PurchaseCapacityBlockExtensionRequest"); +var se_PurchaseCapacityBlockRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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) => { + 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); + 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); + 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[_PTu] != null) { + entries[_PTu] = (0, import_smithy_client.serializeDateTime)(input[_PTu]); + } + 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; + }); + } + return entries; +}, "se_PurchaseReservedInstancesOfferingRequest"); +var se_PurchaseScheduledInstancesRequest = /* @__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[_PRu] != null) { + const memberEntries = se_PurchaseRequestSet(input[_PRu], context); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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) => { + const entries = {}; + if (input[_IL] != null) { + entries[_IL] = input[_IL]; + } + if (input[_BPi] != null) { + const memberEntries = se_BillingProductList(input[_BPi], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BillingProduct.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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); + 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[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + if (input[_Arc] != null) { + entries[_Arc] = input[_Arc]; + } + if (input[_KI] != null) { + entries[_KI] = input[_KI]; + } + if (input[_RIa] != null) { + entries[_RIa] = input[_RIa]; + } + if (input[_RDN] != null) { + entries[_RDN] = input[_RDN]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `BlockDeviceMapping.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_VTir] != null) { + entries[_VTir] = input[_VTir]; + } + if (input[_SNS] != null) { + entries[_SNS] = input[_SNS]; + } + if (input[_ESn] != null) { + entries[_ESn] = input[_ESn]; + } + 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) => { + const entries = {}; + if (input[_IATOI] != null) { + entries[_IATOI] = input[_IATOI]; + } + if (input[_ITK] != null) { + const memberEntries = se_InstanceTagKeySet(input[_ITK], context); + 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) => { + 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); + 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) => { + 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); + 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_RejectCapacityReservationBillingOwnershipRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_CRI] != null) { + entries[_CRI] = input[_CRI]; + } + return entries; +}, "se_RejectCapacityReservationBillingOwnershipRequest"); +var se_RejectTransitGatewayMulticastDomainAssociationsRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_HI] != null) { + const memberEntries = se_RequestHostIdList(input[_HI], context); + 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_RemoveIpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_OEP] != null) { + entries[_OEP] = input[_OEP]; + } + return entries; +}, "se_RemoveIpamOrganizationalUnitExclusion"); +var se_RemoveIpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_RemoveIpamOrganizationalUnitExclusion(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`Member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_RemoveIpamOrganizationalUnitExclusionSet"); +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_ReplaceImageCriteriaInAllowedImagesSettingsRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ICm] != null) { + const memberEntries = se_ImageCriterionRequestList(input[_ICm], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ImageCriterion.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + return entries; +}, "se_ReplaceImageCriteriaInAllowedImagesSettingsRequest"); +var se_ReplaceNetworkAclAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + return entries; +}, "se_ReplaceNetworkAclAssociationRequest"); +var se_ReplaceNetworkAclEntryRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_NAI] != null) { + entries[_NAI] = input[_NAI]; + } + if (input[_RNu] != null) { + entries[_RNu] = input[_RNu]; + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_RAu] != null) { + entries[_RAu] = input[_RAu]; + } + if (input[_Eg] != null) { + entries[_Eg] = input[_Eg]; + } + if (input[_CB] != null) { + entries[_CB] = input[_CB]; + } + if (input[_ICB] != null) { + entries[_ICB] = input[_ICB]; + } + 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[_PR] != null) { + const memberEntries = se_PortRange(input[_PR], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PortRange.${key}`; + entries[loc] = value; + }); + } + 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[_DPLI] != null) { + entries[_DPLI] = input[_DPLI]; + } + if (input[_VEIp] != null) { + entries[_VEIp] = input[_VEIp]; + } + if (input[_LTo] != null) { + entries[_LTo] = input[_LTo]; + } + 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[_CNAo] != null) { + entries[_CNAo] = input[_CNAo]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_RTI] != null) { + entries[_RTI] = input[_RTI]; + } + if (input[_DCB] != null) { + entries[_DCB] = input[_DCB]; + } + if (input[_GI] != null) { + entries[_GI] = input[_GI]; + } + if (input[_DICB] != null) { + entries[_DICB] = input[_DICB]; + } + if (input[_EOIGI] != null) { + entries[_EOIGI] = input[_EOIGI]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + return entries; +}, "se_ReplaceRouteRequest"); +var se_ReplaceRouteTableAssociationRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_AIss] != null) { + entries[_AIss] = input[_AIss]; + } + 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) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_In] != null) { + const memberEntries = se_InstanceIdStringList(input[_In], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `InstanceId.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_Statu] != null) { + entries[_Statu] = input[_Statu]; + } + if (input[_STt] != null) { + entries[_STt] = (0, import_smithy_client.serializeDateTime)(input[_STt]); + } + if (input[_ETn] != null) { + entries[_ETn] = (0, import_smithy_client.serializeDateTime)(input[_ETn]); + } + if (input[_RCe] != null) { + const memberEntries = se_ReasonCodesList(input[_RCe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ReasonCode.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_De] != null) { + entries[_De] = input[_De]; + } + 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) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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[_COp] != null) { + const memberEntries = se_LaunchTemplateCpuOptionsRequest(input[_COp], 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); + 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]; + } + if (input[_O] != null) { + const memberEntries = se_OperatorRequest(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Operator.${key}`; + entries[loc] = value; + }); + } + if (input[_NPO] != null) { + const memberEntries = se_LaunchTemplateNetworkPerformanceOptionsRequest(input[_NPO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkPerformanceOptions.${key}`; + entries[loc] = value; + }); + } + 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) => { + const entries = {}; + 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[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + 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]; + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SPp] != null) { + entries[_SPp] = input[_SPp]; + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_IC] != null) { + entries[_IC] = input[_IC]; + } + if (input[_T] != null) { + entries[_T] = input[_T]; + } + if (input[_VF] != null) { + entries[_VF] = (0, import_smithy_client.serializeDateTime)(input[_VF]); + } + if (input[_VU] != null) { + entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]); + } + if (input[_LG] != null) { + entries[_LG] = input[_LG]; + } + if (input[_AZG] != null) { + entries[_AZG] = input[_AZG]; + } + if (input[_BDMl] != null) { + entries[_BDMl] = input[_BDMl]; + } + return entries; +}, "se_RequestSpotInstancesRequest"); +var se_RequestSpotLaunchSpecification = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_SGI] != null) { + const memberEntries = se_RequestSpotLaunchSpecificationSecurityGroupIdList(input[_SGI], context); + 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); + 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); + 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); + 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[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_IIn] != null) { + entries[_IIn] = input[_IIn]; + } + if (input[_At] != null) { + entries[_At] = input[_At]; + } + 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) => { + const entries = {}; + if (input[_Re] != null) { + const memberEntries = se_ValueStringList(input[_Re], context); + 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); + 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) => { + const entries = {}; + if (input[_SGRI] != null) { + const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); + 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[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_SSGN] != null) { + entries[_SSGN] = input[_SSGN]; + } + if (input[_SSGOI] != null) { + entries[_SSGOI] = input[_SSGOI]; + } + 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[_CIi] != null) { + entries[_CIi] = input[_CIi]; + } + if (input[_IPpe] != null) { + const memberEntries = se_IpPermissionList(input[_IPpe], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `IpPermissions.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_RevokeSecurityGroupEgressRequest"); +var se_RevokeSecurityGroupIngressRequest = /* @__PURE__ */ __name((input, context) => { + 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); + 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[_SGRI] != null) { + const memberEntries = se_SecurityGroupRuleIdList(input[_SGRI], context); + 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]; + } + 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) => { + const entries = {}; + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingRequestList(input[_BDM], context); + 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); + 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); + 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); + 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[_EGSl] != null) { + const memberEntries = se_ElasticGpuSpecifications(input[_EGSl], context); + 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); + 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); + 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[_COp] != null) { + const memberEntries = se_CpuOptionsRequest(input[_COp], 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); + 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]; + } + if (input[_NPO] != null) { + const memberEntries = se_InstanceNetworkPerformanceOptionsRequest(input[_NPO], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkPerformanceOptions.${key}`; + entries[loc] = value; + }); + } + if (input[_O] != null) { + const memberEntries = se_OperatorRequest(input[_O], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Operator.${key}`; + entries[loc] = value; + }); + } + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_DATis] != null) { + entries[_DATis] = input[_DATis]; + } + if (input[_IISB] != null) { + entries[_IISB] = input[_IISB]; + } + if (input[_PIAr] != null) { + entries[_PIAr] = input[_PIAr]; + } + if (input[_CTl] === void 0) { + input[_CTl] = (0, import_uuid.v4)(); + } + if (input[_CTl] != null) { + entries[_CTl] = input[_CTl]; + } + if (input[_AId] != null) { + entries[_AId] = input[_AId]; + } + if (input[_NI] != null) { + const memberEntries = se_InstanceNetworkInterfaceSpecificationList(input[_NI], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `NetworkInterface.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + 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[_EO] != null) { + entries[_EO] = input[_EO]; + } + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_BDM] != null) { + const memberEntries = se_ScheduledInstancesBlockDeviceMappingSet(input[_BDM], context); + 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); + 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); + 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) => { + 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); + 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); + 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); + 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) => { + const entries = {}; + if (input[_LGRTI] != null) { + entries[_LGRTI] = input[_LGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGMDI] != null) { + entries[_TGMDI] = input[_TGMDI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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) => { + const entries = {}; + if (input[_TGRTI] != null) { + entries[_TGRTI] = input[_TGRTI]; + } + if (input[_Fi] != null) { + const memberEntries = se_FilterList(input[_Fi], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_ETa]); + } + if (input[_LTat] != null) { + entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]); + } + return entries; +}, "se_SlotDateTimeRangeRequest"); +var se_SlotStartTimeRangeRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_ETa] != null) { + entries[_ETa] = (0, import_smithy_client.serializeDateTime)(input[_ETa]); + } + if (input[_LTat] != null) { + entries[_LTat] = (0, import_smithy_client.serializeDateTime)(input[_LTat]); + } + 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) => { + const entries = {}; + if (input[_ATd] != null) { + entries[_ATd] = input[_ATd]; + } + if (input[_BDM] != null) { + const memberEntries = se_BlockDeviceMappingList(input[_BDM], context); + 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); + 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); + 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; + }); + } + if (input[_SG] != null) { + const memberEntries = se_GroupIdentifierList(input[_SG], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `GroupSet.${key.substring(key.indexOf(".") + 1)}`; + 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) => { + 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); + 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); + 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] = (0, import_smithy_client.serializeDateTime)(input[_VF]); + } + if (input[_VU] != null) { + entries[_VU] = (0, import_smithy_client.serializeDateTime)(input[_VU]); + } + 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); + 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) => { + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + 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] = (0, import_smithy_client.serializeDateTime)(input[_VU]); + } + 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_StartDeclarativePoliciesReportRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DRr] != null) { + entries[_DRr] = input[_DRr]; + } + if (input[_SB] != null) { + entries[_SB] = input[_SB]; + } + if (input[_SP] != null) { + entries[_SP] = input[_SP]; + } + if (input[_TIa] != null) { + entries[_TIa] = input[_TIa]; + } + if (input[_TS] != null) { + const memberEntries = se_TagSpecificationList(input[_TS], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TagSpecification.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_StartDeclarativePoliciesReportRequest"); +var se_StartInstancesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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) => { + 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); + 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) => { + const entries = {}; + if (input[_NIPI] != null) { + entries[_NIPI] = input[_NIPI]; + } + if (input[_AAd] != null) { + const memberEntries = se_ValueStringList(input[_AAd], context); + 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); + 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); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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) => { + const entries = {}; + if (input[_RT] != null) { + entries[_RT] = input[_RT]; + } + if (input[_Ta] != null) { + const memberEntries = se_TagList(input[_Ta], context); + 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) => { + const entries = {}; + if (input[_TG] != null) { + const memberEntries = se_TargetGroups(input[_TG], context); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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_TrafficMirrorFilterRuleIdList = /* @__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_TrafficMirrorFilterRuleIdList"); +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) => { + 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); + 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) => { + const entries = {}; + if (input[_IP] != null) { + const memberEntries = se_IpPrefixList(input[_IP], context); + 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]; + } + if (input[_IA] != null) { + const memberEntries = se_Ipv6AddressList(input[_IA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv6Addresses.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_UnassignIpv6AddressesRequest"); +var se_UnassignPrivateIpAddressesRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_IPp] != null) { + const memberEntries = se_IpPrefixList(input[_IPp], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Ipv4Prefix.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + if (input[_NII] != null) { + entries[_NII] = input[_NII]; + } + if (input[_PIA] != null) { + const memberEntries = se_PrivateIpAddressStringList(input[_PIA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PrivateIpAddress.${key.substring(key.indexOf(".") + 1)}`; + entries[loc] = value; + }); + } + return entries; +}, "se_UnassignPrivateIpAddressesRequest"); +var se_UnassignPrivateNatGatewayAddressRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_NGI] != null) { + entries[_NGI] = input[_NGI]; + } + if (input[_PIA] != null) { + const memberEntries = se_IpList(input[_PIA], context); + 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) => { + const entries = {}; + if (input[_IIns] != null) { + const memberEntries = se_InstanceIdStringList(input[_IIns], context); + 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) => { + 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); + 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); + 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) => { + 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); + 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); + 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[_UIs] != null) { + entries[_UIs] = input[_UIs]; + } + if (input[_GN] != null) { + entries[_GN] = input[_GN]; + } + if (input[_GIr] != null) { + entries[_GIr] = input[_GIr]; + } + if (input[_VI] != null) { + entries[_VI] = input[_VI]; + } + if (input[_VPCI] != null) { + entries[_VPCI] = input[_VPCI]; + } + if (input[_PSe] != null) { + entries[_PSe] = input[_PSe]; + } + 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_VpcBlockPublicAccessExclusionIdList = /* @__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_VpcBlockPublicAccessExclusionIdList"); +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) => { + const entries = {}; + if (input[_EA] != null) { + entries[_EA] = input[_EA]; + } + if (input[_TIIV] != null) { + entries[_TIIV] = input[_TIIV]; + } + if (input[_TO] != null) { + const memberEntries = se_VpnTunnelOptionsSpecificationsList(input[_TO], context); + 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]; + } + if (input[_SRO] != null) { + entries[_SRO] = input[_SRO]; + } + 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) => { + 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); + 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); + 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); + 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); + 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); + 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); + 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); + 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_AcceptCapacityReservationBillingOwnershipResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_AcceptCapacityReservationBillingOwnershipResult"); +var de_AcceptReservedInstancesExchangeQuoteResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eI] != null) { + contents[_EIxch] = (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[_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]); + } + 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]); + } + 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[_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]); + } + if (output[_pI] != null) { + contents[_PI] = (0, import_smithy_client.expectString)(output[_pI]); + } + 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_AssociateCapacityReservationBillingOwnerResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_AssociateCapacityReservationBillingOwnerResult"); +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_AssociateSecurityGroupVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_AssociateSecurityGroupVpcResult"); +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_AttributeSummary = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aN] != null) { + contents[_ANt] = (0, import_smithy_client.expectString)(output[_aN]); + } + if (output[_mFV] != null) { + contents[_MFV] = (0, import_smithy_client.expectString)(output[_mFV]); + } + if (output[_nOMA] != null) { + contents[_NOMA] = (0, import_smithy_client.strictParseInt32)(output[_nOMA]); + } + if (output[_nOUA] != null) { + contents[_NOUA] = (0, import_smithy_client.strictParseInt32)(output[_nOUA]); + } + if (output.regionalSummarySet === "") { + contents[_RSeg] = []; + } else if (output[_rSS] != null && output[_rSS][_i] != null) { + contents[_RSeg] = de_RegionalSummaryList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSS][_i]), context); + } + return contents; +}, "de_AttributeSummary"); +var de_AttributeSummaryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_AttributeSummary(entry, context); + }); +}, "de_AttributeSummaryList"); +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[_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]); + } + if (output[_zS] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_zS]); + } + 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_BandwidthWeightingTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_BandwidthWeightingTypeList"); +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_BaselinePerformanceFactors = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cp] != null) { + contents[_Cp] = de_CpuPerformanceFactor(output[_cp], context); + } + return contents; +}, "de_BaselinePerformanceFactors"); +var de_BlockDeviceMapping = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eb] != null) { + contents[_E] = de_EbsBlockDevice(output[_eb], context); + } + if (output[_nD] != null) { + contents[_ND] = (0, import_smithy_client.expectString)(output[_nD]); + } + 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]); + } + 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_BlockPublicAccessStates = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iGBM] != null) { + contents[_IGBM] = (0, import_smithy_client.expectString)(output[_iGBM]); + } + return contents; +}, "de_BlockPublicAccessStates"); +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[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_bI] != null) { + contents[_BIu] = (0, import_smithy_client.expectString)(output[_bI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_uT] != null) { + contents[_UTp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_uT])); + } + if (output[_sto] != null) { + contents[_St] = de_Storage(output[_sto], context); + } + if (output[_pro] != null) { + contents[_Prog] = (0, import_smithy_client.expectString)(output[_pro]); + } + if (output[_er] != null) { + contents[_BTE] = de_BundleTaskError(output[_er], context); + } + 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_CancelDeclarativePoliciesReportResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_CancelDeclarativePoliciesReportResult"); +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_CapacityBlockExtension = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + 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[_cBEOI] != null) { + contents[_CBEOI] = (0, import_smithy_client.expectString)(output[_cBEOI]); + } + if (output[_cBEDH] != null) { + contents[_CBEDH] = (0, import_smithy_client.strictParseInt32)(output[_cBEDH]); + } + if (output[_cBES] != null) { + contents[_CBES] = (0, import_smithy_client.expectString)(output[_cBES]); + } + if (output[_cBEPD] != null) { + contents[_CBEPD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEPD])); + } + if (output[_cBESD] != null) { + contents[_CBESD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBESD])); + } + if (output[_cBEED] != null) { + contents[_CBEED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEED])); + } + 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]); + } + return contents; +}, "de_CapacityBlockExtension"); +var de_CapacityBlockExtensionOffering = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cBEOI] != null) { + contents[_CBEOI] = (0, import_smithy_client.expectString)(output[_cBEOI]); + } + if (output[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + 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[_sD] != null) { + contents[_SD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sD])); + } + if (output[_cBESD] != null) { + contents[_CBESD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBESD])); + } + if (output[_cBEED] != null) { + contents[_CBEED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cBEED])); + } + if (output[_cBEDH] != null) { + contents[_CBEDH] = (0, import_smithy_client.strictParseInt32)(output[_cBEDH]); + } + 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_CapacityBlockExtensionOffering"); +var de_CapacityBlockExtensionOfferingSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityBlockExtensionOffering(entry, context); + }); +}, "de_CapacityBlockExtensionOfferingSet"); +var de_CapacityBlockExtensionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityBlockExtension(entry, context); + }); +}, "de_CapacityBlockExtensionSet"); +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[_SD] = (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]); + } + if (output[_cBDM] != null) { + contents[_CBDM] = (0, import_smithy_client.strictParseInt32)(output[_cBDM]); + } + 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[_SD] = (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]); + } + if (output[_uRBOI] != null) { + contents[_URBOI] = (0, import_smithy_client.expectString)(output[_uRBOI]); + } + if (output[_cIom] != null) { + contents[_CIomm] = de_CapacityReservationCommitmentInfo(output[_cIom], context); + } + if (output[_dP] != null) { + contents[_DP] = (0, import_smithy_client.expectString)(output[_dP]); + } + return contents; +}, "de_CapacityReservation"); +var de_CapacityReservationBillingRequest = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cRI] != null) { + contents[_CRI] = (0, import_smithy_client.expectString)(output[_cRI]); + } + if (output[_rB] != null) { + contents[_RB] = (0, import_smithy_client.expectString)(output[_rB]); + } + if (output[_uRBOI] != null) { + contents[_URBOI] = (0, import_smithy_client.expectString)(output[_uRBOI]); + } + if (output[_lUT] != null) { + contents[_LUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUT])); + } + 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[_cRIa] != null) { + contents[_CRIap] = de_CapacityReservationInfo(output[_cRIa], context); + } + return contents; +}, "de_CapacityReservationBillingRequest"); +var de_CapacityReservationBillingRequestSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_CapacityReservationBillingRequest(entry, context); + }); +}, "de_CapacityReservationBillingRequestSet"); +var de_CapacityReservationCommitmentInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_cIC] != null) { + contents[_CIC] = (0, import_smithy_client.strictParseInt32)(output[_cIC]); + } + if (output[_cED] != null) { + contents[_CED] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cED])); + } + return contents; +}, "de_CapacityReservationCommitmentInfo"); +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_CapacityReservationInfo = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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[_t] != null) { + contents[_Te] = (0, import_smithy_client.expectString)(output[_t]); + } + return contents; +}, "de_CapacityReservationInfo"); +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[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + 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]); + } + if (output[_sR] != null) { + contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]); + } + 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.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[_sIn] != null) { + contents[_SIn] = (0, import_smithy_client.expectString)(output[_sIn]); + } + 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_CpuPerformanceFactor = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.referenceSet === "") { + contents[_R] = []; + } else if (output[_rS] != null && output[_rS][_i] != null) { + contents[_R] = de_PerformanceFactorReferenceSet((0, import_smithy_client.getArrayIfSingleItem)(output[_rS][_i]), context); + } + return contents; +}, "de_CpuPerformanceFactor"); +var de_CreateCapacityReservationBySplittingResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCR] != null) { + contents[_SCR] = de_CapacityReservation(output[_sCR], context); + } + if (output[_dCR] != null) { + contents[_DCRe] = de_CapacityReservation(output[_dCR], context); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + return contents; +}, "de_CreateCapacityReservationBySplittingResult"); +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_CreateIpamExternalResourceVerificationTokenResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iERVT] != null) { + contents[_IERVT] = de_IpamExternalResourceVerificationToken(output[_iERVT], context); + } + return contents; +}, "de_CreateIpamExternalResourceVerificationTokenResult"); +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[_Rou] = 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); + } + if (output[_sGA] != null) { + contents[_SGA] = (0, import_smithy_client.expectString)(output[_sGA]); + } + 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[_sCRu] != null) { + contents[_SCRu] = de_SubnetCidrReservation(output[_sCRu], 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[_Rou] = 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[_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_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_CreateVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vBPAE] != null) { + contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context); + } + return contents; +}, "de_CreateVpcBlockPublicAccessExclusionResult"); +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[_cAe] != null) { + contents[_CA] = (0, import_smithy_client.expectString)(output[_cAe]); + } + 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); + } + if (output[_bAE] != null) { + contents[_BAE] = (0, import_smithy_client.expectString)(output[_bAE]); + } + if (output[_cGIu] != null) { + contents[_CGIu] = (0, import_smithy_client.expectString)(output[_cGIu]); + } + 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[_iAp] != null) { + contents[_IAp] = (0, import_smithy_client.expectString)(output[_iAp]); + } + if (output[_bA] != null) { + contents[_BA] = (0, import_smithy_client.expectString)(output[_bA]); + } + 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_DeclarativePoliciesReport = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rI] != null) { + contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]); + } + 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]); + } + if (output[_tI] != null) { + contents[_TIa] = (0, import_smithy_client.expectString)(output[_tI]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_eTn] != null) { + contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + 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_DeclarativePoliciesReport"); +var de_DeclarativePoliciesReportList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_DeclarativePoliciesReport(entry, context); + }); +}, "de_DeclarativePoliciesReportList"); +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_DeleteIpamExternalResourceVerificationTokenResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iERVT] != null) { + contents[_IERVT] = de_IpamExternalResourceVerificationToken(output[_iERVT], context); + } + return contents; +}, "de_DeleteIpamExternalResourceVerificationTokenResult"); +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[_REes] = 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[_Rou] = 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[_Rou] = 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_DeleteVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vBPAE] != null) { + contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context); + } + return contents; +}, "de_DeleteVpcBlockPublicAccessExclusionResult"); +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_DescribeCapacityBlockExtensionHistoryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.capacityBlockExtensionSet === "") { + contents[_CBE] = []; + } else if (output[_cBESa] != null && output[_cBESa][_i] != null) { + contents[_CBE] = de_CapacityBlockExtensionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBESa][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCapacityBlockExtensionHistoryResult"); +var de_DescribeCapacityBlockExtensionOfferingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.capacityBlockExtensionOfferingSet === "") { + contents[_CBEO] = []; + } else if (output[_cBEOS] != null && output[_cBEOS][_i] != null) { + contents[_CBEO] = de_CapacityBlockExtensionOfferingSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBEOS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeCapacityBlockExtensionOfferingsResult"); +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_DescribeCapacityReservationBillingRequestsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.capacityReservationBillingRequestSet === "") { + contents[_CRBR] = []; + } else if (output[_cRBRS] != null && output[_cRBRS][_i] != null) { + contents[_CRBR] = de_CapacityReservationBillingRequestSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cRBRS][_i]), context); + } + return contents; +}, "de_DescribeCapacityReservationBillingRequestsResult"); +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[_Rout] = []; + } else if (output[_rou] != null && output[_rou][_i] != null) { + contents[_Rout] = 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_DescribeDeclarativePoliciesReportsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.reportSet === "") { + contents[_Rep] = []; + } else if (output[_rSe] != null && output[_rSe][_i] != null) { + contents[_Rep] = de_DeclarativePoliciesReportList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSe][_i]), context); + } + return contents; +}, "de_DescribeDeclarativePoliciesReportsResult"); +var de_DescribeDhcpOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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[_eTna] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTnab] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab])); + } + 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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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_DescribeInstanceImageMetadataResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.instanceImageMetadataSet === "") { + contents[_IIM] = []; + } else if (output[_iIMS] != null && output[_iIMS][_i] != null) { + contents[_IIM] = de_InstanceImageMetadataList((0, import_smithy_client.getArrayIfSingleItem)(output[_iIMS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeInstanceImageMetadataResult"); +var de_DescribeInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.reservationSet === "") { + contents[_Rese] = []; + } else if (output[_rSes] != null && output[_rSes][_i] != null) { + contents[_Rese] = de_ReservationList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSes][_i]), context); + } + 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_DescribeIpamExternalResourceVerificationTokensResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.ipamExternalResourceVerificationTokenSet === "") { + contents[_IERVTp] = []; + } else if (output[_iERVTS] != null && output[_iERVTS][_i] != null) { + contents[_IERVTp] = de_IpamExternalResourceVerificationTokenSet( + (0, import_smithy_client.getArrayIfSingleItem)(output[_iERVTS][_i]), + context + ); + } + return contents; +}, "de_DescribeIpamExternalResourceVerificationTokensResult"); +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[_rIe] != null && output[_rIe][_i] != null) { + contents[_Reg] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_rIe][_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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + return contents; +}, "de_DescribeSecurityGroupsResult"); +var de_DescribeSecurityGroupVpcAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.securityGroupVpcAssociationSet === "") { + contents[_SGVA] = []; + } else if (output[_sGVAS] != null && output[_sGVAS][_i] != null) { + contents[_SGVA] = de_SecurityGroupVpcAssociationList((0, import_smithy_client.getArrayIfSingleItem)(output[_sGVAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeSecurityGroupVpcAssociationsResult"); +var de_DescribeSnapshotAttributeResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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]); + } + 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); + } + return contents; +}, "de_DescribeSnapshotAttributeResult"); +var de_DescribeSnapshotsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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_DescribeTrafficMirrorFilterRulesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.trafficMirrorFilterRuleSet === "") { + contents[_TMFRr] = []; + } else if (output[_tMFRS] != null && output[_tMFRS][_i] != null) { + contents[_TMFRr] = de_TrafficMirrorFilterRuleSet((0, import_smithy_client.getArrayIfSingleItem)(output[_tMFRS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeTrafficMirrorFilterRulesResult"); +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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + if (output.volumeModificationSet === "") { + contents[_VMo] = []; + } else if (output[_vMS] != null && output[_vMS][_i] != null) { + contents[_VMo] = de_VolumeModificationList((0, import_smithy_client.getArrayIfSingleItem)(output[_vMS][_i]), context); + } + return contents; +}, "de_DescribeVolumesModificationsResult"); +var de_DescribeVolumesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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[_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); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + return contents; +}, "de_DescribeVpcAttributeResult"); +var de_DescribeVpcBlockPublicAccessExclusionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcBlockPublicAccessExclusionSet === "") { + contents[_VBPAEp] = []; + } else if (output[_vBPAES] != null && output[_vBPAES][_i] != null) { + contents[_VBPAEp] = de_VpcBlockPublicAccessExclusionList((0, import_smithy_client.getArrayIfSingleItem)(output[_vBPAES][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcBlockPublicAccessExclusionsResult"); +var de_DescribeVpcBlockPublicAccessOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vBPAO] != null) { + contents[_VBPAO] = de_VpcBlockPublicAccessOptions(output[_vBPAO], context); + } + return contents; +}, "de_DescribeVpcBlockPublicAccessOptionsResult"); +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_DescribeVpcEndpointAssociationsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.vpcEndpointAssociationSet === "") { + contents[_VEA] = []; + } else if (output[_vEAS] != null && output[_vEAS][_i] != null) { + contents[_VEA] = de_VpcEndpointAssociationSet((0, import_smithy_client.getArrayIfSingleItem)(output[_vEAS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_DescribeVpcEndpointAssociationsResult"); +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[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + 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); + } + 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[_tIe] != null) { + contents[_TIe] = (0, import_smithy_client.expectString)(output[_tIe]); + } + if (output[_pSKU] != null) { + contents[_PSKU] = (0, import_smithy_client.expectString)(output[_pSKU]); + } + return contents; +}, "de_DeviceOptions"); +var de_DeviceTrustProviderTypeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_DeviceTrustProviderTypeList"); +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[_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[_dOI] != null) { + contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); + } + 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); + } + 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_DisableAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aISS] != null) { + contents[_AISS] = (0, import_smithy_client.expectString)(output[_aISS]); + } + return contents; +}, "de_DisableAllowedImagesSettingsResult"); +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[_eTna] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTnab] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab])); + } + 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_DisassociateCapacityReservationBillingOwnerResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_DisassociateCapacityReservationBillingOwnerResult"); +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_DisassociateSecurityGroupVpcResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_DisassociateSecurityGroupVpcResult"); +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]); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + 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_EbsStatusDetails = /* @__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_EbsStatusDetails"); +var de_EbsStatusDetailsList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_EbsStatusDetails(entry, context); + }); +}, "de_EbsStatusDetailsList"); +var de_EbsStatusSummary = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.details === "") { + contents[_Det] = []; + } else if (output[_det] != null && output[_det][_i] != null) { + contents[_Det] = de_EbsStatusDetailsList((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_EbsStatusSummary"); +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_EnableAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aISS] != null) { + contents[_AISS] = (0, import_smithy_client.expectString)(output[_aISS]); + } + return contents; +}, "de_EnableAllowedImagesSettingsResult"); +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[_eTna] != null) { + contents[_ETna] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTna])); + } + if (output[_oT] != null) { + contents[_OTpt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_oT])); + } + if (output[_eTnab] != null) { + contents[_ETnab] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTnab])); + } + 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_ExportVerifiedAccessInstanceClientConfigurationResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ve] != null) { + contents[_V] = (0, import_smithy_client.expectString)(output[_ve]); + } + if (output[_vAII] != null) { + contents[_VAII] = (0, import_smithy_client.expectString)(output[_vAII]); + } + if (output[_re] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]); + } + if (output.deviceTrustProviderSet === "") { + contents[_DTP] = []; + } else if (output[_dTPS] != null && output[_dTPS][_i] != null) { + contents[_DTP] = de_DeviceTrustProviderTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_dTPS][_i]), context); + } + if (output[_uTP] != null) { + contents[_UTP] = de_VerifiedAccessInstanceUserTrustProviderClientConfiguration(output[_uTP], context); + } + if (output.openVpnConfigurationSet === "") { + contents[_OVC] = []; + } else if (output[_oVCS] != null && output[_oVCS][_i] != null) { + contents[_OVC] = de_VerifiedAccessInstanceOpenVpnClientConfigurationList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_oVCS][_i]), + context + ); + } + return contents; +}, "de_ExportVerifiedAccessInstanceClientConfigurationResult"); +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[_DPes] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPes] = 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[_DPes] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPes] = 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[_rSep] != null) { + contents[_RS] = (0, import_smithy_client.expectString)(output[_rSep]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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_GetAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output.imageCriterionSet === "") { + contents[_ICm] = []; + } else if (output[_iCS] != null && output[_iCS][_i] != null) { + contents[_ICm] = de_ImageCriterionList((0, import_smithy_client.getArrayIfSingleItem)(output[_iCS][_i]), context); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + return contents; +}, "de_GetAllowedImagesSettingsResult"); +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[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + if (output[_ou] != null) { + contents[_Ou] = (0, import_smithy_client.expectString)(output[_ou]); + } + 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_GetDeclarativePoliciesReportSummaryResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rI] != null) { + contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]); + } + 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]); + } + if (output[_tI] != null) { + contents[_TIa] = (0, import_smithy_client.expectString)(output[_tI]); + } + if (output[_sT] != null) { + contents[_STt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sT])); + } + if (output[_eTn] != null) { + contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + if (output[_nOA] != null) { + contents[_NOA] = (0, import_smithy_client.strictParseInt32)(output[_nOA]); + } + if (output[_nOFA] != null) { + contents[_NOFA] = (0, import_smithy_client.strictParseInt32)(output[_nOFA]); + } + if (output.attributeSummarySet === "") { + contents[_ASt] = []; + } else if (output[_aSSt] != null && output[_aSSt][_i] != null) { + contents[_ASt] = de_AttributeSummaryList((0, import_smithy_client.getArrayIfSingleItem)(output[_aSSt][_i]), context); + } + return contents; +}, "de_GetDeclarativePoliciesReportSummaryResult"); +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[_res] != null) { + contents[_Resu] = (0, import_smithy_client.expectString)(output[_res]); + } + 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]); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + 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[_ti] != null) { + contents[_Tim] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ti])); + } + if (output[_pD] != null) { + contents[_PDa] = (0, import_smithy_client.expectString)(output[_pD]); + } + 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]); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + 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]); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + 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_GetVerifiedAccessEndpointTargetsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.verifiedAccessEndpointTargetSet === "") { + contents[_VAET] = []; + } else if (output[_vAETS] != null && output[_vAETS][_i] != null) { + contents[_VAET] = de_VerifiedAccessEndpointTargetList((0, import_smithy_client.getArrayIfSingleItem)(output[_vAETS][_i]), context); + } + if (output[_nTe] != null) { + contents[_NT] = (0, import_smithy_client.expectString)(output[_nTe]); + } + return contents; +}, "de_GetVerifiedAccessEndpointTargetsResult"); +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[_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_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[_reso] != null) { + contents[_Res] = (0, import_smithy_client.expectString)(output[_reso]); + } + 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[_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.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[_sRt] != null) { + contents[_SRt] = de_StateReason(output[_sRt], 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[_dPe] != null) { + contents[_DPer] = (0, import_smithy_client.expectString)(output[_dPe]); + } + if (output[_lLT] != null) { + contents[_LLT] = (0, import_smithy_client.expectString)(output[_lLT]); + } + if (output[_iAm] != null) { + contents[_IAm] = (0, import_smithy_client.parseBoolean)(output[_iAm]); + } + if (output[_sIIo] != null) { + contents[_SII] = (0, import_smithy_client.expectString)(output[_sIIo]); + } + if (output[_sIR] != null) { + contents[_SIRo] = (0, import_smithy_client.expectString)(output[_sIR]); + } + 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[_iSma] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]); + } + if (output[_iOI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]); + } + if (output[_cDr] != null) { + contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]); + } + if (output[_iPs] != null) { + contents[_Pu] = (0, import_smithy_client.parseBoolean)(output[_iPs]); + } + 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[_arc] != null) { + contents[_Arc] = (0, import_smithy_client.expectString)(output[_arc]); + } + if (output[_iTm] != null) { + contents[_ITm] = (0, import_smithy_client.expectString)(output[_iTm]); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + return contents; +}, "de_Image"); +var de_ImageAttribute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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[_dPe] != null) { + contents[_DPer] = de_AttributeValue(output[_dPe], 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.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); + } + return contents; +}, "de_ImageAttribute"); +var de_ImageCriterion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.imageProviderSet === "") { + contents[_IPm] = []; + } else if (output[_iPSm] != null && output[_iPSm][_i] != null) { + contents[_IPm] = de_ImageProviderList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSm][_i]), context); + } + return contents; +}, "de_ImageCriterion"); +var de_ImageCriterionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_ImageCriterion(entry, context); + }); +}, "de_ImageCriterionList"); +var de_ImageList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_Image(entry, context); + }); +}, "de_ImageList"); +var de_ImageMetadata = /* @__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[_iOI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOI]); + } + if (output[_iSma] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_iSma]); + } + if (output[_iOA] != null) { + contents[_IOA] = (0, import_smithy_client.expectString)(output[_iOA]); + } + if (output[_cDr] != null) { + contents[_CDre] = (0, import_smithy_client.expectString)(output[_cDr]); + } + if (output[_dTe] != null) { + contents[_DTep] = (0, import_smithy_client.expectString)(output[_dTe]); + } + if (output[_iAm] != null) { + contents[_IAm] = (0, import_smithy_client.parseBoolean)(output[_iAm]); + } + if (output[_iPs] != null) { + contents[_IPs] = (0, import_smithy_client.parseBoolean)(output[_iPs]); + } + return contents; +}, "de_ImageMetadata"); +var de_ImageProviderList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return (0, import_smithy_client.expectString)(entry); + }); +}, "de_ImageProviderList"); +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[_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[_sRt] != null) { + contents[_SRt] = de_StateReason(output[_sRt], 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[_COp] = 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]); + } + if (output[_nPO] != null) { + contents[_NPO] = de_InstanceNetworkPerformanceOptions(output[_nPO], context); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_iIma] != null) { + contents[_IIma] = (0, import_smithy_client.expectString)(output[_iIma]); + } + if (output[_iSnst] != null) { + contents[_Stat] = de_InstanceState(output[_iSnst], context); + } + if (output[_pDN] != null) { + contents[_PDN] = (0, import_smithy_client.expectString)(output[_pDN]); + } + if (output[_dNn] != null) { + contents[_PDNu] = (0, import_smithy_client.expectString)(output[_dNn]); + } + if (output[_rea] != null) { + contents[_STRt] = (0, import_smithy_client.expectString)(output[_rea]); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_aLI] != null) { + contents[_ALI] = (0, import_smithy_client.strictParseInt32)(output[_aLI]); + } + 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[_iT] != null) { + contents[_IT] = (0, import_smithy_client.expectString)(output[_iT]); + } + if (output[_lTau] != null) { + contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau])); + } + if (output[_pla] != null) { + contents[_Pl] = de_Placement(output[_pla], context); + } + if (output[_kI] != null) { + contents[_KI] = (0, import_smithy_client.expectString)(output[_kI]); + } + if (output[_rIa] != null) { + contents[_RIa] = (0, import_smithy_client.expectString)(output[_rIa]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_mo] != null) { + contents[_Mon] = de_Monitoring(output[_mo], context); + } + 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[_pIA] != null) { + contents[_PIAr] = (0, import_smithy_client.expectString)(output[_pIA]); + } + if (output[_iAp] != null) { + contents[_PIAu] = (0, import_smithy_client.expectString)(output[_iAp]); + } + 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.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); + } + 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); + } + 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_InstanceImageMetadata = /* @__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[_lTau] != null) { + contents[_LTaun] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lTau])); + } + 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]); + } + if (output[_iSnst] != null) { + contents[_Stat] = de_InstanceState(output[_iSnst], context); + } + if (output[_iOIn] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_iOIn]); + } + 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[_iM] != null) { + contents[_IMm] = de_ImageMetadata(output[_iM], context); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + return contents; +}, "de_InstanceImageMetadata"); +var de_InstanceImageMetadataList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_InstanceImageMetadata(entry, context); + }); +}, "de_InstanceImageMetadataList"); +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]); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + if (output[_mEM] != null) { + contents[_MEM] = (0, import_smithy_client.expectString)(output[_mEM]); + } + 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); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], 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_InstanceNetworkPerformanceOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bW] != null) { + contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]); + } + return contents; +}, "de_InstanceNetworkPerformanceOptions"); +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]); + } + if (output[_bPF] != null) { + contents[_BPF] = de_BaselinePerformanceFactors(output[_bPF], context); + } + 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[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_cSu] != null) { + contents[_CSu] = de_InstanceState(output[_cSu], context); + } + 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[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + 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); + } + if (output[_aES] != null) { + contents[_AES] = de_EbsStatusSummary(output[_aES], 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); + } + if (output[_pSh] != null) { + contents[_PSh] = (0, import_smithy_client.expectString)(output[_pSh]); + } + 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]); + } + if (output[_ePG] != null) { + contents[_EPG] = (0, import_smithy_client.parseBoolean)(output[_ePG]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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])); + } + if (output[_oUI] != null) { + contents[_OUI] = (0, import_smithy_client.expectString)(output[_oUI]); + } + 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[_SRerv] = (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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_iSpo] != null) { + contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]); + } + 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[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output[_nIASet] != null) { + contents[_NIASet] = (0, import_smithy_client.expectString)(output[_nIASet]); + } + if (output[_sTa] != null) { + contents[_STa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_sTa])); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + 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_IpamExternalResourceVerificationToken = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iERVTI] != null) { + contents[_IERVTI] = (0, import_smithy_client.expectString)(output[_iERVTI]); + } + if (output[_iERVTA] != null) { + contents[_IERVTA] = (0, import_smithy_client.expectString)(output[_iERVTA]); + } + 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[_tV] != null) { + contents[_TVo] = (0, import_smithy_client.expectString)(output[_tV]); + } + if (output[_tN] != null) { + contents[_TN] = (0, import_smithy_client.expectString)(output[_tN]); + } + if (output[_nAo] != null) { + contents[_NAo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_nAo])); + } + if (output[_sta] != null) { + contents[_Statu] = (0, import_smithy_client.expectString)(output[_sta]); + } + 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[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + return contents; +}, "de_IpamExternalResourceVerificationToken"); +var de_IpamExternalResourceVerificationTokenSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamExternalResourceVerificationToken(entry, context); + }); +}, "de_IpamExternalResourceVerificationTokenSet"); +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_IpamOrganizationalUnitExclusion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_oEP] != null) { + contents[_OEP] = (0, import_smithy_client.expectString)(output[_oEP]); + } + return contents; +}, "de_IpamOrganizationalUnitExclusion"); +var de_IpamOrganizationalUnitExclusionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_IpamOrganizationalUnitExclusion(entry, context); + }); +}, "de_IpamOrganizationalUnitExclusionSet"); +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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_ROe] = (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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_ROe] = (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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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]); + } + if (output[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + 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); + } + if (output.organizationalUnitExclusionSet === "") { + contents[_OUE] = []; + } else if (output[_oUES] != null && output[_oUES][_i] != null) { + contents[_OUE] = de_IpamOrganizationalUnitExclusionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_oUES][_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[_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.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); + } + 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); + } + 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[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_cIi] != null) { + contents[_CIi] = (0, import_smithy_client.expectString)(output[_cIi]); + } + 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[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_cIid] != null) { + contents[_CIid] = (0, import_smithy_client.expectString)(output[_cIid]); + } + 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[_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); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + 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]); + } + 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[_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])); + } + if (output[_kN] != null) { + contents[_KN] = (0, import_smithy_client.expectString)(output[_kN]); + } + if (output[_kFe] != null) { + contents[_KFe] = (0, import_smithy_client.expectString)(output[_kFe]); + } + 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[_oAr] != null) { + contents[_OAr] = (0, import_smithy_client.expectString)(output[_oAr]); + } + if (output[_oUA] != null) { + contents[_OUA] = (0, import_smithy_client.expectString)(output[_oUA]); + } + 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_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[_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.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[_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); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], 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_LaunchTemplateNetworkPerformanceOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_bW] != null) { + contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]); + } + return contents; +}, "de_LaunchTemplateNetworkPerformanceOptions"); +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[_SDp] = (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); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], 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[_sRt] != null) { + contents[_SRt] = de_StateReason(output[_sRt], 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[_SD] = (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_ModifyInstanceCpuOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + 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]); + } + return contents; +}, "de_ModifyInstanceCpuOptionsResult"); +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_ModifyInstanceNetworkPerformanceResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_bW] != null) { + contents[_BW] = (0, import_smithy_client.expectString)(output[_bW]); + } + return contents; +}, "de_ModifyInstanceNetworkPerformanceResult"); +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[_Rou] = 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[_VMol] = de_VolumeModification(output[_vM], context); + } + return contents; +}, "de_ModifyVolumeResult"); +var de_ModifyVpcBlockPublicAccessExclusionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vBPAE] != null) { + contents[_VBPAE] = de_VpcBlockPublicAccessExclusion(output[_vBPAE], context); + } + return contents; +}, "de_ModifyVpcBlockPublicAccessExclusionResult"); +var de_ModifyVpcBlockPublicAccessOptionsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vBPAO] != null) { + contents[_VBPAO] = de_VpcBlockPublicAccessOptions(output[_vBPAO], context); + } + return contents; +}, "de_ModifyVpcBlockPublicAccessOptionsResult"); +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_MoveCapacityReservationInstancesResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sCR] != null) { + contents[_SCR] = de_CapacityReservation(output[_sCR], context); + } + if (output[_dCR] != null) { + contents[_DCRe] = de_CapacityReservation(output[_dCR], context); + } + if (output[_iC] != null) { + contents[_IC] = (0, import_smithy_client.strictParseInt32)(output[_iC]); + } + return contents; +}, "de_MoveCapacityReservationInstancesResult"); +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[_IPsr] = (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_NativeApplicationOidcOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_pSKE] != null) { + contents[_PSKE] = (0, import_smithy_client.expectString)(output[_pSKE]); + } + 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[_sc] != null) { + contents[_Sc] = (0, import_smithy_client.expectString)(output[_sc]); + } + return contents; +}, "de_NativeApplicationOidcOptions"); +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]); + } + if (output[_eSna] != null) { + contents[_ESn] = (0, import_smithy_client.expectString)(output[_eSna]); + } + 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]); + } + if (output.bandwidthWeightings === "") { + contents[_BWa] = []; + } else if (output[_bWa] != null && output[_bWa][_i] != null) { + contents[_BWa] = de_BandwidthWeightingTypeList((0, import_smithy_client.getArrayIfSingleItem)(output[_bWa][_i]), context); + } + 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[_SD] = (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[_SD] = (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[_dPes] != null) { + contents[_DPe] = (0, import_smithy_client.strictParseInt32)(output[_dPes]); + } + 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]); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + 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_OperatorResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_mana] != null) { + contents[_Mana] = (0, import_smithy_client.parseBoolean)(output[_mana]); + } + if (output[_p] != null) { + contents[_Prin] = (0, import_smithy_client.expectString)(output[_p]); + } + return contents; +}, "de_OperatorResponse"); +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[_DPes] = []; + } else if (output[_dPS] != null && output[_dPS][_i] != null) { + contents[_DPes] = 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[_rSeso] != null) { + contents[_RSe] = de_ResourceStatement(output[_rSeso], 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[_re] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]); + } + return contents; +}, "de_PeeringTgwInfo"); +var de_PerformanceFactorReference = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_iF] != null) { + contents[_IF] = (0, import_smithy_client.expectString)(output[_iF]); + } + return contents; +}, "de_PerformanceFactorReference"); +var de_PerformanceFactorReferenceSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_PerformanceFactorReference(entry, context); + }); +}, "de_PerformanceFactorReferenceSet"); +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[_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[_SDp] = (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]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + if (output[_rO] != null) { + contents[_ROe] = (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_PurchaseCapacityBlockExtensionResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output.capacityBlockExtensionSet === "") { + contents[_CBE] = []; + } else if (output[_cBESa] != null && output[_cBESa][_i] != null) { + contents[_CBE] = de_CapacityBlockExtensionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_cBESa][_i]), context); + } + return contents; +}, "de_PurchaseCapacityBlockExtensionResult"); +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[_oIS] != null) { + contents[_OIS] = (0, import_smithy_client.expectString)(output[_oIS]); + } + if (output[_rNe] != null) { + contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); + } + if (output[_rEe] != null) { + contents[_Endp] = (0, import_smithy_client.expectString)(output[_rEe]); + } + return contents; +}, "de_Region"); +var de_RegionalSummary = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rNe] != null) { + contents[_RN] = (0, import_smithy_client.expectString)(output[_rNe]); + } + if (output[_nOMA] != null) { + contents[_NOMA] = (0, import_smithy_client.strictParseInt32)(output[_nOMA]); + } + if (output[_nOUA] != null) { + contents[_NOUA] = (0, import_smithy_client.strictParseInt32)(output[_nOUA]); + } + return contents; +}, "de_RegionalSummary"); +var de_RegionalSummaryList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RegionalSummary(entry, context); + }); +}, "de_RegionalSummaryList"); +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_RejectCapacityReservationBillingOwnershipResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_Ret] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_RejectCapacityReservationBillingOwnershipResult"); +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_ReplaceImageCriteriaInAllowedImagesSettingsResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_r] != null) { + contents[_RV] = (0, import_smithy_client.parseBoolean)(output[_r]); + } + return contents; +}, "de_ReplaceImageCriteriaInAllowedImagesSettingsResult"); +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[_Rou] = 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[_rIese] != null) { + contents[_RIeser] = (0, import_smithy_client.expectString)(output[_rIese]); + } + 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.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); + } + 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[_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); + } + if (output[_rII] != null) { + contents[_RIIe] = (0, import_smithy_client.expectString)(output[_rII]); + } + 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[_star] != null) { + contents[_Star] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_star])); + } + if (output[_end] != null) { + contents[_End] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_end])); + } + if (output[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); + } + if (output[_uPs] != null) { + contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); + } + 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[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + 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[_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]); + } + if (output[_rIOI] != null) { + contents[_RIOIe] = (0, import_smithy_client.expectString)(output[_rIOI]); + } + 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[_du] != null) { + contents[_Du] = (0, import_smithy_client.strictParseLong)(output[_du]); + } + if (output[_uPs] != null) { + contents[_UPs] = (0, import_smithy_client.strictParseFloat)(output[_uPs]); + } + if (output[_fPi] != null) { + contents[_FPi] = (0, import_smithy_client.strictParseFloat)(output[_fPi]); + } + if (output[_pDr] != null) { + contents[_PDr] = (0, import_smithy_client.expectString)(output[_pDr]); + } + 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[_Re] = []; + } else if (output[_rSesou] != null && output[_rSesou][_i] != null) { + contents[_Re] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSesou][_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 + ); + } + 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[_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 + ); + } + 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); + } + 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[_COp] = 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]); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + if (output[_nPO] != null) { + contents[_NPO] = de_LaunchTemplateNetworkPerformanceOptions(output[_nPO], context); + } + 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_RevokedSecurityGroupRule = /* @__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[_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[_RGI] = (0, import_smithy_client.expectString)(output[_rGI]); + } + if (output[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + return contents; +}, "de_RevokedSecurityGroupRule"); +var de_RevokedSecurityGroupRuleList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_RevokedSecurityGroupRule(entry, context); + }); +}, "de_RevokedSecurityGroupRuleList"); +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); + } + if (output.revokedSecurityGroupRuleSet === "") { + contents[_RSGR] = []; + } else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) { + contents[_RSGR] = de_RevokedSecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSGRS][_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); + } + if (output.revokedSecurityGroupRuleSet === "") { + contents[_RSGR] = []; + } else if (output[_rSGRS] != null && output[_rSGRS][_i] != null) { + contents[_RSGR] = de_RevokedSecurityGroupRuleList((0, import_smithy_client.getArrayIfSingleItem)(output[_rSGRS][_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[_Rout] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rout] = 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]); + } + if (output[_nPe] != null) { + contents[_NPe] = (0, import_smithy_client.expectString)(output[_nPe]); + } + if (output[_pl] != null) { + contents[_Pla] = (0, import_smithy_client.expectString)(output[_pl]); + } + if (output[_pTu] != null) { + contents[_PT] = (0, import_smithy_client.expectString)(output[_pTu]); + } + if (output[_rec] != null) { + contents[_Rec] = de_ScheduledInstanceRecurrence(output[_rec], context); + } + if (output[_sDIH] != null) { + contents[_SDIH] = (0, import_smithy_client.strictParseInt32)(output[_sDIH]); + } + if (output[_tSIH] != null) { + contents[_TSIH] = (0, import_smithy_client.strictParseInt32)(output[_tSIH]); + } + 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[_Rout] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rout] = 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[_Rout] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rout] = 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[_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]); + } + if (output[_sGA] != null) { + contents[_SGA] = (0, import_smithy_client.expectString)(output[_sGA]); + } + if (output[_oI] != null) { + contents[_OIwn] = (0, import_smithy_client.expectString)(output[_oI]); + } + if (output[_gN] != null) { + contents[_GN] = (0, import_smithy_client.expectString)(output[_gN]); + } + if (output[_gD] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_gD]); + } + 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); + } + 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[_rGIe] != null) { + contents[_RGIe] = de_ReferencedSecurityGroup(output[_rGIe], 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); + } + if (output[_sGRA] != null) { + contents[_SGRA] = (0, import_smithy_client.expectString)(output[_sGRA]); + } + 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_SecurityGroupVpcAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_gIr] != null) { + contents[_GIr] = (0, import_smithy_client.expectString)(output[_gIr]); + } + 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[_sRt] != null) { + contents[_SRt] = (0, import_smithy_client.expectString)(output[_sRt]); + } + return contents; +}, "de_SecurityGroupVpcAssociation"); +var de_SecurityGroupVpcAssociationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SecurityGroupVpcAssociation(entry, context); + }); +}, "de_SecurityGroupVpcAssociationList"); +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); + } + if (output.supportedRegionSet === "") { + contents[_SRu] = []; + } else if (output[_sRS] != null && output[_sRS][_i] != null) { + contents[_SRu] = de_SupportedRegionSet((0, import_smithy_client.getArrayIfSingleItem)(output[_sRS][_i]), context); + } + if (output[_rAE] != null) { + contents[_RAE] = (0, import_smithy_client.parseBoolean)(output[_rAE]); + } + 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[_sR] != null) { + contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]); + } + 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[_oAw] != null) { + contents[_OAw] = (0, import_smithy_client.expectString)(output[_oAw]); + } + if (output[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + 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[_rET] != null) { + contents[_RET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_rET])); + } + if (output[_sTs] != null) { + contents[_STs] = (0, import_smithy_client.expectString)(output[_sTs]); + } + if (output[_tTr] != null) { + contents[_TTr] = (0, import_smithy_client.expectString)(output[_tTr]); + } + if (output[_cDM] != null) { + contents[_CDM] = (0, import_smithy_client.strictParseInt32)(output[_cDM]); + } + if (output[_cTomp] != null) { + contents[_CTomp] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTomp])); + } + 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[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_sM] != null) { + contents[_SMt] = (0, import_smithy_client.expectString)(output[_sM]); + } + 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[_de] != null) { + contents[_De] = (0, import_smithy_client.expectString)(output[_de]); + } + if (output[_vSo] != null) { + contents[_VS] = (0, import_smithy_client.strictParseInt32)(output[_vSo]); + } + 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[_dEKI] != null) { + contents[_DEKI] = (0, import_smithy_client.expectString)(output[_dEKI]); + } + 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]); + } + if (output[_dN] != null) { + contents[_DN] = (0, import_smithy_client.expectString)(output[_dN]); + } + if (output[_dIS] != null) { + contents[_DISi] = (0, import_smithy_client.strictParseFloat)(output[_dIS]); + } + if (output[_f] != null) { + contents[_Fo] = (0, import_smithy_client.expectString)(output[_f]); + } + 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_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]); + } + 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[_enc] != null) { + contents[_Enc] = (0, import_smithy_client.parseBoolean)(output[_enc]); + } + 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[_rSep] != null) { + contents[_RS] = (0, import_smithy_client.expectString)(output[_rSep]); + } + 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[_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); + } + 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); + } + 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); + } + 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); + } + if (output[_sPp] != null) { + contents[_SPp] = (0, import_smithy_client.expectString)(output[_sPp]); + } + if (output[_tCar] != null) { + contents[_TCa] = (0, import_smithy_client.strictParseInt32)(output[_tCar]); + } + if (output[_oDTC] != null) { + contents[_ODTC] = (0, import_smithy_client.strictParseInt32)(output[_oDTC]); + } + 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); + }); +}, "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); + }); +}, "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); + }); +}, "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[_re] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]); + } + 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]); + } + 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[_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_StartDeclarativePoliciesReportResult = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_rI] != null) { + contents[_RIep] = (0, import_smithy_client.expectString)(output[_rI]); + } + return contents; +}, "de_StartDeclarativePoliciesReportResult"); +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[_aZI] != null) { + contents[_AZI] = (0, import_smithy_client.expectString)(output[_aZI]); + } + if (output[_eLADI] != null) { + contents[_ELADI] = (0, import_smithy_client.strictParseInt32)(output[_eLADI]); + } + 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[_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); + } + if (output[_bPAS] != null) { + contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context); + } + 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]); + } + if (output[_vI] != null) { + contents[_VI] = (0, import_smithy_client.expectString)(output[_vI]); + } + if (output[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_aIAC] != null) { + contents[_AIAC] = (0, import_smithy_client.strictParseInt32)(output[_aIAC]); + } + if (output[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_dFA] != null) { + contents[_DFA] = (0, import_smithy_client.parseBoolean)(output[_dFA]); + } + if (output[_mPIOL] != null) { + contents[_MPIOL] = (0, import_smithy_client.parseBoolean)(output[_mPIOL]); + } + 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[_SCRIu] = (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_SubnetIpPrefixes = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sIu] != null) { + contents[_SIub] = (0, import_smithy_client.expectString)(output[_sIu]); + } + if (output.ipPrefixSet === "") { + contents[_IPpre] = []; + } else if (output[_iPSpr] != null && output[_iPSpr][_i] != null) { + contents[_IPpre] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpr][_i]), context); + } + return contents; +}, "de_SubnetIpPrefixes"); +var de_SubnetIpPrefixesList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SubnetIpPrefixes(entry, context); + }); +}, "de_SubnetIpPrefixesList"); +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); + } + if (output[_iAA] != null) { + contents[_IAA] = (0, import_smithy_client.expectString)(output[_iAA]); + } + if (output[_iSpo] != null) { + contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]); + } + 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]); + } + 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]); + } + 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_SupportedRegionDetail = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_re] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]); + } + if (output[_sSer] != null) { + contents[_SSe] = (0, import_smithy_client.expectString)(output[_sSer]); + } + return contents; +}, "de_SupportedRegionDetail"); +var de_SupportedRegionSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_SupportedRegionDetail(entry, context); + }); +}, "de_SupportedRegionSet"); +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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rSeso] != null) { + contents[_RSe] = de_ResourceStatement(output[_rSeso], 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]); + } + 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_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_TrafficMirrorFilterRuleSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_TrafficMirrorFilterRule(entry, context); + }); +}, "de_TrafficMirrorFilterRuleSet"); +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[_opt] != null) { + contents[_Op] = de_TransitGatewayOptions(output[_opt], 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_opt] != null) { + contents[_Op] = de_TransitGatewayConnectOptions(output[_opt], 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[_opt] != null) { + contents[_Op] = de_TransitGatewayMulticastDomainOptions(output[_opt], 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_opt] != null) { + contents[_Op] = de_TransitGatewayPeeringAttachmentOptions(output[_opt], 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_opt] != null) { + contents[_Op] = de_TransitGatewayVpcAttachmentOptions(output[_opt], 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[_rIes] != null) { + contents[_RIeso] = (0, import_smithy_client.expectString)(output[_rIes]); + } + 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[_uI] != null) { + contents[_UIs] = (0, import_smithy_client.expectString)(output[_uI]); + } + 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]); + } + 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]); + } + if (output[_pSee] != null) { + contents[_PSe] = (0, import_smithy_client.expectString)(output[_pSee]); + } + 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[_lUTa] != null) { + contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]); + } + 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); + } + if (output[_rOd] != null) { + contents[_RO] = de_VerifiedAccessEndpointRdsOptions(output[_rOd], context); + } + if (output[_cOi] != null) { + contents[_CO] = de_VerifiedAccessEndpointCidrOptions(output[_cOi], context); + } + return contents; +}, "de_VerifiedAccessEndpoint"); +var de_VerifiedAccessEndpointCidrOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + if (output.portRangeSet === "") { + contents[_PRo] = []; + } else if (output[_pRS] != null && output[_pRS][_i] != null) { + contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context); + } + if (output[_pr] != null) { + contents[_P] = (0, import_smithy_client.expectString)(output[_pr]); + } + 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_VerifiedAccessEndpointCidrOptions"); +var de_VerifiedAccessEndpointEniOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_nII] != null) { + contents[_NII] = (0, import_smithy_client.expectString)(output[_nII]); + } + 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.portRangeSet === "") { + contents[_PRo] = []; + } else if (output[_pRS] != null && output[_pRS][_i] != null) { + contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context); + } + return contents; +}, "de_VerifiedAccessEndpointEniOptions"); +var de_VerifiedAccessEndpointList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessEndpoint(entry, context); + }); +}, "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); + } + if (output.portRangeSet === "") { + contents[_PRo] = []; + } else if (output[_pRS] != null && output[_pRS][_i] != null) { + contents[_PRo] = de_VerifiedAccessEndpointPortRangeList((0, import_smithy_client.getArrayIfSingleItem)(output[_pRS][_i]), context); + } + return contents; +}, "de_VerifiedAccessEndpointLoadBalancerOptions"); +var de_VerifiedAccessEndpointPortRange = /* @__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_VerifiedAccessEndpointPortRange"); +var de_VerifiedAccessEndpointPortRangeList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessEndpointPortRange(entry, context); + }); +}, "de_VerifiedAccessEndpointPortRangeList"); +var de_VerifiedAccessEndpointRdsOptions = /* @__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[_rDIA] != null) { + contents[_RDIA] = (0, import_smithy_client.expectString)(output[_rDIA]); + } + if (output[_rDCA] != null) { + contents[_RDCA] = (0, import_smithy_client.expectString)(output[_rDCA]); + } + if (output[_rDPA] != null) { + contents[_RDPA] = (0, import_smithy_client.expectString)(output[_rDPA]); + } + if (output[_rEd] != null) { + contents[_RE] = (0, import_smithy_client.expectString)(output[_rEd]); + } + 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_VerifiedAccessEndpointRdsOptions"); +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); + }); +}, "de_VerifiedAccessEndpointSubnetIdList"); +var de_VerifiedAccessEndpointTarget = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_vAEI] != null) { + contents[_VAEI] = (0, import_smithy_client.expectString)(output[_vAEI]); + } + if (output[_vAETIA] != null) { + contents[_VAETIA] = (0, import_smithy_client.expectString)(output[_vAETIA]); + } + if (output[_vAETD] != null) { + contents[_VAETD] = (0, import_smithy_client.expectString)(output[_vAETD]); + } + return contents; +}, "de_VerifiedAccessEndpointTarget"); +var de_VerifiedAccessEndpointTargetList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessEndpointTarget(entry, context); + }); +}, "de_VerifiedAccessEndpointTargetList"); +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[_lUTa] != null) { + contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]); + } + 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); + }); +}, "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[_lUTa] != null) { + contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]); + } + 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]); + } + if (output[_cECSD] != null) { + contents[_CECSD] = de_VerifiedAccessInstanceCustomSubDomain(output[_cECSD], context); + } + return contents; +}, "de_VerifiedAccessInstance"); +var de_VerifiedAccessInstanceCustomSubDomain = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_sDu] != null) { + contents[_SDu] = (0, import_smithy_client.expectString)(output[_sDu]); + } + if (output.nameserverSet === "") { + contents[_Na] = []; + } else if (output[_nSa] != null && output[_nSa][_i] != null) { + contents[_Na] = de_ValueStringList((0, import_smithy_client.getArrayIfSingleItem)(output[_nSa][_i]), context); + } + return contents; +}, "de_VerifiedAccessInstanceCustomSubDomain"); +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_VerifiedAccessInstanceOpenVpnClientConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_confi] != null) { + contents[_Confi] = (0, import_smithy_client.expectString)(output[_confi]); + } + if (output.routeSet === "") { + contents[_Rout] = []; + } else if (output[_rSo] != null && output[_rSo][_i] != null) { + contents[_Rout] = de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList( + (0, import_smithy_client.getArrayIfSingleItem)(output[_rSo][_i]), + context + ); + } + return contents; +}, "de_VerifiedAccessInstanceOpenVpnClientConfiguration"); +var de_VerifiedAccessInstanceOpenVpnClientConfigurationList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessInstanceOpenVpnClientConfiguration(entry, context); + }); +}, "de_VerifiedAccessInstanceOpenVpnClientConfigurationList"); +var de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ci] != null) { + contents[_C] = (0, import_smithy_client.expectString)(output[_ci]); + } + return contents; +}, "de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute"); +var de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessInstanceOpenVpnClientConfigurationRoute(entry, context); + }); +}, "de_VerifiedAccessInstanceOpenVpnClientConfigurationRouteList"); +var de_VerifiedAccessInstanceUserTrustProviderClientConfiguration = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + if (output[_scop] != null) { + contents[_Scop] = (0, import_smithy_client.expectString)(output[_scop]); + } + 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[_pSKE] != null) { + contents[_PSKE] = (0, import_smithy_client.expectString)(output[_pSKE]); + } + 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[_pEk] != null) { + contents[_PEk] = (0, import_smithy_client.parseBoolean)(output[_pEk]); + } + return contents; +}, "de_VerifiedAccessInstanceUserTrustProviderClientConfiguration"); +var de_VerifiedAccessLogCloudWatchLogsDestination = /* @__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[_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[_lUTa] != null) { + contents[_LUTa] = (0, import_smithy_client.expectString)(output[_lUTa]); + } + 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); + } + if (output[_nAOO] != null) { + contents[_NAOO] = de_NativeApplicationOidcOptions(output[_nAOO], 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); + }); +}, "de_VerifiedAccessTrustProviderCondensedList"); +var de_VerifiedAccessTrustProviderList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VerifiedAccessTrustProvider(entry, context); + }); +}, "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); + }); +}, "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[_oA] != null) { + contents[_OA] = (0, import_smithy_client.expectString)(output[_oA]); + } + 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]); + } + if (output[_op] != null) { + contents[_O] = de_OperatorResponse(output[_op], context); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + 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[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_cTr] != null) { + contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTr])); + } + 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 (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]); + } + return contents; +}, "de_Volume"); +var de_VolumeAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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]); + } + if (output[_vIo] != null) { + contents[_VIo] = (0, import_smithy_client.expectString)(output[_vIo]); + } + if (output[_iI] != null) { + contents[_IIn] = (0, import_smithy_client.expectString)(output[_iI]); + } + if (output[_dev] != null) { + contents[_Dev] = (0, import_smithy_client.expectString)(output[_dev]); + } + if (output[_sta] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_sta]); + } + if (output[_aTt] != null) { + contents[_ATtt] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_aTt])); + } + 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[_TIar] = (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[_eTn] != null) { + contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_eTn])); + } + 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[_AStt] = []; + } else if (output[_aStt] != null && output[_aStt][_i] != null) { + contents[_AStt] = 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[_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); + } + if (output[_bPAS] != null) { + contents[_BPAS] = de_BlockPublicAccessStates(output[_bPAS], context); + } + 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[_cB] != null) { + contents[_CB] = (0, import_smithy_client.expectString)(output[_cB]); + } + if (output[_dOI] != null) { + contents[_DOI] = (0, import_smithy_client.expectString)(output[_dOI]); + } + return contents; +}, "de_Vpc"); +var de_VpcAttachment = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + 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]); + } + 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_VpcBlockPublicAccessExclusion = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_eIx] != null) { + contents[_EIxc] = (0, import_smithy_client.expectString)(output[_eIx]); + } + if (output[_iGEM] != null) { + contents[_IGEM] = (0, import_smithy_client.expectString)(output[_iGEM]); + } + if (output[_rAe] != null) { + contents[_RAes] = (0, import_smithy_client.expectString)(output[_rAe]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_rea] != null) { + contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]); + } + if (output[_cTrea] != null) { + contents[_CTrea] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_cTrea])); + } + if (output[_lUTas] != null) { + contents[_LUTas] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUTas])); + } + if (output[_dTele] != null) { + contents[_DTelet] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_dTele])); + } + 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_VpcBlockPublicAccessExclusion"); +var de_VpcBlockPublicAccessExclusionList = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcBlockPublicAccessExclusion(entry, context); + }); +}, "de_VpcBlockPublicAccessExclusionList"); +var de_VpcBlockPublicAccessOptions = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_aAI] != null) { + contents[_AAI] = (0, import_smithy_client.expectString)(output[_aAI]); + } + if (output[_aRw] != null) { + contents[_ARw] = (0, import_smithy_client.expectString)(output[_aRw]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_iGBM] != null) { + contents[_IGBM] = (0, import_smithy_client.expectString)(output[_iGBM]); + } + if (output[_rea] != null) { + contents[_Rea] = (0, import_smithy_client.expectString)(output[_rea]); + } + if (output[_lUTas] != null) { + contents[_LUTas] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_lUTas])); + } + if (output[_mB] != null) { + contents[_MB] = (0, import_smithy_client.expectString)(output[_mB]); + } + if (output[_eA] != null) { + contents[_EAx] = (0, import_smithy_client.expectString)(output[_eA]); + } + return contents; +}, "de_VpcBlockPublicAccessOptions"); +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); + } + if (output.ipv4PrefixSet === "") { + contents[_IPp] = []; + } else if (output[_iPSpv] != null && output[_iPSpv][_i] != null) { + contents[_IPp] = de_SubnetIpPrefixesList((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_SubnetIpPrefixesList((0, import_smithy_client.getArrayIfSingleItem)(output[_iPSpvr][_i]), context); + } + if (output[_fR] != null) { + contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]); + } + if (output[_sNA] != null) { + contents[_SNA] = (0, import_smithy_client.expectString)(output[_sNA]); + } + if (output[_rCA] != null) { + contents[_RCA] = (0, import_smithy_client.expectString)(output[_rCA]); + } + if (output[_sR] != null) { + contents[_SRe] = (0, import_smithy_client.expectString)(output[_sR]); + } + return contents; +}, "de_VpcEndpoint"); +var de_VpcEndpointAssociation = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_id] != null) { + contents[_Id] = (0, import_smithy_client.expectString)(output[_id]); + } + if (output[_vEI] != null) { + contents[_VEIp] = (0, import_smithy_client.expectString)(output[_vEI]); + } + if (output[_sNA] != null) { + contents[_SNA] = (0, import_smithy_client.expectString)(output[_sNA]); + } + if (output[_sNN] != null) { + contents[_SNN] = (0, import_smithy_client.expectString)(output[_sNN]); + } + if (output[_aRAs] != null) { + contents[_ARAs] = (0, import_smithy_client.expectString)(output[_aRAs]); + } + if (output[_fR] != null) { + contents[_FR] = (0, import_smithy_client.expectString)(output[_fR]); + } + if (output[_fCa] != null) { + contents[_FCa] = (0, import_smithy_client.expectString)(output[_fCa]); + } + if (output[_dE] != null) { + contents[_DEn] = de_DnsEntry(output[_dE], context); + } + if (output[_pDEr] != null) { + contents[_PDEr] = de_DnsEntry(output[_pDEr], context); + } + if (output[_aRAss] != null) { + contents[_ARAss] = (0, import_smithy_client.expectString)(output[_aRAss]); + } + if (output[_rCGA] != null) { + contents[_RCGA] = (0, import_smithy_client.expectString)(output[_rCGA]); + } + 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_VpcEndpointAssociation"); +var de_VpcEndpointAssociationSet = /* @__PURE__ */ __name((output, context) => { + return (output || []).filter((e) => e != null).map((entry) => { + return de_VpcEndpointAssociation(entry, context); + }); +}, "de_VpcEndpointAssociationSet"); +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); + } + if (output[_vER] != null) { + contents[_VER] = (0, import_smithy_client.expectString)(output[_vER]); + } + 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]); + } + if (output[_iAA] != null) { + contents[_IAA] = (0, import_smithy_client.expectString)(output[_iAA]); + } + if (output[_iSpo] != null) { + contents[_ISpo] = (0, import_smithy_client.expectString)(output[_iSpo]); + } + 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[_re] != null) { + contents[_Regi] = (0, import_smithy_client.expectString)(output[_re]); + } + return contents; +}, "de_VpcPeeringConnectionVpcInfo"); +var de_VpnConnection = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ca] != null) { + contents[_Cat] = (0, import_smithy_client.expectString)(output[_ca]); + } + 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[_opt] != null) { + contents[_Op] = de_VpnConnectionOptions(output[_opt], context); + } + if (output.routes === "") { + contents[_Rout] = []; + } else if (output[_rou] != null && output[_rou][_i] != null) { + contents[_Rout] = 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); + } + if (output[_vCI] != null) { + contents[_VCI] = (0, import_smithy_client.expectString)(output[_vCI]); + } + if (output[_st] != null) { + contents[_Stat] = (0, import_smithy_client.expectString)(output[_st]); + } + if (output[_cGC] != null) { + contents[_CGC] = (0, import_smithy_client.expectString)(output[_cGC]); + } + if (output[_ty] != null) { + contents[_T] = (0, import_smithy_client.expectString)(output[_ty]); + } + 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]); + } + 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[_eAn] != null) { + contents[_EA] = (0, import_smithy_client.parseBoolean)(output[_eAn]); + } + 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[_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); + } + if (output[_vGI] != null) { + contents[_VGI] = (0, import_smithy_client.expectString)(output[_vGI]); + } + 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[_aZ] != null) { + contents[_AZ] = (0, import_smithy_client.expectString)(output[_aZ]); + } + 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); + } + 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 _ACRBO = "AcceptCapacityReservationBillingOwnership"; +var _ACRBOs = "AssociateCapacityReservationBillingOwner"; +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 _AES = "AttachedEbsStatus"; +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 _AISS = "AllowedImagesSettingsState"; +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 _AOUE = "AddOrganizationalUnitExclusions"; +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 _ARAs = "AssociatedResourceAccessibility"; +var _ARAss = "AssociatedResourceArn"; +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 _ARw = "AwsRegion"; +var _AS = "AllocationStrategy"; +var _ASA = "AmazonSideAsn"; +var _ASCB = "AssociateSubnetCidrBlock"; +var _ASGE = "AuthorizeSecurityGroupEgress"; +var _ASGI = "AuthorizeSecurityGroupIngress"; +var _ASGId = "AddSecurityGroupIds"; +var _ASGTCVTN = "ApplySecurityGroupsToClientVpnTargetNetwork"; +var _ASGV = "AssociateSecurityGroupVpc"; +var _ASI = "AddSubnetIds"; +var _ASIAT = "AddSupportedIpAddressTypes"; +var _ASR = "AddSupportedRegions"; +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 = "AttributeSummaries"; +var _AStt = "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 _BAE = "BgpAsnExtended"; +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 _BPAS = "BlockPublicAccessStates"; +var _BPF = "BaselinePerformanceFactors"; +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 _BW = "BandwidthWeighting"; +var _BWa = "BandwidthWeightings"; +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 _CBDM = "CapacityBlockDurationMinutes"; +var _CBE = "CapacityBlockExtensions"; +var _CBEDH = "CapacityBlockExtensionDurationHours"; +var _CBEED = "CapacityBlockExtensionEndDate"; +var _CBEO = "CapacityBlockExtensionOfferings"; +var _CBEOI = "CapacityBlockExtensionOfferingId"; +var _CBEPD = "CapacityBlockExtensionPurchaseDate"; +var _CBES = "CapacityBlockExtensionStatus"; +var _CBESD = "CapacityBlockExtensionStartDate"; +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 _CCRBS = "CreateCapacityReservationBySplitting"; +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 = "CommitmentDuration"; +var _CDH = "CapacityDurationHours"; +var _CDM = "CompletionDurationMinutes"; +var _CDO = "CreateDhcpOptions"; +var _CDPR = "CancelDeclarativePoliciesReport"; +var _CDS = "CreateDefaultSubnet"; +var _CDSDA = "ConfigDeliveryS3DestinationArn"; +var _CDSu = "CustomDnsServers"; +var _CDV = "CreateDefaultVpc"; +var _CDl = "ClientData"; +var _CDr = "CreateDate"; +var _CDre = "CreationDate"; +var _CDrea = "CreatedDate"; +var _CE = "CronExpression"; +var _CECSD = "CidrEndpointsCustomSubDomain"; +var _CED = "CommitmentEndDate"; +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 _CIC = "CommittedInstanceCount"; +var _CICE = "CreateInstanceConnectEndpoint"; +var _CIERVT = "CreateIpamExternalResourceVerificationToken"; +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 _CIomm = "CommitmentInfo"; +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 = "CidrOptions"; +var _COI = "CustomerOwnedIp"; +var _COIP = "CustomerOwnedIpv4Pool"; +var _COP = "CoolOffPeriod"; +var _COPEO = "CoolOffPeriodExpiresOn"; +var _COp = "CpuOptions"; +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 _CRBR = "CapacityReservationBillingRequests"; +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 _CRIap = "CapacityReservationInfo"; +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 _CTomp = "CompletionTime"; +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 _CVBPAE = "CreateVpcBlockPublicAccessExclusion"; +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 _Confi = "Config"; +var _Conn = "Connections"; +var _Cor = "Cores"; +var _Cou = "Count"; +var _Cp = "Cpu"; +var _D = "Destination"; +var _DA = "DescribeAddresses"; +var _DAA = "DescribeAccountAttributes"; +var _DAAI = "DelegatedAdminAccountId"; +var _DAAe = "DescribeAddressesAttribute"; +var _DAIF = "DescribeAggregateIdFormat"; +var _DAIS = "DisableAllowedImagesSettings"; +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 _DCBEH = "DescribeCapacityBlockExtensionHistory"; +var _DCBEO = "DescribeCapacityBlockExtensionOfferings"; +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 _DCRBO = "DisassociateCapacityReservationBillingOwner"; +var _DCRBR = "DescribeCapacityReservationBillingRequests"; +var _DCRF = "DescribeCapacityReservationFleets"; +var _DCRI = "DestinationCapacityReservationId"; +var _DCRe = "DestinationCapacityReservation"; +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 _DDPR = "DescribeDeclarativePoliciesReports"; +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 _DEn = "DnsEntry"; +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 _DIERVT = "DeleteIpamExternalResourceVerificationToken"; +var _DIERVTe = "DescribeIpamExternalResourceVerificationTokens"; +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 _DIIM = "DescribeInstanceImageMetadata"; +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 = "DeliveryPreference"; +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 = "DestinationPort"; +var _DPer = "DeregistrationProtection"; +var _DPes = "DestinationPorts"; +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 _DSGV = "DisassociateSecurityGroupVpc"; +var _DSGVA = "DescribeSecurityGroupVpcAssociations"; +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 _DTMFRe = "DescribeTrafficMirrorFilterRules"; +var _DTMFe = "DescribeTrafficMirrorFilters"; +var _DTMS = "DeleteTrafficMirrorSession"; +var _DTMSe = "DescribeTrafficMirrorSessions"; +var _DTMT = "DeleteTrafficMirrorTarget"; +var _DTMTe = "DescribeTrafficMirrorTargets"; +var _DTP = "DeviceTrustProviders"; +var _DTPC = "DefaultThreadsPerCore"; +var _DTPT = "DeviceTrustProviderType"; +var _DTS = "DpdTimeoutSeconds"; +var _DTe = "DescribeTags"; +var _DTel = "DeletionTime"; +var _DTele = "DeleteTime"; +var _DTelet = "DeletionTimestamp"; +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 _DVBPAE = "DeleteVpcBlockPublicAccessExclusion"; +var _DVBPAEe = "DescribeVpcBlockPublicAccessExclusions"; +var _DVBPAO = "DescribeVpcBlockPublicAccessOptions"; +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 _DVEA = "DescribeVpcEndpointAssociations"; +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 _EAIS = "EnableAllowedImagesSettings"; +var _EANPMS = "EnableAwsNetworkPerformanceMetricSubscription"; +var _EAT = "EnableAddressTransfer"; +var _EAx = "ExclusionsAllowed"; +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 = "ExclusionId"; +var _EIxch = "ExchangeId"; +var _EIxcl = "ExclusionIds"; +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 _EPG = "EnablePrivateGua"; +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 _EVAICC = "ExportVerifiedAccessInstanceClientConfiguration"; +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 _GAIS = "GetAllowedImagesSettings"; +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 _GDPRS = "GetDeclarativePoliciesReportSummary"; +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 _GVAET = "GetVerifiedAccessEndpointTargets"; +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 _IAA = "Ipv6AddressAttribute"; +var _IAC = "Ipv6AddressCount"; +var _IAI = "IncludeAllInstances"; +var _IAIn = "InferenceAcceleratorInfo"; +var _IAPI = "Ipv4AddressesPerInterface"; +var _IAPIp = "Ipv6AddressesPerInterface"; +var _IAT = "IpAddressType"; +var _IATOI = "IncludeAllTagsOfInstance"; +var _IAm = "ImageAllowed"; +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 _ICm = "ImageCriteria"; +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 _IERVT = "IpamExternalResourceVerificationToken"; +var _IERVTA = "IpamExternalResourceVerificationTokenArn"; +var _IERVTI = "IpamExternalResourceVerificationTokenId"; +var _IERVTIp = "IpamExternalResourceVerificationTokenIds"; +var _IERVTp = "IpamExternalResourceVerificationTokens"; +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 _IGBM = "InternetGatewayBlockMode"; +var _IGEM = "InternetGatewayExclusionMode"; +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 _IIM = "InstanceImageMetadata"; +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 _IMm = "ImageMetadata"; +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 _IPm = "ImageProviders"; +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 _IPpre = "IpPrefixes"; +var _IPpv = "Ipv6Pool"; +var _IPpvo = "Ipv6Pools"; +var _IPpvr = "Ipv4Prefix"; +var _IPpvre = "Ipv6Prefix"; +var _IPs = "IsPublic"; +var _IPsr = "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 _ISpo = "IpSource"; +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 = "LastUpdateTime"; +var _LUTa = "LastUpdatedTime"; +var _LUTas = "LastUpdateTimestamp"; +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 _MB = "ManagedBy"; +var _MBCTI = "MoveByoipCidrToIpam"; +var _MBIM = "MaximumBandwidthInMbps"; +var _MC = "MaxCount"; +var _MCOIOL = "MapCustomerOwnedIpOnLaunch"; +var _MCR = "ModifyCapacityReservation"; +var _MCRF = "ModifyCapacityReservationFleet"; +var _MCRI = "MoveCapacityReservationInstances"; +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 _MEM = "ManagedExceptionMessage"; +var _MF = "ModifyFleet"; +var _MFIA = "ModifyFpgaImageAttribute"; +var _MFV = "MostFrequentValue"; +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 _MICO = "ModifyInstanceCpuOptions"; +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 _MINPO = "ModifyInstanceNetworkPerformanceOptions"; +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 _MVBPAE = "ModifyVpcBlockPublicAccessExclusion"; +var _MVBPAO = "ModifyVpcBlockPublicAccessOptions"; +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 _Mana = "Managed"; +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 _NAOO = "NativeApplicationOidcOptions"; +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 _NIASet = "NetworkInterfaceAttachmentStatus"; +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 _NOA = "NumberOfAccounts"; +var _NOFA = "NumberOfFailedAccounts"; +var _NOMA = "NumberOfMatchedAccounts"; +var _NOUA = "NumberOfUnmatchedAccounts"; +var _NP = "NetworkPerformance"; +var _NPF = "NetworkPathFound"; +var _NPO = "NetworkPerformanceOptions"; +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 _Na = "Nameservers"; +var _O = "Operator"; +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 _OEP = "OrganizationsEntityPath"; +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 _OUE = "OrganizationalUnitExclusions"; +var _OUI = "OrganizationalUnitId"; +var _OVC = "OpenVpnConfigurations"; +var _OVT = "OriginalVolumeType"; +var _Op = "Options"; +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 _PCBE = "PurchaseCapacityBlockExtension"; +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 _PDEr = "PrivateDnsEntry"; +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 _PEk = "PkceEnabled"; +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 _PSKE = "PublicSigningKeyEndpoint"; +var _PSKU = "PublicSigningKeyUrl"; +var _PSe = "PeeringStatus"; +var _PSer = "PermissionState"; +var _PSh = "PhcSupport"; +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 = "References"; +var _RA = "ReleaseAddress"; +var _RAA = "ResetAddressAttribute"; +var _RAE = "RemoteAccessEnabled"; +var _RAG = "RevokeAllGroups"; +var _RAP = "RemoveAllowedPrincipals"; +var _RART = "RemoveAllocationResourceTags"; +var _RATC = "RestoreAddressToClassic"; +var _RAe = "ResolveAlias"; +var _RAes = "ResourceArn"; +var _RAo = "RoleArn"; +var _RAu = "RuleAction"; +var _RB = "RequestedBy"; +var _RBET = "RecycleBinEnterTime"; +var _RBETe = "RecycleBinExitTime"; +var _RBUI = "RestorableByUserIds"; +var _RC = "ResourceCidr"; +var _RCA = "ResourceConfigurationArn"; +var _RCGA = "ResourceConfigurationGroupArn"; +var _RCRBO = "RejectCapacityReservationBillingOwnership"; +var _RCS = "ResourceComplianceStatus"; +var _RCVI = "RevokeClientVpnIngress"; +var _RCe = "ReasonCodes"; +var _RCec = "RecurringCharges"; +var _RCet = "ReturnCode"; +var _RD = "RestoreDuration"; +var _RDAC = "ResourceDiscoveryAssociationCount"; +var _RDCA = "RdsDbClusterArn"; +var _RDI = "RamDiskId"; +var _RDIA = "RdsDbInstanceArn"; +var _RDN = "RootDeviceName"; +var _RDPA = "RdsDbProxyArn"; +var _RDS = "ResourceDiscoveryStatus"; +var _RDT = "RootDeviceType"; +var _RE = "RdsEndpoint"; +var _RED = "RemoveEndDate"; +var _REDKKI = "ResetEbsDefaultKmsKeyId"; +var _RET = "RestoreExpiryTime"; +var _REe = "RemoveEntries"; +var _REes = "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 _RICIAIS = "ReplaceImageCriteriaInAllowedImagesSettings"; +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 _RIep = "ReportId"; +var _RIepo = "ReportIds"; +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 = "RdsOptions"; +var _ROI = "ResourceOwnerId"; +var _ROR = "RemoveOperatingRegions"; +var _ROS = "ResourceOverlapStatus"; +var _ROUE = "RemoveOrganizationalUnitExclusions"; +var _ROe = "ResourceOwner"; +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 _RSGR = "RevokedSecurityGroupRules"; +var _RSI = "RequestSpotInstances"; +var _RSIAT = "RemoveSupportedIpAddressTypes"; +var _RSIe = "RemoveSubnetIds"; +var _RSIu = "RunScheduledInstances"; +var _RSR = "RemoveSupportedRegions"; +var _RST = "RestoreSnapshotTier"; +var _RSTe = "RestoreStartTime"; +var _RSe = "ResourceStatement"; +var _RSeg = "RegionalSummaries"; +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 = "Resources"; +var _Rea = "Reason"; +var _Rec = "Recurrence"; +var _Reg = "Regions"; +var _Regi = "Region"; +var _Rem = "Remove"; +var _Rep = "Reports"; +var _Req = "Requested"; +var _Res = "Resource"; +var _Rese = "Reservations"; +var _Resu = "Result"; +var _Ret = "Return"; +var _Ro = "Role"; +var _Rou = "Route"; +var _Rout = "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 = "SourceCapacityReservation"; +var _SCRI = "SourceCapacityReservationId"; +var _SCRIu = "SubnetCidrReservationId"; +var _SCRu = "SubnetCidrReservation"; +var _SCSIG = "SustainedClockSpeedInGhz"; +var _SCc = "ScopeCount"; +var _SCe = "ServiceConfiguration"; +var _SCer = "ServiceConfigurations"; +var _SCn = "SnapshotConfiguration"; +var _SD = "StartDate"; +var _SDC = "SourceDestCheck"; +var _SDI = "SendDiagnosticInterrupt"; +var _SDIH = "SlotDurationInHours"; +var _SDLTV = "SuccessfullyDeletedLaunchTemplateVersions"; +var _SDPR = "StartDeclarativePoliciesReport"; +var _SDR = "StartDateRange"; +var _SDS = "SpotDatafeedSubscription"; +var _SDV = "SetDefaultVersion"; +var _SDe = "ServiceDetails"; +var _SDn = "SnapshotDetails"; +var _SDp = "SpreadDomain"; +var _SDu = "SubDomain"; +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 _SGA = "SecurityGroupArn"; +var _SGFV = "SecurityGroupForVpcs"; +var _SGI = "SecurityGroupIds"; +var _SGIe = "SecurityGroupId"; +var _SGR = "SecurityGroupRules"; +var _SGRA = "SecurityGroupRuleArn"; +var _SGRD = "SecurityGroupRuleDescriptions"; +var _SGRI = "SecurityGroupRuleIds"; +var _SGRIe = "SecurityGroupRuleId"; +var _SGRS = "SecurityGroupReferencingSupport"; +var _SGRSe = "SecurityGroupReferenceSet"; +var _SGRe = "SecurityGroupRule"; +var _SGVA = "SecurityGroupVpcAssociations"; +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 _SIRo = "SourceImageRegion"; +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 _SNA = "ServiceNetworkArn"; +var _SNIA = "StartNetworkInsightsAnalysis"; +var _SNIASA = "StartNetworkInsightsAccessScopeAnalysis"; +var _SNN = "ServiceNetworkName"; +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 = "ServiceRegion"; +var _SRer = "ServiceRegions"; +var _SRerv = "ServiceResource"; +var _SRo = "SourceResource"; +var _SRt = "StateReason"; +var _SRu = "SupportedRegions"; +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 _Scop = "Scopes"; +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 = "TargetId"; +var _TIar = "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 _TMFRIr = "TrafficMirrorFilterRuleIds"; +var _TMFRr = "TrafficMirrorFilterRules"; +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 _TN = "TokenName"; +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 _TTr = "TransferType"; +var _TUP = "TotalUpfrontPrice"; +var _TV = "TargetVersion"; +var _TVC = "TotalVCpus"; +var _TVSI = "TargetVpcSubnetId"; +var _TVT = "TargetVolumeType"; +var _TVo = "TokenValue"; +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 _URBOI = "UnusedReservationBillingOwnerId"; +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 _UTP = "UserTrustProvider"; +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 _VAET = "VerifiedAccessEndpointTargets"; +var _VAETD = "VerifiedAccessEndpointTargetDns"; +var _VAETIA = "VerifiedAccessEndpointTargetIpAddress"; +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 _VBPAE = "VpcBlockPublicAccessExclusion"; +var _VBPAEp = "VpcBlockPublicAccessExclusions"; +var _VBPAO = "VpcBlockPublicAccessOptions"; +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 _VEA = "VpcEndpointAssociations"; +var _VEC = "VpcEndpointConnections"; +var _VECI = "VpcEndpointConnectionId"; +var _VEI = "VpcEndpointIds"; +var _VEIp = "VpcEndpointId"; +var _VEO = "VpcEndpointOwner"; +var _VEPS = "VpcEndpointPolicySupported"; +var _VER = "VpcEndpointRegion"; +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 = "VerificationMethod"; +var _VMo = "VolumesModifications"; +var _VMol = "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 _aES = "attachedEbsStatus"; +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 _aISS = "allowedImagesSettingsState"; +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 _aRAs = "associatedResourceAccessibility"; +var _aRAss = "associatedResourceArn"; +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 _aRw = "awsRegion"; +var _aS = "associationState"; +var _aSA = "amazonSideAsn"; +var _aSS = "amdSevSnp"; +var _aSSt = "attributeSummarySet"; +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 _bAE = "bgpAsnExtended"; +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 _bPAS = "blockPublicAccessStates"; +var _bPF = "baselinePerformanceFactors"; +var _bPS = "burstablePerformanceSupported"; +var _bS = "byoasnSet"; +var _bSg = "bgpStatus"; +var _bT = "bannerText"; +var _bTIMB = "baselineThroughputInMBps"; +var _bW = "bandwidthWeighting"; +var _bWa = "bandwidthWeightings"; +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 _cBDM = "capacityBlockDurationMinutes"; +var _cBEDH = "capacityBlockExtensionDurationHours"; +var _cBEED = "capacityBlockExtensionEndDate"; +var _cBEOI = "capacityBlockExtensionOfferingId"; +var _cBEOS = "capacityBlockExtensionOfferingSet"; +var _cBEPD = "capacityBlockExtensionPurchaseDate"; +var _cBES = "capacityBlockExtensionStatus"; +var _cBESD = "capacityBlockExtensionStartDate"; +var _cBESa = "capacityBlockExtensionSet"; +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 _cDM = "completionDurationMinutes"; +var _cDr = "creationDate"; +var _cDre = "createdDate"; +var _cE = "connectionEvents"; +var _cECSD = "cidrEndpointsCustomSubDomain"; +var _cED = "commitmentEndDate"; +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 _cIC = "committedInstanceCount"; +var _cIi = "cidrIp"; +var _cIid = "cidrIpv6"; +var _cIidr = "cidrIpv4"; +var _cIl = "clientIp"; +var _cIli = "clientId"; +var _cIo = "componentId"; +var _cIom = "commitmentInfo"; +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 _cOi = "cidrOptions"; +var _cP = "coipPool"; +var _cPC = "connectPeerConfiguration"; +var _cPI = "coipPoolId"; +var _cPS = "coipPoolSet"; +var _cR = "capacityReservation"; +var _cRA = "capacityReservationArn"; +var _cRBRS = "capacityReservationBillingRequestSet"; +var _cRCC = "clientRootCertificateChain"; +var _cRFA = "capacityReservationFleetArn"; +var _cRFI = "capacityReservationFleetId"; +var _cRFS = "capacityReservationFleetSet"; +var _cRGS = "capacityReservationGroupSet"; +var _cRI = "capacityReservationId"; +var _cRIa = "capacityReservationInfo"; +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 _cTomp = "completionTime"; +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 _confi = "config"; +var _cont = "context"; +var _cor = "cores"; +var _cou = "count"; +var _cp = "cpu"; +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 _dCR = "destinationCapacityReservation"; +var _dCS = "dhcpConfigurationSet"; +var _dCe = "defaultCores"; +var _dE = "dnsEntry"; +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 = "deliveryPreference"; +var _dPLI = "destinationPrefixListId"; +var _dPLS = "destinationPrefixListSet"; +var _dPR = "destinationPortRange"; +var _dPRS = "destinationPortRangeSet"; +var _dPRT = "defaultPropagationRouteTable"; +var _dPS = "destinationPortSet"; +var _dPe = "deregistrationProtection"; +var _dPes = "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 _dTPS = "deviceTrustProviderSet"; +var _dTPT = "deviceTrustProviderType"; +var _dTS = "dpdTimeoutSeconds"; +var _dTe = "deprecationTime"; +var _dTel = "deleteTime"; +var _dTele = "deletionTimestamp"; +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 = "exclusionsAllowed"; +var _eAn = "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 _eIx = "exclusionId"; +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 _ePG = "enablePrivateGua"; +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 = "endTime"; +var _eTna = "enablingTime"; +var _eTnab = "enabledTime"; +var _eTnd = "endpointType"; +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 _iAA = "ipv6AddressAttribute"; +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 _iAm = "imageAllowed"; +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 _iCS = "imageCriterionSet"; +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 _iERVT = "ipamExternalResourceVerificationToken"; +var _iERVTA = "ipamExternalResourceVerificationTokenArn"; +var _iERVTI = "ipamExternalResourceVerificationTokenId"; +var _iERVTS = "ipamExternalResourceVerificationTokenSet"; +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 _iGBM = "internetGatewayBlockMode"; +var _iGEM = "internetGatewayExclusionMode"; +var _iGI = "internetGatewayId"; +var _iGS = "internetGatewaySet"; +var _iGSn = "instanceGenerationSet"; +var _iH = "instanceHealth"; +var _iHn = "inboundHeader"; +var _iI = "instanceId"; +var _iIB = "instanceInterruptionBehavior"; +var _iIMS = "instanceImageMetadataSet"; +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 _iM = "imageMetadata"; +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 _iPSm = "imageProviderSet"; +var _iPSp = "ipv6PoolSet"; +var _iPSpr = "ipPrefixSet"; +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 _iSpo = "ipSource"; +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 = "lastUpdateTime"; +var _lUTa = "lastUpdatedTime"; +var _lUTas = "lastUpdateTimestamp"; +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 _mB = "managedBy"; +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 _mEM = "managedExceptionMessage"; +var _mFV = "mostFrequentValue"; +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 _mana = "managed"; +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 _nAOO = "nativeApplicationOidcOptions"; +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 _nIASet = "networkInterfaceAttachmentStatus"; +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 _nOA = "numberOfAccounts"; +var _nOFA = "numberOfFailedAccounts"; +var _nOMA = "numberOfMatchedAccounts"; +var _nOUA = "numberOfUnmatchedAccounts"; +var _nP = "networkPerformance"; +var _nPF = "networkPathFound"; +var _nPO = "networkPerformanceOptions"; +var _nPe = "networkPlatform"; +var _nS = "nvmeSupport"; +var _nSS = "networkServiceSet"; +var _nSST = "nextSlotStartTime"; +var _nSa = "nameserverSet"; +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 _oEP = "organizationsEntityPath"; +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 _oUES = "organizationalUnitExclusionSet"; +var _oUI = "organizationalUnitId"; +var _oVCS = "openVpnConfigurationSet"; +var _oVT = "originalVolumeType"; +var _op = "operator"; +var _opt = "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 _pDEr = "privateDnsEntry"; +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 _pEk = "pkceEnabled"; +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 _pSKE = "publicSigningKeyEndpoint"; +var _pSKU = "publicSigningKeyUrl"; +var _pSe = "permissionState"; +var _pSee = "peeringStatus"; +var _pSh = "phcSupport"; +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 _rAE = "remoteAccessEnabled"; +var _rAe = "resourceArn"; +var _rB = "requestedBy"; +var _rBET = "recycleBinEnterTime"; +var _rBETe = "recycleBinExitTime"; +var _rC = "returnCode"; +var _rCA = "resourceConfigurationArn"; +var _rCGA = "resourceConfigurationGroupArn"; +var _rCS = "resourceComplianceStatus"; +var _rCe = "resourceCidr"; +var _rCec = "recurringCharges"; +var _rD = "restoreDuration"; +var _rDAC = "resourceDiscoveryAssociationCount"; +var _rDCA = "rdsDbClusterArn"; +var _rDI = "ramDiskId"; +var _rDIA = "rdsDbInstanceArn"; +var _rDN = "rootDeviceName"; +var _rDPA = "rdsDbProxyArn"; +var _rDS = "resourceDiscoveryStatus"; +var _rDT = "rootDeviceType"; +var _rE = "responseError"; +var _rET = "restoreExpiryTime"; +var _rEd = "rdsEndpoint"; +var _rEe = "regionEndpoint"; +var _rFP = "rekeyFuzzPercentage"; +var _rGA = "ruleGroupArn"; +var _rGI = "referencedGroupId"; +var _rGIe = "referencedGroupInfo"; +var _rGROPS = "ruleGroupRuleOptionsPairSet"; +var _rGT = "ruleGroupType"; +var _rGTPS = "ruleGroupTypePairSet"; +var _rHS = "requireHibernateSupport"; +var _rI = "reportId"; +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 = "regionInfo"; +var _rIeq = "requesterId"; +var _rIes = "resourceId"; +var _rIese = "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 _rOd = "rdsOptions"; +var _rOo = "routeOrigin"; +var _rPCO = "requesterPeeringConnectionOptions"; +var _rPCS = "returnPathComponentSet"; +var _rR = "resourceRegion"; +var _rRVT = "replaceRootVolumeTask"; +var _rRVTI = "replaceRootVolumeTaskId"; +var _rRVTS = "replaceRootVolumeTaskSet"; +var _rS = "referenceSet"; +var _rSGRS = "revokedSecurityGroupRuleSet"; +var _rSS = "regionalSummarySet"; +var _rST = "restoreStartTime"; +var _rSe = "reportSet"; +var _rSep = "replacementStrategy"; +var _rSes = "reservationSet"; +var _rSeso = "resourceStatement"; +var _rSesou = "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 = "region"; +var _rea = "reason"; +var _rec = "recurrence"; +var _req = "requested"; +var _res = "result"; +var _reso = "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 = "sourceCapacityReservation"; +var _sCRI = "subnetCidrReservationId"; +var _sCRu = "subnetCidrReservation"; +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 _sDu = "subDomain"; +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 _sGA = "securityGroupArn"; +var _sGFVS = "securityGroupForVpcSet"; +var _sGI = "securityGroupId"; +var _sGIS = "securityGroupIdSet"; +var _sGIe = "securityGroupIds"; +var _sGIec = "securityGroupInfo"; +var _sGR = "securityGroupRule"; +var _sGRA = "securityGroupRuleArn"; +var _sGRI = "securityGroupRuleId"; +var _sGRS = "securityGroupRuleSet"; +var _sGRSe = "securityGroupReferenceSet"; +var _sGRSec = "securityGroupReferencingSupport"; +var _sGS = "securityGroupSet"; +var _sGVAS = "securityGroupVpcAssociationSet"; +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 _sIIo = "sourceImageId"; +var _sIMB = "sizeInMiB"; +var _sIP = "staleIpPermissions"; +var _sIPE = "staleIpPermissionsEgress"; +var _sIPI = "sourceIpamPoolId"; +var _sIR = "sourceImageRegion"; +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 _sNA = "serviceNetworkArn"; +var _sNN = "serviceNetworkName"; +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 = "serviceRegion"; +var _sRDT = "supportedRootDeviceTypes"; +var _sRO = "staticRoutesOnly"; +var _sRS = "supportedRegionSet"; +var _sRT = "subnetRouteTable"; +var _sRe = "serviceResource"; +var _sRo = "sourceResource"; +var _sRt = "stateReason"; +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 _scop = "scopes"; +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 = "targetId"; +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 _tIe = "tenantId"; +var _tLSGB = "totalLocalStorageGB"; +var _tMAE = "targetMultiAttachEnabled"; +var _tMF = "trafficMirrorFilter"; +var _tMFI = "trafficMirrorFilterId"; +var _tMFR = "trafficMirrorFilterRule"; +var _tMFRI = "trafficMirrorFilterRuleId"; +var _tMFRS = "trafficMirrorFilterRuleSet"; +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 _tN = "tokenName"; +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 _tTr = "transferType"; +var _tUP = "totalUpfrontPrice"; +var _tV = "tokenValue"; +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 _uRBOI = "unusedReservationBillingOwnerId"; +var _uS = "usageStrategy"; +var _uST = "udpStreamTimeout"; +var _uT = "updateTime"; +var _uTP = "userTrustProvider"; +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 _vAETD = "verifiedAccessEndpointTargetDns"; +var _vAETIA = "verifiedAccessEndpointTargetIpAddress"; +var _vAETS = "verifiedAccessEndpointTargetSet"; +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 _vBPAE = "vpcBlockPublicAccessExclusion"; +var _vBPAES = "vpcBlockPublicAccessExclusionSet"; +var _vBPAO = "vpcBlockPublicAccessOptions"; +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 _vEAS = "vpcEndpointAssociationSet"; +var _vECI = "vpcEndpointConnectionId"; +var _vECS = "vpcEndpointConnectionSet"; +var _vEI = "vpcEndpointId"; +var _vEO = "vpcEndpointOwner"; +var _vEPS = "vpcEndpointPolicySupported"; +var _vER = "vpcEndpointRegion"; +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; + +// src/commands/AcceptCapacityReservationBillingOwnershipCommand.ts + + + +var _AcceptCapacityReservationBillingOwnershipCommand = class _AcceptCapacityReservationBillingOwnershipCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "AcceptCapacityReservationBillingOwnership", {}).n("EC2Client", "AcceptCapacityReservationBillingOwnershipCommand").f(void 0, void 0).ser(se_AcceptCapacityReservationBillingOwnershipCommand).de(de_AcceptCapacityReservationBillingOwnershipCommand).build() { +}; +__name(_AcceptCapacityReservationBillingOwnershipCommand, "AcceptCapacityReservationBillingOwnershipCommand"); +var AcceptCapacityReservationBillingOwnershipCommand = _AcceptCapacityReservationBillingOwnershipCommand; + +// src/commands/AcceptReservedInstancesExchangeQuoteCommand.ts + + + +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; + +// src/commands/AcceptTransitGatewayMulticastDomainAssociationsCommand.ts + + + +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; + +// src/commands/AcceptTransitGatewayPeeringAttachmentCommand.ts + + + +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; + +// src/commands/AcceptTransitGatewayVpcAttachmentCommand.ts + + + +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; + +// src/commands/AcceptVpcEndpointConnectionsCommand.ts + + + +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; + +// src/commands/AcceptVpcPeeringConnectionCommand.ts + + + +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 + + + +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; + +// src/commands/AllocateAddressCommand.ts + + + +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; + +// src/commands/AllocateHostsCommand.ts + + + +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; + +// src/commands/AllocateIpamPoolCidrCommand.ts + + + +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 + + + +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; + +// src/commands/AssignIpv6AddressesCommand.ts + + + +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; + +// src/commands/AssignPrivateIpAddressesCommand.ts + + + +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; + +// src/commands/AssignPrivateNatGatewayAddressCommand.ts + + + +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; + +// src/commands/AssociateAddressCommand.ts + + + +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; + +// src/commands/AssociateCapacityReservationBillingOwnerCommand.ts + + + +var _AssociateCapacityReservationBillingOwnerCommand = class _AssociateCapacityReservationBillingOwnerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "AssociateCapacityReservationBillingOwner", {}).n("EC2Client", "AssociateCapacityReservationBillingOwnerCommand").f(void 0, void 0).ser(se_AssociateCapacityReservationBillingOwnerCommand).de(de_AssociateCapacityReservationBillingOwnerCommand).build() { +}; +__name(_AssociateCapacityReservationBillingOwnerCommand, "AssociateCapacityReservationBillingOwnerCommand"); +var AssociateCapacityReservationBillingOwnerCommand = _AssociateCapacityReservationBillingOwnerCommand; + +// src/commands/AssociateClientVpnTargetNetworkCommand.ts + + + +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; + +// src/commands/AssociateDhcpOptionsCommand.ts + + + +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; + +// src/commands/AssociateEnclaveCertificateIamRoleCommand.ts + + + +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; + +// src/commands/AssociateIamInstanceProfileCommand.ts + + + +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; + +// src/commands/AssociateInstanceEventWindowCommand.ts + + + +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; + +// src/commands/AssociateIpamByoasnCommand.ts + + + +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; + +// src/commands/AssociateIpamResourceDiscoveryCommand.ts + + + +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; + +// src/commands/AssociateNatGatewayAddressCommand.ts + + + +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; + +// src/commands/AssociateRouteTableCommand.ts + + + +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; + +// src/commands/AssociateSecurityGroupVpcCommand.ts + + + +var _AssociateSecurityGroupVpcCommand = class _AssociateSecurityGroupVpcCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "AssociateSecurityGroupVpc", {}).n("EC2Client", "AssociateSecurityGroupVpcCommand").f(void 0, void 0).ser(se_AssociateSecurityGroupVpcCommand).de(de_AssociateSecurityGroupVpcCommand).build() { +}; +__name(_AssociateSecurityGroupVpcCommand, "AssociateSecurityGroupVpcCommand"); +var AssociateSecurityGroupVpcCommand = _AssociateSecurityGroupVpcCommand; + +// src/commands/AssociateSubnetCidrBlockCommand.ts + + + +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; + +// src/commands/AssociateTransitGatewayMulticastDomainCommand.ts + + + +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; + +// src/commands/AssociateTransitGatewayPolicyTableCommand.ts + + + +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; + +// src/commands/AssociateTransitGatewayRouteTableCommand.ts + + + +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() { +}; +__name(_AssociateTransitGatewayRouteTableCommand, "AssociateTransitGatewayRouteTableCommand"); +var AssociateTransitGatewayRouteTableCommand = _AssociateTransitGatewayRouteTableCommand; + +// src/commands/AssociateTrunkInterfaceCommand.ts + + + +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; + +// src/commands/AssociateVpcCidrBlockCommand.ts + + + +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; + +// src/commands/AttachClassicLinkVpcCommand.ts + + + +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 + + + +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; + +// src/commands/AttachNetworkInterfaceCommand.ts + + + +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; + +// src/commands/AttachVerifiedAccessTrustProviderCommand.ts + + + + +// src/models/models_0.ts + +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", + declarative_policies_report: "declarative-policies-report", + 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_external_resource_verification_token: "ipam-external-resource-verification-token", + 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_endpoint_target: "verified-access-endpoint-target", + 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", + eip: "eip", + 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 AllowedImagesSettingsDisabledState = { + disabled: "disabled" +}; +var AllowedImagesSettingsEnabledState = { + audit_mode: "audit-mode", + enabled: "enabled" +}; +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 SecurityGroupVpcAssociationState = { + associated: "associated", + associating: "associating", + association_failed: "association-failed", + disassociated: "disassociated", + disassociating: "disassociating", + disassociation_failed: "disassociation-failed" +}; +var IpSource = { + amazon: "amazon", + byoip: "byoip", + none: "none" +}; +var Ipv6AddressAttribute = { + private: "private", + public: "public" +}; +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 CapacityReservationDeliveryPreference = { + FIXED: "fixed", + INCREMENTAL: "incremental" +}; +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; + +// src/commands/AttachVolumeCommand.ts + + + +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; + +// src/commands/AttachVpnGatewayCommand.ts + + + +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; + +// src/commands/AuthorizeClientVpnIngressCommand.ts + + + +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; + +// src/commands/AuthorizeSecurityGroupEgressCommand.ts + + + +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; + +// src/commands/AuthorizeSecurityGroupIngressCommand.ts + + + +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 + + + +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 + + + +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 + + + +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; + +// src/commands/CancelCapacityReservationFleetsCommand.ts + + + +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; + +// src/commands/CancelConversionTaskCommand.ts + + + +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; + +// src/commands/CancelDeclarativePoliciesReportCommand.ts + + + +var _CancelDeclarativePoliciesReportCommand = class _CancelDeclarativePoliciesReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CancelDeclarativePoliciesReport", {}).n("EC2Client", "CancelDeclarativePoliciesReportCommand").f(void 0, void 0).ser(se_CancelDeclarativePoliciesReportCommand).de(de_CancelDeclarativePoliciesReportCommand).build() { +}; +__name(_CancelDeclarativePoliciesReportCommand, "CancelDeclarativePoliciesReportCommand"); +var CancelDeclarativePoliciesReportCommand = _CancelDeclarativePoliciesReportCommand; + +// src/commands/CancelExportTaskCommand.ts + + + +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 + + + +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; + +// src/commands/CancelImportTaskCommand.ts + + + +var _CancelImportTaskCommand = class _CancelImportTaskCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CancelImportTask", {}).n("EC2Client", "CancelImportTaskCommand").f(void 0, void 0).ser(se_CancelImportTaskCommand).de(de_CancelImportTaskCommand).build() { +}; +__name(_CancelImportTaskCommand, "CancelImportTaskCommand"); +var CancelImportTaskCommand = _CancelImportTaskCommand; + +// src/commands/CancelReservedInstancesListingCommand.ts + + + +var _CancelReservedInstancesListingCommand = class _CancelReservedInstancesListingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CancelReservedInstancesListing", {}).n("EC2Client", "CancelReservedInstancesListingCommand").f(void 0, void 0).ser(se_CancelReservedInstancesListingCommand).de(de_CancelReservedInstancesListingCommand).build() { +}; +__name(_CancelReservedInstancesListingCommand, "CancelReservedInstancesListingCommand"); +var CancelReservedInstancesListingCommand = _CancelReservedInstancesListingCommand; + +// src/commands/CancelSpotFleetRequestsCommand.ts + + + +var _CancelSpotFleetRequestsCommand = class _CancelSpotFleetRequestsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CancelSpotFleetRequests", {}).n("EC2Client", "CancelSpotFleetRequestsCommand").f(void 0, void 0).ser(se_CancelSpotFleetRequestsCommand).de(de_CancelSpotFleetRequestsCommand).build() { +}; +__name(_CancelSpotFleetRequestsCommand, "CancelSpotFleetRequestsCommand"); +var CancelSpotFleetRequestsCommand = _CancelSpotFleetRequestsCommand; + +// src/commands/CancelSpotInstanceRequestsCommand.ts + + + +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; + +// src/commands/ConfirmProductInstanceCommand.ts + + + +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; + +// src/commands/CopyFpgaImageCommand.ts + + + +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; + +// src/commands/CopyImageCommand.ts + + + +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); + + + +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; + +// src/commands/CreateCapacityReservationBySplittingCommand.ts + + + +var _CreateCapacityReservationBySplittingCommand = class _CreateCapacityReservationBySplittingCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CreateCapacityReservationBySplitting", {}).n("EC2Client", "CreateCapacityReservationBySplittingCommand").f(void 0, void 0).ser(se_CreateCapacityReservationBySplittingCommand).de(de_CreateCapacityReservationBySplittingCommand).build() { +}; +__name(_CreateCapacityReservationBySplittingCommand, "CreateCapacityReservationBySplittingCommand"); +var CreateCapacityReservationBySplittingCommand = _CreateCapacityReservationBySplittingCommand; + +// src/commands/CreateCapacityReservationCommand.ts + + + +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; + +// src/commands/CreateCapacityReservationFleetCommand.ts + + + +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; + +// src/commands/CreateCarrierGatewayCommand.ts + + + +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; + +// src/commands/CreateClientVpnEndpointCommand.ts + + + +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; + +// src/commands/CreateClientVpnRouteCommand.ts + + + +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; + +// src/commands/CreateCoipCidrCommand.ts + + + +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 + + + +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; + +// src/commands/CreateCustomerGatewayCommand.ts + + + +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 + + + +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; + +// src/commands/CreateDefaultVpcCommand.ts + + + +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; + +// src/commands/CreateDhcpOptionsCommand.ts + + + +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; + +// src/commands/CreateEgressOnlyInternetGatewayCommand.ts + + + +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; + +// src/commands/CreateFleetCommand.ts + + + +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; + +// src/commands/CreateFlowLogsCommand.ts + + + +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; + +// src/commands/CreateFpgaImageCommand.ts + + + +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 + + + +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; + +// 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; + +// src/commands/CreateInstanceEventWindowCommand.ts + + + +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; + +// src/commands/CreateInstanceExportTaskCommand.ts + + + +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 + + + +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; + +// src/commands/CreateIpamCommand.ts + + + +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; + +// src/commands/CreateIpamExternalResourceVerificationTokenCommand.ts + + + +var _CreateIpamExternalResourceVerificationTokenCommand = class _CreateIpamExternalResourceVerificationTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CreateIpamExternalResourceVerificationToken", {}).n("EC2Client", "CreateIpamExternalResourceVerificationTokenCommand").f(void 0, void 0).ser(se_CreateIpamExternalResourceVerificationTokenCommand).de(de_CreateIpamExternalResourceVerificationTokenCommand).build() { +}; +__name(_CreateIpamExternalResourceVerificationTokenCommand, "CreateIpamExternalResourceVerificationTokenCommand"); +var CreateIpamExternalResourceVerificationTokenCommand = _CreateIpamExternalResourceVerificationTokenCommand; + +// src/commands/CreateIpamPoolCommand.ts + + + +var _CreateIpamPoolCommand = class _CreateIpamPoolCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (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; + +// src/commands/CreateIpamResourceDiscoveryCommand.ts + + + +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; + +// src/commands/CreateIpamScopeCommand.ts + + + +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 + + + + +// src/models/models_1.ts + +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", + assessing: "assessing", + cancelled: "cancelled", + delayed: "delayed", + expired: "expired", + failed: "failed", + payment_failed: "payment-failed", + payment_pending: "payment-pending", + pending: "pending", + scheduled: "scheduled", + unsupported: "unsupported" +}; +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_metal: "c7gn.metal", + 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_flex_2xlarge: "c7i-flex.2xlarge", + c7i_flex_4xlarge: "c7i-flex.4xlarge", + c7i_flex_8xlarge: "c7i-flex.8xlarge", + c7i_flex_large: "c7i-flex.large", + c7i_flex_xlarge: "c7i-flex.xlarge", + c7i_large: "c7i.large", + c7i_metal_24xl: "c7i.metal-24xl", + c7i_metal_48xl: "c7i.metal-48xl", + c7i_xlarge: "c7i.xlarge", + c8g_12xlarge: "c8g.12xlarge", + c8g_16xlarge: "c8g.16xlarge", + c8g_24xlarge: "c8g.24xlarge", + c8g_2xlarge: "c8g.2xlarge", + c8g_48xlarge: "c8g.48xlarge", + c8g_4xlarge: "c8g.4xlarge", + c8g_8xlarge: "c8g.8xlarge", + c8g_large: "c8g.large", + c8g_medium: "c8g.medium", + c8g_metal_24xl: "c8g.metal-24xl", + c8g_metal_48xl: "c8g.metal-48xl", + c8g_xlarge: "c8g.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", + g6e_12xlarge: "g6e.12xlarge", + g6e_16xlarge: "g6e.16xlarge", + g6e_24xlarge: "g6e.24xlarge", + g6e_2xlarge: "g6e.2xlarge", + g6e_48xlarge: "g6e.48xlarge", + g6e_4xlarge: "g6e.4xlarge", + g6e_8xlarge: "g6e.8xlarge", + g6e_xlarge: "g6e.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", + i7ie_12xlarge: "i7ie.12xlarge", + i7ie_18xlarge: "i7ie.18xlarge", + i7ie_24xlarge: "i7ie.24xlarge", + i7ie_2xlarge: "i7ie.2xlarge", + i7ie_3xlarge: "i7ie.3xlarge", + i7ie_48xlarge: "i7ie.48xlarge", + i7ie_6xlarge: "i7ie.6xlarge", + i7ie_large: "i7ie.large", + i7ie_xlarge: "i7ie.xlarge", + i8g_12xlarge: "i8g.12xlarge", + i8g_16xlarge: "i8g.16xlarge", + i8g_24xlarge: "i8g.24xlarge", + i8g_2xlarge: "i8g.2xlarge", + i8g_4xlarge: "i8g.4xlarge", + i8g_8xlarge: "i8g.8xlarge", + i8g_large: "i8g.large", + i8g_metal_24xl: "i8g.metal-24xl", + i8g_xlarge: "i8g.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", + m8g_12xlarge: "m8g.12xlarge", + m8g_16xlarge: "m8g.16xlarge", + m8g_24xlarge: "m8g.24xlarge", + m8g_2xlarge: "m8g.2xlarge", + m8g_48xlarge: "m8g.48xlarge", + m8g_4xlarge: "m8g.4xlarge", + m8g_8xlarge: "m8g.8xlarge", + m8g_large: "m8g.large", + m8g_medium: "m8g.medium", + m8g_metal_24xl: "m8g.metal-24xl", + m8g_metal_48xl: "m8g.metal-48xl", + m8g_xlarge: "m8g.xlarge", + mac1_metal: "mac1.metal", + mac2_m1ultra_metal: "mac2-m1ultra.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", + r8g_12xlarge: "r8g.12xlarge", + r8g_16xlarge: "r8g.16xlarge", + r8g_24xlarge: "r8g.24xlarge", + r8g_2xlarge: "r8g.2xlarge", + r8g_48xlarge: "r8g.48xlarge", + r8g_4xlarge: "r8g.4xlarge", + r8g_8xlarge: "r8g.8xlarge", + r8g_large: "r8g.large", + r8g_medium: "r8g.medium", + r8g_metal_24xl: "r8g.metal-24xl", + r8g_metal_48xl: "r8g.metal-48xl", + r8g_xlarge: "r8g.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", + u7i_12tb_224xlarge: "u7i-12tb.224xlarge", + u7ib_12tb_224xlarge: "u7ib-12tb.224xlarge", + u7in_16tb_224xlarge: "u7in-16tb.224xlarge", + u7in_24tb_224xlarge: "u7in-24tb.224xlarge", + u7in_32tb_224xlarge: "u7in-32tb.224xlarge", + 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", + x8g_12xlarge: "x8g.12xlarge", + x8g_16xlarge: "x8g.16xlarge", + x8g_24xlarge: "x8g.24xlarge", + x8g_2xlarge: "x8g.2xlarge", + x8g_48xlarge: "x8g.48xlarge", + x8g_4xlarge: "x8g.4xlarge", + x8g_8xlarge: "x8g.8xlarge", + x8g_large: "x8g.large", + x8g_medium: "x8g.medium", + x8g_metal_24xl: "x8g.metal-24xl", + x8g_metal_48xl: "x8g.metal-48xl", + x8g_xlarge: "x8g.xlarge", + 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 CarrierGatewayState = { + available: "available", + deleted: "deleted", + deleting: "deleting", + pending: "pending" +}; +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 BlockPublicAccessMode = { + block_bidirectional: "block-bidirectional", + block_ingress: "block-ingress", + off: "off" +}; +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", + APPLE: "apple", + 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 IpamExternalResourceVerificationTokenState = { + 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 TokenState = { + expired: "expired", + valid: "valid" +}; +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 = { + capacity_reservations_only: "capacity-reservations-only", + 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 InstanceBandwidthWeighting = { + DEFAULT: "default", + EBS_1: "ebs-1", + VPC_1: "vpc-1" +}; +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 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; + +// src/commands/CreateLaunchTemplateCommand.ts + + + +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; + +// src/commands/CreateLaunchTemplateVersionCommand.ts + + + +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; + +// src/commands/CreateLocalGatewayRouteCommand.ts + + + +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; + +// src/commands/CreateLocalGatewayRouteTableCommand.ts + + + +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; + +// src/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts + + + +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; + +// src/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.ts + + + +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; + +// src/commands/CreateManagedPrefixListCommand.ts + + + +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; + +// src/commands/CreateNatGatewayCommand.ts + + + +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; + +// src/commands/CreateNetworkAclCommand.ts + + + +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; + +// src/commands/CreateNetworkAclEntryCommand.ts + + + +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; + +// src/commands/CreateNetworkInsightsAccessScopeCommand.ts + + + +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; + +// src/commands/CreateNetworkInsightsPathCommand.ts + + + +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; + +// src/commands/CreateNetworkInterfaceCommand.ts + + + +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; + +// src/commands/CreateNetworkInterfacePermissionCommand.ts + + + +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; + +// src/commands/CreatePlacementGroupCommand.ts + + + +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 + + + +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; + +// src/commands/CreateReplaceRootVolumeTaskCommand.ts + + + +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; + +// src/commands/CreateReservedInstancesListingCommand.ts + + + +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 + + + +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; + +// src/commands/CreateRouteCommand.ts + + + +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; + +// src/commands/CreateRouteTableCommand.ts + + + +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; + +// src/commands/CreateSecurityGroupCommand.ts + + + +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; + +// src/commands/CreateSnapshotCommand.ts + + + +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; + +// src/commands/CreateSnapshotsCommand.ts + + + +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; + +// src/commands/CreateSpotDatafeedSubscriptionCommand.ts + + + +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; + +// src/commands/CreateStoreImageTaskCommand.ts + + + +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; + +// src/commands/CreateSubnetCidrReservationCommand.ts + + + +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; + +// src/commands/CreateSubnetCommand.ts + + + +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; + +// src/commands/CreateTagsCommand.ts + + + +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; + +// src/commands/CreateTrafficMirrorFilterCommand.ts + + + +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; + +// src/commands/CreateTrafficMirrorFilterRuleCommand.ts + + + +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; + +// src/commands/CreateTrafficMirrorSessionCommand.ts + + + +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; + +// src/commands/CreateTrafficMirrorTargetCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayConnectCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayConnectPeerCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayMulticastDomainCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayPeeringAttachmentCommand.ts + + + +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 + + + +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; + +// src/commands/CreateTransitGatewayPrefixListReferenceCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayRouteCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayRouteTableAnnouncementCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayRouteTableCommand.ts + + + +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; + +// src/commands/CreateTransitGatewayVpcAttachmentCommand.ts + + + +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; + +// src/commands/CreateVerifiedAccessEndpointCommand.ts + + + +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; + +// src/commands/CreateVerifiedAccessGroupCommand.ts + + + +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; + +// src/commands/CreateVerifiedAccessInstanceCommand.ts + + + +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; + +// src/commands/CreateVerifiedAccessTrustProviderCommand.ts + + + + +// src/models/models_2.ts + +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", + efa_only: "efa-only", + trunk: "trunk" +}; +var NetworkInterfaceType = { + api_gateway_managed: "api_gateway_managed", + aws_codestar_connections_managed: "aws_codestar_connections_managed", + branch: "branch", + efa: "efa", + efa_only: "efa-only", + 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 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 TransferType = { + standard: "standard", + time_based: "time-based" +}; +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 VerifiedAccessEndpointProtocol = { + http: "http", + https: "https", + tcp: "tcp" +}; +var VerifiedAccessEndpointType = { + cidr: "cidr", + load_balancer: "load-balancer", + network_interface: "network-interface", + rds: "rds" +}; +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 InternetGatewayExclusionMode = { + allow_bidirectional: "allow-bidirectional", + allow_egress: "allow-egress" +}; +var VpcBlockPublicAccessExclusionState = { + create_complete: "create-complete", + create_failed: "create-failed", + create_in_progress: "create-in-progress", + delete_complete: "delete-complete", + delete_in_progress: "delete-in-progress", + disable_complete: "disable-complete", + disable_in_progress: "disable-in-progress", + update_complete: "update-complete", + update_failed: "update-failed", + update_in_progress: "update-in-progress" +}; +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", + Resource: "Resource", + ServiceNetwork: "ServiceNetwork" +}; +var State = { + Available: "Available", + Deleted: "Deleted", + Deleting: "Deleting", + Expired: "Expired", + Failed: "Failed", + Partial: "Partial", + 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 CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog"); +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) + }, + ...obj.NativeApplicationOidcOptions && { + NativeApplicationOidcOptions: CreateVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog( + obj.NativeApplicationOidcOptions + ) + } +}), "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.Options && { Options: VpnConnectionOptionsFilterSensitiveLog(obj.Options) }, + ...obj.CustomerGatewayConfiguration && { CustomerGatewayConfiguration: import_smithy_client.SENSITIVE_STRING } +}), "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; + +// src/commands/CreateVolumeCommand.ts + + + +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; + +// src/commands/CreateVpcBlockPublicAccessExclusionCommand.ts + + + +var _CreateVpcBlockPublicAccessExclusionCommand = class _CreateVpcBlockPublicAccessExclusionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "CreateVpcBlockPublicAccessExclusion", {}).n("EC2Client", "CreateVpcBlockPublicAccessExclusionCommand").f(void 0, void 0).ser(se_CreateVpcBlockPublicAccessExclusionCommand).de(de_CreateVpcBlockPublicAccessExclusionCommand).build() { +}; +__name(_CreateVpcBlockPublicAccessExclusionCommand, "CreateVpcBlockPublicAccessExclusionCommand"); +var CreateVpcBlockPublicAccessExclusionCommand = _CreateVpcBlockPublicAccessExclusionCommand; + +// src/commands/CreateVpcCommand.ts + + + +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; + +// src/commands/CreateVpcEndpointCommand.ts + + + +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 + + + +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; + +// src/commands/CreateVpcEndpointServiceConfigurationCommand.ts + + + +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; + +// src/commands/CreateVpcPeeringConnectionCommand.ts + + + +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 + + + +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; + +// src/commands/CreateVpnConnectionRouteCommand.ts + + + +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 + + + +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; + +// src/commands/DeleteCarrierGatewayCommand.ts + + + +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; + +// src/commands/DeleteClientVpnEndpointCommand.ts + + + +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; + +// src/commands/DeleteClientVpnRouteCommand.ts + + + +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; + +// src/commands/DeleteCoipCidrCommand.ts + + + +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 + + + +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 + + + +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; + +// src/commands/DeleteDhcpOptionsCommand.ts + + + +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; + +// src/commands/DeleteEgressOnlyInternetGatewayCommand.ts + + + +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; + +// src/commands/DeleteFleetsCommand.ts + + + +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; + +// src/commands/DeleteFlowLogsCommand.ts + + + +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 + + + +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 + + + +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; + +// src/commands/DeleteInstanceEventWindowCommand.ts + + + +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; + +// src/commands/DeleteInternetGatewayCommand.ts + + + +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 + + + +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/DeleteIpamExternalResourceVerificationTokenCommand.ts + + + +var _DeleteIpamExternalResourceVerificationTokenCommand = class _DeleteIpamExternalResourceVerificationTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DeleteIpamExternalResourceVerificationToken", {}).n("EC2Client", "DeleteIpamExternalResourceVerificationTokenCommand").f(void 0, void 0).ser(se_DeleteIpamExternalResourceVerificationTokenCommand).de(de_DeleteIpamExternalResourceVerificationTokenCommand).build() { +}; +__name(_DeleteIpamExternalResourceVerificationTokenCommand, "DeleteIpamExternalResourceVerificationTokenCommand"); +var DeleteIpamExternalResourceVerificationTokenCommand = _DeleteIpamExternalResourceVerificationTokenCommand; + +// src/commands/DeleteIpamPoolCommand.ts + + + +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 + + + +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 + + + +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 + + + +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; + +// src/commands/DeleteLaunchTemplateCommand.ts + + + +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; + +// src/commands/DeleteLaunchTemplateVersionsCommand.ts + + + +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; + +// src/commands/DeleteLocalGatewayRouteCommand.ts + + + +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; + +// src/commands/DeleteLocalGatewayRouteTableCommand.ts + + + +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; + +// src/commands/DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.ts + + + +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; + +// src/commands/DeleteLocalGatewayRouteTableVpcAssociationCommand.ts + + + +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; + +// src/commands/DeleteManagedPrefixListCommand.ts + + + +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; + +// src/commands/DeleteNatGatewayCommand.ts + + + +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; + +// src/commands/DeleteNetworkAclCommand.ts + + + +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; + +// src/commands/DeleteNetworkAclEntryCommand.ts + + + +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; + +// src/commands/DeleteNetworkInsightsAccessScopeAnalysisCommand.ts + + + +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; + +// src/commands/DeleteNetworkInsightsAccessScopeCommand.ts + + + +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; + +// src/commands/DeleteNetworkInsightsAnalysisCommand.ts + + + +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; + +// src/commands/DeleteNetworkInterfaceCommand.ts + + + +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; + +// src/commands/DeleteNetworkInterfacePermissionCommand.ts + + + +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; + +// src/commands/DeletePlacementGroupCommand.ts + + + +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; + +// src/commands/DeletePublicIpv4PoolCommand.ts + + + +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; + +// src/commands/DeleteQueuedReservedInstancesCommand.ts + + + +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; + +// src/commands/DeleteRouteCommand.ts + + + +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; + +// src/commands/DeleteRouteTableCommand.ts + + + +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; + +// src/commands/DeleteSecurityGroupCommand.ts + + + +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; + +// src/commands/DeleteSnapshotCommand.ts + + + +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; + +// src/commands/DeleteSpotDatafeedSubscriptionCommand.ts + + + +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 + + + +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; + +// src/commands/DeleteSubnetCommand.ts + + + +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; + +// src/commands/DeleteTagsCommand.ts + + + +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; + +// src/commands/DeleteTrafficMirrorFilterCommand.ts + + + +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; + +// src/commands/DeleteTrafficMirrorFilterRuleCommand.ts + + + +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; + +// src/commands/DeleteTrafficMirrorSessionCommand.ts + + + +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; + +// 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; + +// src/commands/DeleteTransitGatewayCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayConnectCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayConnectPeerCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayMulticastDomainCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayPeeringAttachmentCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayPolicyTableCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayPrefixListReferenceCommand.ts + + + +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 + + + +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; + +// src/commands/DeleteTransitGatewayRouteTableAnnouncementCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayRouteTableCommand.ts + + + +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; + +// src/commands/DeleteTransitGatewayVpcAttachmentCommand.ts + + + +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 + + + +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 + + + +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; + +// src/commands/DeleteVerifiedAccessInstanceCommand.ts + + + +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; + +// src/commands/DeleteVerifiedAccessTrustProviderCommand.ts + + + + +// src/models/models_3.ts + +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 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 CapacityBlockExtensionStatus = { + PAYMENT_FAILED: "payment-failed", + PAYMENT_PENDING: "payment-pending", + PAYMENT_SUCCEEDED: "payment-succeeded" +}; +var CallerRole = { + odcr_owner: "odcr-owner", + unused_reservation_billing_owner: "unused-reservation-billing-owner" +}; +var CapacityReservationBillingRequestStatus = { + accepted: "accepted", + cancelled: "cancelled", + expired: "expired", + pending: "pending", + rejected: "rejected", + revoked: "revoked" +}; +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 ReportState = { + cancelled: "cancelled", + complete: "complete", + error: "error", + running: "running" +}; +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 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"); + +// 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; + +// src/commands/DeleteVolumeCommand.ts + + + +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/DeleteVpcBlockPublicAccessExclusionCommand.ts + + + +var _DeleteVpcBlockPublicAccessExclusionCommand = class _DeleteVpcBlockPublicAccessExclusionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DeleteVpcBlockPublicAccessExclusion", {}).n("EC2Client", "DeleteVpcBlockPublicAccessExclusionCommand").f(void 0, void 0).ser(se_DeleteVpcBlockPublicAccessExclusionCommand).de(de_DeleteVpcBlockPublicAccessExclusionCommand).build() { +}; +__name(_DeleteVpcBlockPublicAccessExclusionCommand, "DeleteVpcBlockPublicAccessExclusionCommand"); +var DeleteVpcBlockPublicAccessExclusionCommand = _DeleteVpcBlockPublicAccessExclusionCommand; + +// src/commands/DeleteVpcCommand.ts + + + +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; + +// src/commands/DeleteVpcEndpointConnectionNotificationsCommand.ts + + + +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; + +// src/commands/DeleteVpcEndpointsCommand.ts + + + +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; + +// src/commands/DeleteVpcEndpointServiceConfigurationsCommand.ts + + + +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; + +// src/commands/DeleteVpcPeeringConnectionCommand.ts + + + +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; + +// src/commands/DeleteVpnConnectionCommand.ts + + + +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; + +// src/commands/DeleteVpnConnectionRouteCommand.ts + + + +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; + +// src/commands/DeleteVpnGatewayCommand.ts + + + +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; + +// src/commands/DeprovisionByoipCidrCommand.ts + + + +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; + +// src/commands/DeprovisionIpamByoasnCommand.ts + + + +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; + +// src/commands/DeprovisionIpamPoolCidrCommand.ts + + + +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; + +// src/commands/DeprovisionPublicIpv4PoolCidrCommand.ts + + + +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; + +// src/commands/DeregisterImageCommand.ts + + + +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 + + + +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; + +// src/commands/DeregisterTransitGatewayMulticastGroupMembersCommand.ts + + + +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; + +// src/commands/DeregisterTransitGatewayMulticastGroupSourcesCommand.ts + + + +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; + +// src/commands/DescribeAccountAttributesCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeAddressesCommand.ts + + + +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; + +// src/commands/DescribeAddressTransfersCommand.ts + + + +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; + +// src/commands/DescribeAggregateIdFormatCommand.ts + + + +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; + +// src/commands/DescribeAvailabilityZonesCommand.ts + + + +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; + +// src/commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand.ts + + + +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; + +// src/commands/DescribeBundleTasksCommand.ts + + + +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; + +// src/commands/DescribeByoipCidrsCommand.ts + + + +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/DescribeCapacityBlockExtensionHistoryCommand.ts + + + +var _DescribeCapacityBlockExtensionHistoryCommand = class _DescribeCapacityBlockExtensionHistoryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeCapacityBlockExtensionHistory", {}).n("EC2Client", "DescribeCapacityBlockExtensionHistoryCommand").f(void 0, void 0).ser(se_DescribeCapacityBlockExtensionHistoryCommand).de(de_DescribeCapacityBlockExtensionHistoryCommand).build() { +}; +__name(_DescribeCapacityBlockExtensionHistoryCommand, "DescribeCapacityBlockExtensionHistoryCommand"); +var DescribeCapacityBlockExtensionHistoryCommand = _DescribeCapacityBlockExtensionHistoryCommand; + +// src/commands/DescribeCapacityBlockExtensionOfferingsCommand.ts + + + +var _DescribeCapacityBlockExtensionOfferingsCommand = class _DescribeCapacityBlockExtensionOfferingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeCapacityBlockExtensionOfferings", {}).n("EC2Client", "DescribeCapacityBlockExtensionOfferingsCommand").f(void 0, void 0).ser(se_DescribeCapacityBlockExtensionOfferingsCommand).de(de_DescribeCapacityBlockExtensionOfferingsCommand).build() { +}; +__name(_DescribeCapacityBlockExtensionOfferingsCommand, "DescribeCapacityBlockExtensionOfferingsCommand"); +var DescribeCapacityBlockExtensionOfferingsCommand = _DescribeCapacityBlockExtensionOfferingsCommand; + +// src/commands/DescribeCapacityBlockOfferingsCommand.ts + + + +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; + +// src/commands/DescribeCapacityReservationBillingRequestsCommand.ts + + + +var _DescribeCapacityReservationBillingRequestsCommand = class _DescribeCapacityReservationBillingRequestsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeCapacityReservationBillingRequests", {}).n("EC2Client", "DescribeCapacityReservationBillingRequestsCommand").f(void 0, void 0).ser(se_DescribeCapacityReservationBillingRequestsCommand).de(de_DescribeCapacityReservationBillingRequestsCommand).build() { +}; +__name(_DescribeCapacityReservationBillingRequestsCommand, "DescribeCapacityReservationBillingRequestsCommand"); +var DescribeCapacityReservationBillingRequestsCommand = _DescribeCapacityReservationBillingRequestsCommand; + +// src/commands/DescribeCapacityReservationFleetsCommand.ts + + + +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; + +// src/commands/DescribeCapacityReservationsCommand.ts + + + +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; + +// src/commands/DescribeCarrierGatewaysCommand.ts + + + +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; + +// src/commands/DescribeClassicLinkInstancesCommand.ts + + + +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; + +// src/commands/DescribeClientVpnAuthorizationRulesCommand.ts + + + +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; + +// src/commands/DescribeClientVpnConnectionsCommand.ts + + + +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; + +// src/commands/DescribeClientVpnEndpointsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeClientVpnTargetNetworksCommand.ts + + + +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; + +// src/commands/DescribeCoipPoolsCommand.ts + + + +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; + +// src/commands/DescribeConversionTasksCommand.ts + + + +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; + +// src/commands/DescribeCustomerGatewaysCommand.ts + + + +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; + +// src/commands/DescribeDeclarativePoliciesReportsCommand.ts + + + +var _DescribeDeclarativePoliciesReportsCommand = class _DescribeDeclarativePoliciesReportsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeDeclarativePoliciesReports", {}).n("EC2Client", "DescribeDeclarativePoliciesReportsCommand").f(void 0, void 0).ser(se_DescribeDeclarativePoliciesReportsCommand).de(de_DescribeDeclarativePoliciesReportsCommand).build() { +}; +__name(_DescribeDeclarativePoliciesReportsCommand, "DescribeDeclarativePoliciesReportsCommand"); +var DescribeDeclarativePoliciesReportsCommand = _DescribeDeclarativePoliciesReportsCommand; + +// src/commands/DescribeDhcpOptionsCommand.ts + + + +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; + +// src/commands/DescribeEgressOnlyInternetGatewaysCommand.ts + + + +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; + +// src/commands/DescribeElasticGpusCommand.ts + + + +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; + +// src/commands/DescribeExportImageTasksCommand.ts + + + +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; + +// src/commands/DescribeExportTasksCommand.ts + + + +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; + +// src/commands/DescribeFastLaunchImagesCommand.ts + + + +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; + +// src/commands/DescribeFastSnapshotRestoresCommand.ts + + + +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; + +// src/commands/DescribeFleetHistoryCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeFleetsCommand.ts + + + +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; + +// src/commands/DescribeFlowLogsCommand.ts + + + +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; + +// src/commands/DescribeFpgaImageAttributeCommand.ts + + + +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; + +// src/commands/DescribeFpgaImagesCommand.ts + + + +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; + +// src/commands/DescribeHostReservationOfferingsCommand.ts + + + +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; + +// src/commands/DescribeHostReservationsCommand.ts + + + +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; + +// src/commands/DescribeHostsCommand.ts + + + +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; + +// src/commands/DescribeIamInstanceProfileAssociationsCommand.ts + + + +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; + +// src/commands/DescribeIdentityIdFormatCommand.ts + + + +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; + +// src/commands/DescribeIdFormatCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeImagesCommand.ts + + + +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; + +// src/commands/DescribeImportImageTasksCommand.ts + + + + +// src/models/models_4.ts + +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 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 InstanceStateName = { + pending: "pending", + running: "running", + shutting_down: "shutting-down", + stopped: "stopped", + stopping: "stopping", + terminated: "terminated" +}; +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 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 EventCode = { + instance_reboot: "instance-reboot", + instance_retirement: "instance-retirement", + instance_stop: "instance-stop", + system_maintenance: "system-maintenance", + system_reboot: "system-reboot" +}; +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 BandwidthWeightingType = { + DEFAULT: "default", + EBS_1: "ebs-1", + VPC_1: "vpc-1" +}; +var EnaSupport = { + required: "required", + supported: "supported", + unsupported: "unsupported" +}; +var NitroEnclavesSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var NitroTpmSupport = { + SUPPORTED: "supported", + UNSUPPORTED: "unsupported" +}; +var PhcSupport = { + 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 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"); +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"); + +// src/commands/DescribeImportImageTasksCommand.ts +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; + +// 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; + +// src/commands/DescribeInstanceAttributeCommand.ts + + + +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; + +// src/commands/DescribeInstanceConnectEndpointsCommand.ts + + + +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; + +// src/commands/DescribeInstanceCreditSpecificationsCommand.ts + + + +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; + +// src/commands/DescribeInstanceEventNotificationAttributesCommand.ts + + + +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; + +// src/commands/DescribeInstanceEventWindowsCommand.ts + + + +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; + +// src/commands/DescribeInstanceImageMetadataCommand.ts + + + +var _DescribeInstanceImageMetadataCommand = class _DescribeInstanceImageMetadataCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeInstanceImageMetadata", {}).n("EC2Client", "DescribeInstanceImageMetadataCommand").f(void 0, void 0).ser(se_DescribeInstanceImageMetadataCommand).de(de_DescribeInstanceImageMetadataCommand).build() { +}; +__name(_DescribeInstanceImageMetadataCommand, "DescribeInstanceImageMetadataCommand"); +var DescribeInstanceImageMetadataCommand = _DescribeInstanceImageMetadataCommand; + +// src/commands/DescribeInstancesCommand.ts + + + +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; + +// src/commands/DescribeInstanceStatusCommand.ts + + + +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; + +// src/commands/DescribeInstanceTopologyCommand.ts + + + +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 + + + +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 + + + +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 + + + +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; + +// src/commands/DescribeIpamByoasnCommand.ts + + + +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; + +// src/commands/DescribeIpamExternalResourceVerificationTokensCommand.ts + + + +var _DescribeIpamExternalResourceVerificationTokensCommand = class _DescribeIpamExternalResourceVerificationTokensCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeIpamExternalResourceVerificationTokens", {}).n("EC2Client", "DescribeIpamExternalResourceVerificationTokensCommand").f(void 0, void 0).ser(se_DescribeIpamExternalResourceVerificationTokensCommand).de(de_DescribeIpamExternalResourceVerificationTokensCommand).build() { +}; +__name(_DescribeIpamExternalResourceVerificationTokensCommand, "DescribeIpamExternalResourceVerificationTokensCommand"); +var DescribeIpamExternalResourceVerificationTokensCommand = _DescribeIpamExternalResourceVerificationTokensCommand; + +// src/commands/DescribeIpamPoolsCommand.ts + + + +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; + +// src/commands/DescribeIpamResourceDiscoveriesCommand.ts + + + +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; + +// src/commands/DescribeIpamResourceDiscoveryAssociationsCommand.ts + + + +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; + +// src/commands/DescribeIpamsCommand.ts + + + +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; + +// src/commands/DescribeIpamScopesCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeKeyPairsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeLaunchTemplateVersionsCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewayRouteTablesCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewayRouteTableVpcAssociationsCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewaysCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewayVirtualInterfaceGroupsCommand.ts + + + +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; + +// src/commands/DescribeLocalGatewayVirtualInterfacesCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeMacHostsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeMovingAddressesCommand.ts + + + +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; + +// src/commands/DescribeNatGatewaysCommand.ts + + + +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; + +// src/commands/DescribeNetworkAclsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeNetworkInsightsAccessScopesCommand.ts + + + +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; + +// src/commands/DescribeNetworkInsightsAnalysesCommand.ts + + + +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; + +// src/commands/DescribeNetworkInsightsPathsCommand.ts + + + +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; + +// src/commands/DescribeNetworkInterfaceAttributeCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeNetworkInterfacesCommand.ts + + + +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; + +// src/commands/DescribePlacementGroupsCommand.ts + + + +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 + + + +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 + + + +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; + +// src/commands/DescribePublicIpv4PoolsCommand.ts + + + +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; + +// src/commands/DescribeRegionsCommand.ts + + + +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; + +// src/commands/DescribeReplaceRootVolumeTasksCommand.ts + + + +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; + +// src/commands/DescribeReservedInstancesCommand.ts + + + +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; + +// src/commands/DescribeReservedInstancesListingsCommand.ts + + + +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; + +// src/commands/DescribeReservedInstancesModificationsCommand.ts + + + +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; + +// src/commands/DescribeReservedInstancesOfferingsCommand.ts + + + +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; + +// src/commands/DescribeRouteTablesCommand.ts + + + +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; + +// src/commands/DescribeScheduledInstanceAvailabilityCommand.ts + + + +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; + +// src/commands/DescribeScheduledInstancesCommand.ts + + + +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; + +// src/commands/DescribeSecurityGroupReferencesCommand.ts + + + +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; + +// src/commands/DescribeSecurityGroupRulesCommand.ts + + + +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; + +// src/commands/DescribeSecurityGroupsCommand.ts + + + +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/DescribeSecurityGroupVpcAssociationsCommand.ts + + + +var _DescribeSecurityGroupVpcAssociationsCommand = class _DescribeSecurityGroupVpcAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeSecurityGroupVpcAssociations", {}).n("EC2Client", "DescribeSecurityGroupVpcAssociationsCommand").f(void 0, void 0).ser(se_DescribeSecurityGroupVpcAssociationsCommand).de(de_DescribeSecurityGroupVpcAssociationsCommand).build() { +}; +__name(_DescribeSecurityGroupVpcAssociationsCommand, "DescribeSecurityGroupVpcAssociationsCommand"); +var DescribeSecurityGroupVpcAssociationsCommand = _DescribeSecurityGroupVpcAssociationsCommand; + +// src/commands/DescribeSnapshotAttributeCommand.ts + + + +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; + +// src/commands/DescribeSnapshotsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeSpotDatafeedSubscriptionCommand.ts + + + +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; + +// src/commands/DescribeSpotFleetInstancesCommand.ts + + + +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; + +// src/commands/DescribeSpotFleetRequestHistoryCommand.ts + + + +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; + +// src/commands/DescribeSpotFleetRequestsCommand.ts + + + + +// src/models/models_5.ts + +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 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 VpcBlockPublicAccessExclusionsAllowed = { + allowed: "allowed", + not_allowed: "not-allowed" +}; +var InternetGatewayBlockMode = { + block_bidirectional: "block-bidirectional", + block_ingress: "block-ingress", + off: "off" +}; +var ManagedBy = { + account: "account", + declarative_policy: "declarative-policy" +}; +var VpcBlockPublicAccessState = { + default_state: "default-state", + update_complete: "update-complete", + update_in_progress: "update-in-progress" +}; +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 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"); +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"); + +// src/commands/DescribeSpotFleetRequestsCommand.ts +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; + +// src/commands/DescribeSpotInstanceRequestsCommand.ts + + + +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; + +// src/commands/DescribeSpotPriceHistoryCommand.ts + + + +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; + +// src/commands/DescribeStaleSecurityGroupsCommand.ts + + + +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; + +// src/commands/DescribeStoreImageTasksCommand.ts + + + +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; + +// src/commands/DescribeSubnetsCommand.ts + + + +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; + +// src/commands/DescribeTagsCommand.ts + + + +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; + +// src/commands/DescribeTrafficMirrorFilterRulesCommand.ts + + + +var _DescribeTrafficMirrorFilterRulesCommand = class _DescribeTrafficMirrorFilterRulesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeTrafficMirrorFilterRules", {}).n("EC2Client", "DescribeTrafficMirrorFilterRulesCommand").f(void 0, void 0).ser(se_DescribeTrafficMirrorFilterRulesCommand).de(de_DescribeTrafficMirrorFilterRulesCommand).build() { +}; +__name(_DescribeTrafficMirrorFilterRulesCommand, "DescribeTrafficMirrorFilterRulesCommand"); +var DescribeTrafficMirrorFilterRulesCommand = _DescribeTrafficMirrorFilterRulesCommand; + +// src/commands/DescribeTrafficMirrorFiltersCommand.ts + + + +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; + +// src/commands/DescribeTrafficMirrorSessionsCommand.ts + + + +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; + +// src/commands/DescribeTrafficMirrorTargetsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayAttachmentsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayConnectPeersCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayConnectsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayMulticastDomainsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayPeeringAttachmentsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayPolicyTablesCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayRouteTableAnnouncementsCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayRouteTablesCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewaysCommand.ts + + + +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; + +// src/commands/DescribeTransitGatewayVpcAttachmentsCommand.ts + + + +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; + +// src/commands/DescribeTrunkInterfaceAssociationsCommand.ts + + + +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; + +// src/commands/DescribeVerifiedAccessEndpointsCommand.ts + + + +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; + +// src/commands/DescribeVerifiedAccessGroupsCommand.ts + + + +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; + +// src/commands/DescribeVerifiedAccessInstanceLoggingConfigurationsCommand.ts + + + +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; + +// src/commands/DescribeVerifiedAccessInstancesCommand.ts + + + +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; + +// 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; + +// src/commands/DescribeVolumeAttributeCommand.ts + + + +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; + +// src/commands/DescribeVolumesCommand.ts + + + +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; + +// src/commands/DescribeVolumesModificationsCommand.ts + + + +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; + +// src/commands/DescribeVolumeStatusCommand.ts + + + +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; + +// src/commands/DescribeVpcAttributeCommand.ts + + + +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/DescribeVpcBlockPublicAccessExclusionsCommand.ts + + + +var _DescribeVpcBlockPublicAccessExclusionsCommand = class _DescribeVpcBlockPublicAccessExclusionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeVpcBlockPublicAccessExclusions", {}).n("EC2Client", "DescribeVpcBlockPublicAccessExclusionsCommand").f(void 0, void 0).ser(se_DescribeVpcBlockPublicAccessExclusionsCommand).de(de_DescribeVpcBlockPublicAccessExclusionsCommand).build() { +}; +__name(_DescribeVpcBlockPublicAccessExclusionsCommand, "DescribeVpcBlockPublicAccessExclusionsCommand"); +var DescribeVpcBlockPublicAccessExclusionsCommand = _DescribeVpcBlockPublicAccessExclusionsCommand; + +// src/commands/DescribeVpcBlockPublicAccessOptionsCommand.ts + + + +var _DescribeVpcBlockPublicAccessOptionsCommand = class _DescribeVpcBlockPublicAccessOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeVpcBlockPublicAccessOptions", {}).n("EC2Client", "DescribeVpcBlockPublicAccessOptionsCommand").f(void 0, void 0).ser(se_DescribeVpcBlockPublicAccessOptionsCommand).de(de_DescribeVpcBlockPublicAccessOptionsCommand).build() { +}; +__name(_DescribeVpcBlockPublicAccessOptionsCommand, "DescribeVpcBlockPublicAccessOptionsCommand"); +var DescribeVpcBlockPublicAccessOptionsCommand = _DescribeVpcBlockPublicAccessOptionsCommand; + +// src/commands/DescribeVpcClassicLinkCommand.ts + + + +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; + +// src/commands/DescribeVpcClassicLinkDnsSupportCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointAssociationsCommand.ts + + + +var _DescribeVpcEndpointAssociationsCommand = class _DescribeVpcEndpointAssociationsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DescribeVpcEndpointAssociations", {}).n("EC2Client", "DescribeVpcEndpointAssociationsCommand").f(void 0, void 0).ser(se_DescribeVpcEndpointAssociationsCommand).de(de_DescribeVpcEndpointAssociationsCommand).build() { +}; +__name(_DescribeVpcEndpointAssociationsCommand, "DescribeVpcEndpointAssociationsCommand"); +var DescribeVpcEndpointAssociationsCommand = _DescribeVpcEndpointAssociationsCommand; + +// src/commands/DescribeVpcEndpointConnectionNotificationsCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointConnectionsCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointsCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointServiceConfigurationsCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointServicePermissionsCommand.ts + + + +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; + +// src/commands/DescribeVpcEndpointServicesCommand.ts + + + +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; + +// src/commands/DescribeVpcPeeringConnectionsCommand.ts + + + +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 + + + +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; + +// src/commands/DescribeVpnGatewaysCommand.ts + + + +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; + +// src/commands/DetachClassicLinkVpcCommand.ts + + + +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; + +// src/commands/DetachInternetGatewayCommand.ts + + + +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; + +// src/commands/DetachNetworkInterfaceCommand.ts + + + +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; + +// src/commands/DetachVerifiedAccessTrustProviderCommand.ts + + + +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; + +// src/commands/DetachVolumeCommand.ts + + + +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; + +// src/commands/DetachVpnGatewayCommand.ts + + + +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; + +// src/commands/DisableAddressTransferCommand.ts + + + +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/DisableAllowedImagesSettingsCommand.ts + + + +var _DisableAllowedImagesSettingsCommand = class _DisableAllowedImagesSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DisableAllowedImagesSettings", {}).n("EC2Client", "DisableAllowedImagesSettingsCommand").f(void 0, void 0).ser(se_DisableAllowedImagesSettingsCommand).de(de_DisableAllowedImagesSettingsCommand).build() { +}; +__name(_DisableAllowedImagesSettingsCommand, "DisableAllowedImagesSettingsCommand"); +var DisableAllowedImagesSettingsCommand = _DisableAllowedImagesSettingsCommand; + +// src/commands/DisableAwsNetworkPerformanceMetricSubscriptionCommand.ts + + + +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; + +// src/commands/DisableEbsEncryptionByDefaultCommand.ts + + + +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; + +// src/commands/DisableFastLaunchCommand.ts + + + +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; + +// src/commands/DisableFastSnapshotRestoresCommand.ts + + + +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; + +// src/commands/DisableImageBlockPublicAccessCommand.ts + + + +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 + + + +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; + +// src/commands/DisableImageDeprecationCommand.ts + + + +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; + +// src/commands/DisableImageDeregistrationProtectionCommand.ts + + + +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; + +// src/commands/DisableIpamOrganizationAdminAccountCommand.ts + + + +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; + +// src/commands/DisableSerialConsoleAccessCommand.ts + + + +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; + +// src/commands/DisassociateAddressCommand.ts + + + +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; + +// src/commands/DisassociateCapacityReservationBillingOwnerCommand.ts + + + +var _DisassociateCapacityReservationBillingOwnerCommand = class _DisassociateCapacityReservationBillingOwnerCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DisassociateCapacityReservationBillingOwner", {}).n("EC2Client", "DisassociateCapacityReservationBillingOwnerCommand").f(void 0, void 0).ser(se_DisassociateCapacityReservationBillingOwnerCommand).de(de_DisassociateCapacityReservationBillingOwnerCommand).build() { +}; +__name(_DisassociateCapacityReservationBillingOwnerCommand, "DisassociateCapacityReservationBillingOwnerCommand"); +var DisassociateCapacityReservationBillingOwnerCommand = _DisassociateCapacityReservationBillingOwnerCommand; + +// src/commands/DisassociateClientVpnTargetNetworkCommand.ts + + + +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; + +// src/commands/DisassociateEnclaveCertificateIamRoleCommand.ts + + + +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; + +// src/commands/DisassociateIamInstanceProfileCommand.ts + + + +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; + +// src/commands/DisassociateInstanceEventWindowCommand.ts + + + +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; + +// src/commands/DisassociateIpamByoasnCommand.ts + + + +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; + +// src/commands/DisassociateIpamResourceDiscoveryCommand.ts + + + +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; + +// src/commands/DisassociateNatGatewayAddressCommand.ts + + + +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; + +// src/commands/DisassociateSecurityGroupVpcCommand.ts + + + +var _DisassociateSecurityGroupVpcCommand = class _DisassociateSecurityGroupVpcCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "DisassociateSecurityGroupVpc", {}).n("EC2Client", "DisassociateSecurityGroupVpcCommand").f(void 0, void 0).ser(se_DisassociateSecurityGroupVpcCommand).de(de_DisassociateSecurityGroupVpcCommand).build() { +}; +__name(_DisassociateSecurityGroupVpcCommand, "DisassociateSecurityGroupVpcCommand"); +var DisassociateSecurityGroupVpcCommand = _DisassociateSecurityGroupVpcCommand; + +// src/commands/DisassociateSubnetCidrBlockCommand.ts + + + +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; + +// src/commands/DisassociateTransitGatewayMulticastDomainCommand.ts + + + +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; + +// src/commands/DisassociateTransitGatewayPolicyTableCommand.ts + + + +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; + +// src/commands/DisassociateTransitGatewayRouteTableCommand.ts + + + +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; + +// src/commands/DisassociateTrunkInterfaceCommand.ts + + + +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; + +// src/commands/DisassociateVpcCidrBlockCommand.ts + + + +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; + +// src/commands/EnableAddressTransferCommand.ts + + + +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; + +// src/commands/EnableAllowedImagesSettingsCommand.ts + + + +var _EnableAllowedImagesSettingsCommand = class _EnableAllowedImagesSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "EnableAllowedImagesSettings", {}).n("EC2Client", "EnableAllowedImagesSettingsCommand").f(void 0, void 0).ser(se_EnableAllowedImagesSettingsCommand).de(de_EnableAllowedImagesSettingsCommand).build() { +}; +__name(_EnableAllowedImagesSettingsCommand, "EnableAllowedImagesSettingsCommand"); +var EnableAllowedImagesSettingsCommand = _EnableAllowedImagesSettingsCommand; + +// src/commands/EnableAwsNetworkPerformanceMetricSubscriptionCommand.ts + + + +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; + +// 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; + +// src/commands/EnableFastSnapshotRestoresCommand.ts + + + +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; + +// src/commands/EnableImageBlockPublicAccessCommand.ts + + + +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; + +// src/commands/EnableImageCommand.ts + + + +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; + +// src/commands/EnableImageDeprecationCommand.ts + + + +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; + +// src/commands/EnableImageDeregistrationProtectionCommand.ts + + + +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; + +// src/commands/EnableIpamOrganizationAdminAccountCommand.ts + + + +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; + +// src/commands/EnableReachabilityAnalyzerOrganizationSharingCommand.ts + + + +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; + +// 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 + + + +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; + +// src/commands/EnableVgwRoutePropagationCommand.ts + + + +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; + +// src/commands/EnableVolumeIOCommand.ts + + + +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; + +// src/commands/EnableVpcClassicLinkCommand.ts + + + +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; + +// src/commands/EnableVpcClassicLinkDnsSupportCommand.ts + + + +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; + +// src/commands/ExportClientVpnClientCertificateRevocationListCommand.ts + + + +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; + +// src/commands/ExportClientVpnClientConfigurationCommand.ts + + + +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; + +// src/commands/ExportImageCommand.ts + + + +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; + +// src/commands/ExportTransitGatewayRoutesCommand.ts + + + +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/ExportVerifiedAccessInstanceClientConfigurationCommand.ts + + + + +// src/models/models_6.ts + +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 IpamDiscoveryFailureCode = { + assume_role_failure: "assume-role-failure", + throttling_failure: "throttling-failure", + unauthorized_failure: "unauthorized-failure" +}; +var IpamPublicAddressType = { + AMAZON_OWNED_CONTIG: "amazon-owned-contig", + 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 IpamResourceCidrIpSource = { + amazon: "amazon", + byoip: "byoip", + none: "none" +}; +var IpamNetworkInterfaceAttachmentStatus = { + available: "available", + in_use: "in-use" +}; +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 VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog"); +var ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserTrustProvider && { + UserTrustProvider: VerifiedAccessInstanceUserTrustProviderClientConfigurationFilterSensitiveLog( + obj.UserTrustProvider + ) + } +}), "ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog"); +var GetInstanceTpmEkPubResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.KeyValue && { KeyValue: import_smithy_client.SENSITIVE_STRING } +}), "GetInstanceTpmEkPubResultFilterSensitiveLog"); +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.LaunchSpecification && { + LaunchSpecification: ImportInstanceLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) + }, + ...obj.DiskImages && { DiskImages: obj.DiskImages.map((item) => DiskImageFilterSensitiveLog(item)) } +}), "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"); + +// src/commands/ExportVerifiedAccessInstanceClientConfigurationCommand.ts +var _ExportVerifiedAccessInstanceClientConfigurationCommand = class _ExportVerifiedAccessInstanceClientConfigurationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ExportVerifiedAccessInstanceClientConfiguration", {}).n("EC2Client", "ExportVerifiedAccessInstanceClientConfigurationCommand").f(void 0, ExportVerifiedAccessInstanceClientConfigurationResultFilterSensitiveLog).ser(se_ExportVerifiedAccessInstanceClientConfigurationCommand).de(de_ExportVerifiedAccessInstanceClientConfigurationCommand).build() { +}; +__name(_ExportVerifiedAccessInstanceClientConfigurationCommand, "ExportVerifiedAccessInstanceClientConfigurationCommand"); +var ExportVerifiedAccessInstanceClientConfigurationCommand = _ExportVerifiedAccessInstanceClientConfigurationCommand; + +// src/commands/GetAllowedImagesSettingsCommand.ts + + + +var _GetAllowedImagesSettingsCommand = class _GetAllowedImagesSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "GetAllowedImagesSettings", {}).n("EC2Client", "GetAllowedImagesSettingsCommand").f(void 0, void 0).ser(se_GetAllowedImagesSettingsCommand).de(de_GetAllowedImagesSettingsCommand).build() { +}; +__name(_GetAllowedImagesSettingsCommand, "GetAllowedImagesSettingsCommand"); +var GetAllowedImagesSettingsCommand = _GetAllowedImagesSettingsCommand; + +// 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 + + + +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; + +// src/commands/GetConsoleOutputCommand.ts + + + +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; + +// src/commands/GetConsoleScreenshotCommand.ts + + + +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; + +// src/commands/GetDeclarativePoliciesReportSummaryCommand.ts + + + +var _GetDeclarativePoliciesReportSummaryCommand = class _GetDeclarativePoliciesReportSummaryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "GetDeclarativePoliciesReportSummary", {}).n("EC2Client", "GetDeclarativePoliciesReportSummaryCommand").f(void 0, void 0).ser(se_GetDeclarativePoliciesReportSummaryCommand).de(de_GetDeclarativePoliciesReportSummaryCommand).build() { +}; +__name(_GetDeclarativePoliciesReportSummaryCommand, "GetDeclarativePoliciesReportSummaryCommand"); +var GetDeclarativePoliciesReportSummaryCommand = _GetDeclarativePoliciesReportSummaryCommand; + +// src/commands/GetDefaultCreditSpecificationCommand.ts + + + +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; + +// src/commands/GetEbsDefaultKmsKeyIdCommand.ts + + + +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; + +// src/commands/GetEbsEncryptionByDefaultCommand.ts + + + +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; + +// src/commands/GetFlowLogsIntegrationTemplateCommand.ts + + + +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; + +// src/commands/GetGroupsForCapacityReservationCommand.ts + + + +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 + + + +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; + +// src/commands/GetInstanceTpmEkPubCommand.ts + + + +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; + +// src/commands/GetInstanceTypesFromInstanceRequirementsCommand.ts + + + +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; + +// src/commands/GetInstanceUefiDataCommand.ts + + + +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; + +// src/commands/GetIpamAddressHistoryCommand.ts + + + +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; + +// src/commands/GetIpamDiscoveredAccountsCommand.ts + + + +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; + +// src/commands/GetIpamDiscoveredPublicAddressesCommand.ts + + + +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; + +// src/commands/GetIpamDiscoveredResourceCidrsCommand.ts + + + +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; + +// src/commands/GetIpamPoolAllocationsCommand.ts + + + +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 + + + +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; + +// 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; + +// src/commands/GetManagedPrefixListAssociationsCommand.ts + + + +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; + +// src/commands/GetManagedPrefixListEntriesCommand.ts + + + +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; + +// src/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.ts + + + +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; + +// src/commands/GetNetworkInsightsAccessScopeContentCommand.ts + + + +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; + +// src/commands/GetPasswordDataCommand.ts + + + +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 + + + +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; + +// src/commands/GetSecurityGroupsForVpcCommand.ts + + + +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; + +// src/commands/GetSerialConsoleAccessStatusCommand.ts + + + +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; + +// src/commands/GetSnapshotBlockPublicAccessStateCommand.ts + + + +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; + +// src/commands/GetSpotPlacementScoresCommand.ts + + + +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; + +// src/commands/GetSubnetCidrReservationsCommand.ts + + + +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; + +// src/commands/GetTransitGatewayAttachmentPropagationsCommand.ts + + + +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; + +// src/commands/GetTransitGatewayMulticastDomainAssociationsCommand.ts + + + +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; + +// src/commands/GetTransitGatewayPolicyTableAssociationsCommand.ts + + + +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; + +// src/commands/GetTransitGatewayPolicyTableEntriesCommand.ts + + + +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; + +// src/commands/GetTransitGatewayPrefixListReferencesCommand.ts + + + +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 + + + +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; + +// src/commands/GetVerifiedAccessEndpointTargetsCommand.ts + + + +var _GetVerifiedAccessEndpointTargetsCommand = class _GetVerifiedAccessEndpointTargetsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "GetVerifiedAccessEndpointTargets", {}).n("EC2Client", "GetVerifiedAccessEndpointTargetsCommand").f(void 0, void 0).ser(se_GetVerifiedAccessEndpointTargetsCommand).de(de_GetVerifiedAccessEndpointTargetsCommand).build() { +}; +__name(_GetVerifiedAccessEndpointTargetsCommand, "GetVerifiedAccessEndpointTargetsCommand"); +var GetVerifiedAccessEndpointTargetsCommand = _GetVerifiedAccessEndpointTargetsCommand; + +// src/commands/GetVerifiedAccessGroupPolicyCommand.ts + + + +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; + +// src/commands/GetVpnConnectionDeviceSampleConfigurationCommand.ts + + + +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; + +// src/commands/GetVpnConnectionDeviceTypesCommand.ts + + + +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; + +// src/commands/GetVpnTunnelReplacementStatusCommand.ts + + + +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; + +// src/commands/ImportClientVpnClientCertificateRevocationListCommand.ts + + + +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; + +// src/commands/ImportImageCommand.ts + + + +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; + +// src/commands/ImportInstanceCommand.ts + + + +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; + +// src/commands/ImportKeyPairCommand.ts + + + +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; + +// src/commands/ImportSnapshotCommand.ts + + + +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; + +// src/commands/ImportVolumeCommand.ts + + + +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; + +// src/commands/ListImagesInRecycleBinCommand.ts + + + +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; + +// src/commands/ListSnapshotsInRecycleBinCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyAddressAttributeCommand.ts + + + +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; + +// src/commands/ModifyAvailabilityZoneGroupCommand.ts + + + +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; + +// src/commands/ModifyCapacityReservationCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyFleetCommand.ts + + + +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; + +// src/commands/ModifyFpgaImageAttributeCommand.ts + + + +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; + +// src/commands/ModifyHostsCommand.ts + + + +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; + +// src/commands/ModifyIdentityIdFormatCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyInstanceCapacityReservationAttributesCommand.ts + + + +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; + +// src/commands/ModifyInstanceCpuOptionsCommand.ts + + + +var _ModifyInstanceCpuOptionsCommand = class _ModifyInstanceCpuOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ModifyInstanceCpuOptions", {}).n("EC2Client", "ModifyInstanceCpuOptionsCommand").f(void 0, void 0).ser(se_ModifyInstanceCpuOptionsCommand).de(de_ModifyInstanceCpuOptionsCommand).build() { +}; +__name(_ModifyInstanceCpuOptionsCommand, "ModifyInstanceCpuOptionsCommand"); +var ModifyInstanceCpuOptionsCommand = _ModifyInstanceCpuOptionsCommand; + +// src/commands/ModifyInstanceCreditSpecificationCommand.ts + + + +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; + +// src/commands/ModifyInstanceEventStartTimeCommand.ts + + + +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 + + + +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/ModifyInstanceNetworkPerformanceOptionsCommand.ts + + + +var _ModifyInstanceNetworkPerformanceOptionsCommand = class _ModifyInstanceNetworkPerformanceOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ModifyInstanceNetworkPerformanceOptions", {}).n("EC2Client", "ModifyInstanceNetworkPerformanceOptionsCommand").f(void 0, void 0).ser(se_ModifyInstanceNetworkPerformanceOptionsCommand).de(de_ModifyInstanceNetworkPerformanceOptionsCommand).build() { +}; +__name(_ModifyInstanceNetworkPerformanceOptionsCommand, "ModifyInstanceNetworkPerformanceOptionsCommand"); +var ModifyInstanceNetworkPerformanceOptionsCommand = _ModifyInstanceNetworkPerformanceOptionsCommand; + +// src/commands/ModifyInstancePlacementCommand.ts + + + +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; + +// src/commands/ModifyIpamCommand.ts + + + +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; + +// src/commands/ModifyIpamPoolCommand.ts + + + +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; + +// src/commands/ModifyIpamResourceCidrCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyManagedPrefixListCommand.ts + + + +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; + +// src/commands/ModifyNetworkInterfaceAttributeCommand.ts + + + +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; + +// src/commands/ModifyPrivateDnsNameOptionsCommand.ts + + + +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 + + + +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; + +// src/commands/ModifySecurityGroupRulesCommand.ts + + + +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; + +// src/commands/ModifySnapshotAttributeCommand.ts + + + +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; + +// 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; + +// src/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.ts + + + +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; + +// src/commands/ModifyTrafficMirrorFilterRuleCommand.ts + + + +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; + +// src/commands/ModifyTrafficMirrorSessionCommand.ts + + + +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; + +// src/commands/ModifyTransitGatewayCommand.ts + + + +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; + +// src/commands/ModifyTransitGatewayPrefixListReferenceCommand.ts + + + +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; + +// src/commands/ModifyTransitGatewayVpcAttachmentCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyVerifiedAccessInstanceCommand.ts + + + +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; + +// src/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.ts + + + +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; + +// src/commands/ModifyVerifiedAccessTrustProviderCommand.ts + + + + +// src/models/models_7.ts + +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", + default: "default", + 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 VerificationMethod = { + dns_token: "dns-token", + remarks_x509: "remarks-x509" +}; +var ReportInstanceReasonCodes = { + instance_stuck_in_state: "instance-stuck-in-state", + not_accepting_credentials: "not-accepting-credentials", + other: "other", + password_not_available: "password-not-available", + performance_ebs_volume: "performance-ebs-volume", + performance_instance_store: "performance-instance-store", + performance_network: "performance-network", + performance_other: "performance-other", + unresponsive: "unresponsive" +}; +var ReportStatusType = { + impaired: "impaired", + ok: "ok" +}; +var ResetFpgaImageAttributeName = { + loadPermission: "loadPermission" +}; +var ResetImageAttributeName = { + launchPermission: "launchPermission" +}; +var MembershipType = { + igmp: "igmp", + static: "static" +}; +var ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING } +}), "ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog"); +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) + }, + ...obj.NativeApplicationOidcOptions && { + NativeApplicationOidcOptions: ModifyVerifiedAccessNativeApplicationOidcOptionsFilterSensitiveLog( + obj.NativeApplicationOidcOptions + ) + } +}), "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"); +var ReportInstanceStatusRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Description && { Description: import_smithy_client.SENSITIVE_STRING } +}), "ReportInstanceStatusRequestFilterSensitiveLog"); +var RequestSpotFleetRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SpotFleetRequestConfig && { + SpotFleetRequestConfig: SpotFleetRequestConfigDataFilterSensitiveLog(obj.SpotFleetRequestConfig) + } +}), "RequestSpotFleetRequestFilterSensitiveLog"); +var RequestSpotLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "RequestSpotLaunchSpecificationFilterSensitiveLog"); +var RequestSpotInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchSpecification && { + LaunchSpecification: RequestSpotLaunchSpecificationFilterSensitiveLog(obj.LaunchSpecification) + } +}), "RequestSpotInstancesRequestFilterSensitiveLog"); +var RequestSpotInstancesResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SpotInstanceRequests && { + SpotInstanceRequests: obj.SpotInstanceRequests.map((item) => SpotInstanceRequestFilterSensitiveLog(item)) + } +}), "RequestSpotInstancesResultFilterSensitiveLog"); +var RunInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.UserData && { UserData: import_smithy_client.SENSITIVE_STRING } +}), "RunInstancesRequestFilterSensitiveLog"); +var ScheduledInstancesLaunchSpecificationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj +}), "ScheduledInstancesLaunchSpecificationFilterSensitiveLog"); +var RunScheduledInstancesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.LaunchSpecification && { LaunchSpecification: import_smithy_client.SENSITIVE_STRING } +}), "RunScheduledInstancesRequestFilterSensitiveLog"); + +// src/commands/ModifyVerifiedAccessTrustProviderCommand.ts +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; + +// 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; + +// src/commands/ModifyVpcBlockPublicAccessExclusionCommand.ts + + + +var _ModifyVpcBlockPublicAccessExclusionCommand = class _ModifyVpcBlockPublicAccessExclusionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ModifyVpcBlockPublicAccessExclusion", {}).n("EC2Client", "ModifyVpcBlockPublicAccessExclusionCommand").f(void 0, void 0).ser(se_ModifyVpcBlockPublicAccessExclusionCommand).de(de_ModifyVpcBlockPublicAccessExclusionCommand).build() { +}; +__name(_ModifyVpcBlockPublicAccessExclusionCommand, "ModifyVpcBlockPublicAccessExclusionCommand"); +var ModifyVpcBlockPublicAccessExclusionCommand = _ModifyVpcBlockPublicAccessExclusionCommand; + +// src/commands/ModifyVpcBlockPublicAccessOptionsCommand.ts + + + +var _ModifyVpcBlockPublicAccessOptionsCommand = class _ModifyVpcBlockPublicAccessOptionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ModifyVpcBlockPublicAccessOptions", {}).n("EC2Client", "ModifyVpcBlockPublicAccessOptionsCommand").f(void 0, void 0).ser(se_ModifyVpcBlockPublicAccessOptionsCommand).de(de_ModifyVpcBlockPublicAccessOptionsCommand).build() { +}; +__name(_ModifyVpcBlockPublicAccessOptionsCommand, "ModifyVpcBlockPublicAccessOptionsCommand"); +var ModifyVpcBlockPublicAccessOptionsCommand = _ModifyVpcBlockPublicAccessOptionsCommand; + +// src/commands/ModifyVpcEndpointCommand.ts + + + +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; + +// src/commands/ModifyVpcEndpointConnectionNotificationCommand.ts + + + +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; + +// src/commands/ModifyVpcEndpointServiceConfigurationCommand.ts + + + +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; + +// src/commands/ModifyVpcEndpointServicePayerResponsibilityCommand.ts + + + +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 + + + +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; + +// src/commands/ModifyVpcTenancyCommand.ts + + + +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; + +// src/commands/ModifyVpnConnectionCommand.ts + + + +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; + +// src/commands/ModifyVpnConnectionOptionsCommand.ts + + + +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; + +// src/commands/ModifyVpnTunnelCertificateCommand.ts + + + +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; + +// src/commands/ModifyVpnTunnelOptionsCommand.ts + + + +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; + +// src/commands/MonitorInstancesCommand.ts + + + +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; + +// src/commands/MoveAddressToVpcCommand.ts + + + +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; + +// src/commands/MoveByoipCidrToIpamCommand.ts + + + +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; + +// src/commands/MoveCapacityReservationInstancesCommand.ts + + + +var _MoveCapacityReservationInstancesCommand = class _MoveCapacityReservationInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "MoveCapacityReservationInstances", {}).n("EC2Client", "MoveCapacityReservationInstancesCommand").f(void 0, void 0).ser(se_MoveCapacityReservationInstancesCommand).de(de_MoveCapacityReservationInstancesCommand).build() { +}; +__name(_MoveCapacityReservationInstancesCommand, "MoveCapacityReservationInstancesCommand"); +var MoveCapacityReservationInstancesCommand = _MoveCapacityReservationInstancesCommand; + +// src/commands/ProvisionByoipCidrCommand.ts + + + +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; + +// src/commands/ProvisionIpamByoasnCommand.ts + + + +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; + +// src/commands/ProvisionIpamPoolCidrCommand.ts + + + +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; + +// src/commands/ProvisionPublicIpv4PoolCidrCommand.ts + + + +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; + +// src/commands/PurchaseCapacityBlockCommand.ts + + + +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; + +// src/commands/PurchaseCapacityBlockExtensionCommand.ts + + + +var _PurchaseCapacityBlockExtensionCommand = class _PurchaseCapacityBlockExtensionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "PurchaseCapacityBlockExtension", {}).n("EC2Client", "PurchaseCapacityBlockExtensionCommand").f(void 0, void 0).ser(se_PurchaseCapacityBlockExtensionCommand).de(de_PurchaseCapacityBlockExtensionCommand).build() { +}; +__name(_PurchaseCapacityBlockExtensionCommand, "PurchaseCapacityBlockExtensionCommand"); +var PurchaseCapacityBlockExtensionCommand = _PurchaseCapacityBlockExtensionCommand; + +// src/commands/PurchaseHostReservationCommand.ts + + + +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; + +// src/commands/PurchaseReservedInstancesOfferingCommand.ts + + + +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; + +// src/commands/PurchaseScheduledInstancesCommand.ts + + + +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 + + + +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 + + + +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; + +// src/commands/RegisterTransitGatewayMulticastGroupSourcesCommand.ts + + + +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; + +// src/commands/RejectCapacityReservationBillingOwnershipCommand.ts + + + +var _RejectCapacityReservationBillingOwnershipCommand = class _RejectCapacityReservationBillingOwnershipCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RejectCapacityReservationBillingOwnership", {}).n("EC2Client", "RejectCapacityReservationBillingOwnershipCommand").f(void 0, void 0).ser(se_RejectCapacityReservationBillingOwnershipCommand).de(de_RejectCapacityReservationBillingOwnershipCommand).build() { +}; +__name(_RejectCapacityReservationBillingOwnershipCommand, "RejectCapacityReservationBillingOwnershipCommand"); +var RejectCapacityReservationBillingOwnershipCommand = _RejectCapacityReservationBillingOwnershipCommand; + +// src/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.ts + + + +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; + +// src/commands/RejectTransitGatewayPeeringAttachmentCommand.ts + + + +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; + +// src/commands/RejectTransitGatewayVpcAttachmentCommand.ts + + + +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; + +// src/commands/RejectVpcEndpointConnectionsCommand.ts + + + +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; + +// src/commands/RejectVpcPeeringConnectionCommand.ts + + + +var _RejectVpcPeeringConnectionCommand = class _RejectVpcPeeringConnectionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RejectVpcPeeringConnection", {}).n("EC2Client", "RejectVpcPeeringConnectionCommand").f(void 0, void 0).ser(se_RejectVpcPeeringConnectionCommand).de(de_RejectVpcPeeringConnectionCommand).build() { +}; +__name(_RejectVpcPeeringConnectionCommand, "RejectVpcPeeringConnectionCommand"); +var RejectVpcPeeringConnectionCommand = _RejectVpcPeeringConnectionCommand; + +// src/commands/ReleaseAddressCommand.ts + + + +var _ReleaseAddressCommand = class _ReleaseAddressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReleaseAddress", {}).n("EC2Client", "ReleaseAddressCommand").f(void 0, void 0).ser(se_ReleaseAddressCommand).de(de_ReleaseAddressCommand).build() { +}; +__name(_ReleaseAddressCommand, "ReleaseAddressCommand"); +var ReleaseAddressCommand = _ReleaseAddressCommand; + +// src/commands/ReleaseHostsCommand.ts + + + +var _ReleaseHostsCommand = class _ReleaseHostsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReleaseHosts", {}).n("EC2Client", "ReleaseHostsCommand").f(void 0, void 0).ser(se_ReleaseHostsCommand).de(de_ReleaseHostsCommand).build() { +}; +__name(_ReleaseHostsCommand, "ReleaseHostsCommand"); +var ReleaseHostsCommand = _ReleaseHostsCommand; + +// src/commands/ReleaseIpamPoolAllocationCommand.ts + + + +var _ReleaseIpamPoolAllocationCommand = class _ReleaseIpamPoolAllocationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReleaseIpamPoolAllocation", {}).n("EC2Client", "ReleaseIpamPoolAllocationCommand").f(void 0, void 0).ser(se_ReleaseIpamPoolAllocationCommand).de(de_ReleaseIpamPoolAllocationCommand).build() { +}; +__name(_ReleaseIpamPoolAllocationCommand, "ReleaseIpamPoolAllocationCommand"); +var ReleaseIpamPoolAllocationCommand = _ReleaseIpamPoolAllocationCommand; + +// src/commands/ReplaceIamInstanceProfileAssociationCommand.ts + + + +var _ReplaceIamInstanceProfileAssociationCommand = class _ReplaceIamInstanceProfileAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceIamInstanceProfileAssociation", {}).n("EC2Client", "ReplaceIamInstanceProfileAssociationCommand").f(void 0, void 0).ser(se_ReplaceIamInstanceProfileAssociationCommand).de(de_ReplaceIamInstanceProfileAssociationCommand).build() { +}; +__name(_ReplaceIamInstanceProfileAssociationCommand, "ReplaceIamInstanceProfileAssociationCommand"); +var ReplaceIamInstanceProfileAssociationCommand = _ReplaceIamInstanceProfileAssociationCommand; + +// src/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.ts + + + +var _ReplaceImageCriteriaInAllowedImagesSettingsCommand = class _ReplaceImageCriteriaInAllowedImagesSettingsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceImageCriteriaInAllowedImagesSettings", {}).n("EC2Client", "ReplaceImageCriteriaInAllowedImagesSettingsCommand").f(void 0, void 0).ser(se_ReplaceImageCriteriaInAllowedImagesSettingsCommand).de(de_ReplaceImageCriteriaInAllowedImagesSettingsCommand).build() { +}; +__name(_ReplaceImageCriteriaInAllowedImagesSettingsCommand, "ReplaceImageCriteriaInAllowedImagesSettingsCommand"); +var ReplaceImageCriteriaInAllowedImagesSettingsCommand = _ReplaceImageCriteriaInAllowedImagesSettingsCommand; + +// src/commands/ReplaceNetworkAclAssociationCommand.ts + + + +var _ReplaceNetworkAclAssociationCommand = class _ReplaceNetworkAclAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceNetworkAclAssociation", {}).n("EC2Client", "ReplaceNetworkAclAssociationCommand").f(void 0, void 0).ser(se_ReplaceNetworkAclAssociationCommand).de(de_ReplaceNetworkAclAssociationCommand).build() { +}; +__name(_ReplaceNetworkAclAssociationCommand, "ReplaceNetworkAclAssociationCommand"); +var ReplaceNetworkAclAssociationCommand = _ReplaceNetworkAclAssociationCommand; + +// src/commands/ReplaceNetworkAclEntryCommand.ts + + + +var _ReplaceNetworkAclEntryCommand = class _ReplaceNetworkAclEntryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceNetworkAclEntry", {}).n("EC2Client", "ReplaceNetworkAclEntryCommand").f(void 0, void 0).ser(se_ReplaceNetworkAclEntryCommand).de(de_ReplaceNetworkAclEntryCommand).build() { +}; +__name(_ReplaceNetworkAclEntryCommand, "ReplaceNetworkAclEntryCommand"); +var ReplaceNetworkAclEntryCommand = _ReplaceNetworkAclEntryCommand; + +// src/commands/ReplaceRouteCommand.ts + + + +var _ReplaceRouteCommand = class _ReplaceRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceRoute", {}).n("EC2Client", "ReplaceRouteCommand").f(void 0, void 0).ser(se_ReplaceRouteCommand).de(de_ReplaceRouteCommand).build() { +}; +__name(_ReplaceRouteCommand, "ReplaceRouteCommand"); +var ReplaceRouteCommand = _ReplaceRouteCommand; + +// src/commands/ReplaceRouteTableAssociationCommand.ts + + + +var _ReplaceRouteTableAssociationCommand = class _ReplaceRouteTableAssociationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceRouteTableAssociation", {}).n("EC2Client", "ReplaceRouteTableAssociationCommand").f(void 0, void 0).ser(se_ReplaceRouteTableAssociationCommand).de(de_ReplaceRouteTableAssociationCommand).build() { +}; +__name(_ReplaceRouteTableAssociationCommand, "ReplaceRouteTableAssociationCommand"); +var ReplaceRouteTableAssociationCommand = _ReplaceRouteTableAssociationCommand; + +// src/commands/ReplaceTransitGatewayRouteCommand.ts + + + +var _ReplaceTransitGatewayRouteCommand = class _ReplaceTransitGatewayRouteCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceTransitGatewayRoute", {}).n("EC2Client", "ReplaceTransitGatewayRouteCommand").f(void 0, void 0).ser(se_ReplaceTransitGatewayRouteCommand).de(de_ReplaceTransitGatewayRouteCommand).build() { +}; +__name(_ReplaceTransitGatewayRouteCommand, "ReplaceTransitGatewayRouteCommand"); +var ReplaceTransitGatewayRouteCommand = _ReplaceTransitGatewayRouteCommand; + +// src/commands/ReplaceVpnTunnelCommand.ts + + + +var _ReplaceVpnTunnelCommand = class _ReplaceVpnTunnelCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReplaceVpnTunnel", {}).n("EC2Client", "ReplaceVpnTunnelCommand").f(void 0, void 0).ser(se_ReplaceVpnTunnelCommand).de(de_ReplaceVpnTunnelCommand).build() { +}; +__name(_ReplaceVpnTunnelCommand, "ReplaceVpnTunnelCommand"); +var ReplaceVpnTunnelCommand = _ReplaceVpnTunnelCommand; + +// src/commands/ReportInstanceStatusCommand.ts + + + +var _ReportInstanceStatusCommand = class _ReportInstanceStatusCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ReportInstanceStatus", {}).n("EC2Client", "ReportInstanceStatusCommand").f(ReportInstanceStatusRequestFilterSensitiveLog, void 0).ser(se_ReportInstanceStatusCommand).de(de_ReportInstanceStatusCommand).build() { +}; +__name(_ReportInstanceStatusCommand, "ReportInstanceStatusCommand"); +var ReportInstanceStatusCommand = _ReportInstanceStatusCommand; + +// src/commands/RequestSpotFleetCommand.ts + + + +var _RequestSpotFleetCommand = class _RequestSpotFleetCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RequestSpotFleet", {}).n("EC2Client", "RequestSpotFleetCommand").f(RequestSpotFleetRequestFilterSensitiveLog, void 0).ser(se_RequestSpotFleetCommand).de(de_RequestSpotFleetCommand).build() { +}; +__name(_RequestSpotFleetCommand, "RequestSpotFleetCommand"); +var RequestSpotFleetCommand = _RequestSpotFleetCommand; + +// src/commands/RequestSpotInstancesCommand.ts + + + +var _RequestSpotInstancesCommand = class _RequestSpotInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RequestSpotInstances", {}).n("EC2Client", "RequestSpotInstancesCommand").f(RequestSpotInstancesRequestFilterSensitiveLog, RequestSpotInstancesResultFilterSensitiveLog).ser(se_RequestSpotInstancesCommand).de(de_RequestSpotInstancesCommand).build() { +}; +__name(_RequestSpotInstancesCommand, "RequestSpotInstancesCommand"); +var RequestSpotInstancesCommand = _RequestSpotInstancesCommand; + +// src/commands/ResetAddressAttributeCommand.ts + + + +var _ResetAddressAttributeCommand = class _ResetAddressAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetAddressAttribute", {}).n("EC2Client", "ResetAddressAttributeCommand").f(void 0, void 0).ser(se_ResetAddressAttributeCommand).de(de_ResetAddressAttributeCommand).build() { +}; +__name(_ResetAddressAttributeCommand, "ResetAddressAttributeCommand"); +var ResetAddressAttributeCommand = _ResetAddressAttributeCommand; + +// src/commands/ResetEbsDefaultKmsKeyIdCommand.ts + + + +var _ResetEbsDefaultKmsKeyIdCommand = class _ResetEbsDefaultKmsKeyIdCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetEbsDefaultKmsKeyId", {}).n("EC2Client", "ResetEbsDefaultKmsKeyIdCommand").f(void 0, void 0).ser(se_ResetEbsDefaultKmsKeyIdCommand).de(de_ResetEbsDefaultKmsKeyIdCommand).build() { +}; +__name(_ResetEbsDefaultKmsKeyIdCommand, "ResetEbsDefaultKmsKeyIdCommand"); +var ResetEbsDefaultKmsKeyIdCommand = _ResetEbsDefaultKmsKeyIdCommand; + +// src/commands/ResetFpgaImageAttributeCommand.ts + + + +var _ResetFpgaImageAttributeCommand = class _ResetFpgaImageAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetFpgaImageAttribute", {}).n("EC2Client", "ResetFpgaImageAttributeCommand").f(void 0, void 0).ser(se_ResetFpgaImageAttributeCommand).de(de_ResetFpgaImageAttributeCommand).build() { +}; +__name(_ResetFpgaImageAttributeCommand, "ResetFpgaImageAttributeCommand"); +var ResetFpgaImageAttributeCommand = _ResetFpgaImageAttributeCommand; + +// src/commands/ResetImageAttributeCommand.ts + + + +var _ResetImageAttributeCommand = class _ResetImageAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetImageAttribute", {}).n("EC2Client", "ResetImageAttributeCommand").f(void 0, void 0).ser(se_ResetImageAttributeCommand).de(de_ResetImageAttributeCommand).build() { +}; +__name(_ResetImageAttributeCommand, "ResetImageAttributeCommand"); +var ResetImageAttributeCommand = _ResetImageAttributeCommand; + +// src/commands/ResetInstanceAttributeCommand.ts + + + +var _ResetInstanceAttributeCommand = class _ResetInstanceAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetInstanceAttribute", {}).n("EC2Client", "ResetInstanceAttributeCommand").f(void 0, void 0).ser(se_ResetInstanceAttributeCommand).de(de_ResetInstanceAttributeCommand).build() { +}; +__name(_ResetInstanceAttributeCommand, "ResetInstanceAttributeCommand"); +var ResetInstanceAttributeCommand = _ResetInstanceAttributeCommand; + +// src/commands/ResetNetworkInterfaceAttributeCommand.ts + + + +var _ResetNetworkInterfaceAttributeCommand = class _ResetNetworkInterfaceAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetNetworkInterfaceAttribute", {}).n("EC2Client", "ResetNetworkInterfaceAttributeCommand").f(void 0, void 0).ser(se_ResetNetworkInterfaceAttributeCommand).de(de_ResetNetworkInterfaceAttributeCommand).build() { +}; +__name(_ResetNetworkInterfaceAttributeCommand, "ResetNetworkInterfaceAttributeCommand"); +var ResetNetworkInterfaceAttributeCommand = _ResetNetworkInterfaceAttributeCommand; + +// src/commands/ResetSnapshotAttributeCommand.ts + + + +var _ResetSnapshotAttributeCommand = class _ResetSnapshotAttributeCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "ResetSnapshotAttribute", {}).n("EC2Client", "ResetSnapshotAttributeCommand").f(void 0, void 0).ser(se_ResetSnapshotAttributeCommand).de(de_ResetSnapshotAttributeCommand).build() { +}; +__name(_ResetSnapshotAttributeCommand, "ResetSnapshotAttributeCommand"); +var ResetSnapshotAttributeCommand = _ResetSnapshotAttributeCommand; + +// src/commands/RestoreAddressToClassicCommand.ts + + + +var _RestoreAddressToClassicCommand = class _RestoreAddressToClassicCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RestoreAddressToClassic", {}).n("EC2Client", "RestoreAddressToClassicCommand").f(void 0, void 0).ser(se_RestoreAddressToClassicCommand).de(de_RestoreAddressToClassicCommand).build() { +}; +__name(_RestoreAddressToClassicCommand, "RestoreAddressToClassicCommand"); +var RestoreAddressToClassicCommand = _RestoreAddressToClassicCommand; + +// src/commands/RestoreImageFromRecycleBinCommand.ts + + + +var _RestoreImageFromRecycleBinCommand = class _RestoreImageFromRecycleBinCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RestoreImageFromRecycleBin", {}).n("EC2Client", "RestoreImageFromRecycleBinCommand").f(void 0, void 0).ser(se_RestoreImageFromRecycleBinCommand).de(de_RestoreImageFromRecycleBinCommand).build() { +}; +__name(_RestoreImageFromRecycleBinCommand, "RestoreImageFromRecycleBinCommand"); +var RestoreImageFromRecycleBinCommand = _RestoreImageFromRecycleBinCommand; + +// src/commands/RestoreManagedPrefixListVersionCommand.ts + + + +var _RestoreManagedPrefixListVersionCommand = class _RestoreManagedPrefixListVersionCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RestoreManagedPrefixListVersion", {}).n("EC2Client", "RestoreManagedPrefixListVersionCommand").f(void 0, void 0).ser(se_RestoreManagedPrefixListVersionCommand).de(de_RestoreManagedPrefixListVersionCommand).build() { +}; +__name(_RestoreManagedPrefixListVersionCommand, "RestoreManagedPrefixListVersionCommand"); +var RestoreManagedPrefixListVersionCommand = _RestoreManagedPrefixListVersionCommand; + +// src/commands/RestoreSnapshotFromRecycleBinCommand.ts + + + +var _RestoreSnapshotFromRecycleBinCommand = class _RestoreSnapshotFromRecycleBinCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RestoreSnapshotFromRecycleBin", {}).n("EC2Client", "RestoreSnapshotFromRecycleBinCommand").f(void 0, void 0).ser(se_RestoreSnapshotFromRecycleBinCommand).de(de_RestoreSnapshotFromRecycleBinCommand).build() { +}; +__name(_RestoreSnapshotFromRecycleBinCommand, "RestoreSnapshotFromRecycleBinCommand"); +var RestoreSnapshotFromRecycleBinCommand = _RestoreSnapshotFromRecycleBinCommand; + +// src/commands/RestoreSnapshotTierCommand.ts + + + +var _RestoreSnapshotTierCommand = class _RestoreSnapshotTierCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RestoreSnapshotTier", {}).n("EC2Client", "RestoreSnapshotTierCommand").f(void 0, void 0).ser(se_RestoreSnapshotTierCommand).de(de_RestoreSnapshotTierCommand).build() { +}; +__name(_RestoreSnapshotTierCommand, "RestoreSnapshotTierCommand"); +var RestoreSnapshotTierCommand = _RestoreSnapshotTierCommand; + +// src/commands/RevokeClientVpnIngressCommand.ts + + + +var _RevokeClientVpnIngressCommand = class _RevokeClientVpnIngressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RevokeClientVpnIngress", {}).n("EC2Client", "RevokeClientVpnIngressCommand").f(void 0, void 0).ser(se_RevokeClientVpnIngressCommand).de(de_RevokeClientVpnIngressCommand).build() { +}; +__name(_RevokeClientVpnIngressCommand, "RevokeClientVpnIngressCommand"); +var RevokeClientVpnIngressCommand = _RevokeClientVpnIngressCommand; + +// src/commands/RevokeSecurityGroupEgressCommand.ts + + + +var _RevokeSecurityGroupEgressCommand = class _RevokeSecurityGroupEgressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RevokeSecurityGroupEgress", {}).n("EC2Client", "RevokeSecurityGroupEgressCommand").f(void 0, void 0).ser(se_RevokeSecurityGroupEgressCommand).de(de_RevokeSecurityGroupEgressCommand).build() { +}; +__name(_RevokeSecurityGroupEgressCommand, "RevokeSecurityGroupEgressCommand"); +var RevokeSecurityGroupEgressCommand = _RevokeSecurityGroupEgressCommand; + +// src/commands/RevokeSecurityGroupIngressCommand.ts + + + +var _RevokeSecurityGroupIngressCommand = class _RevokeSecurityGroupIngressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RevokeSecurityGroupIngress", {}).n("EC2Client", "RevokeSecurityGroupIngressCommand").f(void 0, void 0).ser(se_RevokeSecurityGroupIngressCommand).de(de_RevokeSecurityGroupIngressCommand).build() { +}; +__name(_RevokeSecurityGroupIngressCommand, "RevokeSecurityGroupIngressCommand"); +var RevokeSecurityGroupIngressCommand = _RevokeSecurityGroupIngressCommand; + +// src/commands/RunInstancesCommand.ts + + + +var _RunInstancesCommand = class _RunInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RunInstances", {}).n("EC2Client", "RunInstancesCommand").f(RunInstancesRequestFilterSensitiveLog, void 0).ser(se_RunInstancesCommand).de(de_RunInstancesCommand).build() { +}; +__name(_RunInstancesCommand, "RunInstancesCommand"); +var RunInstancesCommand = _RunInstancesCommand; + +// src/commands/RunScheduledInstancesCommand.ts + + + +var _RunScheduledInstancesCommand = class _RunScheduledInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "RunScheduledInstances", {}).n("EC2Client", "RunScheduledInstancesCommand").f(RunScheduledInstancesRequestFilterSensitiveLog, void 0).ser(se_RunScheduledInstancesCommand).de(de_RunScheduledInstancesCommand).build() { +}; +__name(_RunScheduledInstancesCommand, "RunScheduledInstancesCommand"); +var RunScheduledInstancesCommand = _RunScheduledInstancesCommand; + +// src/commands/SearchLocalGatewayRoutesCommand.ts + + + +var _SearchLocalGatewayRoutesCommand = class _SearchLocalGatewayRoutesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "SearchLocalGatewayRoutes", {}).n("EC2Client", "SearchLocalGatewayRoutesCommand").f(void 0, void 0).ser(se_SearchLocalGatewayRoutesCommand).de(de_SearchLocalGatewayRoutesCommand).build() { +}; +__name(_SearchLocalGatewayRoutesCommand, "SearchLocalGatewayRoutesCommand"); +var SearchLocalGatewayRoutesCommand = _SearchLocalGatewayRoutesCommand; + +// src/commands/SearchTransitGatewayMulticastGroupsCommand.ts + + + +var _SearchTransitGatewayMulticastGroupsCommand = class _SearchTransitGatewayMulticastGroupsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "SearchTransitGatewayMulticastGroups", {}).n("EC2Client", "SearchTransitGatewayMulticastGroupsCommand").f(void 0, void 0).ser(se_SearchTransitGatewayMulticastGroupsCommand).de(de_SearchTransitGatewayMulticastGroupsCommand).build() { +}; +__name(_SearchTransitGatewayMulticastGroupsCommand, "SearchTransitGatewayMulticastGroupsCommand"); +var SearchTransitGatewayMulticastGroupsCommand = _SearchTransitGatewayMulticastGroupsCommand; + +// src/commands/SearchTransitGatewayRoutesCommand.ts + + + +var _SearchTransitGatewayRoutesCommand = class _SearchTransitGatewayRoutesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "SearchTransitGatewayRoutes", {}).n("EC2Client", "SearchTransitGatewayRoutesCommand").f(void 0, void 0).ser(se_SearchTransitGatewayRoutesCommand).de(de_SearchTransitGatewayRoutesCommand).build() { +}; +__name(_SearchTransitGatewayRoutesCommand, "SearchTransitGatewayRoutesCommand"); +var SearchTransitGatewayRoutesCommand = _SearchTransitGatewayRoutesCommand; + +// src/commands/SendDiagnosticInterruptCommand.ts + + + +var _SendDiagnosticInterruptCommand = class _SendDiagnosticInterruptCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "SendDiagnosticInterrupt", {}).n("EC2Client", "SendDiagnosticInterruptCommand").f(void 0, void 0).ser(se_SendDiagnosticInterruptCommand).de(de_SendDiagnosticInterruptCommand).build() { +}; +__name(_SendDiagnosticInterruptCommand, "SendDiagnosticInterruptCommand"); +var SendDiagnosticInterruptCommand = _SendDiagnosticInterruptCommand; + +// src/commands/StartDeclarativePoliciesReportCommand.ts + + + +var _StartDeclarativePoliciesReportCommand = class _StartDeclarativePoliciesReportCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StartDeclarativePoliciesReport", {}).n("EC2Client", "StartDeclarativePoliciesReportCommand").f(void 0, void 0).ser(se_StartDeclarativePoliciesReportCommand).de(de_StartDeclarativePoliciesReportCommand).build() { +}; +__name(_StartDeclarativePoliciesReportCommand, "StartDeclarativePoliciesReportCommand"); +var StartDeclarativePoliciesReportCommand = _StartDeclarativePoliciesReportCommand; + +// src/commands/StartInstancesCommand.ts + + + +var _StartInstancesCommand = class _StartInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StartInstances", {}).n("EC2Client", "StartInstancesCommand").f(void 0, void 0).ser(se_StartInstancesCommand).de(de_StartInstancesCommand).build() { +}; +__name(_StartInstancesCommand, "StartInstancesCommand"); +var StartInstancesCommand = _StartInstancesCommand; + +// src/commands/StartNetworkInsightsAccessScopeAnalysisCommand.ts + + + +var _StartNetworkInsightsAccessScopeAnalysisCommand = class _StartNetworkInsightsAccessScopeAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StartNetworkInsightsAccessScopeAnalysis", {}).n("EC2Client", "StartNetworkInsightsAccessScopeAnalysisCommand").f(void 0, void 0).ser(se_StartNetworkInsightsAccessScopeAnalysisCommand).de(de_StartNetworkInsightsAccessScopeAnalysisCommand).build() { +}; +__name(_StartNetworkInsightsAccessScopeAnalysisCommand, "StartNetworkInsightsAccessScopeAnalysisCommand"); +var StartNetworkInsightsAccessScopeAnalysisCommand = _StartNetworkInsightsAccessScopeAnalysisCommand; + +// src/commands/StartNetworkInsightsAnalysisCommand.ts + + + +var _StartNetworkInsightsAnalysisCommand = class _StartNetworkInsightsAnalysisCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StartNetworkInsightsAnalysis", {}).n("EC2Client", "StartNetworkInsightsAnalysisCommand").f(void 0, void 0).ser(se_StartNetworkInsightsAnalysisCommand).de(de_StartNetworkInsightsAnalysisCommand).build() { +}; +__name(_StartNetworkInsightsAnalysisCommand, "StartNetworkInsightsAnalysisCommand"); +var StartNetworkInsightsAnalysisCommand = _StartNetworkInsightsAnalysisCommand; + +// src/commands/StartVpcEndpointServicePrivateDnsVerificationCommand.ts + + + +var _StartVpcEndpointServicePrivateDnsVerificationCommand = class _StartVpcEndpointServicePrivateDnsVerificationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StartVpcEndpointServicePrivateDnsVerification", {}).n("EC2Client", "StartVpcEndpointServicePrivateDnsVerificationCommand").f(void 0, void 0).ser(se_StartVpcEndpointServicePrivateDnsVerificationCommand).de(de_StartVpcEndpointServicePrivateDnsVerificationCommand).build() { +}; +__name(_StartVpcEndpointServicePrivateDnsVerificationCommand, "StartVpcEndpointServicePrivateDnsVerificationCommand"); +var StartVpcEndpointServicePrivateDnsVerificationCommand = _StartVpcEndpointServicePrivateDnsVerificationCommand; + +// src/commands/StopInstancesCommand.ts + + + +var _StopInstancesCommand = class _StopInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "StopInstances", {}).n("EC2Client", "StopInstancesCommand").f(void 0, void 0).ser(se_StopInstancesCommand).de(de_StopInstancesCommand).build() { +}; +__name(_StopInstancesCommand, "StopInstancesCommand"); +var StopInstancesCommand = _StopInstancesCommand; + +// src/commands/TerminateClientVpnConnectionsCommand.ts + + + +var _TerminateClientVpnConnectionsCommand = class _TerminateClientVpnConnectionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "TerminateClientVpnConnections", {}).n("EC2Client", "TerminateClientVpnConnectionsCommand").f(void 0, void 0).ser(se_TerminateClientVpnConnectionsCommand).de(de_TerminateClientVpnConnectionsCommand).build() { +}; +__name(_TerminateClientVpnConnectionsCommand, "TerminateClientVpnConnectionsCommand"); +var TerminateClientVpnConnectionsCommand = _TerminateClientVpnConnectionsCommand; + +// src/commands/TerminateInstancesCommand.ts + + + +var _TerminateInstancesCommand = class _TerminateInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "TerminateInstances", {}).n("EC2Client", "TerminateInstancesCommand").f(void 0, void 0).ser(se_TerminateInstancesCommand).de(de_TerminateInstancesCommand).build() { +}; +__name(_TerminateInstancesCommand, "TerminateInstancesCommand"); +var TerminateInstancesCommand = _TerminateInstancesCommand; + +// src/commands/UnassignIpv6AddressesCommand.ts + + + +var _UnassignIpv6AddressesCommand = class _UnassignIpv6AddressesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UnassignIpv6Addresses", {}).n("EC2Client", "UnassignIpv6AddressesCommand").f(void 0, void 0).ser(se_UnassignIpv6AddressesCommand).de(de_UnassignIpv6AddressesCommand).build() { +}; +__name(_UnassignIpv6AddressesCommand, "UnassignIpv6AddressesCommand"); +var UnassignIpv6AddressesCommand = _UnassignIpv6AddressesCommand; + +// src/commands/UnassignPrivateIpAddressesCommand.ts + + + +var _UnassignPrivateIpAddressesCommand = class _UnassignPrivateIpAddressesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UnassignPrivateIpAddresses", {}).n("EC2Client", "UnassignPrivateIpAddressesCommand").f(void 0, void 0).ser(se_UnassignPrivateIpAddressesCommand).de(de_UnassignPrivateIpAddressesCommand).build() { +}; +__name(_UnassignPrivateIpAddressesCommand, "UnassignPrivateIpAddressesCommand"); +var UnassignPrivateIpAddressesCommand = _UnassignPrivateIpAddressesCommand; + +// src/commands/UnassignPrivateNatGatewayAddressCommand.ts + + + +var _UnassignPrivateNatGatewayAddressCommand = class _UnassignPrivateNatGatewayAddressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UnassignPrivateNatGatewayAddress", {}).n("EC2Client", "UnassignPrivateNatGatewayAddressCommand").f(void 0, void 0).ser(se_UnassignPrivateNatGatewayAddressCommand).de(de_UnassignPrivateNatGatewayAddressCommand).build() { +}; +__name(_UnassignPrivateNatGatewayAddressCommand, "UnassignPrivateNatGatewayAddressCommand"); +var UnassignPrivateNatGatewayAddressCommand = _UnassignPrivateNatGatewayAddressCommand; + +// src/commands/UnlockSnapshotCommand.ts + + + +var _UnlockSnapshotCommand = class _UnlockSnapshotCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UnlockSnapshot", {}).n("EC2Client", "UnlockSnapshotCommand").f(void 0, void 0).ser(se_UnlockSnapshotCommand).de(de_UnlockSnapshotCommand).build() { +}; +__name(_UnlockSnapshotCommand, "UnlockSnapshotCommand"); +var UnlockSnapshotCommand = _UnlockSnapshotCommand; + +// src/commands/UnmonitorInstancesCommand.ts + + + +var _UnmonitorInstancesCommand = class _UnmonitorInstancesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UnmonitorInstances", {}).n("EC2Client", "UnmonitorInstancesCommand").f(void 0, void 0).ser(se_UnmonitorInstancesCommand).de(de_UnmonitorInstancesCommand).build() { +}; +__name(_UnmonitorInstancesCommand, "UnmonitorInstancesCommand"); +var UnmonitorInstancesCommand = _UnmonitorInstancesCommand; + +// src/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.ts + + + +var _UpdateSecurityGroupRuleDescriptionsEgressCommand = class _UpdateSecurityGroupRuleDescriptionsEgressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UpdateSecurityGroupRuleDescriptionsEgress", {}).n("EC2Client", "UpdateSecurityGroupRuleDescriptionsEgressCommand").f(void 0, void 0).ser(se_UpdateSecurityGroupRuleDescriptionsEgressCommand).de(de_UpdateSecurityGroupRuleDescriptionsEgressCommand).build() { +}; +__name(_UpdateSecurityGroupRuleDescriptionsEgressCommand, "UpdateSecurityGroupRuleDescriptionsEgressCommand"); +var UpdateSecurityGroupRuleDescriptionsEgressCommand = _UpdateSecurityGroupRuleDescriptionsEgressCommand; + +// src/commands/UpdateSecurityGroupRuleDescriptionsIngressCommand.ts + + + +var _UpdateSecurityGroupRuleDescriptionsIngressCommand = class _UpdateSecurityGroupRuleDescriptionsIngressCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "UpdateSecurityGroupRuleDescriptionsIngress", {}).n("EC2Client", "UpdateSecurityGroupRuleDescriptionsIngressCommand").f(void 0, void 0).ser(se_UpdateSecurityGroupRuleDescriptionsIngressCommand).de(de_UpdateSecurityGroupRuleDescriptionsIngressCommand).build() { +}; +__name(_UpdateSecurityGroupRuleDescriptionsIngressCommand, "UpdateSecurityGroupRuleDescriptionsIngressCommand"); +var UpdateSecurityGroupRuleDescriptionsIngressCommand = _UpdateSecurityGroupRuleDescriptionsIngressCommand; + +// src/commands/WithdrawByoipCidrCommand.ts + + + +var _WithdrawByoipCidrCommand = class _WithdrawByoipCidrCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AmazonEC2", "WithdrawByoipCidr", {}).n("EC2Client", "WithdrawByoipCidrCommand").f(void 0, void 0).ser(se_WithdrawByoipCidrCommand).de(de_WithdrawByoipCidrCommand).build() { +}; +__name(_WithdrawByoipCidrCommand, "WithdrawByoipCidrCommand"); +var WithdrawByoipCidrCommand = _WithdrawByoipCidrCommand; + +// src/EC2.ts +var commands = { + AcceptAddressTransferCommand, + AcceptCapacityReservationBillingOwnershipCommand, + AcceptReservedInstancesExchangeQuoteCommand, + AcceptTransitGatewayMulticastDomainAssociationsCommand, + AcceptTransitGatewayPeeringAttachmentCommand, + AcceptTransitGatewayVpcAttachmentCommand, + AcceptVpcEndpointConnectionsCommand, + AcceptVpcPeeringConnectionCommand, + AdvertiseByoipCidrCommand, + AllocateAddressCommand, + AllocateHostsCommand, + AllocateIpamPoolCidrCommand, + ApplySecurityGroupsToClientVpnTargetNetworkCommand, + AssignIpv6AddressesCommand, + AssignPrivateIpAddressesCommand, + AssignPrivateNatGatewayAddressCommand, + AssociateAddressCommand, + AssociateCapacityReservationBillingOwnerCommand, + AssociateClientVpnTargetNetworkCommand, + AssociateDhcpOptionsCommand, + AssociateEnclaveCertificateIamRoleCommand, + AssociateIamInstanceProfileCommand, + AssociateInstanceEventWindowCommand, + AssociateIpamByoasnCommand, + AssociateIpamResourceDiscoveryCommand, + AssociateNatGatewayAddressCommand, + AssociateRouteTableCommand, + AssociateSecurityGroupVpcCommand, + AssociateSubnetCidrBlockCommand, + AssociateTransitGatewayMulticastDomainCommand, + AssociateTransitGatewayPolicyTableCommand, + AssociateTransitGatewayRouteTableCommand, + AssociateTrunkInterfaceCommand, + AssociateVpcCidrBlockCommand, + AttachClassicLinkVpcCommand, + AttachInternetGatewayCommand, + AttachNetworkInterfaceCommand, + AttachVerifiedAccessTrustProviderCommand, + AttachVolumeCommand, + AttachVpnGatewayCommand, + AuthorizeClientVpnIngressCommand, + AuthorizeSecurityGroupEgressCommand, + AuthorizeSecurityGroupIngressCommand, + BundleInstanceCommand, + CancelBundleTaskCommand, + CancelCapacityReservationCommand, + CancelCapacityReservationFleetsCommand, + CancelConversionTaskCommand, + CancelDeclarativePoliciesReportCommand, + CancelExportTaskCommand, + CancelImageLaunchPermissionCommand, + CancelImportTaskCommand, + CancelReservedInstancesListingCommand, + CancelSpotFleetRequestsCommand, + CancelSpotInstanceRequestsCommand, + ConfirmProductInstanceCommand, + CopyFpgaImageCommand, + CopyImageCommand, + CopySnapshotCommand, + CreateCapacityReservationCommand, + CreateCapacityReservationBySplittingCommand, + CreateCapacityReservationFleetCommand, + CreateCarrierGatewayCommand, + CreateClientVpnEndpointCommand, + CreateClientVpnRouteCommand, + CreateCoipCidrCommand, + CreateCoipPoolCommand, + CreateCustomerGatewayCommand, + CreateDefaultSubnetCommand, + CreateDefaultVpcCommand, + CreateDhcpOptionsCommand, + CreateEgressOnlyInternetGatewayCommand, + CreateFleetCommand, + CreateFlowLogsCommand, + CreateFpgaImageCommand, + CreateImageCommand, + CreateInstanceConnectEndpointCommand, + CreateInstanceEventWindowCommand, + CreateInstanceExportTaskCommand, + CreateInternetGatewayCommand, + CreateIpamCommand, + CreateIpamExternalResourceVerificationTokenCommand, + CreateIpamPoolCommand, + CreateIpamResourceDiscoveryCommand, + CreateIpamScopeCommand, + CreateKeyPairCommand, + CreateLaunchTemplateCommand, + CreateLaunchTemplateVersionCommand, + CreateLocalGatewayRouteCommand, + CreateLocalGatewayRouteTableCommand, + CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + CreateLocalGatewayRouteTableVpcAssociationCommand, + CreateManagedPrefixListCommand, + CreateNatGatewayCommand, + CreateNetworkAclCommand, + CreateNetworkAclEntryCommand, + CreateNetworkInsightsAccessScopeCommand, + CreateNetworkInsightsPathCommand, + CreateNetworkInterfaceCommand, + CreateNetworkInterfacePermissionCommand, + CreatePlacementGroupCommand, + CreatePublicIpv4PoolCommand, + CreateReplaceRootVolumeTaskCommand, + CreateReservedInstancesListingCommand, + CreateRestoreImageTaskCommand, + CreateRouteCommand, + CreateRouteTableCommand, + CreateSecurityGroupCommand, + CreateSnapshotCommand, + CreateSnapshotsCommand, + CreateSpotDatafeedSubscriptionCommand, + CreateStoreImageTaskCommand, + CreateSubnetCommand, + CreateSubnetCidrReservationCommand, + CreateTagsCommand, + CreateTrafficMirrorFilterCommand, + CreateTrafficMirrorFilterRuleCommand, + CreateTrafficMirrorSessionCommand, + CreateTrafficMirrorTargetCommand, + CreateTransitGatewayCommand, + CreateTransitGatewayConnectCommand, + CreateTransitGatewayConnectPeerCommand, + CreateTransitGatewayMulticastDomainCommand, + CreateTransitGatewayPeeringAttachmentCommand, + CreateTransitGatewayPolicyTableCommand, + CreateTransitGatewayPrefixListReferenceCommand, + CreateTransitGatewayRouteCommand, + CreateTransitGatewayRouteTableCommand, + CreateTransitGatewayRouteTableAnnouncementCommand, + CreateTransitGatewayVpcAttachmentCommand, + CreateVerifiedAccessEndpointCommand, + CreateVerifiedAccessGroupCommand, + CreateVerifiedAccessInstanceCommand, + CreateVerifiedAccessTrustProviderCommand, + CreateVolumeCommand, + CreateVpcCommand, + CreateVpcBlockPublicAccessExclusionCommand, + CreateVpcEndpointCommand, + CreateVpcEndpointConnectionNotificationCommand, + CreateVpcEndpointServiceConfigurationCommand, + CreateVpcPeeringConnectionCommand, + CreateVpnConnectionCommand, + CreateVpnConnectionRouteCommand, + CreateVpnGatewayCommand, + DeleteCarrierGatewayCommand, + DeleteClientVpnEndpointCommand, + DeleteClientVpnRouteCommand, + DeleteCoipCidrCommand, + DeleteCoipPoolCommand, + DeleteCustomerGatewayCommand, + DeleteDhcpOptionsCommand, + DeleteEgressOnlyInternetGatewayCommand, + DeleteFleetsCommand, + DeleteFlowLogsCommand, + DeleteFpgaImageCommand, + DeleteInstanceConnectEndpointCommand, + DeleteInstanceEventWindowCommand, + DeleteInternetGatewayCommand, + DeleteIpamCommand, + DeleteIpamExternalResourceVerificationTokenCommand, + DeleteIpamPoolCommand, + DeleteIpamResourceDiscoveryCommand, + DeleteIpamScopeCommand, + DeleteKeyPairCommand, + DeleteLaunchTemplateCommand, + DeleteLaunchTemplateVersionsCommand, + DeleteLocalGatewayRouteCommand, + DeleteLocalGatewayRouteTableCommand, + DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand, + DeleteLocalGatewayRouteTableVpcAssociationCommand, + DeleteManagedPrefixListCommand, + DeleteNatGatewayCommand, + DeleteNetworkAclCommand, + DeleteNetworkAclEntryCommand, + DeleteNetworkInsightsAccessScopeCommand, + DeleteNetworkInsightsAccessScopeAnalysisCommand, + DeleteNetworkInsightsAnalysisCommand, + DeleteNetworkInsightsPathCommand, + DeleteNetworkInterfaceCommand, + DeleteNetworkInterfacePermissionCommand, + DeletePlacementGroupCommand, + DeletePublicIpv4PoolCommand, + DeleteQueuedReservedInstancesCommand, + DeleteRouteCommand, + DeleteRouteTableCommand, + DeleteSecurityGroupCommand, + DeleteSnapshotCommand, + DeleteSpotDatafeedSubscriptionCommand, + DeleteSubnetCommand, + DeleteSubnetCidrReservationCommand, + DeleteTagsCommand, + DeleteTrafficMirrorFilterCommand, + DeleteTrafficMirrorFilterRuleCommand, + DeleteTrafficMirrorSessionCommand, + DeleteTrafficMirrorTargetCommand, + DeleteTransitGatewayCommand, + DeleteTransitGatewayConnectCommand, + DeleteTransitGatewayConnectPeerCommand, + DeleteTransitGatewayMulticastDomainCommand, + DeleteTransitGatewayPeeringAttachmentCommand, + DeleteTransitGatewayPolicyTableCommand, + DeleteTransitGatewayPrefixListReferenceCommand, + DeleteTransitGatewayRouteCommand, + DeleteTransitGatewayRouteTableCommand, + DeleteTransitGatewayRouteTableAnnouncementCommand, + DeleteTransitGatewayVpcAttachmentCommand, + DeleteVerifiedAccessEndpointCommand, + DeleteVerifiedAccessGroupCommand, + DeleteVerifiedAccessInstanceCommand, + DeleteVerifiedAccessTrustProviderCommand, + DeleteVolumeCommand, + DeleteVpcCommand, + DeleteVpcBlockPublicAccessExclusionCommand, + DeleteVpcEndpointConnectionNotificationsCommand, + DeleteVpcEndpointsCommand, + DeleteVpcEndpointServiceConfigurationsCommand, + DeleteVpcPeeringConnectionCommand, + DeleteVpnConnectionCommand, + DeleteVpnConnectionRouteCommand, + DeleteVpnGatewayCommand, + DeprovisionByoipCidrCommand, + DeprovisionIpamByoasnCommand, + DeprovisionIpamPoolCidrCommand, + DeprovisionPublicIpv4PoolCidrCommand, + DeregisterImageCommand, + DeregisterInstanceEventNotificationAttributesCommand, + DeregisterTransitGatewayMulticastGroupMembersCommand, + DeregisterTransitGatewayMulticastGroupSourcesCommand, + DescribeAccountAttributesCommand, + DescribeAddressesCommand, + DescribeAddressesAttributeCommand, + DescribeAddressTransfersCommand, + DescribeAggregateIdFormatCommand, + DescribeAvailabilityZonesCommand, + DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, + DescribeBundleTasksCommand, + DescribeByoipCidrsCommand, + DescribeCapacityBlockExtensionHistoryCommand, + DescribeCapacityBlockExtensionOfferingsCommand, + DescribeCapacityBlockOfferingsCommand, + DescribeCapacityReservationBillingRequestsCommand, + DescribeCapacityReservationFleetsCommand, + DescribeCapacityReservationsCommand, + DescribeCarrierGatewaysCommand, + DescribeClassicLinkInstancesCommand, + DescribeClientVpnAuthorizationRulesCommand, + DescribeClientVpnConnectionsCommand, + DescribeClientVpnEndpointsCommand, + DescribeClientVpnRoutesCommand, + DescribeClientVpnTargetNetworksCommand, + DescribeCoipPoolsCommand, + DescribeConversionTasksCommand, + DescribeCustomerGatewaysCommand, + DescribeDeclarativePoliciesReportsCommand, + DescribeDhcpOptionsCommand, + DescribeEgressOnlyInternetGatewaysCommand, + DescribeElasticGpusCommand, + DescribeExportImageTasksCommand, + DescribeExportTasksCommand, + DescribeFastLaunchImagesCommand, + DescribeFastSnapshotRestoresCommand, + DescribeFleetHistoryCommand, + DescribeFleetInstancesCommand, + DescribeFleetsCommand, + DescribeFlowLogsCommand, + DescribeFpgaImageAttributeCommand, + DescribeFpgaImagesCommand, + DescribeHostReservationOfferingsCommand, + DescribeHostReservationsCommand, + DescribeHostsCommand, + DescribeIamInstanceProfileAssociationsCommand, + DescribeIdentityIdFormatCommand, + DescribeIdFormatCommand, + DescribeImageAttributeCommand, + DescribeImagesCommand, + DescribeImportImageTasksCommand, + DescribeImportSnapshotTasksCommand, + DescribeInstanceAttributeCommand, + DescribeInstanceConnectEndpointsCommand, + DescribeInstanceCreditSpecificationsCommand, + DescribeInstanceEventNotificationAttributesCommand, + DescribeInstanceEventWindowsCommand, + DescribeInstanceImageMetadataCommand, + DescribeInstancesCommand, + DescribeInstanceStatusCommand, + DescribeInstanceTopologyCommand, + DescribeInstanceTypeOfferingsCommand, + DescribeInstanceTypesCommand, + DescribeInternetGatewaysCommand, + DescribeIpamByoasnCommand, + DescribeIpamExternalResourceVerificationTokensCommand, + DescribeIpamPoolsCommand, + DescribeIpamResourceDiscoveriesCommand, + DescribeIpamResourceDiscoveryAssociationsCommand, + DescribeIpamsCommand, + DescribeIpamScopesCommand, + DescribeIpv6PoolsCommand, + DescribeKeyPairsCommand, + DescribeLaunchTemplatesCommand, + DescribeLaunchTemplateVersionsCommand, + DescribeLocalGatewayRouteTablesCommand, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, + DescribeLocalGatewayRouteTableVpcAssociationsCommand, + DescribeLocalGatewaysCommand, + DescribeLocalGatewayVirtualInterfaceGroupsCommand, + DescribeLocalGatewayVirtualInterfacesCommand, + DescribeLockedSnapshotsCommand, + DescribeMacHostsCommand, + DescribeManagedPrefixListsCommand, + DescribeMovingAddressesCommand, + DescribeNatGatewaysCommand, + DescribeNetworkAclsCommand, + DescribeNetworkInsightsAccessScopeAnalysesCommand, + DescribeNetworkInsightsAccessScopesCommand, + DescribeNetworkInsightsAnalysesCommand, + DescribeNetworkInsightsPathsCommand, + DescribeNetworkInterfaceAttributeCommand, + DescribeNetworkInterfacePermissionsCommand, + DescribeNetworkInterfacesCommand, + DescribePlacementGroupsCommand, + DescribePrefixListsCommand, + DescribePrincipalIdFormatCommand, + DescribePublicIpv4PoolsCommand, + DescribeRegionsCommand, + DescribeReplaceRootVolumeTasksCommand, + DescribeReservedInstancesCommand, + DescribeReservedInstancesListingsCommand, + DescribeReservedInstancesModificationsCommand, + DescribeReservedInstancesOfferingsCommand, + DescribeRouteTablesCommand, + DescribeScheduledInstanceAvailabilityCommand, + DescribeScheduledInstancesCommand, + DescribeSecurityGroupReferencesCommand, + DescribeSecurityGroupRulesCommand, + DescribeSecurityGroupsCommand, + DescribeSecurityGroupVpcAssociationsCommand, + DescribeSnapshotAttributeCommand, + DescribeSnapshotsCommand, + DescribeSnapshotTierStatusCommand, + DescribeSpotDatafeedSubscriptionCommand, + DescribeSpotFleetInstancesCommand, + DescribeSpotFleetRequestHistoryCommand, + DescribeSpotFleetRequestsCommand, + DescribeSpotInstanceRequestsCommand, + DescribeSpotPriceHistoryCommand, + DescribeStaleSecurityGroupsCommand, + DescribeStoreImageTasksCommand, + DescribeSubnetsCommand, + DescribeTagsCommand, + DescribeTrafficMirrorFilterRulesCommand, + DescribeTrafficMirrorFiltersCommand, + DescribeTrafficMirrorSessionsCommand, + DescribeTrafficMirrorTargetsCommand, + DescribeTransitGatewayAttachmentsCommand, + DescribeTransitGatewayConnectPeersCommand, + DescribeTransitGatewayConnectsCommand, + DescribeTransitGatewayMulticastDomainsCommand, + DescribeTransitGatewayPeeringAttachmentsCommand, + DescribeTransitGatewayPolicyTablesCommand, + DescribeTransitGatewayRouteTableAnnouncementsCommand, + DescribeTransitGatewayRouteTablesCommand, + DescribeTransitGatewaysCommand, + DescribeTransitGatewayVpcAttachmentsCommand, + DescribeTrunkInterfaceAssociationsCommand, + DescribeVerifiedAccessEndpointsCommand, + DescribeVerifiedAccessGroupsCommand, + DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, + DescribeVerifiedAccessInstancesCommand, + DescribeVerifiedAccessTrustProvidersCommand, + DescribeVolumeAttributeCommand, + DescribeVolumesCommand, + DescribeVolumesModificationsCommand, + DescribeVolumeStatusCommand, + DescribeVpcAttributeCommand, + DescribeVpcBlockPublicAccessExclusionsCommand, + DescribeVpcBlockPublicAccessOptionsCommand, + DescribeVpcClassicLinkCommand, + DescribeVpcClassicLinkDnsSupportCommand, + DescribeVpcEndpointAssociationsCommand, + DescribeVpcEndpointConnectionNotificationsCommand, + DescribeVpcEndpointConnectionsCommand, + DescribeVpcEndpointsCommand, + DescribeVpcEndpointServiceConfigurationsCommand, + DescribeVpcEndpointServicePermissionsCommand, + DescribeVpcEndpointServicesCommand, + DescribeVpcPeeringConnectionsCommand, + DescribeVpcsCommand, + DescribeVpnConnectionsCommand, + DescribeVpnGatewaysCommand, + DetachClassicLinkVpcCommand, + DetachInternetGatewayCommand, + DetachNetworkInterfaceCommand, + DetachVerifiedAccessTrustProviderCommand, + DetachVolumeCommand, + DetachVpnGatewayCommand, + DisableAddressTransferCommand, + DisableAllowedImagesSettingsCommand, + DisableAwsNetworkPerformanceMetricSubscriptionCommand, + DisableEbsEncryptionByDefaultCommand, + DisableFastLaunchCommand, + DisableFastSnapshotRestoresCommand, + DisableImageCommand, + DisableImageBlockPublicAccessCommand, + DisableImageDeprecationCommand, + DisableImageDeregistrationProtectionCommand, + DisableIpamOrganizationAdminAccountCommand, + DisableSerialConsoleAccessCommand, + DisableSnapshotBlockPublicAccessCommand, + DisableTransitGatewayRouteTablePropagationCommand, + DisableVgwRoutePropagationCommand, + DisableVpcClassicLinkCommand, + DisableVpcClassicLinkDnsSupportCommand, + DisassociateAddressCommand, + DisassociateCapacityReservationBillingOwnerCommand, + DisassociateClientVpnTargetNetworkCommand, + DisassociateEnclaveCertificateIamRoleCommand, + DisassociateIamInstanceProfileCommand, + DisassociateInstanceEventWindowCommand, + DisassociateIpamByoasnCommand, + DisassociateIpamResourceDiscoveryCommand, + DisassociateNatGatewayAddressCommand, + DisassociateRouteTableCommand, + DisassociateSecurityGroupVpcCommand, + DisassociateSubnetCidrBlockCommand, + DisassociateTransitGatewayMulticastDomainCommand, + DisassociateTransitGatewayPolicyTableCommand, + DisassociateTransitGatewayRouteTableCommand, + DisassociateTrunkInterfaceCommand, + DisassociateVpcCidrBlockCommand, + EnableAddressTransferCommand, + EnableAllowedImagesSettingsCommand, + EnableAwsNetworkPerformanceMetricSubscriptionCommand, + EnableEbsEncryptionByDefaultCommand, + EnableFastLaunchCommand, + EnableFastSnapshotRestoresCommand, + EnableImageCommand, + EnableImageBlockPublicAccessCommand, + EnableImageDeprecationCommand, + EnableImageDeregistrationProtectionCommand, + EnableIpamOrganizationAdminAccountCommand, + EnableReachabilityAnalyzerOrganizationSharingCommand, + EnableSerialConsoleAccessCommand, + EnableSnapshotBlockPublicAccessCommand, + EnableTransitGatewayRouteTablePropagationCommand, + EnableVgwRoutePropagationCommand, + EnableVolumeIOCommand, + EnableVpcClassicLinkCommand, + EnableVpcClassicLinkDnsSupportCommand, + ExportClientVpnClientCertificateRevocationListCommand, + ExportClientVpnClientConfigurationCommand, + ExportImageCommand, + ExportTransitGatewayRoutesCommand, + ExportVerifiedAccessInstanceClientConfigurationCommand, + GetAllowedImagesSettingsCommand, + GetAssociatedEnclaveCertificateIamRolesCommand, + GetAssociatedIpv6PoolCidrsCommand, + GetAwsNetworkPerformanceDataCommand, + GetCapacityReservationUsageCommand, + GetCoipPoolUsageCommand, + GetConsoleOutputCommand, + GetConsoleScreenshotCommand, + GetDeclarativePoliciesReportSummaryCommand, + GetDefaultCreditSpecificationCommand, + GetEbsDefaultKmsKeyIdCommand, + GetEbsEncryptionByDefaultCommand, + GetFlowLogsIntegrationTemplateCommand, + GetGroupsForCapacityReservationCommand, + GetHostReservationPurchasePreviewCommand, + GetImageBlockPublicAccessStateCommand, + GetInstanceMetadataDefaultsCommand, + GetInstanceTpmEkPubCommand, + GetInstanceTypesFromInstanceRequirementsCommand, + GetInstanceUefiDataCommand, + GetIpamAddressHistoryCommand, + GetIpamDiscoveredAccountsCommand, + GetIpamDiscoveredPublicAddressesCommand, + GetIpamDiscoveredResourceCidrsCommand, + GetIpamPoolAllocationsCommand, + GetIpamPoolCidrsCommand, + GetIpamResourceCidrsCommand, + GetLaunchTemplateDataCommand, + GetManagedPrefixListAssociationsCommand, + GetManagedPrefixListEntriesCommand, + GetNetworkInsightsAccessScopeAnalysisFindingsCommand, + GetNetworkInsightsAccessScopeContentCommand, + GetPasswordDataCommand, + GetReservedInstancesExchangeQuoteCommand, + GetSecurityGroupsForVpcCommand, + GetSerialConsoleAccessStatusCommand, + GetSnapshotBlockPublicAccessStateCommand, + GetSpotPlacementScoresCommand, + GetSubnetCidrReservationsCommand, + GetTransitGatewayAttachmentPropagationsCommand, + GetTransitGatewayMulticastDomainAssociationsCommand, + GetTransitGatewayPolicyTableAssociationsCommand, + GetTransitGatewayPolicyTableEntriesCommand, + GetTransitGatewayPrefixListReferencesCommand, + GetTransitGatewayRouteTableAssociationsCommand, + GetTransitGatewayRouteTablePropagationsCommand, + GetVerifiedAccessEndpointPolicyCommand, + GetVerifiedAccessEndpointTargetsCommand, + GetVerifiedAccessGroupPolicyCommand, + GetVpnConnectionDeviceSampleConfigurationCommand, + GetVpnConnectionDeviceTypesCommand, + GetVpnTunnelReplacementStatusCommand, + ImportClientVpnClientCertificateRevocationListCommand, + ImportImageCommand, + ImportInstanceCommand, + ImportKeyPairCommand, + ImportSnapshotCommand, + ImportVolumeCommand, + ListImagesInRecycleBinCommand, + ListSnapshotsInRecycleBinCommand, + LockSnapshotCommand, + ModifyAddressAttributeCommand, + ModifyAvailabilityZoneGroupCommand, + ModifyCapacityReservationCommand, + ModifyCapacityReservationFleetCommand, + ModifyClientVpnEndpointCommand, + ModifyDefaultCreditSpecificationCommand, + ModifyEbsDefaultKmsKeyIdCommand, + ModifyFleetCommand, + ModifyFpgaImageAttributeCommand, + ModifyHostsCommand, + ModifyIdentityIdFormatCommand, + ModifyIdFormatCommand, + ModifyImageAttributeCommand, + ModifyInstanceAttributeCommand, + ModifyInstanceCapacityReservationAttributesCommand, + ModifyInstanceCpuOptionsCommand, + ModifyInstanceCreditSpecificationCommand, + ModifyInstanceEventStartTimeCommand, + ModifyInstanceEventWindowCommand, + ModifyInstanceMaintenanceOptionsCommand, + ModifyInstanceMetadataDefaultsCommand, + ModifyInstanceMetadataOptionsCommand, + ModifyInstanceNetworkPerformanceOptionsCommand, + ModifyInstancePlacementCommand, + ModifyIpamCommand, + ModifyIpamPoolCommand, + ModifyIpamResourceCidrCommand, + ModifyIpamResourceDiscoveryCommand, + ModifyIpamScopeCommand, + ModifyLaunchTemplateCommand, + ModifyLocalGatewayRouteCommand, + ModifyManagedPrefixListCommand, + ModifyNetworkInterfaceAttributeCommand, + ModifyPrivateDnsNameOptionsCommand, + ModifyReservedInstancesCommand, + ModifySecurityGroupRulesCommand, + ModifySnapshotAttributeCommand, + ModifySnapshotTierCommand, + ModifySpotFleetRequestCommand, + ModifySubnetAttributeCommand, + ModifyTrafficMirrorFilterNetworkServicesCommand, + ModifyTrafficMirrorFilterRuleCommand, + ModifyTrafficMirrorSessionCommand, + ModifyTransitGatewayCommand, + ModifyTransitGatewayPrefixListReferenceCommand, + ModifyTransitGatewayVpcAttachmentCommand, + ModifyVerifiedAccessEndpointCommand, + ModifyVerifiedAccessEndpointPolicyCommand, + ModifyVerifiedAccessGroupCommand, + ModifyVerifiedAccessGroupPolicyCommand, + ModifyVerifiedAccessInstanceCommand, + ModifyVerifiedAccessInstanceLoggingConfigurationCommand, + ModifyVerifiedAccessTrustProviderCommand, + ModifyVolumeCommand, + ModifyVolumeAttributeCommand, + ModifyVpcAttributeCommand, + ModifyVpcBlockPublicAccessExclusionCommand, + ModifyVpcBlockPublicAccessOptionsCommand, + ModifyVpcEndpointCommand, + ModifyVpcEndpointConnectionNotificationCommand, + ModifyVpcEndpointServiceConfigurationCommand, + ModifyVpcEndpointServicePayerResponsibilityCommand, + ModifyVpcEndpointServicePermissionsCommand, + ModifyVpcPeeringConnectionOptionsCommand, + ModifyVpcTenancyCommand, + ModifyVpnConnectionCommand, + ModifyVpnConnectionOptionsCommand, + ModifyVpnTunnelCertificateCommand, + ModifyVpnTunnelOptionsCommand, + MonitorInstancesCommand, + MoveAddressToVpcCommand, + MoveByoipCidrToIpamCommand, + MoveCapacityReservationInstancesCommand, + ProvisionByoipCidrCommand, + ProvisionIpamByoasnCommand, + ProvisionIpamPoolCidrCommand, + ProvisionPublicIpv4PoolCidrCommand, + PurchaseCapacityBlockCommand, + PurchaseCapacityBlockExtensionCommand, + PurchaseHostReservationCommand, + PurchaseReservedInstancesOfferingCommand, + PurchaseScheduledInstancesCommand, + RebootInstancesCommand, + RegisterImageCommand, + RegisterInstanceEventNotificationAttributesCommand, + RegisterTransitGatewayMulticastGroupMembersCommand, + RegisterTransitGatewayMulticastGroupSourcesCommand, + RejectCapacityReservationBillingOwnershipCommand, + RejectTransitGatewayMulticastDomainAssociationsCommand, + RejectTransitGatewayPeeringAttachmentCommand, + RejectTransitGatewayVpcAttachmentCommand, + RejectVpcEndpointConnectionsCommand, + RejectVpcPeeringConnectionCommand, + ReleaseAddressCommand, + ReleaseHostsCommand, + ReleaseIpamPoolAllocationCommand, + ReplaceIamInstanceProfileAssociationCommand, + ReplaceImageCriteriaInAllowedImagesSettingsCommand, + ReplaceNetworkAclAssociationCommand, + ReplaceNetworkAclEntryCommand, + ReplaceRouteCommand, + ReplaceRouteTableAssociationCommand, + ReplaceTransitGatewayRouteCommand, + ReplaceVpnTunnelCommand, + ReportInstanceStatusCommand, + RequestSpotFleetCommand, + RequestSpotInstancesCommand, + ResetAddressAttributeCommand, + ResetEbsDefaultKmsKeyIdCommand, + ResetFpgaImageAttributeCommand, + ResetImageAttributeCommand, + ResetInstanceAttributeCommand, + ResetNetworkInterfaceAttributeCommand, + ResetSnapshotAttributeCommand, + RestoreAddressToClassicCommand, + RestoreImageFromRecycleBinCommand, + RestoreManagedPrefixListVersionCommand, + RestoreSnapshotFromRecycleBinCommand, + RestoreSnapshotTierCommand, + RevokeClientVpnIngressCommand, + RevokeSecurityGroupEgressCommand, + RevokeSecurityGroupIngressCommand, + RunInstancesCommand, + RunScheduledInstancesCommand, + SearchLocalGatewayRoutesCommand, + SearchTransitGatewayMulticastGroupsCommand, + SearchTransitGatewayRoutesCommand, + SendDiagnosticInterruptCommand, + StartDeclarativePoliciesReportCommand, + StartInstancesCommand, + StartNetworkInsightsAccessScopeAnalysisCommand, + StartNetworkInsightsAnalysisCommand, + StartVpcEndpointServicePrivateDnsVerificationCommand, + StopInstancesCommand, + TerminateClientVpnConnectionsCommand, + TerminateInstancesCommand, + UnassignIpv6AddressesCommand, + UnassignPrivateIpAddressesCommand, + UnassignPrivateNatGatewayAddressCommand, + UnlockSnapshotCommand, + UnmonitorInstancesCommand, + UpdateSecurityGroupRuleDescriptionsEgressCommand, + UpdateSecurityGroupRuleDescriptionsIngressCommand, + WithdrawByoipCidrCommand +}; +var _EC2 = class _EC2 extends EC2Client { +}; +__name(_EC2, "EC2"); +var EC2 = _EC2; +(0, import_smithy_client.createAggregatedClient)(commands, EC2); + +// src/pagination/DescribeAddressTransfersPaginator.ts + +var paginateDescribeAddressTransfers = (0, import_core.createPaginator)(EC2Client, DescribeAddressTransfersCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeAddressesAttributePaginator.ts + +var paginateDescribeAddressesAttribute = (0, import_core.createPaginator)(EC2Client, DescribeAddressesAttributeCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator.ts + +var paginateDescribeAwsNetworkPerformanceMetricSubscriptions = (0, import_core.createPaginator)(EC2Client, DescribeAwsNetworkPerformanceMetricSubscriptionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeByoipCidrsPaginator.ts + +var paginateDescribeByoipCidrs = (0, import_core.createPaginator)(EC2Client, DescribeByoipCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityBlockExtensionHistoryPaginator.ts + +var paginateDescribeCapacityBlockExtensionHistory = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockExtensionHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.ts + +var paginateDescribeCapacityBlockExtensionOfferings = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockExtensionOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityBlockOfferingsPaginator.ts + +var paginateDescribeCapacityBlockOfferings = (0, import_core.createPaginator)(EC2Client, DescribeCapacityBlockOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityReservationBillingRequestsPaginator.ts + +var paginateDescribeCapacityReservationBillingRequests = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationBillingRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityReservationFleetsPaginator.ts + +var paginateDescribeCapacityReservationFleets = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationFleetsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCapacityReservationsPaginator.ts + +var paginateDescribeCapacityReservations = (0, import_core.createPaginator)(EC2Client, DescribeCapacityReservationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCarrierGatewaysPaginator.ts + +var paginateDescribeCarrierGateways = (0, import_core.createPaginator)(EC2Client, DescribeCarrierGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClassicLinkInstancesPaginator.ts + +var paginateDescribeClassicLinkInstances = (0, import_core.createPaginator)(EC2Client, DescribeClassicLinkInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClientVpnAuthorizationRulesPaginator.ts + +var paginateDescribeClientVpnAuthorizationRules = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnAuthorizationRulesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClientVpnConnectionsPaginator.ts + +var paginateDescribeClientVpnConnections = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClientVpnEndpointsPaginator.ts + +var paginateDescribeClientVpnEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClientVpnRoutesPaginator.ts + +var paginateDescribeClientVpnRoutes = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnRoutesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeClientVpnTargetNetworksPaginator.ts + +var paginateDescribeClientVpnTargetNetworks = (0, import_core.createPaginator)(EC2Client, DescribeClientVpnTargetNetworksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeCoipPoolsPaginator.ts + +var paginateDescribeCoipPools = (0, import_core.createPaginator)(EC2Client, DescribeCoipPoolsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeDhcpOptionsPaginator.ts + +var paginateDescribeDhcpOptions = (0, import_core.createPaginator)(EC2Client, DescribeDhcpOptionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeEgressOnlyInternetGatewaysPaginator.ts + +var paginateDescribeEgressOnlyInternetGateways = (0, import_core.createPaginator)(EC2Client, DescribeEgressOnlyInternetGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeExportImageTasksPaginator.ts + +var paginateDescribeExportImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeExportImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeFastLaunchImagesPaginator.ts + +var paginateDescribeFastLaunchImages = (0, import_core.createPaginator)(EC2Client, DescribeFastLaunchImagesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeFastSnapshotRestoresPaginator.ts + +var paginateDescribeFastSnapshotRestores = (0, import_core.createPaginator)(EC2Client, DescribeFastSnapshotRestoresCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeFleetsPaginator.ts + +var paginateDescribeFleets = (0, import_core.createPaginator)(EC2Client, DescribeFleetsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeFlowLogsPaginator.ts + +var paginateDescribeFlowLogs = (0, import_core.createPaginator)(EC2Client, DescribeFlowLogsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeFpgaImagesPaginator.ts + +var paginateDescribeFpgaImages = (0, import_core.createPaginator)(EC2Client, DescribeFpgaImagesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeHostReservationOfferingsPaginator.ts + +var paginateDescribeHostReservationOfferings = (0, import_core.createPaginator)(EC2Client, DescribeHostReservationOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeHostReservationsPaginator.ts + +var paginateDescribeHostReservations = (0, import_core.createPaginator)(EC2Client, DescribeHostReservationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeHostsPaginator.ts + +var paginateDescribeHosts = (0, import_core.createPaginator)(EC2Client, DescribeHostsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIamInstanceProfileAssociationsPaginator.ts + +var paginateDescribeIamInstanceProfileAssociations = (0, import_core.createPaginator)(EC2Client, DescribeIamInstanceProfileAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeImagesPaginator.ts + +var paginateDescribeImages = (0, import_core.createPaginator)(EC2Client, DescribeImagesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeImportImageTasksPaginator.ts + +var paginateDescribeImportImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeImportImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeImportSnapshotTasksPaginator.ts + +var paginateDescribeImportSnapshotTasks = (0, import_core.createPaginator)(EC2Client, DescribeImportSnapshotTasksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceConnectEndpointsPaginator.ts + +var paginateDescribeInstanceConnectEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeInstanceConnectEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceCreditSpecificationsPaginator.ts + +var paginateDescribeInstanceCreditSpecifications = (0, import_core.createPaginator)(EC2Client, DescribeInstanceCreditSpecificationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceEventWindowsPaginator.ts + +var paginateDescribeInstanceEventWindows = (0, import_core.createPaginator)(EC2Client, DescribeInstanceEventWindowsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceImageMetadataPaginator.ts + +var paginateDescribeInstanceImageMetadata = (0, import_core.createPaginator)(EC2Client, DescribeInstanceImageMetadataCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceStatusPaginator.ts + +var paginateDescribeInstanceStatus = (0, import_core.createPaginator)(EC2Client, DescribeInstanceStatusCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceTopologyPaginator.ts + +var paginateDescribeInstanceTopology = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTopologyCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceTypeOfferingsPaginator.ts + +var paginateDescribeInstanceTypeOfferings = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTypeOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstanceTypesPaginator.ts + +var paginateDescribeInstanceTypes = (0, import_core.createPaginator)(EC2Client, DescribeInstanceTypesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInstancesPaginator.ts + +var paginateDescribeInstances = (0, import_core.createPaginator)(EC2Client, DescribeInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeInternetGatewaysPaginator.ts + +var paginateDescribeInternetGateways = (0, import_core.createPaginator)(EC2Client, DescribeInternetGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpamPoolsPaginator.ts + +var paginateDescribeIpamPools = (0, import_core.createPaginator)(EC2Client, DescribeIpamPoolsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpamResourceDiscoveriesPaginator.ts + +var paginateDescribeIpamResourceDiscoveries = (0, import_core.createPaginator)(EC2Client, DescribeIpamResourceDiscoveriesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpamResourceDiscoveryAssociationsPaginator.ts + +var paginateDescribeIpamResourceDiscoveryAssociations = (0, import_core.createPaginator)(EC2Client, DescribeIpamResourceDiscoveryAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpamScopesPaginator.ts + +var paginateDescribeIpamScopes = (0, import_core.createPaginator)(EC2Client, DescribeIpamScopesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpamsPaginator.ts + +var paginateDescribeIpams = (0, import_core.createPaginator)(EC2Client, DescribeIpamsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeIpv6PoolsPaginator.ts + +var paginateDescribeIpv6Pools = (0, import_core.createPaginator)(EC2Client, DescribeIpv6PoolsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLaunchTemplateVersionsPaginator.ts + +var paginateDescribeLaunchTemplateVersions = (0, import_core.createPaginator)(EC2Client, DescribeLaunchTemplateVersionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLaunchTemplatesPaginator.ts + +var paginateDescribeLaunchTemplates = (0, import_core.createPaginator)(EC2Client, DescribeLaunchTemplatesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsPaginator.ts + +var paginateDescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations = (0, import_core.createPaginator)( + EC2Client, + DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsCommand, + "NextToken", + "NextToken", + "MaxResults" +); + +// src/pagination/DescribeLocalGatewayRouteTableVpcAssociationsPaginator.ts + +var paginateDescribeLocalGatewayRouteTableVpcAssociations = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayRouteTableVpcAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLocalGatewayRouteTablesPaginator.ts + +var paginateDescribeLocalGatewayRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLocalGatewayVirtualInterfaceGroupsPaginator.ts + +var paginateDescribeLocalGatewayVirtualInterfaceGroups = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayVirtualInterfaceGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLocalGatewayVirtualInterfacesPaginator.ts + +var paginateDescribeLocalGatewayVirtualInterfaces = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewayVirtualInterfacesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeLocalGatewaysPaginator.ts + +var paginateDescribeLocalGateways = (0, import_core.createPaginator)(EC2Client, DescribeLocalGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeMacHostsPaginator.ts + +var paginateDescribeMacHosts = (0, import_core.createPaginator)(EC2Client, DescribeMacHostsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeManagedPrefixListsPaginator.ts + +var paginateDescribeManagedPrefixLists = (0, import_core.createPaginator)(EC2Client, DescribeManagedPrefixListsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeMovingAddressesPaginator.ts + +var paginateDescribeMovingAddresses = (0, import_core.createPaginator)(EC2Client, DescribeMovingAddressesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNatGatewaysPaginator.ts + +var paginateDescribeNatGateways = (0, import_core.createPaginator)(EC2Client, DescribeNatGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkAclsPaginator.ts + +var paginateDescribeNetworkAcls = (0, import_core.createPaginator)(EC2Client, DescribeNetworkAclsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInsightsAccessScopeAnalysesPaginator.ts + +var paginateDescribeNetworkInsightsAccessScopeAnalyses = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAccessScopeAnalysesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInsightsAccessScopesPaginator.ts + +var paginateDescribeNetworkInsightsAccessScopes = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAccessScopesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInsightsAnalysesPaginator.ts + +var paginateDescribeNetworkInsightsAnalyses = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsAnalysesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInsightsPathsPaginator.ts + +var paginateDescribeNetworkInsightsPaths = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInsightsPathsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInterfacePermissionsPaginator.ts + +var paginateDescribeNetworkInterfacePermissions = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInterfacePermissionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeNetworkInterfacesPaginator.ts + +var paginateDescribeNetworkInterfaces = (0, import_core.createPaginator)(EC2Client, DescribeNetworkInterfacesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribePrefixListsPaginator.ts + +var paginateDescribePrefixLists = (0, import_core.createPaginator)(EC2Client, DescribePrefixListsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribePrincipalIdFormatPaginator.ts + +var paginateDescribePrincipalIdFormat = (0, import_core.createPaginator)(EC2Client, DescribePrincipalIdFormatCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribePublicIpv4PoolsPaginator.ts + +var paginateDescribePublicIpv4Pools = (0, import_core.createPaginator)(EC2Client, DescribePublicIpv4PoolsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeReplaceRootVolumeTasksPaginator.ts + +var paginateDescribeReplaceRootVolumeTasks = (0, import_core.createPaginator)(EC2Client, DescribeReplaceRootVolumeTasksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeReservedInstancesModificationsPaginator.ts + +var paginateDescribeReservedInstancesModifications = (0, import_core.createPaginator)(EC2Client, DescribeReservedInstancesModificationsCommand, "NextToken", "NextToken", ""); + +// src/pagination/DescribeReservedInstancesOfferingsPaginator.ts + +var paginateDescribeReservedInstancesOfferings = (0, import_core.createPaginator)(EC2Client, DescribeReservedInstancesOfferingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeRouteTablesPaginator.ts + +var paginateDescribeRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeScheduledInstanceAvailabilityPaginator.ts + +var paginateDescribeScheduledInstanceAvailability = (0, import_core.createPaginator)(EC2Client, DescribeScheduledInstanceAvailabilityCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeScheduledInstancesPaginator.ts + +var paginateDescribeScheduledInstances = (0, import_core.createPaginator)(EC2Client, DescribeScheduledInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSecurityGroupRulesPaginator.ts + +var paginateDescribeSecurityGroupRules = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupRulesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSecurityGroupVpcAssociationsPaginator.ts + +var paginateDescribeSecurityGroupVpcAssociations = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupVpcAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSecurityGroupsPaginator.ts + +var paginateDescribeSecurityGroups = (0, import_core.createPaginator)(EC2Client, DescribeSecurityGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSnapshotTierStatusPaginator.ts + +var paginateDescribeSnapshotTierStatus = (0, import_core.createPaginator)(EC2Client, DescribeSnapshotTierStatusCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSnapshotsPaginator.ts + +var paginateDescribeSnapshots = (0, import_core.createPaginator)(EC2Client, DescribeSnapshotsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSpotFleetRequestsPaginator.ts + +var paginateDescribeSpotFleetRequests = (0, import_core.createPaginator)(EC2Client, DescribeSpotFleetRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSpotInstanceRequestsPaginator.ts + +var paginateDescribeSpotInstanceRequests = (0, import_core.createPaginator)(EC2Client, DescribeSpotInstanceRequestsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSpotPriceHistoryPaginator.ts + +var paginateDescribeSpotPriceHistory = (0, import_core.createPaginator)(EC2Client, DescribeSpotPriceHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeStaleSecurityGroupsPaginator.ts + +var paginateDescribeStaleSecurityGroups = (0, import_core.createPaginator)(EC2Client, DescribeStaleSecurityGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeStoreImageTasksPaginator.ts + +var paginateDescribeStoreImageTasks = (0, import_core.createPaginator)(EC2Client, DescribeStoreImageTasksCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeSubnetsPaginator.ts + +var paginateDescribeSubnets = (0, import_core.createPaginator)(EC2Client, DescribeSubnetsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTagsPaginator.ts + +var paginateDescribeTags = (0, import_core.createPaginator)(EC2Client, DescribeTagsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTrafficMirrorFiltersPaginator.ts + +var paginateDescribeTrafficMirrorFilters = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorFiltersCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTrafficMirrorSessionsPaginator.ts + +var paginateDescribeTrafficMirrorSessions = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorSessionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTrafficMirrorTargetsPaginator.ts + +var paginateDescribeTrafficMirrorTargets = (0, import_core.createPaginator)(EC2Client, DescribeTrafficMirrorTargetsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayAttachmentsPaginator.ts + +var paginateDescribeTransitGatewayAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayConnectPeersPaginator.ts + +var paginateDescribeTransitGatewayConnectPeers = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayConnectPeersCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayConnectsPaginator.ts + +var paginateDescribeTransitGatewayConnects = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayConnectsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayMulticastDomainsPaginator.ts + +var paginateDescribeTransitGatewayMulticastDomains = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayMulticastDomainsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayPeeringAttachmentsPaginator.ts + +var paginateDescribeTransitGatewayPeeringAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayPeeringAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayPolicyTablesPaginator.ts + +var paginateDescribeTransitGatewayPolicyTables = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayPolicyTablesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayRouteTableAnnouncementsPaginator.ts + +var paginateDescribeTransitGatewayRouteTableAnnouncements = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayRouteTableAnnouncementsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayRouteTablesPaginator.ts + +var paginateDescribeTransitGatewayRouteTables = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayRouteTablesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewayVpcAttachmentsPaginator.ts + +var paginateDescribeTransitGatewayVpcAttachments = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewayVpcAttachmentsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTransitGatewaysPaginator.ts + +var paginateDescribeTransitGateways = (0, import_core.createPaginator)(EC2Client, DescribeTransitGatewaysCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeTrunkInterfaceAssociationsPaginator.ts + +var paginateDescribeTrunkInterfaceAssociations = (0, import_core.createPaginator)(EC2Client, DescribeTrunkInterfaceAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVerifiedAccessEndpointsPaginator.ts + +var paginateDescribeVerifiedAccessEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVerifiedAccessGroupsPaginator.ts + +var paginateDescribeVerifiedAccessGroups = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVerifiedAccessInstanceLoggingConfigurationsPaginator.ts + +var paginateDescribeVerifiedAccessInstanceLoggingConfigurations = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessInstanceLoggingConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVerifiedAccessInstancesPaginator.ts + +var paginateDescribeVerifiedAccessInstances = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessInstancesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVerifiedAccessTrustProvidersPaginator.ts + +var paginateDescribeVerifiedAccessTrustProviders = (0, import_core.createPaginator)(EC2Client, DescribeVerifiedAccessTrustProvidersCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVolumeStatusPaginator.ts + +var paginateDescribeVolumeStatus = (0, import_core.createPaginator)(EC2Client, DescribeVolumeStatusCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVolumesModificationsPaginator.ts + +var paginateDescribeVolumesModifications = (0, import_core.createPaginator)(EC2Client, DescribeVolumesModificationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVolumesPaginator.ts + +var paginateDescribeVolumes = (0, import_core.createPaginator)(EC2Client, DescribeVolumesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcClassicLinkDnsSupportPaginator.ts + +var paginateDescribeVpcClassicLinkDnsSupport = (0, import_core.createPaginator)(EC2Client, DescribeVpcClassicLinkDnsSupportCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcEndpointConnectionNotificationsPaginator.ts + +var paginateDescribeVpcEndpointConnectionNotifications = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointConnectionNotificationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcEndpointConnectionsPaginator.ts + +var paginateDescribeVpcEndpointConnections = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcEndpointServiceConfigurationsPaginator.ts + +var paginateDescribeVpcEndpointServiceConfigurations = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointServiceConfigurationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcEndpointServicePermissionsPaginator.ts + +var paginateDescribeVpcEndpointServicePermissions = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointServicePermissionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcEndpointsPaginator.ts + +var paginateDescribeVpcEndpoints = (0, import_core.createPaginator)(EC2Client, DescribeVpcEndpointsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcPeeringConnectionsPaginator.ts + +var paginateDescribeVpcPeeringConnections = (0, import_core.createPaginator)(EC2Client, DescribeVpcPeeringConnectionsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/DescribeVpcsPaginator.ts + +var paginateDescribeVpcs = (0, import_core.createPaginator)(EC2Client, DescribeVpcsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetAssociatedIpv6PoolCidrsPaginator.ts + +var paginateGetAssociatedIpv6PoolCidrs = (0, import_core.createPaginator)(EC2Client, GetAssociatedIpv6PoolCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetAwsNetworkPerformanceDataPaginator.ts + +var paginateGetAwsNetworkPerformanceData = (0, import_core.createPaginator)(EC2Client, GetAwsNetworkPerformanceDataCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetGroupsForCapacityReservationPaginator.ts + +var paginateGetGroupsForCapacityReservation = (0, import_core.createPaginator)(EC2Client, GetGroupsForCapacityReservationCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetInstanceTypesFromInstanceRequirementsPaginator.ts + +var paginateGetInstanceTypesFromInstanceRequirements = (0, import_core.createPaginator)(EC2Client, GetInstanceTypesFromInstanceRequirementsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamAddressHistoryPaginator.ts + +var paginateGetIpamAddressHistory = (0, import_core.createPaginator)(EC2Client, GetIpamAddressHistoryCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamDiscoveredAccountsPaginator.ts + +var paginateGetIpamDiscoveredAccounts = (0, import_core.createPaginator)(EC2Client, GetIpamDiscoveredAccountsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamDiscoveredResourceCidrsPaginator.ts + +var paginateGetIpamDiscoveredResourceCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamDiscoveredResourceCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamPoolAllocationsPaginator.ts + +var paginateGetIpamPoolAllocations = (0, import_core.createPaginator)(EC2Client, GetIpamPoolAllocationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamPoolCidrsPaginator.ts + +var paginateGetIpamPoolCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamPoolCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetIpamResourceCidrsPaginator.ts + +var paginateGetIpamResourceCidrs = (0, import_core.createPaginator)(EC2Client, GetIpamResourceCidrsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetManagedPrefixListAssociationsPaginator.ts + +var paginateGetManagedPrefixListAssociations = (0, import_core.createPaginator)(EC2Client, GetManagedPrefixListAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetManagedPrefixListEntriesPaginator.ts + +var paginateGetManagedPrefixListEntries = (0, import_core.createPaginator)(EC2Client, GetManagedPrefixListEntriesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetNetworkInsightsAccessScopeAnalysisFindingsPaginator.ts + +var paginateGetNetworkInsightsAccessScopeAnalysisFindings = (0, import_core.createPaginator)(EC2Client, GetNetworkInsightsAccessScopeAnalysisFindingsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetSecurityGroupsForVpcPaginator.ts + +var paginateGetSecurityGroupsForVpc = (0, import_core.createPaginator)(EC2Client, GetSecurityGroupsForVpcCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetSpotPlacementScoresPaginator.ts + +var paginateGetSpotPlacementScores = (0, import_core.createPaginator)(EC2Client, GetSpotPlacementScoresCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayAttachmentPropagationsPaginator.ts + +var paginateGetTransitGatewayAttachmentPropagations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayAttachmentPropagationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayMulticastDomainAssociationsPaginator.ts + +var paginateGetTransitGatewayMulticastDomainAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayMulticastDomainAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayPolicyTableAssociationsPaginator.ts + +var paginateGetTransitGatewayPolicyTableAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayPolicyTableAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayPrefixListReferencesPaginator.ts + +var paginateGetTransitGatewayPrefixListReferences = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayPrefixListReferencesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayRouteTableAssociationsPaginator.ts + +var paginateGetTransitGatewayRouteTableAssociations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayRouteTableAssociationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetTransitGatewayRouteTablePropagationsPaginator.ts + +var paginateGetTransitGatewayRouteTablePropagations = (0, import_core.createPaginator)(EC2Client, GetTransitGatewayRouteTablePropagationsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/GetVpnConnectionDeviceTypesPaginator.ts + +var paginateGetVpnConnectionDeviceTypes = (0, import_core.createPaginator)(EC2Client, GetVpnConnectionDeviceTypesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/ListImagesInRecycleBinPaginator.ts + +var paginateListImagesInRecycleBin = (0, import_core.createPaginator)(EC2Client, ListImagesInRecycleBinCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/ListSnapshotsInRecycleBinPaginator.ts + +var paginateListSnapshotsInRecycleBin = (0, import_core.createPaginator)(EC2Client, ListSnapshotsInRecycleBinCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/SearchLocalGatewayRoutesPaginator.ts + +var paginateSearchLocalGatewayRoutes = (0, import_core.createPaginator)(EC2Client, SearchLocalGatewayRoutesCommand, "NextToken", "NextToken", "MaxResults"); + +// src/pagination/SearchTransitGatewayMulticastGroupsPaginator.ts + +var paginateSearchTransitGatewayMulticastGroups = (0, import_core.createPaginator)(EC2Client, SearchTransitGatewayMulticastGroupsCommand, "NextToken", "NextToken", "MaxResults"); + +// src/waiters/waitForBundleTaskComplete.ts +var import_util_waiter = __nccwpck_require__(8011); +var checkState = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeBundleTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.BundleTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "complete"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.BundleTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForBundleTaskComplete = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); +}, "waitForBundleTaskComplete"); +var waitUntilBundleTaskComplete = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilBundleTaskComplete"); + +// src/waiters/waitForConversionTaskCancelled.ts + +var checkState2 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ConversionTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "cancelled"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForConversionTaskCancelled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2); +}, "waitForConversionTaskCancelled"); +var waitUntilConversionTaskCancelled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilConversionTaskCancelled"); + +// src/waiters/waitForConversionTaskCompleted.ts + +var checkState3 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ConversionTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "completed"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ConversionTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "cancelled") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ConversionTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "cancelling") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForConversionTaskCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3); +}, "waitForConversionTaskCompleted"); +var waitUntilConversionTaskCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilConversionTaskCompleted"); + +// src/waiters/waitForConversionTaskDeleted.ts + +var checkState4 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeConversionTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ConversionTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "deleted"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForConversionTaskDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4); +}, "waitForConversionTaskDeleted"); +var waitUntilConversionTaskDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilConversionTaskDeleted"); + +// src/waiters/waitForCustomerGatewayAvailable.ts + +var checkState5 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeCustomerGatewaysCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.CustomerGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.CustomerGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.CustomerGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForCustomerGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5); +}, "waitForCustomerGatewayAvailable"); +var waitUntilCustomerGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilCustomerGatewayAvailable"); + +// src/waiters/waitForExportTaskCancelled.ts + +var checkState6 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeExportTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ExportTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "cancelled"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6); +}, "waitForExportTaskCancelled"); +var waitUntilExportTaskCancelled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilExportTaskCancelled"); + +// src/waiters/waitForExportTaskCompleted.ts + +var checkState7 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeExportTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ExportTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "completed"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForExportTaskCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7); +}, "waitForExportTaskCompleted"); +var waitUntilExportTaskCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilExportTaskCompleted"); + +// src/waiters/waitForImageAvailable.ts + +var checkState8 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeImagesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Images); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Images); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForImageAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8); +}, "waitForImageAvailable"); +var waitUntilImageAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilImageAvailable"); + +// src/waiters/waitForImageExists.ts + +var checkState9 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeImagesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Images); + return flat_1.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidAMIID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForImageExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9); +}, "waitForImageExists"); +var waitUntilImageExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilImageExists"); + +// src/waiters/waitForInstanceExists.ts + +var checkState10 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + return flat_1.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInstanceExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10); +}, "waitForInstanceExists"); +var waitUntilInstanceExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInstanceExists"); + +// src/waiters/waitForInstanceRunning.ts + +var checkState11 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + let allStringEq_8 = returnComparator().length > 0; + for (const element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && element_7 == "running"; + } + if (allStringEq_8) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "shutting-down") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "terminated") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "stopping") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInstanceRunning = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState11); +}, "waitForInstanceRunning"); +var waitUntilInstanceRunning = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState11); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInstanceRunning"); + +// src/waiters/waitForInstanceStatusOk.ts + +var checkState12 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstanceStatusCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.InstanceStatuses); + const projection_3 = flat_1.map((element_2) => { + return element_2.InstanceStatus.Status; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "ok"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInstanceID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInstanceStatusOk = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState12); +}, "waitForInstanceStatusOk"); +var waitUntilInstanceStatusOk = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState12); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInstanceStatusOk"); + +// src/waiters/waitForInstanceStopped.ts + +var checkState13 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + let allStringEq_8 = returnComparator().length > 0; + for (const element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && element_7 == "stopped"; + } + if (allStringEq_8) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "pending") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "terminated") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInstanceStopped = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState13); +}, "waitForInstanceStopped"); +var waitUntilInstanceStopped = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState13); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInstanceStopped"); + +// src/waiters/waitForInstanceTerminated.ts + +var checkState14 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstancesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + let allStringEq_8 = returnComparator().length > 0; + for (const element_7 of returnComparator()) { + allStringEq_8 = allStringEq_8 && element_7 == "terminated"; + } + if (allStringEq_8) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "pending") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Reservations); + const projection_3 = flat_1.map((element_2) => { + return element_2.Instances; + }); + const flat_4 = [].concat(...projection_3); + const projection_6 = flat_4.map((element_5) => { + return element_5.State.Name; + }); + return projection_6; + }, "returnComparator"); + for (const anyStringEq_7 of returnComparator()) { + if (anyStringEq_7 == "stopping") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInstanceTerminated = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState14); +}, "waitForInstanceTerminated"); +var waitUntilInstanceTerminated = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState14); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInstanceTerminated"); + +// src/waiters/waitForInternetGatewayExists.ts + +var checkState15 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInternetGatewaysCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.InternetGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.InternetGatewayId; + }); + return projection_3.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidInternetGateway.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForInternetGatewayExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState15); +}, "waitForInternetGatewayExists"); +var waitUntilInternetGatewayExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState15); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilInternetGatewayExists"); + +// src/waiters/waitForKeyPairExists.ts + +var checkState16 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeKeyPairsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.KeyPairs); + const projection_3 = flat_1.map((element_2) => { + return element_2.KeyName; + }); + return projection_3.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidKeyPair.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForKeyPairExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState16); +}, "waitForKeyPairExists"); +var waitUntilKeyPairExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState16); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilKeyPairExists"); + +// src/waiters/waitForNatGatewayAvailable.ts + +var checkState17 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeNatGatewaysCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NatGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NatGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "failed") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NatGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NatGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "NatGatewayNotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForNatGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState17); +}, "waitForNatGatewayAvailable"); +var waitUntilNatGatewayAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState17); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilNatGatewayAvailable"); + +// src/waiters/waitForNatGatewayDeleted.ts + +var checkState18 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeNatGatewaysCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NatGateways); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "deleted"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "NatGatewayNotFound") { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForNatGatewayDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18); +}, "waitForNatGatewayDeleted"); +var waitUntilNatGatewayDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState18); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilNatGatewayDeleted"); + +// src/waiters/waitForNetworkInterfaceAvailable.ts + +var checkState19 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeNetworkInterfacesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.NetworkInterfaces); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidNetworkInterfaceID.NotFound") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForNetworkInterfaceAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 20, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState19); +}, "waitForNetworkInterfaceAvailable"); +var waitUntilNetworkInterfaceAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 20, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState19); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilNetworkInterfaceAvailable"); + +// src/waiters/waitForSnapshotImported.ts + +var checkState20 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeImportSnapshotTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ImportSnapshotTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.SnapshotTaskDetail.Status; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "completed"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.ImportSnapshotTasks); + const projection_3 = flat_1.map((element_2) => { + return element_2.SnapshotTaskDetail.Status; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "error") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSnapshotImported = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState20); +}, "waitForSnapshotImported"); +var waitUntilSnapshotImported = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState20); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSnapshotImported"); + +// src/waiters/waitForSecurityGroupExists.ts + +var checkState21 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeSecurityGroupsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SecurityGroups); + const projection_3 = flat_1.map((element_2) => { + return element_2.GroupId; + }); + return projection_3.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidGroup.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSecurityGroupExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState21); +}, "waitForSecurityGroupExists"); +var waitUntilSecurityGroupExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState21); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSecurityGroupExists"); + +// src/waiters/waitForSnapshotCompleted.ts + +var checkState22 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeSnapshotsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Snapshots); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "completed"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Snapshots); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "error") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSnapshotCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState22); +}, "waitForSnapshotCompleted"); +var waitUntilSnapshotCompleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState22); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSnapshotCompleted"); + +// src/waiters/waitForSpotInstanceRequestFulfilled.ts + +var checkState23 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeSpotInstanceRequestsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "fulfilled"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "request-canceled-and-instance-running"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "schedule-expired") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "canceled-before-fulfillment") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "bad-parameters") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.SpotInstanceRequests); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "system-error") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidSpotInstanceRequestID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSpotInstanceRequestFulfilled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState23); +}, "waitForSpotInstanceRequestFulfilled"); +var waitUntilSpotInstanceRequestFulfilled = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState23); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSpotInstanceRequestFulfilled"); + +// src/waiters/waitForStoreImageTaskComplete.ts + +var checkState24 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeStoreImageTasksCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.StoreImageTaskResults); + const projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "Completed"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.StoreImageTaskResults); + const projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "Failed") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.StoreImageTaskResults); + const projection_3 = flat_1.map((element_2) => { + return element_2.StoreTaskState; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "InProgress") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForStoreImageTaskComplete = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState24); +}, "waitForStoreImageTaskComplete"); +var waitUntilStoreImageTaskComplete = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState24); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilStoreImageTaskComplete"); + +// src/waiters/waitForSubnetAvailable.ts + +var checkState25 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeSubnetsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Subnets); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSubnetAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState25); +}, "waitForSubnetAvailable"); +var waitUntilSubnetAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState25); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSubnetAvailable"); + +// src/waiters/waitForSystemStatusOk.ts + +var checkState26 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeInstanceStatusCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.InstanceStatuses); + const projection_3 = flat_1.map((element_2) => { + return element_2.SystemStatus.Status; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "ok"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForSystemStatusOk = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState26); +}, "waitForSystemStatusOk"); +var waitUntilSystemStatusOk = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState26); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilSystemStatusOk"); + +// src/waiters/waitForPasswordDataAvailable.ts + +var checkState27 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new GetPasswordDataCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + return result.PasswordData.length > 0; + }, "returnComparator"); + if (returnComparator() == true) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForPasswordDataAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState27); +}, "waitForPasswordDataAvailable"); +var waitUntilPasswordDataAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState27); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilPasswordDataAvailable"); + +// src/waiters/waitForVolumeAvailable.ts + +var checkState28 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Volumes); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Volumes); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVolumeAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState28); +}, "waitForVolumeAvailable"); +var waitUntilVolumeAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState28); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVolumeAvailable"); + +// src/waiters/waitForVolumeDeleted.ts + +var checkState29 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Volumes); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "deleted"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVolume.NotFound") { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVolumeDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState29); +}, "waitForVolumeDeleted"); +var waitUntilVolumeDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState29); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVolumeDeleted"); + +// src/waiters/waitForVolumeInUse.ts + +var checkState30 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVolumesCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Volumes); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "in-use"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Volumes); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVolumeInUse = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState30); +}, "waitForVolumeInUse"); +var waitUntilVolumeInUse = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState30); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVolumeInUse"); + +// src/waiters/waitForVpcAvailable.ts + +var checkState31 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpcsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.Vpcs); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpcAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState31); +}, "waitForVpcAvailable"); +var waitUntilVpcAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState31); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpcAvailable"); + +// src/waiters/waitForVpcExists.ts + +var checkState32 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpcsCommand(input)); + reason = result; + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpcExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 1, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState32); +}, "waitForVpcExists"); +var waitUntilVpcExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 1, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState32); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpcExists"); + +// src/waiters/waitForVpcPeeringConnectionDeleted.ts + +var checkState33 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpcPeeringConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.Status.Code; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "deleted"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcPeeringConnectionID.NotFound") { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpcPeeringConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState33); +}, "waitForVpcPeeringConnectionDeleted"); +var waitUntilVpcPeeringConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState33); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpcPeeringConnectionDeleted"); + +// src/waiters/waitForVpcPeeringConnectionExists.ts + +var checkState34 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpcPeeringConnectionsCommand(input)); + reason = result; + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvalidVpcPeeringConnectionID.NotFound") { + return { state: import_util_waiter.WaiterState.RETRY, reason }; + } + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpcPeeringConnectionExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState34); +}, "waitForVpcPeeringConnectionExists"); +var waitUntilVpcPeeringConnectionExists = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState34); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpcPeeringConnectionExists"); + +// src/waiters/waitForVpnConnectionAvailable.ts + +var checkState35 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpnConnectionsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpnConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "available"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpnConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleting") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpnConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "deleted") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpnConnectionAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState35); +}, "waitForVpnConnectionAvailable"); +var waitUntilVpnConnectionAvailable = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState35); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpnConnectionAvailable"); + +// src/waiters/waitForVpnConnectionDeleted.ts + +var checkState36 = /* @__PURE__ */ __name(async (client, input) => { + let reason; + try { + const result = await client.send(new DescribeVpnConnectionsCommand(input)); + reason = result; + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpnConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + let allStringEq_5 = returnComparator().length > 0; + for (const element_4 of returnComparator()) { + allStringEq_5 = allStringEq_5 && element_4 == "deleted"; + } + if (allStringEq_5) { + return { state: import_util_waiter.WaiterState.SUCCESS, reason }; + } + } catch (e) { + } + try { + const returnComparator = /* @__PURE__ */ __name(() => { + const flat_1 = [].concat(...result.VpnConnections); + const projection_3 = flat_1.map((element_2) => { + return element_2.State; + }); + return projection_3; + }, "returnComparator"); + for (const anyStringEq_4 of returnComparator()) { + if (anyStringEq_4 == "pending") { + return { state: import_util_waiter.WaiterState.FAILURE, reason }; + } + } + } catch (e) { + } + } catch (exception) { + reason = exception; + } + return { state: import_util_waiter.WaiterState.RETRY, reason }; +}, "checkState"); +var waitForVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState36); +}, "waitForVpnConnectionDeleted"); +var waitUntilVpnConnectionDeleted = /* @__PURE__ */ __name(async (params, input) => { + const serviceDefaults = { minDelay: 15, maxDelay: 120 }; + const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState36); + return (0, import_util_waiter.checkExceptions)(result); +}, "waitUntilVpnConnectionDeleted"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4689: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __nccwpck_require__(4351); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(5650)); +const core_1 = __nccwpck_require__(9963); +const credential_provider_node_1 = __nccwpck_require__(5531); +const util_user_agent_node_1 = __nccwpck_require__(8095); +const config_resolver_1 = __nccwpck_require__(3098); +const hash_node_1 = __nccwpck_require__(3081); +const middleware_retry_1 = __nccwpck_require__(6039); +const node_config_provider_1 = __nccwpck_require__(3461); +const node_http_handler_1 = __nccwpck_require__(258); +const util_body_length_node_1 = __nccwpck_require__(8075); +const util_retry_1 = __nccwpck_require__(4902); +const runtimeConfig_shared_1 = __nccwpck_require__(8970); +const smithy_client_1 = __nccwpck_require__(3570); +const util_defaults_mode_node_1 = __nccwpck_require__(2429); +const smithy_client_2 = __nccwpck_require__(3570); +const getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, core_1.emitWarningIfUnsupportedVersion)(process.version); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 8970: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const core_1 = __nccwpck_require__(9963); +const smithy_client_1 = __nccwpck_require__(3570); +const url_parser_1 = __nccwpck_require__(4681); +const util_base64_1 = __nccwpck_require__(5600); +const util_utf8_1 = __nccwpck_require__(1895); +const httpAuthSchemeProvider_1 = __nccwpck_require__(6874); +const endpointResolver_1 = __nccwpck_require__(6305); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2016-11-15", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultEC2HttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new core_1.AwsSdkSigV4Signer(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "EC2", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 6948: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = void 0; +const core_1 = __nccwpck_require__(9963); +const util_middleware_1 = __nccwpck_require__(2390); +const defaultSSOOIDCHttpAuthSchemeParametersProvider = 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`"); + })(), + }; +}; +exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = defaultSSOOIDCHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sso-oauth", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOOIDCHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "CreateToken": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "RegisterClient": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "StartDeviceAuthorization": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOOIDCHttpAuthSchemeProvider = defaultSSOOIDCHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); + return { + ...config_0, + }; +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 7604: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +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__(1756); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 1756: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +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://oidc-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://oidc.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://oidc-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://oidc.{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://oidc.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; +exports.ruleSet = _data; + + +/***/ }), + +/***/ 4527: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AccessDeniedException: () => AccessDeniedException, + AuthorizationPendingException: () => AuthorizationPendingException, + CreateTokenCommand: () => CreateTokenCommand, + CreateTokenRequestFilterSensitiveLog: () => CreateTokenRequestFilterSensitiveLog, + CreateTokenResponseFilterSensitiveLog: () => CreateTokenResponseFilterSensitiveLog, + CreateTokenWithIAMCommand: () => CreateTokenWithIAMCommand, + CreateTokenWithIAMRequestFilterSensitiveLog: () => CreateTokenWithIAMRequestFilterSensitiveLog, + CreateTokenWithIAMResponseFilterSensitiveLog: () => CreateTokenWithIAMResponseFilterSensitiveLog, + ExpiredTokenException: () => ExpiredTokenException, + InternalServerException: () => InternalServerException, + InvalidClientException: () => InvalidClientException, + InvalidClientMetadataException: () => InvalidClientMetadataException, + InvalidGrantException: () => InvalidGrantException, + InvalidRedirectUriException: () => InvalidRedirectUriException, + InvalidRequestException: () => InvalidRequestException, + InvalidRequestRegionException: () => InvalidRequestRegionException, + InvalidScopeException: () => InvalidScopeException, + RegisterClientCommand: () => RegisterClientCommand, + RegisterClientResponseFilterSensitiveLog: () => RegisterClientResponseFilterSensitiveLog, + SSOOIDC: () => SSOOIDC, + SSOOIDCClient: () => SSOOIDCClient, + SSOOIDCServiceException: () => SSOOIDCServiceException, + SlowDownException: () => SlowDownException, + StartDeviceAuthorizationCommand: () => StartDeviceAuthorizationCommand, + StartDeviceAuthorizationRequestFilterSensitiveLog: () => StartDeviceAuthorizationRequestFilterSensitiveLog, + UnauthorizedClientException: () => UnauthorizedClientException, + UnsupportedGrantTypeException: () => UnsupportedGrantTypeException, + __Client: () => import_smithy_client.Client +}); +module.exports = __toCommonJS(src_exports); + +// src/SSOOIDCClient.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__(6948); + +// src/endpoint/EndpointParameters.ts +var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "sso-oauth" + }; +}, "resolveClientEndpointParameters"); +var commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } +}; + +// src/SSOOIDCClient.ts +var import_runtimeConfig = __nccwpck_require__(5524); + +// 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); + +// 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/SSOOIDCClient.ts +var _SSOOIDCClient = class _SSOOIDCClient 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_middleware_user_agent.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); + const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); + const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); + const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); + super(_config_8); + this.config = _config_8; + this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use( + (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOOIDCHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials + }) + }) + ); + 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(); + } +}; +__name(_SSOOIDCClient, "SSOOIDCClient"); +var SSOOIDCClient = _SSOOIDCClient; + +// src/SSOOIDC.ts + + +// src/commands/CreateTokenCommand.ts + +var import_middleware_serde = __nccwpck_require__(1238); + + +// src/models/models_0.ts + + +// src/models/SSOOIDCServiceException.ts + +var _SSOOIDCServiceException = class _SSOOIDCServiceException extends import_smithy_client.ServiceException { + /** + * @internal + */ + constructor(options) { + super(options); + Object.setPrototypeOf(this, _SSOOIDCServiceException.prototype); + } +}; +__name(_SSOOIDCServiceException, "SSOOIDCServiceException"); +var SSOOIDCServiceException = _SSOOIDCServiceException; + +// src/models/models_0.ts +var _AccessDeniedException = class _AccessDeniedException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "AccessDeniedException", + $fault: "client", + ...opts + }); + this.name = "AccessDeniedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _AccessDeniedException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_AccessDeniedException, "AccessDeniedException"); +var AccessDeniedException = _AccessDeniedException; +var _AuthorizationPendingException = class _AuthorizationPendingException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "AuthorizationPendingException", + $fault: "client", + ...opts + }); + this.name = "AuthorizationPendingException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _AuthorizationPendingException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_AuthorizationPendingException, "AuthorizationPendingException"); +var AuthorizationPendingException = _AuthorizationPendingException; +var _ExpiredTokenException = class _ExpiredTokenException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts + }); + this.name = "ExpiredTokenException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExpiredTokenException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_ExpiredTokenException, "ExpiredTokenException"); +var ExpiredTokenException = _ExpiredTokenException; +var _InternalServerException = class _InternalServerException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InternalServerException", + $fault: "server", + ...opts + }); + this.name = "InternalServerException"; + this.$fault = "server"; + Object.setPrototypeOf(this, _InternalServerException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InternalServerException, "InternalServerException"); +var InternalServerException = _InternalServerException; +var _InvalidClientException = class _InvalidClientException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidClientException", + $fault: "client", + ...opts + }); + this.name = "InvalidClientException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidClientException, "InvalidClientException"); +var InvalidClientException = _InvalidClientException; +var _InvalidGrantException = class _InvalidGrantException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidGrantException", + $fault: "client", + ...opts + }); + this.name = "InvalidGrantException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidGrantException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidGrantException, "InvalidGrantException"); +var InvalidGrantException = _InvalidGrantException; +var _InvalidRequestException = class _InvalidRequestException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts + }); + this.name = "InvalidRequestException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidRequestException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidRequestException, "InvalidRequestException"); +var InvalidRequestException = _InvalidRequestException; +var _InvalidScopeException = class _InvalidScopeException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidScopeException", + $fault: "client", + ...opts + }); + this.name = "InvalidScopeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidScopeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidScopeException, "InvalidScopeException"); +var InvalidScopeException = _InvalidScopeException; +var _SlowDownException = class _SlowDownException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "SlowDownException", + $fault: "client", + ...opts + }); + this.name = "SlowDownException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _SlowDownException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_SlowDownException, "SlowDownException"); +var SlowDownException = _SlowDownException; +var _UnauthorizedClientException = class _UnauthorizedClientException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "UnauthorizedClientException", + $fault: "client", + ...opts + }); + this.name = "UnauthorizedClientException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _UnauthorizedClientException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_UnauthorizedClientException, "UnauthorizedClientException"); +var UnauthorizedClientException = _UnauthorizedClientException; +var _UnsupportedGrantTypeException = class _UnsupportedGrantTypeException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "UnsupportedGrantTypeException", + $fault: "client", + ...opts + }); + this.name = "UnsupportedGrantTypeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _UnsupportedGrantTypeException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_UnsupportedGrantTypeException, "UnsupportedGrantTypeException"); +var UnsupportedGrantTypeException = _UnsupportedGrantTypeException; +var _InvalidRequestRegionException = class _InvalidRequestRegionException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidRequestRegionException", + $fault: "client", + ...opts + }); + this.name = "InvalidRequestRegionException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidRequestRegionException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + this.endpoint = opts.endpoint; + this.region = opts.region; + } +}; +__name(_InvalidRequestRegionException, "InvalidRequestRegionException"); +var InvalidRequestRegionException = _InvalidRequestRegionException; +var _InvalidClientMetadataException = class _InvalidClientMetadataException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidClientMetadataException", + $fault: "client", + ...opts + }); + this.name = "InvalidClientMetadataException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidClientMetadataException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidClientMetadataException, "InvalidClientMetadataException"); +var InvalidClientMetadataException = _InvalidClientMetadataException; +var _InvalidRedirectUriException = class _InvalidRedirectUriException extends SSOOIDCServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidRedirectUriException", + $fault: "client", + ...opts + }); + this.name = "InvalidRedirectUriException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidRedirectUriException.prototype); + this.error = opts.error; + this.error_description = opts.error_description; + } +}; +__name(_InvalidRedirectUriException, "InvalidRedirectUriException"); +var InvalidRedirectUriException = _InvalidRedirectUriException; +var CreateTokenRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING }, + ...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.codeVerifier && { codeVerifier: import_smithy_client.SENSITIVE_STRING } +}), "CreateTokenRequestFilterSensitiveLog"); +var CreateTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING } +}), "CreateTokenResponseFilterSensitiveLog"); +var CreateTokenWithIAMRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.assertion && { assertion: import_smithy_client.SENSITIVE_STRING }, + ...obj.subjectToken && { subjectToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.codeVerifier && { codeVerifier: import_smithy_client.SENSITIVE_STRING } +}), "CreateTokenWithIAMRequestFilterSensitiveLog"); +var CreateTokenWithIAMResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.refreshToken && { refreshToken: import_smithy_client.SENSITIVE_STRING }, + ...obj.idToken && { idToken: import_smithy_client.SENSITIVE_STRING } +}), "CreateTokenWithIAMResponseFilterSensitiveLog"); +var RegisterClientResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING } +}), "RegisterClientResponseFilterSensitiveLog"); +var StartDeviceAuthorizationRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.clientSecret && { clientSecret: import_smithy_client.SENSITIVE_STRING } +}), "StartDeviceAuthorizationRequestFilterSensitiveLog"); + +// src/protocols/Aws_restJson1.ts +var import_core2 = __nccwpck_require__(9963); + + +var se_CreateTokenCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = { + "content-type": "application/json" + }; + b.bp("/token"); + let body; + body = JSON.stringify( + (0, import_smithy_client.take)(input, { + clientId: [], + clientSecret: [], + code: [], + codeVerifier: [], + deviceCode: [], + grantType: [], + redirectUri: [], + refreshToken: [], + scope: (_) => (0, import_smithy_client._json)(_) + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}, "se_CreateTokenCommand"); +var se_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = { + "content-type": "application/json" + }; + b.bp("/token"); + const query = (0, import_smithy_client.map)({ + [_ai]: [, "t"] + }); + let body; + body = JSON.stringify( + (0, import_smithy_client.take)(input, { + assertion: [], + clientId: [], + code: [], + codeVerifier: [], + grantType: [], + redirectUri: [], + refreshToken: [], + requestedTokenType: [], + scope: (_) => (0, import_smithy_client._json)(_), + subjectToken: [], + subjectTokenType: [] + }) + ); + b.m("POST").h(headers).q(query).b(body); + return b.build(); +}, "se_CreateTokenWithIAMCommand"); +var se_RegisterClientCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = { + "content-type": "application/json" + }; + b.bp("/client/register"); + let body; + body = JSON.stringify( + (0, import_smithy_client.take)(input, { + clientName: [], + clientType: [], + entitledApplicationArn: [], + grantTypes: (_) => (0, import_smithy_client._json)(_), + issuerUrl: [], + redirectUris: (_) => (0, import_smithy_client._json)(_), + scopes: (_) => (0, import_smithy_client._json)(_) + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}, "se_RegisterClientCommand"); +var se_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = { + "content-type": "application/json" + }; + b.bp("/device_authorization"); + let body; + body = JSON.stringify( + (0, import_smithy_client.take)(input, { + clientId: [], + clientSecret: [], + startUrl: [] + }) + ); + b.m("POST").h(headers).b(body); + return b.build(); +}, "se_StartDeviceAuthorizationCommand"); +var de_CreateTokenCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + accessToken: import_smithy_client.expectString, + expiresIn: import_smithy_client.expectInt32, + idToken: import_smithy_client.expectString, + refreshToken: import_smithy_client.expectString, + tokenType: import_smithy_client.expectString + }); + Object.assign(contents, doc); + return contents; +}, "de_CreateTokenCommand"); +var de_CreateTokenWithIAMCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + accessToken: import_smithy_client.expectString, + expiresIn: import_smithy_client.expectInt32, + idToken: import_smithy_client.expectString, + issuedTokenType: import_smithy_client.expectString, + refreshToken: import_smithy_client.expectString, + scope: import_smithy_client._json, + tokenType: import_smithy_client.expectString + }); + Object.assign(contents, doc); + return contents; +}, "de_CreateTokenWithIAMCommand"); +var de_RegisterClientCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + authorizationEndpoint: import_smithy_client.expectString, + clientId: import_smithy_client.expectString, + clientIdIssuedAt: import_smithy_client.expectLong, + clientSecret: import_smithy_client.expectString, + clientSecretExpiresAt: import_smithy_client.expectLong, + tokenEndpoint: import_smithy_client.expectString + }); + Object.assign(contents, doc); + return contents; +}, "de_RegisterClientCommand"); +var de_StartDeviceAuthorizationCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + deviceCode: import_smithy_client.expectString, + expiresIn: import_smithy_client.expectInt32, + interval: import_smithy_client.expectInt32, + userCode: import_smithy_client.expectString, + verificationUri: import_smithy_client.expectString, + verificationUriComplete: import_smithy_client.expectString + }); + Object.assign(contents, doc); + return contents; +}, "de_StartDeviceAuthorizationCommand"); +var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { + const parsedOutput = { + ...output, + body: await (0, import_core2.parseJsonErrorBody)(output.body, context) + }; + const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); + switch (errorCode) { + case "AccessDeniedException": + case "com.amazonaws.ssooidc#AccessDeniedException": + throw await de_AccessDeniedExceptionRes(parsedOutput, context); + case "AuthorizationPendingException": + case "com.amazonaws.ssooidc#AuthorizationPendingException": + throw await de_AuthorizationPendingExceptionRes(parsedOutput, context); + case "ExpiredTokenException": + case "com.amazonaws.ssooidc#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "InternalServerException": + case "com.amazonaws.ssooidc#InternalServerException": + throw await de_InternalServerExceptionRes(parsedOutput, context); + case "InvalidClientException": + case "com.amazonaws.ssooidc#InvalidClientException": + throw await de_InvalidClientExceptionRes(parsedOutput, context); + case "InvalidGrantException": + case "com.amazonaws.ssooidc#InvalidGrantException": + throw await de_InvalidGrantExceptionRes(parsedOutput, context); + case "InvalidRequestException": + case "com.amazonaws.ssooidc#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "InvalidScopeException": + case "com.amazonaws.ssooidc#InvalidScopeException": + throw await de_InvalidScopeExceptionRes(parsedOutput, context); + case "SlowDownException": + case "com.amazonaws.ssooidc#SlowDownException": + throw await de_SlowDownExceptionRes(parsedOutput, context); + case "UnauthorizedClientException": + case "com.amazonaws.ssooidc#UnauthorizedClientException": + throw await de_UnauthorizedClientExceptionRes(parsedOutput, context); + case "UnsupportedGrantTypeException": + case "com.amazonaws.ssooidc#UnsupportedGrantTypeException": + throw await de_UnsupportedGrantTypeExceptionRes(parsedOutput, context); + case "InvalidRequestRegionException": + case "com.amazonaws.ssooidc#InvalidRequestRegionException": + throw await de_InvalidRequestRegionExceptionRes(parsedOutput, context); + case "InvalidClientMetadataException": + case "com.amazonaws.ssooidc#InvalidClientMetadataException": + throw await de_InvalidClientMetadataExceptionRes(parsedOutput, context); + case "InvalidRedirectUriException": + case "com.amazonaws.ssooidc#InvalidRedirectUriException": + throw await de_InvalidRedirectUriExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } +}, "de_CommandError"); +var throwDefaultError = (0, import_smithy_client.withBaseException)(SSOOIDCServiceException); +var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new AccessDeniedException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_AccessDeniedExceptionRes"); +var de_AuthorizationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new AuthorizationPendingException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_AuthorizationPendingExceptionRes"); +var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new ExpiredTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_ExpiredTokenExceptionRes"); +var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InternalServerException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InternalServerExceptionRes"); +var de_InvalidClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidClientException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidClientExceptionRes"); +var de_InvalidClientMetadataExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidClientMetadataException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidClientMetadataExceptionRes"); +var de_InvalidGrantExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidGrantException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidGrantExceptionRes"); +var de_InvalidRedirectUriExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidRedirectUriException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidRedirectUriExceptionRes"); +var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidRequestExceptionRes"); +var de_InvalidRequestRegionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + endpoint: import_smithy_client.expectString, + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString, + region: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidRequestRegionException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidRequestRegionExceptionRes"); +var de_InvalidScopeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidScopeException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidScopeExceptionRes"); +var de_SlowDownExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new SlowDownException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_SlowDownExceptionRes"); +var de_UnauthorizedClientExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new UnauthorizedClientException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_UnauthorizedClientExceptionRes"); +var de_UnsupportedGrantTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + error: import_smithy_client.expectString, + error_description: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new UnsupportedGrantTypeException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_UnsupportedGrantTypeExceptionRes"); +var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] +}), "deserializeMetadata"); +var _ai = "aws_iam"; + +// src/commands/CreateTokenCommand.ts +var _CreateTokenCommand = class _CreateTokenCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSSOOIDCService", "CreateToken", {}).n("SSOOIDCClient", "CreateTokenCommand").f(CreateTokenRequestFilterSensitiveLog, CreateTokenResponseFilterSensitiveLog).ser(se_CreateTokenCommand).de(de_CreateTokenCommand).build() { +}; +__name(_CreateTokenCommand, "CreateTokenCommand"); +var CreateTokenCommand = _CreateTokenCommand; + +// src/commands/CreateTokenWithIAMCommand.ts + + + +var _CreateTokenWithIAMCommand = class _CreateTokenWithIAMCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSSOOIDCService", "CreateTokenWithIAM", {}).n("SSOOIDCClient", "CreateTokenWithIAMCommand").f(CreateTokenWithIAMRequestFilterSensitiveLog, CreateTokenWithIAMResponseFilterSensitiveLog).ser(se_CreateTokenWithIAMCommand).de(de_CreateTokenWithIAMCommand).build() { +}; +__name(_CreateTokenWithIAMCommand, "CreateTokenWithIAMCommand"); +var CreateTokenWithIAMCommand = _CreateTokenWithIAMCommand; + +// src/commands/RegisterClientCommand.ts + + + +var _RegisterClientCommand = class _RegisterClientCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSSOOIDCService", "RegisterClient", {}).n("SSOOIDCClient", "RegisterClientCommand").f(void 0, RegisterClientResponseFilterSensitiveLog).ser(se_RegisterClientCommand).de(de_RegisterClientCommand).build() { +}; +__name(_RegisterClientCommand, "RegisterClientCommand"); +var RegisterClientCommand = _RegisterClientCommand; + +// src/commands/StartDeviceAuthorizationCommand.ts + + + +var _StartDeviceAuthorizationCommand = class _StartDeviceAuthorizationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSSOOIDCService", "StartDeviceAuthorization", {}).n("SSOOIDCClient", "StartDeviceAuthorizationCommand").f(StartDeviceAuthorizationRequestFilterSensitiveLog, void 0).ser(se_StartDeviceAuthorizationCommand).de(de_StartDeviceAuthorizationCommand).build() { +}; +__name(_StartDeviceAuthorizationCommand, "StartDeviceAuthorizationCommand"); +var StartDeviceAuthorizationCommand = _StartDeviceAuthorizationCommand; + +// src/SSOOIDC.ts +var commands = { + CreateTokenCommand, + CreateTokenWithIAMCommand, + RegisterClientCommand, + StartDeviceAuthorizationCommand +}; +var _SSOOIDC = class _SSOOIDC extends SSOOIDCClient { +}; +__name(_SSOOIDC, "SSOOIDC"); +var SSOOIDC = _SSOOIDC; +(0, import_smithy_client.createAggregatedClient)(commands, SSOOIDC); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5524: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __nccwpck_require__(4351); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(9722)); +const core_1 = __nccwpck_require__(9963); +const credential_provider_node_1 = __nccwpck_require__(5531); +const util_user_agent_node_1 = __nccwpck_require__(8095); +const config_resolver_1 = __nccwpck_require__(3098); +const hash_node_1 = __nccwpck_require__(3081); +const middleware_retry_1 = __nccwpck_require__(6039); +const node_config_provider_1 = __nccwpck_require__(3461); +const node_http_handler_1 = __nccwpck_require__(258); +const util_body_length_node_1 = __nccwpck_require__(8075); +const util_retry_1 = __nccwpck_require__(4902); +const runtimeConfig_shared_1 = __nccwpck_require__(8005); +const smithy_client_1 = __nccwpck_require__(3570); +const util_defaults_mode_node_1 = __nccwpck_require__(2429); +const smithy_client_2 = __nccwpck_require__(3570); +const getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, core_1.emitWarningIfUnsupportedVersion)(process.version); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 8005: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const core_1 = __nccwpck_require__(9963); +const core_2 = __nccwpck_require__(5829); +const smithy_client_1 = __nccwpck_require__(3570); +const url_parser_1 = __nccwpck_require__(4681); +const util_base64_1 = __nccwpck_require__(5600); +const util_utf8_1 = __nccwpck_require__(1895); +const httpAuthSchemeProvider_1 = __nccwpck_require__(6948); +const endpointResolver_1 = __nccwpck_require__(7604); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOOIDCHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new core_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_2.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "SSO OIDC", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 9344: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = void 0; +const core_1 = __nccwpck_require__(9963); +const util_middleware_1 = __nccwpck_require__(2390); +const defaultSSOHttpAuthSchemeParametersProvider = 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`"); + })(), + }; +}; +exports.defaultSSOHttpAuthSchemeParametersProvider = defaultSSOHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "awsssoportal", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSSOHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "GetRoleCredentials": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "ListAccountRoles": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "ListAccounts": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "Logout": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSSOHttpAuthSchemeProvider = defaultSSOHttpAuthSchemeProvider; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config); + return { + ...config_0, + }; +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 898: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +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__(3341); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 3341: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +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://portal.sso-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://portal.sso.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://portal.sso-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://portal.sso.{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://portal.sso.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; +exports.ruleSet = _data; + + +/***/ }), + +/***/ 2666: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + GetRoleCredentialsCommand: () => GetRoleCredentialsCommand, + GetRoleCredentialsRequestFilterSensitiveLog: () => GetRoleCredentialsRequestFilterSensitiveLog, + GetRoleCredentialsResponseFilterSensitiveLog: () => GetRoleCredentialsResponseFilterSensitiveLog, + InvalidRequestException: () => InvalidRequestException, + ListAccountRolesCommand: () => ListAccountRolesCommand, + ListAccountRolesRequestFilterSensitiveLog: () => ListAccountRolesRequestFilterSensitiveLog, + ListAccountsCommand: () => ListAccountsCommand, + ListAccountsRequestFilterSensitiveLog: () => ListAccountsRequestFilterSensitiveLog, + LogoutCommand: () => LogoutCommand, + LogoutRequestFilterSensitiveLog: () => LogoutRequestFilterSensitiveLog, + ResourceNotFoundException: () => ResourceNotFoundException, + RoleCredentialsFilterSensitiveLog: () => RoleCredentialsFilterSensitiveLog, + SSO: () => SSO, + SSOClient: () => SSOClient, + SSOServiceException: () => SSOServiceException, + TooManyRequestsException: () => TooManyRequestsException, + UnauthorizedException: () => UnauthorizedException, + __Client: () => import_smithy_client.Client, + paginateListAccountRoles: () => paginateListAccountRoles, + paginateListAccounts: () => paginateListAccounts +}); +module.exports = __toCommonJS(src_exports); + +// src/SSOClient.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__(9344); + +// src/endpoint/EndpointParameters.ts +var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + defaultSigningName: "awsssoportal" + }; +}, "resolveClientEndpointParameters"); +var commonParams = { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } +}; + +// src/SSOClient.ts +var import_runtimeConfig = __nccwpck_require__(9756); + +// 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); + +// 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/SSOClient.ts +var _SSOClient = class _SSOClient 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_middleware_user_agent.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2); + const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3); + const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5); + const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []); + super(_config_8); + this.config = _config_8; + this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use( + (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSSOHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials + }) + }) + ); + 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(); + } +}; +__name(_SSOClient, "SSOClient"); +var SSOClient = _SSOClient; + +// src/SSO.ts + + +// src/commands/GetRoleCredentialsCommand.ts + +var import_middleware_serde = __nccwpck_require__(1238); + + +// src/models/models_0.ts + + +// src/models/SSOServiceException.ts + +var _SSOServiceException = class _SSOServiceException extends import_smithy_client.ServiceException { + /** + * @internal + */ + constructor(options) { + super(options); + Object.setPrototypeOf(this, _SSOServiceException.prototype); + } +}; +__name(_SSOServiceException, "SSOServiceException"); +var SSOServiceException = _SSOServiceException; + +// src/models/models_0.ts +var _InvalidRequestException = class _InvalidRequestException extends SSOServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidRequestException", + $fault: "client", + ...opts + }); + this.name = "InvalidRequestException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidRequestException.prototype); + } +}; +__name(_InvalidRequestException, "InvalidRequestException"); +var InvalidRequestException = _InvalidRequestException; +var _ResourceNotFoundException = class _ResourceNotFoundException extends SSOServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "ResourceNotFoundException", + $fault: "client", + ...opts + }); + this.name = "ResourceNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ResourceNotFoundException.prototype); + } +}; +__name(_ResourceNotFoundException, "ResourceNotFoundException"); +var ResourceNotFoundException = _ResourceNotFoundException; +var _TooManyRequestsException = class _TooManyRequestsException extends SSOServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "TooManyRequestsException", + $fault: "client", + ...opts + }); + this.name = "TooManyRequestsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _TooManyRequestsException.prototype); + } +}; +__name(_TooManyRequestsException, "TooManyRequestsException"); +var TooManyRequestsException = _TooManyRequestsException; +var _UnauthorizedException = class _UnauthorizedException extends SSOServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "UnauthorizedException", + $fault: "client", + ...opts + }); + this.name = "UnauthorizedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _UnauthorizedException.prototype); + } +}; +__name(_UnauthorizedException, "UnauthorizedException"); +var UnauthorizedException = _UnauthorizedException; +var GetRoleCredentialsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING } +}), "GetRoleCredentialsRequestFilterSensitiveLog"); +var RoleCredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.secretAccessKey && { secretAccessKey: import_smithy_client.SENSITIVE_STRING }, + ...obj.sessionToken && { sessionToken: import_smithy_client.SENSITIVE_STRING } +}), "RoleCredentialsFilterSensitiveLog"); +var GetRoleCredentialsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.roleCredentials && { roleCredentials: RoleCredentialsFilterSensitiveLog(obj.roleCredentials) } +}), "GetRoleCredentialsResponseFilterSensitiveLog"); +var ListAccountRolesRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING } +}), "ListAccountRolesRequestFilterSensitiveLog"); +var ListAccountsRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING } +}), "ListAccountsRequestFilterSensitiveLog"); +var LogoutRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.accessToken && { accessToken: import_smithy_client.SENSITIVE_STRING } +}), "LogoutRequestFilterSensitiveLog"); + +// src/protocols/Aws_restJson1.ts +var import_core2 = __nccwpck_require__(9963); + + +var se_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { + [_xasbt]: input[_aT] + }); + b.bp("/federation/credentials"); + const query = (0, import_smithy_client.map)({ + [_rn]: [, (0, import_smithy_client.expectNonNull)(input[_rN], `roleName`)], + [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)] + }); + let body; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}, "se_GetRoleCredentialsCommand"); +var se_ListAccountRolesCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { + [_xasbt]: input[_aT] + }); + b.bp("/assignment/roles"); + const query = (0, import_smithy_client.map)({ + [_nt]: [, input[_nT]], + [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()], + [_ai]: [, (0, import_smithy_client.expectNonNull)(input[_aI], `accountId`)] + }); + let body; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}, "se_ListAccountRolesCommand"); +var se_ListAccountsCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { + [_xasbt]: input[_aT] + }); + b.bp("/assignment/accounts"); + const query = (0, import_smithy_client.map)({ + [_nt]: [, input[_nT]], + [_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()] + }); + let body; + b.m("GET").h(headers).q(query).b(body); + return b.build(); +}, "se_ListAccountsCommand"); +var se_LogoutCommand = /* @__PURE__ */ __name(async (input, context) => { + const b = (0, import_core.requestBuilder)(input, context); + const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, { + [_xasbt]: input[_aT] + }); + b.bp("/logout"); + let body; + b.m("POST").h(headers).b(body); + return b.build(); +}, "se_LogoutCommand"); +var de_GetRoleCredentialsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + roleCredentials: import_smithy_client._json + }); + Object.assign(contents, doc); + return contents; +}, "de_GetRoleCredentialsCommand"); +var de_ListAccountRolesCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + nextToken: import_smithy_client.expectString, + roleList: import_smithy_client._json + }); + Object.assign(contents, doc); + return contents; +}, "de_ListAccountRolesCommand"); +var de_ListAccountsCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body"); + const doc = (0, import_smithy_client.take)(data, { + accountList: import_smithy_client._json, + nextToken: import_smithy_client.expectString + }); + Object.assign(contents, doc); + return contents; +}, "de_ListAccountsCommand"); +var de_LogoutCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode !== 200 && output.statusCode >= 300) { + return de_CommandError(output, context); + } + const contents = (0, import_smithy_client.map)({ + $metadata: deserializeMetadata(output) + }); + await (0, import_smithy_client.collectBody)(output.body, context); + return contents; +}, "de_LogoutCommand"); +var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { + const parsedOutput = { + ...output, + body: await (0, import_core2.parseJsonErrorBody)(output.body, context) + }; + const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body); + switch (errorCode) { + case "InvalidRequestException": + case "com.amazonaws.sso#InvalidRequestException": + throw await de_InvalidRequestExceptionRes(parsedOutput, context); + case "ResourceNotFoundException": + case "com.amazonaws.sso#ResourceNotFoundException": + throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); + case "TooManyRequestsException": + case "com.amazonaws.sso#TooManyRequestsException": + throw await de_TooManyRequestsExceptionRes(parsedOutput, context); + case "UnauthorizedException": + case "com.amazonaws.sso#UnauthorizedException": + throw await de_UnauthorizedExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode + }); + } +}, "de_CommandError"); +var throwDefaultError = (0, import_smithy_client.withBaseException)(SSOServiceException); +var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + message: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new InvalidRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_InvalidRequestExceptionRes"); +var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + message: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new ResourceNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_ResourceNotFoundExceptionRes"); +var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + message: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new TooManyRequestsException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_TooManyRequestsExceptionRes"); +var de_UnauthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const contents = (0, import_smithy_client.map)({}); + const data = parsedOutput.body; + const doc = (0, import_smithy_client.take)(data, { + message: import_smithy_client.expectString + }); + Object.assign(contents, doc); + const exception = new UnauthorizedException({ + $metadata: deserializeMetadata(parsedOutput), + ...contents + }); + return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body); +}, "de_UnauthorizedExceptionRes"); +var deserializeMetadata = /* @__PURE__ */ __name((output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"] +}), "deserializeMetadata"); +var _aI = "accountId"; +var _aT = "accessToken"; +var _ai = "account_id"; +var _mR = "maxResults"; +var _mr = "max_result"; +var _nT = "nextToken"; +var _nt = "next_token"; +var _rN = "roleName"; +var _rn = "role_name"; +var _xasbt = "x-amz-sso_bearer_token"; + +// src/commands/GetRoleCredentialsCommand.ts +var _GetRoleCredentialsCommand = class _GetRoleCredentialsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("SWBPortalService", "GetRoleCredentials", {}).n("SSOClient", "GetRoleCredentialsCommand").f(GetRoleCredentialsRequestFilterSensitiveLog, GetRoleCredentialsResponseFilterSensitiveLog).ser(se_GetRoleCredentialsCommand).de(de_GetRoleCredentialsCommand).build() { +}; +__name(_GetRoleCredentialsCommand, "GetRoleCredentialsCommand"); +var GetRoleCredentialsCommand = _GetRoleCredentialsCommand; + +// src/commands/ListAccountRolesCommand.ts + + + +var _ListAccountRolesCommand = class _ListAccountRolesCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("SWBPortalService", "ListAccountRoles", {}).n("SSOClient", "ListAccountRolesCommand").f(ListAccountRolesRequestFilterSensitiveLog, void 0).ser(se_ListAccountRolesCommand).de(de_ListAccountRolesCommand).build() { +}; +__name(_ListAccountRolesCommand, "ListAccountRolesCommand"); +var ListAccountRolesCommand = _ListAccountRolesCommand; + +// src/commands/ListAccountsCommand.ts + + + +var _ListAccountsCommand = class _ListAccountsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("SWBPortalService", "ListAccounts", {}).n("SSOClient", "ListAccountsCommand").f(ListAccountsRequestFilterSensitiveLog, void 0).ser(se_ListAccountsCommand).de(de_ListAccountsCommand).build() { +}; +__name(_ListAccountsCommand, "ListAccountsCommand"); +var ListAccountsCommand = _ListAccountsCommand; + +// src/commands/LogoutCommand.ts + + + +var _LogoutCommand = class _LogoutCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("SWBPortalService", "Logout", {}).n("SSOClient", "LogoutCommand").f(LogoutRequestFilterSensitiveLog, void 0).ser(se_LogoutCommand).de(de_LogoutCommand).build() { +}; +__name(_LogoutCommand, "LogoutCommand"); +var LogoutCommand = _LogoutCommand; + +// src/SSO.ts +var commands = { + GetRoleCredentialsCommand, + ListAccountRolesCommand, + ListAccountsCommand, + LogoutCommand +}; +var _SSO = class _SSO extends SSOClient { +}; +__name(_SSO, "SSO"); +var SSO = _SSO; +(0, import_smithy_client.createAggregatedClient)(commands, SSO); + +// src/pagination/ListAccountRolesPaginator.ts + +var paginateListAccountRoles = (0, import_core.createPaginator)(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults"); + +// src/pagination/ListAccountsPaginator.ts + +var paginateListAccounts = (0, import_core.createPaginator)(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 9756: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __nccwpck_require__(4351); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(1092)); +const core_1 = __nccwpck_require__(9963); +const util_user_agent_node_1 = __nccwpck_require__(8095); +const config_resolver_1 = __nccwpck_require__(3098); +const hash_node_1 = __nccwpck_require__(3081); +const middleware_retry_1 = __nccwpck_require__(6039); +const node_config_provider_1 = __nccwpck_require__(3461); +const node_http_handler_1 = __nccwpck_require__(258); +const util_body_length_node_1 = __nccwpck_require__(8075); +const util_retry_1 = __nccwpck_require__(4902); +const runtimeConfig_shared_1 = __nccwpck_require__(4809); +const smithy_client_1 = __nccwpck_require__(3570); +const util_defaults_mode_node_1 = __nccwpck_require__(2429); +const smithy_client_2 = __nccwpck_require__(3570); +const getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, core_1.emitWarningIfUnsupportedVersion)(process.version); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 4809: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const core_1 = __nccwpck_require__(9963); +const core_2 = __nccwpck_require__(5829); +const smithy_client_1 = __nccwpck_require__(3570); +const url_parser_1 = __nccwpck_require__(4681); +const util_base64_1 = __nccwpck_require__(5600); +const util_utf8_1 = __nccwpck_require__(1895); +const httpAuthSchemeProvider_1 = __nccwpck_require__(9344); +const endpointResolver_1 = __nccwpck_require__(898); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2019-06-10", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSSOHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new core_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_2.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "SSO", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 4195: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.STSClient = exports.__Client = void 0; +const middleware_host_header_1 = __nccwpck_require__(2545); +const middleware_logger_1 = __nccwpck_require__(14); +const middleware_recursion_detection_1 = __nccwpck_require__(5525); +const middleware_user_agent_1 = __nccwpck_require__(4688); +const config_resolver_1 = __nccwpck_require__(3098); +const core_1 = __nccwpck_require__(5829); +const middleware_content_length_1 = __nccwpck_require__(2800); +const middleware_endpoint_1 = __nccwpck_require__(2918); +const middleware_retry_1 = __nccwpck_require__(6039); +const smithy_client_1 = __nccwpck_require__(3570); +Object.defineProperty(exports, "__Client", ({ enumerable: true, get: function () { return smithy_client_1.Client; } })); +const httpAuthSchemeProvider_1 = __nccwpck_require__(7145); +const EndpointParameters_1 = __nccwpck_require__(510); +const runtimeConfig_1 = __nccwpck_require__(3405); +const runtimeExtensions_1 = __nccwpck_require__(2053); +class STSClient extends smithy_client_1.Client { + constructor(...[configuration]) { + const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); + const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); + const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1); + const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2); + const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3); + const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); + const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5); + const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6); + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; + this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config)); + this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); + this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); + this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); + this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config)); + this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config)); + this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, { + httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeParametersProvider, + identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({ + "aws.auth#sigv4": config.credentials, + }), + })); + this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config)); + } + destroy() { + super.destroy(); + } +} +exports.STSClient = STSClient; + + +/***/ }), + +/***/ 8527: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0; +const getHttpAuthExtensionConfiguration = (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; + }, + }; +}; +exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration; +const resolveHttpAuthRuntimeConfig = (config) => { + return { + httpAuthSchemes: config.httpAuthSchemes(), + httpAuthSchemeProvider: config.httpAuthSchemeProvider(), + credentials: config.credentials(), + }; +}; +exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig; + + +/***/ }), + +/***/ 7145: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = void 0; +const core_1 = __nccwpck_require__(9963); +const util_middleware_1 = __nccwpck_require__(2390); +const STSClient_1 = __nccwpck_require__(4195); +const defaultSTSHttpAuthSchemeParametersProvider = 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`"); + })(), + }; +}; +exports.defaultSTSHttpAuthSchemeParametersProvider = defaultSTSHttpAuthSchemeParametersProvider; +function createAwsAuthSigv4HttpAuthOption(authParameters) { + return { + schemeId: "aws.auth#sigv4", + signingProperties: { + name: "sts", + region: authParameters.region, + }, + propertiesExtractor: (config, context) => ({ + signingProperties: { + config, + context, + }, + }), + }; +} +function createSmithyApiNoAuthHttpAuthOption(authParameters) { + return { + schemeId: "smithy.api#noAuth", + }; +} +const defaultSTSHttpAuthSchemeProvider = (authParameters) => { + const options = []; + switch (authParameters.operation) { + case "AssumeRoleWithSAML": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + case "AssumeRoleWithWebIdentity": { + options.push(createSmithyApiNoAuthHttpAuthOption(authParameters)); + break; + } + default: { + options.push(createAwsAuthSigv4HttpAuthOption(authParameters)); + } + } + return options; +}; +exports.defaultSTSHttpAuthSchemeProvider = defaultSTSHttpAuthSchemeProvider; +const resolveStsAuthConfig = (input) => ({ + ...input, + stsClientCtor: STSClient_1.STSClient, +}); +exports.resolveStsAuthConfig = resolveStsAuthConfig; +const resolveHttpAuthSchemeConfig = (config) => { + const config_0 = (0, exports.resolveStsAuthConfig)(config); + const config_1 = (0, core_1.resolveAwsSdkSigV4Config)(config_0); + return { + ...config_1, + }; +}; +exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig; + + +/***/ }), + +/***/ 510: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.commonParams = exports.resolveClientEndpointParameters = void 0; +const resolveClientEndpointParameters = (options) => { + return { + ...options, + useDualstackEndpoint: options.useDualstackEndpoint ?? false, + useFipsEndpoint: options.useFipsEndpoint ?? false, + useGlobalEndpoint: options.useGlobalEndpoint ?? false, + defaultSigningName: "sts", + }; +}; +exports.resolveClientEndpointParameters = resolveClientEndpointParameters; +exports.commonParams = { + UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" }, + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, +}; + + +/***/ }), + +/***/ 1203: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +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__(6882); +const cache = new util_endpoints_2.EndpointCache({ + size: 50, + params: ["Endpoint", "Region", "UseDualStack", "UseFIPS", "UseGlobalEndpoint"], +}); +const defaultEndpointResolver = (endpointParams, context = {}) => { + return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, { + endpointParams: endpointParams, + logger: context.logger, + })); +}; +exports.defaultEndpointResolver = defaultEndpointResolver; +util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions; + + +/***/ }), + +/***/ 6882: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ruleSet = void 0; +const F = "required", G = "type", H = "fn", I = "argv", J = "ref"; +const a = false, b = true, c = "booleanEquals", d = "stringEquals", e = "sigv4", f = "sts", g = "us-east-1", h = "endpoint", i = "https://sts.{Region}.{PartitionResult#dnsSuffix}", j = "tree", k = "error", l = "getAttr", m = { [F]: false, [G]: "String" }, n = { [F]: true, "default": false, [G]: "Boolean" }, o = { [J]: "Endpoint" }, p = { [H]: "isSet", [I]: [{ [J]: "Region" }] }, q = { [J]: "Region" }, r = { [H]: "aws.partition", [I]: [q], "assign": "PartitionResult" }, s = { [J]: "UseFIPS" }, t = { [J]: "UseDualStack" }, u = { "url": "https://sts.amazonaws.com", "properties": { "authSchemes": [{ "name": e, "signingName": f, "signingRegion": g }] }, "headers": {} }, v = {}, w = { "conditions": [{ [H]: d, [I]: [q, "aws-global"] }], [h]: u, [G]: h }, x = { [H]: c, [I]: [s, true] }, y = { [H]: c, [I]: [t, true] }, z = { [H]: l, [I]: [{ [J]: "PartitionResult" }, "supportsFIPS"] }, A = { [J]: "PartitionResult" }, B = { [H]: c, [I]: [true, { [H]: l, [I]: [A, "supportsDualStack"] }] }, C = [{ [H]: "isSet", [I]: [o] }], D = [x], E = [y]; +const _data = { version: "1.0", parameters: { Region: m, UseDualStack: n, UseFIPS: n, Endpoint: m, UseGlobalEndpoint: n }, rules: [{ conditions: [{ [H]: c, [I]: [{ [J]: "UseGlobalEndpoint" }, b] }, { [H]: "not", [I]: C }, p, r, { [H]: c, [I]: [s, a] }, { [H]: c, [I]: [t, a] }], rules: [{ conditions: [{ [H]: d, [I]: [q, "ap-northeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-south-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "ap-southeast-2"] }], endpoint: u, [G]: h }, w, { conditions: [{ [H]: d, [I]: [q, "ca-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-central-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-north-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "eu-west-3"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "sa-east-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, g] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-east-2"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-1"] }], endpoint: u, [G]: h }, { conditions: [{ [H]: d, [I]: [q, "us-west-2"] }], endpoint: u, [G]: h }, { endpoint: { url: i, properties: { authSchemes: [{ name: e, signingName: f, signingRegion: "{Region}" }] }, headers: v }, [G]: h }], [G]: j }, { conditions: C, rules: [{ conditions: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: k }, { conditions: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: k }, { endpoint: { url: o, properties: v, headers: v }, [G]: h }], [G]: j }, { conditions: [p], rules: [{ conditions: [r], rules: [{ conditions: [x, y], rules: [{ conditions: [{ [H]: c, [I]: [b, z] }, B], rules: [{ endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: k }], [G]: j }, { conditions: D, rules: [{ conditions: [{ [H]: c, [I]: [z, b] }], rules: [{ conditions: [{ [H]: d, [I]: [{ [H]: l, [I]: [A, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://sts.{Region}.amazonaws.com", properties: v, headers: v }, [G]: h }, { endpoint: { url: "https://sts-fips.{Region}.{PartitionResult#dnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "FIPS is enabled but this partition does not support FIPS", [G]: k }], [G]: j }, { conditions: E, rules: [{ conditions: [B], rules: [{ endpoint: { url: "https://sts.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: v, headers: v }, [G]: h }], [G]: j }, { error: "DualStack is enabled but this partition does not support DualStack", [G]: k }], [G]: j }, w, { endpoint: { url: i, properties: v, headers: v }, [G]: h }], [G]: j }], [G]: j }, { error: "Invalid Configuration: Missing Region", [G]: k }] }; +exports.ruleSet = _data; + + +/***/ }), + +/***/ 2209: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AssumeRoleCommand: () => AssumeRoleCommand, + AssumeRoleResponseFilterSensitiveLog: () => AssumeRoleResponseFilterSensitiveLog, + AssumeRoleWithSAMLCommand: () => AssumeRoleWithSAMLCommand, + AssumeRoleWithSAMLRequestFilterSensitiveLog: () => AssumeRoleWithSAMLRequestFilterSensitiveLog, + AssumeRoleWithSAMLResponseFilterSensitiveLog: () => AssumeRoleWithSAMLResponseFilterSensitiveLog, + AssumeRoleWithWebIdentityCommand: () => AssumeRoleWithWebIdentityCommand, + AssumeRoleWithWebIdentityRequestFilterSensitiveLog: () => AssumeRoleWithWebIdentityRequestFilterSensitiveLog, + AssumeRoleWithWebIdentityResponseFilterSensitiveLog: () => AssumeRoleWithWebIdentityResponseFilterSensitiveLog, + AssumeRootCommand: () => AssumeRootCommand, + AssumeRootResponseFilterSensitiveLog: () => AssumeRootResponseFilterSensitiveLog, + ClientInputEndpointParameters: () => import_EndpointParameters10.ClientInputEndpointParameters, + CredentialsFilterSensitiveLog: () => CredentialsFilterSensitiveLog, + DecodeAuthorizationMessageCommand: () => DecodeAuthorizationMessageCommand, + ExpiredTokenException: () => ExpiredTokenException, + GetAccessKeyInfoCommand: () => GetAccessKeyInfoCommand, + GetCallerIdentityCommand: () => GetCallerIdentityCommand, + GetFederationTokenCommand: () => GetFederationTokenCommand, + GetFederationTokenResponseFilterSensitiveLog: () => GetFederationTokenResponseFilterSensitiveLog, + GetSessionTokenCommand: () => GetSessionTokenCommand, + GetSessionTokenResponseFilterSensitiveLog: () => GetSessionTokenResponseFilterSensitiveLog, + IDPCommunicationErrorException: () => IDPCommunicationErrorException, + IDPRejectedClaimException: () => IDPRejectedClaimException, + InvalidAuthorizationMessageException: () => InvalidAuthorizationMessageException, + InvalidIdentityTokenException: () => InvalidIdentityTokenException, + MalformedPolicyDocumentException: () => MalformedPolicyDocumentException, + PackedPolicyTooLargeException: () => PackedPolicyTooLargeException, + RegionDisabledException: () => RegionDisabledException, + STS: () => STS, + STSServiceException: () => STSServiceException, + decorateDefaultCredentialProvider: () => decorateDefaultCredentialProvider, + getDefaultRoleAssumer: () => getDefaultRoleAssumer2, + getDefaultRoleAssumerWithWebIdentity: () => getDefaultRoleAssumerWithWebIdentity2 +}); +module.exports = __toCommonJS(src_exports); +__reExport(src_exports, __nccwpck_require__(4195), module.exports); + +// src/STS.ts + + +// src/commands/AssumeRoleCommand.ts +var import_middleware_endpoint = __nccwpck_require__(2918); +var import_middleware_serde = __nccwpck_require__(1238); + +var import_EndpointParameters = __nccwpck_require__(510); + +// src/models/models_0.ts + + +// src/models/STSServiceException.ts +var import_smithy_client = __nccwpck_require__(3570); +var _STSServiceException = class _STSServiceException extends import_smithy_client.ServiceException { + /** + * @internal + */ + constructor(options) { + super(options); + Object.setPrototypeOf(this, _STSServiceException.prototype); + } +}; +__name(_STSServiceException, "STSServiceException"); +var STSServiceException = _STSServiceException; + +// src/models/models_0.ts +var _ExpiredTokenException = class _ExpiredTokenException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "ExpiredTokenException", + $fault: "client", + ...opts + }); + this.name = "ExpiredTokenException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _ExpiredTokenException.prototype); + } +}; +__name(_ExpiredTokenException, "ExpiredTokenException"); +var ExpiredTokenException = _ExpiredTokenException; +var _MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "MalformedPolicyDocumentException", + $fault: "client", + ...opts + }); + this.name = "MalformedPolicyDocumentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype); + } +}; +__name(_MalformedPolicyDocumentException, "MalformedPolicyDocumentException"); +var MalformedPolicyDocumentException = _MalformedPolicyDocumentException; +var _PackedPolicyTooLargeException = class _PackedPolicyTooLargeException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "PackedPolicyTooLargeException", + $fault: "client", + ...opts + }); + this.name = "PackedPolicyTooLargeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _PackedPolicyTooLargeException.prototype); + } +}; +__name(_PackedPolicyTooLargeException, "PackedPolicyTooLargeException"); +var PackedPolicyTooLargeException = _PackedPolicyTooLargeException; +var _RegionDisabledException = class _RegionDisabledException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "RegionDisabledException", + $fault: "client", + ...opts + }); + this.name = "RegionDisabledException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _RegionDisabledException.prototype); + } +}; +__name(_RegionDisabledException, "RegionDisabledException"); +var RegionDisabledException = _RegionDisabledException; +var _IDPRejectedClaimException = class _IDPRejectedClaimException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "IDPRejectedClaimException", + $fault: "client", + ...opts + }); + this.name = "IDPRejectedClaimException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _IDPRejectedClaimException.prototype); + } +}; +__name(_IDPRejectedClaimException, "IDPRejectedClaimException"); +var IDPRejectedClaimException = _IDPRejectedClaimException; +var _InvalidIdentityTokenException = class _InvalidIdentityTokenException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidIdentityTokenException", + $fault: "client", + ...opts + }); + this.name = "InvalidIdentityTokenException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidIdentityTokenException.prototype); + } +}; +__name(_InvalidIdentityTokenException, "InvalidIdentityTokenException"); +var InvalidIdentityTokenException = _InvalidIdentityTokenException; +var _IDPCommunicationErrorException = class _IDPCommunicationErrorException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "IDPCommunicationErrorException", + $fault: "client", + ...opts + }); + this.name = "IDPCommunicationErrorException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _IDPCommunicationErrorException.prototype); + } +}; +__name(_IDPCommunicationErrorException, "IDPCommunicationErrorException"); +var IDPCommunicationErrorException = _IDPCommunicationErrorException; +var _InvalidAuthorizationMessageException = class _InvalidAuthorizationMessageException extends STSServiceException { + /** + * @internal + */ + constructor(opts) { + super({ + name: "InvalidAuthorizationMessageException", + $fault: "client", + ...opts + }); + this.name = "InvalidAuthorizationMessageException"; + this.$fault = "client"; + Object.setPrototypeOf(this, _InvalidAuthorizationMessageException.prototype); + } +}; +__name(_InvalidAuthorizationMessageException, "InvalidAuthorizationMessageException"); +var InvalidAuthorizationMessageException = _InvalidAuthorizationMessageException; +var CredentialsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SecretAccessKey && { SecretAccessKey: import_smithy_client.SENSITIVE_STRING } +}), "CredentialsFilterSensitiveLog"); +var AssumeRoleResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "AssumeRoleResponseFilterSensitiveLog"); +var AssumeRoleWithSAMLRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.SAMLAssertion && { SAMLAssertion: import_smithy_client.SENSITIVE_STRING } +}), "AssumeRoleWithSAMLRequestFilterSensitiveLog"); +var AssumeRoleWithSAMLResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "AssumeRoleWithSAMLResponseFilterSensitiveLog"); +var AssumeRoleWithWebIdentityRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.WebIdentityToken && { WebIdentityToken: import_smithy_client.SENSITIVE_STRING } +}), "AssumeRoleWithWebIdentityRequestFilterSensitiveLog"); +var AssumeRoleWithWebIdentityResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "AssumeRoleWithWebIdentityResponseFilterSensitiveLog"); +var AssumeRootResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "AssumeRootResponseFilterSensitiveLog"); +var GetFederationTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "GetFederationTokenResponseFilterSensitiveLog"); +var GetSessionTokenResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({ + ...obj, + ...obj.Credentials && { Credentials: CredentialsFilterSensitiveLog(obj.Credentials) } +}), "GetSessionTokenResponseFilterSensitiveLog"); + +// src/protocols/Aws_query.ts +var import_core = __nccwpck_require__(9963); +var import_protocol_http = __nccwpck_require__(4418); + +var se_AssumeRoleCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleRequest(input, context), + [_A]: _AR, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssumeRoleCommand"); +var se_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleWithSAMLRequest(input, context), + [_A]: _ARWSAML, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssumeRoleWithSAMLCommand"); +var se_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRoleWithWebIdentityRequest(input, context), + [_A]: _ARWWI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssumeRoleWithWebIdentityCommand"); +var se_AssumeRootCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_AssumeRootRequest(input, context), + [_A]: _ARs, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_AssumeRootCommand"); +var se_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_DecodeAuthorizationMessageRequest(input, context), + [_A]: _DAM, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_DecodeAuthorizationMessageCommand"); +var se_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetAccessKeyInfoRequest(input, context), + [_A]: _GAKI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetAccessKeyInfoCommand"); +var se_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetCallerIdentityRequest(input, context), + [_A]: _GCI, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetCallerIdentityCommand"); +var se_GetFederationTokenCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetFederationTokenRequest(input, context), + [_A]: _GFT, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetFederationTokenCommand"); +var se_GetSessionTokenCommand = /* @__PURE__ */ __name(async (input, context) => { + const headers = SHARED_HEADERS; + let body; + body = buildFormUrlencodedString({ + ...se_GetSessionTokenRequest(input, context), + [_A]: _GST, + [_V]: _ + }); + return buildHttpRpcRequest(context, headers, "/", void 0, body); +}, "se_GetSessionTokenCommand"); +var de_AssumeRoleCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssumeRoleResponse(data.AssumeRoleResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssumeRoleCommand"); +var de_AssumeRoleWithSAMLCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssumeRoleWithSAMLResponse(data.AssumeRoleWithSAMLResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssumeRoleWithSAMLCommand"); +var de_AssumeRoleWithWebIdentityCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssumeRoleWithWebIdentityResponse(data.AssumeRoleWithWebIdentityResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssumeRoleWithWebIdentityCommand"); +var de_AssumeRootCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_AssumeRootResponse(data.AssumeRootResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_AssumeRootCommand"); +var de_DecodeAuthorizationMessageCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_DecodeAuthorizationMessageResponse(data.DecodeAuthorizationMessageResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_DecodeAuthorizationMessageCommand"); +var de_GetAccessKeyInfoCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetAccessKeyInfoResponse(data.GetAccessKeyInfoResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetAccessKeyInfoCommand"); +var de_GetCallerIdentityCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetCallerIdentityResponse(data.GetCallerIdentityResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetCallerIdentityCommand"); +var de_GetFederationTokenCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetFederationTokenResponse(data.GetFederationTokenResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetFederationTokenCommand"); +var de_GetSessionTokenCommand = /* @__PURE__ */ __name(async (output, context) => { + if (output.statusCode >= 300) { + return de_CommandError(output, context); + } + const data = await (0, import_core.parseXmlBody)(output.body, context); + let contents = {}; + contents = de_GetSessionTokenResponse(data.GetSessionTokenResult, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents + }; + return response; +}, "de_GetSessionTokenCommand"); +var de_CommandError = /* @__PURE__ */ __name(async (output, context) => { + const parsedOutput = { + ...output, + body: await (0, import_core.parseXmlErrorBody)(output.body, context) + }; + const errorCode = loadQueryErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ExpiredTokenException": + case "com.amazonaws.sts#ExpiredTokenException": + throw await de_ExpiredTokenExceptionRes(parsedOutput, context); + case "MalformedPolicyDocument": + case "com.amazonaws.sts#MalformedPolicyDocumentException": + throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context); + case "PackedPolicyTooLarge": + case "com.amazonaws.sts#PackedPolicyTooLargeException": + throw await de_PackedPolicyTooLargeExceptionRes(parsedOutput, context); + case "RegionDisabledException": + case "com.amazonaws.sts#RegionDisabledException": + throw await de_RegionDisabledExceptionRes(parsedOutput, context); + case "IDPRejectedClaim": + case "com.amazonaws.sts#IDPRejectedClaimException": + throw await de_IDPRejectedClaimExceptionRes(parsedOutput, context); + case "InvalidIdentityToken": + case "com.amazonaws.sts#InvalidIdentityTokenException": + throw await de_InvalidIdentityTokenExceptionRes(parsedOutput, context); + case "IDPCommunicationError": + case "com.amazonaws.sts#IDPCommunicationErrorException": + throw await de_IDPCommunicationErrorExceptionRes(parsedOutput, context); + case "InvalidAuthorizationMessageException": + case "com.amazonaws.sts#InvalidAuthorizationMessageException": + throw await de_InvalidAuthorizationMessageExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody: parsedBody.Error, + errorCode + }); + } +}, "de_CommandError"); +var de_ExpiredTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_ExpiredTokenException(body.Error, context); + const exception = new ExpiredTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_ExpiredTokenExceptionRes"); +var de_IDPCommunicationErrorExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_IDPCommunicationErrorException(body.Error, context); + const exception = new IDPCommunicationErrorException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_IDPCommunicationErrorExceptionRes"); +var de_IDPRejectedClaimExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_IDPRejectedClaimException(body.Error, context); + const exception = new IDPRejectedClaimException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_IDPRejectedClaimExceptionRes"); +var de_InvalidAuthorizationMessageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_InvalidAuthorizationMessageException(body.Error, context); + const exception = new InvalidAuthorizationMessageException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_InvalidAuthorizationMessageExceptionRes"); +var de_InvalidIdentityTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_InvalidIdentityTokenException(body.Error, context); + const exception = new InvalidIdentityTokenException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_InvalidIdentityTokenExceptionRes"); +var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_MalformedPolicyDocumentException(body.Error, context); + const exception = new MalformedPolicyDocumentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_MalformedPolicyDocumentExceptionRes"); +var de_PackedPolicyTooLargeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_PackedPolicyTooLargeException(body.Error, context); + const exception = new PackedPolicyTooLargeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_PackedPolicyTooLargeExceptionRes"); +var de_RegionDisabledExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = de_RegionDisabledException(body.Error, context); + const exception = new RegionDisabledException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized + }); + return (0, import_smithy_client.decorateServiceException)(exception, body); +}, "de_RegionDisabledExceptionRes"); +var se_AssumeRoleRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b, _c, _d; + const entries = {}; + if (input[_RA] != null) { + entries[_RA] = input[_RA]; + } + if (input[_RSN] != null) { + entries[_RSN] = input[_RSN]; + } + if (input[_PA] != null) { + const memberEntries = se_policyDescriptorListType(input[_PA], context); + if (((_a2 = input[_PA]) == null ? void 0 : _a2.length) === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + if (input[_T] != null) { + const memberEntries = se_tagListType(input[_T], context); + if (((_b = input[_T]) == null ? void 0 : _b.length) === 0) { + entries.Tags = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tags.${key}`; + entries[loc] = value; + }); + } + if (input[_TTK] != null) { + const memberEntries = se_tagKeyListType(input[_TTK], context); + if (((_c = input[_TTK]) == null ? void 0 : _c.length) === 0) { + entries.TransitiveTagKeys = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TransitiveTagKeys.${key}`; + entries[loc] = value; + }); + } + if (input[_EI] != null) { + entries[_EI] = input[_EI]; + } + if (input[_SN] != null) { + entries[_SN] = input[_SN]; + } + if (input[_TC] != null) { + entries[_TC] = input[_TC]; + } + if (input[_SI] != null) { + entries[_SI] = input[_SI]; + } + if (input[_PC] != null) { + const memberEntries = se_ProvidedContextsListType(input[_PC], context); + if (((_d = input[_PC]) == null ? void 0 : _d.length) === 0) { + entries.ProvidedContexts = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `ProvidedContexts.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_AssumeRoleRequest"); +var se_AssumeRoleWithSAMLRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_RA] != null) { + entries[_RA] = input[_RA]; + } + if (input[_PAr] != null) { + entries[_PAr] = input[_PAr]; + } + if (input[_SAMLA] != null) { + entries[_SAMLA] = input[_SAMLA]; + } + if (input[_PA] != null) { + const memberEntries = se_policyDescriptorListType(input[_PA], context); + if (((_a2 = input[_PA]) == null ? void 0 : _a2.length) === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + return entries; +}, "se_AssumeRoleWithSAMLRequest"); +var se_AssumeRoleWithWebIdentityRequest = /* @__PURE__ */ __name((input, context) => { + var _a2; + const entries = {}; + if (input[_RA] != null) { + entries[_RA] = input[_RA]; + } + if (input[_RSN] != null) { + entries[_RSN] = input[_RSN]; + } + if (input[_WIT] != null) { + entries[_WIT] = input[_WIT]; + } + if (input[_PI] != null) { + entries[_PI] = input[_PI]; + } + if (input[_PA] != null) { + const memberEntries = se_policyDescriptorListType(input[_PA], context); + if (((_a2 = input[_PA]) == null ? void 0 : _a2.length) === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + return entries; +}, "se_AssumeRoleWithWebIdentityRequest"); +var se_AssumeRootRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_TP] != null) { + entries[_TP] = input[_TP]; + } + if (input[_TPA] != null) { + const memberEntries = se_PolicyDescriptorType(input[_TPA], context); + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `TaskPolicyArn.${key}`; + entries[loc] = value; + }); + } + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + return entries; +}, "se_AssumeRootRequest"); +var se_DecodeAuthorizationMessageRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_EM] != null) { + entries[_EM] = input[_EM]; + } + return entries; +}, "se_DecodeAuthorizationMessageRequest"); +var se_GetAccessKeyInfoRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_AKI] != null) { + entries[_AKI] = input[_AKI]; + } + return entries; +}, "se_GetAccessKeyInfoRequest"); +var se_GetCallerIdentityRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + return entries; +}, "se_GetCallerIdentityRequest"); +var se_GetFederationTokenRequest = /* @__PURE__ */ __name((input, context) => { + var _a2, _b; + const entries = {}; + if (input[_N] != null) { + entries[_N] = input[_N]; + } + if (input[_P] != null) { + entries[_P] = input[_P]; + } + if (input[_PA] != null) { + const memberEntries = se_policyDescriptorListType(input[_PA], context); + if (((_a2 = input[_PA]) == null ? void 0 : _a2.length) === 0) { + entries.PolicyArns = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `PolicyArns.${key}`; + entries[loc] = value; + }); + } + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + if (input[_T] != null) { + const memberEntries = se_tagListType(input[_T], context); + if (((_b = input[_T]) == null ? void 0 : _b.length) === 0) { + entries.Tags = []; + } + Object.entries(memberEntries).forEach(([key, value]) => { + const loc = `Tags.${key}`; + entries[loc] = value; + }); + } + return entries; +}, "se_GetFederationTokenRequest"); +var se_GetSessionTokenRequest = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_DS] != null) { + entries[_DS] = input[_DS]; + } + if (input[_SN] != null) { + entries[_SN] = input[_SN]; + } + if (input[_TC] != null) { + entries[_TC] = input[_TC]; + } + return entries; +}, "se_GetSessionTokenRequest"); +var se_policyDescriptorListType = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_PolicyDescriptorType(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_policyDescriptorListType"); +var se_PolicyDescriptorType = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_a] != null) { + entries[_a] = input[_a]; + } + return entries; +}, "se_PolicyDescriptorType"); +var se_ProvidedContext = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_PAro] != null) { + entries[_PAro] = input[_PAro]; + } + if (input[_CA] != null) { + entries[_CA] = input[_CA]; + } + return entries; +}, "se_ProvidedContext"); +var se_ProvidedContextsListType = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + let counter = 1; + for (const entry of input) { + if (entry === null) { + continue; + } + const memberEntries = se_ProvidedContext(entry, context); + Object.entries(memberEntries).forEach(([key, value]) => { + entries[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_ProvidedContextsListType"); +var se_Tag = /* @__PURE__ */ __name((input, context) => { + const entries = {}; + if (input[_K] != null) { + entries[_K] = input[_K]; + } + if (input[_Va] != null) { + entries[_Va] = input[_Va]; + } + return entries; +}, "se_Tag"); +var se_tagKeyListType = /* @__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_tagKeyListType"); +var se_tagListType = /* @__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[`member.${counter}.${key}`] = value; + }); + counter++; + } + return entries; +}, "se_tagListType"); +var de_AssumedRoleUser = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_ARI] != null) { + contents[_ARI] = (0, import_smithy_client.expectString)(output[_ARI]); + } + if (output[_Ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]); + } + return contents; +}, "de_AssumedRoleUser"); +var de_AssumeRoleResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + if (output[_ARU] != null) { + contents[_ARU] = de_AssumedRoleUser(output[_ARU], context); + } + if (output[_PPS] != null) { + contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]); + } + if (output[_SI] != null) { + contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]); + } + return contents; +}, "de_AssumeRoleResponse"); +var de_AssumeRoleWithSAMLResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + if (output[_ARU] != null) { + contents[_ARU] = de_AssumedRoleUser(output[_ARU], context); + } + if (output[_PPS] != null) { + contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]); + } + if (output[_S] != null) { + contents[_S] = (0, import_smithy_client.expectString)(output[_S]); + } + if (output[_ST] != null) { + contents[_ST] = (0, import_smithy_client.expectString)(output[_ST]); + } + if (output[_I] != null) { + contents[_I] = (0, import_smithy_client.expectString)(output[_I]); + } + if (output[_Au] != null) { + contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]); + } + if (output[_NQ] != null) { + contents[_NQ] = (0, import_smithy_client.expectString)(output[_NQ]); + } + if (output[_SI] != null) { + contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]); + } + return contents; +}, "de_AssumeRoleWithSAMLResponse"); +var de_AssumeRoleWithWebIdentityResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + if (output[_SFWIT] != null) { + contents[_SFWIT] = (0, import_smithy_client.expectString)(output[_SFWIT]); + } + if (output[_ARU] != null) { + contents[_ARU] = de_AssumedRoleUser(output[_ARU], context); + } + if (output[_PPS] != null) { + contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]); + } + if (output[_Pr] != null) { + contents[_Pr] = (0, import_smithy_client.expectString)(output[_Pr]); + } + if (output[_Au] != null) { + contents[_Au] = (0, import_smithy_client.expectString)(output[_Au]); + } + if (output[_SI] != null) { + contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]); + } + return contents; +}, "de_AssumeRoleWithWebIdentityResponse"); +var de_AssumeRootResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + if (output[_SI] != null) { + contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]); + } + return contents; +}, "de_AssumeRootResponse"); +var de_Credentials = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_AKI] != null) { + contents[_AKI] = (0, import_smithy_client.expectString)(output[_AKI]); + } + if (output[_SAK] != null) { + contents[_SAK] = (0, import_smithy_client.expectString)(output[_SAK]); + } + if (output[_STe] != null) { + contents[_STe] = (0, import_smithy_client.expectString)(output[_STe]); + } + if (output[_E] != null) { + contents[_E] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_E])); + } + return contents; +}, "de_Credentials"); +var de_DecodeAuthorizationMessageResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_DM] != null) { + contents[_DM] = (0, import_smithy_client.expectString)(output[_DM]); + } + return contents; +}, "de_DecodeAuthorizationMessageResponse"); +var de_ExpiredTokenException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_ExpiredTokenException"); +var de_FederatedUser = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_FUI] != null) { + contents[_FUI] = (0, import_smithy_client.expectString)(output[_FUI]); + } + if (output[_Ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]); + } + return contents; +}, "de_FederatedUser"); +var de_GetAccessKeyInfoResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_Ac] != null) { + contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]); + } + return contents; +}, "de_GetAccessKeyInfoResponse"); +var de_GetCallerIdentityResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_UI] != null) { + contents[_UI] = (0, import_smithy_client.expectString)(output[_UI]); + } + if (output[_Ac] != null) { + contents[_Ac] = (0, import_smithy_client.expectString)(output[_Ac]); + } + if (output[_Ar] != null) { + contents[_Ar] = (0, import_smithy_client.expectString)(output[_Ar]); + } + return contents; +}, "de_GetCallerIdentityResponse"); +var de_GetFederationTokenResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + if (output[_FU] != null) { + contents[_FU] = de_FederatedUser(output[_FU], context); + } + if (output[_PPS] != null) { + contents[_PPS] = (0, import_smithy_client.strictParseInt32)(output[_PPS]); + } + return contents; +}, "de_GetFederationTokenResponse"); +var de_GetSessionTokenResponse = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_C] != null) { + contents[_C] = de_Credentials(output[_C], context); + } + return contents; +}, "de_GetSessionTokenResponse"); +var de_IDPCommunicationErrorException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_IDPCommunicationErrorException"); +var de_IDPRejectedClaimException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_IDPRejectedClaimException"); +var de_InvalidAuthorizationMessageException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_InvalidAuthorizationMessageException"); +var de_InvalidIdentityTokenException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_InvalidIdentityTokenException"); +var de_MalformedPolicyDocumentException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_MalformedPolicyDocumentException"); +var de_PackedPolicyTooLargeException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_PackedPolicyTooLargeException"); +var de_RegionDisabledException = /* @__PURE__ */ __name((output, context) => { + const contents = {}; + if (output[_m] != null) { + contents[_m] = (0, import_smithy_client.expectString)(output[_m]); + } + return contents; +}, "de_RegionDisabledException"); +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)(STSServiceException); +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 _ = "2011-06-15"; +var _A = "Action"; +var _AKI = "AccessKeyId"; +var _AR = "AssumeRole"; +var _ARI = "AssumedRoleId"; +var _ARU = "AssumedRoleUser"; +var _ARWSAML = "AssumeRoleWithSAML"; +var _ARWWI = "AssumeRoleWithWebIdentity"; +var _ARs = "AssumeRoot"; +var _Ac = "Account"; +var _Ar = "Arn"; +var _Au = "Audience"; +var _C = "Credentials"; +var _CA = "ContextAssertion"; +var _DAM = "DecodeAuthorizationMessage"; +var _DM = "DecodedMessage"; +var _DS = "DurationSeconds"; +var _E = "Expiration"; +var _EI = "ExternalId"; +var _EM = "EncodedMessage"; +var _FU = "FederatedUser"; +var _FUI = "FederatedUserId"; +var _GAKI = "GetAccessKeyInfo"; +var _GCI = "GetCallerIdentity"; +var _GFT = "GetFederationToken"; +var _GST = "GetSessionToken"; +var _I = "Issuer"; +var _K = "Key"; +var _N = "Name"; +var _NQ = "NameQualifier"; +var _P = "Policy"; +var _PA = "PolicyArns"; +var _PAr = "PrincipalArn"; +var _PAro = "ProviderArn"; +var _PC = "ProvidedContexts"; +var _PI = "ProviderId"; +var _PPS = "PackedPolicySize"; +var _Pr = "Provider"; +var _RA = "RoleArn"; +var _RSN = "RoleSessionName"; +var _S = "Subject"; +var _SAK = "SecretAccessKey"; +var _SAMLA = "SAMLAssertion"; +var _SFWIT = "SubjectFromWebIdentityToken"; +var _SI = "SourceIdentity"; +var _SN = "SerialNumber"; +var _ST = "SubjectType"; +var _STe = "SessionToken"; +var _T = "Tags"; +var _TC = "TokenCode"; +var _TP = "TargetPrincipal"; +var _TPA = "TaskPolicyArn"; +var _TTK = "TransitiveTagKeys"; +var _UI = "UserId"; +var _V = "Version"; +var _Va = "Value"; +var _WIT = "WebIdentityToken"; +var _a = "arn"; +var _m = "message"; +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 loadQueryErrorCode = /* @__PURE__ */ __name((output, data) => { + var _a2; + if (((_a2 = data.Error) == null ? void 0 : _a2.Code) !== void 0) { + return data.Error.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}, "loadQueryErrorCode"); + +// src/commands/AssumeRoleCommand.ts +var _AssumeRoleCommand = class _AssumeRoleCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "AssumeRole", {}).n("STSClient", "AssumeRoleCommand").f(void 0, AssumeRoleResponseFilterSensitiveLog).ser(se_AssumeRoleCommand).de(de_AssumeRoleCommand).build() { +}; +__name(_AssumeRoleCommand, "AssumeRoleCommand"); +var AssumeRoleCommand = _AssumeRoleCommand; + +// src/commands/AssumeRoleWithSAMLCommand.ts + + + +var import_EndpointParameters2 = __nccwpck_require__(510); +var _AssumeRoleWithSAMLCommand = class _AssumeRoleWithSAMLCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters2.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithSAML", {}).n("STSClient", "AssumeRoleWithSAMLCommand").f(AssumeRoleWithSAMLRequestFilterSensitiveLog, AssumeRoleWithSAMLResponseFilterSensitiveLog).ser(se_AssumeRoleWithSAMLCommand).de(de_AssumeRoleWithSAMLCommand).build() { +}; +__name(_AssumeRoleWithSAMLCommand, "AssumeRoleWithSAMLCommand"); +var AssumeRoleWithSAMLCommand = _AssumeRoleWithSAMLCommand; + +// src/commands/AssumeRoleWithWebIdentityCommand.ts + + + +var import_EndpointParameters3 = __nccwpck_require__(510); +var _AssumeRoleWithWebIdentityCommand = class _AssumeRoleWithWebIdentityCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters3.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "AssumeRoleWithWebIdentity", {}).n("STSClient", "AssumeRoleWithWebIdentityCommand").f(AssumeRoleWithWebIdentityRequestFilterSensitiveLog, AssumeRoleWithWebIdentityResponseFilterSensitiveLog).ser(se_AssumeRoleWithWebIdentityCommand).de(de_AssumeRoleWithWebIdentityCommand).build() { +}; +__name(_AssumeRoleWithWebIdentityCommand, "AssumeRoleWithWebIdentityCommand"); +var AssumeRoleWithWebIdentityCommand = _AssumeRoleWithWebIdentityCommand; + +// src/commands/AssumeRootCommand.ts + + + +var import_EndpointParameters4 = __nccwpck_require__(510); +var _AssumeRootCommand = class _AssumeRootCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters4.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "AssumeRoot", {}).n("STSClient", "AssumeRootCommand").f(void 0, AssumeRootResponseFilterSensitiveLog).ser(se_AssumeRootCommand).de(de_AssumeRootCommand).build() { +}; +__name(_AssumeRootCommand, "AssumeRootCommand"); +var AssumeRootCommand = _AssumeRootCommand; + +// src/commands/DecodeAuthorizationMessageCommand.ts + + + +var import_EndpointParameters5 = __nccwpck_require__(510); +var _DecodeAuthorizationMessageCommand = class _DecodeAuthorizationMessageCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters5.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "DecodeAuthorizationMessage", {}).n("STSClient", "DecodeAuthorizationMessageCommand").f(void 0, void 0).ser(se_DecodeAuthorizationMessageCommand).de(de_DecodeAuthorizationMessageCommand).build() { +}; +__name(_DecodeAuthorizationMessageCommand, "DecodeAuthorizationMessageCommand"); +var DecodeAuthorizationMessageCommand = _DecodeAuthorizationMessageCommand; + +// src/commands/GetAccessKeyInfoCommand.ts + + + +var import_EndpointParameters6 = __nccwpck_require__(510); +var _GetAccessKeyInfoCommand = class _GetAccessKeyInfoCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters6.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "GetAccessKeyInfo", {}).n("STSClient", "GetAccessKeyInfoCommand").f(void 0, void 0).ser(se_GetAccessKeyInfoCommand).de(de_GetAccessKeyInfoCommand).build() { +}; +__name(_GetAccessKeyInfoCommand, "GetAccessKeyInfoCommand"); +var GetAccessKeyInfoCommand = _GetAccessKeyInfoCommand; + +// src/commands/GetCallerIdentityCommand.ts + + + +var import_EndpointParameters7 = __nccwpck_require__(510); +var _GetCallerIdentityCommand = class _GetCallerIdentityCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters7.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "GetCallerIdentity", {}).n("STSClient", "GetCallerIdentityCommand").f(void 0, void 0).ser(se_GetCallerIdentityCommand).de(de_GetCallerIdentityCommand).build() { +}; +__name(_GetCallerIdentityCommand, "GetCallerIdentityCommand"); +var GetCallerIdentityCommand = _GetCallerIdentityCommand; + +// src/commands/GetFederationTokenCommand.ts + + + +var import_EndpointParameters8 = __nccwpck_require__(510); +var _GetFederationTokenCommand = class _GetFederationTokenCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters8.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "GetFederationToken", {}).n("STSClient", "GetFederationTokenCommand").f(void 0, GetFederationTokenResponseFilterSensitiveLog).ser(se_GetFederationTokenCommand).de(de_GetFederationTokenCommand).build() { +}; +__name(_GetFederationTokenCommand, "GetFederationTokenCommand"); +var GetFederationTokenCommand = _GetFederationTokenCommand; + +// src/commands/GetSessionTokenCommand.ts + + + +var import_EndpointParameters9 = __nccwpck_require__(510); +var _GetSessionTokenCommand = class _GetSessionTokenCommand extends import_smithy_client.Command.classBuilder().ep(import_EndpointParameters9.commonParams).m(function(Command, cs, config, o) { + return [ + (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize), + (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()) + ]; +}).s("AWSSecurityTokenServiceV20110615", "GetSessionToken", {}).n("STSClient", "GetSessionTokenCommand").f(void 0, GetSessionTokenResponseFilterSensitiveLog).ser(se_GetSessionTokenCommand).de(de_GetSessionTokenCommand).build() { +}; +__name(_GetSessionTokenCommand, "GetSessionTokenCommand"); +var GetSessionTokenCommand = _GetSessionTokenCommand; + +// src/STS.ts +var import_STSClient = __nccwpck_require__(4195); +var commands = { + AssumeRoleCommand, + AssumeRoleWithSAMLCommand, + AssumeRoleWithWebIdentityCommand, + AssumeRootCommand, + DecodeAuthorizationMessageCommand, + GetAccessKeyInfoCommand, + GetCallerIdentityCommand, + GetFederationTokenCommand, + GetSessionTokenCommand +}; +var _STS = class _STS extends import_STSClient.STSClient { +}; +__name(_STS, "STS"); +var STS = _STS; +(0, import_smithy_client.createAggregatedClient)(commands, STS); + +// src/index.ts +var import_EndpointParameters10 = __nccwpck_require__(510); + +// src/defaultStsRoleAssumers.ts +var import_client = __nccwpck_require__(2825); +var ASSUME_ROLE_DEFAULT_REGION = "us-east-1"; +var getAccountIdFromAssumedRoleUser = /* @__PURE__ */ __name((assumedRoleUser) => { + if (typeof (assumedRoleUser == null ? void 0 : assumedRoleUser.Arn) === "string") { + const arnComponents = assumedRoleUser.Arn.split(":"); + if (arnComponents.length > 4 && arnComponents[4] !== "") { + return arnComponents[4]; + } + } + return void 0; +}, "getAccountIdFromAssumedRoleUser"); +var resolveRegion = /* @__PURE__ */ __name(async (_region, _parentRegion, credentialProviderLogger) => { + var _a2; + const region = typeof _region === "function" ? await _region() : _region; + const parentRegion = typeof _parentRegion === "function" ? await _parentRegion() : _parentRegion; + (_a2 = credentialProviderLogger == null ? void 0 : credentialProviderLogger.debug) == null ? void 0 : _a2.call( + credentialProviderLogger, + "@aws-sdk/client-sts::resolveRegion", + "accepting first of:", + `${region} (provider)`, + `${parentRegion} (parent client)`, + `${ASSUME_ROLE_DEFAULT_REGION} (STS default)` + ); + return region ?? parentRegion ?? ASSUME_ROLE_DEFAULT_REGION; +}, "resolveRegion"); +var getDefaultRoleAssumer = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => { + let stsClient; + let closureSourceCreds; + return async (sourceCreds, params) => { + var _a2, _b, _c; + closureSourceCreds = sourceCreds; + if (!stsClient) { + const { + logger = (_a2 = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _a2.logger, + region, + requestHandler = (_b = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _b.requestHandler, + credentialProviderLogger + } = stsOptions; + const resolvedRegion = await resolveRegion( + region, + (_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region, + credentialProviderLogger + ); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new stsClientCtor({ + // A hack to make sts client uses the credential in current closure. + credentialDefaultProvider: () => async () => closureSourceCreds, + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : void 0, + logger + }); + } + const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleCommand(params)); + if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRole call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2); + const credentials = { + accessKeyId: Credentials2.AccessKeyId, + secretAccessKey: Credentials2.SecretAccessKey, + sessionToken: Credentials2.SessionToken, + expiration: Credentials2.Expiration, + // TODO(credentialScope): access normally when shape is updated. + ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope }, + ...accountId && { accountId } + }; + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_STS_ASSUME_ROLE", "i"); + return credentials; + }; +}, "getDefaultRoleAssumer"); +var getDefaultRoleAssumerWithWebIdentity = /* @__PURE__ */ __name((stsOptions, stsClientCtor) => { + let stsClient; + return async (params) => { + var _a2, _b, _c; + if (!stsClient) { + const { + logger = (_a2 = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _a2.logger, + region, + requestHandler = (_b = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _b.requestHandler, + credentialProviderLogger + } = stsOptions; + const resolvedRegion = await resolveRegion( + region, + (_c = stsOptions == null ? void 0 : stsOptions.parentClientConfig) == null ? void 0 : _c.region, + credentialProviderLogger + ); + const isCompatibleRequestHandler = !isH2(requestHandler); + stsClient = new stsClientCtor({ + region: resolvedRegion, + requestHandler: isCompatibleRequestHandler ? requestHandler : void 0, + logger + }); + } + const { Credentials: Credentials2, AssumedRoleUser: AssumedRoleUser2 } = await stsClient.send(new AssumeRoleWithWebIdentityCommand(params)); + if (!Credentials2 || !Credentials2.AccessKeyId || !Credentials2.SecretAccessKey) { + throw new Error(`Invalid response from STS.assumeRoleWithWebIdentity call with role ${params.RoleArn}`); + } + const accountId = getAccountIdFromAssumedRoleUser(AssumedRoleUser2); + const credentials = { + accessKeyId: Credentials2.AccessKeyId, + secretAccessKey: Credentials2.SecretAccessKey, + sessionToken: Credentials2.SessionToken, + expiration: Credentials2.Expiration, + // TODO(credentialScope): access normally when shape is updated. + ...Credentials2.CredentialScope && { credentialScope: Credentials2.CredentialScope }, + ...accountId && { accountId } + }; + if (accountId) { + (0, import_client.setCredentialFeature)(credentials, "RESOLVED_ACCOUNT_ID", "T"); + } + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_STS_ASSUME_ROLE_WEB_ID", "k"); + return credentials; + }; +}, "getDefaultRoleAssumerWithWebIdentity"); +var isH2 = /* @__PURE__ */ __name((requestHandler) => { + var _a2; + return ((_a2 = requestHandler == null ? void 0 : requestHandler.metadata) == null ? void 0 : _a2.handlerProtocol) === "h2"; +}, "isH2"); + +// src/defaultRoleAssumers.ts +var import_STSClient2 = __nccwpck_require__(4195); +var getCustomizableStsClientCtor = /* @__PURE__ */ __name((baseCtor, customizations) => { + var _a2; + if (!customizations) + return baseCtor; + else + return _a2 = class extends baseCtor { + constructor(config) { + super(config); + for (const customization of customizations) { + this.middlewareStack.use(customization); + } + } + }, __name(_a2, "CustomizableSTSClient"), _a2; +}, "getCustomizableStsClientCtor"); +var getDefaultRoleAssumer2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumer(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumer"); +var getDefaultRoleAssumerWithWebIdentity2 = /* @__PURE__ */ __name((stsOptions = {}, stsPlugins) => getDefaultRoleAssumerWithWebIdentity(stsOptions, getCustomizableStsClientCtor(import_STSClient2.STSClient, stsPlugins)), "getDefaultRoleAssumerWithWebIdentity"); +var decorateDefaultCredentialProvider = /* @__PURE__ */ __name((provider) => (input) => provider({ + roleAssumer: getDefaultRoleAssumer2(input), + roleAssumerWithWebIdentity: getDefaultRoleAssumerWithWebIdentity2(input), + ...input +}), "decorateDefaultCredentialProvider"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3405: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const tslib_1 = __nccwpck_require__(4351); +const package_json_1 = tslib_1.__importDefault(__nccwpck_require__(7947)); +const core_1 = __nccwpck_require__(9963); +const credential_provider_node_1 = __nccwpck_require__(5531); +const util_user_agent_node_1 = __nccwpck_require__(8095); +const config_resolver_1 = __nccwpck_require__(3098); +const core_2 = __nccwpck_require__(5829); +const hash_node_1 = __nccwpck_require__(3081); +const middleware_retry_1 = __nccwpck_require__(6039); +const node_config_provider_1 = __nccwpck_require__(3461); +const node_http_handler_1 = __nccwpck_require__(258); +const util_body_length_node_1 = __nccwpck_require__(8075); +const util_retry_1 = __nccwpck_require__(4902); +const runtimeConfig_shared_1 = __nccwpck_require__(2642); +const smithy_client_1 = __nccwpck_require__(3570); +const util_defaults_mode_node_1 = __nccwpck_require__(2429); +const smithy_client_2 = __nccwpck_require__(3570); +const getRuntimeConfig = (config) => { + (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version); + const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config); + const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode); + const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config); + (0, core_1.emitWarningIfUnsupportedVersion)(process.version); + return { + ...clientSharedValues, + ...config, + runtime: "node", + defaultsMode, + bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength, + credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider, + defaultUserAgentProvider: config?.defaultUserAgentProvider ?? + (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4") || + (async (idProps) => await (0, credential_provider_node_1.defaultProvider)(idProps?.__config || {})()), + signer: new core_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_2.NoAuthSigner(), + }, + ], + maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), + region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), + requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider), + retryMode: config?.retryMode ?? + (0, node_config_provider_1.loadConfig)({ + ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS, + default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE, + }), + sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"), + streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector, + useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), + useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), + userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS), + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 2642: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getRuntimeConfig = void 0; +const core_1 = __nccwpck_require__(9963); +const core_2 = __nccwpck_require__(5829); +const smithy_client_1 = __nccwpck_require__(3570); +const url_parser_1 = __nccwpck_require__(4681); +const util_base64_1 = __nccwpck_require__(5600); +const util_utf8_1 = __nccwpck_require__(1895); +const httpAuthSchemeProvider_1 = __nccwpck_require__(7145); +const endpointResolver_1 = __nccwpck_require__(1203); +const getRuntimeConfig = (config) => { + return { + apiVersion: "2011-06-15", + base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, + base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, + disableHostPrefix: config?.disableHostPrefix ?? false, + endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, + extensions: config?.extensions ?? [], + httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSTSHttpAuthSchemeProvider, + httpAuthSchemes: config?.httpAuthSchemes ?? [ + { + schemeId: "aws.auth#sigv4", + identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), + signer: new core_1.AwsSdkSigV4Signer(), + }, + { + schemeId: "smithy.api#noAuth", + identityProvider: (ipc) => ipc.getIdentityProvider("smithy.api#noAuth") || (async () => ({})), + signer: new core_2.NoAuthSigner(), + }, + ], + logger: config?.logger ?? new smithy_client_1.NoOpLogger(), + serviceId: config?.serviceId ?? "STS", + urlParser: config?.urlParser ?? url_parser_1.parseUrl, + utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, + utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, + }; +}; +exports.getRuntimeConfig = getRuntimeConfig; + + +/***/ }), + +/***/ 2053: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.resolveRuntimeExtensions = void 0; +const region_config_resolver_1 = __nccwpck_require__(8156); +const protocol_http_1 = __nccwpck_require__(4418); +const smithy_client_1 = __nccwpck_require__(3570); +const httpAuthExtensionConfiguration_1 = __nccwpck_require__(8527); +const asPartial = (t) => t; +const resolveRuntimeExtensions = (runtimeConfig, extensions) => { + const extensionConfiguration = { + ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)), + ...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)), + }; + extensions.forEach((extension) => extension.configure(extensionConfiguration)); + return { + ...runtimeConfig, + ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration), + ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration), + ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration), + ...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration), + }; +}; +exports.resolveRuntimeExtensions = resolveRuntimeExtensions; + + +/***/ }), + +/***/ 9963: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +const tslib_1 = __nccwpck_require__(4351); +tslib_1.__exportStar(__nccwpck_require__(2825), exports); +tslib_1.__exportStar(__nccwpck_require__(7862), exports); +tslib_1.__exportStar(__nccwpck_require__(785), exports); + + +/***/ }), + +/***/ 2825: +/***/ ((module) => { + +"use strict"; + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/submodules/client/index.ts +var client_exports = {}; +__export(client_exports, { + emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion, + setCredentialFeature: () => setCredentialFeature, + setFeature: () => setFeature, + state: () => state +}); +module.exports = __toCommonJS(client_exports); + +// src/submodules/client/emitWarningIfUnsupportedVersion.ts +var state = { + warningEmitted: false +}; +var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => { + if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 18) { + state.warningEmitted = true; + process.emitWarning( + `NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will +no longer support Node.js 16.x on January 6, 2025. + +To continue receiving updates to AWS services, bug fixes, and security +updates please upgrade to a supported Node.js LTS version. + +More information can be found at: https://a.co/74kJMmI` + ); + } +}, "emitWarningIfUnsupportedVersion"); + +// src/submodules/client/setCredentialFeature.ts +function setCredentialFeature(credentials, feature, value) { + if (!credentials.$source) { + credentials.$source = {}; + } + credentials.$source[feature] = value; + return credentials; +} +__name(setCredentialFeature, "setCredentialFeature"); + +// src/submodules/client/setFeature.ts +function setFeature(context, feature, value) { + if (!context.__aws_sdk_context) { + context.__aws_sdk_context = { + features: {} + }; + } else if (!context.__aws_sdk_context.features) { + context.__aws_sdk_context.features = {}; + } + context.__aws_sdk_context.features[feature] = value; +} +__name(setFeature, "setFeature"); +// Annotate the CommonJS export names for ESM import in node: +0 && (0); + + +/***/ }), + +/***/ 7862: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/submodules/httpAuthSchemes/index.ts +var httpAuthSchemes_exports = {}; +__export(httpAuthSchemes_exports, { + AWSSDKSigV4Signer: () => AWSSDKSigV4Signer, + AwsSdkSigV4ASigner: () => AwsSdkSigV4ASigner, + AwsSdkSigV4Signer: () => AwsSdkSigV4Signer, + NODE_SIGV4A_CONFIG_OPTIONS: () => NODE_SIGV4A_CONFIG_OPTIONS, + resolveAWSSDKSigV4Config: () => resolveAWSSDKSigV4Config, + resolveAwsSdkSigV4AConfig: () => resolveAwsSdkSigV4AConfig, + resolveAwsSdkSigV4Config: () => resolveAwsSdkSigV4Config, + validateSigningProperties: () => validateSigningProperties +}); +module.exports = __toCommonJS(httpAuthSchemes_exports); + +// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +var import_protocol_http2 = __nccwpck_require__(4418); + +// src/submodules/httpAuthSchemes/utils/getDateHeader.ts +var import_protocol_http = __nccwpck_require__(4418); +var getDateHeader = /* @__PURE__ */ __name((response) => { + var _a, _b; + return import_protocol_http.HttpResponse.isInstance(response) ? ((_a = response.headers) == null ? void 0 : _a.date) ?? ((_b = response.headers) == null ? void 0 : _b.Date) : void 0; +}, "getDateHeader"); + +// src/submodules/httpAuthSchemes/utils/getSkewCorrectedDate.ts +var getSkewCorrectedDate = /* @__PURE__ */ __name((systemClockOffset) => new Date(Date.now() + systemClockOffset), "getSkewCorrectedDate"); + +// src/submodules/httpAuthSchemes/utils/isClockSkewed.ts +var isClockSkewed = /* @__PURE__ */ __name((clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 3e5, "isClockSkewed"); + +// src/submodules/httpAuthSchemes/utils/getUpdatedSystemClockOffset.ts +var getUpdatedSystemClockOffset = /* @__PURE__ */ __name((clockTime, currentSystemClockOffset) => { + const clockTimeInMs = Date.parse(clockTime); + if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) { + return clockTimeInMs - Date.now(); + } + return currentSystemClockOffset; +}, "getUpdatedSystemClockOffset"); + +// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4Signer.ts +var throwSigningPropertyError = /* @__PURE__ */ __name((name, property) => { + if (!property) { + throw new Error(`Property \`${name}\` is not resolved for AWS SDK SigV4Auth`); + } + return property; +}, "throwSigningPropertyError"); +var validateSigningProperties = /* @__PURE__ */ __name(async (signingProperties) => { + var _a, _b, _c; + const context = throwSigningPropertyError( + "context", + signingProperties.context + ); + const config = throwSigningPropertyError("config", signingProperties.config); + const authScheme = (_c = (_b = (_a = context.endpointV2) == null ? void 0 : _a.properties) == null ? void 0 : _b.authSchemes) == null ? void 0 : _c[0]; + const signerFunction = throwSigningPropertyError( + "signer", + config.signer + ); + const signer = await signerFunction(authScheme); + const signingRegion = signingProperties == null ? void 0 : signingProperties.signingRegion; + const signingRegionSet = signingProperties == null ? void 0 : signingProperties.signingRegionSet; + const signingName = signingProperties == null ? void 0 : signingProperties.signingName; + return { + config, + signer, + signingRegion, + signingRegionSet, + signingName + }; +}, "validateSigningProperties"); +var _AwsSdkSigV4Signer = class _AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + var _a; + if (!import_protocol_http2.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const validatedProps = await validateSigningProperties(signingProperties); + const { config, signer } = validatedProps; + let { signingRegion, signingName } = validatedProps; + const handlerExecutionContext = signingProperties.context; + if (((_a = handlerExecutionContext == null ? void 0 : handlerExecutionContext.authSchemes) == null ? void 0 : _a.length) ?? 0 > 1) { + const [first, second] = handlerExecutionContext.authSchemes; + if ((first == null ? void 0 : first.name) === "sigv4a" && (second == null ? void 0 : second.name) === "sigv4") { + signingRegion = (second == null ? void 0 : second.signingRegion) ?? signingRegion; + signingName = (second == null ? void 0 : second.signingName) ?? signingName; + } + } + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion, + signingService: signingName + }); + return signedRequest; + } + errorHandler(signingProperties) { + return (error) => { + const serverTime = error.ServerTime ?? getDateHeader(error.$response); + if (serverTime) { + const config = throwSigningPropertyError("config", signingProperties.config); + const initialSystemClockOffset = config.systemClockOffset; + config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset); + const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset; + if (clockSkewCorrected && error.$metadata) { + error.$metadata.clockSkewCorrected = true; + } + } + throw error; + }; + } + successHandler(httpResponse, signingProperties) { + const dateHeader = getDateHeader(httpResponse); + if (dateHeader) { + const config = throwSigningPropertyError("config", signingProperties.config); + config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset); + } + } +}; +__name(_AwsSdkSigV4Signer, "AwsSdkSigV4Signer"); +var AwsSdkSigV4Signer = _AwsSdkSigV4Signer; +var AWSSDKSigV4Signer = AwsSdkSigV4Signer; + +// src/submodules/httpAuthSchemes/aws_sdk/AwsSdkSigV4ASigner.ts +var import_protocol_http3 = __nccwpck_require__(4418); +var _AwsSdkSigV4ASigner = class _AwsSdkSigV4ASigner extends AwsSdkSigV4Signer { + async sign(httpRequest, identity, signingProperties) { + var _a; + if (!import_protocol_http3.HttpRequest.isInstance(httpRequest)) { + throw new Error("The request is not an instance of `HttpRequest` and cannot be signed"); + } + const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties( + signingProperties + ); + const configResolvedSigningRegionSet = await ((_a = config.sigv4aSigningRegionSet) == null ? void 0 : _a.call(config)); + const multiRegionOverride = (configResolvedSigningRegionSet ?? signingRegionSet ?? [signingRegion]).join(","); + const signedRequest = await signer.sign(httpRequest, { + signingDate: getSkewCorrectedDate(config.systemClockOffset), + signingRegion: multiRegionOverride, + signingService: signingName + }); + return signedRequest; + } +}; +__name(_AwsSdkSigV4ASigner, "AwsSdkSigV4ASigner"); +var AwsSdkSigV4ASigner = _AwsSdkSigV4ASigner; + +// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4AConfig.ts +var import_core = __nccwpck_require__(5829); +var import_property_provider = __nccwpck_require__(9721); +var resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => { + config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet); + return config; +}, "resolveAwsSdkSigV4AConfig"); +var NODE_SIGV4A_CONFIG_OPTIONS = { + environmentVariableSelector(env) { + if (env.AWS_SIGV4A_SIGNING_REGION_SET) { + return env.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((_) => _.trim()); + } + throw new import_property_provider.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.", { + tryNextLink: true + }); + }, + configFileSelector(profile) { + if (profile.sigv4a_signing_region_set) { + return (profile.sigv4a_signing_region_set ?? "").split(",").map((_) => _.trim()); + } + throw new import_property_provider.ProviderError("sigv4a_signing_region_set not set in profile.", { + tryNextLink: true + }); + }, + default: void 0 +}; + +// src/submodules/httpAuthSchemes/aws_sdk/resolveAwsSdkSigV4Config.ts +var import_client = __nccwpck_require__(2825); +var import_core2 = __nccwpck_require__(5829); +var import_signature_v4 = __nccwpck_require__(1528); +var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => { + let isUserSupplied = false; + let normalizedCreds; + if (config.credentials) { + isUserSupplied = true; + normalizedCreds = (0, import_core2.memoizeIdentityProvider)(config.credentials, import_core2.isIdentityExpired, import_core2.doesIdentityRequireRefresh); + } + if (!normalizedCreds) { + if (config.credentialDefaultProvider) { + normalizedCreds = (0, import_core2.normalizeProvider)( + config.credentialDefaultProvider( + Object.assign({}, config, { + parentClientConfig: config + }) + ) + ); + } else { + normalizedCreds = /* @__PURE__ */ __name(async () => { + throw new Error("`credentials` is missing"); + }, "normalizedCreds"); + } + } + const { + // Default for signingEscapePath + signingEscapePath = true, + // Default for systemClockOffset + systemClockOffset = config.systemClockOffset || 0, + // No default for sha256 since it is platform dependent + sha256 + } = config; + let signer; + if (config.signer) { + signer = (0, import_core2.normalizeProvider)(config.signer); + } else if (config.regionInfoProvider) { + signer = /* @__PURE__ */ __name(() => (0, import_core2.normalizeProvider)(config.region)().then( + async (region) => [ + await config.regionInfoProvider(region, { + useFipsEndpoint: await config.useFipsEndpoint(), + useDualstackEndpoint: await config.useDualstackEndpoint() + }) || {}, + region + ] + ).then(([regionInfo, region]) => { + const { signingRegion, signingService } = regionInfo; + config.signingRegion = config.signingRegion || signingRegion || region; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: normalizedCreds, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath + }; + const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4; + return new SignerCtor(params); + }), "signer"); + } else { + signer = /* @__PURE__ */ __name(async (authScheme) => { + authScheme = Object.assign( + {}, + { + name: "sigv4", + signingName: config.signingName || config.defaultSigningName, + signingRegion: await (0, import_core2.normalizeProvider)(config.region)(), + properties: {} + }, + authScheme + ); + const signingRegion = authScheme.signingRegion; + const signingService = authScheme.signingName; + config.signingRegion = config.signingRegion || signingRegion; + config.signingName = config.signingName || signingService || config.serviceId; + const params = { + ...config, + credentials: normalizedCreds, + region: config.signingRegion, + service: config.signingName, + sha256, + uriEscapePath: signingEscapePath + }; + const SignerCtor = config.signerConstructor || import_signature_v4.SignatureV4; + return new SignerCtor(params); + }, "signer"); + } + return { + ...config, + systemClockOffset, + signingEscapePath, + credentials: isUserSupplied ? async () => normalizedCreds().then( + (creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_CODE", "e") + ) : normalizedCreds, + signer + }; +}, "resolveAwsSdkSigV4Config"); +var resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config; +// Annotate the CommonJS export names for ESM import in node: +0 && (0); + + +/***/ }), + +/***/ 785: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/submodules/protocols/index.ts +var protocols_exports = {}; +__export(protocols_exports, { + _toBool: () => _toBool, + _toNum: () => _toNum, + _toStr: () => _toStr, + awsExpectUnion: () => awsExpectUnion, + loadRestJsonErrorCode: () => loadRestJsonErrorCode, + loadRestXmlErrorCode: () => loadRestXmlErrorCode, + parseJsonBody: () => parseJsonBody, + parseJsonErrorBody: () => parseJsonErrorBody, + parseXmlBody: () => parseXmlBody, + parseXmlErrorBody: () => parseXmlErrorBody +}); +module.exports = __toCommonJS(protocols_exports); + +// src/submodules/protocols/coercing-serializers.ts +var _toStr = /* @__PURE__ */ __name((val) => { + if (val == null) { + return val; + } + if (typeof val === "number" || typeof val === "bigint") { + const warning = new Error(`Received number ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + if (typeof val === "boolean") { + const warning = new Error(`Received boolean ${val} where a string was expected.`); + warning.name = "Warning"; + console.warn(warning); + return String(val); + } + return val; +}, "_toStr"); +var _toBool = /* @__PURE__ */ __name((val) => { + if (val == null) { + return val; + } + if (typeof val === "number") { + } + if (typeof val === "string") { + const lowercase = val.toLowerCase(); + if (val !== "" && lowercase !== "false" && lowercase !== "true") { + const warning = new Error(`Received string "${val}" where a boolean was expected.`); + warning.name = "Warning"; + console.warn(warning); + } + return val !== "" && lowercase !== "false"; + } + return val; +}, "_toBool"); +var _toNum = /* @__PURE__ */ __name((val) => { + if (val == null) { + return val; + } + if (typeof val === "boolean") { + } + if (typeof val === "string") { + const num = Number(val); + if (num.toString() !== val) { + const warning = new Error(`Received string "${val}" where a number was expected.`); + warning.name = "Warning"; + console.warn(warning); + return val; + } + return num; + } + return val; +}, "_toNum"); + +// src/submodules/protocols/json/awsExpectUnion.ts +var import_smithy_client = __nccwpck_require__(3570); +var awsExpectUnion = /* @__PURE__ */ __name((value) => { + if (value == null) { + return void 0; + } + if (typeof value === "object" && "__type" in value) { + delete value.__type; + } + return (0, import_smithy_client.expectUnion)(value); +}, "awsExpectUnion"); + +// src/submodules/protocols/common.ts +var import_smithy_client2 = __nccwpck_require__(3570); +var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString"); + +// src/submodules/protocols/json/parseJsonBody.ts +var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + try { + return JSON.parse(encoded); + } catch (e) { + if ((e == null ? void 0 : e.name) === "SyntaxError") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded + }); + } + throw e; + } + } + return {}; +}), "parseJsonBody"); +var parseJsonErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => { + const value = await parseJsonBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}, "parseJsonErrorBody"); +var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => { + const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey"); + const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }, "sanitizeErrorCode"); + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== void 0) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== void 0) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== void 0) { + return sanitizeErrorCode(data["__type"]); + } +}, "loadRestJsonErrorCode"); + +// src/submodules/protocols/xml/parseXmlBody.ts +var import_smithy_client3 = __nccwpck_require__(3570); +var import_fast_xml_parser = __nccwpck_require__(2603); +var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + const parser = new import_fast_xml_parser.XMLParser({ + attributeNamePrefix: "", + htmlEntities: true, + ignoreAttributes: false, + ignoreDeclaration: true, + parseTagValue: false, + trimValues: false, + tagValueProcessor: (_, val) => val.trim() === "" && val.includes("\n") ? "" : void 0 + }); + parser.addEntity("#xD", "\r"); + parser.addEntity("#10", "\n"); + let parsedObj; + try { + parsedObj = parser.parse(encoded, true); + } catch (e) { + if (e && typeof e === "object") { + Object.defineProperty(e, "$responseBodyText", { + value: encoded + }); + } + throw e; + } + const textNodeName = "#text"; + const key = Object.keys(parsedObj)[0]; + const parsedObjToReturn = parsedObj[key]; + if (parsedObjToReturn[textNodeName]) { + parsedObjToReturn[key] = parsedObjToReturn[textNodeName]; + delete parsedObjToReturn[textNodeName]; + } + return (0, import_smithy_client3.getValueFromTextNode)(parsedObjToReturn); + } + return {}; +}), "parseXmlBody"); +var parseXmlErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => { + const value = await parseXmlBody(errorBody, context); + if (value.Error) { + value.Error.message = value.Error.message ?? value.Error.Message; + } + return value; +}, "parseXmlErrorBody"); +var loadRestXmlErrorCode = /* @__PURE__ */ __name((output, data) => { + var _a; + if (((_a = data == null ? void 0 : data.Error) == null ? void 0 : _a.Code) !== void 0) { + return data.Error.Code; + } + if ((data == null ? void 0 : data.Code) !== void 0) { + return data.Code; + } + if (output.statusCode == 404) { + return "NotFound"; + } +}, "loadRestXmlErrorCode"); +// Annotate the CommonJS export names for ESM import in node: +0 && (0); + + +/***/ }), + +/***/ 5972: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + ENV_ACCOUNT_ID: () => ENV_ACCOUNT_ID, + ENV_CREDENTIAL_SCOPE: () => ENV_CREDENTIAL_SCOPE, + ENV_EXPIRATION: () => ENV_EXPIRATION, + ENV_KEY: () => ENV_KEY, + ENV_SECRET: () => ENV_SECRET, + ENV_SESSION: () => ENV_SESSION, + fromEnv: () => fromEnv +}); +module.exports = __toCommonJS(src_exports); + +// src/fromEnv.ts +var import_client = __nccwpck_require__(2825); +var import_property_provider = __nccwpck_require__(9721); +var ENV_KEY = "AWS_ACCESS_KEY_ID"; +var ENV_SECRET = "AWS_SECRET_ACCESS_KEY"; +var ENV_SESSION = "AWS_SESSION_TOKEN"; +var ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION"; +var ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE"; +var ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID"; +var fromEnv = /* @__PURE__ */ __name((init) => async () => { + var _a; + (_a = init == null ? void 0 : init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-env - fromEnv"); + const accessKeyId = process.env[ENV_KEY]; + const secretAccessKey = process.env[ENV_SECRET]; + const sessionToken = process.env[ENV_SESSION]; + const expiry = process.env[ENV_EXPIRATION]; + const credentialScope = process.env[ENV_CREDENTIAL_SCOPE]; + const accountId = process.env[ENV_ACCOUNT_ID]; + if (accessKeyId && secretAccessKey) { + const credentials = { + accessKeyId, + secretAccessKey, + ...sessionToken && { sessionToken }, + ...expiry && { expiration: new Date(expiry) }, + ...credentialScope && { credentialScope }, + ...accountId && { accountId } + }; + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS", "g"); + return credentials; + } + throw new import_property_provider.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init == null ? void 0 : init.logger }); +}, "fromEnv"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3757: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.checkUrl = void 0; +const property_provider_1 = __nccwpck_require__(9721); +const LOOPBACK_CIDR_IPv4 = "127.0.0.0/8"; +const LOOPBACK_CIDR_IPv6 = "::1/128"; +const ECS_CONTAINER_HOST = "169.254.170.2"; +const EKS_CONTAINER_HOST_IPv4 = "169.254.170.23"; +const EKS_CONTAINER_HOST_IPv6 = "[fd00:ec2::23]"; +const checkUrl = (url, logger) => { + if (url.protocol === "https:") { + return; + } + if (url.hostname === ECS_CONTAINER_HOST || + url.hostname === EKS_CONTAINER_HOST_IPv4 || + url.hostname === EKS_CONTAINER_HOST_IPv6) { + return; + } + if (url.hostname.includes("[")) { + if (url.hostname === "[::1]" || url.hostname === "[0000:0000:0000:0000:0000:0000:0000:0001]") { + return; + } + } + else { + if (url.hostname === "localhost") { + return; + } + const ipComponents = url.hostname.split("."); + const inRange = (component) => { + const num = parseInt(component, 10); + return 0 <= num && num <= 255; + }; + if (ipComponents[0] === "127" && + inRange(ipComponents[1]) && + inRange(ipComponents[2]) && + inRange(ipComponents[3]) && + ipComponents.length === 4) { + return; + } + } + throw new property_provider_1.CredentialsProviderError(`URL not accepted. It must either be HTTPS or match one of the following: + - loopback CIDR 127.0.0.0/8 or [::1/128] + - ECS container host 169.254.170.2 + - EKS container host 169.254.170.23 or [fd00:ec2::23]`, { logger }); +}; +exports.checkUrl = checkUrl; + + +/***/ }), + +/***/ 6070: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromHttp = void 0; +const tslib_1 = __nccwpck_require__(4351); +const client_1 = __nccwpck_require__(2825); +const node_http_handler_1 = __nccwpck_require__(258); +const property_provider_1 = __nccwpck_require__(9721); +const promises_1 = tslib_1.__importDefault(__nccwpck_require__(3292)); +const checkUrl_1 = __nccwpck_require__(3757); +const requestHelpers_1 = __nccwpck_require__(9287); +const retry_wrapper_1 = __nccwpck_require__(9921); +const AWS_CONTAINER_CREDENTIALS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +const DEFAULT_LINK_LOCAL_HOST = "http://169.254.170.2"; +const AWS_CONTAINER_CREDENTIALS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE = "AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE"; +const AWS_CONTAINER_AUTHORIZATION_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +const fromHttp = (options = {}) => { + options.logger?.debug("@aws-sdk/credential-provider-http - fromHttp"); + let host; + const relative = options.awsContainerCredentialsRelativeUri ?? process.env[AWS_CONTAINER_CREDENTIALS_RELATIVE_URI]; + const full = options.awsContainerCredentialsFullUri ?? process.env[AWS_CONTAINER_CREDENTIALS_FULL_URI]; + const token = options.awsContainerAuthorizationToken ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN]; + const tokenFile = options.awsContainerAuthorizationTokenFile ?? process.env[AWS_CONTAINER_AUTHORIZATION_TOKEN_FILE]; + const warn = options.logger?.constructor?.name === "NoOpLogger" || !options.logger ? console.warn : options.logger.warn; + if (relative && full) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerCredentialsRelativeUri and awsContainerCredentialsFullUri."); + warn("awsContainerCredentialsFullUri will take precedence."); + } + if (token && tokenFile) { + warn("@aws-sdk/credential-provider-http: " + + "you have set both awsContainerAuthorizationToken and awsContainerAuthorizationTokenFile."); + warn("awsContainerAuthorizationToken will take precedence."); + } + if (full) { + host = full; + } + else if (relative) { + host = `${DEFAULT_LINK_LOCAL_HOST}${relative}`; + } + else { + throw new property_provider_1.CredentialsProviderError(`No HTTP credential provider host provided. +Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI.`, { logger: options.logger }); + } + const url = new URL(host); + (0, checkUrl_1.checkUrl)(url, options.logger); + const requestHandler = new node_http_handler_1.NodeHttpHandler({ + requestTimeout: options.timeout ?? 1000, + connectionTimeout: options.timeout ?? 1000, + }); + return (0, retry_wrapper_1.retryWrapper)(async () => { + const request = (0, requestHelpers_1.createGetRequest)(url); + if (token) { + request.headers.Authorization = token; + } + else if (tokenFile) { + request.headers.Authorization = (await promises_1.default.readFile(tokenFile)).toString(); + } + try { + const result = await requestHandler.handle(request); + return (0, requestHelpers_1.getCredentials)(result.response).then((creds) => (0, client_1.setCredentialFeature)(creds, "CREDENTIALS_HTTP", "z")); + } + catch (e) { + throw new property_provider_1.CredentialsProviderError(String(e), { logger: options.logger }); + } + }, options.maxRetries ?? 3, options.timeout ?? 1000); +}; +exports.fromHttp = fromHttp; + + +/***/ }), + +/***/ 9287: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getCredentials = exports.createGetRequest = void 0; +const property_provider_1 = __nccwpck_require__(9721); +const protocol_http_1 = __nccwpck_require__(4418); +const smithy_client_1 = __nccwpck_require__(3570); +const util_stream_1 = __nccwpck_require__(6607); +function createGetRequest(url) { + return new protocol_http_1.HttpRequest({ + protocol: url.protocol, + hostname: url.hostname, + port: Number(url.port), + path: url.pathname, + query: Array.from(url.searchParams.entries()).reduce((acc, [k, v]) => { + acc[k] = v; + return acc; + }, {}), + fragment: url.hash, + }); +} +exports.createGetRequest = createGetRequest; +async function getCredentials(response, logger) { + const stream = (0, util_stream_1.sdkStreamMixin)(response.body); + const str = await stream.transformToString(); + if (response.statusCode === 200) { + const parsed = JSON.parse(str); + if (typeof parsed.AccessKeyId !== "string" || + typeof parsed.SecretAccessKey !== "string" || + typeof parsed.Token !== "string" || + typeof parsed.Expiration !== "string") { + throw new property_provider_1.CredentialsProviderError("HTTP credential provider response not of the required format, an object matching: " + + "{ AccessKeyId: string, SecretAccessKey: string, Token: string, Expiration: string(rfc3339) }", { logger }); + } + return { + accessKeyId: parsed.AccessKeyId, + secretAccessKey: parsed.SecretAccessKey, + sessionToken: parsed.Token, + expiration: (0, smithy_client_1.parseRfc3339DateTime)(parsed.Expiration), + }; + } + if (response.statusCode >= 400 && response.statusCode < 500) { + let parsedBody = {}; + try { + parsedBody = JSON.parse(str); + } + catch (e) { } + throw Object.assign(new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }), { + Code: parsedBody.Code, + Message: parsedBody.Message, + }); + } + throw new property_provider_1.CredentialsProviderError(`Server responded with status: ${response.statusCode}`, { logger }); +} +exports.getCredentials = getCredentials; + + +/***/ }), + +/***/ 9921: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.retryWrapper = void 0; +const retryWrapper = (toRetry, maxRetries, delayMs) => { + return async () => { + for (let i = 0; i < maxRetries; ++i) { + try { + return await toRetry(); + } + catch (e) { + await new Promise((resolve) => setTimeout(resolve, delayMs)); + } + } + return await toRetry(); + }; +}; +exports.retryWrapper = retryWrapper; + + +/***/ }), + +/***/ 7290: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromHttp = void 0; +var fromHttp_1 = __nccwpck_require__(6070); +Object.defineProperty(exports, "fromHttp", ({ enumerable: true, get: function () { return fromHttp_1.fromHttp; } })); + + +/***/ }), + +/***/ 4203: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __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); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromIni: () => fromIni +}); +module.exports = __toCommonJS(src_exports); + +// src/fromIni.ts + + +// src/resolveProfileData.ts + + +// src/resolveAssumeRoleCredentials.ts + + +var import_shared_ini_file_loader = __nccwpck_require__(3507); + +// src/resolveCredentialSource.ts +var import_client = __nccwpck_require__(2825); +var import_property_provider = __nccwpck_require__(9721); +var resolveCredentialSource = /* @__PURE__ */ __name((credentialSource, profileName, logger) => { + const sourceProvidersMap = { + EcsContainer: async (options) => { + const { fromHttp } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7290))); + const { fromContainerMetadata } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))); + logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is EcsContainer"); + return async () => (0, import_property_provider.chain)(fromHttp(options ?? {}), fromContainerMetadata(options))().then(setNamedProvider); + }, + Ec2InstanceMetadata: async (options) => { + logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Ec2InstanceMetadata"); + const { fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))); + return async () => fromInstanceMetadata(options)().then(setNamedProvider); + }, + Environment: async (options) => { + logger == null ? void 0 : logger.debug("@aws-sdk/credential-provider-ini - credential_source is Environment"); + const { fromEnv } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(5972))); + return async () => fromEnv(options)().then(setNamedProvider); + } + }; + if (credentialSource in sourceProvidersMap) { + return sourceProvidersMap[credentialSource]; + } else { + throw new import_property_provider.CredentialsProviderError( + `Unsupported credential source in profile ${profileName}. Got ${credentialSource}, expected EcsContainer or Ec2InstanceMetadata or Environment.`, + { logger } + ); + } +}, "resolveCredentialSource"); +var setNamedProvider = /* @__PURE__ */ __name((creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_NAMED_PROVIDER", "p"), "setNamedProvider"); + +// src/resolveAssumeRoleCredentials.ts +var isAssumeRoleProfile = /* @__PURE__ */ __name((arg, { profile = "default", logger } = {}) => { + return Boolean(arg) && typeof arg === "object" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1 && ["undefined", "string"].indexOf(typeof arg.external_id) > -1 && ["undefined", "string"].indexOf(typeof arg.mfa_serial) > -1 && (isAssumeRoleWithSourceProfile(arg, { profile, logger }) || isCredentialSourceProfile(arg, { profile, logger })); +}, "isAssumeRoleProfile"); +var isAssumeRoleWithSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => { + var _a; + const withSourceProfile = typeof arg.source_profile === "string" && typeof arg.credential_source === "undefined"; + if (withSourceProfile) { + (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isAssumeRoleWithSourceProfile source_profile=${arg.source_profile}`); + } + return withSourceProfile; +}, "isAssumeRoleWithSourceProfile"); +var isCredentialSourceProfile = /* @__PURE__ */ __name((arg, { profile, logger }) => { + var _a; + const withProviderProfile = typeof arg.credential_source === "string" && typeof arg.source_profile === "undefined"; + if (withProviderProfile) { + (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, ` ${profile} isCredentialSourceProfile credential_source=${arg.credential_source}`); + } + return withProviderProfile; +}, "isCredentialSourceProfile"); +var resolveAssumeRoleCredentials = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}) => { + var _a, _b; + (_a = options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveAssumeRoleCredentials (STS)"); + const data = profiles[profileName]; + if (!options.roleAssumer) { + const { getDefaultRoleAssumer } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(2209))); + options.roleAssumer = getDefaultRoleAssumer( + { + ...options.clientConfig, + credentialProviderLogger: options.logger, + parentClientConfig: options == null ? void 0 : options.parentClientConfig + }, + options.clientPlugins + ); + } + const { source_profile } = data; + if (source_profile && source_profile in visitedProfiles) { + throw new import_property_provider.CredentialsProviderError( + `Detected a cycle attempting to resolve credentials for profile ${(0, import_shared_ini_file_loader.getProfileName)(options)}. Profiles visited: ` + Object.keys(visitedProfiles).join(", "), + { logger: options.logger } + ); + } + (_b = options.logger) == null ? void 0 : _b.debug( + `@aws-sdk/credential-provider-ini - finding credential resolver using ${source_profile ? `source_profile=[${source_profile}]` : `profile=[${profileName}]`}` + ); + const sourceCredsProvider = source_profile ? resolveProfileData( + source_profile, + profiles, + options, + { + ...visitedProfiles, + [source_profile]: true + }, + isCredentialSourceWithoutRoleArn(profiles[source_profile] ?? {}) + ) : (await resolveCredentialSource(data.credential_source, profileName, options.logger)(options))(); + if (isCredentialSourceWithoutRoleArn(data)) { + return sourceCredsProvider.then((creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o")); + } else { + const params = { + RoleArn: data.role_arn, + RoleSessionName: data.role_session_name || `aws-sdk-js-${Date.now()}`, + ExternalId: data.external_id, + DurationSeconds: parseInt(data.duration_seconds || "3600", 10) + }; + const { mfa_serial } = data; + if (mfa_serial) { + if (!options.mfaCodeProvider) { + throw new import_property_provider.CredentialsProviderError( + `Profile ${profileName} requires multi-factor authentication, but no MFA code callback was provided.`, + { logger: options.logger, tryNextLink: false } + ); + } + params.SerialNumber = mfa_serial; + params.TokenCode = await options.mfaCodeProvider(mfa_serial); + } + const sourceCreds = await sourceCredsProvider; + return options.roleAssumer(sourceCreds, params).then( + (creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SOURCE_PROFILE", "o") + ); + } +}, "resolveAssumeRoleCredentials"); +var isCredentialSourceWithoutRoleArn = /* @__PURE__ */ __name((section) => { + return !section.role_arn && !!section.credential_source; +}, "isCredentialSourceWithoutRoleArn"); + +// src/resolveProcessCredentials.ts + +var isProcessProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.credential_process === "string", "isProcessProfile"); +var resolveProcessCredentials = /* @__PURE__ */ __name(async (options, profile) => Promise.resolve().then(() => __toESM(__nccwpck_require__(9969))).then( + ({ fromProcess }) => fromProcess({ + ...options, + profile + })().then((creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_PROCESS", "v")) +), "resolveProcessCredentials"); + +// src/resolveSsoCredentials.ts + +var resolveSsoCredentials = /* @__PURE__ */ __name(async (profile, profileData, options = {}) => { + const { fromSSO } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(6414))); + return fromSSO({ + profile, + logger: options.logger, + parentClientConfig: options.parentClientConfig, + clientConfig: options.clientConfig + })().then((creds) => { + if (profileData.sso_session) { + return (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SSO", "r"); + } else { + return (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_SSO_LEGACY", "t"); + } + }); +}, "resolveSsoCredentials"); +var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"), "isSsoProfile"); + +// src/resolveStaticCredentials.ts + +var isStaticCredsProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.aws_access_key_id === "string" && typeof arg.aws_secret_access_key === "string" && ["undefined", "string"].indexOf(typeof arg.aws_session_token) > -1 && ["undefined", "string"].indexOf(typeof arg.aws_account_id) > -1, "isStaticCredsProfile"); +var resolveStaticCredentials = /* @__PURE__ */ __name(async (profile, options) => { + var _a; + (_a = options == null ? void 0 : options.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - resolveStaticCredentials"); + const credentials = { + accessKeyId: profile.aws_access_key_id, + secretAccessKey: profile.aws_secret_access_key, + sessionToken: profile.aws_session_token, + ...profile.aws_credential_scope && { credentialScope: profile.aws_credential_scope }, + ...profile.aws_account_id && { accountId: profile.aws_account_id } + }; + return (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_PROFILE", "n"); +}, "resolveStaticCredentials"); + +// src/resolveWebIdentityCredentials.ts + +var isWebIdentityProfile = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1, "isWebIdentityProfile"); +var resolveWebIdentityCredentials = /* @__PURE__ */ __name(async (profile, options) => Promise.resolve().then(() => __toESM(__nccwpck_require__(5646))).then( + ({ fromTokenFile }) => fromTokenFile({ + webIdentityTokenFile: profile.web_identity_token_file, + roleArn: profile.role_arn, + roleSessionName: profile.role_session_name, + roleAssumerWithWebIdentity: options.roleAssumerWithWebIdentity, + logger: options.logger, + parentClientConfig: options.parentClientConfig + })().then((creds) => (0, import_client.setCredentialFeature)(creds, "CREDENTIALS_PROFILE_STS_WEB_ID_TOKEN", "q")) +), "resolveWebIdentityCredentials"); + +// src/resolveProfileData.ts +var resolveProfileData = /* @__PURE__ */ __name(async (profileName, profiles, options, visitedProfiles = {}, isAssumeRoleRecursiveCall = false) => { + const data = profiles[profileName]; + if (Object.keys(visitedProfiles).length > 0 && isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isAssumeRoleRecursiveCall || isAssumeRoleProfile(data, { profile: profileName, logger: options.logger })) { + return resolveAssumeRoleCredentials(profileName, profiles, options, visitedProfiles); + } + if (isStaticCredsProfile(data)) { + return resolveStaticCredentials(data, options); + } + if (isWebIdentityProfile(data)) { + return resolveWebIdentityCredentials(data, options); + } + if (isProcessProfile(data)) { + return resolveProcessCredentials(options, profileName); + } + if (isSsoProfile(data)) { + return await resolveSsoCredentials(profileName, data, options); + } + throw new import_property_provider.CredentialsProviderError( + `Could not resolve credentials using profile: [${profileName}] in configuration/credentials file(s).`, + { logger: options.logger } + ); +}, "resolveProfileData"); + +// src/fromIni.ts +var fromIni = /* @__PURE__ */ __name((init = {}) => async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-ini - fromIni"); + const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init); + return resolveProfileData((0, import_shared_ini_file_loader.getProfileName)(init), profiles, init); +}, "fromIni"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5531: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __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); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + credentialsTreatedAsExpired: () => credentialsTreatedAsExpired, + credentialsWillNeedRefresh: () => credentialsWillNeedRefresh, + defaultProvider: () => defaultProvider +}); +module.exports = __toCommonJS(src_exports); + +// src/defaultProvider.ts +var import_credential_provider_env = __nccwpck_require__(5972); + +var import_shared_ini_file_loader = __nccwpck_require__(3507); + +// src/remoteProvider.ts +var import_property_provider = __nccwpck_require__(9721); +var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +var remoteProvider = /* @__PURE__ */ __name(async (init) => { + var _a, _b; + const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))); + if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) { + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata"); + const { fromHttp } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7290))); + return (0, import_property_provider.chain)(fromHttp(init), fromContainerMetadata(init)); + } + if (process.env[ENV_IMDS_DISABLED]) { + return async () => { + throw new import_property_provider.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger }); + }; + } + (_b = init.logger) == null ? void 0 : _b.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata"); + return fromInstanceMetadata(init); +}, "remoteProvider"); + +// src/defaultProvider.ts +var multipleCredentialSourceWarningEmitted = false; +var defaultProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)( + (0, import_property_provider.chain)( + async () => { + var _a, _b, _c, _d; + const profile = init.profile ?? process.env[import_shared_ini_file_loader.ENV_PROFILE]; + if (profile) { + const envStaticCredentialsAreSet = process.env[import_credential_provider_env.ENV_KEY] && process.env[import_credential_provider_env.ENV_SECRET]; + if (envStaticCredentialsAreSet) { + if (!multipleCredentialSourceWarningEmitted) { + const warnFn = ((_a = init.logger) == null ? void 0 : _a.warn) && ((_c = (_b = init.logger) == null ? void 0 : _b.constructor) == null ? void 0 : _c.name) !== "NoOpLogger" ? init.logger.warn : console.warn; + warnFn( + `@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING: + Multiple credential sources detected: + Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set. + This SDK will proceed with the AWS_PROFILE value. + + However, a future version may change this behavior to prefer the ENV static credentials. + Please ensure that your environment only sets either the AWS_PROFILE or the + AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair. +` + ); + multipleCredentialSourceWarningEmitted = true; + } + } + throw new import_property_provider.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", { + logger: init.logger, + tryNextLink: true + }); + } + (_d = init.logger) == null ? void 0 : _d.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv"); + return (0, import_credential_provider_env.fromEnv)(init)(); + }, + async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + throw new import_property_provider.CredentialsProviderError( + "Skipping SSO provider in default chain (inputs do not include SSO fields).", + { logger: init.logger } + ); + } + const { fromSSO } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(6414))); + return fromSSO(init)(); + }, + async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni"); + const { fromIni } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(4203))); + return fromIni(init)(); + }, + async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess"); + const { fromProcess } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(9969))); + return fromProcess(init)(); + }, + async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile"); + const { fromTokenFile } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(5646))); + return fromTokenFile(init)(); + }, + async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider"); + return (await remoteProvider(init))(); + }, + async () => { + throw new import_property_provider.CredentialsProviderError("Could not load credentials from any providers", { + tryNextLink: false, + logger: init.logger + }); + } + ), + credentialsTreatedAsExpired, + credentialsWillNeedRefresh +), "defaultProvider"); +var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => (credentials == null ? void 0 : credentials.expiration) !== void 0, "credentialsWillNeedRefresh"); +var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => (credentials == null ? void 0 : credentials.expiration) !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, "credentialsTreatedAsExpired"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 9969: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromProcess: () => fromProcess +}); +module.exports = __toCommonJS(src_exports); + +// src/fromProcess.ts +var import_shared_ini_file_loader = __nccwpck_require__(3507); + +// src/resolveProcessCredentials.ts +var import_property_provider = __nccwpck_require__(9721); +var import_child_process = __nccwpck_require__(2081); +var import_util = __nccwpck_require__(3837); + +// src/getValidatedProcessCredentials.ts +var import_client = __nccwpck_require__(2825); +var getValidatedProcessCredentials = /* @__PURE__ */ __name((profileName, data, profiles) => { + var _a; + if (data.Version !== 1) { + throw Error(`Profile ${profileName} credential_process did not return Version 1.`); + } + if (data.AccessKeyId === void 0 || data.SecretAccessKey === void 0) { + throw Error(`Profile ${profileName} credential_process returned invalid credentials.`); + } + if (data.Expiration) { + const currentTime = /* @__PURE__ */ new Date(); + const expireTime = new Date(data.Expiration); + if (expireTime < currentTime) { + throw Error(`Profile ${profileName} credential_process returned expired credentials.`); + } + } + let accountId = data.AccountId; + if (!accountId && ((_a = profiles == null ? void 0 : profiles[profileName]) == null ? void 0 : _a.aws_account_id)) { + accountId = profiles[profileName].aws_account_id; + } + const credentials = { + accessKeyId: data.AccessKeyId, + secretAccessKey: data.SecretAccessKey, + ...data.SessionToken && { sessionToken: data.SessionToken }, + ...data.Expiration && { expiration: new Date(data.Expiration) }, + ...data.CredentialScope && { credentialScope: data.CredentialScope }, + ...accountId && { accountId } + }; + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_PROCESS", "w"); + return credentials; +}, "getValidatedProcessCredentials"); + +// src/resolveProcessCredentials.ts +var resolveProcessCredentials = /* @__PURE__ */ __name(async (profileName, profiles, logger) => { + const profile = profiles[profileName]; + if (profiles[profileName]) { + const credentialProcess = profile["credential_process"]; + if (credentialProcess !== void 0) { + const execPromise = (0, import_util.promisify)(import_child_process.exec); + try { + const { stdout } = await execPromise(credentialProcess); + let data; + try { + data = JSON.parse(stdout.trim()); + } catch { + throw Error(`Profile ${profileName} credential_process returned invalid JSON.`); + } + return getValidatedProcessCredentials(profileName, data, profiles); + } catch (error) { + throw new import_property_provider.CredentialsProviderError(error.message, { logger }); + } + } else { + throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} did not contain credential_process.`, { logger }); + } + } else { + throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} could not be found in shared credentials file.`, { + logger + }); + } +}, "resolveProcessCredentials"); + +// src/fromProcess.ts +var fromProcess = /* @__PURE__ */ __name((init = {}) => async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-process - fromProcess"); + const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init); + return resolveProcessCredentials((0, import_shared_ini_file_loader.getProfileName)(init), profiles, init.logger); +}, "fromProcess"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 6414: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __esm = (fn, res) => function __init() { + return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res; +}; +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/loadSso.ts +var loadSso_exports = {}; +__export(loadSso_exports, { + GetRoleCredentialsCommand: () => import_client_sso.GetRoleCredentialsCommand, + SSOClient: () => import_client_sso.SSOClient +}); +var import_client_sso; +var init_loadSso = __esm({ + "src/loadSso.ts"() { + "use strict"; + import_client_sso = __nccwpck_require__(2666); + } +}); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromSSO: () => fromSSO, + isSsoProfile: () => isSsoProfile, + validateSsoProfile: () => validateSsoProfile +}); +module.exports = __toCommonJS(src_exports); + +// src/fromSSO.ts + + + +// src/isSsoProfile.ts +var isSsoProfile = /* @__PURE__ */ __name((arg) => arg && (typeof arg.sso_start_url === "string" || typeof arg.sso_account_id === "string" || typeof arg.sso_session === "string" || typeof arg.sso_region === "string" || typeof arg.sso_role_name === "string"), "isSsoProfile"); + +// src/resolveSSOCredentials.ts +var import_client = __nccwpck_require__(2825); +var import_token_providers = __nccwpck_require__(2843); +var import_property_provider = __nccwpck_require__(9721); +var import_shared_ini_file_loader = __nccwpck_require__(3507); +var SHOULD_FAIL_CREDENTIAL_CHAIN = false; +var resolveSSOCredentials = /* @__PURE__ */ __name(async ({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig, + parentClientConfig, + profile, + logger +}) => { + let token; + const refreshMessage = `To refresh this SSO session run aws sso login with the corresponding profile.`; + if (ssoSession) { + try { + const _token = await (0, import_token_providers.fromSso)({ profile })(); + token = { + accessToken: _token.token, + expiresAt: new Date(_token.expiration).toISOString() + }; + } catch (e) { + throw new import_property_provider.CredentialsProviderError(e.message, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger + }); + } + } else { + try { + token = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoStartUrl); + } catch (e) { + throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile is invalid. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger + }); + } + } + if (new Date(token.expiresAt).getTime() - Date.now() <= 0) { + throw new import_property_provider.CredentialsProviderError(`The SSO session associated with this profile has expired. ${refreshMessage}`, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger + }); + } + const { accessToken } = token; + const { SSOClient: SSOClient2, GetRoleCredentialsCommand: GetRoleCredentialsCommand2 } = await Promise.resolve().then(() => (init_loadSso(), loadSso_exports)); + const sso = ssoClient || new SSOClient2( + Object.assign({}, clientConfig ?? {}, { + logger: (clientConfig == null ? void 0 : clientConfig.logger) ?? (parentClientConfig == null ? void 0 : parentClientConfig.logger), + region: (clientConfig == null ? void 0 : clientConfig.region) ?? ssoRegion + }) + ); + let ssoResp; + try { + ssoResp = await sso.send( + new GetRoleCredentialsCommand2({ + accountId: ssoAccountId, + roleName: ssoRoleName, + accessToken + }) + ); + } catch (e) { + throw new import_property_provider.CredentialsProviderError(e, { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger + }); + } + const { + roleCredentials: { accessKeyId, secretAccessKey, sessionToken, expiration, credentialScope, accountId } = {} + } = ssoResp; + if (!accessKeyId || !secretAccessKey || !sessionToken || !expiration) { + throw new import_property_provider.CredentialsProviderError("SSO returns an invalid temporary credential.", { + tryNextLink: SHOULD_FAIL_CREDENTIAL_CHAIN, + logger + }); + } + const credentials = { + accessKeyId, + secretAccessKey, + sessionToken, + expiration: new Date(expiration), + ...credentialScope && { credentialScope }, + ...accountId && { accountId } + }; + if (ssoSession) { + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_SSO", "s"); + } else { + (0, import_client.setCredentialFeature)(credentials, "CREDENTIALS_SSO_LEGACY", "u"); + } + return credentials; +}, "resolveSSOCredentials"); + +// src/validateSsoProfile.ts + +var validateSsoProfile = /* @__PURE__ */ __name((profile, logger) => { + const { sso_start_url, sso_account_id, sso_region, sso_role_name } = profile; + if (!sso_start_url || !sso_account_id || !sso_region || !sso_role_name) { + throw new import_property_provider.CredentialsProviderError( + `Profile is configured with invalid SSO credentials. Required parameters "sso_account_id", "sso_region", "sso_role_name", "sso_start_url". Got ${Object.keys(profile).join( + ", " + )} +Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.html`, + { tryNextLink: false, logger } + ); + } + return profile; +}, "validateSsoProfile"); + +// src/fromSSO.ts +var fromSSO = /* @__PURE__ */ __name((init = {}) => async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/credential-provider-sso - fromSSO"); + const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init; + const { ssoClient } = init; + const profileName = (0, import_shared_ini_file_loader.getProfileName)(init); + if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) { + const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init); + const profile = profiles[profileName]; + if (!profile) { + throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} was not found.`, { logger: init.logger }); + } + if (!isSsoProfile(profile)) { + throw new import_property_provider.CredentialsProviderError(`Profile ${profileName} is not configured with SSO credentials.`, { + logger: init.logger + }); + } + if (profile == null ? void 0 : profile.sso_session) { + const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init); + const session = ssoSessions[profile.sso_session]; + const conflictMsg = ` configurations in profile ${profileName} and sso-session ${profile.sso_session}`; + if (ssoRegion && ssoRegion !== session.sso_region) { + throw new import_property_provider.CredentialsProviderError(`Conflicting SSO region` + conflictMsg, { + tryNextLink: false, + logger: init.logger + }); + } + if (ssoStartUrl && ssoStartUrl !== session.sso_start_url) { + throw new import_property_provider.CredentialsProviderError(`Conflicting SSO start_url` + conflictMsg, { + tryNextLink: false, + logger: init.logger + }); + } + profile.sso_region = session.sso_region; + profile.sso_start_url = session.sso_start_url; + } + const { sso_start_url, sso_account_id, sso_region, sso_role_name, sso_session } = validateSsoProfile( + profile, + init.logger + ); + return resolveSSOCredentials({ + ssoStartUrl: sso_start_url, + ssoSession: sso_session, + ssoAccountId: sso_account_id, + ssoRegion: sso_region, + ssoRoleName: sso_role_name, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + profile: profileName + }); + } else if (!ssoStartUrl || !ssoAccountId || !ssoRegion || !ssoRoleName) { + throw new import_property_provider.CredentialsProviderError( + 'Incomplete configuration. The fromSSO() argument hash must include "ssoStartUrl", "ssoAccountId", "ssoRegion", "ssoRoleName"', + { tryNextLink: false, logger: init.logger } + ); + } else { + return resolveSSOCredentials({ + ssoStartUrl, + ssoSession, + ssoAccountId, + ssoRegion, + ssoRoleName, + ssoClient, + clientConfig: init.clientConfig, + parentClientConfig: init.parentClientConfig, + profile: profileName + }); + } +}, "fromSSO"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5614: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromTokenFile = void 0; +const client_1 = __nccwpck_require__(2825); +const property_provider_1 = __nccwpck_require__(9721); +const fs_1 = __nccwpck_require__(7147); +const fromWebToken_1 = __nccwpck_require__(7905); +const ENV_TOKEN_FILE = "AWS_WEB_IDENTITY_TOKEN_FILE"; +const ENV_ROLE_ARN = "AWS_ROLE_ARN"; +const ENV_ROLE_SESSION_NAME = "AWS_ROLE_SESSION_NAME"; +const fromTokenFile = (init = {}) => async () => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromTokenFile"); + const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE]; + const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN]; + const roleSessionName = init?.roleSessionName ?? process.env[ENV_ROLE_SESSION_NAME]; + if (!webIdentityTokenFile || !roleArn) { + throw new property_provider_1.CredentialsProviderError("Web identity configuration not specified", { + logger: init.logger, + }); + } + const credentials = await (0, fromWebToken_1.fromWebToken)({ + ...init, + webIdentityToken: (0, fs_1.readFileSync)(webIdentityTokenFile, { encoding: "ascii" }), + roleArn, + roleSessionName, + })(); + if (webIdentityTokenFile === process.env[ENV_TOKEN_FILE]) { + (0, client_1.setCredentialFeature)(credentials, "CREDENTIALS_ENV_VARS_STS_WEB_ID_TOKEN", "h"); + } + return credentials; +}; +exports.fromTokenFile = fromTokenFile; + + +/***/ }), + +/***/ 7905: +/***/ (function(__unused_webpack_module, exports, __nccwpck_require__) { + +"use strict"; + +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromWebToken = void 0; +const fromWebToken = (init) => async () => { + init.logger?.debug("@aws-sdk/credential-provider-web-identity - fromWebToken"); + const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init; + let { roleAssumerWithWebIdentity } = init; + if (!roleAssumerWithWebIdentity) { + const { getDefaultRoleAssumerWithWebIdentity } = await Promise.resolve().then(() => __importStar(__nccwpck_require__(2209))); + roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({ + ...init.clientConfig, + credentialProviderLogger: init.logger, + parentClientConfig: init.parentClientConfig, + }, init.clientPlugins); + } + return roleAssumerWithWebIdentity({ + RoleArn: roleArn, + RoleSessionName: roleSessionName ?? `aws-sdk-js-session-${Date.now()}`, + WebIdentityToken: webIdentityToken, + ProviderId: providerId, + PolicyArns: policyArns, + Policy: policy, + DurationSeconds: durationSeconds, + }); +}; +exports.fromWebToken = fromWebToken; + + +/***/ }), + +/***/ 5646: +/***/ ((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 __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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +module.exports = __toCommonJS(src_exports); +__reExport(src_exports, __nccwpck_require__(5614), module.exports); +__reExport(src_exports, __nccwpck_require__(7905), module.exports); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2545: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + getHostHeaderPlugin: () => getHostHeaderPlugin, + hostHeaderMiddleware: () => hostHeaderMiddleware, + hostHeaderMiddlewareOptions: () => hostHeaderMiddlewareOptions, + resolveHostHeaderConfig: () => resolveHostHeaderConfig +}); +module.exports = __toCommonJS(src_exports); +var import_protocol_http = __nccwpck_require__(4418); +function resolveHostHeaderConfig(input) { + return input; +} +__name(resolveHostHeaderConfig, "resolveHostHeaderConfig"); +var hostHeaderMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => { + if (!import_protocol_http.HttpRequest.isInstance(args.request)) + return next(args); + const { request } = args; + const { handlerProtocol = "" } = options.requestHandler.metadata || {}; + if (handlerProtocol.indexOf("h2") >= 0 && !request.headers[":authority"]) { + delete request.headers["host"]; + request.headers[":authority"] = request.hostname + (request.port ? ":" + request.port : ""); + } else if (!request.headers["host"]) { + let host = request.hostname; + if (request.port != null) + host += `:${request.port}`; + request.headers["host"] = host; + } + return next(args); +}, "hostHeaderMiddleware"); +var hostHeaderMiddlewareOptions = { + name: "hostHeaderMiddleware", + step: "build", + priority: "low", + tags: ["HOST"], + override: true +}; +var getHostHeaderPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions); + } +}), "getHostHeaderPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 14: +/***/ ((module) => { + +"use strict"; + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + getLoggerPlugin: () => getLoggerPlugin, + loggerMiddleware: () => loggerMiddleware, + loggerMiddlewareOptions: () => loggerMiddlewareOptions +}); +module.exports = __toCommonJS(src_exports); + +// src/loggerMiddleware.ts +var loggerMiddleware = /* @__PURE__ */ __name(() => (next, context) => async (args) => { + var _a, _b; + try { + const response = await next(args); + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog; + const { $metadata, ...outputWithoutMetadata } = response.output; + (_a = logger == null ? void 0 : logger.info) == null ? void 0 : _a.call(logger, { + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + output: outputFilterSensitiveLog(outputWithoutMetadata), + metadata: $metadata + }); + return response; + } catch (error) { + const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context; + const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions; + const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog; + (_b = logger == null ? void 0 : logger.error) == null ? void 0 : _b.call(logger, { + clientName, + commandName, + input: inputFilterSensitiveLog(args.input), + error, + metadata: error.$metadata + }); + throw error; + } +}, "loggerMiddleware"); +var loggerMiddlewareOptions = { + name: "loggerMiddleware", + tags: ["LOGGER"], + step: "initialize", + override: true +}; +var getLoggerPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.add(loggerMiddleware(), loggerMiddlewareOptions); + } +}), "getLoggerPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5525: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + addRecursionDetectionMiddlewareOptions: () => addRecursionDetectionMiddlewareOptions, + getRecursionDetectionPlugin: () => getRecursionDetectionPlugin, + recursionDetectionMiddleware: () => recursionDetectionMiddleware +}); +module.exports = __toCommonJS(src_exports); +var import_protocol_http = __nccwpck_require__(4418); +var TRACE_ID_HEADER_NAME = "X-Amzn-Trace-Id"; +var ENV_LAMBDA_FUNCTION_NAME = "AWS_LAMBDA_FUNCTION_NAME"; +var ENV_TRACE_ID = "_X_AMZN_TRACE_ID"; +var recursionDetectionMiddleware = /* @__PURE__ */ __name((options) => (next) => async (args) => { + const { request } = args; + if (!import_protocol_http.HttpRequest.isInstance(request) || options.runtime !== "node" || request.headers.hasOwnProperty(TRACE_ID_HEADER_NAME)) { + return next(args); + } + const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME]; + const traceId = process.env[ENV_TRACE_ID]; + const nonEmptyString = /* @__PURE__ */ __name((str) => typeof str === "string" && str.length > 0, "nonEmptyString"); + if (nonEmptyString(functionName) && nonEmptyString(traceId)) { + request.headers[TRACE_ID_HEADER_NAME] = traceId; + } + return next({ + ...args, + request + }); +}, "recursionDetectionMiddleware"); +var addRecursionDetectionMiddlewareOptions = { + step: "build", + tags: ["RECURSION_DETECTION"], + name: "recursionDetectionMiddleware", + override: true, + priority: "low" +}; +var getRecursionDetectionPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.add(recursionDetectionMiddleware(options), addRecursionDetectionMiddlewareOptions); + } +}), "getRecursionDetectionPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3525: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + copySnapshotPresignedUrlMiddleware: () => copySnapshotPresignedUrlMiddleware, + copySnapshotPresignedUrlMiddlewareOptions: () => copySnapshotPresignedUrlMiddlewareOptions, + getCopySnapshotPresignedUrlPlugin: () => getCopySnapshotPresignedUrlPlugin +}); +module.exports = __toCommonJS(src_exports); +var import_util_format_url = __nccwpck_require__(7053); +var import_middleware_endpoint = __nccwpck_require__(2918); +var import_protocol_http = __nccwpck_require__(4418); +var import_signature_v4 = __nccwpck_require__(1528); +var import_smithy_client = __nccwpck_require__(3570); +var version = "2016-11-15"; +function copySnapshotPresignedUrlMiddleware(options) { + return (next, context) => async (args) => { + const { input } = args; + if (!input.PresignedUrl) { + const destinationRegion = await options.region(); + const endpoint = await (0, import_middleware_endpoint.getEndpointFromInstructions)( + input, + { + /** + * Replication of {@link CopySnapshotCommand} in EC2. + * Not imported due to circular dependency. + */ + getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" } + }; + } + }, + { + ...options, + region: input.SourceRegion + } + ); + const resolvedEndpoint = typeof options.endpoint === "function" ? await options.endpoint() : (0, import_middleware_endpoint.toEndpointV1)(endpoint); + const requestToSign = new import_protocol_http.HttpRequest({ + ...resolvedEndpoint, + protocol: "https", + headers: { + host: resolvedEndpoint.hostname + }, + query: { + // Values must be string instead of e.g. boolean + // because we need to sign the serialized form. + ...Object.entries(input).reduce((acc, [k, v]) => { + acc[k] = String(v ?? ""); + return acc; + }, {}), + Action: "CopySnapshot", + Version: version, + DestinationRegion: destinationRegion + } + }); + const signer = new import_signature_v4.SignatureV4({ + credentials: options.credentials, + region: input.SourceRegion, + service: "ec2", + sha256: options.sha256, + uriEscapePath: options.signingEscapePath + }); + const presignedRequest = await signer.presign(requestToSign, { + expiresIn: 3600 + }); + args = { + ...args, + input: { + ...args.input, + DestinationRegion: destinationRegion, + PresignedUrl: (0, import_util_format_url.formatUrl)(presignedRequest) + } + }; + if (import_protocol_http.HttpRequest.isInstance(args.request)) { + const { request } = args; + if (!(request.body ?? "").includes("DestinationRegion=")) { + request.body += `&DestinationRegion=${destinationRegion}`; + } + if (!(request.body ?? "").includes("PresignedUrl=")) { + request.body += `&PresignedUrl=${(0, import_smithy_client.extendedEncodeURIComponent)(args.input.PresignedUrl)}`; + } + } + } + return next(args); + }; +} +__name(copySnapshotPresignedUrlMiddleware, "copySnapshotPresignedUrlMiddleware"); +var copySnapshotPresignedUrlMiddlewareOptions = { + step: "serialize", + tags: ["CROSS_REGION_PRESIGNED_URL"], + name: "crossRegionPresignedUrlMiddleware", + override: true, + relation: "after", + toMiddleware: "endpointV2Middleware" +}; +var getCopySnapshotPresignedUrlPlugin = /* @__PURE__ */ __name((config) => ({ + applyToStack: (clientStack) => { + clientStack.add(copySnapshotPresignedUrlMiddleware(config), copySnapshotPresignedUrlMiddlewareOptions); + } +}), "getCopySnapshotPresignedUrlPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4688: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + DEFAULT_UA_APP_ID: () => DEFAULT_UA_APP_ID, + getUserAgentMiddlewareOptions: () => getUserAgentMiddlewareOptions, + getUserAgentPlugin: () => getUserAgentPlugin, + resolveUserAgentConfig: () => resolveUserAgentConfig, + userAgentMiddleware: () => userAgentMiddleware +}); +module.exports = __toCommonJS(src_exports); + +// src/configurations.ts +var import_core = __nccwpck_require__(5829); +var DEFAULT_UA_APP_ID = void 0; +function isValidUserAgentAppId(appId) { + if (appId === void 0) { + return true; + } + return typeof appId === "string" && appId.length <= 50; +} +__name(isValidUserAgentAppId, "isValidUserAgentAppId"); +function resolveUserAgentConfig(input) { + const normalizedAppIdProvider = (0, import_core.normalizeProvider)(input.userAgentAppId ?? DEFAULT_UA_APP_ID); + return { + ...input, + customUserAgent: typeof input.customUserAgent === "string" ? [[input.customUserAgent]] : input.customUserAgent, + userAgentAppId: async () => { + var _a, _b; + const appId = await normalizedAppIdProvider(); + if (!isValidUserAgentAppId(appId)) { + const logger = ((_b = (_a = input.logger) == null ? void 0 : _a.constructor) == null ? void 0 : _b.name) === "NoOpLogger" || !input.logger ? console : input.logger; + if (typeof appId !== "string") { + logger == null ? void 0 : logger.warn("userAgentAppId must be a string or undefined."); + } else if (appId.length > 50) { + logger == null ? void 0 : logger.warn("The provided userAgentAppId exceeds the maximum length of 50 characters."); + } + } + return appId; + } + }; +} +__name(resolveUserAgentConfig, "resolveUserAgentConfig"); + +// src/user-agent-middleware.ts +var import_util_endpoints = __nccwpck_require__(3350); +var import_protocol_http = __nccwpck_require__(4418); + +// src/check-features.ts +var import_core2 = __nccwpck_require__(9963); +var ACCOUNT_ID_ENDPOINT_REGEX = /\d{12}\.ddb/; +async function checkFeatures(context, config, args) { + var _a, _b, _c, _d, _e, _f, _g; + const request = args.request; + if (((_a = request == null ? void 0 : request.headers) == null ? void 0 : _a["smithy-protocol"]) === "rpc-v2-cbor") { + (0, import_core2.setFeature)(context, "PROTOCOL_RPC_V2_CBOR", "M"); + } + if (typeof config.retryStrategy === "function") { + const retryStrategy = await config.retryStrategy(); + if (typeof retryStrategy.acquireInitialRetryToken === "function") { + if ((_c = (_b = retryStrategy.constructor) == null ? void 0 : _b.name) == null ? void 0 : _c.includes("Adaptive")) { + (0, import_core2.setFeature)(context, "RETRY_MODE_ADAPTIVE", "F"); + } else { + (0, import_core2.setFeature)(context, "RETRY_MODE_STANDARD", "E"); + } + } else { + (0, import_core2.setFeature)(context, "RETRY_MODE_LEGACY", "D"); + } + } + if (typeof config.accountIdEndpointMode === "function") { + const endpointV2 = context.endpointV2; + if (String((_d = endpointV2 == null ? void 0 : endpointV2.url) == null ? void 0 : _d.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) { + (0, import_core2.setFeature)(context, "ACCOUNT_ID_ENDPOINT", "O"); + } + switch (await ((_e = config.accountIdEndpointMode) == null ? void 0 : _e.call(config))) { + case "disabled": + (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_DISABLED", "Q"); + break; + case "preferred": + (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_PREFERRED", "P"); + break; + case "required": + (0, import_core2.setFeature)(context, "ACCOUNT_ID_MODE_REQUIRED", "R"); + break; + } + } + const identity = (_g = (_f = context.__smithy_context) == null ? void 0 : _f.selectedHttpAuthScheme) == null ? void 0 : _g.identity; + if (identity == null ? void 0 : identity.$source) { + const credentials = identity; + if (credentials.accountId) { + (0, import_core2.setFeature)(context, "RESOLVED_ACCOUNT_ID", "T"); + } + for (const [key, value] of Object.entries(credentials.$source ?? {})) { + (0, import_core2.setFeature)(context, key, value); + } + } +} +__name(checkFeatures, "checkFeatures"); + +// src/constants.ts +var USER_AGENT = "user-agent"; +var X_AMZ_USER_AGENT = "x-amz-user-agent"; +var SPACE = " "; +var UA_NAME_SEPARATOR = "/"; +var UA_NAME_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w]/g; +var UA_VALUE_ESCAPE_REGEX = /[^\!\$\%\&\'\*\+\-\.\^\_\`\|\~\d\w\#]/g; +var UA_ESCAPE_CHAR = "-"; + +// src/encode-features.ts +var BYTE_LIMIT = 1024; +function encodeFeatures(features) { + let buffer = ""; + for (const key in features) { + const val = features[key]; + if (buffer.length + val.length + 1 <= BYTE_LIMIT) { + if (buffer.length) { + buffer += "," + val; + } else { + buffer += val; + } + continue; + } + break; + } + return buffer; +} +__name(encodeFeatures, "encodeFeatures"); + +// src/user-agent-middleware.ts +var userAgentMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => { + var _a, _b, _c, _d; + const { request } = args; + if (!import_protocol_http.HttpRequest.isInstance(request)) { + return next(args); + } + const { headers } = request; + const userAgent = ((_a = context == null ? void 0 : context.userAgent) == null ? void 0 : _a.map(escapeUserAgent)) || []; + const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent); + await checkFeatures(context, options, args); + const awsContext = context; + defaultUserAgent.push( + `m/${encodeFeatures( + Object.assign({}, (_b = context.__smithy_context) == null ? void 0 : _b.features, (_c = awsContext.__aws_sdk_context) == null ? void 0 : _c.features) + )}` + ); + const customUserAgent = ((_d = options == null ? void 0 : options.customUserAgent) == null ? void 0 : _d.map(escapeUserAgent)) || []; + const appId = await options.userAgentAppId(); + if (appId) { + defaultUserAgent.push(escapeUserAgent([`app/${appId}`])); + } + const prefix = (0, import_util_endpoints.getUserAgentPrefix)(); + const sdkUserAgentValue = (prefix ? [prefix] : []).concat([...defaultUserAgent, ...userAgent, ...customUserAgent]).join(SPACE); + const normalUAValue = [ + ...defaultUserAgent.filter((section) => section.startsWith("aws-sdk-")), + ...customUserAgent + ].join(SPACE); + if (options.runtime !== "browser") { + if (normalUAValue) { + headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT] ? `${headers[USER_AGENT]} ${normalUAValue}` : normalUAValue; + } + headers[USER_AGENT] = sdkUserAgentValue; + } else { + headers[X_AMZ_USER_AGENT] = sdkUserAgentValue; + } + return next({ + ...args, + request + }); +}, "userAgentMiddleware"); +var escapeUserAgent = /* @__PURE__ */ __name((userAgentPair) => { + var _a; + const name = userAgentPair[0].split(UA_NAME_SEPARATOR).map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR)).join(UA_NAME_SEPARATOR); + const version = (_a = userAgentPair[1]) == null ? void 0 : _a.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR); + const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR); + const prefix = name.substring(0, prefixSeparatorIndex); + let uaName = name.substring(prefixSeparatorIndex + 1); + if (prefix === "api") { + uaName = uaName.toLowerCase(); + } + return [prefix, uaName, version].filter((item) => item && item.length > 0).reduce((acc, item, index) => { + switch (index) { + case 0: + return item; + case 1: + return `${acc}/${item}`; + default: + return `${acc}#${item}`; + } + }, ""); +}, "escapeUserAgent"); +var getUserAgentMiddlewareOptions = { + name: "getUserAgentMiddleware", + step: "build", + priority: "low", + tags: ["SET_USER_AGENT", "USER_AGENT"], + override: true +}; +var getUserAgentPlugin = /* @__PURE__ */ __name((config) => ({ + applyToStack: (clientStack) => { + clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions); + } +}), "getUserAgentPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8156: +/***/ ((module) => { + +"use strict"; + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS, + NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS, + REGION_ENV_NAME: () => REGION_ENV_NAME, + REGION_INI_NAME: () => REGION_INI_NAME, + getAwsRegionExtensionConfiguration: () => getAwsRegionExtensionConfiguration, + resolveAwsRegionExtensionConfiguration: () => resolveAwsRegionExtensionConfiguration, + resolveRegionConfig: () => resolveRegionConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/extensions/index.ts +var getAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + let runtimeConfigRegion = /* @__PURE__ */ __name(async () => { + if (runtimeConfig.region === void 0) { + throw new Error("Region is missing from runtimeConfig"); + } + const region = runtimeConfig.region; + if (typeof region === "string") { + return region; + } + return region(); + }, "runtimeConfigRegion"); + return { + setRegion(region) { + runtimeConfigRegion = region; + }, + region() { + return runtimeConfigRegion; + } + }; +}, "getAwsRegionExtensionConfiguration"); +var resolveAwsRegionExtensionConfiguration = /* @__PURE__ */ __name((awsRegionExtensionConfiguration) => { + return { + region: awsRegionExtensionConfiguration.region() + }; +}, "resolveAwsRegionExtensionConfiguration"); + +// src/regionConfig/config.ts +var REGION_ENV_NAME = "AWS_REGION"; +var REGION_INI_NAME = "region"; +var NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[REGION_ENV_NAME], + configFileSelector: (profile) => profile[REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); + } +}; +var NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials" +}; + +// src/regionConfig/isFipsRegion.ts +var isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")), "isFipsRegion"); + +// src/regionConfig/getRealRegion.ts +var getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region, "getRealRegion"); + +// src/regionConfig/resolveRegionConfig.ts +var resolveRegionConfig = /* @__PURE__ */ __name((input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); + } + return { + ...input, + region: async () => { + if (typeof region === "string") { + return getRealRegion(region); + } + const providedRegion = await region(); + return getRealRegion(providedRegion); + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if (isFipsRegion(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + } + }; +}, "resolveRegionConfig"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2843: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __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); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromSso: () => fromSso, + fromStatic: () => fromStatic, + nodeProvider: () => nodeProvider +}); +module.exports = __toCommonJS(src_exports); + +// src/fromSso.ts + + + +// src/constants.ts +var EXPIRE_WINDOW_MS = 5 * 60 * 1e3; +var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the corresponding profile.`; + +// src/getSsoOidcClient.ts +var getSsoOidcClient = /* @__PURE__ */ __name(async (ssoRegion, init = {}) => { + var _a, _b, _c; + const { SSOOIDCClient } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(4527))); + const ssoOidcClient = new SSOOIDCClient( + Object.assign({}, init.clientConfig ?? {}, { + region: ssoRegion ?? ((_a = init.clientConfig) == null ? void 0 : _a.region), + logger: ((_b = init.clientConfig) == null ? void 0 : _b.logger) ?? ((_c = init.parentClientConfig) == null ? void 0 : _c.logger) + }) + ); + return ssoOidcClient; +}, "getSsoOidcClient"); + +// src/getNewSsoOidcToken.ts +var getNewSsoOidcToken = /* @__PURE__ */ __name(async (ssoToken, ssoRegion, init = {}) => { + const { CreateTokenCommand } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(4527))); + const ssoOidcClient = await getSsoOidcClient(ssoRegion, init); + return ssoOidcClient.send( + new CreateTokenCommand({ + clientId: ssoToken.clientId, + clientSecret: ssoToken.clientSecret, + refreshToken: ssoToken.refreshToken, + grantType: "refresh_token" + }) + ); +}, "getNewSsoOidcToken"); + +// src/validateTokenExpiry.ts +var import_property_provider = __nccwpck_require__(9721); +var validateTokenExpiry = /* @__PURE__ */ __name((token) => { + if (token.expiration && token.expiration.getTime() < Date.now()) { + throw new import_property_provider.TokenProviderError(`Token is expired. ${REFRESH_MESSAGE}`, false); + } +}, "validateTokenExpiry"); + +// src/validateTokenKey.ts + +var validateTokenKey = /* @__PURE__ */ __name((key, value, forRefresh = false) => { + if (typeof value === "undefined") { + throw new import_property_provider.TokenProviderError( + `Value not present for '${key}' in SSO Token${forRefresh ? ". Cannot refresh" : ""}. ${REFRESH_MESSAGE}`, + false + ); + } +}, "validateTokenKey"); + +// src/writeSSOTokenToFile.ts +var import_shared_ini_file_loader = __nccwpck_require__(3507); +var import_fs = __nccwpck_require__(7147); +var { writeFile } = import_fs.promises; +var writeSSOTokenToFile = /* @__PURE__ */ __name((id, ssoToken) => { + const tokenFilepath = (0, import_shared_ini_file_loader.getSSOTokenFilepath)(id); + const tokenString = JSON.stringify(ssoToken, null, 2); + return writeFile(tokenFilepath, tokenString); +}, "writeSSOTokenToFile"); + +// src/fromSso.ts +var lastRefreshAttemptTime = /* @__PURE__ */ new Date(0); +var fromSso = /* @__PURE__ */ __name((init = {}) => async () => { + var _a; + (_a = init.logger) == null ? void 0 : _a.debug("@aws-sdk/token-providers - fromSso"); + const profiles = await (0, import_shared_ini_file_loader.parseKnownFiles)(init); + const profileName = (0, import_shared_ini_file_loader.getProfileName)(init); + const profile = profiles[profileName]; + if (!profile) { + throw new import_property_provider.TokenProviderError(`Profile '${profileName}' could not be found in shared credentials file.`, false); + } else if (!profile["sso_session"]) { + throw new import_property_provider.TokenProviderError(`Profile '${profileName}' is missing required property 'sso_session'.`); + } + const ssoSessionName = profile["sso_session"]; + const ssoSessions = await (0, import_shared_ini_file_loader.loadSsoSessionData)(init); + const ssoSession = ssoSessions[ssoSessionName]; + if (!ssoSession) { + throw new import_property_provider.TokenProviderError( + `Sso session '${ssoSessionName}' could not be found in shared credentials file.`, + false + ); + } + for (const ssoSessionRequiredKey of ["sso_start_url", "sso_region"]) { + if (!ssoSession[ssoSessionRequiredKey]) { + throw new import_property_provider.TokenProviderError( + `Sso session '${ssoSessionName}' is missing required property '${ssoSessionRequiredKey}'.`, + false + ); + } + } + const ssoStartUrl = ssoSession["sso_start_url"]; + const ssoRegion = ssoSession["sso_region"]; + let ssoToken; + try { + ssoToken = await (0, import_shared_ini_file_loader.getSSOTokenFromFile)(ssoSessionName); + } catch (e) { + throw new import_property_provider.TokenProviderError( + `The SSO session token associated with profile=${profileName} was not found or is invalid. ${REFRESH_MESSAGE}`, + false + ); + } + validateTokenKey("accessToken", ssoToken.accessToken); + validateTokenKey("expiresAt", ssoToken.expiresAt); + const { accessToken, expiresAt } = ssoToken; + const existingToken = { token: accessToken, expiration: new Date(expiresAt) }; + if (existingToken.expiration.getTime() - Date.now() > EXPIRE_WINDOW_MS) { + return existingToken; + } + if (Date.now() - lastRefreshAttemptTime.getTime() < 30 * 1e3) { + validateTokenExpiry(existingToken); + return existingToken; + } + validateTokenKey("clientId", ssoToken.clientId, true); + validateTokenKey("clientSecret", ssoToken.clientSecret, true); + validateTokenKey("refreshToken", ssoToken.refreshToken, true); + try { + lastRefreshAttemptTime.setTime(Date.now()); + const newSsoOidcToken = await getNewSsoOidcToken(ssoToken, ssoRegion, init); + validateTokenKey("accessToken", newSsoOidcToken.accessToken); + validateTokenKey("expiresIn", newSsoOidcToken.expiresIn); + const newTokenExpiration = new Date(Date.now() + newSsoOidcToken.expiresIn * 1e3); + try { + await writeSSOTokenToFile(ssoSessionName, { + ...ssoToken, + accessToken: newSsoOidcToken.accessToken, + expiresAt: newTokenExpiration.toISOString(), + refreshToken: newSsoOidcToken.refreshToken + }); + } catch (error) { + } + return { + token: newSsoOidcToken.accessToken, + expiration: newTokenExpiration + }; + } catch (error) { + validateTokenExpiry(existingToken); + return existingToken; + } +}, "fromSso"); + +// src/fromStatic.ts + +var fromStatic = /* @__PURE__ */ __name(({ token, logger }) => async () => { + logger == null ? void 0 : logger.debug("@aws-sdk/token-providers - fromStatic"); + if (!token || !token.token) { + throw new import_property_provider.TokenProviderError(`Please pass a valid token to fromStatic`, false); + } + return token; +}, "fromStatic"); + +// src/nodeProvider.ts + +var nodeProvider = /* @__PURE__ */ __name((init = {}) => (0, import_property_provider.memoize)( + (0, import_property_provider.chain)(fromSso(init), async () => { + throw new import_property_provider.TokenProviderError("Could not load token from any providers", false); + }), + (token) => token.expiration !== void 0 && token.expiration.getTime() - Date.now() < 3e5, + (token) => token.expiration !== void 0 +), "nodeProvider"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3350: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + ConditionObject: () => import_util_endpoints.ConditionObject, + DeprecatedObject: () => import_util_endpoints.DeprecatedObject, + EndpointError: () => import_util_endpoints.EndpointError, + EndpointObject: () => import_util_endpoints.EndpointObject, + EndpointObjectHeaders: () => import_util_endpoints.EndpointObjectHeaders, + EndpointObjectProperties: () => import_util_endpoints.EndpointObjectProperties, + EndpointParams: () => import_util_endpoints.EndpointParams, + EndpointResolverOptions: () => import_util_endpoints.EndpointResolverOptions, + EndpointRuleObject: () => import_util_endpoints.EndpointRuleObject, + ErrorRuleObject: () => import_util_endpoints.ErrorRuleObject, + EvaluateOptions: () => import_util_endpoints.EvaluateOptions, + Expression: () => import_util_endpoints.Expression, + FunctionArgv: () => import_util_endpoints.FunctionArgv, + FunctionObject: () => import_util_endpoints.FunctionObject, + FunctionReturn: () => import_util_endpoints.FunctionReturn, + ParameterObject: () => import_util_endpoints.ParameterObject, + ReferenceObject: () => import_util_endpoints.ReferenceObject, + ReferenceRecord: () => import_util_endpoints.ReferenceRecord, + RuleSetObject: () => import_util_endpoints.RuleSetObject, + RuleSetRules: () => import_util_endpoints.RuleSetRules, + TreeRuleObject: () => import_util_endpoints.TreeRuleObject, + awsEndpointFunctions: () => awsEndpointFunctions, + getUserAgentPrefix: () => getUserAgentPrefix, + isIpAddress: () => import_util_endpoints.isIpAddress, + partition: () => partition, + resolveEndpoint: () => import_util_endpoints.resolveEndpoint, + setPartitionInfo: () => setPartitionInfo, + useDefaultPartitionInfo: () => useDefaultPartitionInfo +}); +module.exports = __toCommonJS(src_exports); + +// src/aws.ts + + +// src/lib/aws/isVirtualHostableS3Bucket.ts + + +// src/lib/isIpAddress.ts +var import_util_endpoints = __nccwpck_require__(5473); + +// src/lib/aws/isVirtualHostableS3Bucket.ts +var isVirtualHostableS3Bucket = /* @__PURE__ */ __name((value, allowSubDomains = false) => { + if (allowSubDomains) { + for (const label of value.split(".")) { + if (!isVirtualHostableS3Bucket(label)) { + return false; + } + } + return true; + } + if (!(0, import_util_endpoints.isValidHostLabel)(value)) { + return false; + } + if (value.length < 3 || value.length > 63) { + return false; + } + if (value !== value.toLowerCase()) { + return false; + } + if ((0, import_util_endpoints.isIpAddress)(value)) { + return false; + } + return true; +}, "isVirtualHostableS3Bucket"); + +// src/lib/aws/parseArn.ts +var ARN_DELIMITER = ":"; +var RESOURCE_DELIMITER = "/"; +var parseArn = /* @__PURE__ */ __name((value) => { + const segments = value.split(ARN_DELIMITER); + if (segments.length < 6) + return null; + const [arn, partition2, service, region, accountId, ...resourcePath] = segments; + if (arn !== "arn" || partition2 === "" || service === "" || resourcePath.join(ARN_DELIMITER) === "") + return null; + const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat(); + return { + partition: partition2, + service, + region, + accountId, + resourceId + }; +}, "parseArn"); + +// src/lib/aws/partitions.json +var partitions_default = { + partitions: [{ + id: "aws", + outputs: { + dnsSuffix: "amazonaws.com", + dualStackDnsSuffix: "api.aws", + implicitGlobalRegion: "us-east-1", + name: "aws", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$", + regions: { + "af-south-1": { + description: "Africa (Cape Town)" + }, + "ap-east-1": { + description: "Asia Pacific (Hong Kong)" + }, + "ap-northeast-1": { + description: "Asia Pacific (Tokyo)" + }, + "ap-northeast-2": { + description: "Asia Pacific (Seoul)" + }, + "ap-northeast-3": { + description: "Asia Pacific (Osaka)" + }, + "ap-south-1": { + description: "Asia Pacific (Mumbai)" + }, + "ap-south-2": { + description: "Asia Pacific (Hyderabad)" + }, + "ap-southeast-1": { + description: "Asia Pacific (Singapore)" + }, + "ap-southeast-2": { + description: "Asia Pacific (Sydney)" + }, + "ap-southeast-3": { + description: "Asia Pacific (Jakarta)" + }, + "ap-southeast-4": { + description: "Asia Pacific (Melbourne)" + }, + "ap-southeast-5": { + description: "Asia Pacific (Malaysia)" + }, + "aws-global": { + description: "AWS Standard global region" + }, + "ca-central-1": { + description: "Canada (Central)" + }, + "ca-west-1": { + description: "Canada West (Calgary)" + }, + "eu-central-1": { + description: "Europe (Frankfurt)" + }, + "eu-central-2": { + description: "Europe (Zurich)" + }, + "eu-north-1": { + description: "Europe (Stockholm)" + }, + "eu-south-1": { + description: "Europe (Milan)" + }, + "eu-south-2": { + description: "Europe (Spain)" + }, + "eu-west-1": { + description: "Europe (Ireland)" + }, + "eu-west-2": { + description: "Europe (London)" + }, + "eu-west-3": { + description: "Europe (Paris)" + }, + "il-central-1": { + description: "Israel (Tel Aviv)" + }, + "me-central-1": { + description: "Middle East (UAE)" + }, + "me-south-1": { + description: "Middle East (Bahrain)" + }, + "sa-east-1": { + description: "South America (Sao Paulo)" + }, + "us-east-1": { + description: "US East (N. Virginia)" + }, + "us-east-2": { + description: "US East (Ohio)" + }, + "us-west-1": { + description: "US West (N. California)" + }, + "us-west-2": { + description: "US West (Oregon)" + } + } + }, { + id: "aws-cn", + outputs: { + dnsSuffix: "amazonaws.com.cn", + dualStackDnsSuffix: "api.amazonwebservices.com.cn", + implicitGlobalRegion: "cn-northwest-1", + name: "aws-cn", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^cn\\-\\w+\\-\\d+$", + regions: { + "aws-cn-global": { + description: "AWS China global region" + }, + "cn-north-1": { + description: "China (Beijing)" + }, + "cn-northwest-1": { + description: "China (Ningxia)" + } + } + }, { + id: "aws-us-gov", + outputs: { + dnsSuffix: "amazonaws.com", + dualStackDnsSuffix: "api.aws", + implicitGlobalRegion: "us-gov-west-1", + name: "aws-us-gov", + supportsDualStack: true, + supportsFIPS: true + }, + regionRegex: "^us\\-gov\\-\\w+\\-\\d+$", + regions: { + "aws-us-gov-global": { + description: "AWS GovCloud (US) global region" + }, + "us-gov-east-1": { + description: "AWS GovCloud (US-East)" + }, + "us-gov-west-1": { + description: "AWS GovCloud (US-West)" + } + } + }, { + id: "aws-iso", + outputs: { + dnsSuffix: "c2s.ic.gov", + dualStackDnsSuffix: "c2s.ic.gov", + implicitGlobalRegion: "us-iso-east-1", + name: "aws-iso", + supportsDualStack: false, + supportsFIPS: true + }, + regionRegex: "^us\\-iso\\-\\w+\\-\\d+$", + regions: { + "aws-iso-global": { + description: "AWS ISO (US) global region" + }, + "us-iso-east-1": { + description: "US ISO East" + }, + "us-iso-west-1": { + description: "US ISO WEST" + } + } + }, { + id: "aws-iso-b", + outputs: { + dnsSuffix: "sc2s.sgov.gov", + dualStackDnsSuffix: "sc2s.sgov.gov", + implicitGlobalRegion: "us-isob-east-1", + name: "aws-iso-b", + supportsDualStack: false, + supportsFIPS: true + }, + regionRegex: "^us\\-isob\\-\\w+\\-\\d+$", + regions: { + "aws-iso-b-global": { + description: "AWS ISOB (US) global region" + }, + "us-isob-east-1": { + description: "US ISOB East (Ohio)" + } + } + }, { + id: "aws-iso-e", + outputs: { + dnsSuffix: "cloud.adc-e.uk", + dualStackDnsSuffix: "cloud.adc-e.uk", + implicitGlobalRegion: "eu-isoe-west-1", + name: "aws-iso-e", + supportsDualStack: false, + supportsFIPS: true + }, + regionRegex: "^eu\\-isoe\\-\\w+\\-\\d+$", + regions: { + "eu-isoe-west-1": { + description: "EU ISOE West" + } + } + }, { + id: "aws-iso-f", + outputs: { + dnsSuffix: "csp.hci.ic.gov", + dualStackDnsSuffix: "csp.hci.ic.gov", + implicitGlobalRegion: "us-isof-south-1", + name: "aws-iso-f", + supportsDualStack: false, + supportsFIPS: true + }, + regionRegex: "^us\\-isof\\-\\w+\\-\\d+$", + regions: {} + }], + version: "1.1" +}; + +// src/lib/aws/partition.ts +var selectedPartitionsInfo = partitions_default; +var selectedUserAgentPrefix = ""; +var partition = /* @__PURE__ */ __name((value) => { + const { partitions } = selectedPartitionsInfo; + for (const partition2 of partitions) { + const { regions, outputs } = partition2; + for (const [region, regionData] of Object.entries(regions)) { + if (region === value) { + return { + ...outputs, + ...regionData + }; + } + } + } + for (const partition2 of partitions) { + const { regionRegex, outputs } = partition2; + if (new RegExp(regionRegex).test(value)) { + return { + ...outputs + }; + } + } + const DEFAULT_PARTITION = partitions.find((partition2) => partition2.id === "aws"); + if (!DEFAULT_PARTITION) { + throw new Error( + "Provided region was not found in the partition array or regex, and default partition with id 'aws' doesn't exist." + ); + } + return { + ...DEFAULT_PARTITION.outputs + }; +}, "partition"); +var setPartitionInfo = /* @__PURE__ */ __name((partitionsInfo, userAgentPrefix = "") => { + selectedPartitionsInfo = partitionsInfo; + selectedUserAgentPrefix = userAgentPrefix; +}, "setPartitionInfo"); +var useDefaultPartitionInfo = /* @__PURE__ */ __name(() => { + setPartitionInfo(partitions_default, ""); +}, "useDefaultPartitionInfo"); +var getUserAgentPrefix = /* @__PURE__ */ __name(() => selectedUserAgentPrefix, "getUserAgentPrefix"); + +// src/aws.ts +var awsEndpointFunctions = { + isVirtualHostableS3Bucket, + parseArn, + partition +}; +import_util_endpoints.customEndpointFunctions.aws = awsEndpointFunctions; + +// src/resolveEndpoint.ts + + +// src/types/EndpointError.ts + + +// src/types/EndpointRuleObject.ts + + +// src/types/ErrorRuleObject.ts + + +// src/types/RuleSetObject.ts + + +// src/types/TreeRuleObject.ts + + +// src/types/shared.ts + +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 7053: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + formatUrl: () => formatUrl +}); +module.exports = __toCommonJS(src_exports); +var import_querystring_builder = __nccwpck_require__(8031); +function formatUrl(request) { + const { port, query } = request; + let { protocol, path, hostname } = request; + if (protocol && protocol.slice(-1) !== ":") { + protocol += ":"; + } + if (port) { + hostname += `:${port}`; + } + if (path && path.charAt(0) !== "/") { + path = `/${path}`; + } + let queryString = query ? (0, import_querystring_builder.buildQueryString)(query) : ""; + if (queryString && queryString[0] !== "?") { + queryString = `?${queryString}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + let fragment = ""; + if (request.fragment) { + fragment = `#${request.fragment}`; + } + return `${protocol}//${auth}${hostname}${path}${queryString}${fragment}`; +} +__name(formatUrl, "formatUrl"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8095: +/***/ ((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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + NODE_APP_ID_CONFIG_OPTIONS: () => NODE_APP_ID_CONFIG_OPTIONS, + UA_APP_ID_ENV_NAME: () => UA_APP_ID_ENV_NAME, + UA_APP_ID_INI_NAME: () => UA_APP_ID_INI_NAME, + createDefaultUserAgentProvider: () => createDefaultUserAgentProvider, + crtAvailability: () => crtAvailability, + defaultUserAgent: () => defaultUserAgent +}); +module.exports = __toCommonJS(src_exports); + +// src/defaultUserAgent.ts +var import_os = __nccwpck_require__(2037); +var import_process = __nccwpck_require__(7282); + +// src/crt-availability.ts +var crtAvailability = { + isCrtAvailable: false +}; + +// src/is-crt-available.ts +var isCrtAvailable = /* @__PURE__ */ __name(() => { + if (crtAvailability.isCrtAvailable) { + return ["md/crt-avail"]; + } + return null; +}, "isCrtAvailable"); + +// src/defaultUserAgent.ts +var createDefaultUserAgentProvider = /* @__PURE__ */ __name(({ serviceId, clientVersion }) => { + return async (config) => { + var _a; + const sections = [ + // sdk-metadata + ["aws-sdk-js", clientVersion], + // ua-metadata + ["ua", "2.1"], + // os-metadata + [`os/${(0, import_os.platform)()}`, (0, import_os.release)()], + // language-metadata + // ECMAScript edition doesn't matter in JS, so no version needed. + ["lang/js"], + ["md/nodejs", `${import_process.versions.node}`] + ]; + const crtAvailable = isCrtAvailable(); + if (crtAvailable) { + sections.push(crtAvailable); + } + if (serviceId) { + sections.push([`api/${serviceId}`, clientVersion]); + } + if (import_process.env.AWS_EXECUTION_ENV) { + sections.push([`exec-env/${import_process.env.AWS_EXECUTION_ENV}`]); + } + const appId = await ((_a = config == null ? void 0 : config.userAgentAppId) == null ? void 0 : _a.call(config)); + const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections]; + return resolvedUserAgent; + }; +}, "createDefaultUserAgentProvider"); +var defaultUserAgent = createDefaultUserAgentProvider; + +// src/nodeAppIdConfigOptions.ts +var import_middleware_user_agent = __nccwpck_require__(4688); +var UA_APP_ID_ENV_NAME = "AWS_SDK_UA_APP_ID"; +var UA_APP_ID_INI_NAME = "sdk-ua-app-id"; +var NODE_APP_ID_CONFIG_OPTIONS = { + environmentVariableSelector: (env2) => env2[UA_APP_ID_ENV_NAME], + configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME], + default: import_middleware_user_agent.DEFAULT_UA_APP_ID +}; +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3098: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + CONFIG_USE_DUALSTACK_ENDPOINT: () => CONFIG_USE_DUALSTACK_ENDPOINT, + CONFIG_USE_FIPS_ENDPOINT: () => CONFIG_USE_FIPS_ENDPOINT, + DEFAULT_USE_DUALSTACK_ENDPOINT: () => DEFAULT_USE_DUALSTACK_ENDPOINT, + DEFAULT_USE_FIPS_ENDPOINT: () => DEFAULT_USE_FIPS_ENDPOINT, + ENV_USE_DUALSTACK_ENDPOINT: () => ENV_USE_DUALSTACK_ENDPOINT, + ENV_USE_FIPS_ENDPOINT: () => ENV_USE_FIPS_ENDPOINT, + NODE_REGION_CONFIG_FILE_OPTIONS: () => NODE_REGION_CONFIG_FILE_OPTIONS, + NODE_REGION_CONFIG_OPTIONS: () => NODE_REGION_CONFIG_OPTIONS, + NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS: () => NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, + NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS: () => NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, + REGION_ENV_NAME: () => REGION_ENV_NAME, + REGION_INI_NAME: () => REGION_INI_NAME, + getRegionInfo: () => getRegionInfo, + resolveCustomEndpointsConfig: () => resolveCustomEndpointsConfig, + resolveEndpointsConfig: () => resolveEndpointsConfig, + resolveRegionConfig: () => resolveRegionConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/endpointsConfig/NodeUseDualstackEndpointConfigOptions.ts +var import_util_config_provider = __nccwpck_require__(3375); +var ENV_USE_DUALSTACK_ENDPOINT = "AWS_USE_DUALSTACK_ENDPOINT"; +var CONFIG_USE_DUALSTACK_ENDPOINT = "use_dualstack_endpoint"; +var DEFAULT_USE_DUALSTACK_ENDPOINT = false; +var NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => (0, import_util_config_provider.booleanSelector)(env, ENV_USE_DUALSTACK_ENDPOINT, import_util_config_provider.SelectorType.ENV), + configFileSelector: (profile) => (0, import_util_config_provider.booleanSelector)(profile, CONFIG_USE_DUALSTACK_ENDPOINT, import_util_config_provider.SelectorType.CONFIG), + default: false +}; + +// src/endpointsConfig/NodeUseFipsEndpointConfigOptions.ts + +var ENV_USE_FIPS_ENDPOINT = "AWS_USE_FIPS_ENDPOINT"; +var CONFIG_USE_FIPS_ENDPOINT = "use_fips_endpoint"; +var DEFAULT_USE_FIPS_ENDPOINT = false; +var NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => (0, import_util_config_provider.booleanSelector)(env, ENV_USE_FIPS_ENDPOINT, import_util_config_provider.SelectorType.ENV), + configFileSelector: (profile) => (0, import_util_config_provider.booleanSelector)(profile, CONFIG_USE_FIPS_ENDPOINT, import_util_config_provider.SelectorType.CONFIG), + default: false +}; + +// src/endpointsConfig/resolveCustomEndpointsConfig.ts +var import_util_middleware = __nccwpck_require__(2390); +var resolveCustomEndpointsConfig = /* @__PURE__ */ __name((input) => { + const { endpoint, urlParser } = input; + return { + ...input, + tls: input.tls ?? true, + endpoint: (0, import_util_middleware.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint), + isCustomEndpoint: true, + useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false) + }; +}, "resolveCustomEndpointsConfig"); + +// src/endpointsConfig/resolveEndpointsConfig.ts + + +// src/endpointsConfig/utils/getEndpointFromRegion.ts +var getEndpointFromRegion = /* @__PURE__ */ __name(async (input) => { + const { tls = true } = input; + const region = await input.region(); + const dnsHostRegex = new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/); + if (!dnsHostRegex.test(region)) { + throw new Error("Invalid region in client config"); + } + const useDualstackEndpoint = await input.useDualstackEndpoint(); + const useFipsEndpoint = await input.useFipsEndpoint(); + const { hostname } = await input.regionInfoProvider(region, { useDualstackEndpoint, useFipsEndpoint }) ?? {}; + if (!hostname) { + throw new Error("Cannot resolve hostname from client config"); + } + return input.urlParser(`${tls ? "https:" : "http:"}//${hostname}`); +}, "getEndpointFromRegion"); + +// src/endpointsConfig/resolveEndpointsConfig.ts +var resolveEndpointsConfig = /* @__PURE__ */ __name((input) => { + const useDualstackEndpoint = (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false); + const { endpoint, useFipsEndpoint, urlParser } = input; + return { + ...input, + tls: input.tls ?? true, + endpoint: endpoint ? (0, import_util_middleware.normalizeProvider)(typeof endpoint === "string" ? urlParser(endpoint) : endpoint) : () => getEndpointFromRegion({ ...input, useDualstackEndpoint, useFipsEndpoint }), + isCustomEndpoint: !!endpoint, + useDualstackEndpoint + }; +}, "resolveEndpointsConfig"); + +// src/regionConfig/config.ts +var REGION_ENV_NAME = "AWS_REGION"; +var REGION_INI_NAME = "region"; +var NODE_REGION_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[REGION_ENV_NAME], + configFileSelector: (profile) => profile[REGION_INI_NAME], + default: () => { + throw new Error("Region is missing"); + } +}; +var NODE_REGION_CONFIG_FILE_OPTIONS = { + preferredFile: "credentials" +}; + +// src/regionConfig/isFipsRegion.ts +var isFipsRegion = /* @__PURE__ */ __name((region) => typeof region === "string" && (region.startsWith("fips-") || region.endsWith("-fips")), "isFipsRegion"); + +// src/regionConfig/getRealRegion.ts +var getRealRegion = /* @__PURE__ */ __name((region) => isFipsRegion(region) ? ["fips-aws-global", "aws-fips"].includes(region) ? "us-east-1" : region.replace(/fips-(dkr-|prod-)?|-fips/, "") : region, "getRealRegion"); + +// src/regionConfig/resolveRegionConfig.ts +var resolveRegionConfig = /* @__PURE__ */ __name((input) => { + const { region, useFipsEndpoint } = input; + if (!region) { + throw new Error("Region is missing"); + } + return { + ...input, + region: async () => { + if (typeof region === "string") { + return getRealRegion(region); + } + const providedRegion = await region(); + return getRealRegion(providedRegion); + }, + useFipsEndpoint: async () => { + const providedRegion = typeof region === "string" ? region : await region(); + if (isFipsRegion(providedRegion)) { + return true; + } + return typeof useFipsEndpoint !== "function" ? Promise.resolve(!!useFipsEndpoint) : useFipsEndpoint(); + } + }; +}, "resolveRegionConfig"); + +// src/regionInfo/getHostnameFromVariants.ts +var getHostnameFromVariants = /* @__PURE__ */ __name((variants = [], { useFipsEndpoint, useDualstackEndpoint }) => { + var _a; + return (_a = variants.find( + ({ tags }) => useFipsEndpoint === tags.includes("fips") && useDualstackEndpoint === tags.includes("dualstack") + )) == null ? void 0 : _a.hostname; +}, "getHostnameFromVariants"); + +// src/regionInfo/getResolvedHostname.ts +var getResolvedHostname = /* @__PURE__ */ __name((resolvedRegion, { regionHostname, partitionHostname }) => regionHostname ? regionHostname : partitionHostname ? partitionHostname.replace("{region}", resolvedRegion) : void 0, "getResolvedHostname"); + +// src/regionInfo/getResolvedPartition.ts +var getResolvedPartition = /* @__PURE__ */ __name((region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws", "getResolvedPartition"); + +// src/regionInfo/getResolvedSigningRegion.ts +var getResolvedSigningRegion = /* @__PURE__ */ __name((hostname, { signingRegion, regionRegex, useFipsEndpoint }) => { + if (signingRegion) { + return signingRegion; + } else if (useFipsEndpoint) { + const regionRegexJs = regionRegex.replace("\\\\", "\\").replace(/^\^/g, "\\.").replace(/\$$/g, "\\."); + const regionRegexmatchArray = hostname.match(regionRegexJs); + if (regionRegexmatchArray) { + return regionRegexmatchArray[0].slice(1, -1); + } + } +}, "getResolvedSigningRegion"); + +// src/regionInfo/getRegionInfo.ts +var getRegionInfo = /* @__PURE__ */ __name((region, { + useFipsEndpoint = false, + useDualstackEndpoint = false, + signingService, + regionHash, + partitionHash +}) => { + var _a, _b, _c, _d, _e; + const partition = getResolvedPartition(region, { partitionHash }); + const resolvedRegion = region in regionHash ? region : ((_a = partitionHash[partition]) == null ? void 0 : _a.endpoint) ?? region; + const hostnameOptions = { useFipsEndpoint, useDualstackEndpoint }; + const regionHostname = getHostnameFromVariants((_b = regionHash[resolvedRegion]) == null ? void 0 : _b.variants, hostnameOptions); + const partitionHostname = getHostnameFromVariants((_c = partitionHash[partition]) == null ? void 0 : _c.variants, hostnameOptions); + const hostname = getResolvedHostname(resolvedRegion, { regionHostname, partitionHostname }); + if (hostname === void 0) { + throw new Error(`Endpoint resolution failed for: ${{ resolvedRegion, useFipsEndpoint, useDualstackEndpoint }}`); + } + const signingRegion = getResolvedSigningRegion(hostname, { + signingRegion: (_d = regionHash[resolvedRegion]) == null ? void 0 : _d.signingRegion, + regionRegex: partitionHash[partition].regionRegex, + useFipsEndpoint + }); + return { + partition, + signingService, + hostname, + ...signingRegion && { signingRegion }, + ...((_e = regionHash[resolvedRegion]) == null ? void 0 : _e.signingService) && { + signingService: regionHash[resolvedRegion].signingService + } + }; +}, "getRegionInfo"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5829: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + DefaultIdentityProviderConfig: () => DefaultIdentityProviderConfig, + EXPIRATION_MS: () => EXPIRATION_MS, + HttpApiKeyAuthSigner: () => HttpApiKeyAuthSigner, + HttpBearerAuthSigner: () => HttpBearerAuthSigner, + NoAuthSigner: () => NoAuthSigner, + createIsIdentityExpiredFunction: () => createIsIdentityExpiredFunction, + createPaginator: () => createPaginator, + doesIdentityRequireRefresh: () => doesIdentityRequireRefresh, + getHttpAuthSchemeEndpointRuleSetPlugin: () => getHttpAuthSchemeEndpointRuleSetPlugin, + getHttpAuthSchemePlugin: () => getHttpAuthSchemePlugin, + getHttpSigningPlugin: () => getHttpSigningPlugin, + getSmithyContext: () => getSmithyContext, + httpAuthSchemeEndpointRuleSetMiddlewareOptions: () => httpAuthSchemeEndpointRuleSetMiddlewareOptions, + httpAuthSchemeMiddleware: () => httpAuthSchemeMiddleware, + httpAuthSchemeMiddlewareOptions: () => httpAuthSchemeMiddlewareOptions, + httpSigningMiddleware: () => httpSigningMiddleware, + httpSigningMiddlewareOptions: () => httpSigningMiddlewareOptions, + isIdentityExpired: () => isIdentityExpired, + memoizeIdentityProvider: () => memoizeIdentityProvider, + normalizeProvider: () => normalizeProvider, + requestBuilder: () => import_protocols.requestBuilder, + setFeature: () => setFeature +}); +module.exports = __toCommonJS(src_exports); + +// src/getSmithyContext.ts +var import_types = __nccwpck_require__(5756); +var getSmithyContext = /* @__PURE__ */ __name((context) => context[import_types.SMITHY_CONTEXT_KEY] || (context[import_types.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext"); + +// src/middleware-http-auth-scheme/httpAuthSchemeMiddleware.ts +var import_util_middleware = __nccwpck_require__(2390); +function convertHttpAuthSchemesToMap(httpAuthSchemes) { + const map = /* @__PURE__ */ new Map(); + for (const scheme of httpAuthSchemes) { + map.set(scheme.schemeId, scheme); + } + return map; +} +__name(convertHttpAuthSchemesToMap, "convertHttpAuthSchemesToMap"); +var httpAuthSchemeMiddleware = /* @__PURE__ */ __name((config, mwOptions) => (next, context) => async (args) => { + var _a; + const options = config.httpAuthSchemeProvider( + await mwOptions.httpAuthSchemeParametersProvider(config, context, args.input) + ); + const authSchemes = convertHttpAuthSchemesToMap(config.httpAuthSchemes); + const smithyContext = (0, import_util_middleware.getSmithyContext)(context); + const failureReasons = []; + for (const option of options) { + const scheme = authSchemes.get(option.schemeId); + if (!scheme) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` was not enabled for this service.`); + continue; + } + const identityProvider = scheme.identityProvider(await mwOptions.identityProviderConfigProvider(config)); + if (!identityProvider) { + failureReasons.push(`HttpAuthScheme \`${option.schemeId}\` did not have an IdentityProvider configured.`); + continue; + } + const { identityProperties = {}, signingProperties = {} } = ((_a = option.propertiesExtractor) == null ? void 0 : _a.call(option, config, context)) || {}; + option.identityProperties = Object.assign(option.identityProperties || {}, identityProperties); + option.signingProperties = Object.assign(option.signingProperties || {}, signingProperties); + smithyContext.selectedHttpAuthScheme = { + httpAuthOption: option, + identity: await identityProvider(option.identityProperties), + signer: scheme.signer + }; + break; + } + if (!smithyContext.selectedHttpAuthScheme) { + throw new Error(failureReasons.join("\n")); + } + return next(args); +}, "httpAuthSchemeMiddleware"); + +// src/middleware-http-auth-scheme/getHttpAuthSchemeEndpointRuleSetPlugin.ts +var httpAuthSchemeEndpointRuleSetMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: "endpointV2Middleware" +}; +var getHttpAuthSchemeEndpointRuleSetPlugin = /* @__PURE__ */ __name((config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider +}) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo( + httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider + }), + httpAuthSchemeEndpointRuleSetMiddlewareOptions + ); + } +}), "getHttpAuthSchemeEndpointRuleSetPlugin"); + +// src/middleware-http-auth-scheme/getHttpAuthSchemePlugin.ts +var import_middleware_serde = __nccwpck_require__(1238); +var httpAuthSchemeMiddlewareOptions = { + step: "serialize", + tags: ["HTTP_AUTH_SCHEME"], + name: "httpAuthSchemeMiddleware", + override: true, + relation: "before", + toMiddleware: import_middleware_serde.serializerMiddlewareOption.name +}; +var getHttpAuthSchemePlugin = /* @__PURE__ */ __name((config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider +}) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo( + httpAuthSchemeMiddleware(config, { + httpAuthSchemeParametersProvider, + identityProviderConfigProvider + }), + httpAuthSchemeMiddlewareOptions + ); + } +}), "getHttpAuthSchemePlugin"); + +// src/middleware-http-signing/httpSigningMiddleware.ts +var import_protocol_http = __nccwpck_require__(4418); + +var defaultErrorHandler = /* @__PURE__ */ __name((signingProperties) => (error) => { + throw error; +}, "defaultErrorHandler"); +var defaultSuccessHandler = /* @__PURE__ */ __name((httpResponse, signingProperties) => { +}, "defaultSuccessHandler"); +var httpSigningMiddleware = /* @__PURE__ */ __name((config) => (next, context) => async (args) => { + if (!import_protocol_http.HttpRequest.isInstance(args.request)) { + return next(args); + } + const smithyContext = (0, import_util_middleware.getSmithyContext)(context); + const scheme = smithyContext.selectedHttpAuthScheme; + if (!scheme) { + throw new Error(`No HttpAuthScheme was selected: unable to sign request`); + } + const { + httpAuthOption: { signingProperties = {} }, + identity, + signer + } = scheme; + const output = await next({ + ...args, + request: await signer.sign(args.request, identity, signingProperties) + }).catch((signer.errorHandler || defaultErrorHandler)(signingProperties)); + (signer.successHandler || defaultSuccessHandler)(output.response, signingProperties); + return output; +}, "httpSigningMiddleware"); + +// src/middleware-http-signing/getHttpSigningMiddleware.ts +var httpSigningMiddlewareOptions = { + step: "finalizeRequest", + tags: ["HTTP_SIGNING"], + name: "httpSigningMiddleware", + aliases: ["apiKeyMiddleware", "tokenMiddleware", "awsAuthMiddleware"], + override: true, + relation: "after", + toMiddleware: "retryMiddleware" +}; +var getHttpSigningPlugin = /* @__PURE__ */ __name((config) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(httpSigningMiddleware(config), httpSigningMiddlewareOptions); + } +}), "getHttpSigningPlugin"); + +// src/normalizeProvider.ts +var normalizeProvider = /* @__PURE__ */ __name((input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}, "normalizeProvider"); + +// src/pagination/createPaginator.ts +var makePagedClientRequest = /* @__PURE__ */ __name(async (CommandCtor, client, input, ...args) => { + return await client.send(new CommandCtor(input), ...args); +}, "makePagedClientRequest"); +function createPaginator(ClientCtor, CommandCtor, inputTokenName, outputTokenName, pageSizeTokenName) { + return /* @__PURE__ */ __name(async function* paginateOperation(config, input, ...additionalArguments) { + let token = config.startingToken || void 0; + let hasNext = true; + let page; + while (hasNext) { + input[inputTokenName] = token; + if (pageSizeTokenName) { + input[pageSizeTokenName] = input[pageSizeTokenName] ?? config.pageSize; + } + if (config.client instanceof ClientCtor) { + page = await makePagedClientRequest(CommandCtor, config.client, input, ...additionalArguments); + } else { + throw new Error(`Invalid client, expected instance of ${ClientCtor.name}`); + } + yield page; + const prevToken = token; + token = get(page, outputTokenName); + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return void 0; + }, "paginateOperation"); +} +__name(createPaginator, "createPaginator"); +var get = /* @__PURE__ */ __name((fromObject, path) => { + let cursor = fromObject; + const pathComponents = path.split("."); + for (const step of pathComponents) { + if (!cursor || typeof cursor !== "object") { + return void 0; + } + cursor = cursor[step]; + } + return cursor; +}, "get"); + +// src/protocols/requestBuilder.ts +var import_protocols = __nccwpck_require__(2241); + +// src/setFeature.ts +function setFeature(context, feature, value) { + if (!context.__smithy_context) { + context.__smithy_context = { + features: {} + }; + } else if (!context.__smithy_context.features) { + context.__smithy_context.features = {}; + } + context.__smithy_context.features[feature] = value; +} +__name(setFeature, "setFeature"); + +// src/util-identity-and-auth/DefaultIdentityProviderConfig.ts +var _DefaultIdentityProviderConfig = class _DefaultIdentityProviderConfig { + /** + * Creates an IdentityProviderConfig with a record of scheme IDs to identity providers. + * + * @param config scheme IDs and identity providers to configure + */ + constructor(config) { + this.authSchemes = /* @__PURE__ */ new Map(); + for (const [key, value] of Object.entries(config)) { + if (value !== void 0) { + this.authSchemes.set(key, value); + } + } + } + getIdentityProvider(schemeId) { + return this.authSchemes.get(schemeId); + } +}; +__name(_DefaultIdentityProviderConfig, "DefaultIdentityProviderConfig"); +var DefaultIdentityProviderConfig = _DefaultIdentityProviderConfig; + +// src/util-identity-and-auth/httpAuthSchemes/httpApiKeyAuth.ts + + +var _HttpApiKeyAuthSigner = class _HttpApiKeyAuthSigner { + async sign(httpRequest, identity, signingProperties) { + if (!signingProperties) { + throw new Error( + "request could not be signed with `apiKey` since the `name` and `in` signer properties are missing" + ); + } + if (!signingProperties.name) { + throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing"); + } + if (!signingProperties.in) { + throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing"); + } + if (!identity.apiKey) { + throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined"); + } + const clonedRequest = import_protocol_http.HttpRequest.clone(httpRequest); + if (signingProperties.in === import_types.HttpApiKeyAuthLocation.QUERY) { + clonedRequest.query[signingProperties.name] = identity.apiKey; + } else if (signingProperties.in === import_types.HttpApiKeyAuthLocation.HEADER) { + clonedRequest.headers[signingProperties.name] = signingProperties.scheme ? `${signingProperties.scheme} ${identity.apiKey}` : identity.apiKey; + } else { + throw new Error( + "request can only be signed with `apiKey` locations `query` or `header`, but found: `" + signingProperties.in + "`" + ); + } + return clonedRequest; + } +}; +__name(_HttpApiKeyAuthSigner, "HttpApiKeyAuthSigner"); +var HttpApiKeyAuthSigner = _HttpApiKeyAuthSigner; + +// src/util-identity-and-auth/httpAuthSchemes/httpBearerAuth.ts + +var _HttpBearerAuthSigner = class _HttpBearerAuthSigner { + async sign(httpRequest, identity, signingProperties) { + const clonedRequest = import_protocol_http.HttpRequest.clone(httpRequest); + if (!identity.token) { + throw new Error("request could not be signed with `token` since the `token` is not defined"); + } + clonedRequest.headers["Authorization"] = `Bearer ${identity.token}`; + return clonedRequest; + } +}; +__name(_HttpBearerAuthSigner, "HttpBearerAuthSigner"); +var HttpBearerAuthSigner = _HttpBearerAuthSigner; + +// src/util-identity-and-auth/httpAuthSchemes/noAuth.ts +var _NoAuthSigner = class _NoAuthSigner { + async sign(httpRequest, identity, signingProperties) { + return httpRequest; + } +}; +__name(_NoAuthSigner, "NoAuthSigner"); +var NoAuthSigner = _NoAuthSigner; + +// src/util-identity-and-auth/memoizeIdentityProvider.ts +var createIsIdentityExpiredFunction = /* @__PURE__ */ __name((expirationMs) => (identity) => doesIdentityRequireRefresh(identity) && identity.expiration.getTime() - Date.now() < expirationMs, "createIsIdentityExpiredFunction"); +var EXPIRATION_MS = 3e5; +var isIdentityExpired = createIsIdentityExpiredFunction(EXPIRATION_MS); +var doesIdentityRequireRefresh = /* @__PURE__ */ __name((identity) => identity.expiration !== void 0, "doesIdentityRequireRefresh"); +var memoizeIdentityProvider = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => { + if (provider === void 0) { + return void 0; + } + const normalizedProvider = typeof provider !== "function" ? async () => Promise.resolve(provider) : provider; + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = /* @__PURE__ */ __name(async (options) => { + if (!pending) { + pending = normalizedProvider(options); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } finally { + pending = void 0; + } + return resolved; + }, "coalesceProvider"); + if (isExpired === void 0) { + return async (options) => { + if (!hasResult || (options == null ? void 0 : options.forceRefresh)) { + resolved = await coalesceProvider(options); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || (options == null ? void 0 : options.forceRefresh)) { + resolved = await coalesceProvider(options); + } + if (isConstant) { + return resolved; + } + if (!requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(options); + return resolved; + } + return resolved; + }; +}, "memoizeIdentityProvider"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2241: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +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); + +// src/submodules/protocols/index.ts +var protocols_exports = {}; +__export(protocols_exports, { + RequestBuilder: () => RequestBuilder, + collectBody: () => collectBody, + extendedEncodeURIComponent: () => extendedEncodeURIComponent, + requestBuilder: () => requestBuilder, + resolvedPath: () => resolvedPath +}); +module.exports = __toCommonJS(protocols_exports); + +// src/submodules/protocols/collect-stream-body.ts +var import_util_stream = __nccwpck_require__(6607); +var collectBody = async (streamBody = new Uint8Array(), context) => { + if (streamBody instanceof Uint8Array) { + return import_util_stream.Uint8ArrayBlobAdapter.mutate(streamBody); + } + if (!streamBody) { + return import_util_stream.Uint8ArrayBlobAdapter.mutate(new Uint8Array()); + } + const fromContext = context.streamCollector(streamBody); + return import_util_stream.Uint8ArrayBlobAdapter.mutate(await fromContext); +}; + +// src/submodules/protocols/extended-encode-uri-component.ts +function extendedEncodeURIComponent(str) { + return encodeURIComponent(str).replace(/[!'()*]/g, function(c) { + return "%" + c.charCodeAt(0).toString(16).toUpperCase(); + }); +} + +// src/submodules/protocols/requestBuilder.ts +var import_protocol_http = __nccwpck_require__(4418); + +// src/submodules/protocols/resolve-path.ts +var resolvedPath = (resolvedPath2, input, memberName, labelValueProvider, uriLabel, isGreedyLabel) => { + if (input != null && input[memberName] !== void 0) { + const labelValue = labelValueProvider(); + if (labelValue.length <= 0) { + throw new Error("Empty value provided for input HTTP label: " + memberName + "."); + } + resolvedPath2 = resolvedPath2.replace( + uriLabel, + isGreedyLabel ? labelValue.split("/").map((segment) => extendedEncodeURIComponent(segment)).join("/") : extendedEncodeURIComponent(labelValue) + ); + } else { + throw new Error("No value provided for input HTTP label: " + memberName + "."); + } + return resolvedPath2; +}; + +// src/submodules/protocols/requestBuilder.ts +function requestBuilder(input, context) { + return new RequestBuilder(input, context); +} +var RequestBuilder = class { + constructor(input, context) { + this.input = input; + this.context = context; + this.query = {}; + this.method = ""; + this.headers = {}; + this.path = ""; + this.body = null; + this.hostname = ""; + this.resolvePathStack = []; + } + async build() { + const { hostname, protocol = "https", port, path: basePath } = await this.context.endpoint(); + this.path = basePath; + for (const resolvePath of this.resolvePathStack) { + resolvePath(this.path); + } + return new import_protocol_http.HttpRequest({ + protocol, + hostname: this.hostname || hostname, + port, + method: this.method, + path: this.path, + query: this.query, + body: this.body, + headers: this.headers + }); + } + /** + * Brevity setter for "hostname". + */ + hn(hostname) { + this.hostname = hostname; + return this; + } + /** + * Brevity initial builder for "basepath". + */ + bp(uriLabel) { + this.resolvePathStack.push((basePath) => { + this.path = `${(basePath == null ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + uriLabel; + }); + return this; + } + /** + * Brevity incremental builder for "path". + */ + p(memberName, labelValueProvider, uriLabel, isGreedyLabel) { + this.resolvePathStack.push((path) => { + this.path = resolvedPath(path, this.input, memberName, labelValueProvider, uriLabel, isGreedyLabel); + }); + return this; + } + /** + * Brevity setter for "headers". + */ + h(headers) { + this.headers = headers; + return this; + } + /** + * Brevity setter for "query". + */ + q(query) { + this.query = query; + return this; + } + /** + * Brevity setter for "body". + */ + b(body) { + this.body = body; + return this; + } + /** + * Brevity setter for "method". + */ + m(method) { + this.method = method; + return this; + } +}; +// Annotate the CommonJS export names for ESM import in node: +0 && (0); + + +/***/ }), + +/***/ 7477: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + DEFAULT_MAX_RETRIES: () => DEFAULT_MAX_RETRIES, + DEFAULT_TIMEOUT: () => DEFAULT_TIMEOUT, + ENV_CMDS_AUTH_TOKEN: () => ENV_CMDS_AUTH_TOKEN, + ENV_CMDS_FULL_URI: () => ENV_CMDS_FULL_URI, + ENV_CMDS_RELATIVE_URI: () => ENV_CMDS_RELATIVE_URI, + Endpoint: () => Endpoint, + fromContainerMetadata: () => fromContainerMetadata, + fromInstanceMetadata: () => fromInstanceMetadata, + getInstanceMetadataEndpoint: () => getInstanceMetadataEndpoint, + httpRequest: () => httpRequest, + providerConfigFromInit: () => providerConfigFromInit +}); +module.exports = __toCommonJS(src_exports); + +// src/fromContainerMetadata.ts + +var import_url = __nccwpck_require__(7310); + +// src/remoteProvider/httpRequest.ts +var import_property_provider = __nccwpck_require__(9721); +var import_buffer = __nccwpck_require__(4300); +var import_http = __nccwpck_require__(3685); +function httpRequest(options) { + return new Promise((resolve, reject) => { + var _a; + const req = (0, import_http.request)({ + method: "GET", + ...options, + // Node.js http module doesn't accept hostname with square brackets + // Refs: https://github.com/nodejs/node/issues/39738 + hostname: (_a = options.hostname) == null ? void 0 : _a.replace(/^\[(.+)\]$/, "$1") + }); + req.on("error", (err) => { + reject(Object.assign(new import_property_provider.ProviderError("Unable to connect to instance metadata service"), err)); + req.destroy(); + }); + req.on("timeout", () => { + reject(new import_property_provider.ProviderError("TimeoutError from instance metadata service")); + req.destroy(); + }); + req.on("response", (res) => { + const { statusCode = 400 } = res; + if (statusCode < 200 || 300 <= statusCode) { + reject( + Object.assign(new import_property_provider.ProviderError("Error response received from instance metadata service"), { statusCode }) + ); + req.destroy(); + } + const chunks = []; + res.on("data", (chunk) => { + chunks.push(chunk); + }); + res.on("end", () => { + resolve(import_buffer.Buffer.concat(chunks)); + req.destroy(); + }); + }); + req.end(); + }); +} +__name(httpRequest, "httpRequest"); + +// src/remoteProvider/ImdsCredentials.ts +var isImdsCredentials = /* @__PURE__ */ __name((arg) => Boolean(arg) && typeof arg === "object" && typeof arg.AccessKeyId === "string" && typeof arg.SecretAccessKey === "string" && typeof arg.Token === "string" && typeof arg.Expiration === "string", "isImdsCredentials"); +var fromImdsCredentials = /* @__PURE__ */ __name((creds) => ({ + accessKeyId: creds.AccessKeyId, + secretAccessKey: creds.SecretAccessKey, + sessionToken: creds.Token, + expiration: new Date(creds.Expiration), + ...creds.AccountId && { accountId: creds.AccountId } +}), "fromImdsCredentials"); + +// src/remoteProvider/RemoteProviderInit.ts +var DEFAULT_TIMEOUT = 1e3; +var DEFAULT_MAX_RETRIES = 0; +var providerConfigFromInit = /* @__PURE__ */ __name(({ + maxRetries = DEFAULT_MAX_RETRIES, + timeout = DEFAULT_TIMEOUT +}) => ({ maxRetries, timeout }), "providerConfigFromInit"); + +// src/remoteProvider/retry.ts +var retry = /* @__PURE__ */ __name((toRetry, maxRetries) => { + let promise = toRetry(); + for (let i = 0; i < maxRetries; i++) { + promise = promise.catch(toRetry); + } + return promise; +}, "retry"); + +// src/fromContainerMetadata.ts +var ENV_CMDS_FULL_URI = "AWS_CONTAINER_CREDENTIALS_FULL_URI"; +var ENV_CMDS_RELATIVE_URI = "AWS_CONTAINER_CREDENTIALS_RELATIVE_URI"; +var ENV_CMDS_AUTH_TOKEN = "AWS_CONTAINER_AUTHORIZATION_TOKEN"; +var fromContainerMetadata = /* @__PURE__ */ __name((init = {}) => { + const { timeout, maxRetries } = providerConfigFromInit(init); + return () => retry(async () => { + const requestOptions = await getCmdsUri({ logger: init.logger }); + const credsResponse = JSON.parse(await requestFromEcsImds(timeout, requestOptions)); + if (!isImdsCredentials(credsResponse)) { + throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger + }); + } + return fromImdsCredentials(credsResponse); + }, maxRetries); +}, "fromContainerMetadata"); +var requestFromEcsImds = /* @__PURE__ */ __name(async (timeout, options) => { + if (process.env[ENV_CMDS_AUTH_TOKEN]) { + options.headers = { + ...options.headers, + Authorization: process.env[ENV_CMDS_AUTH_TOKEN] + }; + } + const buffer = await httpRequest({ + ...options, + timeout + }); + return buffer.toString(); +}, "requestFromEcsImds"); +var CMDS_IP = "169.254.170.2"; +var GREENGRASS_HOSTS = { + localhost: true, + "127.0.0.1": true +}; +var GREENGRASS_PROTOCOLS = { + "http:": true, + "https:": true +}; +var getCmdsUri = /* @__PURE__ */ __name(async ({ logger }) => { + if (process.env[ENV_CMDS_RELATIVE_URI]) { + return { + hostname: CMDS_IP, + path: process.env[ENV_CMDS_RELATIVE_URI] + }; + } + if (process.env[ENV_CMDS_FULL_URI]) { + const parsed = (0, import_url.parse)(process.env[ENV_CMDS_FULL_URI]); + if (!parsed.hostname || !(parsed.hostname in GREENGRASS_HOSTS)) { + throw new import_property_provider.CredentialsProviderError(`${parsed.hostname} is not a valid container metadata service hostname`, { + tryNextLink: false, + logger + }); + } + if (!parsed.protocol || !(parsed.protocol in GREENGRASS_PROTOCOLS)) { + throw new import_property_provider.CredentialsProviderError(`${parsed.protocol} is not a valid container metadata service protocol`, { + tryNextLink: false, + logger + }); + } + return { + ...parsed, + port: parsed.port ? parseInt(parsed.port, 10) : void 0 + }; + } + throw new import_property_provider.CredentialsProviderError( + `The container metadata credential provider cannot be used unless the ${ENV_CMDS_RELATIVE_URI} or ${ENV_CMDS_FULL_URI} environment variable is set`, + { + tryNextLink: false, + logger + } + ); +}, "getCmdsUri"); + +// src/fromInstanceMetadata.ts + + + +// src/error/InstanceMetadataV1FallbackError.ts + +var _InstanceMetadataV1FallbackError = class _InstanceMetadataV1FallbackError extends import_property_provider.CredentialsProviderError { + constructor(message, tryNextLink = true) { + super(message, tryNextLink); + this.tryNextLink = tryNextLink; + this.name = "InstanceMetadataV1FallbackError"; + Object.setPrototypeOf(this, _InstanceMetadataV1FallbackError.prototype); + } +}; +__name(_InstanceMetadataV1FallbackError, "InstanceMetadataV1FallbackError"); +var InstanceMetadataV1FallbackError = _InstanceMetadataV1FallbackError; + +// src/utils/getInstanceMetadataEndpoint.ts +var import_node_config_provider = __nccwpck_require__(3461); +var import_url_parser = __nccwpck_require__(4681); + +// src/config/Endpoint.ts +var Endpoint = /* @__PURE__ */ ((Endpoint2) => { + Endpoint2["IPv4"] = "http://169.254.169.254"; + Endpoint2["IPv6"] = "http://[fd00:ec2::254]"; + return Endpoint2; +})(Endpoint || {}); + +// src/config/EndpointConfigOptions.ts +var ENV_ENDPOINT_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT"; +var CONFIG_ENDPOINT_NAME = "ec2_metadata_service_endpoint"; +var ENDPOINT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_NAME], + default: void 0 +}; + +// src/config/EndpointMode.ts +var EndpointMode = /* @__PURE__ */ ((EndpointMode2) => { + EndpointMode2["IPv4"] = "IPv4"; + EndpointMode2["IPv6"] = "IPv6"; + return EndpointMode2; +})(EndpointMode || {}); + +// src/config/EndpointModeConfigOptions.ts +var ENV_ENDPOINT_MODE_NAME = "AWS_EC2_METADATA_SERVICE_ENDPOINT_MODE"; +var CONFIG_ENDPOINT_MODE_NAME = "ec2_metadata_service_endpoint_mode"; +var ENDPOINT_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_ENDPOINT_MODE_NAME], + configFileSelector: (profile) => profile[CONFIG_ENDPOINT_MODE_NAME], + default: "IPv4" /* IPv4 */ +}; + +// src/utils/getInstanceMetadataEndpoint.ts +var getInstanceMetadataEndpoint = /* @__PURE__ */ __name(async () => (0, import_url_parser.parseUrl)(await getFromEndpointConfig() || await getFromEndpointModeConfig()), "getInstanceMetadataEndpoint"); +var getFromEndpointConfig = /* @__PURE__ */ __name(async () => (0, import_node_config_provider.loadConfig)(ENDPOINT_CONFIG_OPTIONS)(), "getFromEndpointConfig"); +var getFromEndpointModeConfig = /* @__PURE__ */ __name(async () => { + const endpointMode = await (0, import_node_config_provider.loadConfig)(ENDPOINT_MODE_CONFIG_OPTIONS)(); + switch (endpointMode) { + case "IPv4" /* IPv4 */: + return "http://169.254.169.254" /* IPv4 */; + case "IPv6" /* IPv6 */: + return "http://[fd00:ec2::254]" /* IPv6 */; + default: + throw new Error(`Unsupported endpoint mode: ${endpointMode}. Select from ${Object.values(EndpointMode)}`); + } +}, "getFromEndpointModeConfig"); + +// src/utils/getExtendedInstanceMetadataCredentials.ts +var STATIC_STABILITY_REFRESH_INTERVAL_SECONDS = 5 * 60; +var STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS = 5 * 60; +var STATIC_STABILITY_DOC_URL = "https://docs.aws.amazon.com/sdkref/latest/guide/feature-static-credentials.html"; +var getExtendedInstanceMetadataCredentials = /* @__PURE__ */ __name((credentials, logger) => { + const refreshInterval = STATIC_STABILITY_REFRESH_INTERVAL_SECONDS + Math.floor(Math.random() * STATIC_STABILITY_REFRESH_INTERVAL_JITTER_WINDOW_SECONDS); + const newExpiration = new Date(Date.now() + refreshInterval * 1e3); + logger.warn( + `Attempting credential expiration extension due to a credential service availability issue. A refresh of these credentials will be attempted after ${new Date(newExpiration)}. +For more information, please visit: ` + STATIC_STABILITY_DOC_URL + ); + const originalExpiration = credentials.originalExpiration ?? credentials.expiration; + return { + ...credentials, + ...originalExpiration ? { originalExpiration } : {}, + expiration: newExpiration + }; +}, "getExtendedInstanceMetadataCredentials"); + +// src/utils/staticStabilityProvider.ts +var staticStabilityProvider = /* @__PURE__ */ __name((provider, options = {}) => { + const logger = (options == null ? void 0 : options.logger) || console; + let pastCredentials; + return async () => { + let credentials; + try { + credentials = await provider(); + if (credentials.expiration && credentials.expiration.getTime() < Date.now()) { + credentials = getExtendedInstanceMetadataCredentials(credentials, logger); + } + } catch (e) { + if (pastCredentials) { + logger.warn("Credential renew failed: ", e); + credentials = getExtendedInstanceMetadataCredentials(pastCredentials, logger); + } else { + throw e; + } + } + pastCredentials = credentials; + return credentials; + }; +}, "staticStabilityProvider"); + +// src/fromInstanceMetadata.ts +var IMDS_PATH = "/latest/meta-data/iam/security-credentials/"; +var IMDS_TOKEN_PATH = "/latest/api/token"; +var AWS_EC2_METADATA_V1_DISABLED = "AWS_EC2_METADATA_V1_DISABLED"; +var PROFILE_AWS_EC2_METADATA_V1_DISABLED = "ec2_metadata_v1_disabled"; +var X_AWS_EC2_METADATA_TOKEN = "x-aws-ec2-metadata-token"; +var fromInstanceMetadata = /* @__PURE__ */ __name((init = {}) => staticStabilityProvider(getInstanceMetadataProvider(init), { logger: init.logger }), "fromInstanceMetadata"); +var getInstanceMetadataProvider = /* @__PURE__ */ __name((init = {}) => { + let disableFetchToken = false; + const { logger, profile } = init; + const { timeout, maxRetries } = providerConfigFromInit(init); + const getCredentials = /* @__PURE__ */ __name(async (maxRetries2, options) => { + var _a; + const isImdsV1Fallback = disableFetchToken || ((_a = options.headers) == null ? void 0 : _a[X_AWS_EC2_METADATA_TOKEN]) == null; + if (isImdsV1Fallback) { + let fallbackBlockedFromProfile = false; + let fallbackBlockedFromProcessEnv = false; + const configValue = await (0, import_node_config_provider.loadConfig)( + { + environmentVariableSelector: (env) => { + const envValue = env[AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProcessEnv = !!envValue && envValue !== "false"; + if (envValue === void 0) { + throw new import_property_provider.CredentialsProviderError( + `${AWS_EC2_METADATA_V1_DISABLED} not set in env, checking config file next.`, + { logger: init.logger } + ); + } + return fallbackBlockedFromProcessEnv; + }, + configFileSelector: (profile2) => { + const profileValue = profile2[PROFILE_AWS_EC2_METADATA_V1_DISABLED]; + fallbackBlockedFromProfile = !!profileValue && profileValue !== "false"; + return fallbackBlockedFromProfile; + }, + default: false + }, + { + profile + } + )(); + if (init.ec2MetadataV1Disabled || configValue) { + const causes = []; + if (init.ec2MetadataV1Disabled) + causes.push("credential provider initialization (runtime option ec2MetadataV1Disabled)"); + if (fallbackBlockedFromProfile) + causes.push(`config file profile (${PROFILE_AWS_EC2_METADATA_V1_DISABLED})`); + if (fallbackBlockedFromProcessEnv) + causes.push(`process environment variable (${AWS_EC2_METADATA_V1_DISABLED})`); + throw new InstanceMetadataV1FallbackError( + `AWS EC2 Metadata v1 fallback has been blocked by AWS SDK configuration in the following: [${causes.join( + ", " + )}].` + ); + } + } + const imdsProfile = (await retry(async () => { + let profile2; + try { + profile2 = await getProfile(options); + } catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return profile2; + }, maxRetries2)).trim(); + return retry(async () => { + let creds; + try { + creds = await getCredentialsFromProfile(imdsProfile, options, init); + } catch (err) { + if (err.statusCode === 401) { + disableFetchToken = false; + } + throw err; + } + return creds; + }, maxRetries2); + }, "getCredentials"); + return async () => { + const endpoint = await getInstanceMetadataEndpoint(); + if (disableFetchToken) { + logger == null ? void 0 : logger.debug("AWS SDK Instance Metadata", "using v1 fallback (no token fetch)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } else { + let token; + try { + token = (await getMetadataToken({ ...endpoint, timeout })).toString(); + } catch (error) { + if ((error == null ? void 0 : error.statusCode) === 400) { + throw Object.assign(error, { + message: "EC2 Metadata token request returned error" + }); + } else if (error.message === "TimeoutError" || [403, 404, 405].includes(error.statusCode)) { + disableFetchToken = true; + } + logger == null ? void 0 : logger.debug("AWS SDK Instance Metadata", "using v1 fallback (initial)"); + return getCredentials(maxRetries, { ...endpoint, timeout }); + } + return getCredentials(maxRetries, { + ...endpoint, + headers: { + [X_AWS_EC2_METADATA_TOKEN]: token + }, + timeout + }); + } + }; +}, "getInstanceMetadataProvider"); +var getMetadataToken = /* @__PURE__ */ __name(async (options) => httpRequest({ + ...options, + path: IMDS_TOKEN_PATH, + method: "PUT", + headers: { + "x-aws-ec2-metadata-token-ttl-seconds": "21600" + } +}), "getMetadataToken"); +var getProfile = /* @__PURE__ */ __name(async (options) => (await httpRequest({ ...options, path: IMDS_PATH })).toString(), "getProfile"); +var getCredentialsFromProfile = /* @__PURE__ */ __name(async (profile, options, init) => { + const credentialsResponse = JSON.parse( + (await httpRequest({ + ...options, + path: IMDS_PATH + profile + })).toString() + ); + if (!isImdsCredentials(credentialsResponse)) { + throw new import_property_provider.CredentialsProviderError("Invalid response received from instance metadata service.", { + logger: init.logger + }); + } + return fromImdsCredentials(credentialsResponse); +}, "getCredentialsFromProfile"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2687: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + FetchHttpHandler: () => FetchHttpHandler, + keepAliveSupport: () => keepAliveSupport, + streamCollector: () => streamCollector +}); +module.exports = __toCommonJS(src_exports); + +// src/fetch-http-handler.ts +var import_protocol_http = __nccwpck_require__(4418); +var import_querystring_builder = __nccwpck_require__(8031); + +// src/create-request.ts +function createRequest(url, requestOptions) { + return new Request(url, requestOptions); +} +__name(createRequest, "createRequest"); + +// src/request-timeout.ts +function requestTimeout(timeoutInMs = 0) { + return new Promise((resolve, reject) => { + if (timeoutInMs) { + setTimeout(() => { + const timeoutError = new Error(`Request did not complete within ${timeoutInMs} ms`); + timeoutError.name = "TimeoutError"; + reject(timeoutError); + }, timeoutInMs); + } + }); +} +__name(requestTimeout, "requestTimeout"); + +// src/fetch-http-handler.ts +var keepAliveSupport = { + supported: void 0 +}; +var _FetchHttpHandler = class _FetchHttpHandler { + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions) { + if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") { + return instanceOrOptions; + } + return new _FetchHttpHandler(instanceOrOptions); + } + constructor(options) { + if (typeof options === "function") { + this.configProvider = options().then((opts) => opts || {}); + } else { + this.config = options ?? {}; + this.configProvider = Promise.resolve(this.config); + } + if (keepAliveSupport.supported === void 0) { + keepAliveSupport.supported = Boolean( + typeof Request !== "undefined" && "keepalive" in createRequest("https://[::1]") + ); + } + } + destroy() { + } + async handle(request, { abortSignal } = {}) { + var _a; + if (!this.config) { + this.config = await this.configProvider; + } + const requestTimeoutInMs = this.config.requestTimeout; + const keepAlive = this.config.keepAlive === true; + const credentials = this.config.credentials; + if (abortSignal == null ? void 0 : abortSignal.aborted) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + return Promise.reject(abortError); + } + let path = request.path; + const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {}); + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const { port, method } = request; + const url = `${request.protocol}//${auth}${request.hostname}${port ? `:${port}` : ""}${path}`; + const body = method === "GET" || method === "HEAD" ? void 0 : request.body; + const requestOptions = { + body, + headers: new Headers(request.headers), + method, + credentials + }; + if ((_a = this.config) == null ? void 0 : _a.cache) { + requestOptions.cache = this.config.cache; + } + if (body) { + requestOptions.duplex = "half"; + } + if (typeof AbortController !== "undefined") { + requestOptions.signal = abortSignal; + } + if (keepAliveSupport.supported) { + requestOptions.keepalive = keepAlive; + } + if (typeof this.config.requestInit === "function") { + Object.assign(requestOptions, this.config.requestInit(request)); + } + let removeSignalEventListener = /* @__PURE__ */ __name(() => { + }, "removeSignalEventListener"); + const fetchRequest = createRequest(url, requestOptions); + const raceOfPromises = [ + fetch(fetchRequest).then((response) => { + const fetchHeaders = response.headers; + const transformedHeaders = {}; + for (const pair of fetchHeaders.entries()) { + transformedHeaders[pair[0]] = pair[1]; + } + const hasReadableStream = response.body != void 0; + if (!hasReadableStream) { + return response.blob().then((body2) => ({ + response: new import_protocol_http.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body: body2 + }) + })); + } + return { + response: new import_protocol_http.HttpResponse({ + headers: transformedHeaders, + reason: response.statusText, + statusCode: response.status, + body: response.body + }) + }; + }), + requestTimeout(requestTimeoutInMs) + ]; + if (abortSignal) { + raceOfPromises.push( + new Promise((resolve, reject) => { + const onAbort = /* @__PURE__ */ __name(() => { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + }, "onAbort"); + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + removeSignalEventListener = /* @__PURE__ */ __name(() => signal.removeEventListener("abort", onAbort), "removeSignalEventListener"); + } else { + abortSignal.onabort = onAbort; + } + }) + ); + } + return Promise.race(raceOfPromises).finally(removeSignalEventListener); + } + updateHttpClientConfig(key, value) { + this.config = void 0; + this.configProvider = this.configProvider.then((config) => { + config[key] = value; + return config; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } +}; +__name(_FetchHttpHandler, "FetchHttpHandler"); +var FetchHttpHandler = _FetchHttpHandler; + +// src/stream-collector.ts +var streamCollector = /* @__PURE__ */ __name(async (stream) => { + var _a; + if (typeof Blob === "function" && stream instanceof Blob || ((_a = stream.constructor) == null ? void 0 : _a.name) === "Blob") { + return new Uint8Array(await stream.arrayBuffer()); + } + return collectStream(stream); +}, "streamCollector"); +async function collectStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} +__name(collectStream, "collectStream"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3081: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Hash: () => Hash +}); +module.exports = __toCommonJS(src_exports); +var import_util_buffer_from = __nccwpck_require__(1381); +var import_util_utf8 = __nccwpck_require__(1895); +var import_buffer = __nccwpck_require__(4300); +var import_crypto = __nccwpck_require__(6113); +var _Hash = class _Hash { + constructor(algorithmIdentifier, secret) { + this.algorithmIdentifier = algorithmIdentifier; + this.secret = secret; + this.reset(); + } + update(toHash, encoding) { + this.hash.update((0, import_util_utf8.toUint8Array)(castSourceData(toHash, encoding))); + } + digest() { + return Promise.resolve(this.hash.digest()); + } + reset() { + this.hash = this.secret ? (0, import_crypto.createHmac)(this.algorithmIdentifier, castSourceData(this.secret)) : (0, import_crypto.createHash)(this.algorithmIdentifier); + } +}; +__name(_Hash, "Hash"); +var Hash = _Hash; +function castSourceData(toCast, encoding) { + if (import_buffer.Buffer.isBuffer(toCast)) { + return toCast; + } + if (typeof toCast === "string") { + return (0, import_util_buffer_from.fromString)(toCast, encoding); + } + if (ArrayBuffer.isView(toCast)) { + return (0, import_util_buffer_from.fromArrayBuffer)(toCast.buffer, toCast.byteOffset, toCast.byteLength); + } + return (0, import_util_buffer_from.fromArrayBuffer)(toCast); +} +__name(castSourceData, "castSourceData"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 780: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isArrayBuffer: () => isArrayBuffer +}); +module.exports = __toCommonJS(src_exports); +var isArrayBuffer = /* @__PURE__ */ __name((arg) => typeof ArrayBuffer === "function" && arg instanceof ArrayBuffer || Object.prototype.toString.call(arg) === "[object ArrayBuffer]", "isArrayBuffer"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2800: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + contentLengthMiddleware: () => contentLengthMiddleware, + contentLengthMiddlewareOptions: () => contentLengthMiddlewareOptions, + getContentLengthPlugin: () => getContentLengthPlugin +}); +module.exports = __toCommonJS(src_exports); +var import_protocol_http = __nccwpck_require__(4418); +var CONTENT_LENGTH_HEADER = "content-length"; +function contentLengthMiddleware(bodyLengthChecker) { + return (next) => async (args) => { + const request = args.request; + if (import_protocol_http.HttpRequest.isInstance(request)) { + const { body, headers } = request; + if (body && Object.keys(headers).map((str) => str.toLowerCase()).indexOf(CONTENT_LENGTH_HEADER) === -1) { + try { + const length = bodyLengthChecker(body); + request.headers = { + ...request.headers, + [CONTENT_LENGTH_HEADER]: String(length) + }; + } catch (error) { + } + } + } + return next({ + ...args, + request + }); + }; +} +__name(contentLengthMiddleware, "contentLengthMiddleware"); +var contentLengthMiddlewareOptions = { + step: "build", + tags: ["SET_CONTENT_LENGTH", "CONTENT_LENGTH"], + name: "contentLengthMiddleware", + override: true +}; +var getContentLengthPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.add(contentLengthMiddleware(options.bodyLengthChecker), contentLengthMiddlewareOptions); + } +}), "getContentLengthPlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 1518: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getEndpointFromConfig = void 0; +const node_config_provider_1 = __nccwpck_require__(3461); +const getEndpointUrlConfig_1 = __nccwpck_require__(7574); +const getEndpointFromConfig = async (serviceId) => (0, node_config_provider_1.loadConfig)((0, getEndpointUrlConfig_1.getEndpointUrlConfig)(serviceId !== null && serviceId !== void 0 ? serviceId : ""))(); +exports.getEndpointFromConfig = getEndpointFromConfig; + + +/***/ }), + +/***/ 7574: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getEndpointUrlConfig = void 0; +const shared_ini_file_loader_1 = __nccwpck_require__(3507); +const ENV_ENDPOINT_URL = "AWS_ENDPOINT_URL"; +const CONFIG_ENDPOINT_URL = "endpoint_url"; +const getEndpointUrlConfig = (serviceId) => ({ + environmentVariableSelector: (env) => { + const serviceSuffixParts = serviceId.split(" ").map((w) => w.toUpperCase()); + const serviceEndpointUrl = env[[ENV_ENDPOINT_URL, ...serviceSuffixParts].join("_")]; + if (serviceEndpointUrl) + return serviceEndpointUrl; + const endpointUrl = env[ENV_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + configFileSelector: (profile, config) => { + if (config && profile.services) { + const servicesSection = config[["services", profile.services].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (servicesSection) { + const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase()); + const endpointUrl = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(shared_ini_file_loader_1.CONFIG_PREFIX_SEPARATOR)]; + if (endpointUrl) + return endpointUrl; + } + } + const endpointUrl = profile[CONFIG_ENDPOINT_URL]; + if (endpointUrl) + return endpointUrl; + return undefined; + }, + default: undefined, +}); +exports.getEndpointUrlConfig = getEndpointUrlConfig; + + +/***/ }), + +/***/ 2918: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + endpointMiddleware: () => endpointMiddleware, + endpointMiddlewareOptions: () => endpointMiddlewareOptions, + getEndpointFromInstructions: () => getEndpointFromInstructions, + getEndpointPlugin: () => getEndpointPlugin, + resolveEndpointConfig: () => resolveEndpointConfig, + resolveParams: () => resolveParams, + toEndpointV1: () => toEndpointV1 +}); +module.exports = __toCommonJS(src_exports); + +// src/service-customizations/s3.ts +var resolveParamsForS3 = /* @__PURE__ */ __name(async (endpointParams) => { + const bucket = (endpointParams == null ? void 0 : endpointParams.Bucket) || ""; + if (typeof endpointParams.Bucket === "string") { + endpointParams.Bucket = bucket.replace(/#/g, encodeURIComponent("#")).replace(/\?/g, encodeURIComponent("?")); + } + if (isArnBucketName(bucket)) { + if (endpointParams.ForcePathStyle === true) { + throw new Error("Path-style addressing cannot be used with ARN buckets"); + } + } else if (!isDnsCompatibleBucketName(bucket) || bucket.indexOf(".") !== -1 && !String(endpointParams.Endpoint).startsWith("http:") || bucket.toLowerCase() !== bucket || bucket.length < 3) { + endpointParams.ForcePathStyle = true; + } + if (endpointParams.DisableMultiRegionAccessPoints) { + endpointParams.disableMultiRegionAccessPoints = true; + endpointParams.DisableMRAP = true; + } + return endpointParams; +}, "resolveParamsForS3"); +var DOMAIN_PATTERN = /^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/; +var IP_ADDRESS_PATTERN = /(\d+\.){3}\d+/; +var DOTS_PATTERN = /\.\./; +var isDnsCompatibleBucketName = /* @__PURE__ */ __name((bucketName) => DOMAIN_PATTERN.test(bucketName) && !IP_ADDRESS_PATTERN.test(bucketName) && !DOTS_PATTERN.test(bucketName), "isDnsCompatibleBucketName"); +var isArnBucketName = /* @__PURE__ */ __name((bucketName) => { + const [arn, partition, service, , , bucket] = bucketName.split(":"); + const isArn = arn === "arn" && bucketName.split(":").length >= 6; + const isValidArn = Boolean(isArn && partition && service && bucket); + if (isArn && !isValidArn) { + throw new Error(`Invalid ARN: ${bucketName} was an invalid ARN.`); + } + return isValidArn; +}, "isArnBucketName"); + +// src/adaptors/createConfigValueProvider.ts +var createConfigValueProvider = /* @__PURE__ */ __name((configKey, canonicalEndpointParamKey, config) => { + const configProvider = /* @__PURE__ */ __name(async () => { + const configValue = config[configKey] ?? config[canonicalEndpointParamKey]; + if (typeof configValue === "function") { + return configValue(); + } + return configValue; + }, "configProvider"); + if (configKey === "credentialScope" || canonicalEndpointParamKey === "CredentialScope") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = (credentials == null ? void 0 : credentials.credentialScope) ?? (credentials == null ? void 0 : credentials.CredentialScope); + return configValue; + }; + } + if (configKey === "accountId" || canonicalEndpointParamKey === "AccountId") { + return async () => { + const credentials = typeof config.credentials === "function" ? await config.credentials() : config.credentials; + const configValue = (credentials == null ? void 0 : credentials.accountId) ?? (credentials == null ? void 0 : credentials.AccountId); + return configValue; + }; + } + if (configKey === "endpoint" || canonicalEndpointParamKey === "endpoint") { + return async () => { + const endpoint = await configProvider(); + if (endpoint && typeof endpoint === "object") { + if ("url" in endpoint) { + return endpoint.url.href; + } + if ("hostname" in endpoint) { + const { protocol, hostname, port, path } = endpoint; + return `${protocol}//${hostname}${port ? ":" + port : ""}${path}`; + } + } + return endpoint; + }; + } + return configProvider; +}, "createConfigValueProvider"); + +// src/adaptors/getEndpointFromInstructions.ts +var import_getEndpointFromConfig = __nccwpck_require__(1518); + +// src/adaptors/toEndpointV1.ts +var import_url_parser = __nccwpck_require__(4681); +var toEndpointV1 = /* @__PURE__ */ __name((endpoint) => { + if (typeof endpoint === "object") { + if ("url" in endpoint) { + return (0, import_url_parser.parseUrl)(endpoint.url); + } + return endpoint; + } + return (0, import_url_parser.parseUrl)(endpoint); +}, "toEndpointV1"); + +// src/adaptors/getEndpointFromInstructions.ts +var getEndpointFromInstructions = /* @__PURE__ */ __name(async (commandInput, instructionsSupplier, clientConfig, context) => { + if (!clientConfig.endpoint) { + let endpointFromConfig; + if (clientConfig.serviceConfiguredEndpoint) { + endpointFromConfig = await clientConfig.serviceConfiguredEndpoint(); + } else { + endpointFromConfig = await (0, import_getEndpointFromConfig.getEndpointFromConfig)(clientConfig.serviceId); + } + if (endpointFromConfig) { + clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig)); + } + } + const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig); + if (typeof clientConfig.endpointProvider !== "function") { + throw new Error("config.endpointProvider is not set."); + } + const endpoint = clientConfig.endpointProvider(endpointParams, context); + return endpoint; +}, "getEndpointFromInstructions"); +var resolveParams = /* @__PURE__ */ __name(async (commandInput, instructionsSupplier, clientConfig) => { + var _a; + const endpointParams = {}; + const instructions = ((_a = instructionsSupplier == null ? void 0 : instructionsSupplier.getEndpointParameterInstructions) == null ? void 0 : _a.call(instructionsSupplier)) || {}; + for (const [name, instruction] of Object.entries(instructions)) { + switch (instruction.type) { + case "staticContextParams": + endpointParams[name] = instruction.value; + break; + case "contextParams": + endpointParams[name] = commandInput[instruction.name]; + break; + case "clientContextParams": + case "builtInParams": + endpointParams[name] = await createConfigValueProvider(instruction.name, name, clientConfig)(); + break; + default: + throw new Error("Unrecognized endpoint parameter instruction: " + JSON.stringify(instruction)); + } + } + if (Object.keys(instructions).length === 0) { + Object.assign(endpointParams, clientConfig); + } + if (String(clientConfig.serviceId).toLowerCase() === "s3") { + await resolveParamsForS3(endpointParams); + } + return endpointParams; +}, "resolveParams"); + +// src/endpointMiddleware.ts +var import_core = __nccwpck_require__(5829); +var import_util_middleware = __nccwpck_require__(2390); +var endpointMiddleware = /* @__PURE__ */ __name(({ + config, + instructions +}) => { + return (next, context) => async (args) => { + var _a, _b, _c; + if (config.endpoint) { + (0, import_core.setFeature)(context, "ENDPOINT_OVERRIDE", "N"); + } + const endpoint = await getEndpointFromInstructions( + args.input, + { + getEndpointParameterInstructions() { + return instructions; + } + }, + { ...config }, + context + ); + context.endpointV2 = endpoint; + context.authSchemes = (_a = endpoint.properties) == null ? void 0 : _a.authSchemes; + const authScheme = (_b = context.authSchemes) == null ? void 0 : _b[0]; + if (authScheme) { + context["signing_region"] = authScheme.signingRegion; + context["signing_service"] = authScheme.signingName; + const smithyContext = (0, import_util_middleware.getSmithyContext)(context); + const httpAuthOption = (_c = smithyContext == null ? void 0 : smithyContext.selectedHttpAuthScheme) == null ? void 0 : _c.httpAuthOption; + if (httpAuthOption) { + httpAuthOption.signingProperties = Object.assign( + httpAuthOption.signingProperties || {}, + { + signing_region: authScheme.signingRegion, + signingRegion: authScheme.signingRegion, + signing_service: authScheme.signingName, + signingName: authScheme.signingName, + signingRegionSet: authScheme.signingRegionSet + }, + authScheme.properties + ); + } + } + return next({ + ...args + }); + }; +}, "endpointMiddleware"); + +// src/getEndpointPlugin.ts +var import_middleware_serde = __nccwpck_require__(1238); +var endpointMiddlewareOptions = { + step: "serialize", + tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"], + name: "endpointV2Middleware", + override: true, + relation: "before", + toMiddleware: import_middleware_serde.serializerMiddlewareOption.name +}; +var getEndpointPlugin = /* @__PURE__ */ __name((config, instructions) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo( + endpointMiddleware({ + config, + instructions + }), + endpointMiddlewareOptions + ); + } +}), "getEndpointPlugin"); + +// src/resolveEndpointConfig.ts + +var import_getEndpointFromConfig2 = __nccwpck_require__(1518); +var resolveEndpointConfig = /* @__PURE__ */ __name((input) => { + const tls = input.tls ?? true; + const { endpoint } = input; + const customEndpointProvider = endpoint != null ? async () => toEndpointV1(await (0, import_util_middleware.normalizeProvider)(endpoint)()) : void 0; + const isCustomEndpoint = !!endpoint; + const resolvedConfig = { + ...input, + endpoint: customEndpointProvider, + tls, + isCustomEndpoint, + useDualstackEndpoint: (0, import_util_middleware.normalizeProvider)(input.useDualstackEndpoint ?? false), + useFipsEndpoint: (0, import_util_middleware.normalizeProvider)(input.useFipsEndpoint ?? false) + }; + let configuredEndpointPromise = void 0; + resolvedConfig.serviceConfiguredEndpoint = async () => { + if (input.serviceId && !configuredEndpointPromise) { + configuredEndpointPromise = (0, import_getEndpointFromConfig2.getEndpointFromConfig)(input.serviceId); + } + return configuredEndpointPromise; + }; + return resolvedConfig; +}, "resolveEndpointConfig"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 6039: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AdaptiveRetryStrategy: () => AdaptiveRetryStrategy, + CONFIG_MAX_ATTEMPTS: () => CONFIG_MAX_ATTEMPTS, + CONFIG_RETRY_MODE: () => CONFIG_RETRY_MODE, + ENV_MAX_ATTEMPTS: () => ENV_MAX_ATTEMPTS, + ENV_RETRY_MODE: () => ENV_RETRY_MODE, + NODE_MAX_ATTEMPT_CONFIG_OPTIONS: () => NODE_MAX_ATTEMPT_CONFIG_OPTIONS, + NODE_RETRY_MODE_CONFIG_OPTIONS: () => NODE_RETRY_MODE_CONFIG_OPTIONS, + StandardRetryStrategy: () => StandardRetryStrategy, + defaultDelayDecider: () => defaultDelayDecider, + defaultRetryDecider: () => defaultRetryDecider, + getOmitRetryHeadersPlugin: () => getOmitRetryHeadersPlugin, + getRetryAfterHint: () => getRetryAfterHint, + getRetryPlugin: () => getRetryPlugin, + omitRetryHeadersMiddleware: () => omitRetryHeadersMiddleware, + omitRetryHeadersMiddlewareOptions: () => omitRetryHeadersMiddlewareOptions, + resolveRetryConfig: () => resolveRetryConfig, + retryMiddleware: () => retryMiddleware, + retryMiddlewareOptions: () => retryMiddlewareOptions +}); +module.exports = __toCommonJS(src_exports); + +// src/AdaptiveRetryStrategy.ts + + +// src/StandardRetryStrategy.ts +var import_protocol_http = __nccwpck_require__(4418); + + +var import_uuid = __nccwpck_require__(5840); + +// src/defaultRetryQuota.ts +var import_util_retry = __nccwpck_require__(4902); +var getDefaultRetryQuota = /* @__PURE__ */ __name((initialRetryTokens, options) => { + const MAX_CAPACITY = initialRetryTokens; + const noRetryIncrement = (options == null ? void 0 : options.noRetryIncrement) ?? import_util_retry.NO_RETRY_INCREMENT; + const retryCost = (options == null ? void 0 : options.retryCost) ?? import_util_retry.RETRY_COST; + const timeoutRetryCost = (options == null ? void 0 : options.timeoutRetryCost) ?? import_util_retry.TIMEOUT_RETRY_COST; + let availableCapacity = initialRetryTokens; + const getCapacityAmount = /* @__PURE__ */ __name((error) => error.name === "TimeoutError" ? timeoutRetryCost : retryCost, "getCapacityAmount"); + const hasRetryTokens = /* @__PURE__ */ __name((error) => getCapacityAmount(error) <= availableCapacity, "hasRetryTokens"); + const retrieveRetryTokens = /* @__PURE__ */ __name((error) => { + if (!hasRetryTokens(error)) { + throw new Error("No retry token available"); + } + const capacityAmount = getCapacityAmount(error); + availableCapacity -= capacityAmount; + return capacityAmount; + }, "retrieveRetryTokens"); + const releaseRetryTokens = /* @__PURE__ */ __name((capacityReleaseAmount) => { + availableCapacity += capacityReleaseAmount ?? noRetryIncrement; + availableCapacity = Math.min(availableCapacity, MAX_CAPACITY); + }, "releaseRetryTokens"); + return Object.freeze({ + hasRetryTokens, + retrieveRetryTokens, + releaseRetryTokens + }); +}, "getDefaultRetryQuota"); + +// src/delayDecider.ts + +var defaultDelayDecider = /* @__PURE__ */ __name((delayBase, attempts) => Math.floor(Math.min(import_util_retry.MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)), "defaultDelayDecider"); + +// src/retryDecider.ts +var import_service_error_classification = __nccwpck_require__(6375); +var defaultRetryDecider = /* @__PURE__ */ __name((error) => { + if (!error) { + return false; + } + return (0, import_service_error_classification.isRetryableByTrait)(error) || (0, import_service_error_classification.isClockSkewError)(error) || (0, import_service_error_classification.isThrottlingError)(error) || (0, import_service_error_classification.isTransientError)(error); +}, "defaultRetryDecider"); + +// src/util.ts +var asSdkError = /* @__PURE__ */ __name((error) => { + if (error instanceof Error) + return error; + if (error instanceof Object) + return Object.assign(new Error(), error); + if (typeof error === "string") + return new Error(error); + return new Error(`AWS SDK error wrapper for ${error}`); +}, "asSdkError"); + +// src/StandardRetryStrategy.ts +var _StandardRetryStrategy = class _StandardRetryStrategy { + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.mode = import_util_retry.RETRY_MODES.STANDARD; + this.retryDecider = (options == null ? void 0 : options.retryDecider) ?? defaultRetryDecider; + this.delayDecider = (options == null ? void 0 : options.delayDecider) ?? defaultDelayDecider; + this.retryQuota = (options == null ? void 0 : options.retryQuota) ?? getDefaultRetryQuota(import_util_retry.INITIAL_RETRY_TOKENS); + } + shouldRetry(error, attempts, maxAttempts) { + return attempts < maxAttempts && this.retryDecider(error) && this.retryQuota.hasRetryTokens(error); + } + async getMaxAttempts() { + let maxAttempts; + try { + maxAttempts = await this.maxAttemptsProvider(); + } catch (error) { + maxAttempts = import_util_retry.DEFAULT_MAX_ATTEMPTS; + } + return maxAttempts; + } + async retry(next, args, options) { + let retryTokenAmount; + let attempts = 0; + let totalDelay = 0; + const maxAttempts = await this.getMaxAttempts(); + const { request } = args; + if (import_protocol_http.HttpRequest.isInstance(request)) { + request.headers[import_util_retry.INVOCATION_ID_HEADER] = (0, import_uuid.v4)(); + } + while (true) { + try { + if (import_protocol_http.HttpRequest.isInstance(request)) { + request.headers[import_util_retry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + if (options == null ? void 0 : options.beforeRequest) { + await options.beforeRequest(); + } + const { response, output } = await next(args); + if (options == null ? void 0 : options.afterRequest) { + options.afterRequest(response); + } + this.retryQuota.releaseRetryTokens(retryTokenAmount); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalDelay; + return { response, output }; + } catch (e) { + const err = asSdkError(e); + attempts++; + if (this.shouldRetry(err, attempts, maxAttempts)) { + retryTokenAmount = this.retryQuota.retrieveRetryTokens(err); + const delayFromDecider = this.delayDecider( + (0, import_service_error_classification.isThrottlingError)(err) ? import_util_retry.THROTTLING_RETRY_DELAY_BASE : import_util_retry.DEFAULT_RETRY_DELAY_BASE, + attempts + ); + const delayFromResponse = getDelayFromRetryAfterHeader(err.$response); + const delay = Math.max(delayFromResponse || 0, delayFromDecider); + totalDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + continue; + } + if (!err.$metadata) { + err.$metadata = {}; + } + err.$metadata.attempts = attempts; + err.$metadata.totalRetryDelay = totalDelay; + throw err; + } + } + } +}; +__name(_StandardRetryStrategy, "StandardRetryStrategy"); +var StandardRetryStrategy = _StandardRetryStrategy; +var getDelayFromRetryAfterHeader = /* @__PURE__ */ __name((response) => { + if (!import_protocol_http.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return retryAfterSeconds * 1e3; + const retryAfterDate = new Date(retryAfter); + return retryAfterDate.getTime() - Date.now(); +}, "getDelayFromRetryAfterHeader"); + +// src/AdaptiveRetryStrategy.ts +var _AdaptiveRetryStrategy = class _AdaptiveRetryStrategy extends StandardRetryStrategy { + constructor(maxAttemptsProvider, options) { + const { rateLimiter, ...superOptions } = options ?? {}; + super(maxAttemptsProvider, superOptions); + this.rateLimiter = rateLimiter ?? new import_util_retry.DefaultRateLimiter(); + this.mode = import_util_retry.RETRY_MODES.ADAPTIVE; + } + async retry(next, args) { + return super.retry(next, args, { + beforeRequest: async () => { + return this.rateLimiter.getSendToken(); + }, + afterRequest: (response) => { + this.rateLimiter.updateClientSendingRate(response); + } + }); + } +}; +__name(_AdaptiveRetryStrategy, "AdaptiveRetryStrategy"); +var AdaptiveRetryStrategy = _AdaptiveRetryStrategy; + +// src/configurations.ts +var import_util_middleware = __nccwpck_require__(2390); + +var ENV_MAX_ATTEMPTS = "AWS_MAX_ATTEMPTS"; +var CONFIG_MAX_ATTEMPTS = "max_attempts"; +var NODE_MAX_ATTEMPT_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + const value = env[ENV_MAX_ATTEMPTS]; + if (!value) + return void 0; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Environment variable ${ENV_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + configFileSelector: (profile) => { + const value = profile[CONFIG_MAX_ATTEMPTS]; + if (!value) + return void 0; + const maxAttempt = parseInt(value); + if (Number.isNaN(maxAttempt)) { + throw new Error(`Shared config file entry ${CONFIG_MAX_ATTEMPTS} mast be a number, got "${value}"`); + } + return maxAttempt; + }, + default: import_util_retry.DEFAULT_MAX_ATTEMPTS +}; +var resolveRetryConfig = /* @__PURE__ */ __name((input) => { + const { retryStrategy } = input; + const maxAttempts = (0, import_util_middleware.normalizeProvider)(input.maxAttempts ?? import_util_retry.DEFAULT_MAX_ATTEMPTS); + return { + ...input, + maxAttempts, + retryStrategy: async () => { + if (retryStrategy) { + return retryStrategy; + } + const retryMode = await (0, import_util_middleware.normalizeProvider)(input.retryMode)(); + if (retryMode === import_util_retry.RETRY_MODES.ADAPTIVE) { + return new import_util_retry.AdaptiveRetryStrategy(maxAttempts); + } + return new import_util_retry.StandardRetryStrategy(maxAttempts); + } + }; +}, "resolveRetryConfig"); +var ENV_RETRY_MODE = "AWS_RETRY_MODE"; +var CONFIG_RETRY_MODE = "retry_mode"; +var NODE_RETRY_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => env[ENV_RETRY_MODE], + configFileSelector: (profile) => profile[CONFIG_RETRY_MODE], + default: import_util_retry.DEFAULT_RETRY_MODE +}; + +// src/omitRetryHeadersMiddleware.ts + + +var omitRetryHeadersMiddleware = /* @__PURE__ */ __name(() => (next) => async (args) => { + const { request } = args; + if (import_protocol_http.HttpRequest.isInstance(request)) { + delete request.headers[import_util_retry.INVOCATION_ID_HEADER]; + delete request.headers[import_util_retry.REQUEST_HEADER]; + } + return next(args); +}, "omitRetryHeadersMiddleware"); +var omitRetryHeadersMiddlewareOptions = { + name: "omitRetryHeadersMiddleware", + tags: ["RETRY", "HEADERS", "OMIT_RETRY_HEADERS"], + relation: "before", + toMiddleware: "awsAuthMiddleware", + override: true +}; +var getOmitRetryHeadersPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.addRelativeTo(omitRetryHeadersMiddleware(), omitRetryHeadersMiddlewareOptions); + } +}), "getOmitRetryHeadersPlugin"); + +// src/retryMiddleware.ts + + +var import_smithy_client = __nccwpck_require__(3570); + + +var import_isStreamingPayload = __nccwpck_require__(8977); +var retryMiddleware = /* @__PURE__ */ __name((options) => (next, context) => async (args) => { + var _a; + let retryStrategy = await options.retryStrategy(); + const maxAttempts = await options.maxAttempts(); + if (isRetryStrategyV2(retryStrategy)) { + retryStrategy = retryStrategy; + let retryToken = await retryStrategy.acquireInitialRetryToken(context["partition_id"]); + let lastError = new Error(); + let attempts = 0; + let totalRetryDelay = 0; + const { request } = args; + const isRequest = import_protocol_http.HttpRequest.isInstance(request); + if (isRequest) { + request.headers[import_util_retry.INVOCATION_ID_HEADER] = (0, import_uuid.v4)(); + } + while (true) { + try { + if (isRequest) { + request.headers[import_util_retry.REQUEST_HEADER] = `attempt=${attempts + 1}; max=${maxAttempts}`; + } + const { response, output } = await next(args); + retryStrategy.recordSuccess(retryToken); + output.$metadata.attempts = attempts + 1; + output.$metadata.totalRetryDelay = totalRetryDelay; + return { response, output }; + } catch (e) { + const retryErrorInfo = getRetryErrorInfo(e); + lastError = asSdkError(e); + if (isRequest && (0, import_isStreamingPayload.isStreamingPayload)(request)) { + (_a = context.logger instanceof import_smithy_client.NoOpLogger ? console : context.logger) == null ? void 0 : _a.warn( + "An error was encountered in a non-retryable streaming request." + ); + throw lastError; + } + try { + retryToken = await retryStrategy.refreshRetryTokenForRetry(retryToken, retryErrorInfo); + } catch (refreshError) { + if (!lastError.$metadata) { + lastError.$metadata = {}; + } + lastError.$metadata.attempts = attempts + 1; + lastError.$metadata.totalRetryDelay = totalRetryDelay; + throw lastError; + } + attempts = retryToken.getRetryCount(); + const delay = retryToken.getRetryDelay(); + totalRetryDelay += delay; + await new Promise((resolve) => setTimeout(resolve, delay)); + } + } + } else { + retryStrategy = retryStrategy; + if (retryStrategy == null ? void 0 : retryStrategy.mode) + context.userAgent = [...context.userAgent || [], ["cfg/retry-mode", retryStrategy.mode]]; + return retryStrategy.retry(next, args); + } +}, "retryMiddleware"); +var isRetryStrategyV2 = /* @__PURE__ */ __name((retryStrategy) => typeof retryStrategy.acquireInitialRetryToken !== "undefined" && typeof retryStrategy.refreshRetryTokenForRetry !== "undefined" && typeof retryStrategy.recordSuccess !== "undefined", "isRetryStrategyV2"); +var getRetryErrorInfo = /* @__PURE__ */ __name((error) => { + const errorInfo = { + error, + errorType: getRetryErrorType(error) + }; + const retryAfterHint = getRetryAfterHint(error.$response); + if (retryAfterHint) { + errorInfo.retryAfterHint = retryAfterHint; + } + return errorInfo; +}, "getRetryErrorInfo"); +var getRetryErrorType = /* @__PURE__ */ __name((error) => { + if ((0, import_service_error_classification.isThrottlingError)(error)) + return "THROTTLING"; + if ((0, import_service_error_classification.isTransientError)(error)) + return "TRANSIENT"; + if ((0, import_service_error_classification.isServerError)(error)) + return "SERVER_ERROR"; + return "CLIENT_ERROR"; +}, "getRetryErrorType"); +var retryMiddlewareOptions = { + name: "retryMiddleware", + tags: ["RETRY"], + step: "finalizeRequest", + priority: "high", + override: true +}; +var getRetryPlugin = /* @__PURE__ */ __name((options) => ({ + applyToStack: (clientStack) => { + clientStack.add(retryMiddleware(options), retryMiddlewareOptions); + } +}), "getRetryPlugin"); +var getRetryAfterHint = /* @__PURE__ */ __name((response) => { + if (!import_protocol_http.HttpResponse.isInstance(response)) + return; + const retryAfterHeaderName = Object.keys(response.headers).find((key) => key.toLowerCase() === "retry-after"); + if (!retryAfterHeaderName) + return; + const retryAfter = response.headers[retryAfterHeaderName]; + const retryAfterSeconds = Number(retryAfter); + if (!Number.isNaN(retryAfterSeconds)) + return new Date(retryAfterSeconds * 1e3); + const retryAfterDate = new Date(retryAfter); + return retryAfterDate; +}, "getRetryAfterHint"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8977: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isStreamingPayload = void 0; +const stream_1 = __nccwpck_require__(2781); +const isStreamingPayload = (request) => (request === null || request === void 0 ? void 0 : request.body) instanceof stream_1.Readable || + (typeof ReadableStream !== "undefined" && (request === null || request === void 0 ? void 0 : request.body) instanceof ReadableStream); +exports.isStreamingPayload = isStreamingPayload; + + +/***/ }), + +/***/ 1238: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + deserializerMiddleware: () => deserializerMiddleware, + deserializerMiddlewareOption: () => deserializerMiddlewareOption, + getSerdePlugin: () => getSerdePlugin, + serializerMiddleware: () => serializerMiddleware, + serializerMiddlewareOption: () => serializerMiddlewareOption +}); +module.exports = __toCommonJS(src_exports); + +// src/deserializerMiddleware.ts +var deserializerMiddleware = /* @__PURE__ */ __name((options, deserializer) => (next) => async (args) => { + const { response } = await next(args); + try { + const parsed = await deserializer(response, options); + return { + response, + output: parsed + }; + } catch (error) { + Object.defineProperty(error, "$response", { + value: response + }); + if (!("$metadata" in error)) { + const hint = `Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`; + error.message += "\n " + hint; + if (typeof error.$responseBodyText !== "undefined") { + if (error.$response) { + error.$response.body = error.$responseBodyText; + } + } + } + throw error; + } +}, "deserializerMiddleware"); + +// src/serializerMiddleware.ts +var serializerMiddleware = /* @__PURE__ */ __name((options, serializer) => (next, context) => async (args) => { + var _a; + const endpoint = ((_a = context.endpointV2) == null ? void 0 : _a.url) && options.urlParser ? async () => options.urlParser(context.endpointV2.url) : options.endpoint; + if (!endpoint) { + throw new Error("No valid endpoint provider available."); + } + const request = await serializer(args.input, { ...options, endpoint }); + return next({ + ...args, + request + }); +}, "serializerMiddleware"); + +// src/serdePlugin.ts +var deserializerMiddlewareOption = { + name: "deserializerMiddleware", + step: "deserialize", + tags: ["DESERIALIZER"], + override: true +}; +var serializerMiddlewareOption = { + name: "serializerMiddleware", + step: "serialize", + tags: ["SERIALIZER"], + override: true +}; +function getSerdePlugin(config, serializer, deserializer) { + return { + applyToStack: (commandStack) => { + commandStack.add(deserializerMiddleware(config, deserializer), deserializerMiddlewareOption); + commandStack.add(serializerMiddleware(config, serializer), serializerMiddlewareOption); + } + }; +} +__name(getSerdePlugin, "getSerdePlugin"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 7911: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + constructStack: () => constructStack +}); +module.exports = __toCommonJS(src_exports); + +// src/MiddlewareStack.ts +var getAllAliases = /* @__PURE__ */ __name((name, aliases) => { + const _aliases = []; + if (name) { + _aliases.push(name); + } + if (aliases) { + for (const alias of aliases) { + _aliases.push(alias); + } + } + return _aliases; +}, "getAllAliases"); +var getMiddlewareNameWithAliases = /* @__PURE__ */ __name((name, aliases) => { + return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`; +}, "getMiddlewareNameWithAliases"); +var constructStack = /* @__PURE__ */ __name(() => { + let absoluteEntries = []; + let relativeEntries = []; + let identifyOnResolve = false; + const entriesNameSet = /* @__PURE__ */ new Set(); + const sort = /* @__PURE__ */ __name((entries) => entries.sort( + (a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"] + ), "sort"); + const removeByName = /* @__PURE__ */ __name((toRemove) => { + let isRemoved = false; + const filterCb = /* @__PURE__ */ __name((entry) => { + const aliases = getAllAliases(entry.name, entry.aliases); + if (aliases.includes(toRemove)) { + isRemoved = true; + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }, "filterCb"); + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, "removeByName"); + const removeByReference = /* @__PURE__ */ __name((toRemove) => { + let isRemoved = false; + const filterCb = /* @__PURE__ */ __name((entry) => { + if (entry.middleware === toRemove) { + isRemoved = true; + for (const alias of getAllAliases(entry.name, entry.aliases)) { + entriesNameSet.delete(alias); + } + return false; + } + return true; + }, "filterCb"); + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, "removeByReference"); + const cloneTo = /* @__PURE__ */ __name((toStack) => { + var _a; + absoluteEntries.forEach((entry) => { + toStack.add(entry.middleware, { ...entry }); + }); + relativeEntries.forEach((entry) => { + toStack.addRelativeTo(entry.middleware, { ...entry }); + }); + (_a = toStack.identifyOnResolve) == null ? void 0 : _a.call(toStack, stack.identifyOnResolve()); + return toStack; + }, "cloneTo"); + const expandRelativeMiddlewareList = /* @__PURE__ */ __name((from) => { + const expandedMiddlewareList = []; + from.before.forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + expandedMiddlewareList.push(from); + from.after.reverse().forEach((entry) => { + if (entry.before.length === 0 && entry.after.length === 0) { + expandedMiddlewareList.push(entry); + } else { + expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry)); + } + }); + return expandedMiddlewareList; + }, "expandRelativeMiddlewareList"); + const getMiddlewareList = /* @__PURE__ */ __name((debug = false) => { + const normalizedAbsoluteEntries = []; + const normalizedRelativeEntries = []; + const normalizedEntriesNameMap = {}; + absoluteEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [] + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedAbsoluteEntries.push(normalizedEntry); + }); + relativeEntries.forEach((entry) => { + const normalizedEntry = { + ...entry, + before: [], + after: [] + }; + for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) { + normalizedEntriesNameMap[alias] = normalizedEntry; + } + normalizedRelativeEntries.push(normalizedEntry); + }); + normalizedRelativeEntries.forEach((entry) => { + if (entry.toMiddleware) { + const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware]; + if (toMiddleware === void 0) { + if (debug) { + return; + } + throw new Error( + `${entry.toMiddleware} is not found when adding ${getMiddlewareNameWithAliases(entry.name, entry.aliases)} middleware ${entry.relation} ${entry.toMiddleware}` + ); + } + if (entry.relation === "after") { + toMiddleware.after.push(entry); + } + if (entry.relation === "before") { + toMiddleware.before.push(entry); + } + } + }); + const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce( + (wholeList, expandedMiddlewareList) => { + wholeList.push(...expandedMiddlewareList); + return wholeList; + }, + [] + ); + return mainChain; + }, "getMiddlewareList"); + const stack = { + add: (middleware, options = {}) => { + const { name, override, aliases: _aliases } = options; + const entry = { + step: "initialize", + priority: "normal", + middleware, + ...options + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = absoluteEntries.findIndex( + (entry2) => { + var _a; + return entry2.name === alias || ((_a = entry2.aliases) == null ? void 0 : _a.some((a) => a === alias)); + } + ); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = absoluteEntries[toOverrideIndex]; + if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) { + throw new Error( + `"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ${toOverride.priority} priority in ${toOverride.step} step cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ${entry.priority} priority in ${entry.step} step.` + ); + } + absoluteEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + absoluteEntries.push(entry); + }, + addRelativeTo: (middleware, options) => { + const { name, override, aliases: _aliases } = options; + const entry = { + middleware, + ...options + }; + const aliases = getAllAliases(name, _aliases); + if (aliases.length > 0) { + if (aliases.some((alias) => entriesNameSet.has(alias))) { + if (!override) + throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`); + for (const alias of aliases) { + const toOverrideIndex = relativeEntries.findIndex( + (entry2) => { + var _a; + return entry2.name === alias || ((_a = entry2.aliases) == null ? void 0 : _a.some((a) => a === alias)); + } + ); + if (toOverrideIndex === -1) { + continue; + } + const toOverride = relativeEntries[toOverrideIndex]; + if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) { + throw new Error( + `"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} "${entry.toMiddleware}" middleware.` + ); + } + relativeEntries.splice(toOverrideIndex, 1); + } + } + for (const alias of aliases) { + entriesNameSet.add(alias); + } + } + relativeEntries.push(entry); + }, + clone: () => cloneTo(constructStack()), + use: (plugin) => { + plugin.applyToStack(stack); + }, + remove: (toRemove) => { + if (typeof toRemove === "string") + return removeByName(toRemove); + else + return removeByReference(toRemove); + }, + removeByTag: (toRemove) => { + let isRemoved = false; + const filterCb = /* @__PURE__ */ __name((entry) => { + const { tags, name, aliases: _aliases } = entry; + if (tags && tags.includes(toRemove)) { + const aliases = getAllAliases(name, _aliases); + for (const alias of aliases) { + entriesNameSet.delete(alias); + } + isRemoved = true; + return false; + } + return true; + }, "filterCb"); + absoluteEntries = absoluteEntries.filter(filterCb); + relativeEntries = relativeEntries.filter(filterCb); + return isRemoved; + }, + concat: (from) => { + var _a; + const cloned = cloneTo(constructStack()); + cloned.use(from); + cloned.identifyOnResolve( + identifyOnResolve || cloned.identifyOnResolve() || (((_a = from.identifyOnResolve) == null ? void 0 : _a.call(from)) ?? false) + ); + return cloned; + }, + applyToStack: cloneTo, + identify: () => { + return getMiddlewareList(true).map((mw) => { + const step = mw.step ?? mw.relation + " " + mw.toMiddleware; + return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step; + }); + }, + identifyOnResolve(toggle) { + if (typeof toggle === "boolean") + identifyOnResolve = toggle; + return identifyOnResolve; + }, + resolve: (handler, context) => { + for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) { + handler = middleware(handler, context); + } + if (identifyOnResolve) { + console.log(stack.identify()); + } + return handler; + } + }; + return stack; +}, "constructStack"); +var stepWeights = { + initialize: 5, + serialize: 4, + build: 3, + finalizeRequest: 2, + deserialize: 1 +}; +var priorityWeights = { + high: 3, + normal: 2, + low: 1 +}; +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3461: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + loadConfig: () => loadConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/configLoader.ts + + +// src/fromEnv.ts +var import_property_provider = __nccwpck_require__(9721); + +// src/getSelectorName.ts +function getSelectorName(functionString) { + try { + const constants = new Set(Array.from(functionString.match(/([A-Z_]){3,}/g) ?? [])); + constants.delete("CONFIG"); + constants.delete("CONFIG_PREFIX_SEPARATOR"); + constants.delete("ENV"); + return [...constants].join(", "); + } catch (e) { + return functionString; + } +} +__name(getSelectorName, "getSelectorName"); + +// src/fromEnv.ts +var fromEnv = /* @__PURE__ */ __name((envVarSelector, logger) => async () => { + try { + const config = envVarSelector(process.env); + if (config === void 0) { + throw new Error(); + } + return config; + } catch (e) { + throw new import_property_provider.CredentialsProviderError( + e.message || `Not found in ENV: ${getSelectorName(envVarSelector.toString())}`, + { logger } + ); + } +}, "fromEnv"); + +// src/fromSharedConfigFiles.ts + +var import_shared_ini_file_loader = __nccwpck_require__(3507); +var fromSharedConfigFiles = /* @__PURE__ */ __name((configSelector, { preferredFile = "config", ...init } = {}) => async () => { + const profile = (0, import_shared_ini_file_loader.getProfileName)(init); + const { configFile, credentialsFile } = await (0, import_shared_ini_file_loader.loadSharedConfigFiles)(init); + const profileFromCredentials = credentialsFile[profile] || {}; + const profileFromConfig = configFile[profile] || {}; + const mergedProfile = preferredFile === "config" ? { ...profileFromCredentials, ...profileFromConfig } : { ...profileFromConfig, ...profileFromCredentials }; + try { + const cfgFile = preferredFile === "config" ? configFile : credentialsFile; + const configValue = configSelector(mergedProfile, cfgFile); + if (configValue === void 0) { + throw new Error(); + } + return configValue; + } catch (e) { + throw new import_property_provider.CredentialsProviderError( + e.message || `Not found in config files w/ profile [${profile}]: ${getSelectorName(configSelector.toString())}`, + { logger: init.logger } + ); + } +}, "fromSharedConfigFiles"); + +// src/fromStatic.ts + +var isFunction = /* @__PURE__ */ __name((func) => typeof func === "function", "isFunction"); +var fromStatic = /* @__PURE__ */ __name((defaultValue) => isFunction(defaultValue) ? async () => await defaultValue() : (0, import_property_provider.fromStatic)(defaultValue), "fromStatic"); + +// src/configLoader.ts +var loadConfig = /* @__PURE__ */ __name(({ environmentVariableSelector, configFileSelector, default: defaultValue }, configuration = {}) => (0, import_property_provider.memoize)( + (0, import_property_provider.chain)( + fromEnv(environmentVariableSelector), + fromSharedConfigFiles(configFileSelector, configuration), + fromStatic(defaultValue) + ) +), "loadConfig"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 258: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __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); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + DEFAULT_REQUEST_TIMEOUT: () => DEFAULT_REQUEST_TIMEOUT, + NodeHttp2Handler: () => NodeHttp2Handler, + NodeHttpHandler: () => NodeHttpHandler, + streamCollector: () => streamCollector +}); +module.exports = __toCommonJS(src_exports); + +// src/node-http-handler.ts +var import_protocol_http = __nccwpck_require__(4418); +var import_querystring_builder = __nccwpck_require__(8031); +var import_http = __nccwpck_require__(3685); +var import_https = __nccwpck_require__(5687); + +// src/constants.ts +var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "EPIPE", "ETIMEDOUT"]; + +// src/get-transformed-headers.ts +var getTransformedHeaders = /* @__PURE__ */ __name((headers) => { + const transformedHeaders = {}; + for (const name of Object.keys(headers)) { + const headerValues = headers[name]; + transformedHeaders[name] = Array.isArray(headerValues) ? headerValues.join(",") : headerValues; + } + return transformedHeaders; +}, "getTransformedHeaders"); + +// src/timing.ts +var timing = { + setTimeout: (cb, ms) => setTimeout(cb, ms), + clearTimeout: (timeoutId) => clearTimeout(timeoutId) +}; + +// src/set-connection-timeout.ts +var DEFER_EVENT_LISTENER_TIME = 1e3; +var setConnectionTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => { + if (!timeoutInMs) { + return -1; + } + const registerTimeout = /* @__PURE__ */ __name((offset) => { + const timeoutId = timing.setTimeout(() => { + request.destroy(); + reject( + Object.assign(new Error(`Socket timed out without establishing a connection within ${timeoutInMs} ms`), { + name: "TimeoutError" + }) + ); + }, timeoutInMs - offset); + const doWithSocket = /* @__PURE__ */ __name((socket) => { + if (socket == null ? void 0 : socket.connecting) { + socket.on("connect", () => { + timing.clearTimeout(timeoutId); + }); + } else { + timing.clearTimeout(timeoutId); + } + }, "doWithSocket"); + if (request.socket) { + doWithSocket(request.socket); + } else { + request.on("socket", doWithSocket); + } + }, "registerTimeout"); + if (timeoutInMs < 2e3) { + registerTimeout(0); + return 0; + } + return timing.setTimeout(registerTimeout.bind(null, DEFER_EVENT_LISTENER_TIME), DEFER_EVENT_LISTENER_TIME); +}, "setConnectionTimeout"); + +// src/set-socket-keep-alive.ts +var DEFER_EVENT_LISTENER_TIME2 = 3e3; +var setSocketKeepAlive = /* @__PURE__ */ __name((request, { keepAlive, keepAliveMsecs }, deferTimeMs = DEFER_EVENT_LISTENER_TIME2) => { + if (keepAlive !== true) { + return -1; + } + const registerListener = /* @__PURE__ */ __name(() => { + if (request.socket) { + request.socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + } else { + request.on("socket", (socket) => { + socket.setKeepAlive(keepAlive, keepAliveMsecs || 0); + }); + } + }, "registerListener"); + if (deferTimeMs === 0) { + registerListener(); + return 0; + } + return timing.setTimeout(registerListener, deferTimeMs); +}, "setSocketKeepAlive"); + +// src/set-socket-timeout.ts +var DEFER_EVENT_LISTENER_TIME3 = 3e3; +var setSocketTimeout = /* @__PURE__ */ __name((request, reject, timeoutInMs = 0) => { + const registerTimeout = /* @__PURE__ */ __name((offset) => { + request.setTimeout(timeoutInMs - offset, () => { + request.destroy(); + reject(Object.assign(new Error(`Connection timed out after ${timeoutInMs} ms`), { name: "TimeoutError" })); + }); + }, "registerTimeout"); + if (0 < timeoutInMs && timeoutInMs < 6e3) { + registerTimeout(0); + return 0; + } + return timing.setTimeout( + registerTimeout.bind(null, timeoutInMs === 0 ? 0 : DEFER_EVENT_LISTENER_TIME3), + DEFER_EVENT_LISTENER_TIME3 + ); +}, "setSocketTimeout"); + +// src/write-request-body.ts +var import_stream = __nccwpck_require__(2781); +var MIN_WAIT_TIME = 1e3; +async function writeRequestBody(httpRequest, request, maxContinueTimeoutMs = MIN_WAIT_TIME) { + const headers = request.headers ?? {}; + const expect = headers["Expect"] || headers["expect"]; + let timeoutId = -1; + let sendBody = true; + if (expect === "100-continue") { + sendBody = await Promise.race([ + new Promise((resolve) => { + timeoutId = Number(timing.setTimeout(resolve, Math.max(MIN_WAIT_TIME, maxContinueTimeoutMs))); + }), + new Promise((resolve) => { + httpRequest.on("continue", () => { + timing.clearTimeout(timeoutId); + resolve(true); + }); + httpRequest.on("response", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + httpRequest.on("error", () => { + timing.clearTimeout(timeoutId); + resolve(false); + }); + }) + ]); + } + if (sendBody) { + writeBody(httpRequest, request.body); + } +} +__name(writeRequestBody, "writeRequestBody"); +function writeBody(httpRequest, body) { + if (body instanceof import_stream.Readable) { + body.pipe(httpRequest); + return; + } + if (body) { + if (Buffer.isBuffer(body) || typeof body === "string") { + httpRequest.end(body); + return; + } + const uint8 = body; + if (typeof uint8 === "object" && uint8.buffer && typeof uint8.byteOffset === "number" && typeof uint8.byteLength === "number") { + httpRequest.end(Buffer.from(uint8.buffer, uint8.byteOffset, uint8.byteLength)); + return; + } + httpRequest.end(Buffer.from(body)); + return; + } + httpRequest.end(); +} +__name(writeBody, "writeBody"); + +// src/node-http-handler.ts +var DEFAULT_REQUEST_TIMEOUT = 0; +var _NodeHttpHandler = class _NodeHttpHandler { + constructor(options) { + this.socketWarningTimestamp = 0; + // Node http handler is hard-coded to http/1.1: https://github.com/nodejs/node/blob/ff5664b83b89c55e4ab5d5f60068fb457f1f5872/lib/_http_server.js#L286 + this.metadata = { handlerProtocol: "http/1.1" }; + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options().then((_options) => { + resolve(this.resolveDefaultConfig(_options)); + }).catch(reject); + } else { + resolve(this.resolveDefaultConfig(options)); + } + }); + } + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions) { + if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") { + return instanceOrOptions; + } + return new _NodeHttpHandler(instanceOrOptions); + } + /** + * @internal + * + * @param agent - http(s) agent in use by the NodeHttpHandler instance. + * @param socketWarningTimestamp - last socket usage check timestamp. + * @param logger - channel for the warning. + * @returns timestamp of last emitted warning. + */ + static checkSocketUsage(agent, socketWarningTimestamp, logger = console) { + var _a, _b, _c; + const { sockets, requests, maxSockets } = agent; + if (typeof maxSockets !== "number" || maxSockets === Infinity) { + return socketWarningTimestamp; + } + const interval = 15e3; + if (Date.now() - interval < socketWarningTimestamp) { + return socketWarningTimestamp; + } + if (sockets && requests) { + for (const origin in sockets) { + const socketsInUse = ((_a = sockets[origin]) == null ? void 0 : _a.length) ?? 0; + const requestsEnqueued = ((_b = requests[origin]) == null ? void 0 : _b.length) ?? 0; + if (socketsInUse >= maxSockets && requestsEnqueued >= 2 * maxSockets) { + (_c = logger == null ? void 0 : logger.warn) == null ? void 0 : _c.call( + logger, + `@smithy/node-http-handler:WARN - socket usage at capacity=${socketsInUse} and ${requestsEnqueued} additional requests are enqueued. +See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html +or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.` + ); + return Date.now(); + } + } + } + return socketWarningTimestamp; + } + resolveDefaultConfig(options) { + const { requestTimeout, connectionTimeout, socketTimeout, httpAgent, httpsAgent } = options || {}; + const keepAlive = true; + const maxSockets = 50; + return { + connectionTimeout, + requestTimeout: requestTimeout ?? socketTimeout, + httpAgent: (() => { + if (httpAgent instanceof import_http.Agent || typeof (httpAgent == null ? void 0 : httpAgent.destroy) === "function") { + return httpAgent; + } + return new import_http.Agent({ keepAlive, maxSockets, ...httpAgent }); + })(), + httpsAgent: (() => { + if (httpsAgent instanceof import_https.Agent || typeof (httpsAgent == null ? void 0 : httpsAgent.destroy) === "function") { + return httpsAgent; + } + return new import_https.Agent({ keepAlive, maxSockets, ...httpsAgent }); + })(), + logger: console + }; + } + destroy() { + var _a, _b, _c, _d; + (_b = (_a = this.config) == null ? void 0 : _a.httpAgent) == null ? void 0 : _b.destroy(); + (_d = (_c = this.config) == null ? void 0 : _c.httpsAgent) == null ? void 0 : _d.destroy(); + } + async handle(request, { abortSignal } = {}) { + if (!this.config) { + this.config = await this.configProvider; + } + return new Promise((_resolve, _reject) => { + let writeRequestBodyPromise = void 0; + const timeouts = []; + const resolve = /* @__PURE__ */ __name(async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _resolve(arg); + }, "resolve"); + const reject = /* @__PURE__ */ __name(async (arg) => { + await writeRequestBodyPromise; + timeouts.forEach(timing.clearTimeout); + _reject(arg); + }, "reject"); + if (!this.config) { + throw new Error("Node HTTP request handler config is not resolved"); + } + if (abortSignal == null ? void 0 : abortSignal.aborted) { + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + return; + } + const isSSL = request.protocol === "https:"; + const agent = isSSL ? this.config.httpsAgent : this.config.httpAgent; + timeouts.push( + timing.setTimeout( + () => { + this.socketWarningTimestamp = _NodeHttpHandler.checkSocketUsage( + agent, + this.socketWarningTimestamp, + this.config.logger + ); + }, + this.config.socketAcquisitionWarningTimeout ?? (this.config.requestTimeout ?? 2e3) + (this.config.connectionTimeout ?? 1e3) + ) + ); + const queryString = (0, import_querystring_builder.buildQueryString)(request.query || {}); + let auth = void 0; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}`; + } + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + let hostname = request.hostname ?? ""; + if (hostname[0] === "[" && hostname.endsWith("]")) { + hostname = request.hostname.slice(1, -1); + } else { + hostname = request.hostname; + } + const nodeHttpsOptions = { + headers: request.headers, + host: hostname, + method: request.method, + path, + port: request.port, + agent, + auth + }; + const requestFunc = isSSL ? import_https.request : import_http.request; + const req = requestFunc(nodeHttpsOptions, (res) => { + const httpResponse = new import_protocol_http.HttpResponse({ + statusCode: res.statusCode || -1, + reason: res.statusMessage, + headers: getTransformedHeaders(res.headers), + body: res + }); + resolve({ response: httpResponse }); + }); + req.on("error", (err) => { + if (NODEJS_TIMEOUT_ERROR_CODES.includes(err.code)) { + reject(Object.assign(err, { name: "TimeoutError" })); + } else { + reject(err); + } + }); + if (abortSignal) { + const onAbort = /* @__PURE__ */ __name(() => { + req.destroy(); + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + }, "onAbort"); + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } else { + abortSignal.onabort = onAbort; + } + } + timeouts.push(setConnectionTimeout(req, reject, this.config.connectionTimeout)); + timeouts.push(setSocketTimeout(req, reject, this.config.requestTimeout)); + const httpAgent = nodeHttpsOptions.agent; + if (typeof httpAgent === "object" && "keepAlive" in httpAgent) { + timeouts.push( + setSocketKeepAlive(req, { + // @ts-expect-error keepAlive is not public on httpAgent. + keepAlive: httpAgent.keepAlive, + // @ts-expect-error keepAliveMsecs is not public on httpAgent. + keepAliveMsecs: httpAgent.keepAliveMsecs + }) + ); + } + writeRequestBodyPromise = writeRequestBody(req, request, this.config.requestTimeout).catch((e) => { + timeouts.forEach(timing.clearTimeout); + return _reject(e); + }); + }); + } + updateHttpClientConfig(key, value) { + this.config = void 0; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } +}; +__name(_NodeHttpHandler, "NodeHttpHandler"); +var NodeHttpHandler = _NodeHttpHandler; + +// src/node-http2-handler.ts + + +var import_http22 = __nccwpck_require__(5158); + +// src/node-http2-connection-manager.ts +var import_http2 = __toESM(__nccwpck_require__(5158)); + +// src/node-http2-connection-pool.ts +var _NodeHttp2ConnectionPool = class _NodeHttp2ConnectionPool { + constructor(sessions) { + this.sessions = []; + this.sessions = sessions ?? []; + } + poll() { + if (this.sessions.length > 0) { + return this.sessions.shift(); + } + } + offerLast(session) { + this.sessions.push(session); + } + contains(session) { + return this.sessions.includes(session); + } + remove(session) { + this.sessions = this.sessions.filter((s) => s !== session); + } + [Symbol.iterator]() { + return this.sessions[Symbol.iterator](); + } + destroy(connection) { + for (const session of this.sessions) { + if (session === connection) { + if (!session.destroyed) { + session.destroy(); + } + } + } + } +}; +__name(_NodeHttp2ConnectionPool, "NodeHttp2ConnectionPool"); +var NodeHttp2ConnectionPool = _NodeHttp2ConnectionPool; + +// src/node-http2-connection-manager.ts +var _NodeHttp2ConnectionManager = class _NodeHttp2ConnectionManager { + constructor(config) { + this.sessionCache = /* @__PURE__ */ new Map(); + this.config = config; + if (this.config.maxConcurrency && this.config.maxConcurrency <= 0) { + throw new RangeError("maxConcurrency must be greater than zero."); + } + } + lease(requestContext, connectionConfiguration) { + const url = this.getUrlString(requestContext); + const existingPool = this.sessionCache.get(url); + if (existingPool) { + const existingSession = existingPool.poll(); + if (existingSession && !this.config.disableConcurrency) { + return existingSession; + } + } + const session = import_http2.default.connect(url); + if (this.config.maxConcurrency) { + session.settings({ maxConcurrentStreams: this.config.maxConcurrency }, (err) => { + if (err) { + throw new Error( + "Fail to set maxConcurrentStreams to " + this.config.maxConcurrency + "when creating new session for " + requestContext.destination.toString() + ); + } + }); + } + session.unref(); + const destroySessionCb = /* @__PURE__ */ __name(() => { + session.destroy(); + this.deleteSession(url, session); + }, "destroySessionCb"); + session.on("goaway", destroySessionCb); + session.on("error", destroySessionCb); + session.on("frameError", destroySessionCb); + session.on("close", () => this.deleteSession(url, session)); + if (connectionConfiguration.requestTimeout) { + session.setTimeout(connectionConfiguration.requestTimeout, destroySessionCb); + } + const connectionPool = this.sessionCache.get(url) || new NodeHttp2ConnectionPool(); + connectionPool.offerLast(session); + this.sessionCache.set(url, connectionPool); + return session; + } + /** + * Delete a session from the connection pool. + * @param authority The authority of the session to delete. + * @param session The session to delete. + */ + deleteSession(authority, session) { + const existingConnectionPool = this.sessionCache.get(authority); + if (!existingConnectionPool) { + return; + } + if (!existingConnectionPool.contains(session)) { + return; + } + existingConnectionPool.remove(session); + this.sessionCache.set(authority, existingConnectionPool); + } + release(requestContext, session) { + var _a; + const cacheKey = this.getUrlString(requestContext); + (_a = this.sessionCache.get(cacheKey)) == null ? void 0 : _a.offerLast(session); + } + destroy() { + for (const [key, connectionPool] of this.sessionCache) { + for (const session of connectionPool) { + if (!session.destroyed) { + session.destroy(); + } + connectionPool.remove(session); + } + this.sessionCache.delete(key); + } + } + setMaxConcurrentStreams(maxConcurrentStreams) { + if (maxConcurrentStreams && maxConcurrentStreams <= 0) { + throw new RangeError("maxConcurrentStreams must be greater than zero."); + } + this.config.maxConcurrency = maxConcurrentStreams; + } + setDisableConcurrentStreams(disableConcurrentStreams) { + this.config.disableConcurrency = disableConcurrentStreams; + } + getUrlString(request) { + return request.destination.toString(); + } +}; +__name(_NodeHttp2ConnectionManager, "NodeHttp2ConnectionManager"); +var NodeHttp2ConnectionManager = _NodeHttp2ConnectionManager; + +// src/node-http2-handler.ts +var _NodeHttp2Handler = class _NodeHttp2Handler { + constructor(options) { + this.metadata = { handlerProtocol: "h2" }; + this.connectionManager = new NodeHttp2ConnectionManager({}); + this.configProvider = new Promise((resolve, reject) => { + if (typeof options === "function") { + options().then((opts) => { + resolve(opts || {}); + }).catch(reject); + } else { + resolve(options || {}); + } + }); + } + /** + * @returns the input if it is an HttpHandler of any class, + * or instantiates a new instance of this handler. + */ + static create(instanceOrOptions) { + if (typeof (instanceOrOptions == null ? void 0 : instanceOrOptions.handle) === "function") { + return instanceOrOptions; + } + return new _NodeHttp2Handler(instanceOrOptions); + } + destroy() { + this.connectionManager.destroy(); + } + async handle(request, { abortSignal } = {}) { + if (!this.config) { + this.config = await this.configProvider; + this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams || false); + if (this.config.maxConcurrentStreams) { + this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams); + } + } + const { requestTimeout, disableConcurrentStreams } = this.config; + return new Promise((_resolve, _reject) => { + var _a; + let fulfilled = false; + let writeRequestBodyPromise = void 0; + const resolve = /* @__PURE__ */ __name(async (arg) => { + await writeRequestBodyPromise; + _resolve(arg); + }, "resolve"); + const reject = /* @__PURE__ */ __name(async (arg) => { + await writeRequestBodyPromise; + _reject(arg); + }, "reject"); + if (abortSignal == null ? void 0 : abortSignal.aborted) { + fulfilled = true; + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + reject(abortError); + return; + } + const { hostname, method, port, protocol, query } = request; + let auth = ""; + if (request.username != null || request.password != null) { + const username = request.username ?? ""; + const password = request.password ?? ""; + auth = `${username}:${password}@`; + } + const authority = `${protocol}//${auth}${hostname}${port ? `:${port}` : ""}`; + const requestContext = { destination: new URL(authority) }; + const session = this.connectionManager.lease(requestContext, { + requestTimeout: (_a = this.config) == null ? void 0 : _a.sessionTimeout, + disableConcurrentStreams: disableConcurrentStreams || false + }); + const rejectWithDestroy = /* @__PURE__ */ __name((err) => { + if (disableConcurrentStreams) { + this.destroySession(session); + } + fulfilled = true; + reject(err); + }, "rejectWithDestroy"); + const queryString = (0, import_querystring_builder.buildQueryString)(query || {}); + let path = request.path; + if (queryString) { + path += `?${queryString}`; + } + if (request.fragment) { + path += `#${request.fragment}`; + } + const req = session.request({ + ...request.headers, + [import_http22.constants.HTTP2_HEADER_PATH]: path, + [import_http22.constants.HTTP2_HEADER_METHOD]: method + }); + session.ref(); + req.on("response", (headers) => { + const httpResponse = new import_protocol_http.HttpResponse({ + statusCode: headers[":status"] || -1, + headers: getTransformedHeaders(headers), + body: req + }); + fulfilled = true; + resolve({ response: httpResponse }); + if (disableConcurrentStreams) { + session.close(); + this.connectionManager.deleteSession(authority, session); + } + }); + if (requestTimeout) { + req.setTimeout(requestTimeout, () => { + req.close(); + const timeoutError = new Error(`Stream timed out because of no activity for ${requestTimeout} ms`); + timeoutError.name = "TimeoutError"; + rejectWithDestroy(timeoutError); + }); + } + if (abortSignal) { + const onAbort = /* @__PURE__ */ __name(() => { + req.close(); + const abortError = new Error("Request aborted"); + abortError.name = "AbortError"; + rejectWithDestroy(abortError); + }, "onAbort"); + if (typeof abortSignal.addEventListener === "function") { + const signal = abortSignal; + signal.addEventListener("abort", onAbort, { once: true }); + req.once("close", () => signal.removeEventListener("abort", onAbort)); + } else { + abortSignal.onabort = onAbort; + } + } + req.on("frameError", (type, code, id) => { + rejectWithDestroy(new Error(`Frame type id ${type} in stream id ${id} has failed with code ${code}.`)); + }); + req.on("error", rejectWithDestroy); + req.on("aborted", () => { + rejectWithDestroy( + new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${req.rstCode}.`) + ); + }); + req.on("close", () => { + session.unref(); + if (disableConcurrentStreams) { + session.destroy(); + } + if (!fulfilled) { + rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response")); + } + }); + writeRequestBodyPromise = writeRequestBody(req, request, requestTimeout); + }); + } + updateHttpClientConfig(key, value) { + this.config = void 0; + this.configProvider = this.configProvider.then((config) => { + return { + ...config, + [key]: value + }; + }); + } + httpHandlerConfigs() { + return this.config ?? {}; + } + /** + * Destroys a session. + * @param session The session to destroy. + */ + destroySession(session) { + if (!session.destroyed) { + session.destroy(); + } + } +}; +__name(_NodeHttp2Handler, "NodeHttp2Handler"); +var NodeHttp2Handler = _NodeHttp2Handler; + +// src/stream-collector/collector.ts + +var _Collector = class _Collector extends import_stream.Writable { + constructor() { + super(...arguments); + this.bufferedBytes = []; + } + _write(chunk, encoding, callback) { + this.bufferedBytes.push(chunk); + callback(); + } +}; +__name(_Collector, "Collector"); +var Collector = _Collector; + +// src/stream-collector/index.ts +var streamCollector = /* @__PURE__ */ __name((stream) => { + if (isReadableStreamInstance(stream)) { + return collectReadableStream(stream); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function() { + const bytes = new Uint8Array(Buffer.concat(this.bufferedBytes)); + resolve(bytes); + }); + }); +}, "streamCollector"); +var isReadableStreamInstance = /* @__PURE__ */ __name((stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream, "isReadableStreamInstance"); +async function collectReadableStream(stream) { + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + let length = 0; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + length += value.length; + } + isDone = done; + } + const collected = new Uint8Array(length); + let offset = 0; + for (const chunk of chunks) { + collected.set(chunk, offset); + offset += chunk.length; + } + return collected; +} +__name(collectReadableStream, "collectReadableStream"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 9721: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + CredentialsProviderError: () => CredentialsProviderError, + ProviderError: () => ProviderError, + TokenProviderError: () => TokenProviderError, + chain: () => chain, + fromStatic: () => fromStatic, + memoize: () => memoize +}); +module.exports = __toCommonJS(src_exports); + +// src/ProviderError.ts +var _ProviderError = class _ProviderError extends Error { + constructor(message, options = true) { + var _a; + let logger; + let tryNextLink = true; + if (typeof options === "boolean") { + logger = void 0; + tryNextLink = options; + } else if (options != null && typeof options === "object") { + logger = options.logger; + tryNextLink = options.tryNextLink ?? true; + } + super(message); + this.name = "ProviderError"; + this.tryNextLink = tryNextLink; + Object.setPrototypeOf(this, _ProviderError.prototype); + (_a = logger == null ? void 0 : logger.debug) == null ? void 0 : _a.call(logger, `@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`); + } + /** + * @deprecated use new operator. + */ + static from(error, options = true) { + return Object.assign(new this(error.message, options), error); + } +}; +__name(_ProviderError, "ProviderError"); +var ProviderError = _ProviderError; + +// src/CredentialsProviderError.ts +var _CredentialsProviderError = class _CredentialsProviderError extends ProviderError { + /** + * @override + */ + constructor(message, options = true) { + super(message, options); + this.name = "CredentialsProviderError"; + Object.setPrototypeOf(this, _CredentialsProviderError.prototype); + } +}; +__name(_CredentialsProviderError, "CredentialsProviderError"); +var CredentialsProviderError = _CredentialsProviderError; + +// src/TokenProviderError.ts +var _TokenProviderError = class _TokenProviderError extends ProviderError { + /** + * @override + */ + constructor(message, options = true) { + super(message, options); + this.name = "TokenProviderError"; + Object.setPrototypeOf(this, _TokenProviderError.prototype); + } +}; +__name(_TokenProviderError, "TokenProviderError"); +var TokenProviderError = _TokenProviderError; + +// src/chain.ts +var chain = /* @__PURE__ */ __name((...providers) => async () => { + if (providers.length === 0) { + throw new ProviderError("No providers in chain"); + } + let lastProviderError; + for (const provider of providers) { + try { + const credentials = await provider(); + return credentials; + } catch (err) { + lastProviderError = err; + if (err == null ? void 0 : err.tryNextLink) { + continue; + } + throw err; + } + } + throw lastProviderError; +}, "chain"); + +// src/fromStatic.ts +var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic"); + +// src/memoize.ts +var memoize = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => { + let resolved; + let pending; + let hasResult; + let isConstant = false; + const coalesceProvider = /* @__PURE__ */ __name(async () => { + if (!pending) { + pending = provider(); + } + try { + resolved = await pending; + hasResult = true; + isConstant = false; + } finally { + pending = void 0; + } + return resolved; + }, "coalesceProvider"); + if (isExpired === void 0) { + return async (options) => { + if (!hasResult || (options == null ? void 0 : options.forceRefresh)) { + resolved = await coalesceProvider(); + } + return resolved; + }; + } + return async (options) => { + if (!hasResult || (options == null ? void 0 : options.forceRefresh)) { + resolved = await coalesceProvider(); + } + if (isConstant) { + return resolved; + } + if (requiresRefresh && !requiresRefresh(resolved)) { + isConstant = true; + return resolved; + } + if (isExpired(resolved)) { + await coalesceProvider(); + return resolved; + } + return resolved; + }; +}, "memoize"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4418: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Field: () => Field, + Fields: () => Fields, + HttpRequest: () => HttpRequest, + HttpResponse: () => HttpResponse, + IHttpRequest: () => import_types.HttpRequest, + getHttpHandlerExtensionConfiguration: () => getHttpHandlerExtensionConfiguration, + isValidHostname: () => isValidHostname, + resolveHttpHandlerRuntimeConfig: () => resolveHttpHandlerRuntimeConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/extensions/httpExtensionConfiguration.ts +var getHttpHandlerExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + let httpHandler = runtimeConfig.httpHandler; + return { + setHttpHandler(handler) { + httpHandler = handler; + }, + httpHandler() { + return httpHandler; + }, + updateHttpClientConfig(key, value) { + httpHandler.updateHttpClientConfig(key, value); + }, + httpHandlerConfigs() { + return httpHandler.httpHandlerConfigs(); + } + }; +}, "getHttpHandlerExtensionConfiguration"); +var resolveHttpHandlerRuntimeConfig = /* @__PURE__ */ __name((httpHandlerExtensionConfiguration) => { + return { + httpHandler: httpHandlerExtensionConfiguration.httpHandler() + }; +}, "resolveHttpHandlerRuntimeConfig"); + +// src/Field.ts +var import_types = __nccwpck_require__(5756); +var _Field = class _Field { + constructor({ name, kind = import_types.FieldPosition.HEADER, values = [] }) { + this.name = name; + this.kind = kind; + this.values = values; + } + /** + * Appends a value to the field. + * + * @param value The value to append. + */ + add(value) { + this.values.push(value); + } + /** + * Overwrite existing field values. + * + * @param values The new field values. + */ + set(values) { + this.values = values; + } + /** + * Remove all matching entries from list. + * + * @param value Value to remove. + */ + remove(value) { + this.values = this.values.filter((v) => v !== value); + } + /** + * Get comma-delimited string. + * + * @returns String representation of {@link Field}. + */ + toString() { + return this.values.map((v) => v.includes(",") || v.includes(" ") ? `"${v}"` : v).join(", "); + } + /** + * Get string values as a list + * + * @returns Values in {@link Field} as a list. + */ + get() { + return this.values; + } +}; +__name(_Field, "Field"); +var Field = _Field; + +// src/Fields.ts +var _Fields = class _Fields { + constructor({ fields = [], encoding = "utf-8" }) { + this.entries = {}; + fields.forEach(this.setField.bind(this)); + this.encoding = encoding; + } + /** + * Set entry for a {@link Field} name. The `name` + * attribute will be used to key the collection. + * + * @param field The {@link Field} to set. + */ + setField(field) { + this.entries[field.name.toLowerCase()] = field; + } + /** + * Retrieve {@link Field} entry by name. + * + * @param name The name of the {@link Field} entry + * to retrieve + * @returns The {@link Field} if it exists. + */ + getField(name) { + return this.entries[name.toLowerCase()]; + } + /** + * Delete entry from collection. + * + * @param name Name of the entry to delete. + */ + removeField(name) { + delete this.entries[name.toLowerCase()]; + } + /** + * Helper function for retrieving specific types of fields. + * Used to grab all headers or all trailers. + * + * @param kind {@link FieldPosition} of entries to retrieve. + * @returns The {@link Field} entries with the specified + * {@link FieldPosition}. + */ + getByType(kind) { + return Object.values(this.entries).filter((field) => field.kind === kind); + } +}; +__name(_Fields, "Fields"); +var Fields = _Fields; + +// src/httpRequest.ts + +var _HttpRequest = class _HttpRequest { + constructor(options) { + this.method = options.method || "GET"; + this.hostname = options.hostname || "localhost"; + this.port = options.port; + this.query = options.query || {}; + this.headers = options.headers || {}; + this.body = options.body; + this.protocol = options.protocol ? options.protocol.slice(-1) !== ":" ? `${options.protocol}:` : options.protocol : "https:"; + this.path = options.path ? options.path.charAt(0) !== "/" ? `/${options.path}` : options.path : "/"; + this.username = options.username; + this.password = options.password; + this.fragment = options.fragment; + } + /** + * Note: this does not deep-clone the body. + */ + static clone(request) { + const cloned = new _HttpRequest({ + ...request, + headers: { ...request.headers } + }); + if (cloned.query) { + cloned.query = cloneQuery(cloned.query); + } + return cloned; + } + /** + * This method only actually asserts that request is the interface {@link IHttpRequest}, + * and not necessarily this concrete class. Left in place for API stability. + * + * Do not call instance methods on the input of this function, and + * do not assume it has the HttpRequest prototype. + */ + static isInstance(request) { + if (!request) { + return false; + } + const req = request; + return "method" in req && "protocol" in req && "hostname" in req && "path" in req && typeof req["query"] === "object" && typeof req["headers"] === "object"; + } + /** + * @deprecated use static HttpRequest.clone(request) instead. It's not safe to call + * this method because {@link HttpRequest.isInstance} incorrectly + * asserts that IHttpRequest (interface) objects are of type HttpRequest (class). + */ + clone() { + return _HttpRequest.clone(this); + } +}; +__name(_HttpRequest, "HttpRequest"); +var HttpRequest = _HttpRequest; +function cloneQuery(query) { + return Object.keys(query).reduce((carry, paramName) => { + const param = query[paramName]; + return { + ...carry, + [paramName]: Array.isArray(param) ? [...param] : param + }; + }, {}); +} +__name(cloneQuery, "cloneQuery"); + +// src/httpResponse.ts +var _HttpResponse = class _HttpResponse { + constructor(options) { + this.statusCode = options.statusCode; + this.reason = options.reason; + this.headers = options.headers || {}; + this.body = options.body; + } + static isInstance(response) { + if (!response) + return false; + const resp = response; + return typeof resp.statusCode === "number" && typeof resp.headers === "object"; + } +}; +__name(_HttpResponse, "HttpResponse"); +var HttpResponse = _HttpResponse; + +// src/isValidHostname.ts +function isValidHostname(hostname) { + const hostPattern = /^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/; + return hostPattern.test(hostname); +} +__name(isValidHostname, "isValidHostname"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8031: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + buildQueryString: () => buildQueryString +}); +module.exports = __toCommonJS(src_exports); +var import_util_uri_escape = __nccwpck_require__(4197); +function buildQueryString(query) { + const parts = []; + for (let key of Object.keys(query).sort()) { + const value = query[key]; + key = (0, import_util_uri_escape.escapeUri)(key); + if (Array.isArray(value)) { + for (let i = 0, iLen = value.length; i < iLen; i++) { + parts.push(`${key}=${(0, import_util_uri_escape.escapeUri)(value[i])}`); + } + } else { + let qsEntry = key; + if (value || typeof value === "string") { + qsEntry += `=${(0, import_util_uri_escape.escapeUri)(value)}`; + } + parts.push(qsEntry); + } + } + return parts.join("&"); +} +__name(buildQueryString, "buildQueryString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4769: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + parseQueryString: () => parseQueryString +}); +module.exports = __toCommonJS(src_exports); +function parseQueryString(querystring) { + const query = {}; + querystring = querystring.replace(/^\?/, ""); + if (querystring) { + for (const pair of querystring.split("&")) { + let [key, value = null] = pair.split("="); + key = decodeURIComponent(key); + if (value) { + value = decodeURIComponent(value); + } + if (!(key in query)) { + query[key] = value; + } else if (Array.isArray(query[key])) { + query[key].push(value); + } else { + query[key] = [query[key], value]; + } + } + } + return query; +} +__name(parseQueryString, "parseQueryString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 6375: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + isClockSkewCorrectedError: () => isClockSkewCorrectedError, + isClockSkewError: () => isClockSkewError, + isRetryableByTrait: () => isRetryableByTrait, + isServerError: () => isServerError, + isThrottlingError: () => isThrottlingError, + isTransientError: () => isTransientError +}); +module.exports = __toCommonJS(src_exports); + +// src/constants.ts +var CLOCK_SKEW_ERROR_CODES = [ + "AuthFailure", + "InvalidSignatureException", + "RequestExpired", + "RequestInTheFuture", + "RequestTimeTooSkewed", + "SignatureDoesNotMatch" +]; +var THROTTLING_ERROR_CODES = [ + "BandwidthLimitExceeded", + "EC2ThrottledException", + "LimitExceededException", + "PriorRequestNotComplete", + "ProvisionedThroughputExceededException", + "RequestLimitExceeded", + "RequestThrottled", + "RequestThrottledException", + "SlowDown", + "ThrottledException", + "Throttling", + "ThrottlingException", + "TooManyRequestsException", + "TransactionInProgressException" + // DynamoDB +]; +var TRANSIENT_ERROR_CODES = ["TimeoutError", "RequestTimeout", "RequestTimeoutException"]; +var TRANSIENT_ERROR_STATUS_CODES = [500, 502, 503, 504]; +var NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE", "ETIMEDOUT"]; + +// src/index.ts +var isRetryableByTrait = /* @__PURE__ */ __name((error) => error.$retryable !== void 0, "isRetryableByTrait"); +var isClockSkewError = /* @__PURE__ */ __name((error) => CLOCK_SKEW_ERROR_CODES.includes(error.name), "isClockSkewError"); +var isClockSkewCorrectedError = /* @__PURE__ */ __name((error) => { + var _a; + return (_a = error.$metadata) == null ? void 0 : _a.clockSkewCorrected; +}, "isClockSkewCorrectedError"); +var isThrottlingError = /* @__PURE__ */ __name((error) => { + var _a, _b; + return ((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) === 429 || THROTTLING_ERROR_CODES.includes(error.name) || ((_b = error.$retryable) == null ? void 0 : _b.throttling) == true; +}, "isThrottlingError"); +var isTransientError = /* @__PURE__ */ __name((error, depth = 0) => { + var _a; + return isClockSkewCorrectedError(error) || TRANSIENT_ERROR_CODES.includes(error.name) || NODEJS_TIMEOUT_ERROR_CODES.includes((error == null ? void 0 : error.code) || "") || TRANSIENT_ERROR_STATUS_CODES.includes(((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) || 0) || error.cause !== void 0 && depth <= 10 && isTransientError(error.cause, depth + 1); +}, "isTransientError"); +var isServerError = /* @__PURE__ */ __name((error) => { + var _a; + if (((_a = error.$metadata) == null ? void 0 : _a.httpStatusCode) !== void 0) { + const statusCode = error.$metadata.httpStatusCode; + if (500 <= statusCode && statusCode <= 599 && !isTransientError(error)) { + return true; + } + return false; + } + return false; +}, "isServerError"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8340: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getHomeDir = void 0; +const os_1 = __nccwpck_require__(2037); +const path_1 = __nccwpck_require__(1017); +const homeDirCache = {}; +const getHomeDirCacheKey = () => { + if (process && process.geteuid) { + return `${process.geteuid()}`; + } + return "DEFAULT"; +}; +const getHomeDir = () => { + const { HOME, USERPROFILE, HOMEPATH, HOMEDRIVE = `C:${path_1.sep}` } = process.env; + if (HOME) + return HOME; + if (USERPROFILE) + return USERPROFILE; + if (HOMEPATH) + return `${HOMEDRIVE}${HOMEPATH}`; + const homeDirCacheKey = getHomeDirCacheKey(); + if (!homeDirCache[homeDirCacheKey]) + homeDirCache[homeDirCacheKey] = (0, os_1.homedir)(); + return homeDirCache[homeDirCacheKey]; +}; +exports.getHomeDir = getHomeDir; + + +/***/ }), + +/***/ 4740: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getSSOTokenFilepath = void 0; +const crypto_1 = __nccwpck_require__(6113); +const path_1 = __nccwpck_require__(1017); +const getHomeDir_1 = __nccwpck_require__(8340); +const getSSOTokenFilepath = (id) => { + const hasher = (0, crypto_1.createHash)("sha1"); + const cacheName = hasher.update(id).digest("hex"); + return (0, path_1.join)((0, getHomeDir_1.getHomeDir)(), ".aws", "sso", "cache", `${cacheName}.json`); +}; +exports.getSSOTokenFilepath = getSSOTokenFilepath; + + +/***/ }), + +/***/ 9678: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getSSOTokenFromFile = void 0; +const fs_1 = __nccwpck_require__(7147); +const getSSOTokenFilepath_1 = __nccwpck_require__(4740); +const { readFile } = fs_1.promises; +const getSSOTokenFromFile = async (id) => { + const ssoTokenFilepath = (0, getSSOTokenFilepath_1.getSSOTokenFilepath)(id); + const ssoTokenText = await readFile(ssoTokenFilepath, "utf8"); + return JSON.parse(ssoTokenText); +}; +exports.getSSOTokenFromFile = getSSOTokenFromFile; + + +/***/ }), + +/***/ 3507: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + CONFIG_PREFIX_SEPARATOR: () => CONFIG_PREFIX_SEPARATOR, + DEFAULT_PROFILE: () => DEFAULT_PROFILE, + ENV_PROFILE: () => ENV_PROFILE, + getProfileName: () => getProfileName, + loadSharedConfigFiles: () => loadSharedConfigFiles, + loadSsoSessionData: () => loadSsoSessionData, + parseKnownFiles: () => parseKnownFiles +}); +module.exports = __toCommonJS(src_exports); +__reExport(src_exports, __nccwpck_require__(8340), module.exports); + +// src/getProfileName.ts +var ENV_PROFILE = "AWS_PROFILE"; +var DEFAULT_PROFILE = "default"; +var getProfileName = /* @__PURE__ */ __name((init) => init.profile || process.env[ENV_PROFILE] || DEFAULT_PROFILE, "getProfileName"); + +// src/index.ts +__reExport(src_exports, __nccwpck_require__(4740), module.exports); +__reExport(src_exports, __nccwpck_require__(9678), module.exports); + +// src/loadSharedConfigFiles.ts + + +// src/getConfigData.ts +var import_types = __nccwpck_require__(5756); +var getConfigData = /* @__PURE__ */ __name((data) => Object.entries(data).filter(([key]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + if (indexOfSeparator === -1) { + return false; + } + return Object.values(import_types.IniSectionType).includes(key.substring(0, indexOfSeparator)); +}).reduce( + (acc, [key, value]) => { + const indexOfSeparator = key.indexOf(CONFIG_PREFIX_SEPARATOR); + const updatedKey = key.substring(0, indexOfSeparator) === import_types.IniSectionType.PROFILE ? key.substring(indexOfSeparator + 1) : key; + acc[updatedKey] = value; + return acc; + }, + { + // Populate default profile, if present. + ...data.default && { default: data.default } + } +), "getConfigData"); + +// src/getConfigFilepath.ts +var import_path = __nccwpck_require__(1017); +var import_getHomeDir = __nccwpck_require__(8340); +var ENV_CONFIG_PATH = "AWS_CONFIG_FILE"; +var getConfigFilepath = /* @__PURE__ */ __name(() => process.env[ENV_CONFIG_PATH] || (0, import_path.join)((0, import_getHomeDir.getHomeDir)(), ".aws", "config"), "getConfigFilepath"); + +// src/getCredentialsFilepath.ts + +var import_getHomeDir2 = __nccwpck_require__(8340); +var ENV_CREDENTIALS_PATH = "AWS_SHARED_CREDENTIALS_FILE"; +var getCredentialsFilepath = /* @__PURE__ */ __name(() => process.env[ENV_CREDENTIALS_PATH] || (0, import_path.join)((0, import_getHomeDir2.getHomeDir)(), ".aws", "credentials"), "getCredentialsFilepath"); + +// src/loadSharedConfigFiles.ts +var import_getHomeDir3 = __nccwpck_require__(8340); + +// src/parseIni.ts + +var prefixKeyRegex = /^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/; +var profileNameBlockList = ["__proto__", "profile __proto__"]; +var parseIni = /* @__PURE__ */ __name((iniData) => { + const map = {}; + let currentSection; + let currentSubSection; + for (const iniLine of iniData.split(/\r?\n/)) { + const trimmedLine = iniLine.split(/(^|\s)[;#]/)[0].trim(); + const isSection = trimmedLine[0] === "[" && trimmedLine[trimmedLine.length - 1] === "]"; + if (isSection) { + currentSection = void 0; + currentSubSection = void 0; + const sectionName = trimmedLine.substring(1, trimmedLine.length - 1); + const matches = prefixKeyRegex.exec(sectionName); + if (matches) { + const [, prefix, , name] = matches; + if (Object.values(import_types.IniSectionType).includes(prefix)) { + currentSection = [prefix, name].join(CONFIG_PREFIX_SEPARATOR); + } + } else { + currentSection = sectionName; + } + if (profileNameBlockList.includes(sectionName)) { + throw new Error(`Found invalid profile name "${sectionName}"`); + } + } else if (currentSection) { + const indexOfEqualsSign = trimmedLine.indexOf("="); + if (![0, -1].includes(indexOfEqualsSign)) { + const [name, value] = [ + trimmedLine.substring(0, indexOfEqualsSign).trim(), + trimmedLine.substring(indexOfEqualsSign + 1).trim() + ]; + if (value === "") { + currentSubSection = name; + } else { + if (currentSubSection && iniLine.trimStart() === iniLine) { + currentSubSection = void 0; + } + map[currentSection] = map[currentSection] || {}; + const key = currentSubSection ? [currentSubSection, name].join(CONFIG_PREFIX_SEPARATOR) : name; + map[currentSection][key] = value; + } + } + } + } + return map; +}, "parseIni"); + +// src/loadSharedConfigFiles.ts +var import_slurpFile = __nccwpck_require__(9155); +var swallowError = /* @__PURE__ */ __name(() => ({}), "swallowError"); +var CONFIG_PREFIX_SEPARATOR = "."; +var loadSharedConfigFiles = /* @__PURE__ */ __name(async (init = {}) => { + const { filepath = getCredentialsFilepath(), configFilepath = getConfigFilepath() } = init; + const homeDir = (0, import_getHomeDir3.getHomeDir)(); + const relativeHomeDirPrefix = "~/"; + let resolvedFilepath = filepath; + if (filepath.startsWith(relativeHomeDirPrefix)) { + resolvedFilepath = (0, import_path.join)(homeDir, filepath.slice(2)); + } + let resolvedConfigFilepath = configFilepath; + if (configFilepath.startsWith(relativeHomeDirPrefix)) { + resolvedConfigFilepath = (0, import_path.join)(homeDir, configFilepath.slice(2)); + } + const parsedFiles = await Promise.all([ + (0, import_slurpFile.slurpFile)(resolvedConfigFilepath, { + ignoreCache: init.ignoreCache + }).then(parseIni).then(getConfigData).catch(swallowError), + (0, import_slurpFile.slurpFile)(resolvedFilepath, { + ignoreCache: init.ignoreCache + }).then(parseIni).catch(swallowError) + ]); + return { + configFile: parsedFiles[0], + credentialsFile: parsedFiles[1] + }; +}, "loadSharedConfigFiles"); + +// src/getSsoSessionData.ts + +var getSsoSessionData = /* @__PURE__ */ __name((data) => Object.entries(data).filter(([key]) => key.startsWith(import_types.IniSectionType.SSO_SESSION + CONFIG_PREFIX_SEPARATOR)).reduce((acc, [key, value]) => ({ ...acc, [key.substring(key.indexOf(CONFIG_PREFIX_SEPARATOR) + 1)]: value }), {}), "getSsoSessionData"); + +// src/loadSsoSessionData.ts +var import_slurpFile2 = __nccwpck_require__(9155); +var swallowError2 = /* @__PURE__ */ __name(() => ({}), "swallowError"); +var loadSsoSessionData = /* @__PURE__ */ __name(async (init = {}) => (0, import_slurpFile2.slurpFile)(init.configFilepath ?? getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError2), "loadSsoSessionData"); + +// src/mergeConfigFiles.ts +var mergeConfigFiles = /* @__PURE__ */ __name((...files) => { + const merged = {}; + for (const file of files) { + for (const [key, values] of Object.entries(file)) { + if (merged[key] !== void 0) { + Object.assign(merged[key], values); + } else { + merged[key] = values; + } + } + } + return merged; +}, "mergeConfigFiles"); + +// src/parseKnownFiles.ts +var parseKnownFiles = /* @__PURE__ */ __name(async (init) => { + const parsedFiles = await loadSharedConfigFiles(init); + return mergeConfigFiles(parsedFiles.configFile, parsedFiles.credentialsFile); +}, "parseKnownFiles"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 9155: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.slurpFile = void 0; +const fs_1 = __nccwpck_require__(7147); +const { readFile } = fs_1.promises; +const filePromisesHash = {}; +const slurpFile = (path, options) => { + if (!filePromisesHash[path] || (options === null || options === void 0 ? void 0 : options.ignoreCache)) { + filePromisesHash[path] = readFile(path, "utf8"); + } + return filePromisesHash[path]; +}; +exports.slurpFile = slurpFile; + + +/***/ }), + +/***/ 1528: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + SignatureV4: () => SignatureV4, + clearCredentialCache: () => clearCredentialCache, + createScope: () => createScope, + getCanonicalHeaders: () => getCanonicalHeaders, + getCanonicalQuery: () => getCanonicalQuery, + getPayloadHash: () => getPayloadHash, + getSigningKey: () => getSigningKey, + moveHeadersToQuery: () => moveHeadersToQuery, + prepareRequest: () => prepareRequest +}); +module.exports = __toCommonJS(src_exports); + +// src/SignatureV4.ts + +var import_util_middleware = __nccwpck_require__(2390); + +var import_util_utf84 = __nccwpck_require__(1895); + +// src/constants.ts +var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm"; +var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential"; +var AMZ_DATE_QUERY_PARAM = "X-Amz-Date"; +var SIGNED_HEADERS_QUERY_PARAM = "X-Amz-SignedHeaders"; +var EXPIRES_QUERY_PARAM = "X-Amz-Expires"; +var SIGNATURE_QUERY_PARAM = "X-Amz-Signature"; +var TOKEN_QUERY_PARAM = "X-Amz-Security-Token"; +var AUTH_HEADER = "authorization"; +var AMZ_DATE_HEADER = AMZ_DATE_QUERY_PARAM.toLowerCase(); +var DATE_HEADER = "date"; +var GENERATED_HEADERS = [AUTH_HEADER, AMZ_DATE_HEADER, DATE_HEADER]; +var SIGNATURE_HEADER = SIGNATURE_QUERY_PARAM.toLowerCase(); +var SHA256_HEADER = "x-amz-content-sha256"; +var TOKEN_HEADER = TOKEN_QUERY_PARAM.toLowerCase(); +var ALWAYS_UNSIGNABLE_HEADERS = { + authorization: true, + "cache-control": true, + connection: true, + expect: true, + from: true, + "keep-alive": true, + "max-forwards": true, + pragma: true, + referer: true, + te: true, + trailer: true, + "transfer-encoding": true, + upgrade: true, + "user-agent": true, + "x-amzn-trace-id": true +}; +var PROXY_HEADER_PATTERN = /^proxy-/; +var SEC_HEADER_PATTERN = /^sec-/; +var ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256"; +var EVENT_ALGORITHM_IDENTIFIER = "AWS4-HMAC-SHA256-PAYLOAD"; +var UNSIGNED_PAYLOAD = "UNSIGNED-PAYLOAD"; +var MAX_CACHE_SIZE = 50; +var KEY_TYPE_IDENTIFIER = "aws4_request"; +var MAX_PRESIGNED_TTL = 60 * 60 * 24 * 7; + +// src/credentialDerivation.ts +var import_util_hex_encoding = __nccwpck_require__(5364); +var import_util_utf8 = __nccwpck_require__(1895); +var signingKeyCache = {}; +var cacheQueue = []; +var createScope = /* @__PURE__ */ __name((shortDate, region, service) => `${shortDate}/${region}/${service}/${KEY_TYPE_IDENTIFIER}`, "createScope"); +var getSigningKey = /* @__PURE__ */ __name(async (sha256Constructor, credentials, shortDate, region, service) => { + const credsHash = await hmac(sha256Constructor, credentials.secretAccessKey, credentials.accessKeyId); + const cacheKey = `${shortDate}:${region}:${service}:${(0, import_util_hex_encoding.toHex)(credsHash)}:${credentials.sessionToken}`; + if (cacheKey in signingKeyCache) { + return signingKeyCache[cacheKey]; + } + cacheQueue.push(cacheKey); + while (cacheQueue.length > MAX_CACHE_SIZE) { + delete signingKeyCache[cacheQueue.shift()]; + } + let key = `AWS4${credentials.secretAccessKey}`; + for (const signable of [shortDate, region, service, KEY_TYPE_IDENTIFIER]) { + key = await hmac(sha256Constructor, key, signable); + } + return signingKeyCache[cacheKey] = key; +}, "getSigningKey"); +var clearCredentialCache = /* @__PURE__ */ __name(() => { + cacheQueue.length = 0; + Object.keys(signingKeyCache).forEach((cacheKey) => { + delete signingKeyCache[cacheKey]; + }); +}, "clearCredentialCache"); +var hmac = /* @__PURE__ */ __name((ctor, secret, data) => { + const hash = new ctor(secret); + hash.update((0, import_util_utf8.toUint8Array)(data)); + return hash.digest(); +}, "hmac"); + +// src/getCanonicalHeaders.ts +var getCanonicalHeaders = /* @__PURE__ */ __name(({ headers }, unsignableHeaders, signableHeaders) => { + const canonical = {}; + for (const headerName of Object.keys(headers).sort()) { + if (headers[headerName] == void 0) { + continue; + } + const canonicalHeaderName = headerName.toLowerCase(); + if (canonicalHeaderName in ALWAYS_UNSIGNABLE_HEADERS || (unsignableHeaders == null ? void 0 : unsignableHeaders.has(canonicalHeaderName)) || PROXY_HEADER_PATTERN.test(canonicalHeaderName) || SEC_HEADER_PATTERN.test(canonicalHeaderName)) { + if (!signableHeaders || signableHeaders && !signableHeaders.has(canonicalHeaderName)) { + continue; + } + } + canonical[canonicalHeaderName] = headers[headerName].trim().replace(/\s+/g, " "); + } + return canonical; +}, "getCanonicalHeaders"); + +// src/getCanonicalQuery.ts +var import_util_uri_escape = __nccwpck_require__(4197); +var getCanonicalQuery = /* @__PURE__ */ __name(({ query = {} }) => { + const keys = []; + const serialized = {}; + for (const key of Object.keys(query)) { + if (key.toLowerCase() === SIGNATURE_HEADER) { + continue; + } + const encodedKey = (0, import_util_uri_escape.escapeUri)(key); + keys.push(encodedKey); + const value = query[key]; + if (typeof value === "string") { + serialized[encodedKey] = `${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value)}`; + } else if (Array.isArray(value)) { + serialized[encodedKey] = value.slice(0).reduce((encoded, value2) => encoded.concat([`${encodedKey}=${(0, import_util_uri_escape.escapeUri)(value2)}`]), []).sort().join("&"); + } + } + return keys.sort().map((key) => serialized[key]).filter((serialized2) => serialized2).join("&"); +}, "getCanonicalQuery"); + +// src/getPayloadHash.ts +var import_is_array_buffer = __nccwpck_require__(780); + +var import_util_utf82 = __nccwpck_require__(1895); +var getPayloadHash = /* @__PURE__ */ __name(async ({ headers, body }, hashConstructor) => { + for (const headerName of Object.keys(headers)) { + if (headerName.toLowerCase() === SHA256_HEADER) { + return headers[headerName]; + } + } + if (body == void 0) { + return "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"; + } else if (typeof body === "string" || ArrayBuffer.isView(body) || (0, import_is_array_buffer.isArrayBuffer)(body)) { + const hashCtor = new hashConstructor(); + hashCtor.update((0, import_util_utf82.toUint8Array)(body)); + return (0, import_util_hex_encoding.toHex)(await hashCtor.digest()); + } + return UNSIGNED_PAYLOAD; +}, "getPayloadHash"); + +// src/HeaderFormatter.ts + +var import_util_utf83 = __nccwpck_require__(1895); +var _HeaderFormatter = class _HeaderFormatter { + format(headers) { + const chunks = []; + for (const headerName of Object.keys(headers)) { + const bytes = (0, import_util_utf83.fromUtf8)(headerName); + chunks.push(Uint8Array.from([bytes.byteLength]), bytes, this.formatHeaderValue(headers[headerName])); + } + const out = new Uint8Array(chunks.reduce((carry, bytes) => carry + bytes.byteLength, 0)); + let position = 0; + for (const chunk of chunks) { + out.set(chunk, position); + position += chunk.byteLength; + } + return out; + } + formatHeaderValue(header) { + switch (header.type) { + case "boolean": + return Uint8Array.from([header.value ? 0 /* boolTrue */ : 1 /* boolFalse */]); + case "byte": + return Uint8Array.from([2 /* byte */, header.value]); + case "short": + const shortView = new DataView(new ArrayBuffer(3)); + shortView.setUint8(0, 3 /* short */); + shortView.setInt16(1, header.value, false); + return new Uint8Array(shortView.buffer); + case "integer": + const intView = new DataView(new ArrayBuffer(5)); + intView.setUint8(0, 4 /* integer */); + intView.setInt32(1, header.value, false); + return new Uint8Array(intView.buffer); + case "long": + const longBytes = new Uint8Array(9); + longBytes[0] = 5 /* long */; + longBytes.set(header.value.bytes, 1); + return longBytes; + case "binary": + const binView = new DataView(new ArrayBuffer(3 + header.value.byteLength)); + binView.setUint8(0, 6 /* byteArray */); + binView.setUint16(1, header.value.byteLength, false); + const binBytes = new Uint8Array(binView.buffer); + binBytes.set(header.value, 3); + return binBytes; + case "string": + const utf8Bytes = (0, import_util_utf83.fromUtf8)(header.value); + const strView = new DataView(new ArrayBuffer(3 + utf8Bytes.byteLength)); + strView.setUint8(0, 7 /* string */); + strView.setUint16(1, utf8Bytes.byteLength, false); + const strBytes = new Uint8Array(strView.buffer); + strBytes.set(utf8Bytes, 3); + return strBytes; + case "timestamp": + const tsBytes = new Uint8Array(9); + tsBytes[0] = 8 /* timestamp */; + tsBytes.set(Int64.fromNumber(header.value.valueOf()).bytes, 1); + return tsBytes; + case "uuid": + if (!UUID_PATTERN.test(header.value)) { + throw new Error(`Invalid UUID received: ${header.value}`); + } + const uuidBytes = new Uint8Array(17); + uuidBytes[0] = 9 /* uuid */; + uuidBytes.set((0, import_util_hex_encoding.fromHex)(header.value.replace(/\-/g, "")), 1); + return uuidBytes; + } + } +}; +__name(_HeaderFormatter, "HeaderFormatter"); +var HeaderFormatter = _HeaderFormatter; +var UUID_PATTERN = /^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/; +var _Int64 = class _Int64 { + constructor(bytes) { + this.bytes = bytes; + if (bytes.byteLength !== 8) { + throw new Error("Int64 buffers must be exactly 8 bytes"); + } + } + static fromNumber(number) { + if (number > 9223372036854776e3 || number < -9223372036854776e3) { + throw new Error(`${number} is too large (or, if negative, too small) to represent as an Int64`); + } + const bytes = new Uint8Array(8); + for (let 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); + } + /** + * Called implicitly by infix arithmetic operators. + */ + valueOf() { + const bytes = this.bytes.slice(0); + const negative = bytes[0] & 128; + if (negative) { + negate(bytes); + } + return parseInt((0, import_util_hex_encoding.toHex)(bytes), 16) * (negative ? -1 : 1); + } + toString() { + return String(this.valueOf()); + } +}; +__name(_Int64, "Int64"); +var Int64 = _Int64; +function negate(bytes) { + for (let i = 0; i < 8; i++) { + bytes[i] ^= 255; + } + for (let i = 7; i > -1; i--) { + bytes[i]++; + if (bytes[i] !== 0) + break; + } +} +__name(negate, "negate"); + +// src/headerUtil.ts +var hasHeader = /* @__PURE__ */ __name((soughtHeader, headers) => { + soughtHeader = soughtHeader.toLowerCase(); + for (const headerName of Object.keys(headers)) { + if (soughtHeader === headerName.toLowerCase()) { + return true; + } + } + return false; +}, "hasHeader"); + +// src/moveHeadersToQuery.ts +var import_protocol_http = __nccwpck_require__(4418); +var moveHeadersToQuery = /* @__PURE__ */ __name((request, options = {}) => { + var _a, _b; + const { headers, query = {} } = import_protocol_http.HttpRequest.clone(request); + for (const name of Object.keys(headers)) { + const lname = name.toLowerCase(); + if (lname.slice(0, 6) === "x-amz-" && !((_a = options.unhoistableHeaders) == null ? void 0 : _a.has(lname)) || ((_b = options.hoistableHeaders) == null ? void 0 : _b.has(lname))) { + query[name] = headers[name]; + delete headers[name]; + } + } + return { + ...request, + headers, + query + }; +}, "moveHeadersToQuery"); + +// src/prepareRequest.ts + +var prepareRequest = /* @__PURE__ */ __name((request) => { + request = import_protocol_http.HttpRequest.clone(request); + for (const headerName of Object.keys(request.headers)) { + if (GENERATED_HEADERS.indexOf(headerName.toLowerCase()) > -1) { + delete request.headers[headerName]; + } + } + return request; +}, "prepareRequest"); + +// src/utilDate.ts +var iso8601 = /* @__PURE__ */ __name((time) => toDate(time).toISOString().replace(/\.\d{3}Z$/, "Z"), "iso8601"); +var toDate = /* @__PURE__ */ __name((time) => { + if (typeof time === "number") { + return new Date(time * 1e3); + } + if (typeof time === "string") { + if (Number(time)) { + return new Date(Number(time) * 1e3); + } + return new Date(time); + } + return time; +}, "toDate"); + +// src/SignatureV4.ts +var _SignatureV4 = class _SignatureV4 { + constructor({ + applyChecksum, + credentials, + region, + service, + sha256, + uriEscapePath = true + }) { + this.headerFormatter = new HeaderFormatter(); + this.service = service; + this.sha256 = sha256; + this.uriEscapePath = uriEscapePath; + this.applyChecksum = typeof applyChecksum === "boolean" ? applyChecksum : true; + this.regionProvider = (0, import_util_middleware.normalizeProvider)(region); + this.credentialProvider = (0, import_util_middleware.normalizeProvider)(credentials); + } + async presign(originalRequest, options = {}) { + const { + signingDate = /* @__PURE__ */ new Date(), + expiresIn = 3600, + unsignableHeaders, + unhoistableHeaders, + signableHeaders, + hoistableHeaders, + signingRegion, + signingService + } = options; + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? await this.regionProvider(); + const { longDate, shortDate } = formatDate(signingDate); + if (expiresIn > MAX_PRESIGNED_TTL) { + return Promise.reject( + "Signature version 4 presigned URLs must have an expiration date less than one week in the future" + ); + } + const scope = createScope(shortDate, region, signingService ?? this.service); + const request = moveHeadersToQuery(prepareRequest(originalRequest), { unhoistableHeaders, hoistableHeaders }); + if (credentials.sessionToken) { + request.query[TOKEN_QUERY_PARAM] = credentials.sessionToken; + } + request.query[ALGORITHM_QUERY_PARAM] = ALGORITHM_IDENTIFIER; + request.query[CREDENTIAL_QUERY_PARAM] = `${credentials.accessKeyId}/${scope}`; + request.query[AMZ_DATE_QUERY_PARAM] = longDate; + request.query[EXPIRES_QUERY_PARAM] = expiresIn.toString(10); + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + request.query[SIGNED_HEADERS_QUERY_PARAM] = getCanonicalHeaderList(canonicalHeaders); + request.query[SIGNATURE_QUERY_PARAM] = await this.getSignature( + longDate, + scope, + this.getSigningKey(credentials, region, shortDate, signingService), + this.createCanonicalRequest(request, canonicalHeaders, await getPayloadHash(originalRequest, this.sha256)) + ); + return request; + } + async sign(toSign, options) { + if (typeof toSign === "string") { + return this.signString(toSign, options); + } else if (toSign.headers && toSign.payload) { + return this.signEvent(toSign, options); + } else if (toSign.message) { + return this.signMessage(toSign, options); + } else { + return this.signRequest(toSign, options); + } + } + async signEvent({ headers, payload }, { signingDate = /* @__PURE__ */ new Date(), priorSignature, signingRegion, signingService }) { + const region = signingRegion ?? await this.regionProvider(); + const { shortDate, longDate } = formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + const hashedPayload = await getPayloadHash({ headers: {}, body: payload }, this.sha256); + const hash = new this.sha256(); + hash.update(headers); + const hashedHeaders = (0, import_util_hex_encoding.toHex)(await hash.digest()); + const stringToSign = [ + EVENT_ALGORITHM_IDENTIFIER, + longDate, + scope, + priorSignature, + hashedHeaders, + hashedPayload + ].join("\n"); + return this.signString(stringToSign, { signingDate, signingRegion: region, signingService }); + } + async signMessage(signableMessage, { signingDate = /* @__PURE__ */ new Date(), signingRegion, signingService }) { + const promise = this.signEvent( + { + headers: this.headerFormatter.format(signableMessage.message.headers), + payload: signableMessage.message.body + }, + { + signingDate, + signingRegion, + signingService, + priorSignature: signableMessage.priorSignature + } + ); + return promise.then((signature) => { + return { message: signableMessage.message, signature }; + }); + } + async signString(stringToSign, { signingDate = /* @__PURE__ */ new Date(), signingRegion, signingService } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? await this.regionProvider(); + const { shortDate } = formatDate(signingDate); + const hash = new this.sha256(await this.getSigningKey(credentials, region, shortDate, signingService)); + hash.update((0, import_util_utf84.toUint8Array)(stringToSign)); + return (0, import_util_hex_encoding.toHex)(await hash.digest()); + } + async signRequest(requestToSign, { + signingDate = /* @__PURE__ */ new Date(), + signableHeaders, + unsignableHeaders, + signingRegion, + signingService + } = {}) { + const credentials = await this.credentialProvider(); + this.validateResolvedCredentials(credentials); + const region = signingRegion ?? await this.regionProvider(); + const request = prepareRequest(requestToSign); + const { longDate, shortDate } = formatDate(signingDate); + const scope = createScope(shortDate, region, signingService ?? this.service); + request.headers[AMZ_DATE_HEADER] = longDate; + if (credentials.sessionToken) { + request.headers[TOKEN_HEADER] = credentials.sessionToken; + } + const payloadHash = await getPayloadHash(request, this.sha256); + if (!hasHeader(SHA256_HEADER, request.headers) && this.applyChecksum) { + request.headers[SHA256_HEADER] = payloadHash; + } + const canonicalHeaders = getCanonicalHeaders(request, unsignableHeaders, signableHeaders); + const signature = await this.getSignature( + longDate, + scope, + this.getSigningKey(credentials, region, shortDate, signingService), + this.createCanonicalRequest(request, canonicalHeaders, payloadHash) + ); + request.headers[AUTH_HEADER] = `${ALGORITHM_IDENTIFIER} Credential=${credentials.accessKeyId}/${scope}, SignedHeaders=${getCanonicalHeaderList(canonicalHeaders)}, Signature=${signature}`; + return request; + } + createCanonicalRequest(request, canonicalHeaders, payloadHash) { + const sortedHeaders = Object.keys(canonicalHeaders).sort(); + return `${request.method} +${this.getCanonicalPath(request)} +${getCanonicalQuery(request)} +${sortedHeaders.map((name) => `${name}:${canonicalHeaders[name]}`).join("\n")} + +${sortedHeaders.join(";")} +${payloadHash}`; + } + async createStringToSign(longDate, credentialScope, canonicalRequest) { + const hash = new this.sha256(); + hash.update((0, import_util_utf84.toUint8Array)(canonicalRequest)); + const hashedRequest = await hash.digest(); + return `${ALGORITHM_IDENTIFIER} +${longDate} +${credentialScope} +${(0, import_util_hex_encoding.toHex)(hashedRequest)}`; + } + getCanonicalPath({ path }) { + if (this.uriEscapePath) { + const normalizedPathSegments = []; + for (const pathSegment of path.split("/")) { + if ((pathSegment == null ? void 0 : pathSegment.length) === 0) + continue; + if (pathSegment === ".") + continue; + if (pathSegment === "..") { + normalizedPathSegments.pop(); + } else { + normalizedPathSegments.push(pathSegment); + } + } + const normalizedPath = `${(path == null ? void 0 : path.startsWith("/")) ? "/" : ""}${normalizedPathSegments.join("/")}${normalizedPathSegments.length > 0 && (path == null ? void 0 : path.endsWith("/")) ? "/" : ""}`; + const doubleEncoded = (0, import_util_uri_escape.escapeUri)(normalizedPath); + return doubleEncoded.replace(/%2F/g, "/"); + } + return path; + } + async getSignature(longDate, credentialScope, keyPromise, canonicalRequest) { + const stringToSign = await this.createStringToSign(longDate, credentialScope, canonicalRequest); + const hash = new this.sha256(await keyPromise); + hash.update((0, import_util_utf84.toUint8Array)(stringToSign)); + return (0, import_util_hex_encoding.toHex)(await hash.digest()); + } + getSigningKey(credentials, region, shortDate, service) { + return getSigningKey(this.sha256, credentials, shortDate, region, service || this.service); + } + validateResolvedCredentials(credentials) { + if (typeof credentials !== "object" || // @ts-expect-error: Property 'accessKeyId' does not exist on type 'object'.ts(2339) + typeof credentials.accessKeyId !== "string" || // @ts-expect-error: Property 'secretAccessKey' does not exist on type 'object'.ts(2339) + typeof credentials.secretAccessKey !== "string") { + throw new Error("Resolved credential object is not valid"); + } + } +}; +__name(_SignatureV4, "SignatureV4"); +var SignatureV4 = _SignatureV4; +var formatDate = /* @__PURE__ */ __name((now) => { + const longDate = iso8601(now).replace(/[\-:]/g, ""); + return { + longDate, + shortDate: longDate.slice(0, 8) + }; +}, "formatDate"); +var getCanonicalHeaderList = /* @__PURE__ */ __name((headers) => Object.keys(headers).sort().join(";"), "getCanonicalHeaderList"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3570: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Client: () => Client, + Command: () => Command, + LazyJsonString: () => LazyJsonString, + NoOpLogger: () => NoOpLogger, + SENSITIVE_STRING: () => SENSITIVE_STRING, + ServiceException: () => ServiceException, + _json: () => _json, + collectBody: () => import_protocols.collectBody, + convertMap: () => convertMap, + createAggregatedClient: () => createAggregatedClient, + dateToUtcString: () => dateToUtcString, + decorateServiceException: () => decorateServiceException, + emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion, + expectBoolean: () => expectBoolean, + expectByte: () => expectByte, + expectFloat32: () => expectFloat32, + expectInt: () => expectInt, + expectInt32: () => expectInt32, + expectLong: () => expectLong, + expectNonNull: () => expectNonNull, + expectNumber: () => expectNumber, + expectObject: () => expectObject, + expectShort: () => expectShort, + expectString: () => expectString, + expectUnion: () => expectUnion, + extendedEncodeURIComponent: () => import_protocols.extendedEncodeURIComponent, + getArrayIfSingleItem: () => getArrayIfSingleItem, + getDefaultClientConfiguration: () => getDefaultClientConfiguration, + getDefaultExtensionConfiguration: () => getDefaultExtensionConfiguration, + getValueFromTextNode: () => getValueFromTextNode, + handleFloat: () => handleFloat, + isSerializableHeaderValue: () => isSerializableHeaderValue, + limitedParseDouble: () => limitedParseDouble, + limitedParseFloat: () => limitedParseFloat, + limitedParseFloat32: () => limitedParseFloat32, + loadConfigsForDefaultMode: () => loadConfigsForDefaultMode, + logger: () => logger, + map: () => map, + parseBoolean: () => parseBoolean, + parseEpochTimestamp: () => parseEpochTimestamp, + parseRfc3339DateTime: () => parseRfc3339DateTime, + parseRfc3339DateTimeWithOffset: () => parseRfc3339DateTimeWithOffset, + parseRfc7231DateTime: () => parseRfc7231DateTime, + quoteHeader: () => quoteHeader, + resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig, + resolvedPath: () => import_protocols.resolvedPath, + serializeDateTime: () => serializeDateTime, + serializeFloat: () => serializeFloat, + splitEvery: () => splitEvery, + splitHeader: () => splitHeader, + strictParseByte: () => strictParseByte, + strictParseDouble: () => strictParseDouble, + strictParseFloat: () => strictParseFloat, + strictParseFloat32: () => strictParseFloat32, + strictParseInt: () => strictParseInt, + strictParseInt32: () => strictParseInt32, + strictParseLong: () => strictParseLong, + strictParseShort: () => strictParseShort, + take: () => take, + throwDefaultError: () => throwDefaultError, + withBaseException: () => withBaseException +}); +module.exports = __toCommonJS(src_exports); + +// src/client.ts +var import_middleware_stack = __nccwpck_require__(7911); +var _Client = class _Client { + constructor(config) { + this.config = config; + this.middlewareStack = (0, import_middleware_stack.constructStack)(); + } + send(command, optionsOrCb, cb) { + const options = typeof optionsOrCb !== "function" ? optionsOrCb : void 0; + const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb; + const useHandlerCache = options === void 0 && this.config.cacheMiddleware === true; + let handler; + if (useHandlerCache) { + if (!this.handlers) { + this.handlers = /* @__PURE__ */ new WeakMap(); + } + const handlers = this.handlers; + if (handlers.has(command.constructor)) { + handler = handlers.get(command.constructor); + } else { + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + handlers.set(command.constructor, handler); + } + } else { + delete this.handlers; + handler = command.resolveMiddleware(this.middlewareStack, this.config, options); + } + if (callback) { + handler(command).then( + (result) => callback(null, result.output), + (err) => callback(err) + ).catch( + // prevent any errors thrown in the callback from triggering an + // unhandled promise rejection + () => { + } + ); + } else { + return handler(command).then((result) => result.output); + } + } + destroy() { + var _a, _b, _c; + (_c = (_b = (_a = this.config) == null ? void 0 : _a.requestHandler) == null ? void 0 : _b.destroy) == null ? void 0 : _c.call(_b); + delete this.handlers; + } +}; +__name(_Client, "Client"); +var Client = _Client; + +// src/collect-stream-body.ts +var import_protocols = __nccwpck_require__(2241); + +// src/command.ts + +var import_types = __nccwpck_require__(5756); +var _Command = class _Command { + constructor() { + this.middlewareStack = (0, import_middleware_stack.constructStack)(); + } + /** + * Factory for Command ClassBuilder. + * @internal + */ + static classBuilder() { + return new ClassBuilder(); + } + /** + * @internal + */ + resolveMiddlewareWithContext(clientStack, configuration, options, { + middlewareFn, + clientName, + commandName, + inputFilterSensitiveLog, + outputFilterSensitiveLog, + smithyContext, + additionalContext, + CommandCtor + }) { + for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) { + this.middlewareStack.use(mw); + } + const stack = clientStack.concat(this.middlewareStack); + const { logger: logger2 } = configuration; + const handlerExecutionContext = { + logger: logger2, + clientName, + commandName, + inputFilterSensitiveLog, + outputFilterSensitiveLog, + [import_types.SMITHY_CONTEXT_KEY]: { + commandInstance: this, + ...smithyContext + }, + ...additionalContext + }; + const { requestHandler } = configuration; + return stack.resolve( + (request) => requestHandler.handle(request.request, options || {}), + handlerExecutionContext + ); + } +}; +__name(_Command, "Command"); +var Command = _Command; +var _ClassBuilder = class _ClassBuilder { + constructor() { + this._init = () => { + }; + this._ep = {}; + this._middlewareFn = () => []; + this._commandName = ""; + this._clientName = ""; + this._additionalContext = {}; + this._smithyContext = {}; + this._inputFilterSensitiveLog = (_) => _; + this._outputFilterSensitiveLog = (_) => _; + this._serializer = null; + this._deserializer = null; + } + /** + * Optional init callback. + */ + init(cb) { + this._init = cb; + } + /** + * Set the endpoint parameter instructions. + */ + ep(endpointParameterInstructions) { + this._ep = endpointParameterInstructions; + return this; + } + /** + * Add any number of middleware. + */ + m(middlewareSupplier) { + this._middlewareFn = middlewareSupplier; + return this; + } + /** + * Set the initial handler execution context Smithy field. + */ + s(service, operation, smithyContext = {}) { + this._smithyContext = { + service, + operation, + ...smithyContext + }; + return this; + } + /** + * Set the initial handler execution context. + */ + c(additionalContext = {}) { + this._additionalContext = additionalContext; + return this; + } + /** + * Set constant string identifiers for the operation. + */ + n(clientName, commandName) { + this._clientName = clientName; + this._commandName = commandName; + return this; + } + /** + * Set the input and output sensistive log filters. + */ + f(inputFilter = (_) => _, outputFilter = (_) => _) { + this._inputFilterSensitiveLog = inputFilter; + this._outputFilterSensitiveLog = outputFilter; + return this; + } + /** + * Sets the serializer. + */ + ser(serializer) { + this._serializer = serializer; + return this; + } + /** + * Sets the deserializer. + */ + de(deserializer) { + this._deserializer = deserializer; + return this; + } + /** + * @returns a Command class with the classBuilder properties. + */ + build() { + var _a; + const closure = this; + let CommandRef; + return CommandRef = (_a = class extends Command { + /** + * @public + */ + constructor(...[input]) { + super(); + /** + * @internal + */ + // @ts-ignore used in middlewareFn closure. + this.serialize = closure._serializer; + /** + * @internal + */ + // @ts-ignore used in middlewareFn closure. + this.deserialize = closure._deserializer; + this.input = input ?? {}; + closure._init(this); + } + /** + * @public + */ + static getEndpointParameterInstructions() { + return closure._ep; + } + /** + * @internal + */ + resolveMiddleware(stack, configuration, options) { + return this.resolveMiddlewareWithContext(stack, configuration, options, { + CommandCtor: CommandRef, + middlewareFn: closure._middlewareFn, + clientName: closure._clientName, + commandName: closure._commandName, + inputFilterSensitiveLog: closure._inputFilterSensitiveLog, + outputFilterSensitiveLog: closure._outputFilterSensitiveLog, + smithyContext: closure._smithyContext, + additionalContext: closure._additionalContext + }); + } + }, __name(_a, "CommandRef"), _a); + } +}; +__name(_ClassBuilder, "ClassBuilder"); +var ClassBuilder = _ClassBuilder; + +// src/constants.ts +var SENSITIVE_STRING = "***SensitiveInformation***"; + +// src/create-aggregated-client.ts +var createAggregatedClient = /* @__PURE__ */ __name((commands, Client2) => { + for (const command of Object.keys(commands)) { + const CommandCtor = commands[command]; + const methodImpl = /* @__PURE__ */ __name(async function(args, optionsOrCb, cb) { + const command2 = new CommandCtor(args); + if (typeof optionsOrCb === "function") { + this.send(command2, optionsOrCb); + } else if (typeof cb === "function") { + if (typeof optionsOrCb !== "object") + throw new Error(`Expected http options but got ${typeof optionsOrCb}`); + this.send(command2, optionsOrCb || {}, cb); + } else { + return this.send(command2, optionsOrCb); + } + }, "methodImpl"); + const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, ""); + Client2.prototype[methodName] = methodImpl; + } +}, "createAggregatedClient"); + +// src/parse-utils.ts +var parseBoolean = /* @__PURE__ */ __name((value) => { + switch (value) { + case "true": + return true; + case "false": + return false; + default: + throw new Error(`Unable to parse boolean value "${value}"`); + } +}, "parseBoolean"); +var expectBoolean = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "number") { + if (value === 0 || value === 1) { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (value === 0) { + return false; + } + if (value === 1) { + return true; + } + } + if (typeof value === "string") { + const lower = value.toLowerCase(); + if (lower === "false" || lower === "true") { + logger.warn(stackTraceWarning(`Expected boolean, got ${typeof value}: ${value}`)); + } + if (lower === "false") { + return false; + } + if (lower === "true") { + return true; + } + } + if (typeof value === "boolean") { + return value; + } + throw new TypeError(`Expected boolean, got ${typeof value}: ${value}`); +}, "expectBoolean"); +var expectNumber = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "string") { + const parsed = parseFloat(value); + if (!Number.isNaN(parsed)) { + if (String(parsed) !== String(value)) { + logger.warn(stackTraceWarning(`Expected number but observed string: ${value}`)); + } + return parsed; + } + } + if (typeof value === "number") { + return value; + } + throw new TypeError(`Expected number, got ${typeof value}: ${value}`); +}, "expectNumber"); +var MAX_FLOAT = Math.ceil(2 ** 127 * (2 - 2 ** -23)); +var expectFloat32 = /* @__PURE__ */ __name((value) => { + const expected = expectNumber(value); + if (expected !== void 0 && !Number.isNaN(expected) && expected !== Infinity && expected !== -Infinity) { + if (Math.abs(expected) > MAX_FLOAT) { + throw new TypeError(`Expected 32-bit float, got ${value}`); + } + } + return expected; +}, "expectFloat32"); +var expectLong = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (Number.isInteger(value) && !Number.isNaN(value)) { + return value; + } + throw new TypeError(`Expected integer, got ${typeof value}: ${value}`); +}, "expectLong"); +var expectInt = expectLong; +var expectInt32 = /* @__PURE__ */ __name((value) => expectSizedInt(value, 32), "expectInt32"); +var expectShort = /* @__PURE__ */ __name((value) => expectSizedInt(value, 16), "expectShort"); +var expectByte = /* @__PURE__ */ __name((value) => expectSizedInt(value, 8), "expectByte"); +var expectSizedInt = /* @__PURE__ */ __name((value, size) => { + const expected = expectLong(value); + if (expected !== void 0 && castInt(expected, size) !== expected) { + throw new TypeError(`Expected ${size}-bit integer, got ${value}`); + } + return expected; +}, "expectSizedInt"); +var castInt = /* @__PURE__ */ __name((value, size) => { + switch (size) { + case 32: + return Int32Array.of(value)[0]; + case 16: + return Int16Array.of(value)[0]; + case 8: + return Int8Array.of(value)[0]; + } +}, "castInt"); +var expectNonNull = /* @__PURE__ */ __name((value, location) => { + if (value === null || value === void 0) { + if (location) { + throw new TypeError(`Expected a non-null value for ${location}`); + } + throw new TypeError("Expected a non-null value"); + } + return value; +}, "expectNonNull"); +var expectObject = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "object" && !Array.isArray(value)) { + return value; + } + const receivedType = Array.isArray(value) ? "array" : typeof value; + throw new TypeError(`Expected object, got ${receivedType}: ${value}`); +}, "expectObject"); +var expectString = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value === "string") { + return value; + } + if (["boolean", "number", "bigint"].includes(typeof value)) { + logger.warn(stackTraceWarning(`Expected string, got ${typeof value}: ${value}`)); + return String(value); + } + throw new TypeError(`Expected string, got ${typeof value}: ${value}`); +}, "expectString"); +var expectUnion = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + const asObject = expectObject(value); + const setKeys = Object.entries(asObject).filter(([, v]) => v != null).map(([k]) => k); + if (setKeys.length === 0) { + throw new TypeError(`Unions must have exactly one non-null member. None were found.`); + } + if (setKeys.length > 1) { + throw new TypeError(`Unions must have exactly one non-null member. Keys ${setKeys} were not null.`); + } + return asObject; +}, "expectUnion"); +var strictParseDouble = /* @__PURE__ */ __name((value) => { + if (typeof value == "string") { + return expectNumber(parseNumber(value)); + } + return expectNumber(value); +}, "strictParseDouble"); +var strictParseFloat = strictParseDouble; +var strictParseFloat32 = /* @__PURE__ */ __name((value) => { + if (typeof value == "string") { + return expectFloat32(parseNumber(value)); + } + return expectFloat32(value); +}, "strictParseFloat32"); +var NUMBER_REGEX = /(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g; +var parseNumber = /* @__PURE__ */ __name((value) => { + const matches = value.match(NUMBER_REGEX); + if (matches === null || matches[0].length !== value.length) { + throw new TypeError(`Expected real number, got implicit NaN`); + } + return parseFloat(value); +}, "parseNumber"); +var limitedParseDouble = /* @__PURE__ */ __name((value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectNumber(value); +}, "limitedParseDouble"); +var handleFloat = limitedParseDouble; +var limitedParseFloat = limitedParseDouble; +var limitedParseFloat32 = /* @__PURE__ */ __name((value) => { + if (typeof value == "string") { + return parseFloatString(value); + } + return expectFloat32(value); +}, "limitedParseFloat32"); +var parseFloatString = /* @__PURE__ */ __name((value) => { + switch (value) { + case "NaN": + return NaN; + case "Infinity": + return Infinity; + case "-Infinity": + return -Infinity; + default: + throw new Error(`Unable to parse float value: ${value}`); + } +}, "parseFloatString"); +var strictParseLong = /* @__PURE__ */ __name((value) => { + if (typeof value === "string") { + return expectLong(parseNumber(value)); + } + return expectLong(value); +}, "strictParseLong"); +var strictParseInt = strictParseLong; +var strictParseInt32 = /* @__PURE__ */ __name((value) => { + if (typeof value === "string") { + return expectInt32(parseNumber(value)); + } + return expectInt32(value); +}, "strictParseInt32"); +var strictParseShort = /* @__PURE__ */ __name((value) => { + if (typeof value === "string") { + return expectShort(parseNumber(value)); + } + return expectShort(value); +}, "strictParseShort"); +var strictParseByte = /* @__PURE__ */ __name((value) => { + if (typeof value === "string") { + return expectByte(parseNumber(value)); + } + return expectByte(value); +}, "strictParseByte"); +var stackTraceWarning = /* @__PURE__ */ __name((message) => { + return String(new TypeError(message).stack || message).split("\n").slice(0, 5).filter((s) => !s.includes("stackTraceWarning")).join("\n"); +}, "stackTraceWarning"); +var logger = { + warn: console.warn +}; + +// src/date-utils.ts +var DAYS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]; +var MONTHS = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; +function dateToUtcString(date) { + const year = date.getUTCFullYear(); + const month = date.getUTCMonth(); + const dayOfWeek = date.getUTCDay(); + const dayOfMonthInt = date.getUTCDate(); + const hoursInt = date.getUTCHours(); + const minutesInt = date.getUTCMinutes(); + const secondsInt = date.getUTCSeconds(); + const dayOfMonthString = dayOfMonthInt < 10 ? `0${dayOfMonthInt}` : `${dayOfMonthInt}`; + const hoursString = hoursInt < 10 ? `0${hoursInt}` : `${hoursInt}`; + const minutesString = minutesInt < 10 ? `0${minutesInt}` : `${minutesInt}`; + const secondsString = secondsInt < 10 ? `0${secondsInt}` : `${secondsInt}`; + return `${DAYS[dayOfWeek]}, ${dayOfMonthString} ${MONTHS[month]} ${year} ${hoursString}:${minutesString}:${secondsString} GMT`; +} +__name(dateToUtcString, "dateToUtcString"); +var RFC3339 = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/); +var parseRfc3339DateTime = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + return buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); +}, "parseRfc3339DateTime"); +var RFC3339_WITH_OFFSET = new RegExp( + /^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/ +); +var parseRfc3339DateTimeWithOffset = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC-3339 date-times must be expressed as strings"); + } + const match = RFC3339_WITH_OFFSET.exec(value); + if (!match) { + throw new TypeError("Invalid RFC-3339 date-time value"); + } + const [_, yearStr, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, offsetStr] = match; + const year = strictParseShort(stripLeadingZeroes(yearStr)); + const month = parseDateValue(monthStr, "month", 1, 12); + const day = parseDateValue(dayStr, "day", 1, 31); + const date = buildDate(year, month, day, { hours, minutes, seconds, fractionalMilliseconds }); + if (offsetStr.toUpperCase() != "Z") { + date.setTime(date.getTime() - parseOffsetToMilliseconds(offsetStr)); + } + return date; +}, "parseRfc3339DateTimeWithOffset"); +var IMF_FIXDATE = new RegExp( + /^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d{2}) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/ +); +var RFC_850_DATE = new RegExp( + /^(?:Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d{2})-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? GMT$/ +); +var ASC_TIME = new RegExp( + /^(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( [1-9]|\d{2}) (\d{1,2}):(\d{2}):(\d{2})(?:\.(\d+))? (\d{4})$/ +); +var parseRfc7231DateTime = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + if (typeof value !== "string") { + throw new TypeError("RFC-7231 date-times must be expressed as strings"); + } + let match = IMF_FIXDATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return buildDate( + strictParseShort(stripLeadingZeroes(yearStr)), + parseMonthByShortName(monthStr), + parseDateValue(dayStr, "day", 1, 31), + { hours, minutes, seconds, fractionalMilliseconds } + ); + } + match = RFC_850_DATE.exec(value); + if (match) { + const [_, dayStr, monthStr, yearStr, hours, minutes, seconds, fractionalMilliseconds] = match; + return adjustRfc850Year( + buildDate(parseTwoDigitYear(yearStr), parseMonthByShortName(monthStr), parseDateValue(dayStr, "day", 1, 31), { + hours, + minutes, + seconds, + fractionalMilliseconds + }) + ); + } + match = ASC_TIME.exec(value); + if (match) { + const [_, monthStr, dayStr, hours, minutes, seconds, fractionalMilliseconds, yearStr] = match; + return buildDate( + strictParseShort(stripLeadingZeroes(yearStr)), + parseMonthByShortName(monthStr), + parseDateValue(dayStr.trimLeft(), "day", 1, 31), + { hours, minutes, seconds, fractionalMilliseconds } + ); + } + throw new TypeError("Invalid RFC-7231 date-time value"); +}, "parseRfc7231DateTime"); +var parseEpochTimestamp = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return void 0; + } + let valueAsDouble; + if (typeof value === "number") { + valueAsDouble = value; + } else if (typeof value === "string") { + valueAsDouble = strictParseDouble(value); + } else if (typeof value === "object" && value.tag === 1) { + valueAsDouble = value.value; + } else { + throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation"); + } + if (Number.isNaN(valueAsDouble) || valueAsDouble === Infinity || valueAsDouble === -Infinity) { + throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics"); + } + return new Date(Math.round(valueAsDouble * 1e3)); +}, "parseEpochTimestamp"); +var buildDate = /* @__PURE__ */ __name((year, month, day, time) => { + const adjustedMonth = month - 1; + validateDayOfMonth(year, adjustedMonth, day); + return new Date( + Date.UTC( + year, + adjustedMonth, + day, + parseDateValue(time.hours, "hour", 0, 23), + parseDateValue(time.minutes, "minute", 0, 59), + // seconds can go up to 60 for leap seconds + parseDateValue(time.seconds, "seconds", 0, 60), + parseMilliseconds(time.fractionalMilliseconds) + ) + ); +}, "buildDate"); +var parseTwoDigitYear = /* @__PURE__ */ __name((value) => { + const thisYear = (/* @__PURE__ */ new Date()).getUTCFullYear(); + const valueInThisCentury = Math.floor(thisYear / 100) * 100 + strictParseShort(stripLeadingZeroes(value)); + if (valueInThisCentury < thisYear) { + return valueInThisCentury + 100; + } + return valueInThisCentury; +}, "parseTwoDigitYear"); +var FIFTY_YEARS_IN_MILLIS = 50 * 365 * 24 * 60 * 60 * 1e3; +var adjustRfc850Year = /* @__PURE__ */ __name((input) => { + if (input.getTime() - (/* @__PURE__ */ new Date()).getTime() > FIFTY_YEARS_IN_MILLIS) { + return new Date( + Date.UTC( + input.getUTCFullYear() - 100, + input.getUTCMonth(), + input.getUTCDate(), + input.getUTCHours(), + input.getUTCMinutes(), + input.getUTCSeconds(), + input.getUTCMilliseconds() + ) + ); + } + return input; +}, "adjustRfc850Year"); +var parseMonthByShortName = /* @__PURE__ */ __name((value) => { + const monthIdx = MONTHS.indexOf(value); + if (monthIdx < 0) { + throw new TypeError(`Invalid month: ${value}`); + } + return monthIdx + 1; +}, "parseMonthByShortName"); +var DAYS_IN_MONTH = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]; +var validateDayOfMonth = /* @__PURE__ */ __name((year, month, day) => { + let maxDays = DAYS_IN_MONTH[month]; + if (month === 1 && isLeapYear(year)) { + maxDays = 29; + } + if (day > maxDays) { + throw new TypeError(`Invalid day for ${MONTHS[month]} in ${year}: ${day}`); + } +}, "validateDayOfMonth"); +var isLeapYear = /* @__PURE__ */ __name((year) => { + return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0); +}, "isLeapYear"); +var parseDateValue = /* @__PURE__ */ __name((value, type, lower, upper) => { + const dateVal = strictParseByte(stripLeadingZeroes(value)); + if (dateVal < lower || dateVal > upper) { + throw new TypeError(`${type} must be between ${lower} and ${upper}, inclusive`); + } + return dateVal; +}, "parseDateValue"); +var parseMilliseconds = /* @__PURE__ */ __name((value) => { + if (value === null || value === void 0) { + return 0; + } + return strictParseFloat32("0." + value) * 1e3; +}, "parseMilliseconds"); +var parseOffsetToMilliseconds = /* @__PURE__ */ __name((value) => { + const directionStr = value[0]; + let direction = 1; + if (directionStr == "+") { + direction = 1; + } else if (directionStr == "-") { + direction = -1; + } else { + throw new TypeError(`Offset direction, ${directionStr}, must be "+" or "-"`); + } + const hour = Number(value.substring(1, 3)); + const minute = Number(value.substring(4, 6)); + return direction * (hour * 60 + minute) * 60 * 1e3; +}, "parseOffsetToMilliseconds"); +var stripLeadingZeroes = /* @__PURE__ */ __name((value) => { + let idx = 0; + while (idx < value.length - 1 && value.charAt(idx) === "0") { + idx++; + } + if (idx === 0) { + return value; + } + return value.slice(idx); +}, "stripLeadingZeroes"); + +// src/exceptions.ts +var _ServiceException = class _ServiceException extends Error { + constructor(options) { + super(options.message); + Object.setPrototypeOf(this, _ServiceException.prototype); + this.name = options.name; + this.$fault = options.$fault; + this.$metadata = options.$metadata; + } +}; +__name(_ServiceException, "ServiceException"); +var ServiceException = _ServiceException; +var decorateServiceException = /* @__PURE__ */ __name((exception, additions = {}) => { + Object.entries(additions).filter(([, v]) => v !== void 0).forEach(([k, v]) => { + if (exception[k] == void 0 || exception[k] === "") { + exception[k] = v; + } + }); + const message = exception.message || exception.Message || "UnknownError"; + exception.message = message; + delete exception.Message; + return exception; +}, "decorateServiceException"); + +// src/default-error-handler.ts +var throwDefaultError = /* @__PURE__ */ __name(({ output, parsedBody, exceptionCtor, errorCode }) => { + const $metadata = deserializeMetadata(output); + const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : void 0; + const response = new exceptionCtor({ + name: (parsedBody == null ? void 0 : parsedBody.code) || (parsedBody == null ? void 0 : parsedBody.Code) || errorCode || statusCode || "UnknownError", + $fault: "client", + $metadata + }); + throw decorateServiceException(response, parsedBody); +}, "throwDefaultError"); +var withBaseException = /* @__PURE__ */ __name((ExceptionCtor) => { + return ({ output, parsedBody, errorCode }) => { + throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode }); + }; +}, "withBaseException"); +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"); + +// src/defaults-mode.ts +var loadConfigsForDefaultMode = /* @__PURE__ */ __name((mode) => { + switch (mode) { + case "standard": + return { + retryMode: "standard", + connectionTimeout: 3100 + }; + case "in-region": + return { + retryMode: "standard", + connectionTimeout: 1100 + }; + case "cross-region": + return { + retryMode: "standard", + connectionTimeout: 3100 + }; + case "mobile": + return { + retryMode: "standard", + connectionTimeout: 3e4 + }; + default: + return {}; + } +}, "loadConfigsForDefaultMode"); + +// src/emitWarningIfUnsupportedVersion.ts +var warningEmitted = false; +var emitWarningIfUnsupportedVersion = /* @__PURE__ */ __name((version) => { + if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) { + warningEmitted = true; + } +}, "emitWarningIfUnsupportedVersion"); + +// src/extended-encode-uri-component.ts + + +// src/extensions/checksum.ts + +var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + const checksumAlgorithms = []; + for (const id in import_types.AlgorithmId) { + const algorithmId = import_types.AlgorithmId[id]; + if (runtimeConfig[algorithmId] === void 0) { + continue; + } + checksumAlgorithms.push({ + algorithmId: () => algorithmId, + checksumConstructor: () => runtimeConfig[algorithmId] + }); + } + return { + _checksumAlgorithms: checksumAlgorithms, + addChecksumAlgorithm(algo) { + this._checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return this._checksumAlgorithms; + } + }; +}, "getChecksumConfiguration"); +var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; +}, "resolveChecksumRuntimeConfig"); + +// src/extensions/retry.ts +var getRetryConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + let _retryStrategy = runtimeConfig.retryStrategy; + return { + setRetryStrategy(retryStrategy) { + _retryStrategy = retryStrategy; + }, + retryStrategy() { + return _retryStrategy; + } + }; +}, "getRetryConfiguration"); +var resolveRetryRuntimeConfig = /* @__PURE__ */ __name((retryStrategyConfiguration) => { + const runtimeConfig = {}; + runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy(); + return runtimeConfig; +}, "resolveRetryRuntimeConfig"); + +// src/extensions/defaultExtensionConfiguration.ts +var getDefaultExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + return { + ...getChecksumConfiguration(runtimeConfig), + ...getRetryConfiguration(runtimeConfig) + }; +}, "getDefaultExtensionConfiguration"); +var getDefaultClientConfiguration = getDefaultExtensionConfiguration; +var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => { + return { + ...resolveChecksumRuntimeConfig(config), + ...resolveRetryRuntimeConfig(config) + }; +}, "resolveDefaultRuntimeConfig"); + +// src/get-array-if-single-item.ts +var getArrayIfSingleItem = /* @__PURE__ */ __name((mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray], "getArrayIfSingleItem"); + +// src/get-value-from-text-node.ts +var getValueFromTextNode = /* @__PURE__ */ __name((obj) => { + const textNodeName = "#text"; + for (const key in obj) { + if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== void 0) { + obj[key] = obj[key][textNodeName]; + } else if (typeof obj[key] === "object" && obj[key] !== null) { + obj[key] = getValueFromTextNode(obj[key]); + } + } + return obj; +}, "getValueFromTextNode"); + +// src/is-serializable-header-value.ts +var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => { + return value != null; +}, "isSerializableHeaderValue"); + +// src/lazy-json.ts +function LazyJsonString(val) { + const str = Object.assign(new String(val), { + deserializeJSON() { + return JSON.parse(String(val)); + }, + toString() { + return String(val); + }, + toJSON() { + return String(val); + } + }); + return str; +} +__name(LazyJsonString, "LazyJsonString"); +LazyJsonString.from = (object) => { + if (object && typeof object === "object" && (object instanceof LazyJsonString || "deserializeJSON" in object)) { + return object; + } else if (typeof object === "string" || Object.getPrototypeOf(object) === String.prototype) { + return LazyJsonString(String(object)); + } + return LazyJsonString(JSON.stringify(object)); +}; +LazyJsonString.fromObject = LazyJsonString.from; + +// src/NoOpLogger.ts +var _NoOpLogger = class _NoOpLogger { + trace() { + } + debug() { + } + info() { + } + warn() { + } + error() { + } +}; +__name(_NoOpLogger, "NoOpLogger"); +var NoOpLogger = _NoOpLogger; + +// src/object-mapping.ts +function map(arg0, arg1, arg2) { + let target; + let filter; + let instructions; + if (typeof arg1 === "undefined" && typeof arg2 === "undefined") { + target = {}; + instructions = arg0; + } else { + target = arg0; + if (typeof arg1 === "function") { + filter = arg1; + instructions = arg2; + return mapWithFilter(target, filter, instructions); + } else { + instructions = arg1; + } + } + for (const key of Object.keys(instructions)) { + if (!Array.isArray(instructions[key])) { + target[key] = instructions[key]; + continue; + } + applyInstruction(target, null, instructions, key); + } + return target; +} +__name(map, "map"); +var convertMap = /* @__PURE__ */ __name((target) => { + const output = {}; + for (const [k, v] of Object.entries(target || {})) { + output[k] = [, v]; + } + return output; +}, "convertMap"); +var take = /* @__PURE__ */ __name((source, instructions) => { + const out = {}; + for (const key in instructions) { + applyInstruction(out, source, instructions, key); + } + return out; +}, "take"); +var mapWithFilter = /* @__PURE__ */ __name((target, filter, instructions) => { + return map( + target, + Object.entries(instructions).reduce( + (_instructions, [key, value]) => { + if (Array.isArray(value)) { + _instructions[key] = value; + } else { + if (typeof value === "function") { + _instructions[key] = [filter, value()]; + } else { + _instructions[key] = [filter, value]; + } + } + return _instructions; + }, + {} + ) + ); +}, "mapWithFilter"); +var applyInstruction = /* @__PURE__ */ __name((target, source, instructions, targetKey) => { + if (source !== null) { + let instruction = instructions[targetKey]; + if (typeof instruction === "function") { + instruction = [, instruction]; + } + const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction; + if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) { + target[targetKey] = valueFn(source[sourceKey]); + } + return; + } + let [filter, value] = instructions[targetKey]; + if (typeof value === "function") { + let _value; + const defaultFilterPassed = filter === void 0 && (_value = value()) != null; + const customFilterPassed = typeof filter === "function" && !!filter(void 0) || typeof filter !== "function" && !!filter; + if (defaultFilterPassed) { + target[targetKey] = _value; + } else if (customFilterPassed) { + target[targetKey] = value(); + } + } else { + const defaultFilterPassed = filter === void 0 && value != null; + const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter; + if (defaultFilterPassed || customFilterPassed) { + target[targetKey] = value; + } + } +}, "applyInstruction"); +var nonNullish = /* @__PURE__ */ __name((_) => _ != null, "nonNullish"); +var pass = /* @__PURE__ */ __name((_) => _, "pass"); + +// src/quote-header.ts +function quoteHeader(part) { + if (part.includes(",") || part.includes('"')) { + part = `"${part.replace(/"/g, '\\"')}"`; + } + return part; +} +__name(quoteHeader, "quoteHeader"); + +// src/resolve-path.ts + + +// src/ser-utils.ts +var serializeFloat = /* @__PURE__ */ __name((value) => { + if (value !== value) { + return "NaN"; + } + switch (value) { + case Infinity: + return "Infinity"; + case -Infinity: + return "-Infinity"; + default: + return value; + } +}, "serializeFloat"); +var serializeDateTime = /* @__PURE__ */ __name((date) => date.toISOString().replace(".000Z", "Z"), "serializeDateTime"); + +// src/serde-json.ts +var _json = /* @__PURE__ */ __name((obj) => { + if (obj == null) { + return {}; + } + if (Array.isArray(obj)) { + return obj.filter((_) => _ != null).map(_json); + } + if (typeof obj === "object") { + const target = {}; + for (const key of Object.keys(obj)) { + if (obj[key] == null) { + continue; + } + target[key] = _json(obj[key]); + } + return target; + } + return obj; +}, "_json"); + +// src/split-every.ts +function splitEvery(value, delimiter, numDelimiters) { + if (numDelimiters <= 0 || !Number.isInteger(numDelimiters)) { + throw new Error("Invalid number of delimiters (" + numDelimiters + ") for splitEvery."); + } + const segments = value.split(delimiter); + if (numDelimiters === 1) { + return segments; + } + const compoundSegments = []; + let currentSegment = ""; + for (let i = 0; i < segments.length; i++) { + if (currentSegment === "") { + currentSegment = segments[i]; + } else { + currentSegment += delimiter + segments[i]; + } + if ((i + 1) % numDelimiters === 0) { + compoundSegments.push(currentSegment); + currentSegment = ""; + } + } + if (currentSegment !== "") { + compoundSegments.push(currentSegment); + } + return compoundSegments; +} +__name(splitEvery, "splitEvery"); + +// src/split-header.ts +var splitHeader = /* @__PURE__ */ __name((value) => { + const z = value.length; + const values = []; + let withinQuotes = false; + let prevChar = void 0; + let anchor = 0; + for (let i = 0; i < z; ++i) { + const char = value[i]; + switch (char) { + case `"`: + if (prevChar !== "\\") { + withinQuotes = !withinQuotes; + } + break; + case ",": + if (!withinQuotes) { + values.push(value.slice(anchor, i)); + anchor = i + 1; + } + break; + default: + } + prevChar = char; + } + values.push(value.slice(anchor)); + return values.map((v) => { + v = v.trim(); + const z2 = v.length; + if (z2 < 2) { + return v; + } + if (v[0] === `"` && v[z2 - 1] === `"`) { + v = v.slice(1, z2 - 1); + } + return v.replace(/\\"/g, '"'); + }); +}, "splitHeader"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5756: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AlgorithmId: () => AlgorithmId, + EndpointURLScheme: () => EndpointURLScheme, + FieldPosition: () => FieldPosition, + HttpApiKeyAuthLocation: () => HttpApiKeyAuthLocation, + HttpAuthLocation: () => HttpAuthLocation, + IniSectionType: () => IniSectionType, + RequestHandlerProtocol: () => RequestHandlerProtocol, + SMITHY_CONTEXT_KEY: () => SMITHY_CONTEXT_KEY, + getDefaultClientConfiguration: () => getDefaultClientConfiguration, + resolveDefaultRuntimeConfig: () => resolveDefaultRuntimeConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/auth/auth.ts +var HttpAuthLocation = /* @__PURE__ */ ((HttpAuthLocation2) => { + HttpAuthLocation2["HEADER"] = "header"; + HttpAuthLocation2["QUERY"] = "query"; + return HttpAuthLocation2; +})(HttpAuthLocation || {}); + +// src/auth/HttpApiKeyAuth.ts +var HttpApiKeyAuthLocation = /* @__PURE__ */ ((HttpApiKeyAuthLocation2) => { + HttpApiKeyAuthLocation2["HEADER"] = "header"; + HttpApiKeyAuthLocation2["QUERY"] = "query"; + return HttpApiKeyAuthLocation2; +})(HttpApiKeyAuthLocation || {}); + +// src/endpoint.ts +var EndpointURLScheme = /* @__PURE__ */ ((EndpointURLScheme2) => { + EndpointURLScheme2["HTTP"] = "http"; + EndpointURLScheme2["HTTPS"] = "https"; + return EndpointURLScheme2; +})(EndpointURLScheme || {}); + +// src/extensions/checksum.ts +var AlgorithmId = /* @__PURE__ */ ((AlgorithmId2) => { + AlgorithmId2["MD5"] = "md5"; + AlgorithmId2["CRC32"] = "crc32"; + AlgorithmId2["CRC32C"] = "crc32c"; + AlgorithmId2["SHA1"] = "sha1"; + AlgorithmId2["SHA256"] = "sha256"; + return AlgorithmId2; +})(AlgorithmId || {}); +var getChecksumConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + const checksumAlgorithms = []; + if (runtimeConfig.sha256 !== void 0) { + checksumAlgorithms.push({ + algorithmId: () => "sha256" /* SHA256 */, + checksumConstructor: () => runtimeConfig.sha256 + }); + } + if (runtimeConfig.md5 != void 0) { + checksumAlgorithms.push({ + algorithmId: () => "md5" /* MD5 */, + checksumConstructor: () => runtimeConfig.md5 + }); + } + return { + _checksumAlgorithms: checksumAlgorithms, + addChecksumAlgorithm(algo) { + this._checksumAlgorithms.push(algo); + }, + checksumAlgorithms() { + return this._checksumAlgorithms; + } + }; +}, "getChecksumConfiguration"); +var resolveChecksumRuntimeConfig = /* @__PURE__ */ __name((clientConfig) => { + const runtimeConfig = {}; + clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => { + runtimeConfig[checksumAlgorithm.algorithmId()] = checksumAlgorithm.checksumConstructor(); + }); + return runtimeConfig; +}, "resolveChecksumRuntimeConfig"); + +// src/extensions/defaultClientConfiguration.ts +var getDefaultClientConfiguration = /* @__PURE__ */ __name((runtimeConfig) => { + return { + ...getChecksumConfiguration(runtimeConfig) + }; +}, "getDefaultClientConfiguration"); +var resolveDefaultRuntimeConfig = /* @__PURE__ */ __name((config) => { + return { + ...resolveChecksumRuntimeConfig(config) + }; +}, "resolveDefaultRuntimeConfig"); + +// src/http.ts +var FieldPosition = /* @__PURE__ */ ((FieldPosition2) => { + FieldPosition2[FieldPosition2["HEADER"] = 0] = "HEADER"; + FieldPosition2[FieldPosition2["TRAILER"] = 1] = "TRAILER"; + return FieldPosition2; +})(FieldPosition || {}); + +// src/middleware.ts +var SMITHY_CONTEXT_KEY = "__smithy_context"; + +// src/profile.ts +var IniSectionType = /* @__PURE__ */ ((IniSectionType2) => { + IniSectionType2["PROFILE"] = "profile"; + IniSectionType2["SSO_SESSION"] = "sso-session"; + IniSectionType2["SERVICES"] = "services"; + return IniSectionType2; +})(IniSectionType || {}); + +// src/transfer.ts +var RequestHandlerProtocol = /* @__PURE__ */ ((RequestHandlerProtocol2) => { + RequestHandlerProtocol2["HTTP_0_9"] = "http/0.9"; + RequestHandlerProtocol2["HTTP_1_0"] = "http/1.0"; + RequestHandlerProtocol2["TDS_8_0"] = "tds/8.0"; + return RequestHandlerProtocol2; +})(RequestHandlerProtocol || {}); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4681: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + parseUrl: () => parseUrl +}); +module.exports = __toCommonJS(src_exports); +var import_querystring_parser = __nccwpck_require__(4769); +var parseUrl = /* @__PURE__ */ __name((url) => { + if (typeof url === "string") { + return parseUrl(new URL(url)); + } + const { hostname, pathname, port, protocol, search } = url; + let query; + if (search) { + query = (0, import_querystring_parser.parseQueryString)(search); + } + return { + hostname, + port: port ? parseInt(port) : void 0, + protocol, + path: pathname, + query + }; +}, "parseUrl"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 305: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.fromBase64 = void 0; +const util_buffer_from_1 = __nccwpck_require__(1381); +const BASE64_REGEX = /^[A-Za-z0-9+/]*={0,2}$/; +const fromBase64 = (input) => { + if ((input.length * 3) % 4 !== 0) { + throw new TypeError(`Incorrect padding on base64 string.`); + } + if (!BASE64_REGEX.exec(input)) { + throw new TypeError(`Invalid base64 string.`); + } + const buffer = (0, util_buffer_from_1.fromString)(input, "base64"); + return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength); +}; +exports.fromBase64 = fromBase64; + + +/***/ }), + +/***/ 5600: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +module.exports = __toCommonJS(src_exports); +__reExport(src_exports, __nccwpck_require__(305), module.exports); +__reExport(src_exports, __nccwpck_require__(4730), module.exports); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4730: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.toBase64 = void 0; +const util_buffer_from_1 = __nccwpck_require__(1381); +const util_utf8_1 = __nccwpck_require__(1895); +const toBase64 = (_input) => { + let input; + if (typeof _input === "string") { + input = (0, util_utf8_1.fromUtf8)(_input); + } + else { + input = _input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array."); + } + return (0, util_buffer_from_1.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("base64"); +}; +exports.toBase64 = toBase64; + + +/***/ }), + +/***/ 8075: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + calculateBodyLength: () => calculateBodyLength +}); +module.exports = __toCommonJS(src_exports); + +// src/calculateBodyLength.ts +var import_fs = __nccwpck_require__(7147); +var calculateBodyLength = /* @__PURE__ */ __name((body) => { + if (!body) { + return 0; + } + if (typeof body === "string") { + return Buffer.byteLength(body); + } else if (typeof body.byteLength === "number") { + return body.byteLength; + } else if (typeof body.size === "number") { + return body.size; + } else if (typeof body.start === "number" && typeof body.end === "number") { + return body.end + 1 - body.start; + } else if (typeof body.path === "string" || Buffer.isBuffer(body.path)) { + return (0, import_fs.lstatSync)(body.path).size; + } else if (typeof body.fd === "number") { + return (0, import_fs.fstatSync)(body.fd).size; + } + throw new Error(`Body Length computation failed for ${body}`); +}, "calculateBodyLength"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 1381: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromArrayBuffer: () => fromArrayBuffer, + fromString: () => fromString +}); +module.exports = __toCommonJS(src_exports); +var import_is_array_buffer = __nccwpck_require__(780); +var import_buffer = __nccwpck_require__(4300); +var fromArrayBuffer = /* @__PURE__ */ __name((input, offset = 0, length = input.byteLength - offset) => { + if (!(0, import_is_array_buffer.isArrayBuffer)(input)) { + throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof input} (${input})`); + } + return import_buffer.Buffer.from(input, offset, length); +}, "fromArrayBuffer"); +var fromString = /* @__PURE__ */ __name((input, encoding) => { + if (typeof input !== "string") { + throw new TypeError(`The "input" argument must be of type string. Received type ${typeof input} (${input})`); + } + return encoding ? import_buffer.Buffer.from(input, encoding) : import_buffer.Buffer.from(input); +}, "fromString"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 3375: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + SelectorType: () => SelectorType, + booleanSelector: () => booleanSelector, + numberSelector: () => numberSelector +}); +module.exports = __toCommonJS(src_exports); + +// src/booleanSelector.ts +var booleanSelector = /* @__PURE__ */ __name((obj, key, type) => { + if (!(key in obj)) + return void 0; + if (obj[key] === "true") + return true; + if (obj[key] === "false") + return false; + throw new Error(`Cannot load ${type} "${key}". Expected "true" or "false", got ${obj[key]}.`); +}, "booleanSelector"); + +// src/numberSelector.ts +var numberSelector = /* @__PURE__ */ __name((obj, key, type) => { + if (!(key in obj)) + return void 0; + const numberValue = parseInt(obj[key], 10); + if (Number.isNaN(numberValue)) { + throw new TypeError(`Cannot load ${type} '${key}'. Expected number, got '${obj[key]}'.`); + } + return numberValue; +}, "numberSelector"); + +// src/types.ts +var SelectorType = /* @__PURE__ */ ((SelectorType2) => { + SelectorType2["ENV"] = "env"; + SelectorType2["CONFIG"] = "shared config entry"; + return SelectorType2; +})(SelectorType || {}); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2429: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +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 __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __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); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + resolveDefaultsModeConfig: () => resolveDefaultsModeConfig +}); +module.exports = __toCommonJS(src_exports); + +// src/resolveDefaultsModeConfig.ts +var import_config_resolver = __nccwpck_require__(3098); +var import_node_config_provider = __nccwpck_require__(3461); +var import_property_provider = __nccwpck_require__(9721); + +// src/constants.ts +var AWS_EXECUTION_ENV = "AWS_EXECUTION_ENV"; +var AWS_REGION_ENV = "AWS_REGION"; +var AWS_DEFAULT_REGION_ENV = "AWS_DEFAULT_REGION"; +var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED"; +var DEFAULTS_MODE_OPTIONS = ["in-region", "cross-region", "mobile", "standard", "legacy"]; +var IMDS_REGION_PATH = "/latest/meta-data/placement/region"; + +// src/defaultsModeConfig.ts +var AWS_DEFAULTS_MODE_ENV = "AWS_DEFAULTS_MODE"; +var AWS_DEFAULTS_MODE_CONFIG = "defaults_mode"; +var NODE_DEFAULTS_MODE_CONFIG_OPTIONS = { + environmentVariableSelector: (env) => { + return env[AWS_DEFAULTS_MODE_ENV]; + }, + configFileSelector: (profile) => { + return profile[AWS_DEFAULTS_MODE_CONFIG]; + }, + default: "legacy" +}; + +// src/resolveDefaultsModeConfig.ts +var resolveDefaultsModeConfig = /* @__PURE__ */ __name(({ + region = (0, import_node_config_provider.loadConfig)(import_config_resolver.NODE_REGION_CONFIG_OPTIONS), + defaultsMode = (0, import_node_config_provider.loadConfig)(NODE_DEFAULTS_MODE_CONFIG_OPTIONS) +} = {}) => (0, import_property_provider.memoize)(async () => { + const mode = typeof defaultsMode === "function" ? await defaultsMode() : defaultsMode; + switch (mode == null ? void 0 : mode.toLowerCase()) { + case "auto": + return resolveNodeDefaultsModeAuto(region); + case "in-region": + case "cross-region": + case "mobile": + case "standard": + case "legacy": + return Promise.resolve(mode == null ? void 0 : mode.toLocaleLowerCase()); + case void 0: + return Promise.resolve("legacy"); + default: + throw new Error( + `Invalid parameter for "defaultsMode", expect ${DEFAULTS_MODE_OPTIONS.join(", ")}, got ${mode}` + ); + } +}), "resolveDefaultsModeConfig"); +var resolveNodeDefaultsModeAuto = /* @__PURE__ */ __name(async (clientRegion) => { + if (clientRegion) { + const resolvedRegion = typeof clientRegion === "function" ? await clientRegion() : clientRegion; + const inferredRegion = await inferPhysicalRegion(); + if (!inferredRegion) { + return "standard"; + } + if (resolvedRegion === inferredRegion) { + return "in-region"; + } else { + return "cross-region"; + } + } + return "standard"; +}, "resolveNodeDefaultsModeAuto"); +var inferPhysicalRegion = /* @__PURE__ */ __name(async () => { + if (process.env[AWS_EXECUTION_ENV] && (process.env[AWS_REGION_ENV] || process.env[AWS_DEFAULT_REGION_ENV])) { + return process.env[AWS_REGION_ENV] ?? process.env[AWS_DEFAULT_REGION_ENV]; + } + if (!process.env[ENV_IMDS_DISABLED]) { + try { + const { getInstanceMetadataEndpoint, httpRequest } = await Promise.resolve().then(() => __toESM(__nccwpck_require__(7477))); + const endpoint = await getInstanceMetadataEndpoint(); + return (await httpRequest({ ...endpoint, path: IMDS_REGION_PATH })).toString(); + } catch (e) { + } + } +}, "inferPhysicalRegion"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5473: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + EndpointCache: () => EndpointCache, + EndpointError: () => EndpointError, + customEndpointFunctions: () => customEndpointFunctions, + isIpAddress: () => isIpAddress, + isValidHostLabel: () => isValidHostLabel, + resolveEndpoint: () => resolveEndpoint +}); +module.exports = __toCommonJS(src_exports); + +// src/cache/EndpointCache.ts +var _EndpointCache = class _EndpointCache { + /** + * @param [size] - desired average maximum capacity. A buffer of 10 additional keys will be allowed + * before keys are dropped. + * @param [params] - list of params to consider as part of the cache key. + * + * If the params list is not populated, no caching will happen. + * This may be out of order depending on how the object is created and arrives to this class. + */ + constructor({ size, params }) { + this.data = /* @__PURE__ */ new Map(); + this.parameters = []; + this.capacity = size ?? 50; + if (params) { + this.parameters = params; + } + } + /** + * @param endpointParams - query for endpoint. + * @param resolver - provider of the value if not present. + * @returns endpoint corresponding to the query. + */ + get(endpointParams, resolver) { + const key = this.hash(endpointParams); + if (key === false) { + return resolver(); + } + if (!this.data.has(key)) { + if (this.data.size > this.capacity + 10) { + const keys = this.data.keys(); + let i = 0; + while (true) { + const { value, done } = keys.next(); + this.data.delete(value); + if (done || ++i > 10) { + break; + } + } + } + this.data.set(key, resolver()); + } + return this.data.get(key); + } + size() { + return this.data.size; + } + /** + * @returns cache key or false if not cachable. + */ + hash(endpointParams) { + let buffer = ""; + const { parameters } = this; + if (parameters.length === 0) { + return false; + } + for (const param of parameters) { + const val = String(endpointParams[param] ?? ""); + if (val.includes("|;")) { + return false; + } + buffer += val + "|;"; + } + return buffer; + } +}; +__name(_EndpointCache, "EndpointCache"); +var EndpointCache = _EndpointCache; + +// src/lib/isIpAddress.ts +var IP_V4_REGEX = new RegExp( + `^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$` +); +var isIpAddress = /* @__PURE__ */ __name((value) => IP_V4_REGEX.test(value) || value.startsWith("[") && value.endsWith("]"), "isIpAddress"); + +// src/lib/isValidHostLabel.ts +var VALID_HOST_LABEL_REGEX = new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`); +var isValidHostLabel = /* @__PURE__ */ __name((value, allowSubDomains = false) => { + if (!allowSubDomains) { + return VALID_HOST_LABEL_REGEX.test(value); + } + const labels = value.split("."); + for (const label of labels) { + if (!isValidHostLabel(label)) { + return false; + } + } + return true; +}, "isValidHostLabel"); + +// src/utils/customEndpointFunctions.ts +var customEndpointFunctions = {}; + +// src/debug/debugId.ts +var debugId = "endpoints"; + +// src/debug/toDebugString.ts +function toDebugString(input) { + if (typeof input !== "object" || input == null) { + return input; + } + if ("ref" in input) { + return `$${toDebugString(input.ref)}`; + } + if ("fn" in input) { + return `${input.fn}(${(input.argv || []).map(toDebugString).join(", ")})`; + } + return JSON.stringify(input, null, 2); +} +__name(toDebugString, "toDebugString"); + +// src/types/EndpointError.ts +var _EndpointError = class _EndpointError extends Error { + constructor(message) { + super(message); + this.name = "EndpointError"; + } +}; +__name(_EndpointError, "EndpointError"); +var EndpointError = _EndpointError; + +// src/lib/booleanEquals.ts +var booleanEquals = /* @__PURE__ */ __name((value1, value2) => value1 === value2, "booleanEquals"); + +// src/lib/getAttrPathList.ts +var getAttrPathList = /* @__PURE__ */ __name((path) => { + const parts = path.split("."); + const pathList = []; + for (const part of parts) { + const squareBracketIndex = part.indexOf("["); + if (squareBracketIndex !== -1) { + if (part.indexOf("]") !== part.length - 1) { + throw new EndpointError(`Path: '${path}' does not end with ']'`); + } + const arrayIndex = part.slice(squareBracketIndex + 1, -1); + if (Number.isNaN(parseInt(arrayIndex))) { + throw new EndpointError(`Invalid array index: '${arrayIndex}' in path: '${path}'`); + } + if (squareBracketIndex !== 0) { + pathList.push(part.slice(0, squareBracketIndex)); + } + pathList.push(arrayIndex); + } else { + pathList.push(part); + } + } + return pathList; +}, "getAttrPathList"); + +// src/lib/getAttr.ts +var getAttr = /* @__PURE__ */ __name((value, path) => getAttrPathList(path).reduce((acc, index) => { + if (typeof acc !== "object") { + throw new EndpointError(`Index '${index}' in '${path}' not found in '${JSON.stringify(value)}'`); + } else if (Array.isArray(acc)) { + return acc[parseInt(index)]; + } + return acc[index]; +}, value), "getAttr"); + +// src/lib/isSet.ts +var isSet = /* @__PURE__ */ __name((value) => value != null, "isSet"); + +// src/lib/not.ts +var not = /* @__PURE__ */ __name((value) => !value, "not"); + +// src/lib/parseURL.ts +var import_types3 = __nccwpck_require__(5756); +var DEFAULT_PORTS = { + [import_types3.EndpointURLScheme.HTTP]: 80, + [import_types3.EndpointURLScheme.HTTPS]: 443 +}; +var parseURL = /* @__PURE__ */ __name((value) => { + const whatwgURL = (() => { + try { + if (value instanceof URL) { + return value; + } + if (typeof value === "object" && "hostname" in value) { + const { hostname: hostname2, port, protocol: protocol2 = "", path = "", query = {} } = value; + const url = new URL(`${protocol2}//${hostname2}${port ? `:${port}` : ""}${path}`); + url.search = Object.entries(query).map(([k, v]) => `${k}=${v}`).join("&"); + return url; + } + return new URL(value); + } catch (error) { + return null; + } + })(); + if (!whatwgURL) { + console.error(`Unable to parse ${JSON.stringify(value)} as a whatwg URL.`); + return null; + } + const urlString = whatwgURL.href; + const { host, hostname, pathname, protocol, search } = whatwgURL; + if (search) { + return null; + } + const scheme = protocol.slice(0, -1); + if (!Object.values(import_types3.EndpointURLScheme).includes(scheme)) { + return null; + } + const isIp = isIpAddress(hostname); + const inputContainsDefaultPort = urlString.includes(`${host}:${DEFAULT_PORTS[scheme]}`) || typeof value === "string" && value.includes(`${host}:${DEFAULT_PORTS[scheme]}`); + const authority = `${host}${inputContainsDefaultPort ? `:${DEFAULT_PORTS[scheme]}` : ``}`; + return { + scheme, + authority, + path: pathname, + normalizedPath: pathname.endsWith("/") ? pathname : `${pathname}/`, + isIp + }; +}, "parseURL"); + +// src/lib/stringEquals.ts +var stringEquals = /* @__PURE__ */ __name((value1, value2) => value1 === value2, "stringEquals"); + +// src/lib/substring.ts +var substring = /* @__PURE__ */ __name((input, start, stop, reverse) => { + if (start >= stop || input.length < stop) { + return null; + } + if (!reverse) { + return input.substring(start, stop); + } + return input.substring(input.length - stop, input.length - start); +}, "substring"); + +// src/lib/uriEncode.ts +var uriEncode = /* @__PURE__ */ __name((value) => encodeURIComponent(value).replace(/[!*'()]/g, (c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`), "uriEncode"); + +// src/utils/endpointFunctions.ts +var endpointFunctions = { + booleanEquals, + getAttr, + isSet, + isValidHostLabel, + not, + parseURL, + stringEquals, + substring, + uriEncode +}; + +// src/utils/evaluateTemplate.ts +var evaluateTemplate = /* @__PURE__ */ __name((template, options) => { + const evaluatedTemplateArr = []; + const templateContext = { + ...options.endpointParams, + ...options.referenceRecord + }; + let currentIndex = 0; + while (currentIndex < template.length) { + const openingBraceIndex = template.indexOf("{", currentIndex); + if (openingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(currentIndex)); + break; + } + evaluatedTemplateArr.push(template.slice(currentIndex, openingBraceIndex)); + const closingBraceIndex = template.indexOf("}", openingBraceIndex); + if (closingBraceIndex === -1) { + evaluatedTemplateArr.push(template.slice(openingBraceIndex)); + break; + } + if (template[openingBraceIndex + 1] === "{" && template[closingBraceIndex + 1] === "}") { + evaluatedTemplateArr.push(template.slice(openingBraceIndex + 1, closingBraceIndex)); + currentIndex = closingBraceIndex + 2; + } + const parameterName = template.substring(openingBraceIndex + 1, closingBraceIndex); + if (parameterName.includes("#")) { + const [refName, attrName] = parameterName.split("#"); + evaluatedTemplateArr.push(getAttr(templateContext[refName], attrName)); + } else { + evaluatedTemplateArr.push(templateContext[parameterName]); + } + currentIndex = closingBraceIndex + 1; + } + return evaluatedTemplateArr.join(""); +}, "evaluateTemplate"); + +// src/utils/getReferenceValue.ts +var getReferenceValue = /* @__PURE__ */ __name(({ ref }, options) => { + const referenceRecord = { + ...options.endpointParams, + ...options.referenceRecord + }; + return referenceRecord[ref]; +}, "getReferenceValue"); + +// src/utils/evaluateExpression.ts +var evaluateExpression = /* @__PURE__ */ __name((obj, keyName, options) => { + if (typeof obj === "string") { + return evaluateTemplate(obj, options); + } else if (obj["fn"]) { + return callFunction(obj, options); + } else if (obj["ref"]) { + return getReferenceValue(obj, options); + } + throw new EndpointError(`'${keyName}': ${String(obj)} is not a string, function or reference.`); +}, "evaluateExpression"); + +// src/utils/callFunction.ts +var callFunction = /* @__PURE__ */ __name(({ fn, argv }, options) => { + const evaluatedArgs = argv.map( + (arg) => ["boolean", "number"].includes(typeof arg) ? arg : evaluateExpression(arg, "arg", options) + ); + const fnSegments = fn.split("."); + if (fnSegments[0] in customEndpointFunctions && fnSegments[1] != null) { + return customEndpointFunctions[fnSegments[0]][fnSegments[1]](...evaluatedArgs); + } + return endpointFunctions[fn](...evaluatedArgs); +}, "callFunction"); + +// src/utils/evaluateCondition.ts +var evaluateCondition = /* @__PURE__ */ __name(({ assign, ...fnArgs }, options) => { + var _a, _b; + if (assign && assign in options.referenceRecord) { + throw new EndpointError(`'${assign}' is already defined in Reference Record.`); + } + const value = callFunction(fnArgs, options); + (_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} evaluateCondition: ${toDebugString(fnArgs)} = ${toDebugString(value)}`); + return { + result: value === "" ? true : !!value, + ...assign != null && { toAssign: { name: assign, value } } + }; +}, "evaluateCondition"); + +// src/utils/evaluateConditions.ts +var evaluateConditions = /* @__PURE__ */ __name((conditions = [], options) => { + var _a, _b; + const conditionsReferenceRecord = {}; + for (const condition of conditions) { + const { result, toAssign } = evaluateCondition(condition, { + ...options, + referenceRecord: { + ...options.referenceRecord, + ...conditionsReferenceRecord + } + }); + if (!result) { + return { result }; + } + if (toAssign) { + conditionsReferenceRecord[toAssign.name] = toAssign.value; + (_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} assign: ${toAssign.name} := ${toDebugString(toAssign.value)}`); + } + } + return { result: true, referenceRecord: conditionsReferenceRecord }; +}, "evaluateConditions"); + +// src/utils/getEndpointHeaders.ts +var getEndpointHeaders = /* @__PURE__ */ __name((headers, options) => Object.entries(headers).reduce( + (acc, [headerKey, headerVal]) => ({ + ...acc, + [headerKey]: headerVal.map((headerValEntry) => { + const processedExpr = evaluateExpression(headerValEntry, "Header value entry", options); + if (typeof processedExpr !== "string") { + throw new EndpointError(`Header '${headerKey}' value '${processedExpr}' is not a string`); + } + return processedExpr; + }) + }), + {} +), "getEndpointHeaders"); + +// src/utils/getEndpointProperty.ts +var getEndpointProperty = /* @__PURE__ */ __name((property, options) => { + if (Array.isArray(property)) { + return property.map((propertyEntry) => getEndpointProperty(propertyEntry, options)); + } + switch (typeof property) { + case "string": + return evaluateTemplate(property, options); + case "object": + if (property === null) { + throw new EndpointError(`Unexpected endpoint property: ${property}`); + } + return getEndpointProperties(property, options); + case "boolean": + return property; + default: + throw new EndpointError(`Unexpected endpoint property type: ${typeof property}`); + } +}, "getEndpointProperty"); + +// src/utils/getEndpointProperties.ts +var getEndpointProperties = /* @__PURE__ */ __name((properties, options) => Object.entries(properties).reduce( + (acc, [propertyKey, propertyVal]) => ({ + ...acc, + [propertyKey]: getEndpointProperty(propertyVal, options) + }), + {} +), "getEndpointProperties"); + +// src/utils/getEndpointUrl.ts +var getEndpointUrl = /* @__PURE__ */ __name((endpointUrl, options) => { + const expression = evaluateExpression(endpointUrl, "Endpoint URL", options); + if (typeof expression === "string") { + try { + return new URL(expression); + } catch (error) { + console.error(`Failed to construct URL with ${expression}`, error); + throw error; + } + } + throw new EndpointError(`Endpoint URL must be a string, got ${typeof expression}`); +}, "getEndpointUrl"); + +// src/utils/evaluateEndpointRule.ts +var evaluateEndpointRule = /* @__PURE__ */ __name((endpointRule, options) => { + var _a, _b; + const { conditions, endpoint } = endpointRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + const endpointRuleOptions = { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord } + }; + const { url, properties, headers } = endpoint; + (_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} Resolving endpoint from template: ${toDebugString(endpoint)}`); + return { + ...headers != void 0 && { + headers: getEndpointHeaders(headers, endpointRuleOptions) + }, + ...properties != void 0 && { + properties: getEndpointProperties(properties, endpointRuleOptions) + }, + url: getEndpointUrl(url, endpointRuleOptions) + }; +}, "evaluateEndpointRule"); + +// src/utils/evaluateErrorRule.ts +var evaluateErrorRule = /* @__PURE__ */ __name((errorRule, options) => { + const { conditions, error } = errorRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + throw new EndpointError( + evaluateExpression(error, "Error", { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord } + }) + ); +}, "evaluateErrorRule"); + +// src/utils/evaluateTreeRule.ts +var evaluateTreeRule = /* @__PURE__ */ __name((treeRule, options) => { + const { conditions, rules } = treeRule; + const { result, referenceRecord } = evaluateConditions(conditions, options); + if (!result) { + return; + } + return evaluateRules(rules, { + ...options, + referenceRecord: { ...options.referenceRecord, ...referenceRecord } + }); +}, "evaluateTreeRule"); + +// src/utils/evaluateRules.ts +var evaluateRules = /* @__PURE__ */ __name((rules, options) => { + for (const rule of rules) { + if (rule.type === "endpoint") { + const endpointOrUndefined = evaluateEndpointRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } else if (rule.type === "error") { + evaluateErrorRule(rule, options); + } else if (rule.type === "tree") { + const endpointOrUndefined = evaluateTreeRule(rule, options); + if (endpointOrUndefined) { + return endpointOrUndefined; + } + } else { + throw new EndpointError(`Unknown endpoint rule: ${rule}`); + } + } + throw new EndpointError(`Rules evaluation failed`); +}, "evaluateRules"); + +// src/resolveEndpoint.ts +var resolveEndpoint = /* @__PURE__ */ __name((ruleSetObject, options) => { + var _a, _b, _c, _d; + const { endpointParams, logger } = options; + const { parameters, rules } = ruleSetObject; + (_b = (_a = options.logger) == null ? void 0 : _a.debug) == null ? void 0 : _b.call(_a, `${debugId} Initial EndpointParams: ${toDebugString(endpointParams)}`); + const paramsWithDefault = Object.entries(parameters).filter(([, v]) => v.default != null).map(([k, v]) => [k, v.default]); + if (paramsWithDefault.length > 0) { + for (const [paramKey, paramDefaultValue] of paramsWithDefault) { + endpointParams[paramKey] = endpointParams[paramKey] ?? paramDefaultValue; + } + } + const requiredParams = Object.entries(parameters).filter(([, v]) => v.required).map(([k]) => k); + for (const requiredParam of requiredParams) { + if (endpointParams[requiredParam] == null) { + throw new EndpointError(`Missing required parameter: '${requiredParam}'`); + } + } + const endpoint = evaluateRules(rules, { endpointParams, logger, referenceRecord: {} }); + (_d = (_c = options.logger) == null ? void 0 : _c.debug) == null ? void 0 : _d.call(_c, `${debugId} Resolved endpoint: ${toDebugString(endpoint)}`); + return endpoint; +}, "resolveEndpoint"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 5364: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromHex: () => fromHex, + toHex: () => toHex +}); +module.exports = __toCommonJS(src_exports); +var SHORT_TO_HEX = {}; +var HEX_TO_SHORT = {}; +for (let i = 0; i < 256; i++) { + let encodedByte = i.toString(16).toLowerCase(); + if (encodedByte.length === 1) { + encodedByte = `0${encodedByte}`; + } + SHORT_TO_HEX[i] = encodedByte; + HEX_TO_SHORT[encodedByte] = i; +} +function fromHex(encoded) { + if (encoded.length % 2 !== 0) { + throw new Error("Hex encoded strings must have an even number length"); + } + const out = new Uint8Array(encoded.length / 2); + for (let i = 0; i < encoded.length; i += 2) { + const encodedByte = encoded.slice(i, i + 2).toLowerCase(); + if (encodedByte in HEX_TO_SHORT) { + out[i / 2] = HEX_TO_SHORT[encodedByte]; + } else { + throw new Error(`Cannot decode unrecognized sequence ${encodedByte} as hexadecimal`); + } + } + return out; +} +__name(fromHex, "fromHex"); +function toHex(bytes) { + let out = ""; + for (let i = 0; i < bytes.byteLength; i++) { + out += SHORT_TO_HEX[bytes[i]]; + } + return out; +} +__name(toHex, "toHex"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2390: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + getSmithyContext: () => getSmithyContext, + normalizeProvider: () => normalizeProvider +}); +module.exports = __toCommonJS(src_exports); + +// src/getSmithyContext.ts +var import_types = __nccwpck_require__(5756); +var getSmithyContext = /* @__PURE__ */ __name((context) => context[import_types.SMITHY_CONTEXT_KEY] || (context[import_types.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext"); + +// src/normalizeProvider.ts +var normalizeProvider = /* @__PURE__ */ __name((input) => { + if (typeof input === "function") + return input; + const promisified = Promise.resolve(input); + return () => promisified; +}, "normalizeProvider"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 4902: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + AdaptiveRetryStrategy: () => AdaptiveRetryStrategy, + ConfiguredRetryStrategy: () => ConfiguredRetryStrategy, + DEFAULT_MAX_ATTEMPTS: () => DEFAULT_MAX_ATTEMPTS, + DEFAULT_RETRY_DELAY_BASE: () => DEFAULT_RETRY_DELAY_BASE, + DEFAULT_RETRY_MODE: () => DEFAULT_RETRY_MODE, + DefaultRateLimiter: () => DefaultRateLimiter, + INITIAL_RETRY_TOKENS: () => INITIAL_RETRY_TOKENS, + INVOCATION_ID_HEADER: () => INVOCATION_ID_HEADER, + MAXIMUM_RETRY_DELAY: () => MAXIMUM_RETRY_DELAY, + NO_RETRY_INCREMENT: () => NO_RETRY_INCREMENT, + REQUEST_HEADER: () => REQUEST_HEADER, + RETRY_COST: () => RETRY_COST, + RETRY_MODES: () => RETRY_MODES, + StandardRetryStrategy: () => StandardRetryStrategy, + THROTTLING_RETRY_DELAY_BASE: () => THROTTLING_RETRY_DELAY_BASE, + TIMEOUT_RETRY_COST: () => TIMEOUT_RETRY_COST +}); +module.exports = __toCommonJS(src_exports); + +// src/config.ts +var RETRY_MODES = /* @__PURE__ */ ((RETRY_MODES2) => { + RETRY_MODES2["STANDARD"] = "standard"; + RETRY_MODES2["ADAPTIVE"] = "adaptive"; + return RETRY_MODES2; +})(RETRY_MODES || {}); +var DEFAULT_MAX_ATTEMPTS = 3; +var DEFAULT_RETRY_MODE = "standard" /* STANDARD */; + +// src/DefaultRateLimiter.ts +var import_service_error_classification = __nccwpck_require__(6375); +var _DefaultRateLimiter = class _DefaultRateLimiter { + constructor(options) { + // Pre-set state variables + this.currentCapacity = 0; + this.enabled = false; + this.lastMaxRate = 0; + this.measuredTxRate = 0; + this.requestCount = 0; + this.lastTimestamp = 0; + this.timeWindow = 0; + this.beta = (options == null ? void 0 : options.beta) ?? 0.7; + this.minCapacity = (options == null ? void 0 : options.minCapacity) ?? 1; + this.minFillRate = (options == null ? void 0 : options.minFillRate) ?? 0.5; + this.scaleConstant = (options == null ? void 0 : options.scaleConstant) ?? 0.4; + this.smooth = (options == null ? void 0 : options.smooth) ?? 0.8; + const currentTimeInSeconds = this.getCurrentTimeInSeconds(); + this.lastThrottleTime = currentTimeInSeconds; + this.lastTxRateBucket = Math.floor(this.getCurrentTimeInSeconds()); + this.fillRate = this.minFillRate; + this.maxCapacity = this.minCapacity; + } + getCurrentTimeInSeconds() { + return Date.now() / 1e3; + } + async getSendToken() { + return this.acquireTokenBucket(1); + } + async acquireTokenBucket(amount) { + if (!this.enabled) { + return; + } + this.refillTokenBucket(); + if (amount > this.currentCapacity) { + const delay = (amount - this.currentCapacity) / this.fillRate * 1e3; + await new Promise((resolve) => _DefaultRateLimiter.setTimeoutFn(resolve, delay)); + } + this.currentCapacity = this.currentCapacity - amount; + } + refillTokenBucket() { + const timestamp = this.getCurrentTimeInSeconds(); + if (!this.lastTimestamp) { + this.lastTimestamp = timestamp; + return; + } + const fillAmount = (timestamp - this.lastTimestamp) * this.fillRate; + this.currentCapacity = Math.min(this.maxCapacity, this.currentCapacity + fillAmount); + this.lastTimestamp = timestamp; + } + updateClientSendingRate(response) { + let calculatedRate; + this.updateMeasuredRate(); + if ((0, import_service_error_classification.isThrottlingError)(response)) { + const rateToUse = !this.enabled ? this.measuredTxRate : Math.min(this.measuredTxRate, this.fillRate); + this.lastMaxRate = rateToUse; + this.calculateTimeWindow(); + this.lastThrottleTime = this.getCurrentTimeInSeconds(); + calculatedRate = this.cubicThrottle(rateToUse); + this.enableTokenBucket(); + } else { + this.calculateTimeWindow(); + calculatedRate = this.cubicSuccess(this.getCurrentTimeInSeconds()); + } + const newRate = Math.min(calculatedRate, 2 * this.measuredTxRate); + this.updateTokenBucketRate(newRate); + } + calculateTimeWindow() { + this.timeWindow = this.getPrecise(Math.pow(this.lastMaxRate * (1 - this.beta) / this.scaleConstant, 1 / 3)); + } + cubicThrottle(rateToUse) { + return this.getPrecise(rateToUse * this.beta); + } + cubicSuccess(timestamp) { + return this.getPrecise( + this.scaleConstant * Math.pow(timestamp - this.lastThrottleTime - this.timeWindow, 3) + this.lastMaxRate + ); + } + enableTokenBucket() { + this.enabled = true; + } + updateTokenBucketRate(newRate) { + this.refillTokenBucket(); + this.fillRate = Math.max(newRate, this.minFillRate); + this.maxCapacity = Math.max(newRate, this.minCapacity); + this.currentCapacity = Math.min(this.currentCapacity, this.maxCapacity); + } + updateMeasuredRate() { + const t = this.getCurrentTimeInSeconds(); + const timeBucket = Math.floor(t * 2) / 2; + this.requestCount++; + if (timeBucket > this.lastTxRateBucket) { + const currentRate = this.requestCount / (timeBucket - this.lastTxRateBucket); + this.measuredTxRate = this.getPrecise(currentRate * this.smooth + this.measuredTxRate * (1 - this.smooth)); + this.requestCount = 0; + this.lastTxRateBucket = timeBucket; + } + } + getPrecise(num) { + return parseFloat(num.toFixed(8)); + } +}; +__name(_DefaultRateLimiter, "DefaultRateLimiter"); +/** + * Only used in testing. + */ +_DefaultRateLimiter.setTimeoutFn = setTimeout; +var DefaultRateLimiter = _DefaultRateLimiter; + +// src/constants.ts +var DEFAULT_RETRY_DELAY_BASE = 100; +var MAXIMUM_RETRY_DELAY = 20 * 1e3; +var THROTTLING_RETRY_DELAY_BASE = 500; +var INITIAL_RETRY_TOKENS = 500; +var RETRY_COST = 5; +var TIMEOUT_RETRY_COST = 10; +var NO_RETRY_INCREMENT = 1; +var INVOCATION_ID_HEADER = "amz-sdk-invocation-id"; +var REQUEST_HEADER = "amz-sdk-request"; + +// src/defaultRetryBackoffStrategy.ts +var getDefaultRetryBackoffStrategy = /* @__PURE__ */ __name(() => { + let delayBase = DEFAULT_RETRY_DELAY_BASE; + const computeNextBackoffDelay = /* @__PURE__ */ __name((attempts) => { + return Math.floor(Math.min(MAXIMUM_RETRY_DELAY, Math.random() * 2 ** attempts * delayBase)); + }, "computeNextBackoffDelay"); + const setDelayBase = /* @__PURE__ */ __name((delay) => { + delayBase = delay; + }, "setDelayBase"); + return { + computeNextBackoffDelay, + setDelayBase + }; +}, "getDefaultRetryBackoffStrategy"); + +// src/defaultRetryToken.ts +var createDefaultRetryToken = /* @__PURE__ */ __name(({ + retryDelay, + retryCount, + retryCost +}) => { + const getRetryCount = /* @__PURE__ */ __name(() => retryCount, "getRetryCount"); + const getRetryDelay = /* @__PURE__ */ __name(() => Math.min(MAXIMUM_RETRY_DELAY, retryDelay), "getRetryDelay"); + const getRetryCost = /* @__PURE__ */ __name(() => retryCost, "getRetryCost"); + return { + getRetryCount, + getRetryDelay, + getRetryCost + }; +}, "createDefaultRetryToken"); + +// src/StandardRetryStrategy.ts +var _StandardRetryStrategy = class _StandardRetryStrategy { + constructor(maxAttempts) { + this.maxAttempts = maxAttempts; + this.mode = "standard" /* STANDARD */; + this.capacity = INITIAL_RETRY_TOKENS; + this.retryBackoffStrategy = getDefaultRetryBackoffStrategy(); + this.maxAttemptsProvider = typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts; + } + // eslint-disable-next-line @typescript-eslint/no-unused-vars + async acquireInitialRetryToken(retryTokenScope) { + return createDefaultRetryToken({ + retryDelay: DEFAULT_RETRY_DELAY_BASE, + retryCount: 0 + }); + } + async refreshRetryTokenForRetry(token, errorInfo) { + const maxAttempts = await this.getMaxAttempts(); + if (this.shouldRetry(token, errorInfo, maxAttempts)) { + const errorType = errorInfo.errorType; + this.retryBackoffStrategy.setDelayBase( + errorType === "THROTTLING" ? THROTTLING_RETRY_DELAY_BASE : DEFAULT_RETRY_DELAY_BASE + ); + const delayFromErrorType = this.retryBackoffStrategy.computeNextBackoffDelay(token.getRetryCount()); + const retryDelay = errorInfo.retryAfterHint ? Math.max(errorInfo.retryAfterHint.getTime() - Date.now() || 0, delayFromErrorType) : delayFromErrorType; + const capacityCost = this.getCapacityCost(errorType); + this.capacity -= capacityCost; + return createDefaultRetryToken({ + retryDelay, + retryCount: token.getRetryCount() + 1, + retryCost: capacityCost + }); + } + throw new Error("No retry token available"); + } + recordSuccess(token) { + this.capacity = Math.max(INITIAL_RETRY_TOKENS, this.capacity + (token.getRetryCost() ?? NO_RETRY_INCREMENT)); + } + /** + * @returns the current available retry capacity. + * + * This number decreases when retries are executed and refills when requests or retries succeed. + */ + getCapacity() { + return this.capacity; + } + async getMaxAttempts() { + try { + return await this.maxAttemptsProvider(); + } catch (error) { + console.warn(`Max attempts provider could not resolve. Using default of ${DEFAULT_MAX_ATTEMPTS}`); + return DEFAULT_MAX_ATTEMPTS; + } + } + shouldRetry(tokenToRenew, errorInfo, maxAttempts) { + const attempts = tokenToRenew.getRetryCount() + 1; + return attempts < maxAttempts && this.capacity >= this.getCapacityCost(errorInfo.errorType) && this.isRetryableError(errorInfo.errorType); + } + getCapacityCost(errorType) { + return errorType === "TRANSIENT" ? TIMEOUT_RETRY_COST : RETRY_COST; + } + isRetryableError(errorType) { + return errorType === "THROTTLING" || errorType === "TRANSIENT"; + } +}; +__name(_StandardRetryStrategy, "StandardRetryStrategy"); +var StandardRetryStrategy = _StandardRetryStrategy; + +// src/AdaptiveRetryStrategy.ts +var _AdaptiveRetryStrategy = class _AdaptiveRetryStrategy { + constructor(maxAttemptsProvider, options) { + this.maxAttemptsProvider = maxAttemptsProvider; + this.mode = "adaptive" /* ADAPTIVE */; + const { rateLimiter } = options ?? {}; + this.rateLimiter = rateLimiter ?? new DefaultRateLimiter(); + this.standardRetryStrategy = new StandardRetryStrategy(maxAttemptsProvider); + } + async acquireInitialRetryToken(retryTokenScope) { + await this.rateLimiter.getSendToken(); + return this.standardRetryStrategy.acquireInitialRetryToken(retryTokenScope); + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + this.rateLimiter.updateClientSendingRate(errorInfo); + return this.standardRetryStrategy.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + } + recordSuccess(token) { + this.rateLimiter.updateClientSendingRate({}); + this.standardRetryStrategy.recordSuccess(token); + } +}; +__name(_AdaptiveRetryStrategy, "AdaptiveRetryStrategy"); +var AdaptiveRetryStrategy = _AdaptiveRetryStrategy; + +// src/ConfiguredRetryStrategy.ts +var _ConfiguredRetryStrategy = class _ConfiguredRetryStrategy extends StandardRetryStrategy { + /** + * @param maxAttempts - the maximum number of retry attempts allowed. + * e.g., if set to 3, then 4 total requests are possible. + * @param computeNextBackoffDelay - a millisecond delay for each retry or a function that takes the retry attempt + * and returns the delay. + * + * @example exponential backoff. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, (attempt) => attempt ** 2) + * }); + * ``` + * @example constant delay. + * ```js + * new Client({ + * retryStrategy: new ConfiguredRetryStrategy(3, 2000) + * }); + * ``` + */ + constructor(maxAttempts, computeNextBackoffDelay = DEFAULT_RETRY_DELAY_BASE) { + super(typeof maxAttempts === "function" ? maxAttempts : async () => maxAttempts); + if (typeof computeNextBackoffDelay === "number") { + this.computeNextBackoffDelay = () => computeNextBackoffDelay; + } else { + this.computeNextBackoffDelay = computeNextBackoffDelay; + } + } + async refreshRetryTokenForRetry(tokenToRenew, errorInfo) { + const token = await super.refreshRetryTokenForRetry(tokenToRenew, errorInfo); + token.getRetryDelay = () => this.computeNextBackoffDelay(token.getRetryCount()); + return token; + } +}; +__name(_ConfiguredRetryStrategy, "ConfiguredRetryStrategy"); +var ConfiguredRetryStrategy = _ConfiguredRetryStrategy; +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8551: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChecksumStream = void 0; +const ReadableStreamRef = typeof ReadableStream === "function" ? ReadableStream : function () { }; +class ChecksumStream extends ReadableStreamRef { +} +exports.ChecksumStream = ChecksumStream; + + +/***/ }), + +/***/ 6982: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.ChecksumStream = void 0; +const util_base64_1 = __nccwpck_require__(5600); +const stream_1 = __nccwpck_require__(2781); +class ChecksumStream extends stream_1.Duplex { + constructor({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) { + var _a, _b; + super(); + if (typeof source.pipe === "function") { + this.source = source; + } + else { + throw new Error(`@smithy/util-stream: unsupported source type ${(_b = (_a = source === null || source === void 0 ? void 0 : source.constructor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : source} in ChecksumStream.`); + } + this.base64Encoder = base64Encoder !== null && base64Encoder !== void 0 ? base64Encoder : util_base64_1.toBase64; + this.expectedChecksum = expectedChecksum; + this.checksum = checksum; + this.checksumSourceLocation = checksumSourceLocation; + this.source.pipe(this); + } + _read(size) { } + _write(chunk, encoding, callback) { + try { + this.checksum.update(chunk); + this.push(chunk); + } + catch (e) { + return callback(e); + } + return callback(); + } + async _final(callback) { + try { + const digest = await this.checksum.digest(); + const received = this.base64Encoder(digest); + if (this.expectedChecksum !== received) { + return callback(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${received}"` + + ` in response header "${this.checksumSourceLocation}".`)); + } + } + catch (e) { + return callback(e); + } + this.push(null); + return callback(); + } +} +exports.ChecksumStream = ChecksumStream; + + +/***/ }), + +/***/ 2313: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createChecksumStream = void 0; +const util_base64_1 = __nccwpck_require__(5600); +const stream_type_check_1 = __nccwpck_require__(2370); +const ChecksumStream_browser_1 = __nccwpck_require__(8551); +const createChecksumStream = ({ expectedChecksum, checksum, source, checksumSourceLocation, base64Encoder, }) => { + var _a, _b; + if (!(0, stream_type_check_1.isReadableStream)(source)) { + throw new Error(`@smithy/util-stream: unsupported source type ${(_b = (_a = source === null || source === void 0 ? void 0 : source.constructor) === null || _a === void 0 ? void 0 : _a.name) !== null && _b !== void 0 ? _b : source} in ChecksumStream.`); + } + const encoder = base64Encoder !== null && base64Encoder !== void 0 ? base64Encoder : util_base64_1.toBase64; + if (typeof TransformStream !== "function") { + throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream."); + } + const transform = new TransformStream({ + start() { }, + async transform(chunk, controller) { + checksum.update(chunk); + controller.enqueue(chunk); + }, + async flush(controller) { + const digest = await checksum.digest(); + const received = encoder(digest); + if (expectedChecksum !== received) { + const error = new Error(`Checksum mismatch: expected "${expectedChecksum}" but received "${received}"` + + ` in response header "${checksumSourceLocation}".`); + controller.error(error); + } + else { + controller.terminate(); + } + }, + }); + source.pipeThrough(transform); + const readable = transform.readable; + Object.setPrototypeOf(readable, ChecksumStream_browser_1.ChecksumStream.prototype); + return readable; +}; +exports.createChecksumStream = createChecksumStream; + + +/***/ }), + +/***/ 1927: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.createChecksumStream = void 0; +const stream_type_check_1 = __nccwpck_require__(2370); +const ChecksumStream_1 = __nccwpck_require__(6982); +const createChecksumStream_browser_1 = __nccwpck_require__(2313); +function createChecksumStream(init) { + if (typeof ReadableStream === "function" && (0, stream_type_check_1.isReadableStream)(init.source)) { + return (0, createChecksumStream_browser_1.createChecksumStream)(init); + } + return new ChecksumStream_1.ChecksumStream(init); +} +exports.createChecksumStream = createChecksumStream; + + +/***/ }), + +/***/ 3636: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.getAwsChunkedEncodingStream = void 0; +const stream_1 = __nccwpck_require__(2781); +const getAwsChunkedEncodingStream = (readableStream, options) => { + const { base64Encoder, bodyLengthChecker, checksumAlgorithmFn, checksumLocationName, streamHasher } = options; + const checksumRequired = base64Encoder !== undefined && + checksumAlgorithmFn !== undefined && + checksumLocationName !== undefined && + streamHasher !== undefined; + const digest = checksumRequired ? streamHasher(checksumAlgorithmFn, readableStream) : undefined; + const awsChunkedEncodingStream = new stream_1.Readable({ read: () => { } }); + readableStream.on("data", (data) => { + const length = bodyLengthChecker(data) || 0; + awsChunkedEncodingStream.push(`${length.toString(16)}\r\n`); + awsChunkedEncodingStream.push(data); + awsChunkedEncodingStream.push("\r\n"); + }); + readableStream.on("end", async () => { + awsChunkedEncodingStream.push(`0\r\n`); + if (checksumRequired) { + const checksum = base64Encoder(await digest); + awsChunkedEncodingStream.push(`${checksumLocationName}:${checksum}\r\n`); + awsChunkedEncodingStream.push(`\r\n`); + } + awsChunkedEncodingStream.push(null); + }); + return awsChunkedEncodingStream; +}; +exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream; + + +/***/ }), + +/***/ 6711: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.headStream = void 0; +async function headStream(stream, bytes) { + var _a; + let byteLengthCounter = 0; + const chunks = []; + const reader = stream.getReader(); + let isDone = false; + while (!isDone) { + const { done, value } = await reader.read(); + if (value) { + chunks.push(value); + byteLengthCounter += (_a = value === null || value === void 0 ? void 0 : value.byteLength) !== null && _a !== void 0 ? _a : 0; + } + if (byteLengthCounter >= bytes) { + break; + } + isDone = done; + } + reader.releaseLock(); + const collected = new Uint8Array(Math.min(bytes, byteLengthCounter)); + let offset = 0; + for (const chunk of chunks) { + if (chunk.byteLength > collected.byteLength - offset) { + collected.set(chunk.subarray(0, collected.byteLength - offset), offset); + break; + } + else { + collected.set(chunk, offset); + } + offset += chunk.length; + } + return collected; +} +exports.headStream = headStream; + + +/***/ }), + +/***/ 6708: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.headStream = void 0; +const stream_1 = __nccwpck_require__(2781); +const headStream_browser_1 = __nccwpck_require__(6711); +const stream_type_check_1 = __nccwpck_require__(2370); +const headStream = (stream, bytes) => { + if ((0, stream_type_check_1.isReadableStream)(stream)) { + return (0, headStream_browser_1.headStream)(stream, bytes); + } + return new Promise((resolve, reject) => { + const collector = new Collector(); + collector.limit = bytes; + stream.pipe(collector); + stream.on("error", (err) => { + collector.end(); + reject(err); + }); + collector.on("error", reject); + collector.on("finish", function () { + const bytes = new Uint8Array(Buffer.concat(this.buffers)); + resolve(bytes); + }); + }); +}; +exports.headStream = headStream; +class Collector extends stream_1.Writable { + constructor() { + super(...arguments); + this.buffers = []; + this.limit = Infinity; + this.bytesBuffered = 0; + } + _write(chunk, encoding, callback) { + var _a; + this.buffers.push(chunk); + this.bytesBuffered += (_a = chunk.byteLength) !== null && _a !== void 0 ? _a : 0; + if (this.bytesBuffered >= this.limit) { + const excess = this.bytesBuffered - this.limit; + const tailBuffer = this.buffers[this.buffers.length - 1]; + this.buffers[this.buffers.length - 1] = tailBuffer.subarray(0, tailBuffer.byteLength - excess); + this.emit("finish"); + } + callback(); + } +} + + +/***/ }), + +/***/ 6607: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")); +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + Uint8ArrayBlobAdapter: () => Uint8ArrayBlobAdapter +}); +module.exports = __toCommonJS(src_exports); + +// src/blob/transforms.ts +var import_util_base64 = __nccwpck_require__(5600); +var import_util_utf8 = __nccwpck_require__(1895); +function transformToString(payload, encoding = "utf-8") { + if (encoding === "base64") { + return (0, import_util_base64.toBase64)(payload); + } + return (0, import_util_utf8.toUtf8)(payload); +} +__name(transformToString, "transformToString"); +function transformFromString(str, encoding) { + if (encoding === "base64") { + return Uint8ArrayBlobAdapter.mutate((0, import_util_base64.fromBase64)(str)); + } + return Uint8ArrayBlobAdapter.mutate((0, import_util_utf8.fromUtf8)(str)); +} +__name(transformFromString, "transformFromString"); + +// src/blob/Uint8ArrayBlobAdapter.ts +var _Uint8ArrayBlobAdapter = class _Uint8ArrayBlobAdapter extends Uint8Array { + /** + * @param source - such as a string or Stream. + * @returns a new Uint8ArrayBlobAdapter extending Uint8Array. + */ + static fromString(source, encoding = "utf-8") { + switch (typeof source) { + case "string": + return transformFromString(source, encoding); + default: + throw new Error(`Unsupported conversion from ${typeof source} to Uint8ArrayBlobAdapter.`); + } + } + /** + * @param source - Uint8Array to be mutated. + * @returns the same Uint8Array but with prototype switched to Uint8ArrayBlobAdapter. + */ + static mutate(source) { + Object.setPrototypeOf(source, _Uint8ArrayBlobAdapter.prototype); + return source; + } + /** + * @param encoding - default 'utf-8'. + * @returns the blob as string. + */ + transformToString(encoding = "utf-8") { + return transformToString(this, encoding); + } +}; +__name(_Uint8ArrayBlobAdapter, "Uint8ArrayBlobAdapter"); +var Uint8ArrayBlobAdapter = _Uint8ArrayBlobAdapter; + +// src/index.ts +__reExport(src_exports, __nccwpck_require__(3636), module.exports); +__reExport(src_exports, __nccwpck_require__(4515), module.exports); +__reExport(src_exports, __nccwpck_require__(8321), module.exports); +__reExport(src_exports, __nccwpck_require__(6708), module.exports); +__reExport(src_exports, __nccwpck_require__(2370), module.exports); +__reExport(src_exports, __nccwpck_require__(1927), module.exports); +__reExport(src_exports, __nccwpck_require__(6982), module.exports); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2942: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.sdkStreamMixin = void 0; +const fetch_http_handler_1 = __nccwpck_require__(2687); +const util_base64_1 = __nccwpck_require__(5600); +const util_hex_encoding_1 = __nccwpck_require__(5364); +const util_utf8_1 = __nccwpck_require__(1895); +const stream_type_check_1 = __nccwpck_require__(2370); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + var _a, _b; + if (!isBlobInstance(stream) && !(0, stream_type_check_1.isReadableStream)(stream)) { + const name = ((_b = (_a = stream === null || stream === void 0 ? void 0 : stream.__proto__) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) || stream; + throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${name}`); + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, fetch_http_handler_1.streamCollector)(stream); + }; + const blobToWebStream = (blob) => { + if (typeof blob.stream !== "function") { + throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n" + + "If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body"); + } + return blob.stream(); + }; + return Object.assign(stream, { + transformToByteArray: transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === "base64") { + return (0, util_base64_1.toBase64)(buf); + } + else if (encoding === "hex") { + return (0, util_hex_encoding_1.toHex)(buf); + } + else if (encoding === undefined || encoding === "utf8" || encoding === "utf-8") { + return (0, util_utf8_1.toUtf8)(buf); + } + else if (typeof TextDecoder === "function") { + return new TextDecoder(encoding).decode(buf); + } + else { + throw new Error("TextDecoder is not available, please make sure polyfill is provided."); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + if (isBlobInstance(stream)) { + return blobToWebStream(stream); + } + else if ((0, stream_type_check_1.isReadableStream)(stream)) { + return stream; + } + else { + throw new Error(`Cannot transform payload to web stream, got ${stream}`); + } + }, + }); +}; +exports.sdkStreamMixin = sdkStreamMixin; +const isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob; + + +/***/ }), + +/***/ 4515: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.sdkStreamMixin = void 0; +const node_http_handler_1 = __nccwpck_require__(258); +const util_buffer_from_1 = __nccwpck_require__(1381); +const stream_1 = __nccwpck_require__(2781); +const sdk_stream_mixin_browser_1 = __nccwpck_require__(2942); +const ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED = "The stream has already been transformed."; +const sdkStreamMixin = (stream) => { + var _a, _b; + if (!(stream instanceof stream_1.Readable)) { + try { + return (0, sdk_stream_mixin_browser_1.sdkStreamMixin)(stream); + } + catch (e) { + const name = ((_b = (_a = stream === null || stream === void 0 ? void 0 : stream.__proto__) === null || _a === void 0 ? void 0 : _a.constructor) === null || _b === void 0 ? void 0 : _b.name) || stream; + throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${name}`); + } + } + let transformed = false; + const transformToByteArray = async () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + transformed = true; + return await (0, node_http_handler_1.streamCollector)(stream); + }; + return Object.assign(stream, { + transformToByteArray, + transformToString: async (encoding) => { + const buf = await transformToByteArray(); + if (encoding === undefined || Buffer.isEncoding(encoding)) { + return (0, util_buffer_from_1.fromArrayBuffer)(buf.buffer, buf.byteOffset, buf.byteLength).toString(encoding); + } + else { + const decoder = new TextDecoder(encoding); + return decoder.decode(buf); + } + }, + transformToWebStream: () => { + if (transformed) { + throw new Error(ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED); + } + if (stream.readableFlowing !== null) { + throw new Error("The stream has been consumed by other callbacks."); + } + if (typeof stream_1.Readable.toWeb !== "function") { + throw new Error("Readable.toWeb() is not supported. Please make sure you are using Node.js >= 17.0.0, or polyfill is available."); + } + transformed = true; + return stream_1.Readable.toWeb(stream); + }, + }); +}; +exports.sdkStreamMixin = sdkStreamMixin; + + +/***/ }), + +/***/ 4693: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.splitStream = void 0; +async function splitStream(stream) { + if (typeof stream.stream === "function") { + stream = stream.stream(); + } + const readableStream = stream; + return readableStream.tee(); +} +exports.splitStream = splitStream; + + +/***/ }), + +/***/ 8321: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.splitStream = void 0; +const stream_1 = __nccwpck_require__(2781); +const splitStream_browser_1 = __nccwpck_require__(4693); +const stream_type_check_1 = __nccwpck_require__(2370); +async function splitStream(stream) { + if ((0, stream_type_check_1.isReadableStream)(stream) || (0, stream_type_check_1.isBlob)(stream)) { + return (0, splitStream_browser_1.splitStream)(stream); + } + const stream1 = new stream_1.PassThrough(); + const stream2 = new stream_1.PassThrough(); + stream.pipe(stream1); + stream.pipe(stream2); + return [stream1, stream2]; +} +exports.splitStream = splitStream; + + +/***/ }), + +/***/ 2370: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.isBlob = exports.isReadableStream = void 0; +const isReadableStream = (stream) => { + var _a; + return typeof ReadableStream === "function" && + (((_a = stream === null || stream === void 0 ? void 0 : stream.constructor) === null || _a === void 0 ? void 0 : _a.name) === ReadableStream.name || stream instanceof ReadableStream); +}; +exports.isReadableStream = isReadableStream; +const isBlob = (blob) => { + var _a; + return typeof Blob === "function" && (((_a = blob === null || blob === void 0 ? void 0 : blob.constructor) === null || _a === void 0 ? void 0 : _a.name) === Blob.name || blob instanceof Blob); +}; +exports.isBlob = isBlob; + + +/***/ }), + +/***/ 4197: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + escapeUri: () => escapeUri, + escapeUriPath: () => escapeUriPath +}); +module.exports = __toCommonJS(src_exports); + +// src/escape-uri.ts +var escapeUri = /* @__PURE__ */ __name((uri) => ( + // AWS percent-encodes some extra non-standard characters in a URI + encodeURIComponent(uri).replace(/[!'()*]/g, hexEncode) +), "escapeUri"); +var hexEncode = /* @__PURE__ */ __name((c) => `%${c.charCodeAt(0).toString(16).toUpperCase()}`, "hexEncode"); + +// src/escape-uri-path.ts +var escapeUriPath = /* @__PURE__ */ __name((uri) => uri.split("/").map(escapeUri).join("/"), "escapeUriPath"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 1895: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + fromUtf8: () => fromUtf8, + toUint8Array: () => toUint8Array, + toUtf8: () => toUtf8 +}); +module.exports = __toCommonJS(src_exports); + +// src/fromUtf8.ts +var import_util_buffer_from = __nccwpck_require__(1381); +var fromUtf8 = /* @__PURE__ */ __name((input) => { + const buf = (0, import_util_buffer_from.fromString)(input, "utf8"); + return new Uint8Array(buf.buffer, buf.byteOffset, buf.byteLength / Uint8Array.BYTES_PER_ELEMENT); +}, "fromUtf8"); + +// src/toUint8Array.ts +var toUint8Array = /* @__PURE__ */ __name((data) => { + if (typeof data === "string") { + return fromUtf8(data); + } + if (ArrayBuffer.isView(data)) { + return new Uint8Array(data.buffer, data.byteOffset, data.byteLength / Uint8Array.BYTES_PER_ELEMENT); + } + return new Uint8Array(data); +}, "toUint8Array"); + +// src/toUtf8.ts + +var toUtf8 = /* @__PURE__ */ __name((input) => { + if (typeof input === "string") { + return input; + } + if (typeof input !== "object" || typeof input.byteOffset !== "number" || typeof input.byteLength !== "number") { + throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array."); + } + return (0, import_util_buffer_from.fromArrayBuffer)(input.buffer, input.byteOffset, input.byteLength).toString("utf8"); +}, "toUtf8"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 8011: +/***/ ((module) => { + +var __defProp = Object.defineProperty; +var __getOwnPropDesc = Object.getOwnPropertyDescriptor; +var __getOwnPropNames = Object.getOwnPropertyNames; +var __hasOwnProp = Object.prototype.hasOwnProperty; +var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); +var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); +}; +var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); + } + return to; +}; +var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + +// src/index.ts +var src_exports = {}; +__export(src_exports, { + WaiterState: () => WaiterState, + checkExceptions: () => checkExceptions, + createWaiter: () => createWaiter, + waiterServiceDefaults: () => waiterServiceDefaults +}); +module.exports = __toCommonJS(src_exports); + +// src/utils/sleep.ts +var sleep = /* @__PURE__ */ __name((seconds) => { + return new Promise((resolve) => setTimeout(resolve, seconds * 1e3)); +}, "sleep"); + +// src/waiter.ts +var waiterServiceDefaults = { + minDelay: 2, + maxDelay: 120 +}; +var WaiterState = /* @__PURE__ */ ((WaiterState2) => { + WaiterState2["ABORTED"] = "ABORTED"; + WaiterState2["FAILURE"] = "FAILURE"; + WaiterState2["SUCCESS"] = "SUCCESS"; + WaiterState2["RETRY"] = "RETRY"; + WaiterState2["TIMEOUT"] = "TIMEOUT"; + return WaiterState2; +})(WaiterState || {}); +var checkExceptions = /* @__PURE__ */ __name((result) => { + if (result.state === "ABORTED" /* ABORTED */) { + const abortError = new Error( + `${JSON.stringify({ + ...result, + reason: "Request was aborted" + })}` + ); + abortError.name = "AbortError"; + throw abortError; + } else if (result.state === "TIMEOUT" /* TIMEOUT */) { + const timeoutError = new Error( + `${JSON.stringify({ + ...result, + reason: "Waiter has timed out" + })}` + ); + timeoutError.name = "TimeoutError"; + throw timeoutError; + } else if (result.state !== "SUCCESS" /* SUCCESS */) { + throw new Error(`${JSON.stringify(result)}`); + } + return result; +}, "checkExceptions"); + +// src/poller.ts +var exponentialBackoffWithJitter = /* @__PURE__ */ __name((minDelay, maxDelay, attemptCeiling, attempt) => { + if (attempt > attemptCeiling) + return maxDelay; + const delay = minDelay * 2 ** (attempt - 1); + return randomInRange(minDelay, delay); +}, "exponentialBackoffWithJitter"); +var randomInRange = /* @__PURE__ */ __name((min, max) => min + Math.random() * (max - min), "randomInRange"); +var runPolling = /* @__PURE__ */ __name(async ({ minDelay, maxDelay, maxWaitTime, abortController, client, abortSignal }, input, acceptorChecks) => { + var _a; + const observedResponses = {}; + const { state, reason } = await acceptorChecks(client, input); + if (reason) { + const message = createMessageFromResponse(reason); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state !== "RETRY" /* RETRY */) { + return { state, reason, observedResponses }; + } + let currentAttempt = 1; + const waitUntil = Date.now() + maxWaitTime * 1e3; + const attemptCeiling = Math.log(maxDelay / minDelay) / Math.log(2) + 1; + while (true) { + if (((_a = abortController == null ? void 0 : abortController.signal) == null ? void 0 : _a.aborted) || (abortSignal == null ? void 0 : abortSignal.aborted)) { + const message = "AbortController signal aborted."; + observedResponses[message] |= 0; + observedResponses[message] += 1; + return { state: "ABORTED" /* ABORTED */, observedResponses }; + } + const delay = exponentialBackoffWithJitter(minDelay, maxDelay, attemptCeiling, currentAttempt); + if (Date.now() + delay * 1e3 > waitUntil) { + return { state: "TIMEOUT" /* TIMEOUT */, observedResponses }; + } + await sleep(delay); + const { state: state2, reason: reason2 } = await acceptorChecks(client, input); + if (reason2) { + const message = createMessageFromResponse(reason2); + observedResponses[message] |= 0; + observedResponses[message] += 1; + } + if (state2 !== "RETRY" /* RETRY */) { + return { state: state2, reason: reason2, observedResponses }; + } + currentAttempt += 1; + } +}, "runPolling"); +var createMessageFromResponse = /* @__PURE__ */ __name((reason) => { + var _a; + if (reason == null ? void 0 : reason.$responseBodyText) { + return `Deserialization error for body: ${reason.$responseBodyText}`; + } + if ((_a = reason == null ? void 0 : reason.$metadata) == null ? void 0 : _a.httpStatusCode) { + if (reason.$response || reason.message) { + return `${reason.$response.statusCode ?? reason.$metadata.httpStatusCode ?? "Unknown"}: ${reason.message}`; + } + return `${reason.$metadata.httpStatusCode}: OK`; + } + return String((reason == null ? void 0 : reason.message) ?? JSON.stringify(reason) ?? "Unknown"); +}, "createMessageFromResponse"); + +// src/utils/validate.ts +var validateWaiterOptions = /* @__PURE__ */ __name((options) => { + if (options.maxWaitTime < 1) { + throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`); + } else if (options.minDelay < 1) { + throw new Error(`WaiterConfiguration.minDelay must be greater than 0`); + } else if (options.maxDelay < 1) { + throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`); + } else if (options.maxWaitTime <= options.minDelay) { + throw new Error( + `WaiterConfiguration.maxWaitTime [${options.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter` + ); + } else if (options.maxDelay < options.minDelay) { + throw new Error( + `WaiterConfiguration.maxDelay [${options.maxDelay}] must be greater than WaiterConfiguration.minDelay [${options.minDelay}] for this waiter` + ); + } +}, "validateWaiterOptions"); + +// src/createWaiter.ts +var abortTimeout = /* @__PURE__ */ __name(async (abortSignal) => { + return new Promise((resolve) => { + const onAbort = /* @__PURE__ */ __name(() => resolve({ state: "ABORTED" /* ABORTED */ }), "onAbort"); + if (typeof abortSignal.addEventListener === "function") { + abortSignal.addEventListener("abort", onAbort); + } else { + abortSignal.onabort = onAbort; + } + }); +}, "abortTimeout"); +var createWaiter = /* @__PURE__ */ __name(async (options, input, acceptorChecks) => { + const params = { + ...waiterServiceDefaults, + ...options + }; + validateWaiterOptions(params); + const exitConditions = [runPolling(params, input, acceptorChecks)]; + if (options.abortController) { + exitConditions.push(abortTimeout(options.abortController.signal)); + } + if (options.abortSignal) { + exitConditions.push(abortTimeout(options.abortSignal)); + } + return Promise.race(exitConditions); +}, "createWaiter"); +// Annotate the CommonJS export names for ESM import in node: + +0 && (0); + + + +/***/ }), + +/***/ 2603: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const validator = __nccwpck_require__(1739); +const XMLParser = __nccwpck_require__(2380); +const XMLBuilder = __nccwpck_require__(660); + +module.exports = { + XMLParser: XMLParser, + XMLValidator: validator, + XMLBuilder: XMLBuilder +} + +/***/ }), + +/***/ 8280: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +const nameStartChar = ':A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD'; +const nameChar = nameStartChar + '\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040'; +const nameRegexp = '[' + nameStartChar + '][' + nameChar + ']*' +const regexName = new RegExp('^' + nameRegexp + '$'); + +const getAllMatches = function(string, regex) { + const matches = []; + let match = regex.exec(string); + while (match) { + const allmatches = []; + allmatches.startIndex = regex.lastIndex - match[0].length; + const len = match.length; + for (let index = 0; index < len; index++) { + allmatches.push(match[index]); + } + matches.push(allmatches); + match = regex.exec(string); + } + return matches; +}; + +const isName = function(string) { + const match = regexName.exec(string); + return !(match === null || typeof match === 'undefined'); +}; + +exports.isExist = function(v) { + return typeof v !== 'undefined'; +}; + +exports.isEmptyObject = function(obj) { + return Object.keys(obj).length === 0; +}; + +/** + * Copy all the properties of a into b. + * @param {*} target + * @param {*} a + */ +exports.merge = function(target, a, arrayMode) { + if (a) { + const keys = Object.keys(a); // will return an array of own properties + const len = keys.length; //don't make it inline + for (let i = 0; i < len; i++) { + if (arrayMode === 'strict') { + target[keys[i]] = [ a[keys[i]] ]; + } else { + target[keys[i]] = a[keys[i]]; + } + } + } +}; +/* exports.merge =function (b,a){ + return Object.assign(b,a); +} */ + +exports.getValue = function(v) { + if (exports.isExist(v)) { + return v; + } else { + return ''; + } +}; + +// const fakeCall = function(a) {return a;}; +// const fakeCallNoReturn = function() {}; + +exports.isName = isName; +exports.getAllMatches = getAllMatches; +exports.nameRegexp = nameRegexp; + + +/***/ }), + +/***/ 1739: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +const util = __nccwpck_require__(8280); + +const defaultOptions = { + allowBooleanAttributes: false, //A tag can have attributes without any value + unpairedTags: [] +}; + +//const tagsPattern = new RegExp("<\\/?([\\w:\\-_\.]+)\\s*\/?>","g"); +exports.validate = function (xmlData, options) { + options = Object.assign({}, defaultOptions, options); + + //xmlData = xmlData.replace(/(\r\n|\n|\r)/gm,"");//make it single line + //xmlData = xmlData.replace(/(^\s*<\?xml.*?\?>)/g,"");//Remove XML starting tag + //xmlData = xmlData.replace(/()/g,"");//Remove DOCTYPE + const tags = []; + let tagFound = false; + + //indicates that the root tag has been closed (aka. depth 0 has been reached) + let reachedRoot = false; + + if (xmlData[0] === '\ufeff') { + // check for byte order mark (BOM) + xmlData = xmlData.substr(1); + } + + for (let i = 0; i < xmlData.length; i++) { + + if (xmlData[i] === '<' && xmlData[i+1] === '?') { + i+=2; + i = readPI(xmlData,i); + if (i.err) return i; + }else if (xmlData[i] === '<') { + //starting of tag + //read until you reach to '>' avoiding any '>' in attribute value + let tagStartPos = i; + i++; + + if (xmlData[i] === '!') { + i = readCommentAndCDATA(xmlData, i); + continue; + } else { + let closingTag = false; + if (xmlData[i] === '/') { + //closing tag + closingTag = true; + i++; + } + //read tagname + let tagName = ''; + for (; i < xmlData.length && + xmlData[i] !== '>' && + xmlData[i] !== ' ' && + xmlData[i] !== '\t' && + xmlData[i] !== '\n' && + xmlData[i] !== '\r'; i++ + ) { + tagName += xmlData[i]; + } + tagName = tagName.trim(); + //console.log(tagName); + + if (tagName[tagName.length - 1] === '/') { + //self closing tag without attributes + tagName = tagName.substring(0, tagName.length - 1); + //continue; + i--; + } + if (!validateTagName(tagName)) { + let msg; + if (tagName.trim().length === 0) { + msg = "Invalid space after '<'."; + } else { + msg = "Tag '"+tagName+"' is an invalid name."; + } + return getErrorObject('InvalidTag', msg, getLineNumberForPosition(xmlData, i)); + } + + const result = readAttributeStr(xmlData, i); + if (result === false) { + return getErrorObject('InvalidAttr', "Attributes for '"+tagName+"' have open quote.", getLineNumberForPosition(xmlData, i)); + } + let attrStr = result.value; + i = result.index; + + if (attrStr[attrStr.length - 1] === '/') { + //self closing tag + const attrStrStart = i - attrStr.length; + attrStr = attrStr.substring(0, attrStr.length - 1); + const isValid = validateAttributeString(attrStr, options); + if (isValid === true) { + tagFound = true; + //continue; //text may presents after self closing tag + } else { + //the result from the nested function returns the position of the error within the attribute + //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute + //this gives us the absolute index in the entire xml, which we can use to find the line at last + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, attrStrStart + isValid.err.line)); + } + } else if (closingTag) { + if (!result.tagClosed) { + return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' doesn't have proper closing.", getLineNumberForPosition(xmlData, i)); + } else if (attrStr.trim().length > 0) { + return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' can't have attributes or invalid starting.", getLineNumberForPosition(xmlData, tagStartPos)); + } else if (tags.length === 0) { + return getErrorObject('InvalidTag', "Closing tag '"+tagName+"' has not been opened.", getLineNumberForPosition(xmlData, tagStartPos)); + } else { + const otg = tags.pop(); + if (tagName !== otg.tagName) { + let openPos = getLineNumberForPosition(xmlData, otg.tagStartPos); + return getErrorObject('InvalidTag', + "Expected closing tag '"+otg.tagName+"' (opened in line "+openPos.line+", col "+openPos.col+") instead of closing tag '"+tagName+"'.", + getLineNumberForPosition(xmlData, tagStartPos)); + } + + //when there are no more tags, we reached the root level. + if (tags.length == 0) { + reachedRoot = true; + } + } + } else { + const isValid = validateAttributeString(attrStr, options); + if (isValid !== true) { + //the result from the nested function returns the position of the error within the attribute + //in order to get the 'true' error line, we need to calculate the position where the attribute begins (i - attrStr.length) and then add the position within the attribute + //this gives us the absolute index in the entire xml, which we can use to find the line at last + return getErrorObject(isValid.err.code, isValid.err.msg, getLineNumberForPosition(xmlData, i - attrStr.length + isValid.err.line)); + } + + //if the root level has been reached before ... + if (reachedRoot === true) { + return getErrorObject('InvalidXml', 'Multiple possible root nodes found.', getLineNumberForPosition(xmlData, i)); + } else if(options.unpairedTags.indexOf(tagName) !== -1){ + //don't push into stack + } else { + tags.push({tagName, tagStartPos}); + } + tagFound = true; + } + + //skip tag text value + //It may include comments and CDATA value + for (i++; i < xmlData.length; i++) { + if (xmlData[i] === '<') { + if (xmlData[i + 1] === '!') { + //comment or CADATA + i++; + i = readCommentAndCDATA(xmlData, i); + continue; + } else if (xmlData[i+1] === '?') { + i = readPI(xmlData, ++i); + if (i.err) return i; + } else{ + break; + } + } else if (xmlData[i] === '&') { + const afterAmp = validateAmpersand(xmlData, i); + if (afterAmp == -1) + return getErrorObject('InvalidChar', "char '&' is not expected.", getLineNumberForPosition(xmlData, i)); + i = afterAmp; + }else{ + if (reachedRoot === true && !isWhiteSpace(xmlData[i])) { + return getErrorObject('InvalidXml', "Extra text at the end", getLineNumberForPosition(xmlData, i)); + } + } + } //end of reading tag text value + if (xmlData[i] === '<') { + i--; + } + } + } else { + if ( isWhiteSpace(xmlData[i])) { + continue; + } + return getErrorObject('InvalidChar', "char '"+xmlData[i]+"' is not expected.", getLineNumberForPosition(xmlData, i)); + } + } + + if (!tagFound) { + return getErrorObject('InvalidXml', 'Start tag expected.', 1); + }else if (tags.length == 1) { + return getErrorObject('InvalidTag', "Unclosed tag '"+tags[0].tagName+"'.", getLineNumberForPosition(xmlData, tags[0].tagStartPos)); + }else if (tags.length > 0) { + return getErrorObject('InvalidXml', "Invalid '"+ + JSON.stringify(tags.map(t => t.tagName), null, 4).replace(/\r?\n/g, '')+ + "' found.", {line: 1, col: 1}); + } + + return true; +}; + +function isWhiteSpace(char){ + return char === ' ' || char === '\t' || char === '\n' || char === '\r'; +} +/** + * Read Processing insstructions and skip + * @param {*} xmlData + * @param {*} i + */ +function readPI(xmlData, i) { + const start = i; + for (; i < xmlData.length; i++) { + if (xmlData[i] == '?' || xmlData[i] == ' ') { + //tagname + const tagname = xmlData.substr(start, i - start); + if (i > 5 && tagname === 'xml') { + return getErrorObject('InvalidXml', 'XML declaration allowed only at the start of the document.', getLineNumberForPosition(xmlData, i)); + } else if (xmlData[i] == '?' && xmlData[i + 1] == '>') { + //check if valid attribut string + i++; + break; + } else { + continue; + } + } + } + return i; +} + +function readCommentAndCDATA(xmlData, i) { + if (xmlData.length > i + 5 && xmlData[i + 1] === '-' && xmlData[i + 2] === '-') { + //comment + for (i += 3; i < xmlData.length; i++) { + if (xmlData[i] === '-' && xmlData[i + 1] === '-' && xmlData[i + 2] === '>') { + i += 2; + break; + } + } + } else if ( + xmlData.length > i + 8 && + xmlData[i + 1] === 'D' && + xmlData[i + 2] === 'O' && + xmlData[i + 3] === 'C' && + xmlData[i + 4] === 'T' && + xmlData[i + 5] === 'Y' && + xmlData[i + 6] === 'P' && + xmlData[i + 7] === 'E' + ) { + let angleBracketsCount = 1; + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === '<') { + angleBracketsCount++; + } else if (xmlData[i] === '>') { + angleBracketsCount--; + if (angleBracketsCount === 0) { + break; + } + } + } + } else if ( + xmlData.length > i + 9 && + xmlData[i + 1] === '[' && + xmlData[i + 2] === 'C' && + xmlData[i + 3] === 'D' && + xmlData[i + 4] === 'A' && + xmlData[i + 5] === 'T' && + xmlData[i + 6] === 'A' && + xmlData[i + 7] === '[' + ) { + for (i += 8; i < xmlData.length; i++) { + if (xmlData[i] === ']' && xmlData[i + 1] === ']' && xmlData[i + 2] === '>') { + i += 2; + break; + } + } + } + + return i; +} + +const doubleQuote = '"'; +const singleQuote = "'"; + +/** + * Keep reading xmlData until '<' is found outside the attribute value. + * @param {string} xmlData + * @param {number} i + */ +function readAttributeStr(xmlData, i) { + let attrStr = ''; + let startChar = ''; + let tagClosed = false; + for (; i < xmlData.length; i++) { + if (xmlData[i] === doubleQuote || xmlData[i] === singleQuote) { + if (startChar === '') { + startChar = xmlData[i]; + } else if (startChar !== xmlData[i]) { + //if vaue is enclosed with double quote then single quotes are allowed inside the value and vice versa + } else { + startChar = ''; + } + } else if (xmlData[i] === '>') { + if (startChar === '') { + tagClosed = true; + break; + } + } + attrStr += xmlData[i]; + } + if (startChar !== '') { + return false; + } + + return { + value: attrStr, + index: i, + tagClosed: tagClosed + }; +} + +/** + * Select all the attributes whether valid or invalid. + */ +const validAttrStrRegxp = new RegExp('(\\s*)([^\\s=]+)(\\s*=)?(\\s*([\'"])(([\\s\\S])*?)\\5)?', 'g'); + +//attr, ="sd", a="amit's", a="sd"b="saf", ab cd="" + +function validateAttributeString(attrStr, options) { + //console.log("start:"+attrStr+":end"); + + //if(attrStr.trim().length === 0) return true; //empty string + + const matches = util.getAllMatches(attrStr, validAttrStrRegxp); + const attrNames = {}; + + for (let i = 0; i < matches.length; i++) { + if (matches[i][1].length === 0) { + //nospace before attribute name: a="sd"b="saf" + return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' has no space in starting.", getPositionFromMatch(matches[i])) + } else if (matches[i][3] !== undefined && matches[i][4] === undefined) { + return getErrorObject('InvalidAttr', "Attribute '"+matches[i][2]+"' is without value.", getPositionFromMatch(matches[i])); + } else if (matches[i][3] === undefined && !options.allowBooleanAttributes) { + //independent attribute: ab + return getErrorObject('InvalidAttr', "boolean attribute '"+matches[i][2]+"' is not allowed.", getPositionFromMatch(matches[i])); + } + /* else if(matches[i][6] === undefined){//attribute without value: ab= + return { err: { code:"InvalidAttr",msg:"attribute " + matches[i][2] + " has no value assigned."}}; + } */ + const attrName = matches[i][2]; + if (!validateAttrName(attrName)) { + return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is an invalid name.", getPositionFromMatch(matches[i])); + } + if (!attrNames.hasOwnProperty(attrName)) { + //check for duplicate attribute. + attrNames[attrName] = 1; + } else { + return getErrorObject('InvalidAttr', "Attribute '"+attrName+"' is repeated.", getPositionFromMatch(matches[i])); + } + } + + return true; +} + +function validateNumberAmpersand(xmlData, i) { + let re = /\d/; + if (xmlData[i] === 'x') { + i++; + re = /[\da-fA-F]/; + } + for (; i < xmlData.length; i++) { + if (xmlData[i] === ';') + return i; + if (!xmlData[i].match(re)) + break; + } + return -1; +} + +function validateAmpersand(xmlData, i) { + // https://www.w3.org/TR/xml/#dt-charref + i++; + if (xmlData[i] === ';') + return -1; + if (xmlData[i] === '#') { + i++; + return validateNumberAmpersand(xmlData, i); + } + let count = 0; + for (; i < xmlData.length; i++, count++) { + if (xmlData[i].match(/\w/) && count < 20) + continue; + if (xmlData[i] === ';') + break; + return -1; + } + return i; +} + +function getErrorObject(code, message, lineNumber) { + return { + err: { + code: code, + msg: message, + line: lineNumber.line || lineNumber, + col: lineNumber.col, + }, + }; +} + +function validateAttrName(attrName) { + return util.isName(attrName); +} + +// const startsWithXML = /^xml/i; + +function validateTagName(tagname) { + return util.isName(tagname) /* && !tagname.match(startsWithXML) */; +} + +//this function returns the line number for the character at the given index +function getLineNumberForPosition(xmlData, index) { + const lines = xmlData.substring(0, index).split(/\r?\n/); + return { + line: lines.length, + + // column number is last line's length + 1, because column numbering starts at 1: + col: lines[lines.length - 1].length + 1 + }; +} + +//this function returns the position of the first character of match within attrStr +function getPositionFromMatch(match) { + return match.startIndex + match[1].length; +} + + +/***/ }), + +/***/ 660: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +//parse Empty Node as self closing node +const buildFromOrderedJs = __nccwpck_require__(2462); + +const defaultOptions = { + attributeNamePrefix: '@_', + attributesGroupName: false, + textNodeName: '#text', + ignoreAttributes: true, + cdataPropName: false, + format: false, + indentBy: ' ', + suppressEmptyNode: false, + suppressUnpairedNode: true, + suppressBooleanAttributes: true, + tagValueProcessor: function(key, a) { + return a; + }, + attributeValueProcessor: function(attrName, a) { + return a; + }, + preserveOrder: false, + commentPropName: false, + unpairedTags: [], + entities: [ + { regex: new RegExp("&", "g"), val: "&" },//it must be on top + { regex: new RegExp(">", "g"), val: ">" }, + { regex: new RegExp("<", "g"), val: "<" }, + { regex: new RegExp("\'", "g"), val: "'" }, + { regex: new RegExp("\"", "g"), val: """ } + ], + processEntities: true, + stopNodes: [], + // transformTagName: false, + // transformAttributeName: false, + oneListGroup: false +}; + +function Builder(options) { + this.options = Object.assign({}, defaultOptions, options); + if (this.options.ignoreAttributes || this.options.attributesGroupName) { + this.isAttribute = function(/*a*/) { + return false; + }; + } else { + this.attrPrefixLen = this.options.attributeNamePrefix.length; + this.isAttribute = isAttribute; + } + + this.processTextOrObjNode = processTextOrObjNode + + if (this.options.format) { + this.indentate = indentate; + this.tagEndChar = '>\n'; + this.newLine = '\n'; + } else { + this.indentate = function() { + return ''; + }; + this.tagEndChar = '>'; + this.newLine = ''; + } +} + +Builder.prototype.build = function(jObj) { + if(this.options.preserveOrder){ + return buildFromOrderedJs(jObj, this.options); + }else { + if(Array.isArray(jObj) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1){ + jObj = { + [this.options.arrayNodeName] : jObj + } + } + return this.j2x(jObj, 0).val; + } +}; + +Builder.prototype.j2x = function(jObj, level) { + let attrStr = ''; + let val = ''; + for (let key in jObj) { + if(!Object.prototype.hasOwnProperty.call(jObj, key)) continue; + if (typeof jObj[key] === 'undefined') { + // supress undefined node only if it is not an attribute + if (this.isAttribute(key)) { + val += ''; + } + } else if (jObj[key] === null) { + // null attribute should be ignored by the attribute list, but should not cause the tag closing + if (this.isAttribute(key)) { + val += ''; + } else if (key[0] === '?') { + val += this.indentate(level) + '<' + key + '?' + this.tagEndChar; + } else { + val += this.indentate(level) + '<' + key + '/' + this.tagEndChar; + } + // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar; + } else if (jObj[key] instanceof Date) { + val += this.buildTextValNode(jObj[key], key, '', level); + } else if (typeof jObj[key] !== 'object') { + //premitive type + const attr = this.isAttribute(key); + if (attr) { + attrStr += this.buildAttrPairStr(attr, '' + jObj[key]); + }else { + //tag value + if (key === this.options.textNodeName) { + let newval = this.options.tagValueProcessor(key, '' + jObj[key]); + val += this.replaceEntitiesValue(newval); + } else { + val += this.buildTextValNode(jObj[key], key, '', level); + } + } + } else if (Array.isArray(jObj[key])) { + //repeated nodes + const arrLen = jObj[key].length; + let listTagVal = ""; + let listTagAttr = ""; + for (let j = 0; j < arrLen; j++) { + const item = jObj[key][j]; + if (typeof item === 'undefined') { + // supress undefined node + } else if (item === null) { + if(key[0] === "?") val += this.indentate(level) + '<' + key + '?' + this.tagEndChar; + else val += this.indentate(level) + '<' + key + '/' + this.tagEndChar; + // val += this.indentate(level) + '<' + key + '/' + this.tagEndChar; + } else if (typeof item === 'object') { + if(this.options.oneListGroup){ + const result = this.j2x(item, level + 1); + listTagVal += result.val; + if (this.options.attributesGroupName && item.hasOwnProperty(this.options.attributesGroupName)) { + listTagAttr += result.attrStr + } + }else{ + listTagVal += this.processTextOrObjNode(item, key, level) + } + } else { + if (this.options.oneListGroup) { + let textValue = this.options.tagValueProcessor(key, item); + textValue = this.replaceEntitiesValue(textValue); + listTagVal += textValue; + } else { + listTagVal += this.buildTextValNode(item, key, '', level); + } + } + } + if(this.options.oneListGroup){ + listTagVal = this.buildObjectNode(listTagVal, key, listTagAttr, level); + } + val += listTagVal; + } else { + //nested node + if (this.options.attributesGroupName && key === this.options.attributesGroupName) { + const Ks = Object.keys(jObj[key]); + const L = Ks.length; + for (let j = 0; j < L; j++) { + attrStr += this.buildAttrPairStr(Ks[j], '' + jObj[key][Ks[j]]); + } + } else { + val += this.processTextOrObjNode(jObj[key], key, level) + } + } + } + return {attrStr: attrStr, val: val}; +}; + +Builder.prototype.buildAttrPairStr = function(attrName, val){ + val = this.options.attributeValueProcessor(attrName, '' + val); + val = this.replaceEntitiesValue(val); + if (this.options.suppressBooleanAttributes && val === "true") { + return ' ' + attrName; + } else return ' ' + attrName + '="' + val + '"'; +} + +function processTextOrObjNode (object, key, level) { + const result = this.j2x(object, level + 1); + if (object[this.options.textNodeName] !== undefined && Object.keys(object).length === 1) { + return this.buildTextValNode(object[this.options.textNodeName], key, result.attrStr, level); + } else { + return this.buildObjectNode(result.val, key, result.attrStr, level); + } +} + +Builder.prototype.buildObjectNode = function(val, key, attrStr, level) { + if(val === ""){ + if(key[0] === "?") return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; + else { + return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar; + } + }else{ + + let tagEndExp = '' + val + tagEndExp ); + } else if (this.options.commentPropName !== false && key === this.options.commentPropName && piClosingChar.length === 0) { + return this.indentate(level) + `` + this.newLine; + }else { + return ( + this.indentate(level) + '<' + key + attrStr + piClosingChar + this.tagEndChar + + val + + this.indentate(level) + tagEndExp ); + } + } +} + +Builder.prototype.closeTag = function(key){ + let closeTag = ""; + if(this.options.unpairedTags.indexOf(key) !== -1){ //unpaired + if(!this.options.suppressUnpairedNode) closeTag = "/" + }else if(this.options.suppressEmptyNode){ //empty + closeTag = "/"; + }else{ + closeTag = `>` + this.newLine; + }else if (this.options.commentPropName !== false && key === this.options.commentPropName) { + return this.indentate(level) + `` + this.newLine; + }else if(key[0] === "?") {//PI tag + return this.indentate(level) + '<' + key + attrStr+ '?' + this.tagEndChar; + }else{ + let textValue = this.options.tagValueProcessor(key, val); + textValue = this.replaceEntitiesValue(textValue); + + if( textValue === ''){ + return this.indentate(level) + '<' + key + attrStr + this.closeTag(key) + this.tagEndChar; + }else{ + return this.indentate(level) + '<' + key + attrStr + '>' + + textValue + + ' 0 && this.options.processEntities){ + for (let i=0; i { + +const EOL = "\n"; + +/** + * + * @param {array} jArray + * @param {any} options + * @returns + */ +function toXml(jArray, options) { + let indentation = ""; + if (options.format && options.indentBy.length > 0) { + indentation = EOL; + } + return arrToStr(jArray, options, "", indentation); +} + +function arrToStr(arr, options, jPath, indentation) { + let xmlStr = ""; + let isPreviousElementTag = false; + + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i]; + const tagName = propName(tagObj); + if(tagName === undefined) continue; + + let newJPath = ""; + if (jPath.length === 0) newJPath = tagName + else newJPath = `${jPath}.${tagName}`; + + if (tagName === options.textNodeName) { + let tagText = tagObj[tagName]; + if (!isStopNode(newJPath, options)) { + tagText = options.tagValueProcessor(tagName, tagText); + tagText = replaceEntitiesValue(tagText, options); + } + if (isPreviousElementTag) { + xmlStr += indentation; + } + xmlStr += tagText; + isPreviousElementTag = false; + continue; + } else if (tagName === options.cdataPropName) { + if (isPreviousElementTag) { + xmlStr += indentation; + } + xmlStr += ``; + isPreviousElementTag = false; + continue; + } else if (tagName === options.commentPropName) { + xmlStr += indentation + ``; + isPreviousElementTag = true; + continue; + } else if (tagName[0] === "?") { + const attStr = attr_to_str(tagObj[":@"], options); + const tempInd = tagName === "?xml" ? "" : indentation; + let piTextNodeName = tagObj[tagName][0][options.textNodeName]; + piTextNodeName = piTextNodeName.length !== 0 ? " " + piTextNodeName : ""; //remove extra spacing + xmlStr += tempInd + `<${tagName}${piTextNodeName}${attStr}?>`; + isPreviousElementTag = true; + continue; + } + let newIdentation = indentation; + if (newIdentation !== "") { + newIdentation += options.indentBy; + } + const attStr = attr_to_str(tagObj[":@"], options); + const tagStart = indentation + `<${tagName}${attStr}`; + const tagValue = arrToStr(tagObj[tagName], options, newJPath, newIdentation); + if (options.unpairedTags.indexOf(tagName) !== -1) { + if (options.suppressUnpairedNode) xmlStr += tagStart + ">"; + else xmlStr += tagStart + "/>"; + } else if ((!tagValue || tagValue.length === 0) && options.suppressEmptyNode) { + xmlStr += tagStart + "/>"; + } else if (tagValue && tagValue.endsWith(">")) { + xmlStr += tagStart + `>${tagValue}${indentation}`; + } else { + xmlStr += tagStart + ">"; + if (tagValue && indentation !== "" && (tagValue.includes("/>") || tagValue.includes("`; + } + isPreviousElementTag = true; + } + + return xmlStr; +} + +function propName(obj) { + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if(!obj.hasOwnProperty(key)) continue; + if (key !== ":@") return key; + } +} + +function attr_to_str(attrMap, options) { + let attrStr = ""; + if (attrMap && !options.ignoreAttributes) { + for (let attr in attrMap) { + if(!attrMap.hasOwnProperty(attr)) continue; + let attrVal = options.attributeValueProcessor(attr, attrMap[attr]); + attrVal = replaceEntitiesValue(attrVal, options); + if (attrVal === true && options.suppressBooleanAttributes) { + attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}`; + } else { + attrStr += ` ${attr.substr(options.attributeNamePrefix.length)}="${attrVal}"`; + } + } + } + return attrStr; +} + +function isStopNode(jPath, options) { + jPath = jPath.substr(0, jPath.length - options.textNodeName.length - 1); + let tagName = jPath.substr(jPath.lastIndexOf(".") + 1); + for (let index in options.stopNodes) { + if (options.stopNodes[index] === jPath || options.stopNodes[index] === "*." + tagName) return true; + } + return false; +} + +function replaceEntitiesValue(textValue, options) { + if (textValue && textValue.length > 0 && options.processEntities) { + for (let i = 0; i < options.entities.length; i++) { + const entity = options.entities[i]; + textValue = textValue.replace(entity.regex, entity.val); + } + } + return textValue; +} +module.exports = toXml; + + +/***/ }), + +/***/ 6072: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const util = __nccwpck_require__(8280); + +//TODO: handle comments +function readDocType(xmlData, i){ + + const entities = {}; + if( xmlData[i + 3] === 'O' && + xmlData[i + 4] === 'C' && + xmlData[i + 5] === 'T' && + xmlData[i + 6] === 'Y' && + xmlData[i + 7] === 'P' && + xmlData[i + 8] === 'E') + { + i = i+9; + let angleBracketsCount = 1; + let hasBody = false, comment = false; + let exp = ""; + for(;i') { //Read tag content + if(comment){ + if( xmlData[i - 1] === "-" && xmlData[i - 2] === "-"){ + comment = false; + angleBracketsCount--; + } + }else{ + angleBracketsCount--; + } + if (angleBracketsCount === 0) { + break; + } + }else if( xmlData[i] === '['){ + hasBody = true; + }else{ + exp += xmlData[i]; + } + } + if(angleBracketsCount !== 0){ + throw new Error(`Unclosed DOCTYPE`); + } + }else{ + throw new Error(`Invalid Tag instead of DOCTYPE`); + } + return {entities, i}; +} + +function readEntityExp(xmlData,i){ + //External entities are not supported + // + + //Parameter entities are not supported + // + + //Internal entities are supported + // + + //read EntityName + let entityName = ""; + for (; i < xmlData.length && (xmlData[i] !== "'" && xmlData[i] !== '"' ); i++) { + // if(xmlData[i] === " ") continue; + // else + entityName += xmlData[i]; + } + entityName = entityName.trim(); + if(entityName.indexOf(" ") !== -1) throw new Error("External entites are not supported"); + + //read Entity Value + const startChar = xmlData[i++]; + let val = "" + for (; i < xmlData.length && xmlData[i] !== startChar ; i++) { + val += xmlData[i]; + } + return [entityName, val, i]; +} + +function isComment(xmlData, i){ + if(xmlData[i+1] === '!' && + xmlData[i+2] === '-' && + xmlData[i+3] === '-') return true + return false +} +function isEntity(xmlData, i){ + if(xmlData[i+1] === '!' && + xmlData[i+2] === 'E' && + xmlData[i+3] === 'N' && + xmlData[i+4] === 'T' && + xmlData[i+5] === 'I' && + xmlData[i+6] === 'T' && + xmlData[i+7] === 'Y') return true + return false +} +function isElement(xmlData, i){ + if(xmlData[i+1] === '!' && + xmlData[i+2] === 'E' && + xmlData[i+3] === 'L' && + xmlData[i+4] === 'E' && + xmlData[i+5] === 'M' && + xmlData[i+6] === 'E' && + xmlData[i+7] === 'N' && + xmlData[i+8] === 'T') return true + return false +} + +function isAttlist(xmlData, i){ + if(xmlData[i+1] === '!' && + xmlData[i+2] === 'A' && + xmlData[i+3] === 'T' && + xmlData[i+4] === 'T' && + xmlData[i+5] === 'L' && + xmlData[i+6] === 'I' && + xmlData[i+7] === 'S' && + xmlData[i+8] === 'T') return true + return false +} +function isNotation(xmlData, i){ + if(xmlData[i+1] === '!' && + xmlData[i+2] === 'N' && + xmlData[i+3] === 'O' && + xmlData[i+4] === 'T' && + xmlData[i+5] === 'A' && + xmlData[i+6] === 'T' && + xmlData[i+7] === 'I' && + xmlData[i+8] === 'O' && + xmlData[i+9] === 'N') return true + return false +} + +function validateEntityName(name){ + if (util.isName(name)) + return name; + else + throw new Error(`Invalid entity name ${name}`); +} + +module.exports = readDocType; + + +/***/ }), + +/***/ 6993: +/***/ ((__unused_webpack_module, exports) => { + + +const defaultOptions = { + preserveOrder: false, + attributeNamePrefix: '@_', + attributesGroupName: false, + textNodeName: '#text', + ignoreAttributes: true, + removeNSPrefix: false, // remove NS from tag name or attribute name if true + allowBooleanAttributes: false, //a tag can have attributes without any value + //ignoreRootElement : false, + parseTagValue: true, + parseAttributeValue: false, + trimValues: true, //Trim string values of tag and attributes + cdataPropName: false, + numberParseOptions: { + hex: true, + leadingZeros: true, + eNotation: true + }, + tagValueProcessor: function(tagName, val) { + return val; + }, + attributeValueProcessor: function(attrName, val) { + return val; + }, + stopNodes: [], //nested tags will not be parsed even for errors + alwaysCreateTextNode: false, + isArray: () => false, + commentPropName: false, + unpairedTags: [], + processEntities: true, + htmlEntities: false, + ignoreDeclaration: false, + ignorePiTags: false, + transformTagName: false, + transformAttributeName: false, + updateTag: function(tagName, jPath, attrs){ + return tagName + }, + // skipEmptyListItem: false +}; + +const buildOptions = function(options) { + return Object.assign({}, defaultOptions, options); +}; + +exports.buildOptions = buildOptions; +exports.defaultOptions = defaultOptions; + +/***/ }), + +/***/ 5832: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + +///@ts-check + +const util = __nccwpck_require__(8280); +const xmlNode = __nccwpck_require__(7462); +const readDocType = __nccwpck_require__(6072); +const toNumber = __nccwpck_require__(4526); + +// const regx = +// '<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)' +// .replace(/NAME/g, util.nameRegexp); + +//const tagsRegx = new RegExp("<(\\/?[\\w:\\-\._]+)([^>]*)>(\\s*"+cdataRegx+")*([^<]+)?","g"); +//const tagsRegx = new RegExp("<(\\/?)((\\w*:)?([\\w:\\-\._]+))([^>]*)>([^<]*)("+cdataRegx+"([^<]*))*([^<]+)?","g"); + +class OrderedObjParser{ + constructor(options){ + this.options = options; + this.currentNode = null; + this.tagsNodeStack = []; + this.docTypeEntities = {}; + this.lastEntities = { + "apos" : { regex: /&(apos|#39|#x27);/g, val : "'"}, + "gt" : { regex: /&(gt|#62|#x3E);/g, val : ">"}, + "lt" : { regex: /&(lt|#60|#x3C);/g, val : "<"}, + "quot" : { regex: /&(quot|#34|#x22);/g, val : "\""}, + }; + this.ampEntity = { regex: /&(amp|#38|#x26);/g, val : "&"}; + this.htmlEntities = { + "space": { regex: /&(nbsp|#160);/g, val: " " }, + // "lt" : { regex: /&(lt|#60);/g, val: "<" }, + // "gt" : { regex: /&(gt|#62);/g, val: ">" }, + // "amp" : { regex: /&(amp|#38);/g, val: "&" }, + // "quot" : { regex: /&(quot|#34);/g, val: "\"" }, + // "apos" : { regex: /&(apos|#39);/g, val: "'" }, + "cent" : { regex: /&(cent|#162);/g, val: "¢" }, + "pound" : { regex: /&(pound|#163);/g, val: "£" }, + "yen" : { regex: /&(yen|#165);/g, val: "¥" }, + "euro" : { regex: /&(euro|#8364);/g, val: "€" }, + "copyright" : { regex: /&(copy|#169);/g, val: "©" }, + "reg" : { regex: /&(reg|#174);/g, val: "®" }, + "inr" : { regex: /&(inr|#8377);/g, val: "₹" }, + "num_dec": { regex: /&#([0-9]{1,7});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 10)) }, + "num_hex": { regex: /&#x([0-9a-fA-F]{1,6});/g, val : (_, str) => String.fromCharCode(Number.parseInt(str, 16)) }, + }; + this.addExternalEntities = addExternalEntities; + this.parseXml = parseXml; + this.parseTextData = parseTextData; + this.resolveNameSpace = resolveNameSpace; + this.buildAttributesMap = buildAttributesMap; + this.isItStopNode = isItStopNode; + this.replaceEntitiesValue = replaceEntitiesValue; + this.readStopNodeData = readStopNodeData; + this.saveTextToParentTag = saveTextToParentTag; + this.addChild = addChild; + } + +} + +function addExternalEntities(externalEntities){ + const entKeys = Object.keys(externalEntities); + for (let i = 0; i < entKeys.length; i++) { + const ent = entKeys[i]; + this.lastEntities[ent] = { + regex: new RegExp("&"+ent+";","g"), + val : externalEntities[ent] + } + } +} + +/** + * @param {string} val + * @param {string} tagName + * @param {string} jPath + * @param {boolean} dontTrim + * @param {boolean} hasAttributes + * @param {boolean} isLeafNode + * @param {boolean} escapeEntities + */ +function parseTextData(val, tagName, jPath, dontTrim, hasAttributes, isLeafNode, escapeEntities) { + if (val !== undefined) { + if (this.options.trimValues && !dontTrim) { + val = val.trim(); + } + if(val.length > 0){ + if(!escapeEntities) val = this.replaceEntitiesValue(val); + + const newval = this.options.tagValueProcessor(tagName, val, jPath, hasAttributes, isLeafNode); + if(newval === null || newval === undefined){ + //don't parse + return val; + }else if(typeof newval !== typeof val || newval !== val){ + //overwrite + return newval; + }else if(this.options.trimValues){ + return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions); + }else{ + const trimmedVal = val.trim(); + if(trimmedVal === val){ + return parseValue(val, this.options.parseTagValue, this.options.numberParseOptions); + }else{ + return val; + } + } + } + } +} + +function resolveNameSpace(tagname) { + if (this.options.removeNSPrefix) { + const tags = tagname.split(':'); + const prefix = tagname.charAt(0) === '/' ? '/' : ''; + if (tags[0] === 'xmlns') { + return ''; + } + if (tags.length === 2) { + tagname = prefix + tags[1]; + } + } + return tagname; +} + +//TODO: change regex to capture NS +//const attrsRegx = new RegExp("([\\w\\-\\.\\:]+)\\s*=\\s*(['\"])((.|\n)*?)\\2","gm"); +const attrsRegx = new RegExp('([^\\s=]+)\\s*(=\\s*([\'"])([\\s\\S]*?)\\3)?', 'gm'); + +function buildAttributesMap(attrStr, jPath, tagName) { + if (!this.options.ignoreAttributes && typeof attrStr === 'string') { + // attrStr = attrStr.replace(/\r?\n/g, ' '); + //attrStr = attrStr || attrStr.trim(); + + const matches = util.getAllMatches(attrStr, attrsRegx); + const len = matches.length; //don't make it inline + const attrs = {}; + for (let i = 0; i < len; i++) { + const attrName = this.resolveNameSpace(matches[i][1]); + let oldVal = matches[i][4]; + let aName = this.options.attributeNamePrefix + attrName; + if (attrName.length) { + if (this.options.transformAttributeName) { + aName = this.options.transformAttributeName(aName); + } + if(aName === "__proto__") aName = "#__proto__"; + if (oldVal !== undefined) { + if (this.options.trimValues) { + oldVal = oldVal.trim(); + } + oldVal = this.replaceEntitiesValue(oldVal); + const newVal = this.options.attributeValueProcessor(attrName, oldVal, jPath); + if(newVal === null || newVal === undefined){ + //don't parse + attrs[aName] = oldVal; + }else if(typeof newVal !== typeof oldVal || newVal !== oldVal){ + //overwrite + attrs[aName] = newVal; + }else{ + //parse + attrs[aName] = parseValue( + oldVal, + this.options.parseAttributeValue, + this.options.numberParseOptions + ); + } + } else if (this.options.allowBooleanAttributes) { + attrs[aName] = true; + } + } + } + if (!Object.keys(attrs).length) { + return; + } + if (this.options.attributesGroupName) { + const attrCollection = {}; + attrCollection[this.options.attributesGroupName] = attrs; + return attrCollection; + } + return attrs + } +} + +const parseXml = function(xmlData) { + xmlData = xmlData.replace(/\r\n?/g, "\n"); //TODO: remove this line + const xmlObj = new xmlNode('!xml'); + let currentNode = xmlObj; + let textData = ""; + let jPath = ""; + for(let i=0; i< xmlData.length; i++){//for each char in XML data + const ch = xmlData[i]; + if(ch === '<'){ + // const nextIndex = i+1; + // const _2ndChar = xmlData[nextIndex]; + if( xmlData[i+1] === '/') {//Closing Tag + const closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed.") + let tagName = xmlData.substring(i+2,closeIndex).trim(); + + if(this.options.removeNSPrefix){ + const colonIndex = tagName.indexOf(":"); + if(colonIndex !== -1){ + tagName = tagName.substr(colonIndex+1); + } + } + + if(this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + + if(currentNode){ + textData = this.saveTextToParentTag(textData, currentNode, jPath); + } + + //check if last tag of nested tag was unpaired tag + const lastTagName = jPath.substring(jPath.lastIndexOf(".")+1); + if(tagName && this.options.unpairedTags.indexOf(tagName) !== -1 ){ + throw new Error(`Unpaired tag can not be used as closing tag: `); + } + let propIndex = 0 + if(lastTagName && this.options.unpairedTags.indexOf(lastTagName) !== -1 ){ + propIndex = jPath.lastIndexOf('.', jPath.lastIndexOf('.')-1) + this.tagsNodeStack.pop(); + }else{ + propIndex = jPath.lastIndexOf("."); + } + jPath = jPath.substring(0, propIndex); + + currentNode = this.tagsNodeStack.pop();//avoid recursion, set the parent tag scope + textData = ""; + i = closeIndex; + } else if( xmlData[i+1] === '?') { + + let tagData = readTagExp(xmlData,i, false, "?>"); + if(!tagData) throw new Error("Pi Tag is not closed."); + + textData = this.saveTextToParentTag(textData, currentNode, jPath); + if( (this.options.ignoreDeclaration && tagData.tagName === "?xml") || this.options.ignorePiTags){ + + }else{ + + const childNode = new xmlNode(tagData.tagName); + childNode.add(this.options.textNodeName, ""); + + if(tagData.tagName !== tagData.tagExp && tagData.attrExpPresent){ + childNode[":@"] = this.buildAttributesMap(tagData.tagExp, jPath, tagData.tagName); + } + this.addChild(currentNode, childNode, jPath) + + } + + + i = tagData.closeIndex + 1; + } else if(xmlData.substr(i + 1, 3) === '!--') { + const endIndex = findClosingIndex(xmlData, "-->", i+4, "Comment is not closed.") + if(this.options.commentPropName){ + const comment = xmlData.substring(i + 4, endIndex - 2); + + textData = this.saveTextToParentTag(textData, currentNode, jPath); + + currentNode.add(this.options.commentPropName, [ { [this.options.textNodeName] : comment } ]); + } + i = endIndex; + } else if( xmlData.substr(i + 1, 2) === '!D') { + const result = readDocType(xmlData, i); + this.docTypeEntities = result.entities; + i = result.i; + }else if(xmlData.substr(i + 1, 2) === '![') { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "CDATA is not closed.") - 2; + const tagExp = xmlData.substring(i + 9,closeIndex); + + textData = this.saveTextToParentTag(textData, currentNode, jPath); + + let val = this.parseTextData(tagExp, currentNode.tagname, jPath, true, false, true, true); + if(val == undefined) val = ""; + + //cdata should be set even if it is 0 length string + if(this.options.cdataPropName){ + currentNode.add(this.options.cdataPropName, [ { [this.options.textNodeName] : tagExp } ]); + }else{ + currentNode.add(this.options.textNodeName, val); + } + + i = closeIndex + 2; + }else {//Opening tag + let result = readTagExp(xmlData,i, this.options.removeNSPrefix); + let tagName= result.tagName; + const rawTagName = result.rawTagName; + let tagExp = result.tagExp; + let attrExpPresent = result.attrExpPresent; + let closeIndex = result.closeIndex; + + if (this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + + //save text as child node + if (currentNode && textData) { + if(currentNode.tagname !== '!xml'){ + //when nested tag is found + textData = this.saveTextToParentTag(textData, currentNode, jPath, false); + } + } + + //check if last tag was unpaired tag + const lastTag = currentNode; + if(lastTag && this.options.unpairedTags.indexOf(lastTag.tagname) !== -1 ){ + currentNode = this.tagsNodeStack.pop(); + jPath = jPath.substring(0, jPath.lastIndexOf(".")); + } + if(tagName !== xmlObj.tagname){ + jPath += jPath ? "." + tagName : tagName; + } + if (this.isItStopNode(this.options.stopNodes, jPath, tagName)) { + let tagContent = ""; + //self-closing tag + if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){ + if(tagName[tagName.length - 1] === "/"){ //remove trailing '/' + tagName = tagName.substr(0, tagName.length - 1); + jPath = jPath.substr(0, jPath.length - 1); + tagExp = tagName; + }else{ + tagExp = tagExp.substr(0, tagExp.length - 1); + } + i = result.closeIndex; + } + //unpaired tag + else if(this.options.unpairedTags.indexOf(tagName) !== -1){ + + i = result.closeIndex; + } + //normal tag + else{ + //read until closing tag is found + const result = this.readStopNodeData(xmlData, rawTagName, closeIndex + 1); + if(!result) throw new Error(`Unexpected end of ${rawTagName}`); + i = result.i; + tagContent = result.tagContent; + } + + const childNode = new xmlNode(tagName); + if(tagName !== tagExp && attrExpPresent){ + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + if(tagContent) { + tagContent = this.parseTextData(tagContent, tagName, jPath, true, attrExpPresent, true, true); + } + + jPath = jPath.substr(0, jPath.lastIndexOf(".")); + childNode.add(this.options.textNodeName, tagContent); + + this.addChild(currentNode, childNode, jPath) + }else{ + //selfClosing tag + if(tagExp.length > 0 && tagExp.lastIndexOf("/") === tagExp.length - 1){ + if(tagName[tagName.length - 1] === "/"){ //remove trailing '/' + tagName = tagName.substr(0, tagName.length - 1); + jPath = jPath.substr(0, jPath.length - 1); + tagExp = tagName; + }else{ + tagExp = tagExp.substr(0, tagExp.length - 1); + } + + if(this.options.transformTagName) { + tagName = this.options.transformTagName(tagName); + } + + const childNode = new xmlNode(tagName); + if(tagName !== tagExp && attrExpPresent){ + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + this.addChild(currentNode, childNode, jPath) + jPath = jPath.substr(0, jPath.lastIndexOf(".")); + } + //opening tag + else{ + const childNode = new xmlNode( tagName); + this.tagsNodeStack.push(currentNode); + + if(tagName !== tagExp && attrExpPresent){ + childNode[":@"] = this.buildAttributesMap(tagExp, jPath, tagName); + } + this.addChild(currentNode, childNode, jPath) + currentNode = childNode; + } + textData = ""; + i = closeIndex; + } + } + }else{ + textData += xmlData[i]; + } + } + return xmlObj.child; +} + +function addChild(currentNode, childNode, jPath){ + const result = this.options.updateTag(childNode.tagname, jPath, childNode[":@"]) + if(result === false){ + }else if(typeof result === "string"){ + childNode.tagname = result + currentNode.addChild(childNode); + }else{ + currentNode.addChild(childNode); + } +} + +const replaceEntitiesValue = function(val){ + + if(this.options.processEntities){ + for(let entityName in this.docTypeEntities){ + const entity = this.docTypeEntities[entityName]; + val = val.replace( entity.regx, entity.val); + } + for(let entityName in this.lastEntities){ + const entity = this.lastEntities[entityName]; + val = val.replace( entity.regex, entity.val); + } + if(this.options.htmlEntities){ + for(let entityName in this.htmlEntities){ + const entity = this.htmlEntities[entityName]; + val = val.replace( entity.regex, entity.val); + } + } + val = val.replace( this.ampEntity.regex, this.ampEntity.val); + } + return val; +} +function saveTextToParentTag(textData, currentNode, jPath, isLeafNode) { + if (textData) { //store previously collected data as textNode + if(isLeafNode === undefined) isLeafNode = Object.keys(currentNode.child).length === 0 + + textData = this.parseTextData(textData, + currentNode.tagname, + jPath, + false, + currentNode[":@"] ? Object.keys(currentNode[":@"]).length !== 0 : false, + isLeafNode); + + if (textData !== undefined && textData !== "") + currentNode.add(this.options.textNodeName, textData); + textData = ""; + } + return textData; +} + +//TODO: use jPath to simplify the logic +/** + * + * @param {string[]} stopNodes + * @param {string} jPath + * @param {string} currentTagName + */ +function isItStopNode(stopNodes, jPath, currentTagName){ + const allNodesExp = "*." + currentTagName; + for (const stopNodePath in stopNodes) { + const stopNodeExp = stopNodes[stopNodePath]; + if( allNodesExp === stopNodeExp || jPath === stopNodeExp ) return true; + } + return false; +} + +/** + * Returns the tag Expression and where it is ending handling single-double quotes situation + * @param {string} xmlData + * @param {number} i starting index + * @returns + */ +function tagExpWithClosingIndex(xmlData, i, closingChar = ">"){ + let attrBoundary; + let tagExp = ""; + for (let index = i; index < xmlData.length; index++) { + let ch = xmlData[index]; + if (attrBoundary) { + if (ch === attrBoundary) attrBoundary = "";//reset + } else if (ch === '"' || ch === "'") { + attrBoundary = ch; + } else if (ch === closingChar[0]) { + if(closingChar[1]){ + if(xmlData[index + 1] === closingChar[1]){ + return { + data: tagExp, + index: index + } + } + }else{ + return { + data: tagExp, + index: index + } + } + } else if (ch === '\t') { + ch = " " + } + tagExp += ch; + } +} + +function findClosingIndex(xmlData, str, i, errMsg){ + const closingIndex = xmlData.indexOf(str, i); + if(closingIndex === -1){ + throw new Error(errMsg) + }else{ + return closingIndex + str.length - 1; + } +} + +function readTagExp(xmlData,i, removeNSPrefix, closingChar = ">"){ + const result = tagExpWithClosingIndex(xmlData, i+1, closingChar); + if(!result) return; + let tagExp = result.data; + const closeIndex = result.index; + const separatorIndex = tagExp.search(/\s/); + let tagName = tagExp; + let attrExpPresent = true; + if(separatorIndex !== -1){//separate tag name and attributes expression + tagName = tagExp.substring(0, separatorIndex); + tagExp = tagExp.substring(separatorIndex + 1).trimStart(); + } + + const rawTagName = tagName; + if(removeNSPrefix){ + const colonIndex = tagName.indexOf(":"); + if(colonIndex !== -1){ + tagName = tagName.substr(colonIndex+1); + attrExpPresent = tagName !== result.data.substr(colonIndex + 1); + } + } + + return { + tagName: tagName, + tagExp: tagExp, + closeIndex: closeIndex, + attrExpPresent: attrExpPresent, + rawTagName: rawTagName, + } +} +/** + * find paired tag for a stop node + * @param {string} xmlData + * @param {string} tagName + * @param {number} i + */ +function readStopNodeData(xmlData, tagName, i){ + const startIndex = i; + // Starting at 1 since we already have an open tag + let openTagCount = 1; + + for (; i < xmlData.length; i++) { + if( xmlData[i] === "<"){ + if (xmlData[i+1] === "/") {//close tag + const closeIndex = findClosingIndex(xmlData, ">", i, `${tagName} is not closed`); + let closeTagName = xmlData.substring(i+2,closeIndex).trim(); + if(closeTagName === tagName){ + openTagCount--; + if (openTagCount === 0) { + return { + tagContent: xmlData.substring(startIndex, i), + i : closeIndex + } + } + } + i=closeIndex; + } else if(xmlData[i+1] === '?') { + const closeIndex = findClosingIndex(xmlData, "?>", i+1, "StopNode is not closed.") + i=closeIndex; + } else if(xmlData.substr(i + 1, 3) === '!--') { + const closeIndex = findClosingIndex(xmlData, "-->", i+3, "StopNode is not closed.") + i=closeIndex; + } else if(xmlData.substr(i + 1, 2) === '![') { + const closeIndex = findClosingIndex(xmlData, "]]>", i, "StopNode is not closed.") - 2; + i=closeIndex; + } else { + const tagData = readTagExp(xmlData, i, '>') + + if (tagData) { + const openTagName = tagData && tagData.tagName; + if (openTagName === tagName && tagData.tagExp[tagData.tagExp.length-1] !== "/") { + openTagCount++; + } + i=tagData.closeIndex; + } + } + } + }//end for loop +} + +function parseValue(val, shouldParse, options) { + if (shouldParse && typeof val === 'string') { + //console.log(options) + const newval = val.trim(); + if(newval === 'true' ) return true; + else if(newval === 'false' ) return false; + else return toNumber(val, options); + } else { + if (util.isExist(val)) { + return val; + } else { + return ''; + } + } +} + + +module.exports = OrderedObjParser; + + +/***/ }), + +/***/ 2380: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const { buildOptions} = __nccwpck_require__(6993); +const OrderedObjParser = __nccwpck_require__(5832); +const { prettify} = __nccwpck_require__(2882); +const validator = __nccwpck_require__(1739); + +class XMLParser{ + + constructor(options){ + this.externalEntities = {}; + this.options = buildOptions(options); + + } + /** + * Parse XML dats to JS object + * @param {string|Buffer} xmlData + * @param {boolean|Object} validationOption + */ + parse(xmlData,validationOption){ + if(typeof xmlData === "string"){ + }else if( xmlData.toString){ + xmlData = xmlData.toString(); + }else{ + throw new Error("XML data is accepted in String or Bytes[] form.") + } + if( validationOption){ + if(validationOption === true) validationOption = {}; //validate with default options + + const result = validator.validate(xmlData, validationOption); + if (result !== true) { + throw Error( `${result.err.msg}:${result.err.line}:${result.err.col}` ) + } + } + const orderedObjParser = new OrderedObjParser(this.options); + orderedObjParser.addExternalEntities(this.externalEntities); + const orderedResult = orderedObjParser.parseXml(xmlData); + if(this.options.preserveOrder || orderedResult === undefined) return orderedResult; + else return prettify(orderedResult, this.options); + } + + /** + * Add Entity which is not by default supported by this library + * @param {string} key + * @param {string} value + */ + addEntity(key, value){ + if(value.indexOf("&") !== -1){ + throw new Error("Entity value can't have '&'") + }else if(key.indexOf("&") !== -1 || key.indexOf(";") !== -1){ + throw new Error("An entity must be set without '&' and ';'. Eg. use '#xD' for ' '") + }else if(value === "&"){ + throw new Error("An entity with value '&' is not permitted"); + }else{ + this.externalEntities[key] = value; + } + } +} + +module.exports = XMLParser; + +/***/ }), + +/***/ 2882: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +/** + * + * @param {array} node + * @param {any} options + * @returns + */ +function prettify(node, options){ + return compress( node, options); +} + +/** + * + * @param {array} arr + * @param {object} options + * @param {string} jPath + * @returns object + */ +function compress(arr, options, jPath){ + let text; + const compressedObj = {}; + for (let i = 0; i < arr.length; i++) { + const tagObj = arr[i]; + const property = propName(tagObj); + let newJpath = ""; + if(jPath === undefined) newJpath = property; + else newJpath = jPath + "." + property; + + if(property === options.textNodeName){ + if(text === undefined) text = tagObj[property]; + else text += "" + tagObj[property]; + }else if(property === undefined){ + continue; + }else if(tagObj[property]){ + + let val = compress(tagObj[property], options, newJpath); + const isLeaf = isLeafTag(val, options); + + if(tagObj[":@"]){ + assignAttributes( val, tagObj[":@"], newJpath, options); + }else if(Object.keys(val).length === 1 && val[options.textNodeName] !== undefined && !options.alwaysCreateTextNode){ + val = val[options.textNodeName]; + }else if(Object.keys(val).length === 0){ + if(options.alwaysCreateTextNode) val[options.textNodeName] = ""; + else val = ""; + } + + if(compressedObj[property] !== undefined && compressedObj.hasOwnProperty(property)) { + if(!Array.isArray(compressedObj[property])) { + compressedObj[property] = [ compressedObj[property] ]; + } + compressedObj[property].push(val); + }else{ + //TODO: if a node is not an array, then check if it should be an array + //also determine if it is a leaf node + if (options.isArray(property, newJpath, isLeaf )) { + compressedObj[property] = [val]; + }else{ + compressedObj[property] = val; + } + } + } + + } + // if(text && text.length > 0) compressedObj[options.textNodeName] = text; + if(typeof text === "string"){ + if(text.length > 0) compressedObj[options.textNodeName] = text; + }else if(text !== undefined) compressedObj[options.textNodeName] = text; + return compressedObj; +} + +function propName(obj){ + const keys = Object.keys(obj); + for (let i = 0; i < keys.length; i++) { + const key = keys[i]; + if(key !== ":@") return key; + } +} + +function assignAttributes(obj, attrMap, jpath, options){ + if (attrMap) { + const keys = Object.keys(attrMap); + const len = keys.length; //don't make it inline + for (let i = 0; i < len; i++) { + const atrrName = keys[i]; + if (options.isArray(atrrName, jpath + "." + atrrName, true, true)) { + obj[atrrName] = [ attrMap[atrrName] ]; + } else { + obj[atrrName] = attrMap[atrrName]; + } + } + } +} + +function isLeafTag(obj, options){ + const { textNodeName } = options; + const propCount = Object.keys(obj).length; + + if (propCount === 0) { + return true; + } + + if ( + propCount === 1 && + (obj[textNodeName] || typeof obj[textNodeName] === "boolean" || obj[textNodeName] === 0) + ) { + return true; + } + + return false; +} +exports.prettify = prettify; + + +/***/ }), + +/***/ 7462: +/***/ ((module) => { + +"use strict"; + + +class XmlNode{ + constructor(tagname) { + this.tagname = tagname; + this.child = []; //nested tags, text, cdata, comments in order + this[":@"] = {}; //attributes map + } + add(key,val){ + // this.child.push( {name : key, val: val, isCdata: isCdata }); + if(key === "__proto__") key = "#__proto__"; + this.child.push( {[key]: val }); + } + addChild(node) { + if(node.tagname === "__proto__") node.tagname = "#__proto__"; + if(node[":@"] && Object.keys(node[":@"]).length > 0){ + this.child.push( { [node.tagname]: node.child, [":@"]: node[":@"] }); + }else{ + this.child.push( { [node.tagname]: node.child }); + } + }; +}; + + +module.exports = XmlNode; + +/***/ }), + +/***/ 4526: +/***/ ((module) => { + +const hexRegex = /^[-+]?0x[a-fA-F0-9]+$/; +const numRegex = /^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/; +// const octRegex = /0x[a-z0-9]+/; +// const binRegex = /0x[a-z0-9]+/; + + +//polyfill +if (!Number.parseInt && window.parseInt) { + Number.parseInt = window.parseInt; +} +if (!Number.parseFloat && window.parseFloat) { + Number.parseFloat = window.parseFloat; +} + + +const consider = { + hex : true, + leadingZeros: true, + decimalPoint: "\.", + eNotation: true + //skipLike: /regex/ +}; + +function toNumber(str, options = {}){ + // const options = Object.assign({}, consider); + // if(opt.leadingZeros === false){ + // options.leadingZeros = false; + // }else if(opt.hex === false){ + // options.hex = false; + // } + + options = Object.assign({}, consider, options ); + if(!str || typeof str !== "string" ) return str; + + let trimmedStr = str.trim(); + // if(trimmedStr === "0.0") return 0; + // else if(trimmedStr === "+0.0") return 0; + // else if(trimmedStr === "-0.0") return -0; + + if(options.skipLike !== undefined && options.skipLike.test(trimmedStr)) return str; + else if (options.hex && hexRegex.test(trimmedStr)) { + return Number.parseInt(trimmedStr, 16); + // } else if (options.parseOct && octRegex.test(str)) { + // return Number.parseInt(val, 8); + // }else if (options.parseBin && binRegex.test(str)) { + // return Number.parseInt(val, 2); + }else{ + //separate negative sign, leading zeros, and rest number + const match = numRegex.exec(trimmedStr); + if(match){ + const sign = match[1]; + const leadingZeros = match[2]; + let numTrimmedByZeros = trimZeros(match[3]); //complete num without leading zeros + //trim ending zeros for floating number + + const eNotation = match[4] || match[6]; + if(!options.leadingZeros && leadingZeros.length > 0 && sign && trimmedStr[2] !== ".") return str; //-0123 + else if(!options.leadingZeros && leadingZeros.length > 0 && !sign && trimmedStr[1] !== ".") return str; //0123 + else{//no leading zeros or leading zeros are allowed + const num = Number(trimmedStr); + const numStr = "" + num; + if(numStr.search(/[eE]/) !== -1){ //given number is long and parsed to eNotation + if(options.eNotation) return num; + else return str; + }else if(eNotation){ //given number has enotation + if(options.eNotation) return num; + else return str; + }else if(trimmedStr.indexOf(".") !== -1){ //floating number + // const decimalPart = match[5].substr(1); + // const intPart = trimmedStr.substr(0,trimmedStr.indexOf(".")); + + + // const p = numStr.indexOf("."); + // const givenIntPart = numStr.substr(0,p); + // const givenDecPart = numStr.substr(p+1); + if(numStr === "0" && (numTrimmedByZeros === "") ) return num; //0.0 + else if(numStr === numTrimmedByZeros) return num; //0.456. 0.79000 + else if( sign && numStr === "-"+numTrimmedByZeros) return num; + else return str; + } + + if(leadingZeros){ + // if(numTrimmedByZeros === numStr){ + // if(options.leadingZeros) return num; + // else return str; + // }else return str; + if(numTrimmedByZeros === numStr) return num; + else if(sign+numTrimmedByZeros === numStr) return num; + else return str; + } + + if(trimmedStr === numStr) return num; + else if(trimmedStr === sign+numStr) return num; + // else{ + // //number with +/- sign + // trimmedStr.test(/[-+][0-9]); + + // } + return str; + } + // else if(!eNotation && trimmedStr && trimmedStr !== Number(trimmedStr) ) return str; + + }else{ //non-numeric string + return str; + } + } +} + +/** + * + * @param {string} numStr without leading zeros + * @returns + */ +function trimZeros(numStr){ + if(numStr && numStr.indexOf(".") !== -1){//float + numStr = numStr.replace(/0+$/, ""); //remove ending zeros + if(numStr === ".") numStr = "0"; + else if(numStr[0] === ".") numStr = "0"+numStr; + else if(numStr[numStr.length-1] === ".") numStr = numStr.substr(0,numStr.length-1); + return numStr; + } + return numStr; +} +module.exports = toNumber + + +/***/ }), + +/***/ 4351: +/***/ ((module) => { + +/****************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */ +/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */ +var __extends; +var __assign; +var __rest; +var __decorate; +var __param; +var __esDecorate; +var __runInitializers; +var __propKey; +var __setFunctionName; +var __metadata; +var __awaiter; +var __generator; +var __exportStar; +var __values; +var __read; +var __spread; +var __spreadArrays; +var __spreadArray; +var __await; +var __asyncGenerator; +var __asyncDelegator; +var __asyncValues; +var __makeTemplateObject; +var __importStar; +var __importDefault; +var __classPrivateFieldGet; +var __classPrivateFieldSet; +var __classPrivateFieldIn; +var __createBinding; +var __addDisposableResource; +var __disposeResources; +var __rewriteRelativeImportExtension; +(function (factory) { + var root = typeof global === "object" ? global : typeof self === "object" ? self : typeof this === "object" ? this : {}; + if (typeof define === "function" && define.amd) { + define("tslib", ["exports"], function (exports) { factory(createExporter(root, createExporter(exports))); }); + } + else if ( true && typeof module.exports === "object") { + factory(createExporter(root, createExporter(module.exports))); + } + else { + factory(createExporter(root)); + } + function createExporter(exports, previous) { + if (exports !== root) { + if (typeof Object.create === "function") { + Object.defineProperty(exports, "__esModule", { value: true }); + } + else { + exports.__esModule = true; + } + } + return function (id, v) { return exports[id] = previous ? previous(id, v) : v; }; + } +}) +(function (exporter) { + var extendStatics = Object.setPrototypeOf || + ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || + function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; + + __extends = function (d, b) { + if (typeof b !== "function" && b !== null) + throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + extendStatics(d, b); + function __() { this.constructor = d; } + d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); + }; + + __assign = Object.assign || function (t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p]; + } + return t; + }; + + __rest = function (s, e) { + var t = {}; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) + t[p] = s[p]; + if (s != null && typeof Object.getOwnPropertySymbols === "function") + for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) { + if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) + t[p[i]] = s[p[i]]; + } + return t; + }; + + __decorate = function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; + }; + + __param = function (paramIndex, decorator) { + return function (target, key) { decorator(target, key, paramIndex); } + }; + + __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { + function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } + var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; + var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null; + var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {}); + var _, done = false; + for (var i = decorators.length - 1; i >= 0; i--) { + var context = {}; + for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p]; + for (var p in contextIn.access) context.access[p] = contextIn.access[p]; + context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); }; + var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context); + if (kind === "accessor") { + if (result === void 0) continue; + if (result === null || typeof result !== "object") throw new TypeError("Object expected"); + if (_ = accept(result.get)) descriptor.get = _; + if (_ = accept(result.set)) descriptor.set = _; + if (_ = accept(result.init)) initializers.unshift(_); + } + else if (_ = accept(result)) { + if (kind === "field") initializers.unshift(_); + else descriptor[key] = _; + } + } + if (target) Object.defineProperty(target, contextIn.name, descriptor); + done = true; + }; + + __runInitializers = function (thisArg, initializers, value) { + var useValue = arguments.length > 2; + for (var i = 0; i < initializers.length; i++) { + value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg); + } + return useValue ? value : void 0; + }; + + __propKey = function (x) { + return typeof x === "symbol" ? x : "".concat(x); + }; + + __setFunctionName = function (f, name, prefix) { + if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; + return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); + }; + + __metadata = function (metadataKey, metadataValue) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue); + }; + + __awaiter = function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + + __generator = function (thisArg, body) { + var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); + return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; + function verb(n) { return function (v) { return step([n, v]); }; } + function step(op) { + if (f) throw new TypeError("Generator is already executing."); + while (g && (g = 0, op[0] && (_ = 0)), _) try { + if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; + if (y = 0, t) op = [op[0] & 2, t.value]; + switch (op[0]) { + case 0: case 1: t = op; break; + case 4: _.label++; return { value: op[1], done: false }; + case 5: _.label++; y = op[1]; op = [0]; continue; + case 7: op = _.ops.pop(); _.trys.pop(); continue; + default: + if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } + if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } + if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } + if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } + if (t[2]) _.ops.pop(); + _.trys.pop(); continue; + } + op = body.call(thisArg, _); + } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } + if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; + } + }; + + __exportStar = function(m, o) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p); + }; + + __createBinding = Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + }); + + __values = function (o) { + var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; + if (m) return m.call(o); + if (o && typeof o.length === "number") return { + next: function () { + if (o && i >= o.length) o = void 0; + return { value: o && o[i++], done: !o }; + } + }; + throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); + }; + + __read = function (o, n) { + var m = typeof Symbol === "function" && o[Symbol.iterator]; + if (!m) return o; + var i = m.call(o), r, ar = [], e; + try { + while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); + } + catch (error) { e = { error: error }; } + finally { + try { + if (r && !r.done && (m = i["return"])) m.call(i); + } + finally { if (e) throw e.error; } + } + return ar; + }; + + /** @deprecated */ + __spread = function () { + for (var ar = [], i = 0; i < arguments.length; i++) + ar = ar.concat(__read(arguments[i])); + return ar; + }; + + /** @deprecated */ + __spreadArrays = function () { + for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length; + for (var r = Array(s), k = 0, i = 0; i < il; i++) + for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) + r[k] = a[j]; + return r; + }; + + __spreadArray = function (to, from, pack) { + if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { + if (ar || !(i in from)) { + if (!ar) ar = Array.prototype.slice.call(from, 0, i); + ar[i] = from[i]; + } + } + return to.concat(ar || Array.prototype.slice.call(from)); + }; + + __await = function (v) { + return this instanceof __await ? (this.v = v, this) : new __await(v); + }; + + __asyncGenerator = function (thisArg, _arguments, generator) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var g = generator.apply(thisArg, _arguments || []), i, q = []; + return i = Object.create((typeof AsyncIterator === "function" ? AsyncIterator : Object).prototype), verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i; + function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; } + function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } } + function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } } + function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); } + function fulfill(value) { resume("next", value); } + function reject(value) { resume("throw", value); } + function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); } + }; + + __asyncDelegator = function (o) { + var i, p; + return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i; + function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; } + }; + + __asyncValues = function (o) { + if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); + var m = o[Symbol.asyncIterator], i; + return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i); + function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } + function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } + }; + + __makeTemplateObject = function (cooked, raw) { + if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } + return cooked; + }; + + var __setModuleDefault = Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + }; + + var ownKeys = function(o) { + ownKeys = Object.getOwnPropertyNames || function (o) { + var ar = []; + for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; + return ar; + }; + return ownKeys(o); + }; + + __importStar = function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); + __setModuleDefault(result, mod); + return result; + }; + + __importDefault = function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + + __classPrivateFieldGet = function (receiver, state, kind, f) { + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); + return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver); + }; + + __classPrivateFieldSet = function (receiver, state, value, kind, f) { + if (kind === "m") throw new TypeError("Private method is not writable"); + if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); + if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it"); + return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value; + }; + + __classPrivateFieldIn = function (state, receiver) { + if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use 'in' operator on non-object"); + return typeof state === "function" ? receiver === state : state.has(receiver); + }; + + __addDisposableResource = function (env, value, async) { + if (value !== null && value !== void 0) { + if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); + var dispose, inner; + if (async) { + if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined."); + dispose = value[Symbol.asyncDispose]; + } + if (dispose === void 0) { + if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined."); + dispose = value[Symbol.dispose]; + if (async) inner = dispose; + } + if (typeof dispose !== "function") throw new TypeError("Object not disposable."); + if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } }; + env.stack.push({ value: value, dispose: dispose, async: async }); + } + else if (async) { + env.stack.push({ async: true }); + } + return value; + }; + + var _SuppressedError = typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) { + var e = new Error(message); + return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e; + }; + + __disposeResources = function (env) { + function fail(e) { + env.error = env.hasError ? new _SuppressedError(e, env.error, "An error was suppressed during disposal.") : e; + env.hasError = true; + } + var r, s = 0; + function next() { + while (r = env.stack.pop()) { + try { + if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next); + if (r.dispose) { + var result = r.dispose.call(r.value); + if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); }); + } + else s |= 1; + } + catch (e) { + fail(e); + } + } + if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve(); + if (env.hasError) throw env.error; + } + return next(); + }; + + __rewriteRelativeImportExtension = function (path, preserveJsx) { + if (typeof path === "string" && /^\.\.?\//.test(path)) { + return path.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) { + return tsx ? preserveJsx ? ".jsx" : ".js" : d && (!ext || !cm) ? m : (d + ext + "." + cm.toLowerCase() + "js"); + }); + } + return path; + }; + + exporter("__extends", __extends); + exporter("__assign", __assign); + exporter("__rest", __rest); + exporter("__decorate", __decorate); + exporter("__param", __param); + exporter("__esDecorate", __esDecorate); + exporter("__runInitializers", __runInitializers); + exporter("__propKey", __propKey); + exporter("__setFunctionName", __setFunctionName); + exporter("__metadata", __metadata); + exporter("__awaiter", __awaiter); + exporter("__generator", __generator); + exporter("__exportStar", __exportStar); + exporter("__createBinding", __createBinding); + exporter("__values", __values); + exporter("__read", __read); + exporter("__spread", __spread); + exporter("__spreadArrays", __spreadArrays); + exporter("__spreadArray", __spreadArray); + exporter("__await", __await); + exporter("__asyncGenerator", __asyncGenerator); + exporter("__asyncDelegator", __asyncDelegator); + exporter("__asyncValues", __asyncValues); + exporter("__makeTemplateObject", __makeTemplateObject); + exporter("__importStar", __importStar); + exporter("__importDefault", __importDefault); + exporter("__classPrivateFieldGet", __classPrivateFieldGet); + exporter("__classPrivateFieldSet", __classPrivateFieldSet); + exporter("__classPrivateFieldIn", __classPrivateFieldIn); + exporter("__addDisposableResource", __addDisposableResource); + exporter("__disposeResources", __disposeResources); + exporter("__rewriteRelativeImportExtension", __rewriteRelativeImportExtension); +}); + +0 && (0); + + +/***/ }), + +/***/ 4294: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +module.exports = __nccwpck_require__(4219); + + +/***/ }), + +/***/ 4219: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +var net = __nccwpck_require__(1808); +var tls = __nccwpck_require__(4404); +var http = __nccwpck_require__(3685); +var https = __nccwpck_require__(5687); +var events = __nccwpck_require__(2361); +var assert = __nccwpck_require__(9491); +var util = __nccwpck_require__(3837); + + +exports.httpOverHttp = httpOverHttp; +exports.httpsOverHttp = httpsOverHttp; +exports.httpOverHttps = httpOverHttps; +exports.httpsOverHttps = httpsOverHttps; + + +function httpOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + return agent; +} + +function httpsOverHttp(options) { + var agent = new TunnelingAgent(options); + agent.request = http.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + +function httpOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + return agent; +} + +function httpsOverHttps(options) { + var agent = new TunnelingAgent(options); + agent.request = https.request; + agent.createSocket = createSecureSocket; + agent.defaultPort = 443; + return agent; +} + + +function TunnelingAgent(options) { + var self = this; + self.options = options || {}; + self.proxyOptions = self.options.proxy || {}; + self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets; + self.requests = []; + self.sockets = []; + + self.on('free', function onFree(socket, host, port, localAddress) { + var options = toOptions(host, port, localAddress); + for (var i = 0, len = self.requests.length; i < len; ++i) { + var pending = self.requests[i]; + if (pending.host === options.host && pending.port === options.port) { + // Detect the request to connect same origin server, + // reuse the connection. + self.requests.splice(i, 1); + pending.request.onSocket(socket); + return; + } + } + socket.destroy(); + self.removeSocket(socket); + }); +} +util.inherits(TunnelingAgent, events.EventEmitter); + +TunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) { + var self = this; + var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress)); + + if (self.sockets.length >= this.maxSockets) { + // We are over limit so we'll add it to the queue. + self.requests.push(options); + return; + } + + // If we are under maxSockets create a new one. + self.createSocket(options, function(socket) { + socket.on('free', onFree); + socket.on('close', onCloseOrRemove); + socket.on('agentRemove', onCloseOrRemove); + req.onSocket(socket); + + function onFree() { + self.emit('free', socket, options); + } + + function onCloseOrRemove(err) { + self.removeSocket(socket); + socket.removeListener('free', onFree); + socket.removeListener('close', onCloseOrRemove); + socket.removeListener('agentRemove', onCloseOrRemove); + } + }); +}; + +TunnelingAgent.prototype.createSocket = function createSocket(options, cb) { + var self = this; + var placeholder = {}; + self.sockets.push(placeholder); + + var connectOptions = mergeOptions({}, self.proxyOptions, { + method: 'CONNECT', + path: options.host + ':' + options.port, + agent: false, + headers: { + host: options.host + ':' + options.port + } + }); + if (options.localAddress) { + connectOptions.localAddress = options.localAddress; + } + if (connectOptions.proxyAuth) { + connectOptions.headers = connectOptions.headers || {}; + connectOptions.headers['Proxy-Authorization'] = 'Basic ' + + new Buffer(connectOptions.proxyAuth).toString('base64'); + } + + debug('making CONNECT request'); + var connectReq = self.request(connectOptions); + connectReq.useChunkedEncodingByDefault = false; // for v0.6 + connectReq.once('response', onResponse); // for v0.6 + connectReq.once('upgrade', onUpgrade); // for v0.6 + connectReq.once('connect', onConnect); // for v0.7 or later + connectReq.once('error', onError); + connectReq.end(); + + function onResponse(res) { + // Very hacky. This is necessary to avoid http-parser leaks. + res.upgrade = true; + } + + function onUpgrade(res, socket, head) { + // Hacky. + process.nextTick(function() { + onConnect(res, socket, head); + }); + } + + function onConnect(res, socket, head) { + connectReq.removeAllListeners(); + socket.removeAllListeners(); + + if (res.statusCode !== 200) { + debug('tunneling socket could not be established, statusCode=%d', + res.statusCode); + socket.destroy(); + var error = new Error('tunneling socket could not be established, ' + + 'statusCode=' + res.statusCode); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + if (head.length > 0) { + debug('got illegal response body from proxy'); + socket.destroy(); + var error = new Error('got illegal response body from proxy'); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + return; + } + debug('tunneling connection has established'); + self.sockets[self.sockets.indexOf(placeholder)] = socket; + return cb(socket); + } + + function onError(cause) { + connectReq.removeAllListeners(); + + debug('tunneling socket could not be established, cause=%s\n', + cause.message, cause.stack); + var error = new Error('tunneling socket could not be established, ' + + 'cause=' + cause.message); + error.code = 'ECONNRESET'; + options.request.emit('error', error); + self.removeSocket(placeholder); + } +}; + +TunnelingAgent.prototype.removeSocket = function removeSocket(socket) { + var pos = this.sockets.indexOf(socket) + if (pos === -1) { + return; + } + this.sockets.splice(pos, 1); + + var pending = this.requests.shift(); + if (pending) { + // If we have pending requests and a socket gets closed a new one + // needs to be created to take over in the pool for the one that closed. + this.createSocket(pending, function(socket) { + pending.request.onSocket(socket); + }); + } +}; + +function createSecureSocket(options, cb) { + var self = this; + TunnelingAgent.prototype.createSocket.call(self, options, function(socket) { + var hostHeader = options.request.getHeader('host'); + var tlsOptions = mergeOptions({}, self.options, { + socket: socket, + servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host + }); + + // 0 is dummy port for v0.6 + var secureSocket = tls.connect(0, tlsOptions); + self.sockets[self.sockets.indexOf(socket)] = secureSocket; + cb(secureSocket); + }); +} + + +function toOptions(host, port, localAddress) { + if (typeof host === 'string') { // since v0.10 + return { + host: host, + port: port, + localAddress: localAddress + }; + } + return host; // for v0.11 or later +} + +function mergeOptions(target) { + for (var i = 1, len = arguments.length; i < len; ++i) { + var overrides = arguments[i]; + if (typeof overrides === 'object') { + var keys = Object.keys(overrides); + for (var j = 0, keyLen = keys.length; j < keyLen; ++j) { + var k = keys[j]; + if (overrides[k] !== undefined) { + target[k] = overrides[k]; + } + } + } + } + return target; +} + + +var debug; +if (process.env.NODE_DEBUG && /\btunnel\b/.test(process.env.NODE_DEBUG)) { + debug = function() { + var args = Array.prototype.slice.call(arguments); + if (typeof args[0] === 'string') { + args[0] = 'TUNNEL: ' + args[0]; + } else { + args.unshift('TUNNEL:'); + } + console.error.apply(console, args); + } +} else { + debug = function() {}; +} +exports.debug = debug; // for test + + +/***/ }), + +/***/ 1773: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const Client = __nccwpck_require__(3598) +const Dispatcher = __nccwpck_require__(412) +const errors = __nccwpck_require__(8045) +const Pool = __nccwpck_require__(4634) +const BalancedPool = __nccwpck_require__(7931) +const Agent = __nccwpck_require__(7890) +const util = __nccwpck_require__(3983) +const { InvalidArgumentError } = errors +const api = __nccwpck_require__(4059) +const buildConnector = __nccwpck_require__(2067) +const MockClient = __nccwpck_require__(8687) +const MockAgent = __nccwpck_require__(6771) +const MockPool = __nccwpck_require__(6193) +const mockErrors = __nccwpck_require__(888) +const ProxyAgent = __nccwpck_require__(7858) +const RetryHandler = __nccwpck_require__(2286) +const { getGlobalDispatcher, setGlobalDispatcher } = __nccwpck_require__(1892) +const DecoratorHandler = __nccwpck_require__(6930) +const RedirectHandler = __nccwpck_require__(2860) +const createRedirectInterceptor = __nccwpck_require__(8861) + +let hasCrypto +try { + __nccwpck_require__(6113) + hasCrypto = true +} catch { + hasCrypto = false +} + +Object.assign(Dispatcher.prototype, api) + +module.exports.Dispatcher = Dispatcher +module.exports.Client = Client +module.exports.Pool = Pool +module.exports.BalancedPool = BalancedPool +module.exports.Agent = Agent +module.exports.ProxyAgent = ProxyAgent +module.exports.RetryHandler = RetryHandler + +module.exports.DecoratorHandler = DecoratorHandler +module.exports.RedirectHandler = RedirectHandler +module.exports.createRedirectInterceptor = createRedirectInterceptor + +module.exports.buildConnector = buildConnector +module.exports.errors = errors + +function makeDispatcher (fn) { + return (url, opts, handler) => { + if (typeof opts === 'function') { + handler = opts + opts = null + } + + if (!url || (typeof url !== 'string' && typeof url !== 'object' && !(url instanceof URL))) { + throw new InvalidArgumentError('invalid url') + } + + if (opts != null && typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + if (opts && opts.path != null) { + if (typeof opts.path !== 'string') { + throw new InvalidArgumentError('invalid opts.path') + } + + let path = opts.path + if (!opts.path.startsWith('/')) { + path = `/${path}` + } + + url = new URL(util.parseOrigin(url).origin + path) + } else { + if (!opts) { + opts = typeof url === 'object' ? url : {} + } + + url = util.parseURL(url) + } + + const { agent, dispatcher = getGlobalDispatcher() } = opts + + if (agent) { + throw new InvalidArgumentError('unsupported opts.agent. Did you mean opts.client?') + } + + return fn.call(dispatcher, { + ...opts, + origin: url.origin, + path: url.search ? `${url.pathname}${url.search}` : url.pathname, + method: opts.method || (opts.body ? 'PUT' : 'GET') + }, handler) + } +} + +module.exports.setGlobalDispatcher = setGlobalDispatcher +module.exports.getGlobalDispatcher = getGlobalDispatcher + +if (util.nodeMajor > 16 || (util.nodeMajor === 16 && util.nodeMinor >= 8)) { + let fetchImpl = null + module.exports.fetch = async function fetch (resource) { + if (!fetchImpl) { + fetchImpl = (__nccwpck_require__(4881).fetch) + } + + try { + return await fetchImpl(...arguments) + } catch (err) { + if (typeof err === 'object') { + Error.captureStackTrace(err, this) + } + + throw err + } + } + module.exports.Headers = __nccwpck_require__(554).Headers + module.exports.Response = __nccwpck_require__(7823).Response + module.exports.Request = __nccwpck_require__(8359).Request + module.exports.FormData = __nccwpck_require__(2015).FormData + module.exports.File = __nccwpck_require__(8511).File + module.exports.FileReader = __nccwpck_require__(1446).FileReader + + const { setGlobalOrigin, getGlobalOrigin } = __nccwpck_require__(1246) + + module.exports.setGlobalOrigin = setGlobalOrigin + module.exports.getGlobalOrigin = getGlobalOrigin + + const { CacheStorage } = __nccwpck_require__(7907) + const { kConstruct } = __nccwpck_require__(9174) + + // Cache & CacheStorage are tightly coupled with fetch. Even if it may run + // in an older version of Node, it doesn't have any use without fetch. + module.exports.caches = new CacheStorage(kConstruct) +} + +if (util.nodeMajor >= 16) { + const { deleteCookie, getCookies, getSetCookies, setCookie } = __nccwpck_require__(1724) + + module.exports.deleteCookie = deleteCookie + module.exports.getCookies = getCookies + module.exports.getSetCookies = getSetCookies + module.exports.setCookie = setCookie + + const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685) + + module.exports.parseMIMEType = parseMIMEType + module.exports.serializeAMimeType = serializeAMimeType +} + +if (util.nodeMajor >= 18 && hasCrypto) { + const { WebSocket } = __nccwpck_require__(4284) + + module.exports.WebSocket = WebSocket +} + +module.exports.request = makeDispatcher(api.request) +module.exports.stream = makeDispatcher(api.stream) +module.exports.pipeline = makeDispatcher(api.pipeline) +module.exports.connect = makeDispatcher(api.connect) +module.exports.upgrade = makeDispatcher(api.upgrade) + +module.exports.MockClient = MockClient +module.exports.MockPool = MockPool +module.exports.MockAgent = MockAgent +module.exports.mockErrors = mockErrors + + +/***/ }), + +/***/ 7890: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { InvalidArgumentError } = __nccwpck_require__(8045) +const { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = __nccwpck_require__(2785) +const DispatcherBase = __nccwpck_require__(4839) +const Pool = __nccwpck_require__(4634) +const Client = __nccwpck_require__(3598) +const util = __nccwpck_require__(3983) +const createRedirectInterceptor = __nccwpck_require__(8861) +const { WeakRef, FinalizationRegistry } = __nccwpck_require__(6436)() + +const kOnConnect = Symbol('onConnect') +const kOnDisconnect = Symbol('onDisconnect') +const kOnConnectionError = Symbol('onConnectionError') +const kMaxRedirections = Symbol('maxRedirections') +const kOnDrain = Symbol('onDrain') +const kFactory = Symbol('factory') +const kFinalizer = Symbol('finalizer') +const kOptions = Symbol('options') + +function defaultFactory (origin, opts) { + return opts && opts.connections === 1 + ? new Client(origin, opts) + : new Pool(origin, opts) +} + +class Agent extends DispatcherBase { + constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) { + super() + + if (typeof factory !== 'function') { + throw new InvalidArgumentError('factory must be a function.') + } + + if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') { + throw new InvalidArgumentError('connect must be a function or an object') + } + + if (!Number.isInteger(maxRedirections) || maxRedirections < 0) { + throw new InvalidArgumentError('maxRedirections must be a positive number') + } + + if (connect && typeof connect !== 'function') { + connect = { ...connect } + } + + this[kInterceptors] = options.interceptors && options.interceptors.Agent && Array.isArray(options.interceptors.Agent) + ? options.interceptors.Agent + : [createRedirectInterceptor({ maxRedirections })] + + this[kOptions] = { ...util.deepClone(options), connect } + this[kOptions].interceptors = options.interceptors + ? { ...options.interceptors } + : undefined + this[kMaxRedirections] = maxRedirections + this[kFactory] = factory + this[kClients] = new Map() + this[kFinalizer] = new FinalizationRegistry(/* istanbul ignore next: gc is undeterministic */ key => { + const ref = this[kClients].get(key) + if (ref !== undefined && ref.deref() === undefined) { + this[kClients].delete(key) + } + }) + + const agent = this + + this[kOnDrain] = (origin, targets) => { + agent.emit('drain', origin, [agent, ...targets]) + } + + this[kOnConnect] = (origin, targets) => { + agent.emit('connect', origin, [agent, ...targets]) + } + + this[kOnDisconnect] = (origin, targets, err) => { + agent.emit('disconnect', origin, [agent, ...targets], err) + } + + this[kOnConnectionError] = (origin, targets, err) => { + agent.emit('connectionError', origin, [agent, ...targets], err) + } + } + + get [kRunning] () { + let ret = 0 + for (const ref of this[kClients].values()) { + const client = ref.deref() + /* istanbul ignore next: gc is undeterministic */ + if (client) { + ret += client[kRunning] + } + } + return ret + } + + [kDispatch] (opts, handler) { + let key + if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) { + key = String(opts.origin) + } else { + throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.') + } + + const ref = this[kClients].get(key) + + let dispatcher = ref ? ref.deref() : null + if (!dispatcher) { + dispatcher = this[kFactory](opts.origin, this[kOptions]) + .on('drain', this[kOnDrain]) + .on('connect', this[kOnConnect]) + .on('disconnect', this[kOnDisconnect]) + .on('connectionError', this[kOnConnectionError]) + + this[kClients].set(key, new WeakRef(dispatcher)) + this[kFinalizer].register(dispatcher, key) + } + + return dispatcher.dispatch(opts, handler) + } + + async [kClose] () { + const closePromises = [] + for (const ref of this[kClients].values()) { + const client = ref.deref() + /* istanbul ignore else: gc is undeterministic */ + if (client) { + closePromises.push(client.close()) + } + } + + await Promise.all(closePromises) + } + + async [kDestroy] (err) { + const destroyPromises = [] + for (const ref of this[kClients].values()) { + const client = ref.deref() + /* istanbul ignore else: gc is undeterministic */ + if (client) { + destroyPromises.push(client.destroy(err)) + } + } + + await Promise.all(destroyPromises) + } +} + +module.exports = Agent + + +/***/ }), + +/***/ 7032: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const { addAbortListener } = __nccwpck_require__(3983) +const { RequestAbortedError } = __nccwpck_require__(8045) + +const kListener = Symbol('kListener') +const kSignal = Symbol('kSignal') + +function abort (self) { + if (self.abort) { + self.abort() + } else { + self.onError(new RequestAbortedError()) + } +} + +function addSignal (self, signal) { + self[kSignal] = null + self[kListener] = null + + if (!signal) { + return + } + + if (signal.aborted) { + abort(self) + return + } + + self[kSignal] = signal + self[kListener] = () => { + abort(self) + } + + addAbortListener(self[kSignal], self[kListener]) +} + +function removeSignal (self) { + if (!self[kSignal]) { + return + } + + if ('removeEventListener' in self[kSignal]) { + self[kSignal].removeEventListener('abort', self[kListener]) + } else { + self[kSignal].removeListener('abort', self[kListener]) + } + + self[kSignal] = null + self[kListener] = null +} + +module.exports = { + addSignal, + removeSignal +} + + +/***/ }), + +/***/ 9744: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { AsyncResource } = __nccwpck_require__(852) +const { InvalidArgumentError, RequestAbortedError, SocketError } = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { addSignal, removeSignal } = __nccwpck_require__(7032) + +class ConnectHandler extends AsyncResource { + constructor (opts, callback) { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + const { signal, opaque, responseHeaders } = opts + + if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') { + throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget') + } + + super('UNDICI_CONNECT') + + this.opaque = opaque || null + this.responseHeaders = responseHeaders || null + this.callback = callback + this.abort = null + + addSignal(this, signal) + } + + onConnect (abort, context) { + if (!this.callback) { + throw new RequestAbortedError() + } + + this.abort = abort + this.context = context + } + + onHeaders () { + throw new SocketError('bad connect', null) + } + + onUpgrade (statusCode, rawHeaders, socket) { + const { callback, opaque, context } = this + + removeSignal(this) + + this.callback = null + + let headers = rawHeaders + // Indicates is an HTTP2Session + if (headers != null) { + headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + } + + this.runInAsyncScope(callback, null, null, { + statusCode, + headers, + socket, + opaque, + context + }) + } + + onError (err) { + const { callback, opaque } = this + + removeSignal(this) + + if (callback) { + this.callback = null + queueMicrotask(() => { + this.runInAsyncScope(callback, null, err, { opaque }) + }) + } + } +} + +function connect (opts, callback) { + if (callback === undefined) { + return new Promise((resolve, reject) => { + connect.call(this, opts, (err, data) => { + return err ? reject(err) : resolve(data) + }) + }) + } + + try { + const connectHandler = new ConnectHandler(opts, callback) + this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler) + } catch (err) { + if (typeof callback !== 'function') { + throw err + } + const opaque = opts && opts.opaque + queueMicrotask(() => callback(err, { opaque })) + } +} + +module.exports = connect + + +/***/ }), + +/***/ 8752: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + Readable, + Duplex, + PassThrough +} = __nccwpck_require__(2781) +const { + InvalidArgumentError, + InvalidReturnValueError, + RequestAbortedError +} = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { AsyncResource } = __nccwpck_require__(852) +const { addSignal, removeSignal } = __nccwpck_require__(7032) +const assert = __nccwpck_require__(9491) + +const kResume = Symbol('resume') + +class PipelineRequest extends Readable { + constructor () { + super({ autoDestroy: true }) + + this[kResume] = null + } + + _read () { + const { [kResume]: resume } = this + + if (resume) { + this[kResume] = null + resume() + } + } + + _destroy (err, callback) { + this._read() + + callback(err) + } +} + +class PipelineResponse extends Readable { + constructor (resume) { + super({ autoDestroy: true }) + this[kResume] = resume + } + + _read () { + this[kResume]() + } + + _destroy (err, callback) { + if (!err && !this._readableState.endEmitted) { + err = new RequestAbortedError() + } + + callback(err) + } +} + +class PipelineHandler extends AsyncResource { + constructor (opts, handler) { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + if (typeof handler !== 'function') { + throw new InvalidArgumentError('invalid handler') + } + + const { signal, method, opaque, onInfo, responseHeaders } = opts + + if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') { + throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget') + } + + if (method === 'CONNECT') { + throw new InvalidArgumentError('invalid method') + } + + if (onInfo && typeof onInfo !== 'function') { + throw new InvalidArgumentError('invalid onInfo callback') + } + + super('UNDICI_PIPELINE') + + this.opaque = opaque || null + this.responseHeaders = responseHeaders || null + this.handler = handler + this.abort = null + this.context = null + this.onInfo = onInfo || null + + this.req = new PipelineRequest().on('error', util.nop) + + this.ret = new Duplex({ + readableObjectMode: opts.objectMode, + autoDestroy: true, + read: () => { + const { body } = this + + if (body && body.resume) { + body.resume() + } + }, + write: (chunk, encoding, callback) => { + const { req } = this + + if (req.push(chunk, encoding) || req._readableState.destroyed) { + callback() + } else { + req[kResume] = callback + } + }, + destroy: (err, callback) => { + const { body, req, res, ret, abort } = this + + if (!err && !ret._readableState.endEmitted) { + err = new RequestAbortedError() + } + + if (abort && err) { + abort() + } + + util.destroy(body, err) + util.destroy(req, err) + util.destroy(res, err) + + removeSignal(this) + + callback(err) + } + }).on('prefinish', () => { + const { req } = this + + // Node < 15 does not call _final in same tick. + req.push(null) + }) + + this.res = null + + addSignal(this, signal) + } + + onConnect (abort, context) { + const { ret, res } = this + + assert(!res, 'pipeline cannot be retried') + + if (ret.destroyed) { + throw new RequestAbortedError() + } + + this.abort = abort + this.context = context + } + + onHeaders (statusCode, rawHeaders, resume) { + const { opaque, handler, context } = this + + if (statusCode < 200) { + if (this.onInfo) { + const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + this.onInfo({ statusCode, headers }) + } + return + } + + this.res = new PipelineResponse(resume) + + let body + try { + this.handler = null + const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + body = this.runInAsyncScope(handler, null, { + statusCode, + headers, + opaque, + body: this.res, + context + }) + } catch (err) { + this.res.on('error', util.nop) + throw err + } + + if (!body || typeof body.on !== 'function') { + throw new InvalidReturnValueError('expected Readable') + } + + body + .on('data', (chunk) => { + const { ret, body } = this + + if (!ret.push(chunk) && body.pause) { + body.pause() + } + }) + .on('error', (err) => { + const { ret } = this + + util.destroy(ret, err) + }) + .on('end', () => { + const { ret } = this + + ret.push(null) + }) + .on('close', () => { + const { ret } = this + + if (!ret._readableState.ended) { + util.destroy(ret, new RequestAbortedError()) + } + }) + + this.body = body + } + + onData (chunk) { + const { res } = this + return res.push(chunk) + } + + onComplete (trailers) { + const { res } = this + res.push(null) + } + + onError (err) { + const { ret } = this + this.handler = null + util.destroy(ret, err) + } +} + +function pipeline (opts, handler) { + try { + const pipelineHandler = new PipelineHandler(opts, handler) + this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler) + return pipelineHandler.ret + } catch (err) { + return new PassThrough().destroy(err) + } +} + +module.exports = pipeline + + +/***/ }), + +/***/ 5448: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const Readable = __nccwpck_require__(3858) +const { + InvalidArgumentError, + RequestAbortedError +} = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { getResolveErrorBodyCallback } = __nccwpck_require__(7474) +const { AsyncResource } = __nccwpck_require__(852) +const { addSignal, removeSignal } = __nccwpck_require__(7032) + +class RequestHandler extends AsyncResource { + constructor (opts, callback) { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts + + try { + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) { + throw new InvalidArgumentError('invalid highWaterMark') + } + + if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') { + throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget') + } + + if (method === 'CONNECT') { + throw new InvalidArgumentError('invalid method') + } + + if (onInfo && typeof onInfo !== 'function') { + throw new InvalidArgumentError('invalid onInfo callback') + } + + super('UNDICI_REQUEST') + } catch (err) { + if (util.isStream(body)) { + util.destroy(body.on('error', util.nop), err) + } + throw err + } + + this.responseHeaders = responseHeaders || null + this.opaque = opaque || null + this.callback = callback + this.res = null + this.abort = null + this.body = body + this.trailers = {} + this.context = null + this.onInfo = onInfo || null + this.throwOnError = throwOnError + this.highWaterMark = highWaterMark + + if (util.isStream(body)) { + body.on('error', (err) => { + this.onError(err) + }) + } + + addSignal(this, signal) + } + + onConnect (abort, context) { + if (!this.callback) { + throw new RequestAbortedError() + } + + this.abort = abort + this.context = context + } + + onHeaders (statusCode, rawHeaders, resume, statusMessage) { + const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this + + const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + + if (statusCode < 200) { + if (this.onInfo) { + this.onInfo({ statusCode, headers }) + } + return + } + + const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers + const contentType = parsedHeaders['content-type'] + const body = new Readable({ resume, abort, contentType, highWaterMark }) + + this.callback = null + this.res = body + if (callback !== null) { + if (this.throwOnError && statusCode >= 400) { + this.runInAsyncScope(getResolveErrorBodyCallback, null, + { callback, body, contentType, statusCode, statusMessage, headers } + ) + } else { + this.runInAsyncScope(callback, null, null, { + statusCode, + headers, + trailers: this.trailers, + opaque, + body, + context + }) + } + } + } + + onData (chunk) { + const { res } = this + return res.push(chunk) + } + + onComplete (trailers) { + const { res } = this + + removeSignal(this) + + util.parseHeaders(trailers, this.trailers) + + res.push(null) + } + + onError (err) { + const { res, callback, body, opaque } = this + + removeSignal(this) + + if (callback) { + // TODO: Does this need queueMicrotask? + this.callback = null + queueMicrotask(() => { + this.runInAsyncScope(callback, null, err, { opaque }) + }) + } + + if (res) { + this.res = null + // Ensure all queued handlers are invoked before destroying res. + queueMicrotask(() => { + util.destroy(res, err) + }) + } + + if (body) { + this.body = null + util.destroy(body, err) + } + } +} + +function request (opts, callback) { + if (callback === undefined) { + return new Promise((resolve, reject) => { + request.call(this, opts, (err, data) => { + return err ? reject(err) : resolve(data) + }) + }) + } + + try { + this.dispatch(opts, new RequestHandler(opts, callback)) + } catch (err) { + if (typeof callback !== 'function') { + throw err + } + const opaque = opts && opts.opaque + queueMicrotask(() => callback(err, { opaque })) + } +} + +module.exports = request +module.exports.RequestHandler = RequestHandler + + +/***/ }), + +/***/ 5395: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { finished, PassThrough } = __nccwpck_require__(2781) +const { + InvalidArgumentError, + InvalidReturnValueError, + RequestAbortedError +} = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { getResolveErrorBodyCallback } = __nccwpck_require__(7474) +const { AsyncResource } = __nccwpck_require__(852) +const { addSignal, removeSignal } = __nccwpck_require__(7032) + +class StreamHandler extends AsyncResource { + constructor (opts, factory, callback) { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError } = opts + + try { + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + if (typeof factory !== 'function') { + throw new InvalidArgumentError('invalid factory') + } + + if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') { + throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget') + } + + if (method === 'CONNECT') { + throw new InvalidArgumentError('invalid method') + } + + if (onInfo && typeof onInfo !== 'function') { + throw new InvalidArgumentError('invalid onInfo callback') + } + + super('UNDICI_STREAM') + } catch (err) { + if (util.isStream(body)) { + util.destroy(body.on('error', util.nop), err) + } + throw err + } + + this.responseHeaders = responseHeaders || null + this.opaque = opaque || null + this.factory = factory + this.callback = callback + this.res = null + this.abort = null + this.context = null + this.trailers = null + this.body = body + this.onInfo = onInfo || null + this.throwOnError = throwOnError || false + + if (util.isStream(body)) { + body.on('error', (err) => { + this.onError(err) + }) + } + + addSignal(this, signal) + } + + onConnect (abort, context) { + if (!this.callback) { + throw new RequestAbortedError() + } + + this.abort = abort + this.context = context + } + + onHeaders (statusCode, rawHeaders, resume, statusMessage) { + const { factory, opaque, context, callback, responseHeaders } = this + + const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + + if (statusCode < 200) { + if (this.onInfo) { + this.onInfo({ statusCode, headers }) + } + return + } + + this.factory = null + + let res + + if (this.throwOnError && statusCode >= 400) { + const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers + const contentType = parsedHeaders['content-type'] + res = new PassThrough() + + this.callback = null + this.runInAsyncScope(getResolveErrorBodyCallback, null, + { callback, body: res, contentType, statusCode, statusMessage, headers } + ) + } else { + if (factory === null) { + return + } + + res = this.runInAsyncScope(factory, null, { + statusCode, + headers, + opaque, + context + }) + + if ( + !res || + typeof res.write !== 'function' || + typeof res.end !== 'function' || + typeof res.on !== 'function' + ) { + throw new InvalidReturnValueError('expected Writable') + } + + // TODO: Avoid finished. It registers an unnecessary amount of listeners. + finished(res, { readable: false }, (err) => { + const { callback, res, opaque, trailers, abort } = this + + this.res = null + if (err || !res.readable) { + util.destroy(res, err) + } + + this.callback = null + this.runInAsyncScope(callback, null, err || null, { opaque, trailers }) + + if (err) { + abort() + } + }) + } + + res.on('drain', resume) + + this.res = res + + const needDrain = res.writableNeedDrain !== undefined + ? res.writableNeedDrain + : res._writableState && res._writableState.needDrain + + return needDrain !== true + } + + onData (chunk) { + const { res } = this + + return res ? res.write(chunk) : true + } + + onComplete (trailers) { + const { res } = this + + removeSignal(this) + + if (!res) { + return + } + + this.trailers = util.parseHeaders(trailers) + + res.end() + } + + onError (err) { + const { res, callback, opaque, body } = this + + removeSignal(this) + + this.factory = null + + if (res) { + this.res = null + util.destroy(res, err) + } else if (callback) { + this.callback = null + queueMicrotask(() => { + this.runInAsyncScope(callback, null, err, { opaque }) + }) + } + + if (body) { + this.body = null + util.destroy(body, err) + } + } +} + +function stream (opts, factory, callback) { + if (callback === undefined) { + return new Promise((resolve, reject) => { + stream.call(this, opts, factory, (err, data) => { + return err ? reject(err) : resolve(data) + }) + }) + } + + try { + this.dispatch(opts, new StreamHandler(opts, factory, callback)) + } catch (err) { + if (typeof callback !== 'function') { + throw err + } + const opaque = opts && opts.opaque + queueMicrotask(() => callback(err, { opaque })) + } +} + +module.exports = stream + + +/***/ }), + +/***/ 6923: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { InvalidArgumentError, RequestAbortedError, SocketError } = __nccwpck_require__(8045) +const { AsyncResource } = __nccwpck_require__(852) +const util = __nccwpck_require__(3983) +const { addSignal, removeSignal } = __nccwpck_require__(7032) +const assert = __nccwpck_require__(9491) + +class UpgradeHandler extends AsyncResource { + constructor (opts, callback) { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('invalid opts') + } + + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + const { signal, opaque, responseHeaders } = opts + + if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') { + throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget') + } + + super('UNDICI_UPGRADE') + + this.responseHeaders = responseHeaders || null + this.opaque = opaque || null + this.callback = callback + this.abort = null + this.context = null + + addSignal(this, signal) + } + + onConnect (abort, context) { + if (!this.callback) { + throw new RequestAbortedError() + } + + this.abort = abort + this.context = null + } + + onHeaders () { + throw new SocketError('bad upgrade', null) + } + + onUpgrade (statusCode, rawHeaders, socket) { + const { callback, opaque, context } = this + + assert.strictEqual(statusCode, 101) + + removeSignal(this) + + this.callback = null + const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders) + this.runInAsyncScope(callback, null, null, { + headers, + socket, + opaque, + context + }) + } + + onError (err) { + const { callback, opaque } = this + + removeSignal(this) + + if (callback) { + this.callback = null + queueMicrotask(() => { + this.runInAsyncScope(callback, null, err, { opaque }) + }) + } + } +} + +function upgrade (opts, callback) { + if (callback === undefined) { + return new Promise((resolve, reject) => { + upgrade.call(this, opts, (err, data) => { + return err ? reject(err) : resolve(data) + }) + }) + } + + try { + const upgradeHandler = new UpgradeHandler(opts, callback) + this.dispatch({ + ...opts, + method: opts.method || 'GET', + upgrade: opts.protocol || 'Websocket' + }, upgradeHandler) + } catch (err) { + if (typeof callback !== 'function') { + throw err + } + const opaque = opts && opts.opaque + queueMicrotask(() => callback(err, { opaque })) + } +} + +module.exports = upgrade + + +/***/ }), + +/***/ 4059: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +module.exports.request = __nccwpck_require__(5448) +module.exports.stream = __nccwpck_require__(5395) +module.exports.pipeline = __nccwpck_require__(8752) +module.exports.upgrade = __nccwpck_require__(6923) +module.exports.connect = __nccwpck_require__(9744) + + +/***/ }), + +/***/ 3858: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// Ported from https://github.com/nodejs/undici/pull/907 + + + +const assert = __nccwpck_require__(9491) +const { Readable } = __nccwpck_require__(2781) +const { RequestAbortedError, NotSupportedError, InvalidArgumentError } = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { ReadableStreamFrom, toUSVString } = __nccwpck_require__(3983) + +let Blob + +const kConsume = Symbol('kConsume') +const kReading = Symbol('kReading') +const kBody = Symbol('kBody') +const kAbort = Symbol('abort') +const kContentType = Symbol('kContentType') + +const noop = () => {} + +module.exports = class BodyReadable extends Readable { + constructor ({ + resume, + abort, + contentType = '', + highWaterMark = 64 * 1024 // Same as nodejs fs streams. + }) { + super({ + autoDestroy: true, + read: resume, + highWaterMark + }) + + this._readableState.dataEmitted = false + + this[kAbort] = abort + this[kConsume] = null + this[kBody] = null + this[kContentType] = contentType + + // Is stream being consumed through Readable API? + // This is an optimization so that we avoid checking + // for 'data' and 'readable' listeners in the hot path + // inside push(). + this[kReading] = false + } + + destroy (err) { + if (this.destroyed) { + // Node < 16 + return this + } + + if (!err && !this._readableState.endEmitted) { + err = new RequestAbortedError() + } + + if (err) { + this[kAbort]() + } + + return super.destroy(err) + } + + emit (ev, ...args) { + if (ev === 'data') { + // Node < 16.7 + this._readableState.dataEmitted = true + } else if (ev === 'error') { + // Node < 16 + this._readableState.errorEmitted = true + } + return super.emit(ev, ...args) + } + + on (ev, ...args) { + if (ev === 'data' || ev === 'readable') { + this[kReading] = true + } + return super.on(ev, ...args) + } + + addListener (ev, ...args) { + return this.on(ev, ...args) + } + + off (ev, ...args) { + const ret = super.off(ev, ...args) + if (ev === 'data' || ev === 'readable') { + this[kReading] = ( + this.listenerCount('data') > 0 || + this.listenerCount('readable') > 0 + ) + } + return ret + } + + removeListener (ev, ...args) { + return this.off(ev, ...args) + } + + push (chunk) { + if (this[kConsume] && chunk !== null && this.readableLength === 0) { + consumePush(this[kConsume], chunk) + return this[kReading] ? super.push(chunk) : true + } + return super.push(chunk) + } + + // https://fetch.spec.whatwg.org/#dom-body-text + async text () { + return consume(this, 'text') + } + + // https://fetch.spec.whatwg.org/#dom-body-json + async json () { + return consume(this, 'json') + } + + // https://fetch.spec.whatwg.org/#dom-body-blob + async blob () { + return consume(this, 'blob') + } + + // https://fetch.spec.whatwg.org/#dom-body-arraybuffer + async arrayBuffer () { + return consume(this, 'arrayBuffer') + } + + // https://fetch.spec.whatwg.org/#dom-body-formdata + async formData () { + // TODO: Implement. + throw new NotSupportedError() + } + + // https://fetch.spec.whatwg.org/#dom-body-bodyused + get bodyUsed () { + return util.isDisturbed(this) + } + + // https://fetch.spec.whatwg.org/#dom-body-body + get body () { + if (!this[kBody]) { + this[kBody] = ReadableStreamFrom(this) + if (this[kConsume]) { + // TODO: Is this the best way to force a lock? + this[kBody].getReader() // Ensure stream is locked. + assert(this[kBody].locked) + } + } + return this[kBody] + } + + dump (opts) { + let limit = opts && Number.isFinite(opts.limit) ? opts.limit : 262144 + const signal = opts && opts.signal + + if (signal) { + try { + if (typeof signal !== 'object' || !('aborted' in signal)) { + throw new InvalidArgumentError('signal must be an AbortSignal') + } + util.throwIfAborted(signal) + } catch (err) { + return Promise.reject(err) + } + } + + if (this.closed) { + return Promise.resolve(null) + } + + return new Promise((resolve, reject) => { + const signalListenerCleanup = signal + ? util.addAbortListener(signal, () => { + this.destroy() + }) + : noop + + this + .on('close', function () { + signalListenerCleanup() + if (signal && signal.aborted) { + reject(signal.reason || Object.assign(new Error('The operation was aborted'), { name: 'AbortError' })) + } else { + resolve(null) + } + }) + .on('error', noop) + .on('data', function (chunk) { + limit -= chunk.length + if (limit <= 0) { + this.destroy() + } + }) + .resume() + }) + } +} + +// https://streams.spec.whatwg.org/#readablestream-locked +function isLocked (self) { + // Consume is an implicit lock. + return (self[kBody] && self[kBody].locked === true) || self[kConsume] +} + +// https://fetch.spec.whatwg.org/#body-unusable +function isUnusable (self) { + return util.isDisturbed(self) || isLocked(self) +} + +async function consume (stream, type) { + if (isUnusable(stream)) { + throw new TypeError('unusable') + } + + assert(!stream[kConsume]) + + return new Promise((resolve, reject) => { + stream[kConsume] = { + type, + stream, + resolve, + reject, + length: 0, + body: [] + } + + stream + .on('error', function (err) { + consumeFinish(this[kConsume], err) + }) + .on('close', function () { + if (this[kConsume].body !== null) { + consumeFinish(this[kConsume], new RequestAbortedError()) + } + }) + + process.nextTick(consumeStart, stream[kConsume]) + }) +} + +function consumeStart (consume) { + if (consume.body === null) { + return + } + + const { _readableState: state } = consume.stream + + for (const chunk of state.buffer) { + consumePush(consume, chunk) + } + + if (state.endEmitted) { + consumeEnd(this[kConsume]) + } else { + consume.stream.on('end', function () { + consumeEnd(this[kConsume]) + }) + } + + consume.stream.resume() + + while (consume.stream.read() != null) { + // Loop + } +} + +function consumeEnd (consume) { + const { type, body, resolve, stream, length } = consume + + try { + if (type === 'text') { + resolve(toUSVString(Buffer.concat(body))) + } else if (type === 'json') { + resolve(JSON.parse(Buffer.concat(body))) + } else if (type === 'arrayBuffer') { + const dst = new Uint8Array(length) + + let pos = 0 + for (const buf of body) { + dst.set(buf, pos) + pos += buf.byteLength + } + + resolve(dst.buffer) + } else if (type === 'blob') { + if (!Blob) { + Blob = (__nccwpck_require__(4300).Blob) + } + resolve(new Blob(body, { type: stream[kContentType] })) + } + + consumeFinish(consume) + } catch (err) { + stream.destroy(err) + } +} + +function consumePush (consume, chunk) { + consume.length += chunk.length + consume.body.push(chunk) +} + +function consumeFinish (consume, err) { + if (consume.body === null) { + return + } + + if (err) { + consume.reject(err) + } else { + consume.resolve() + } + + consume.type = null + consume.stream = null + consume.resolve = null + consume.reject = null + consume.length = 0 + consume.body = null +} + + +/***/ }), + +/***/ 7474: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const assert = __nccwpck_require__(9491) +const { + ResponseStatusCodeError +} = __nccwpck_require__(8045) +const { toUSVString } = __nccwpck_require__(3983) + +async function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) { + assert(body) + + let chunks = [] + let limit = 0 + + for await (const chunk of body) { + chunks.push(chunk) + limit += chunk.length + if (limit > 128 * 1024) { + chunks = null + break + } + } + + if (statusCode === 204 || !contentType || !chunks) { + process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`, statusCode, headers)) + return + } + + try { + if (contentType.startsWith('application/json')) { + const payload = JSON.parse(toUSVString(Buffer.concat(chunks))) + process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`, statusCode, headers, payload)) + return + } + + if (contentType.startsWith('text/')) { + const payload = toUSVString(Buffer.concat(chunks)) + process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`, statusCode, headers, payload)) + return + } + } catch (err) { + // Process in a fallback if error + } + + process.nextTick(callback, new ResponseStatusCodeError(`Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`, statusCode, headers)) +} + +module.exports = { getResolveErrorBodyCallback } + + +/***/ }), + +/***/ 7931: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + BalancedPoolMissingUpstreamError, + InvalidArgumentError +} = __nccwpck_require__(8045) +const { + PoolBase, + kClients, + kNeedDrain, + kAddClient, + kRemoveClient, + kGetDispatcher +} = __nccwpck_require__(3198) +const Pool = __nccwpck_require__(4634) +const { kUrl, kInterceptors } = __nccwpck_require__(2785) +const { parseOrigin } = __nccwpck_require__(3983) +const kFactory = Symbol('factory') + +const kOptions = Symbol('options') +const kGreatestCommonDivisor = Symbol('kGreatestCommonDivisor') +const kCurrentWeight = Symbol('kCurrentWeight') +const kIndex = Symbol('kIndex') +const kWeight = Symbol('kWeight') +const kMaxWeightPerServer = Symbol('kMaxWeightPerServer') +const kErrorPenalty = Symbol('kErrorPenalty') + +function getGreatestCommonDivisor (a, b) { + if (b === 0) return a + return getGreatestCommonDivisor(b, a % b) +} + +function defaultFactory (origin, opts) { + return new Pool(origin, opts) +} + +class BalancedPool extends PoolBase { + constructor (upstreams = [], { factory = defaultFactory, ...opts } = {}) { + super() + + this[kOptions] = opts + this[kIndex] = -1 + this[kCurrentWeight] = 0 + + this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100 + this[kErrorPenalty] = this[kOptions].errorPenalty || 15 + + if (!Array.isArray(upstreams)) { + upstreams = [upstreams] + } + + if (typeof factory !== 'function') { + throw new InvalidArgumentError('factory must be a function.') + } + + this[kInterceptors] = opts.interceptors && opts.interceptors.BalancedPool && Array.isArray(opts.interceptors.BalancedPool) + ? opts.interceptors.BalancedPool + : [] + this[kFactory] = factory + + for (const upstream of upstreams) { + this.addUpstream(upstream) + } + this._updateBalancedPoolStats() + } + + addUpstream (upstream) { + const upstreamOrigin = parseOrigin(upstream).origin + + if (this[kClients].find((pool) => ( + pool[kUrl].origin === upstreamOrigin && + pool.closed !== true && + pool.destroyed !== true + ))) { + return this + } + const pool = this[kFactory](upstreamOrigin, Object.assign({}, this[kOptions])) + + this[kAddClient](pool) + pool.on('connect', () => { + pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty]) + }) + + pool.on('connectionError', () => { + pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]) + this._updateBalancedPoolStats() + }) + + pool.on('disconnect', (...args) => { + const err = args[2] + if (err && err.code === 'UND_ERR_SOCKET') { + // decrease the weight of the pool. + pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]) + this._updateBalancedPoolStats() + } + }) + + for (const client of this[kClients]) { + client[kWeight] = this[kMaxWeightPerServer] + } + + this._updateBalancedPoolStats() + + return this + } + + _updateBalancedPoolStats () { + this[kGreatestCommonDivisor] = this[kClients].map(p => p[kWeight]).reduce(getGreatestCommonDivisor, 0) + } + + removeUpstream (upstream) { + const upstreamOrigin = parseOrigin(upstream).origin + + const pool = this[kClients].find((pool) => ( + pool[kUrl].origin === upstreamOrigin && + pool.closed !== true && + pool.destroyed !== true + )) + + if (pool) { + this[kRemoveClient](pool) + } + + return this + } + + get upstreams () { + return this[kClients] + .filter(dispatcher => dispatcher.closed !== true && dispatcher.destroyed !== true) + .map((p) => p[kUrl].origin) + } + + [kGetDispatcher] () { + // We validate that pools is greater than 0, + // otherwise we would have to wait until an upstream + // is added, which might never happen. + if (this[kClients].length === 0) { + throw new BalancedPoolMissingUpstreamError() + } + + const dispatcher = this[kClients].find(dispatcher => ( + !dispatcher[kNeedDrain] && + dispatcher.closed !== true && + dispatcher.destroyed !== true + )) + + if (!dispatcher) { + return + } + + const allClientsBusy = this[kClients].map(pool => pool[kNeedDrain]).reduce((a, b) => a && b, true) + + if (allClientsBusy) { + return + } + + let counter = 0 + + let maxWeightIndex = this[kClients].findIndex(pool => !pool[kNeedDrain]) + + while (counter++ < this[kClients].length) { + this[kIndex] = (this[kIndex] + 1) % this[kClients].length + const pool = this[kClients][this[kIndex]] + + // find pool index with the largest weight + if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain]) { + maxWeightIndex = this[kIndex] + } + + // decrease the current weight every `this[kClients].length`. + if (this[kIndex] === 0) { + // Set the current weight to the next lower weight. + this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor] + + if (this[kCurrentWeight] <= 0) { + this[kCurrentWeight] = this[kMaxWeightPerServer] + } + } + if (pool[kWeight] >= this[kCurrentWeight] && (!pool[kNeedDrain])) { + return pool + } + } + + this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight] + this[kIndex] = maxWeightIndex + return this[kClients][maxWeightIndex] + } +} + +module.exports = BalancedPool + + +/***/ }), + +/***/ 6101: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { kConstruct } = __nccwpck_require__(9174) +const { urlEquals, fieldValues: getFieldValues } = __nccwpck_require__(2396) +const { kEnumerableProperty, isDisturbed } = __nccwpck_require__(3983) +const { kHeadersList } = __nccwpck_require__(2785) +const { webidl } = __nccwpck_require__(1744) +const { Response, cloneResponse } = __nccwpck_require__(7823) +const { Request } = __nccwpck_require__(8359) +const { kState, kHeaders, kGuard, kRealm } = __nccwpck_require__(5861) +const { fetching } = __nccwpck_require__(4881) +const { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = __nccwpck_require__(2538) +const assert = __nccwpck_require__(9491) +const { getGlobalDispatcher } = __nccwpck_require__(1892) + +/** + * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation + * @typedef {Object} CacheBatchOperation + * @property {'delete' | 'put'} type + * @property {any} request + * @property {any} response + * @property {import('../../types/cache').CacheQueryOptions} options + */ + +/** + * @see https://w3c.github.io/ServiceWorker/#dfn-request-response-list + * @typedef {[any, any][]} requestResponseList + */ + +class Cache { + /** + * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list + * @type {requestResponseList} + */ + #relevantRequestResponseList + + constructor () { + if (arguments[0] !== kConstruct) { + webidl.illegalConstructor() + } + + this.#relevantRequestResponseList = arguments[1] + } + + async match (request, options = {}) { + webidl.brandCheck(this, Cache) + webidl.argumentLengthCheck(arguments, 1, { header: 'Cache.match' }) + + request = webidl.converters.RequestInfo(request) + options = webidl.converters.CacheQueryOptions(options) + + const p = await this.matchAll(request, options) + + if (p.length === 0) { + return + } + + return p[0] + } + + async matchAll (request = undefined, options = {}) { + webidl.brandCheck(this, Cache) + + if (request !== undefined) request = webidl.converters.RequestInfo(request) + options = webidl.converters.CacheQueryOptions(options) + + // 1. + let r = null + + // 2. + if (request !== undefined) { + if (request instanceof Request) { + // 2.1.1 + r = request[kState] + + // 2.1.2 + if (r.method !== 'GET' && !options.ignoreMethod) { + return [] + } + } else if (typeof request === 'string') { + // 2.2.1 + r = new Request(request)[kState] + } + } + + // 5. + // 5.1 + const responses = [] + + // 5.2 + if (request === undefined) { + // 5.2.1 + for (const requestResponse of this.#relevantRequestResponseList) { + responses.push(requestResponse[1]) + } + } else { // 5.3 + // 5.3.1 + const requestResponses = this.#queryCache(r, options) + + // 5.3.2 + for (const requestResponse of requestResponses) { + responses.push(requestResponse[1]) + } + } + + // 5.4 + // We don't implement CORs so we don't need to loop over the responses, yay! + + // 5.5.1 + const responseList = [] + + // 5.5.2 + for (const response of responses) { + // 5.5.2.1 + const responseObject = new Response(response.body?.source ?? null) + const body = responseObject[kState].body + responseObject[kState] = response + responseObject[kState].body = body + responseObject[kHeaders][kHeadersList] = response.headersList + responseObject[kHeaders][kGuard] = 'immutable' + + responseList.push(responseObject) + } + + // 6. + return Object.freeze(responseList) + } + + async add (request) { + webidl.brandCheck(this, Cache) + webidl.argumentLengthCheck(arguments, 1, { header: 'Cache.add' }) + + request = webidl.converters.RequestInfo(request) + + // 1. + const requests = [request] + + // 2. + const responseArrayPromise = this.addAll(requests) + + // 3. + return await responseArrayPromise + } + + async addAll (requests) { + webidl.brandCheck(this, Cache) + webidl.argumentLengthCheck(arguments, 1, { header: 'Cache.addAll' }) + + requests = webidl.converters['sequence'](requests) + + // 1. + const responsePromises = [] + + // 2. + const requestList = [] + + // 3. + for (const request of requests) { + if (typeof request === 'string') { + continue + } + + // 3.1 + const r = request[kState] + + // 3.2 + if (!urlIsHttpHttpsScheme(r.url) || r.method !== 'GET') { + throw webidl.errors.exception({ + header: 'Cache.addAll', + message: 'Expected http/s scheme when method is not GET.' + }) + } + } + + // 4. + /** @type {ReturnType[]} */ + const fetchControllers = [] + + // 5. + for (const request of requests) { + // 5.1 + const r = new Request(request)[kState] + + // 5.2 + if (!urlIsHttpHttpsScheme(r.url)) { + throw webidl.errors.exception({ + header: 'Cache.addAll', + message: 'Expected http/s scheme.' + }) + } + + // 5.4 + r.initiator = 'fetch' + r.destination = 'subresource' + + // 5.5 + requestList.push(r) + + // 5.6 + const responsePromise = createDeferredPromise() + + // 5.7 + fetchControllers.push(fetching({ + request: r, + dispatcher: getGlobalDispatcher(), + processResponse (response) { + // 1. + if (response.type === 'error' || response.status === 206 || response.status < 200 || response.status > 299) { + responsePromise.reject(webidl.errors.exception({ + header: 'Cache.addAll', + message: 'Received an invalid status code or the request failed.' + })) + } else if (response.headersList.contains('vary')) { // 2. + // 2.1 + const fieldValues = getFieldValues(response.headersList.get('vary')) + + // 2.2 + for (const fieldValue of fieldValues) { + // 2.2.1 + if (fieldValue === '*') { + responsePromise.reject(webidl.errors.exception({ + header: 'Cache.addAll', + message: 'invalid vary field value' + })) + + for (const controller of fetchControllers) { + controller.abort() + } + + return + } + } + } + }, + processResponseEndOfBody (response) { + // 1. + if (response.aborted) { + responsePromise.reject(new DOMException('aborted', 'AbortError')) + return + } + + // 2. + responsePromise.resolve(response) + } + })) + + // 5.8 + responsePromises.push(responsePromise.promise) + } + + // 6. + const p = Promise.all(responsePromises) + + // 7. + const responses = await p + + // 7.1 + const operations = [] + + // 7.2 + let index = 0 + + // 7.3 + for (const response of responses) { + // 7.3.1 + /** @type {CacheBatchOperation} */ + const operation = { + type: 'put', // 7.3.2 + request: requestList[index], // 7.3.3 + response // 7.3.4 + } + + operations.push(operation) // 7.3.5 + + index++ // 7.3.6 + } + + // 7.5 + const cacheJobPromise = createDeferredPromise() + + // 7.6.1 + let errorData = null + + // 7.6.2 + try { + this.#batchCacheOperations(operations) + } catch (e) { + errorData = e + } + + // 7.6.3 + queueMicrotask(() => { + // 7.6.3.1 + if (errorData === null) { + cacheJobPromise.resolve(undefined) + } else { + // 7.6.3.2 + cacheJobPromise.reject(errorData) + } + }) + + // 7.7 + return cacheJobPromise.promise + } + + async put (request, response) { + webidl.brandCheck(this, Cache) + webidl.argumentLengthCheck(arguments, 2, { header: 'Cache.put' }) + + request = webidl.converters.RequestInfo(request) + response = webidl.converters.Response(response) + + // 1. + let innerRequest = null + + // 2. + if (request instanceof Request) { + innerRequest = request[kState] + } else { // 3. + innerRequest = new Request(request)[kState] + } + + // 4. + if (!urlIsHttpHttpsScheme(innerRequest.url) || innerRequest.method !== 'GET') { + throw webidl.errors.exception({ + header: 'Cache.put', + message: 'Expected an http/s scheme when method is not GET' + }) + } + + // 5. + const innerResponse = response[kState] + + // 6. + if (innerResponse.status === 206) { + throw webidl.errors.exception({ + header: 'Cache.put', + message: 'Got 206 status' + }) + } + + // 7. + if (innerResponse.headersList.contains('vary')) { + // 7.1. + const fieldValues = getFieldValues(innerResponse.headersList.get('vary')) + + // 7.2. + for (const fieldValue of fieldValues) { + // 7.2.1 + if (fieldValue === '*') { + throw webidl.errors.exception({ + header: 'Cache.put', + message: 'Got * vary field value' + }) + } + } + } + + // 8. + if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) { + throw webidl.errors.exception({ + header: 'Cache.put', + message: 'Response body is locked or disturbed' + }) + } + + // 9. + const clonedResponse = cloneResponse(innerResponse) + + // 10. + const bodyReadPromise = createDeferredPromise() + + // 11. + if (innerResponse.body != null) { + // 11.1 + const stream = innerResponse.body.stream + + // 11.2 + const reader = stream.getReader() + + // 11.3 + readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject) + } else { + bodyReadPromise.resolve(undefined) + } + + // 12. + /** @type {CacheBatchOperation[]} */ + const operations = [] + + // 13. + /** @type {CacheBatchOperation} */ + const operation = { + type: 'put', // 14. + request: innerRequest, // 15. + response: clonedResponse // 16. + } + + // 17. + operations.push(operation) + + // 19. + const bytes = await bodyReadPromise.promise + + if (clonedResponse.body != null) { + clonedResponse.body.source = bytes + } + + // 19.1 + const cacheJobPromise = createDeferredPromise() + + // 19.2.1 + let errorData = null + + // 19.2.2 + try { + this.#batchCacheOperations(operations) + } catch (e) { + errorData = e + } + + // 19.2.3 + queueMicrotask(() => { + // 19.2.3.1 + if (errorData === null) { + cacheJobPromise.resolve() + } else { // 19.2.3.2 + cacheJobPromise.reject(errorData) + } + }) + + return cacheJobPromise.promise + } + + async delete (request, options = {}) { + webidl.brandCheck(this, Cache) + webidl.argumentLengthCheck(arguments, 1, { header: 'Cache.delete' }) + + request = webidl.converters.RequestInfo(request) + options = webidl.converters.CacheQueryOptions(options) + + /** + * @type {Request} + */ + let r = null + + if (request instanceof Request) { + r = request[kState] + + if (r.method !== 'GET' && !options.ignoreMethod) { + return false + } + } else { + assert(typeof request === 'string') + + r = new Request(request)[kState] + } + + /** @type {CacheBatchOperation[]} */ + const operations = [] + + /** @type {CacheBatchOperation} */ + const operation = { + type: 'delete', + request: r, + options + } + + operations.push(operation) + + const cacheJobPromise = createDeferredPromise() + + let errorData = null + let requestResponses + + try { + requestResponses = this.#batchCacheOperations(operations) + } catch (e) { + errorData = e + } + + queueMicrotask(() => { + if (errorData === null) { + cacheJobPromise.resolve(!!requestResponses?.length) + } else { + cacheJobPromise.reject(errorData) + } + }) + + return cacheJobPromise.promise + } + + /** + * @see https://w3c.github.io/ServiceWorker/#dom-cache-keys + * @param {any} request + * @param {import('../../types/cache').CacheQueryOptions} options + * @returns {readonly Request[]} + */ + async keys (request = undefined, options = {}) { + webidl.brandCheck(this, Cache) + + if (request !== undefined) request = webidl.converters.RequestInfo(request) + options = webidl.converters.CacheQueryOptions(options) + + // 1. + let r = null + + // 2. + if (request !== undefined) { + // 2.1 + if (request instanceof Request) { + // 2.1.1 + r = request[kState] + + // 2.1.2 + if (r.method !== 'GET' && !options.ignoreMethod) { + return [] + } + } else if (typeof request === 'string') { // 2.2 + r = new Request(request)[kState] + } + } + + // 4. + const promise = createDeferredPromise() + + // 5. + // 5.1 + const requests = [] + + // 5.2 + if (request === undefined) { + // 5.2.1 + for (const requestResponse of this.#relevantRequestResponseList) { + // 5.2.1.1 + requests.push(requestResponse[0]) + } + } else { // 5.3 + // 5.3.1 + const requestResponses = this.#queryCache(r, options) + + // 5.3.2 + for (const requestResponse of requestResponses) { + // 5.3.2.1 + requests.push(requestResponse[0]) + } + } + + // 5.4 + queueMicrotask(() => { + // 5.4.1 + const requestList = [] + + // 5.4.2 + for (const request of requests) { + const requestObject = new Request('https://a') + requestObject[kState] = request + requestObject[kHeaders][kHeadersList] = request.headersList + requestObject[kHeaders][kGuard] = 'immutable' + requestObject[kRealm] = request.client + + // 5.4.2.1 + requestList.push(requestObject) + } + + // 5.4.3 + promise.resolve(Object.freeze(requestList)) + }) + + return promise.promise + } + + /** + * @see https://w3c.github.io/ServiceWorker/#batch-cache-operations-algorithm + * @param {CacheBatchOperation[]} operations + * @returns {requestResponseList} + */ + #batchCacheOperations (operations) { + // 1. + const cache = this.#relevantRequestResponseList + + // 2. + const backupCache = [...cache] + + // 3. + const addedItems = [] + + // 4.1 + const resultList = [] + + try { + // 4.2 + for (const operation of operations) { + // 4.2.1 + if (operation.type !== 'delete' && operation.type !== 'put') { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'operation type does not match "delete" or "put"' + }) + } + + // 4.2.2 + if (operation.type === 'delete' && operation.response != null) { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'delete operation should not have an associated response' + }) + } + + // 4.2.3 + if (this.#queryCache(operation.request, operation.options, addedItems).length) { + throw new DOMException('???', 'InvalidStateError') + } + + // 4.2.4 + let requestResponses + + // 4.2.5 + if (operation.type === 'delete') { + // 4.2.5.1 + requestResponses = this.#queryCache(operation.request, operation.options) + + // TODO: the spec is wrong, this is needed to pass WPTs + if (requestResponses.length === 0) { + return [] + } + + // 4.2.5.2 + for (const requestResponse of requestResponses) { + const idx = cache.indexOf(requestResponse) + assert(idx !== -1) + + // 4.2.5.2.1 + cache.splice(idx, 1) + } + } else if (operation.type === 'put') { // 4.2.6 + // 4.2.6.1 + if (operation.response == null) { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'put operation should have an associated response' + }) + } + + // 4.2.6.2 + const r = operation.request + + // 4.2.6.3 + if (!urlIsHttpHttpsScheme(r.url)) { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'expected http or https scheme' + }) + } + + // 4.2.6.4 + if (r.method !== 'GET') { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'not get method' + }) + } + + // 4.2.6.5 + if (operation.options != null) { + throw webidl.errors.exception({ + header: 'Cache.#batchCacheOperations', + message: 'options must not be defined' + }) + } + + // 4.2.6.6 + requestResponses = this.#queryCache(operation.request) + + // 4.2.6.7 + for (const requestResponse of requestResponses) { + const idx = cache.indexOf(requestResponse) + assert(idx !== -1) + + // 4.2.6.7.1 + cache.splice(idx, 1) + } + + // 4.2.6.8 + cache.push([operation.request, operation.response]) + + // 4.2.6.10 + addedItems.push([operation.request, operation.response]) + } + + // 4.2.7 + resultList.push([operation.request, operation.response]) + } + + // 4.3 + return resultList + } catch (e) { // 5. + // 5.1 + this.#relevantRequestResponseList.length = 0 + + // 5.2 + this.#relevantRequestResponseList = backupCache + + // 5.3 + throw e + } + } + + /** + * @see https://w3c.github.io/ServiceWorker/#query-cache + * @param {any} requestQuery + * @param {import('../../types/cache').CacheQueryOptions} options + * @param {requestResponseList} targetStorage + * @returns {requestResponseList} + */ + #queryCache (requestQuery, options, targetStorage) { + /** @type {requestResponseList} */ + const resultList = [] + + const storage = targetStorage ?? this.#relevantRequestResponseList + + for (const requestResponse of storage) { + const [cachedRequest, cachedResponse] = requestResponse + if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) { + resultList.push(requestResponse) + } + } + + return resultList + } + + /** + * @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm + * @param {any} requestQuery + * @param {any} request + * @param {any | null} response + * @param {import('../../types/cache').CacheQueryOptions | undefined} options + * @returns {boolean} + */ + #requestMatchesCachedItem (requestQuery, request, response = null, options) { + // if (options?.ignoreMethod === false && request.method === 'GET') { + // return false + // } + + const queryURL = new URL(requestQuery.url) + + const cachedURL = new URL(request.url) + + if (options?.ignoreSearch) { + cachedURL.search = '' + + queryURL.search = '' + } + + if (!urlEquals(queryURL, cachedURL, true)) { + return false + } + + if ( + response == null || + options?.ignoreVary || + !response.headersList.contains('vary') + ) { + return true + } + + const fieldValues = getFieldValues(response.headersList.get('vary')) + + for (const fieldValue of fieldValues) { + if (fieldValue === '*') { + return false + } + + const requestValue = request.headersList.get(fieldValue) + const queryValue = requestQuery.headersList.get(fieldValue) + + // If one has the header and the other doesn't, or one has + // a different value than the other, return false + if (requestValue !== queryValue) { + return false + } + } + + return true + } +} + +Object.defineProperties(Cache.prototype, { + [Symbol.toStringTag]: { + value: 'Cache', + configurable: true + }, + match: kEnumerableProperty, + matchAll: kEnumerableProperty, + add: kEnumerableProperty, + addAll: kEnumerableProperty, + put: kEnumerableProperty, + delete: kEnumerableProperty, + keys: kEnumerableProperty +}) + +const cacheQueryOptionConverters = [ + { + key: 'ignoreSearch', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'ignoreMethod', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'ignoreVary', + converter: webidl.converters.boolean, + defaultValue: false + } +] + +webidl.converters.CacheQueryOptions = webidl.dictionaryConverter(cacheQueryOptionConverters) + +webidl.converters.MultiCacheQueryOptions = webidl.dictionaryConverter([ + ...cacheQueryOptionConverters, + { + key: 'cacheName', + converter: webidl.converters.DOMString + } +]) + +webidl.converters.Response = webidl.interfaceConverter(Response) + +webidl.converters['sequence'] = webidl.sequenceConverter( + webidl.converters.RequestInfo +) + +module.exports = { + Cache +} + + +/***/ }), + +/***/ 7907: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { kConstruct } = __nccwpck_require__(9174) +const { Cache } = __nccwpck_require__(6101) +const { webidl } = __nccwpck_require__(1744) +const { kEnumerableProperty } = __nccwpck_require__(3983) + +class CacheStorage { + /** + * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-name-to-cache-map + * @type {Map} + */ + async has (cacheName) { + webidl.brandCheck(this, CacheStorage) + webidl.argumentLengthCheck(arguments, 1, { header: 'CacheStorage.has' }) + + cacheName = webidl.converters.DOMString(cacheName) + + // 2.1.1 + // 2.2 + return this.#caches.has(cacheName) + } + + /** + * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open + * @param {string} cacheName + * @returns {Promise} + */ + async open (cacheName) { + webidl.brandCheck(this, CacheStorage) + webidl.argumentLengthCheck(arguments, 1, { header: 'CacheStorage.open' }) + + cacheName = webidl.converters.DOMString(cacheName) + + // 2.1 + if (this.#caches.has(cacheName)) { + // await caches.open('v1') !== await caches.open('v1') + + // 2.1.1 + const cache = this.#caches.get(cacheName) + + // 2.1.1.1 + return new Cache(kConstruct, cache) + } + + // 2.2 + const cache = [] + + // 2.3 + this.#caches.set(cacheName, cache) + + // 2.4 + return new Cache(kConstruct, cache) + } + + /** + * @see https://w3c.github.io/ServiceWorker/#cache-storage-delete + * @param {string} cacheName + * @returns {Promise} + */ + async delete (cacheName) { + webidl.brandCheck(this, CacheStorage) + webidl.argumentLengthCheck(arguments, 1, { header: 'CacheStorage.delete' }) + + cacheName = webidl.converters.DOMString(cacheName) + + return this.#caches.delete(cacheName) + } + + /** + * @see https://w3c.github.io/ServiceWorker/#cache-storage-keys + * @returns {string[]} + */ + async keys () { + webidl.brandCheck(this, CacheStorage) + + // 2.1 + const keys = this.#caches.keys() + + // 2.2 + return [...keys] + } +} + +Object.defineProperties(CacheStorage.prototype, { + [Symbol.toStringTag]: { + value: 'CacheStorage', + configurable: true + }, + match: kEnumerableProperty, + has: kEnumerableProperty, + open: kEnumerableProperty, + delete: kEnumerableProperty, + keys: kEnumerableProperty +}) + +module.exports = { + CacheStorage +} + + +/***/ }), + +/***/ 9174: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +module.exports = { + kConstruct: (__nccwpck_require__(2785).kConstruct) +} + + +/***/ }), + +/***/ 2396: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const assert = __nccwpck_require__(9491) +const { URLSerializer } = __nccwpck_require__(685) +const { isValidHeaderName } = __nccwpck_require__(2538) + +/** + * @see https://url.spec.whatwg.org/#concept-url-equals + * @param {URL} A + * @param {URL} B + * @param {boolean | undefined} excludeFragment + * @returns {boolean} + */ +function urlEquals (A, B, excludeFragment = false) { + const serializedA = URLSerializer(A, excludeFragment) + + const serializedB = URLSerializer(B, excludeFragment) + + return serializedA === serializedB +} + +/** + * @see https://github.com/chromium/chromium/blob/694d20d134cb553d8d89e5500b9148012b1ba299/content/browser/cache_storage/cache_storage_cache.cc#L260-L262 + * @param {string} header + */ +function fieldValues (header) { + assert(header !== null) + + const values = [] + + for (let value of header.split(',')) { + value = value.trim() + + if (!value.length) { + continue + } else if (!isValidHeaderName(value)) { + continue + } + + values.push(value) + } + + return values +} + +module.exports = { + urlEquals, + fieldValues +} + + +/***/ }), + +/***/ 3598: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// @ts-check + + + +/* global WebAssembly */ + +const assert = __nccwpck_require__(9491) +const net = __nccwpck_require__(1808) +const http = __nccwpck_require__(3685) +const { pipeline } = __nccwpck_require__(2781) +const util = __nccwpck_require__(3983) +const timers = __nccwpck_require__(9459) +const Request = __nccwpck_require__(2905) +const DispatcherBase = __nccwpck_require__(4839) +const { + RequestContentLengthMismatchError, + ResponseContentLengthMismatchError, + InvalidArgumentError, + RequestAbortedError, + HeadersTimeoutError, + HeadersOverflowError, + SocketError, + InformationalError, + BodyTimeoutError, + HTTPParserError, + ResponseExceededMaxSizeError, + ClientDestroyedError +} = __nccwpck_require__(8045) +const buildConnector = __nccwpck_require__(2067) +const { + kUrl, + kReset, + kServerName, + kClient, + kBusy, + kParser, + kConnect, + kBlocking, + kResuming, + kRunning, + kPending, + kSize, + kWriting, + kQueue, + kConnected, + kConnecting, + kNeedDrain, + kNoRef, + kKeepAliveDefaultTimeout, + kHostHeader, + kPendingIdx, + kRunningIdx, + kError, + kPipelining, + kSocket, + kKeepAliveTimeoutValue, + kMaxHeadersSize, + kKeepAliveMaxTimeout, + kKeepAliveTimeoutThreshold, + kHeadersTimeout, + kBodyTimeout, + kStrictContentLength, + kConnector, + kMaxRedirections, + kMaxRequests, + kCounter, + kClose, + kDestroy, + kDispatch, + kInterceptors, + kLocalAddress, + kMaxResponseSize, + kHTTPConnVersion, + // HTTP2 + kHost, + kHTTP2Session, + kHTTP2SessionState, + kHTTP2BuildRequest, + kHTTP2CopyHeaders, + kHTTP1BuildRequest +} = __nccwpck_require__(2785) + +/** @type {import('http2')} */ +let http2 +try { + http2 = __nccwpck_require__(5158) +} catch { + // @ts-ignore + http2 = { constants: {} } +} + +const { + constants: { + HTTP2_HEADER_AUTHORITY, + HTTP2_HEADER_METHOD, + HTTP2_HEADER_PATH, + HTTP2_HEADER_SCHEME, + HTTP2_HEADER_CONTENT_LENGTH, + HTTP2_HEADER_EXPECT, + HTTP2_HEADER_STATUS + } +} = http2 + +// Experimental +let h2ExperimentalWarned = false + +const FastBuffer = Buffer[Symbol.species] + +const kClosedResolve = Symbol('kClosedResolve') + +const channels = {} + +try { + const diagnosticsChannel = __nccwpck_require__(7643) + channels.sendHeaders = diagnosticsChannel.channel('undici:client:sendHeaders') + channels.beforeConnect = diagnosticsChannel.channel('undici:client:beforeConnect') + channels.connectError = diagnosticsChannel.channel('undici:client:connectError') + channels.connected = diagnosticsChannel.channel('undici:client:connected') +} catch { + channels.sendHeaders = { hasSubscribers: false } + channels.beforeConnect = { hasSubscribers: false } + channels.connectError = { hasSubscribers: false } + channels.connected = { hasSubscribers: false } +} + +/** + * @type {import('../types/client').default} + */ +class Client extends DispatcherBase { + /** + * + * @param {string|URL} url + * @param {import('../types/client').Client.Options} options + */ + constructor (url, { + interceptors, + maxHeaderSize, + headersTimeout, + socketTimeout, + requestTimeout, + connectTimeout, + bodyTimeout, + idleTimeout, + keepAlive, + keepAliveTimeout, + maxKeepAliveTimeout, + keepAliveMaxTimeout, + keepAliveTimeoutThreshold, + socketPath, + pipelining, + tls, + strictContentLength, + maxCachedSessions, + maxRedirections, + connect, + maxRequestsPerClient, + localAddress, + maxResponseSize, + autoSelectFamily, + autoSelectFamilyAttemptTimeout, + // h2 + allowH2, + maxConcurrentStreams + } = {}) { + super() + + if (keepAlive !== undefined) { + throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead') + } + + if (socketTimeout !== undefined) { + throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead') + } + + if (requestTimeout !== undefined) { + throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead') + } + + if (idleTimeout !== undefined) { + throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead') + } + + if (maxKeepAliveTimeout !== undefined) { + throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead') + } + + if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) { + throw new InvalidArgumentError('invalid maxHeaderSize') + } + + if (socketPath != null && typeof socketPath !== 'string') { + throw new InvalidArgumentError('invalid socketPath') + } + + if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) { + throw new InvalidArgumentError('invalid connectTimeout') + } + + if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) { + throw new InvalidArgumentError('invalid keepAliveTimeout') + } + + if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) { + throw new InvalidArgumentError('invalid keepAliveMaxTimeout') + } + + if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) { + throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold') + } + + if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) { + throw new InvalidArgumentError('headersTimeout must be a positive integer or zero') + } + + if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) { + throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero') + } + + if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') { + throw new InvalidArgumentError('connect must be a function or an object') + } + + if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) { + throw new InvalidArgumentError('maxRedirections must be a positive number') + } + + if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) { + throw new InvalidArgumentError('maxRequestsPerClient must be a positive number') + } + + if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) { + throw new InvalidArgumentError('localAddress must be valid string IP address') + } + + if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) { + throw new InvalidArgumentError('maxResponseSize must be a positive number') + } + + if ( + autoSelectFamilyAttemptTimeout != null && + (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1) + ) { + throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number') + } + + // h2 + if (allowH2 != null && typeof allowH2 !== 'boolean') { + throw new InvalidArgumentError('allowH2 must be a valid boolean value') + } + + if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) { + throw new InvalidArgumentError('maxConcurrentStreams must be a possitive integer, greater than 0') + } + + if (typeof connect !== 'function') { + connect = buildConnector({ + ...tls, + maxCachedSessions, + allowH2, + socketPath, + timeout: connectTimeout, + ...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined), + ...connect + }) + } + + this[kInterceptors] = interceptors && interceptors.Client && Array.isArray(interceptors.Client) + ? interceptors.Client + : [createRedirectInterceptor({ maxRedirections })] + this[kUrl] = util.parseOrigin(url) + this[kConnector] = connect + this[kSocket] = null + this[kPipelining] = pipelining != null ? pipelining : 1 + this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize + this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout + this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout + this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 1e3 : keepAliveTimeoutThreshold + this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout] + this[kServerName] = null + this[kLocalAddress] = localAddress != null ? localAddress : null + this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming + this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming + this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\r\n` + this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3 + this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3 + this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength + this[kMaxRedirections] = maxRedirections + this[kMaxRequests] = maxRequestsPerClient + this[kClosedResolve] = null + this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1 + this[kHTTPConnVersion] = 'h1' + + // HTTP/2 + this[kHTTP2Session] = null + this[kHTTP2SessionState] = !allowH2 + ? null + : { + // streams: null, // Fixed queue of streams - For future support of `push` + openStreams: 0, // Keep track of them to decide wether or not unref the session + maxConcurrentStreams: maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server + } + this[kHost] = `${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}` + + // kQueue is built up of 3 sections separated by + // the kRunningIdx and kPendingIdx indices. + // | complete | running | pending | + // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length + // kRunningIdx points to the first running element. + // kPendingIdx points to the first pending element. + // This implements a fast queue with an amortized + // time of O(1). + + this[kQueue] = [] + this[kRunningIdx] = 0 + this[kPendingIdx] = 0 + } + + get pipelining () { + return this[kPipelining] + } + + set pipelining (value) { + this[kPipelining] = value + resume(this, true) + } + + get [kPending] () { + return this[kQueue].length - this[kPendingIdx] + } + + get [kRunning] () { + return this[kPendingIdx] - this[kRunningIdx] + } + + get [kSize] () { + return this[kQueue].length - this[kRunningIdx] + } + + get [kConnected] () { + return !!this[kSocket] && !this[kConnecting] && !this[kSocket].destroyed + } + + get [kBusy] () { + const socket = this[kSocket] + return ( + (socket && (socket[kReset] || socket[kWriting] || socket[kBlocking])) || + (this[kSize] >= (this[kPipelining] || 1)) || + this[kPending] > 0 + ) + } + + /* istanbul ignore: only used for test */ + [kConnect] (cb) { + connect(this) + this.once('connect', cb) + } + + [kDispatch] (opts, handler) { + const origin = opts.origin || this[kUrl].origin + + const request = this[kHTTPConnVersion] === 'h2' + ? Request[kHTTP2BuildRequest](origin, opts, handler) + : Request[kHTTP1BuildRequest](origin, opts, handler) + + this[kQueue].push(request) + if (this[kResuming]) { + // Do nothing. + } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) { + // Wait a tick in case stream/iterator is ended in the same tick. + this[kResuming] = 1 + process.nextTick(resume, this) + } else { + resume(this, true) + } + + if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) { + this[kNeedDrain] = 2 + } + + return this[kNeedDrain] < 2 + } + + async [kClose] () { + // TODO: for H2 we need to gracefully flush the remaining enqueued + // request and close each stream. + return new Promise((resolve) => { + if (!this[kSize]) { + resolve(null) + } else { + this[kClosedResolve] = resolve + } + }) + } + + async [kDestroy] (err) { + return new Promise((resolve) => { + const requests = this[kQueue].splice(this[kPendingIdx]) + for (let i = 0; i < requests.length; i++) { + const request = requests[i] + errorRequest(this, request, err) + } + + const callback = () => { + if (this[kClosedResolve]) { + // TODO (fix): Should we error here with ClientDestroyedError? + this[kClosedResolve]() + this[kClosedResolve] = null + } + resolve() + } + + if (this[kHTTP2Session] != null) { + util.destroy(this[kHTTP2Session], err) + this[kHTTP2Session] = null + this[kHTTP2SessionState] = null + } + + if (!this[kSocket]) { + queueMicrotask(callback) + } else { + util.destroy(this[kSocket].on('close', callback), err) + } + + resume(this) + }) + } +} + +function onHttp2SessionError (err) { + assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID') + + this[kSocket][kError] = err + + onError(this[kClient], err) +} + +function onHttp2FrameError (type, code, id) { + const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`) + + if (id === 0) { + this[kSocket][kError] = err + onError(this[kClient], err) + } +} + +function onHttp2SessionEnd () { + util.destroy(this, new SocketError('other side closed')) + util.destroy(this[kSocket], new SocketError('other side closed')) +} + +function onHTTP2GoAway (code) { + const client = this[kClient] + const err = new InformationalError(`HTTP/2: "GOAWAY" frame received with code ${code}`) + client[kSocket] = null + client[kHTTP2Session] = null + + if (client.destroyed) { + assert(this[kPending] === 0) + + // Fail entire queue. + const requests = client[kQueue].splice(client[kRunningIdx]) + for (let i = 0; i < requests.length; i++) { + const request = requests[i] + errorRequest(this, request, err) + } + } else if (client[kRunning] > 0) { + // Fail head of pipeline. + const request = client[kQueue][client[kRunningIdx]] + client[kQueue][client[kRunningIdx]++] = null + + errorRequest(client, request, err) + } + + client[kPendingIdx] = client[kRunningIdx] + + assert(client[kRunning] === 0) + + client.emit('disconnect', + client[kUrl], + [client], + err + ) + + resume(client) +} + +const constants = __nccwpck_require__(953) +const createRedirectInterceptor = __nccwpck_require__(8861) +const EMPTY_BUF = Buffer.alloc(0) + +async function lazyllhttp () { + const llhttpWasmData = process.env.JEST_WORKER_ID ? __nccwpck_require__(1145) : undefined + + let mod + try { + mod = await WebAssembly.compile(Buffer.from(__nccwpck_require__(5627), 'base64')) + } catch (e) { + /* istanbul ignore next */ + + // We could check if the error was caused by the simd option not + // being enabled, but the occurring of this other error + // * https://github.com/emscripten-core/emscripten/issues/11495 + // got me to remove that check to avoid breaking Node 12. + mod = await WebAssembly.compile(Buffer.from(llhttpWasmData || __nccwpck_require__(1145), 'base64')) + } + + return await WebAssembly.instantiate(mod, { + env: { + /* eslint-disable camelcase */ + + wasm_on_url: (p, at, len) => { + /* istanbul ignore next */ + return 0 + }, + wasm_on_status: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p) + const start = at - currentBufferPtr + currentBufferRef.byteOffset + return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0 + }, + wasm_on_message_begin: (p) => { + assert.strictEqual(currentParser.ptr, p) + return currentParser.onMessageBegin() || 0 + }, + wasm_on_header_field: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p) + const start = at - currentBufferPtr + currentBufferRef.byteOffset + return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0 + }, + wasm_on_header_value: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p) + const start = at - currentBufferPtr + currentBufferRef.byteOffset + return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0 + }, + wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => { + assert.strictEqual(currentParser.ptr, p) + return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0 + }, + wasm_on_body: (p, at, len) => { + assert.strictEqual(currentParser.ptr, p) + const start = at - currentBufferPtr + currentBufferRef.byteOffset + return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0 + }, + wasm_on_message_complete: (p) => { + assert.strictEqual(currentParser.ptr, p) + return currentParser.onMessageComplete() || 0 + } + + /* eslint-enable camelcase */ + } + }) +} + +let llhttpInstance = null +let llhttpPromise = lazyllhttp() +llhttpPromise.catch() + +let currentParser = null +let currentBufferRef = null +let currentBufferSize = 0 +let currentBufferPtr = null + +const TIMEOUT_HEADERS = 1 +const TIMEOUT_BODY = 2 +const TIMEOUT_IDLE = 3 + +class Parser { + constructor (client, socket, { exports }) { + assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0) + + this.llhttp = exports + this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE) + this.client = client + this.socket = socket + this.timeout = null + this.timeoutValue = null + this.timeoutType = null + this.statusCode = null + this.statusText = '' + this.upgrade = false + this.headers = [] + this.headersSize = 0 + this.headersMaxSize = client[kMaxHeadersSize] + this.shouldKeepAlive = false + this.paused = false + this.resume = this.resume.bind(this) + + this.bytesRead = 0 + + this.keepAlive = '' + this.contentLength = '' + this.connection = '' + this.maxResponseSize = client[kMaxResponseSize] + } + + setTimeout (value, type) { + this.timeoutType = type + if (value !== this.timeoutValue) { + timers.clearTimeout(this.timeout) + if (value) { + this.timeout = timers.setTimeout(onParserTimeout, value, this) + // istanbul ignore else: only for jest + if (this.timeout.unref) { + this.timeout.unref() + } + } else { + this.timeout = null + } + this.timeoutValue = value + } else if (this.timeout) { + // istanbul ignore else: only for jest + if (this.timeout.refresh) { + this.timeout.refresh() + } + } + } + + resume () { + if (this.socket.destroyed || !this.paused) { + return + } + + assert(this.ptr != null) + assert(currentParser == null) + + this.llhttp.llhttp_resume(this.ptr) + + assert(this.timeoutType === TIMEOUT_BODY) + if (this.timeout) { + // istanbul ignore else: only for jest + if (this.timeout.refresh) { + this.timeout.refresh() + } + } + + this.paused = false + this.execute(this.socket.read() || EMPTY_BUF) // Flush parser. + this.readMore() + } + + readMore () { + while (!this.paused && this.ptr) { + const chunk = this.socket.read() + if (chunk === null) { + break + } + this.execute(chunk) + } + } + + execute (data) { + assert(this.ptr != null) + assert(currentParser == null) + assert(!this.paused) + + const { socket, llhttp } = this + + if (data.length > currentBufferSize) { + if (currentBufferPtr) { + llhttp.free(currentBufferPtr) + } + currentBufferSize = Math.ceil(data.length / 4096) * 4096 + currentBufferPtr = llhttp.malloc(currentBufferSize) + } + + new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data) + + // Call `execute` on the wasm parser. + // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data, + // and finally the length of bytes to parse. + // The return value is an error code or `constants.ERROR.OK`. + try { + let ret + + try { + currentBufferRef = data + currentParser = this + ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length) + /* eslint-disable-next-line no-useless-catch */ + } catch (err) { + /* istanbul ignore next: difficult to make a test case for */ + throw err + } finally { + currentParser = null + currentBufferRef = null + } + + const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr + + if (ret === constants.ERROR.PAUSED_UPGRADE) { + this.onUpgrade(data.slice(offset)) + } else if (ret === constants.ERROR.PAUSED) { + this.paused = true + socket.unshift(data.slice(offset)) + } else if (ret !== constants.ERROR.OK) { + const ptr = llhttp.llhttp_get_error_reason(this.ptr) + let message = '' + /* istanbul ignore else: difficult to make a test case for */ + if (ptr) { + const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0) + message = + 'Response does not match the HTTP/1.1 protocol (' + + Buffer.from(llhttp.memory.buffer, ptr, len).toString() + + ')' + } + throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset)) + } + } catch (err) { + util.destroy(socket, err) + } + } + + destroy () { + assert(this.ptr != null) + assert(currentParser == null) + + this.llhttp.llhttp_free(this.ptr) + this.ptr = null + + timers.clearTimeout(this.timeout) + this.timeout = null + this.timeoutValue = null + this.timeoutType = null + + this.paused = false + } + + onStatus (buf) { + this.statusText = buf.toString() + } + + onMessageBegin () { + const { socket, client } = this + + /* istanbul ignore next: difficult to make a test case for */ + if (socket.destroyed) { + return -1 + } + + const request = client[kQueue][client[kRunningIdx]] + if (!request) { + return -1 + } + } + + onHeaderField (buf) { + const len = this.headers.length + + if ((len & 1) === 0) { + this.headers.push(buf) + } else { + this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf]) + } + + this.trackHeader(buf.length) + } + + onHeaderValue (buf) { + let len = this.headers.length + + if ((len & 1) === 1) { + this.headers.push(buf) + len += 1 + } else { + this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf]) + } + + const key = this.headers[len - 2] + if (key.length === 10 && key.toString().toLowerCase() === 'keep-alive') { + this.keepAlive += buf.toString() + } else if (key.length === 10 && key.toString().toLowerCase() === 'connection') { + this.connection += buf.toString() + } else if (key.length === 14 && key.toString().toLowerCase() === 'content-length') { + this.contentLength += buf.toString() + } + + this.trackHeader(buf.length) + } + + trackHeader (len) { + this.headersSize += len + if (this.headersSize >= this.headersMaxSize) { + util.destroy(this.socket, new HeadersOverflowError()) + } + } + + onUpgrade (head) { + const { upgrade, client, socket, headers, statusCode } = this + + assert(upgrade) + + const request = client[kQueue][client[kRunningIdx]] + assert(request) + + assert(!socket.destroyed) + assert(socket === client[kSocket]) + assert(!this.paused) + assert(request.upgrade || request.method === 'CONNECT') + + this.statusCode = null + this.statusText = '' + this.shouldKeepAlive = null + + assert(this.headers.length % 2 === 0) + this.headers = [] + this.headersSize = 0 + + socket.unshift(head) + + socket[kParser].destroy() + socket[kParser] = null + + socket[kClient] = null + socket[kError] = null + socket + .removeListener('error', onSocketError) + .removeListener('readable', onSocketReadable) + .removeListener('end', onSocketEnd) + .removeListener('close', onSocketClose) + + client[kSocket] = null + client[kQueue][client[kRunningIdx]++] = null + client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade')) + + try { + request.onUpgrade(statusCode, headers, socket) + } catch (err) { + util.destroy(socket, err) + } + + resume(client) + } + + onHeadersComplete (statusCode, upgrade, shouldKeepAlive) { + const { client, socket, headers, statusText } = this + + /* istanbul ignore next: difficult to make a test case for */ + if (socket.destroyed) { + return -1 + } + + const request = client[kQueue][client[kRunningIdx]] + + /* istanbul ignore next: difficult to make a test case for */ + if (!request) { + return -1 + } + + assert(!this.upgrade) + assert(this.statusCode < 200) + + if (statusCode === 100) { + util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket))) + return -1 + } + + /* this can only happen if server is misbehaving */ + if (upgrade && !request.upgrade) { + util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket))) + return -1 + } + + assert.strictEqual(this.timeoutType, TIMEOUT_HEADERS) + + this.statusCode = statusCode + this.shouldKeepAlive = ( + shouldKeepAlive || + // Override llhttp value which does not allow keepAlive for HEAD. + (request.method === 'HEAD' && !socket[kReset] && this.connection.toLowerCase() === 'keep-alive') + ) + + if (this.statusCode >= 200) { + const bodyTimeout = request.bodyTimeout != null + ? request.bodyTimeout + : client[kBodyTimeout] + this.setTimeout(bodyTimeout, TIMEOUT_BODY) + } else if (this.timeout) { + // istanbul ignore else: only for jest + if (this.timeout.refresh) { + this.timeout.refresh() + } + } + + if (request.method === 'CONNECT') { + assert(client[kRunning] === 1) + this.upgrade = true + return 2 + } + + if (upgrade) { + assert(client[kRunning] === 1) + this.upgrade = true + return 2 + } + + assert(this.headers.length % 2 === 0) + this.headers = [] + this.headersSize = 0 + + if (this.shouldKeepAlive && client[kPipelining]) { + const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null + + if (keepAliveTimeout != null) { + const timeout = Math.min( + keepAliveTimeout - client[kKeepAliveTimeoutThreshold], + client[kKeepAliveMaxTimeout] + ) + if (timeout <= 0) { + socket[kReset] = true + } else { + client[kKeepAliveTimeoutValue] = timeout + } + } else { + client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout] + } + } else { + // Stop more requests from being dispatched. + socket[kReset] = true + } + + const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false + + if (request.aborted) { + return -1 + } + + if (request.method === 'HEAD') { + return 1 + } + + if (statusCode < 200) { + return 1 + } + + if (socket[kBlocking]) { + socket[kBlocking] = false + resume(client) + } + + return pause ? constants.ERROR.PAUSED : 0 + } + + onBody (buf) { + const { client, socket, statusCode, maxResponseSize } = this + + if (socket.destroyed) { + return -1 + } + + const request = client[kQueue][client[kRunningIdx]] + assert(request) + + assert.strictEqual(this.timeoutType, TIMEOUT_BODY) + if (this.timeout) { + // istanbul ignore else: only for jest + if (this.timeout.refresh) { + this.timeout.refresh() + } + } + + assert(statusCode >= 200) + + if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) { + util.destroy(socket, new ResponseExceededMaxSizeError()) + return -1 + } + + this.bytesRead += buf.length + + if (request.onData(buf) === false) { + return constants.ERROR.PAUSED + } + } + + onMessageComplete () { + const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this + + if (socket.destroyed && (!statusCode || shouldKeepAlive)) { + return -1 + } + + if (upgrade) { + return + } + + const request = client[kQueue][client[kRunningIdx]] + assert(request) + + assert(statusCode >= 100) + + this.statusCode = null + this.statusText = '' + this.bytesRead = 0 + this.contentLength = '' + this.keepAlive = '' + this.connection = '' + + assert(this.headers.length % 2 === 0) + this.headers = [] + this.headersSize = 0 + + if (statusCode < 200) { + return + } + + /* istanbul ignore next: should be handled by llhttp? */ + if (request.method !== 'HEAD' && contentLength && bytesRead !== parseInt(contentLength, 10)) { + util.destroy(socket, new ResponseContentLengthMismatchError()) + return -1 + } + + request.onComplete(headers) + + client[kQueue][client[kRunningIdx]++] = null + + if (socket[kWriting]) { + assert.strictEqual(client[kRunning], 0) + // Response completed before request. + util.destroy(socket, new InformationalError('reset')) + return constants.ERROR.PAUSED + } else if (!shouldKeepAlive) { + util.destroy(socket, new InformationalError('reset')) + return constants.ERROR.PAUSED + } else if (socket[kReset] && client[kRunning] === 0) { + // Destroy socket once all requests have completed. + // The request at the tail of the pipeline is the one + // that requested reset and no further requests should + // have been queued since then. + util.destroy(socket, new InformationalError('reset')) + return constants.ERROR.PAUSED + } else if (client[kPipelining] === 1) { + // We must wait a full event loop cycle to reuse this socket to make sure + // that non-spec compliant servers are not closing the connection even if they + // said they won't. + setImmediate(resume, client) + } else { + resume(client) + } + } +} + +function onParserTimeout (parser) { + const { socket, timeoutType, client } = parser + + /* istanbul ignore else */ + if (timeoutType === TIMEOUT_HEADERS) { + if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) { + assert(!parser.paused, 'cannot be paused while waiting for headers') + util.destroy(socket, new HeadersTimeoutError()) + } + } else if (timeoutType === TIMEOUT_BODY) { + if (!parser.paused) { + util.destroy(socket, new BodyTimeoutError()) + } + } else if (timeoutType === TIMEOUT_IDLE) { + assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue]) + util.destroy(socket, new InformationalError('socket idle timeout')) + } +} + +function onSocketReadable () { + const { [kParser]: parser } = this + if (parser) { + parser.readMore() + } +} + +function onSocketError (err) { + const { [kClient]: client, [kParser]: parser } = this + + assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID') + + if (client[kHTTPConnVersion] !== 'h2') { + // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded + // to the user. + if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) { + // We treat all incoming data so for as a valid response. + parser.onMessageComplete() + return + } + } + + this[kError] = err + + onError(this[kClient], err) +} + +function onError (client, err) { + if ( + client[kRunning] === 0 && + err.code !== 'UND_ERR_INFO' && + err.code !== 'UND_ERR_SOCKET' + ) { + // Error is not caused by running request and not a recoverable + // socket error. + + assert(client[kPendingIdx] === client[kRunningIdx]) + + const requests = client[kQueue].splice(client[kRunningIdx]) + for (let i = 0; i < requests.length; i++) { + const request = requests[i] + errorRequest(client, request, err) + } + assert(client[kSize] === 0) + } +} + +function onSocketEnd () { + const { [kParser]: parser, [kClient]: client } = this + + if (client[kHTTPConnVersion] !== 'h2') { + if (parser.statusCode && !parser.shouldKeepAlive) { + // We treat all incoming data so far as a valid response. + parser.onMessageComplete() + return + } + } + + util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this))) +} + +function onSocketClose () { + const { [kClient]: client, [kParser]: parser } = this + + if (client[kHTTPConnVersion] === 'h1' && parser) { + if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) { + // We treat all incoming data so far as a valid response. + parser.onMessageComplete() + } + + this[kParser].destroy() + this[kParser] = null + } + + const err = this[kError] || new SocketError('closed', util.getSocketInfo(this)) + + client[kSocket] = null + + if (client.destroyed) { + assert(client[kPending] === 0) + + // Fail entire queue. + const requests = client[kQueue].splice(client[kRunningIdx]) + for (let i = 0; i < requests.length; i++) { + const request = requests[i] + errorRequest(client, request, err) + } + } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') { + // Fail head of pipeline. + const request = client[kQueue][client[kRunningIdx]] + client[kQueue][client[kRunningIdx]++] = null + + errorRequest(client, request, err) + } + + client[kPendingIdx] = client[kRunningIdx] + + assert(client[kRunning] === 0) + + client.emit('disconnect', client[kUrl], [client], err) + + resume(client) +} + +async function connect (client) { + assert(!client[kConnecting]) + assert(!client[kSocket]) + + let { host, hostname, protocol, port } = client[kUrl] + + // Resolve ipv6 + if (hostname[0] === '[') { + const idx = hostname.indexOf(']') + + assert(idx !== -1) + const ip = hostname.substring(1, idx) + + assert(net.isIP(ip)) + hostname = ip + } + + client[kConnecting] = true + + if (channels.beforeConnect.hasSubscribers) { + channels.beforeConnect.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector] + }) + } + + try { + const socket = await new Promise((resolve, reject) => { + client[kConnector]({ + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, (err, socket) => { + if (err) { + reject(err) + } else { + resolve(socket) + } + }) + }) + + if (client.destroyed) { + util.destroy(socket.on('error', () => {}), new ClientDestroyedError()) + return + } + + client[kConnecting] = false + + assert(socket) + + const isH2 = socket.alpnProtocol === 'h2' + if (isH2) { + if (!h2ExperimentalWarned) { + h2ExperimentalWarned = true + process.emitWarning('H2 support is experimental, expect them to change at any time.', { + code: 'UNDICI-H2' + }) + } + + const session = http2.connect(client[kUrl], { + createConnection: () => socket, + peerMaxConcurrentStreams: client[kHTTP2SessionState].maxConcurrentStreams + }) + + client[kHTTPConnVersion] = 'h2' + session[kClient] = client + session[kSocket] = socket + session.on('error', onHttp2SessionError) + session.on('frameError', onHttp2FrameError) + session.on('end', onHttp2SessionEnd) + session.on('goaway', onHTTP2GoAway) + session.on('close', onSocketClose) + session.unref() + + client[kHTTP2Session] = session + socket[kHTTP2Session] = session + } else { + if (!llhttpInstance) { + llhttpInstance = await llhttpPromise + llhttpPromise = null + } + + socket[kNoRef] = false + socket[kWriting] = false + socket[kReset] = false + socket[kBlocking] = false + socket[kParser] = new Parser(client, socket, llhttpInstance) + } + + socket[kCounter] = 0 + socket[kMaxRequests] = client[kMaxRequests] + socket[kClient] = client + socket[kError] = null + + socket + .on('error', onSocketError) + .on('readable', onSocketReadable) + .on('end', onSocketEnd) + .on('close', onSocketClose) + + client[kSocket] = socket + + if (channels.connected.hasSubscribers) { + channels.connected.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector], + socket + }) + } + client.emit('connect', client[kUrl], [client]) + } catch (err) { + if (client.destroyed) { + return + } + + client[kConnecting] = false + + if (channels.connectError.hasSubscribers) { + channels.connectError.publish({ + connectParams: { + host, + hostname, + protocol, + port, + servername: client[kServerName], + localAddress: client[kLocalAddress] + }, + connector: client[kConnector], + error: err + }) + } + + if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') { + assert(client[kRunning] === 0) + while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) { + const request = client[kQueue][client[kPendingIdx]++] + errorRequest(client, request, err) + } + } else { + onError(client, err) + } + + client.emit('connectionError', client[kUrl], [client], err) + } + + resume(client) +} + +function emitDrain (client) { + client[kNeedDrain] = 0 + client.emit('drain', client[kUrl], [client]) +} + +function resume (client, sync) { + if (client[kResuming] === 2) { + return + } + + client[kResuming] = 2 + + _resume(client, sync) + client[kResuming] = 0 + + if (client[kRunningIdx] > 256) { + client[kQueue].splice(0, client[kRunningIdx]) + client[kPendingIdx] -= client[kRunningIdx] + client[kRunningIdx] = 0 + } +} + +function _resume (client, sync) { + while (true) { + if (client.destroyed) { + assert(client[kPending] === 0) + return + } + + if (client[kClosedResolve] && !client[kSize]) { + client[kClosedResolve]() + client[kClosedResolve] = null + return + } + + const socket = client[kSocket] + + if (socket && !socket.destroyed && socket.alpnProtocol !== 'h2') { + if (client[kSize] === 0) { + if (!socket[kNoRef] && socket.unref) { + socket.unref() + socket[kNoRef] = true + } + } else if (socket[kNoRef] && socket.ref) { + socket.ref() + socket[kNoRef] = false + } + + if (client[kSize] === 0) { + if (socket[kParser].timeoutType !== TIMEOUT_IDLE) { + socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_IDLE) + } + } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) { + if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) { + const request = client[kQueue][client[kRunningIdx]] + const headersTimeout = request.headersTimeout != null + ? request.headersTimeout + : client[kHeadersTimeout] + socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS) + } + } + } + + if (client[kBusy]) { + client[kNeedDrain] = 2 + } else if (client[kNeedDrain] === 2) { + if (sync) { + client[kNeedDrain] = 1 + process.nextTick(emitDrain, client) + } else { + emitDrain(client) + } + continue + } + + if (client[kPending] === 0) { + return + } + + if (client[kRunning] >= (client[kPipelining] || 1)) { + return + } + + const request = client[kQueue][client[kPendingIdx]] + + if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) { + if (client[kRunning] > 0) { + return + } + + client[kServerName] = request.servername + + if (socket && socket.servername !== request.servername) { + util.destroy(socket, new InformationalError('servername changed')) + return + } + } + + if (client[kConnecting]) { + return + } + + if (!socket && !client[kHTTP2Session]) { + connect(client) + return + } + + if (socket.destroyed || socket[kWriting] || socket[kReset] || socket[kBlocking]) { + return + } + + if (client[kRunning] > 0 && !request.idempotent) { + // Non-idempotent request cannot be retried. + // Ensure that no other requests are inflight and + // could cause failure. + return + } + + if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) { + // Don't dispatch an upgrade until all preceding requests have completed. + // A misbehaving server might upgrade the connection before all pipelined + // request has completed. + return + } + + if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 && + (util.isStream(request.body) || util.isAsyncIterable(request.body))) { + // Request with stream or iterator body can error while other requests + // are inflight and indirectly error those as well. + // Ensure this doesn't happen by waiting for inflight + // to complete before dispatching. + + // Request with stream or iterator body cannot be retried. + // Ensure that no other requests are inflight and + // could cause failure. + return + } + + if (!request.aborted && write(client, request)) { + client[kPendingIdx]++ + } else { + client[kQueue].splice(client[kPendingIdx], 1) + } + } +} + +// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2 +function shouldSendContentLength (method) { + return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT' +} + +function write (client, request) { + if (client[kHTTPConnVersion] === 'h2') { + writeH2(client, client[kHTTP2Session], request) + return + } + + const { body, method, path, host, upgrade, headers, blocking, reset } = request + + // https://tools.ietf.org/html/rfc7231#section-4.3.1 + // https://tools.ietf.org/html/rfc7231#section-4.3.2 + // https://tools.ietf.org/html/rfc7231#section-4.3.5 + + // Sending a payload body on a request that does not + // expect it can cause undefined behavior on some + // servers and corrupt connection state. Do not + // re-use the connection for further requests. + + const expectsPayload = ( + method === 'PUT' || + method === 'POST' || + method === 'PATCH' + ) + + if (body && typeof body.read === 'function') { + // Try to read EOF in order to get length. + body.read(0) + } + + const bodyLength = util.bodyLength(body) + + let contentLength = bodyLength + + if (contentLength === null) { + contentLength = request.contentLength + } + + if (contentLength === 0 && !expectsPayload) { + // https://tools.ietf.org/html/rfc7230#section-3.3.2 + // A user agent SHOULD NOT send a Content-Length header field when + // the request message does not contain a payload body and the method + // semantics do not anticipate such a body. + + contentLength = null + } + + // https://github.com/nodejs/undici/issues/2046 + // A user agent may send a Content-Length header with 0 value, this should be allowed. + if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) { + if (client[kStrictContentLength]) { + errorRequest(client, request, new RequestContentLengthMismatchError()) + return false + } + + process.emitWarning(new RequestContentLengthMismatchError()) + } + + const socket = client[kSocket] + + try { + request.onConnect((err) => { + if (request.aborted || request.completed) { + return + } + + errorRequest(client, request, err || new RequestAbortedError()) + + util.destroy(socket, new InformationalError('aborted')) + }) + } catch (err) { + errorRequest(client, request, err) + } + + if (request.aborted) { + return false + } + + if (method === 'HEAD') { + // https://github.com/mcollina/undici/issues/258 + // Close after a HEAD request to interop with misbehaving servers + // that may send a body in the response. + + socket[kReset] = true + } + + if (upgrade || method === 'CONNECT') { + // On CONNECT or upgrade, block pipeline from dispatching further + // requests on this connection. + + socket[kReset] = true + } + + if (reset != null) { + socket[kReset] = reset + } + + if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) { + socket[kReset] = true + } + + if (blocking) { + socket[kBlocking] = true + } + + let header = `${method} ${path} HTTP/1.1\r\n` + + if (typeof host === 'string') { + header += `host: ${host}\r\n` + } else { + header += client[kHostHeader] + } + + if (upgrade) { + header += `connection: upgrade\r\nupgrade: ${upgrade}\r\n` + } else if (client[kPipelining] && !socket[kReset]) { + header += 'connection: keep-alive\r\n' + } else { + header += 'connection: close\r\n' + } + + if (headers) { + header += headers + } + + if (channels.sendHeaders.hasSubscribers) { + channels.sendHeaders.publish({ request, headers: header, socket }) + } + + /* istanbul ignore else: assertion */ + if (!body || bodyLength === 0) { + if (contentLength === 0) { + socket.write(`${header}content-length: 0\r\n\r\n`, 'latin1') + } else { + assert(contentLength === null, 'no body must not have content length') + socket.write(`${header}\r\n`, 'latin1') + } + request.onRequestSent() + } else if (util.isBuffer(body)) { + assert(contentLength === body.byteLength, 'buffer body must have content length') + + socket.cork() + socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1') + socket.write(body) + socket.uncork() + request.onBodySent(body) + request.onRequestSent() + if (!expectsPayload) { + socket[kReset] = true + } + } else if (util.isBlobLike(body)) { + if (typeof body.stream === 'function') { + writeIterable({ body: body.stream(), client, request, socket, contentLength, header, expectsPayload }) + } else { + writeBlob({ body, client, request, socket, contentLength, header, expectsPayload }) + } + } else if (util.isStream(body)) { + writeStream({ body, client, request, socket, contentLength, header, expectsPayload }) + } else if (util.isIterable(body)) { + writeIterable({ body, client, request, socket, contentLength, header, expectsPayload }) + } else { + assert(false) + } + + return true +} + +function writeH2 (client, session, request) { + const { body, method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request + + let headers + if (typeof reqHeaders === 'string') headers = Request[kHTTP2CopyHeaders](reqHeaders.trim()) + else headers = reqHeaders + + if (upgrade) { + errorRequest(client, request, new Error('Upgrade not supported for H2')) + return false + } + + try { + // TODO(HTTP/2): Should we call onConnect immediately or on stream ready event? + request.onConnect((err) => { + if (request.aborted || request.completed) { + return + } + + errorRequest(client, request, err || new RequestAbortedError()) + }) + } catch (err) { + errorRequest(client, request, err) + } + + if (request.aborted) { + return false + } + + /** @type {import('node:http2').ClientHttp2Stream} */ + let stream + const h2State = client[kHTTP2SessionState] + + headers[HTTP2_HEADER_AUTHORITY] = host || client[kHost] + headers[HTTP2_HEADER_METHOD] = method + + if (method === 'CONNECT') { + session.ref() + // we are already connected, streams are pending, first request + // will create a new stream. We trigger a request to create the stream and wait until + // `ready` event is triggered + // We disabled endStream to allow the user to write to the stream + stream = session.request(headers, { endStream: false, signal }) + + if (stream.id && !stream.pending) { + request.onUpgrade(null, null, stream) + ++h2State.openStreams + } else { + stream.once('ready', () => { + request.onUpgrade(null, null, stream) + ++h2State.openStreams + }) + } + + stream.once('close', () => { + h2State.openStreams -= 1 + // TODO(HTTP/2): unref only if current streams count is 0 + if (h2State.openStreams === 0) session.unref() + }) + + return true + } + + // https://tools.ietf.org/html/rfc7540#section-8.3 + // :path and :scheme headers must be omited when sending CONNECT + + headers[HTTP2_HEADER_PATH] = path + headers[HTTP2_HEADER_SCHEME] = 'https' + + // https://tools.ietf.org/html/rfc7231#section-4.3.1 + // https://tools.ietf.org/html/rfc7231#section-4.3.2 + // https://tools.ietf.org/html/rfc7231#section-4.3.5 + + // Sending a payload body on a request that does not + // expect it can cause undefined behavior on some + // servers and corrupt connection state. Do not + // re-use the connection for further requests. + + const expectsPayload = ( + method === 'PUT' || + method === 'POST' || + method === 'PATCH' + ) + + if (body && typeof body.read === 'function') { + // Try to read EOF in order to get length. + body.read(0) + } + + let contentLength = util.bodyLength(body) + + if (contentLength == null) { + contentLength = request.contentLength + } + + if (contentLength === 0 || !expectsPayload) { + // https://tools.ietf.org/html/rfc7230#section-3.3.2 + // A user agent SHOULD NOT send a Content-Length header field when + // the request message does not contain a payload body and the method + // semantics do not anticipate such a body. + + contentLength = null + } + + // https://github.com/nodejs/undici/issues/2046 + // A user agent may send a Content-Length header with 0 value, this should be allowed. + if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) { + if (client[kStrictContentLength]) { + errorRequest(client, request, new RequestContentLengthMismatchError()) + return false + } + + process.emitWarning(new RequestContentLengthMismatchError()) + } + + if (contentLength != null) { + assert(body, 'no body must not have content length') + headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}` + } + + session.ref() + + const shouldEndStream = method === 'GET' || method === 'HEAD' + if (expectContinue) { + headers[HTTP2_HEADER_EXPECT] = '100-continue' + stream = session.request(headers, { endStream: shouldEndStream, signal }) + + stream.once('continue', writeBodyH2) + } else { + stream = session.request(headers, { + endStream: shouldEndStream, + signal + }) + writeBodyH2() + } + + // Increment counter as we have new several streams open + ++h2State.openStreams + + stream.once('response', headers => { + const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers + + if (request.onHeaders(Number(statusCode), realHeaders, stream.resume.bind(stream), '') === false) { + stream.pause() + } + }) + + stream.once('end', () => { + request.onComplete([]) + }) + + stream.on('data', (chunk) => { + if (request.onData(chunk) === false) { + stream.pause() + } + }) + + stream.once('close', () => { + h2State.openStreams -= 1 + // TODO(HTTP/2): unref only if current streams count is 0 + if (h2State.openStreams === 0) { + session.unref() + } + }) + + stream.once('error', function (err) { + if (client[kHTTP2Session] && !client[kHTTP2Session].destroyed && !this.closed && !this.destroyed) { + h2State.streams -= 1 + util.destroy(stream, err) + } + }) + + stream.once('frameError', (type, code) => { + const err = new InformationalError(`HTTP/2: "frameError" received - type ${type}, code ${code}`) + errorRequest(client, request, err) + + if (client[kHTTP2Session] && !client[kHTTP2Session].destroyed && !this.closed && !this.destroyed) { + h2State.streams -= 1 + util.destroy(stream, err) + } + }) + + // stream.on('aborted', () => { + // // TODO(HTTP/2): Support aborted + // }) + + // stream.on('timeout', () => { + // // TODO(HTTP/2): Support timeout + // }) + + // stream.on('push', headers => { + // // TODO(HTTP/2): Suppor push + // }) + + // stream.on('trailers', headers => { + // // TODO(HTTP/2): Support trailers + // }) + + return true + + function writeBodyH2 () { + /* istanbul ignore else: assertion */ + if (!body) { + request.onRequestSent() + } else if (util.isBuffer(body)) { + assert(contentLength === body.byteLength, 'buffer body must have content length') + stream.cork() + stream.write(body) + stream.uncork() + stream.end() + request.onBodySent(body) + request.onRequestSent() + } else if (util.isBlobLike(body)) { + if (typeof body.stream === 'function') { + writeIterable({ + client, + request, + contentLength, + h2stream: stream, + expectsPayload, + body: body.stream(), + socket: client[kSocket], + header: '' + }) + } else { + writeBlob({ + body, + client, + request, + contentLength, + expectsPayload, + h2stream: stream, + header: '', + socket: client[kSocket] + }) + } + } else if (util.isStream(body)) { + writeStream({ + body, + client, + request, + contentLength, + expectsPayload, + socket: client[kSocket], + h2stream: stream, + header: '' + }) + } else if (util.isIterable(body)) { + writeIterable({ + body, + client, + request, + contentLength, + expectsPayload, + header: '', + h2stream: stream, + socket: client[kSocket] + }) + } else { + assert(false) + } + } +} + +function writeStream ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { + assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined') + + if (client[kHTTPConnVersion] === 'h2') { + // For HTTP/2, is enough to pipe the stream + const pipe = pipeline( + body, + h2stream, + (err) => { + if (err) { + util.destroy(body, err) + util.destroy(h2stream, err) + } else { + request.onRequestSent() + } + } + ) + + pipe.on('data', onPipeData) + pipe.once('end', () => { + pipe.removeListener('data', onPipeData) + util.destroy(pipe) + }) + + function onPipeData (chunk) { + request.onBodySent(chunk) + } + + return + } + + let finished = false + + const writer = new AsyncWriter({ socket, request, contentLength, client, expectsPayload, header }) + + const onData = function (chunk) { + if (finished) { + return + } + + try { + if (!writer.write(chunk) && this.pause) { + this.pause() + } + } catch (err) { + util.destroy(this, err) + } + } + const onDrain = function () { + if (finished) { + return + } + + if (body.resume) { + body.resume() + } + } + const onAbort = function () { + if (finished) { + return + } + const err = new RequestAbortedError() + queueMicrotask(() => onFinished(err)) + } + const onFinished = function (err) { + if (finished) { + return + } + + finished = true + + assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1)) + + socket + .off('drain', onDrain) + .off('error', onFinished) + + body + .removeListener('data', onData) + .removeListener('end', onFinished) + .removeListener('error', onFinished) + .removeListener('close', onAbort) + + if (!err) { + try { + writer.end() + } catch (er) { + err = er + } + } + + writer.destroy(err) + + if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) { + util.destroy(body, err) + } else { + util.destroy(body) + } + } + + body + .on('data', onData) + .on('end', onFinished) + .on('error', onFinished) + .on('close', onAbort) + + if (body.resume) { + body.resume() + } + + socket + .on('drain', onDrain) + .on('error', onFinished) +} + +async function writeBlob ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { + assert(contentLength === body.size, 'blob body must have content length') + + const isH2 = client[kHTTPConnVersion] === 'h2' + try { + if (contentLength != null && contentLength !== body.size) { + throw new RequestContentLengthMismatchError() + } + + const buffer = Buffer.from(await body.arrayBuffer()) + + if (isH2) { + h2stream.cork() + h2stream.write(buffer) + h2stream.uncork() + } else { + socket.cork() + socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1') + socket.write(buffer) + socket.uncork() + } + + request.onBodySent(buffer) + request.onRequestSent() + + if (!expectsPayload) { + socket[kReset] = true + } + + resume(client) + } catch (err) { + util.destroy(isH2 ? h2stream : socket, err) + } +} + +async function writeIterable ({ h2stream, body, client, request, socket, contentLength, header, expectsPayload }) { + assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined') + + let callback = null + function onDrain () { + if (callback) { + const cb = callback + callback = null + cb() + } + } + + const waitForDrain = () => new Promise((resolve, reject) => { + assert(callback === null) + + if (socket[kError]) { + reject(socket[kError]) + } else { + callback = resolve + } + }) + + if (client[kHTTPConnVersion] === 'h2') { + h2stream + .on('close', onDrain) + .on('drain', onDrain) + + try { + // It's up to the user to somehow abort the async iterable. + for await (const chunk of body) { + if (socket[kError]) { + throw socket[kError] + } + + const res = h2stream.write(chunk) + request.onBodySent(chunk) + if (!res) { + await waitForDrain() + } + } + } catch (err) { + h2stream.destroy(err) + } finally { + request.onRequestSent() + h2stream.end() + h2stream + .off('close', onDrain) + .off('drain', onDrain) + } + + return + } + + socket + .on('close', onDrain) + .on('drain', onDrain) + + const writer = new AsyncWriter({ socket, request, contentLength, client, expectsPayload, header }) + try { + // It's up to the user to somehow abort the async iterable. + for await (const chunk of body) { + if (socket[kError]) { + throw socket[kError] + } + + if (!writer.write(chunk)) { + await waitForDrain() + } + } + + writer.end() + } catch (err) { + writer.destroy(err) + } finally { + socket + .off('close', onDrain) + .off('drain', onDrain) + } +} + +class AsyncWriter { + constructor ({ socket, request, contentLength, client, expectsPayload, header }) { + this.socket = socket + this.request = request + this.contentLength = contentLength + this.client = client + this.bytesWritten = 0 + this.expectsPayload = expectsPayload + this.header = header + + socket[kWriting] = true + } + + write (chunk) { + const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this + + if (socket[kError]) { + throw socket[kError] + } + + if (socket.destroyed) { + return false + } + + const len = Buffer.byteLength(chunk) + if (!len) { + return true + } + + // We should defer writing chunks. + if (contentLength !== null && bytesWritten + len > contentLength) { + if (client[kStrictContentLength]) { + throw new RequestContentLengthMismatchError() + } + + process.emitWarning(new RequestContentLengthMismatchError()) + } + + socket.cork() + + if (bytesWritten === 0) { + if (!expectsPayload) { + socket[kReset] = true + } + + if (contentLength === null) { + socket.write(`${header}transfer-encoding: chunked\r\n`, 'latin1') + } else { + socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1') + } + } + + if (contentLength === null) { + socket.write(`\r\n${len.toString(16)}\r\n`, 'latin1') + } + + this.bytesWritten += len + + const ret = socket.write(chunk) + + socket.uncork() + + request.onBodySent(chunk) + + if (!ret) { + if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) { + // istanbul ignore else: only for jest + if (socket[kParser].timeout.refresh) { + socket[kParser].timeout.refresh() + } + } + } + + return ret + } + + end () { + const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this + request.onRequestSent() + + socket[kWriting] = false + + if (socket[kError]) { + throw socket[kError] + } + + if (socket.destroyed) { + return + } + + if (bytesWritten === 0) { + if (expectsPayload) { + // https://tools.ietf.org/html/rfc7230#section-3.3.2 + // A user agent SHOULD send a Content-Length in a request message when + // no Transfer-Encoding is sent and the request method defines a meaning + // for an enclosed payload body. + + socket.write(`${header}content-length: 0\r\n\r\n`, 'latin1') + } else { + socket.write(`${header}\r\n`, 'latin1') + } + } else if (contentLength === null) { + socket.write('\r\n0\r\n\r\n', 'latin1') + } + + if (contentLength !== null && bytesWritten !== contentLength) { + if (client[kStrictContentLength]) { + throw new RequestContentLengthMismatchError() + } else { + process.emitWarning(new RequestContentLengthMismatchError()) + } + } + + if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) { + // istanbul ignore else: only for jest + if (socket[kParser].timeout.refresh) { + socket[kParser].timeout.refresh() + } + } + + resume(client) + } + + destroy (err) { + const { socket, client } = this + + socket[kWriting] = false + + if (err) { + assert(client[kRunning] <= 1, 'pipeline should only contain this request') + util.destroy(socket, err) + } + } +} + +function errorRequest (client, request, err) { + try { + request.onError(err) + assert(request.aborted) + } catch (err) { + client.emit('error', err) + } +} + +module.exports = Client + + +/***/ }), + +/***/ 6436: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/* istanbul ignore file: only for Node 12 */ + +const { kConnected, kSize } = __nccwpck_require__(2785) + +class CompatWeakRef { + constructor (value) { + this.value = value + } + + deref () { + return this.value[kConnected] === 0 && this.value[kSize] === 0 + ? undefined + : this.value + } +} + +class CompatFinalizer { + constructor (finalizer) { + this.finalizer = finalizer + } + + register (dispatcher, key) { + if (dispatcher.on) { + dispatcher.on('disconnect', () => { + if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) { + this.finalizer(key) + } + }) + } + } +} + +module.exports = function () { + // FIXME: remove workaround when the Node bug is fixed + // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308 + if (process.env.NODE_V8_COVERAGE) { + return { + WeakRef: CompatWeakRef, + FinalizationRegistry: CompatFinalizer + } + } + return { + WeakRef: global.WeakRef || CompatWeakRef, + FinalizationRegistry: global.FinalizationRegistry || CompatFinalizer + } +} + + +/***/ }), + +/***/ 663: +/***/ ((module) => { + +"use strict"; + + +// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size +const maxAttributeValueSize = 1024 + +// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size +const maxNameValuePairSize = 4096 + +module.exports = { + maxAttributeValueSize, + maxNameValuePairSize +} + + +/***/ }), + +/***/ 1724: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { parseSetCookie } = __nccwpck_require__(4408) +const { stringify, getHeadersList } = __nccwpck_require__(3121) +const { webidl } = __nccwpck_require__(1744) +const { Headers } = __nccwpck_require__(554) + +/** + * @typedef {Object} Cookie + * @property {string} name + * @property {string} value + * @property {Date|number|undefined} expires + * @property {number|undefined} maxAge + * @property {string|undefined} domain + * @property {string|undefined} path + * @property {boolean|undefined} secure + * @property {boolean|undefined} httpOnly + * @property {'Strict'|'Lax'|'None'} sameSite + * @property {string[]} unparsed + */ + +/** + * @param {Headers} headers + * @returns {Record} + */ +function getCookies (headers) { + webidl.argumentLengthCheck(arguments, 1, { header: 'getCookies' }) + + webidl.brandCheck(headers, Headers, { strict: false }) + + const cookie = headers.get('cookie') + const out = {} + + if (!cookie) { + return out + } + + for (const piece of cookie.split(';')) { + const [name, ...value] = piece.split('=') + + out[name.trim()] = value.join('=') + } + + return out +} + +/** + * @param {Headers} headers + * @param {string} name + * @param {{ path?: string, domain?: string }|undefined} attributes + * @returns {void} + */ +function deleteCookie (headers, name, attributes) { + webidl.argumentLengthCheck(arguments, 2, { header: 'deleteCookie' }) + + webidl.brandCheck(headers, Headers, { strict: false }) + + name = webidl.converters.DOMString(name) + attributes = webidl.converters.DeleteCookieAttributes(attributes) + + // Matches behavior of + // https://github.com/denoland/deno_std/blob/63827b16330b82489a04614027c33b7904e08be5/http/cookie.ts#L278 + setCookie(headers, { + name, + value: '', + expires: new Date(0), + ...attributes + }) +} + +/** + * @param {Headers} headers + * @returns {Cookie[]} + */ +function getSetCookies (headers) { + webidl.argumentLengthCheck(arguments, 1, { header: 'getSetCookies' }) + + webidl.brandCheck(headers, Headers, { strict: false }) + + const cookies = getHeadersList(headers).cookies + + if (!cookies) { + return [] + } + + // In older versions of undici, cookies is a list of name:value. + return cookies.map((pair) => parseSetCookie(Array.isArray(pair) ? pair[1] : pair)) +} + +/** + * @param {Headers} headers + * @param {Cookie} cookie + * @returns {void} + */ +function setCookie (headers, cookie) { + webidl.argumentLengthCheck(arguments, 2, { header: 'setCookie' }) + + webidl.brandCheck(headers, Headers, { strict: false }) + + cookie = webidl.converters.Cookie(cookie) + + const str = stringify(cookie) + + if (str) { + headers.append('Set-Cookie', stringify(cookie)) + } +} + +webidl.converters.DeleteCookieAttributes = webidl.dictionaryConverter([ + { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: 'path', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: 'domain', + defaultValue: null + } +]) + +webidl.converters.Cookie = webidl.dictionaryConverter([ + { + converter: webidl.converters.DOMString, + key: 'name' + }, + { + converter: webidl.converters.DOMString, + key: 'value' + }, + { + converter: webidl.nullableConverter((value) => { + if (typeof value === 'number') { + return webidl.converters['unsigned long long'](value) + } + + return new Date(value) + }), + key: 'expires', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters['long long']), + key: 'maxAge', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: 'domain', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters.DOMString), + key: 'path', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters.boolean), + key: 'secure', + defaultValue: null + }, + { + converter: webidl.nullableConverter(webidl.converters.boolean), + key: 'httpOnly', + defaultValue: null + }, + { + converter: webidl.converters.USVString, + key: 'sameSite', + allowedValues: ['Strict', 'Lax', 'None'] + }, + { + converter: webidl.sequenceConverter(webidl.converters.DOMString), + key: 'unparsed', + defaultValue: [] + } +]) + +module.exports = { + getCookies, + deleteCookie, + getSetCookies, + setCookie +} + + +/***/ }), + +/***/ 4408: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { maxNameValuePairSize, maxAttributeValueSize } = __nccwpck_require__(663) +const { isCTLExcludingHtab } = __nccwpck_require__(3121) +const { collectASequenceOfCodePointsFast } = __nccwpck_require__(685) +const assert = __nccwpck_require__(9491) + +/** + * @description Parses the field-value attributes of a set-cookie header string. + * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4 + * @param {string} header + * @returns if the header is invalid, null will be returned + */ +function parseSetCookie (header) { + // 1. If the set-cookie-string contains a %x00-08 / %x0A-1F / %x7F + // character (CTL characters excluding HTAB): Abort these steps and + // ignore the set-cookie-string entirely. + if (isCTLExcludingHtab(header)) { + return null + } + + let nameValuePair = '' + let unparsedAttributes = '' + let name = '' + let value = '' + + // 2. If the set-cookie-string contains a %x3B (";") character: + if (header.includes(';')) { + // 1. The name-value-pair string consists of the characters up to, + // but not including, the first %x3B (";"), and the unparsed- + // attributes consist of the remainder of the set-cookie-string + // (including the %x3B (";") in question). + const position = { position: 0 } + + nameValuePair = collectASequenceOfCodePointsFast(';', header, position) + unparsedAttributes = header.slice(position.position) + } else { + // Otherwise: + + // 1. The name-value-pair string consists of all the characters + // contained in the set-cookie-string, and the unparsed- + // attributes is the empty string. + nameValuePair = header + } + + // 3. If the name-value-pair string lacks a %x3D ("=") character, then + // the name string is empty, and the value string is the value of + // name-value-pair. + if (!nameValuePair.includes('=')) { + value = nameValuePair + } else { + // Otherwise, the name string consists of the characters up to, but + // not including, the first %x3D ("=") character, and the (possibly + // empty) value string consists of the characters after the first + // %x3D ("=") character. + const position = { position: 0 } + name = collectASequenceOfCodePointsFast( + '=', + nameValuePair, + position + ) + value = nameValuePair.slice(position.position + 1) + } + + // 4. Remove any leading or trailing WSP characters from the name + // string and the value string. + name = name.trim() + value = value.trim() + + // 5. If the sum of the lengths of the name string and the value string + // is more than 4096 octets, abort these steps and ignore the set- + // cookie-string entirely. + if (name.length + value.length > maxNameValuePairSize) { + return null + } + + // 6. The cookie-name is the name string, and the cookie-value is the + // value string. + return { + name, value, ...parseUnparsedAttributes(unparsedAttributes) + } +} + +/** + * Parses the remaining attributes of a set-cookie header + * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4 + * @param {string} unparsedAttributes + * @param {[Object.]={}} cookieAttributeList + */ +function parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) { + // 1. If the unparsed-attributes string is empty, skip the rest of + // these steps. + if (unparsedAttributes.length === 0) { + return cookieAttributeList + } + + // 2. Discard the first character of the unparsed-attributes (which + // will be a %x3B (";") character). + assert(unparsedAttributes[0] === ';') + unparsedAttributes = unparsedAttributes.slice(1) + + let cookieAv = '' + + // 3. If the remaining unparsed-attributes contains a %x3B (";") + // character: + if (unparsedAttributes.includes(';')) { + // 1. Consume the characters of the unparsed-attributes up to, but + // not including, the first %x3B (";") character. + cookieAv = collectASequenceOfCodePointsFast( + ';', + unparsedAttributes, + { position: 0 } + ) + unparsedAttributes = unparsedAttributes.slice(cookieAv.length) + } else { + // Otherwise: + + // 1. Consume the remainder of the unparsed-attributes. + cookieAv = unparsedAttributes + unparsedAttributes = '' + } + + // Let the cookie-av string be the characters consumed in this step. + + let attributeName = '' + let attributeValue = '' + + // 4. If the cookie-av string contains a %x3D ("=") character: + if (cookieAv.includes('=')) { + // 1. The (possibly empty) attribute-name string consists of the + // characters up to, but not including, the first %x3D ("=") + // character, and the (possibly empty) attribute-value string + // consists of the characters after the first %x3D ("=") + // character. + const position = { position: 0 } + + attributeName = collectASequenceOfCodePointsFast( + '=', + cookieAv, + position + ) + attributeValue = cookieAv.slice(position.position + 1) + } else { + // Otherwise: + + // 1. The attribute-name string consists of the entire cookie-av + // string, and the attribute-value string is empty. + attributeName = cookieAv + } + + // 5. Remove any leading or trailing WSP characters from the attribute- + // name string and the attribute-value string. + attributeName = attributeName.trim() + attributeValue = attributeValue.trim() + + // 6. If the attribute-value is longer than 1024 octets, ignore the + // cookie-av string and return to Step 1 of this algorithm. + if (attributeValue.length > maxAttributeValueSize) { + return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList) + } + + // 7. Process the attribute-name and attribute-value according to the + // requirements in the following subsections. (Notice that + // attributes with unrecognized attribute-names are ignored.) + const attributeNameLowercase = attributeName.toLowerCase() + + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.1 + // If the attribute-name case-insensitively matches the string + // "Expires", the user agent MUST process the cookie-av as follows. + if (attributeNameLowercase === 'expires') { + // 1. Let the expiry-time be the result of parsing the attribute-value + // as cookie-date (see Section 5.1.1). + const expiryTime = new Date(attributeValue) + + // 2. If the attribute-value failed to parse as a cookie date, ignore + // the cookie-av. + + cookieAttributeList.expires = expiryTime + } else if (attributeNameLowercase === 'max-age') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.2 + // If the attribute-name case-insensitively matches the string "Max- + // Age", the user agent MUST process the cookie-av as follows. + + // 1. If the first character of the attribute-value is not a DIGIT or a + // "-" character, ignore the cookie-av. + const charCode = attributeValue.charCodeAt(0) + + if ((charCode < 48 || charCode > 57) && attributeValue[0] !== '-') { + return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList) + } + + // 2. If the remainder of attribute-value contains a non-DIGIT + // character, ignore the cookie-av. + if (!/^\d+$/.test(attributeValue)) { + return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList) + } + + // 3. Let delta-seconds be the attribute-value converted to an integer. + const deltaSeconds = Number(attributeValue) + + // 4. Let cookie-age-limit be the maximum age of the cookie (which + // SHOULD be 400 days or less, see Section 4.1.2.2). + + // 5. Set delta-seconds to the smaller of its present value and cookie- + // age-limit. + // deltaSeconds = Math.min(deltaSeconds * 1000, maxExpiresMs) + + // 6. If delta-seconds is less than or equal to zero (0), let expiry- + // time be the earliest representable date and time. Otherwise, let + // the expiry-time be the current date and time plus delta-seconds + // seconds. + // const expiryTime = deltaSeconds <= 0 ? Date.now() : Date.now() + deltaSeconds + + // 7. Append an attribute to the cookie-attribute-list with an + // attribute-name of Max-Age and an attribute-value of expiry-time. + cookieAttributeList.maxAge = deltaSeconds + } else if (attributeNameLowercase === 'domain') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.3 + // If the attribute-name case-insensitively matches the string "Domain", + // the user agent MUST process the cookie-av as follows. + + // 1. Let cookie-domain be the attribute-value. + let cookieDomain = attributeValue + + // 2. If cookie-domain starts with %x2E ("."), let cookie-domain be + // cookie-domain without its leading %x2E ("."). + if (cookieDomain[0] === '.') { + cookieDomain = cookieDomain.slice(1) + } + + // 3. Convert the cookie-domain to lower case. + cookieDomain = cookieDomain.toLowerCase() + + // 4. Append an attribute to the cookie-attribute-list with an + // attribute-name of Domain and an attribute-value of cookie-domain. + cookieAttributeList.domain = cookieDomain + } else if (attributeNameLowercase === 'path') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.4 + // If the attribute-name case-insensitively matches the string "Path", + // the user agent MUST process the cookie-av as follows. + + // 1. If the attribute-value is empty or if the first character of the + // attribute-value is not %x2F ("/"): + let cookiePath = '' + if (attributeValue.length === 0 || attributeValue[0] !== '/') { + // 1. Let cookie-path be the default-path. + cookiePath = '/' + } else { + // Otherwise: + + // 1. Let cookie-path be the attribute-value. + cookiePath = attributeValue + } + + // 2. Append an attribute to the cookie-attribute-list with an + // attribute-name of Path and an attribute-value of cookie-path. + cookieAttributeList.path = cookiePath + } else if (attributeNameLowercase === 'secure') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.5 + // If the attribute-name case-insensitively matches the string "Secure", + // the user agent MUST append an attribute to the cookie-attribute-list + // with an attribute-name of Secure and an empty attribute-value. + + cookieAttributeList.secure = true + } else if (attributeNameLowercase === 'httponly') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.6 + // If the attribute-name case-insensitively matches the string + // "HttpOnly", the user agent MUST append an attribute to the cookie- + // attribute-list with an attribute-name of HttpOnly and an empty + // attribute-value. + + cookieAttributeList.httpOnly = true + } else if (attributeNameLowercase === 'samesite') { + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.7 + // If the attribute-name case-insensitively matches the string + // "SameSite", the user agent MUST process the cookie-av as follows: + + // 1. Let enforcement be "Default". + let enforcement = 'Default' + + const attributeValueLowercase = attributeValue.toLowerCase() + // 2. If cookie-av's attribute-value is a case-insensitive match for + // "None", set enforcement to "None". + if (attributeValueLowercase.includes('none')) { + enforcement = 'None' + } + + // 3. If cookie-av's attribute-value is a case-insensitive match for + // "Strict", set enforcement to "Strict". + if (attributeValueLowercase.includes('strict')) { + enforcement = 'Strict' + } + + // 4. If cookie-av's attribute-value is a case-insensitive match for + // "Lax", set enforcement to "Lax". + if (attributeValueLowercase.includes('lax')) { + enforcement = 'Lax' + } + + // 5. Append an attribute to the cookie-attribute-list with an + // attribute-name of "SameSite" and an attribute-value of + // enforcement. + cookieAttributeList.sameSite = enforcement + } else { + cookieAttributeList.unparsed ??= [] + + cookieAttributeList.unparsed.push(`${attributeName}=${attributeValue}`) + } + + // 8. Return to Step 1 of this algorithm. + return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList) +} + +module.exports = { + parseSetCookie, + parseUnparsedAttributes +} + + +/***/ }), + +/***/ 3121: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const assert = __nccwpck_require__(9491) +const { kHeadersList } = __nccwpck_require__(2785) + +function isCTLExcludingHtab (value) { + if (value.length === 0) { + return false + } + + for (const char of value) { + const code = char.charCodeAt(0) + + if ( + (code >= 0x00 || code <= 0x08) || + (code >= 0x0A || code <= 0x1F) || + code === 0x7F + ) { + return false + } + } +} + +/** + CHAR = + token = 1* + separators = "(" | ")" | "<" | ">" | "@" + | "," | ";" | ":" | "\" | <"> + | "/" | "[" | "]" | "?" | "=" + | "{" | "}" | SP | HT + * @param {string} name + */ +function validateCookieName (name) { + for (const char of name) { + const code = char.charCodeAt(0) + + if ( + (code <= 0x20 || code > 0x7F) || + char === '(' || + char === ')' || + char === '>' || + char === '<' || + char === '@' || + char === ',' || + char === ';' || + char === ':' || + char === '\\' || + char === '"' || + char === '/' || + char === '[' || + char === ']' || + char === '?' || + char === '=' || + char === '{' || + char === '}' + ) { + throw new Error('Invalid cookie name') + } + } +} + +/** + cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE ) + cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E + ; US-ASCII characters excluding CTLs, + ; whitespace DQUOTE, comma, semicolon, + ; and backslash + * @param {string} value + */ +function validateCookieValue (value) { + for (const char of value) { + const code = char.charCodeAt(0) + + if ( + code < 0x21 || // exclude CTLs (0-31) + code === 0x22 || + code === 0x2C || + code === 0x3B || + code === 0x5C || + code > 0x7E // non-ascii + ) { + throw new Error('Invalid header value') + } + } +} + +/** + * path-value = + * @param {string} path + */ +function validateCookiePath (path) { + for (const char of path) { + const code = char.charCodeAt(0) + + if (code < 0x21 || char === ';') { + throw new Error('Invalid cookie path') + } + } +} + +/** + * I have no idea why these values aren't allowed to be honest, + * but Deno tests these. - Khafra + * @param {string} domain + */ +function validateCookieDomain (domain) { + if ( + domain.startsWith('-') || + domain.endsWith('.') || + domain.endsWith('-') + ) { + throw new Error('Invalid cookie domain') + } +} + +/** + * @see https://www.rfc-editor.org/rfc/rfc7231#section-7.1.1.1 + * @param {number|Date} date + IMF-fixdate = day-name "," SP date1 SP time-of-day SP GMT + ; fixed length/zone/capitalization subset of the format + ; see Section 3.3 of [RFC5322] + + day-name = %x4D.6F.6E ; "Mon", case-sensitive + / %x54.75.65 ; "Tue", case-sensitive + / %x57.65.64 ; "Wed", case-sensitive + / %x54.68.75 ; "Thu", case-sensitive + / %x46.72.69 ; "Fri", case-sensitive + / %x53.61.74 ; "Sat", case-sensitive + / %x53.75.6E ; "Sun", case-sensitive + date1 = day SP month SP year + ; e.g., 02 Jun 1982 + + day = 2DIGIT + month = %x4A.61.6E ; "Jan", case-sensitive + / %x46.65.62 ; "Feb", case-sensitive + / %x4D.61.72 ; "Mar", case-sensitive + / %x41.70.72 ; "Apr", case-sensitive + / %x4D.61.79 ; "May", case-sensitive + / %x4A.75.6E ; "Jun", case-sensitive + / %x4A.75.6C ; "Jul", case-sensitive + / %x41.75.67 ; "Aug", case-sensitive + / %x53.65.70 ; "Sep", case-sensitive + / %x4F.63.74 ; "Oct", case-sensitive + / %x4E.6F.76 ; "Nov", case-sensitive + / %x44.65.63 ; "Dec", case-sensitive + year = 4DIGIT + + GMT = %x47.4D.54 ; "GMT", case-sensitive + + time-of-day = hour ":" minute ":" second + ; 00:00:00 - 23:59:60 (leap second) + + hour = 2DIGIT + minute = 2DIGIT + second = 2DIGIT + */ +function toIMFDate (date) { + if (typeof date === 'number') { + date = new Date(date) + } + + const days = [ + 'Sun', 'Mon', 'Tue', 'Wed', + 'Thu', 'Fri', 'Sat' + ] + + const months = [ + 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', + 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' + ] + + const dayName = days[date.getUTCDay()] + const day = date.getUTCDate().toString().padStart(2, '0') + const month = months[date.getUTCMonth()] + const year = date.getUTCFullYear() + const hour = date.getUTCHours().toString().padStart(2, '0') + const minute = date.getUTCMinutes().toString().padStart(2, '0') + const second = date.getUTCSeconds().toString().padStart(2, '0') + + return `${dayName}, ${day} ${month} ${year} ${hour}:${minute}:${second} GMT` +} + +/** + max-age-av = "Max-Age=" non-zero-digit *DIGIT + ; In practice, both expires-av and max-age-av + ; are limited to dates representable by the + ; user agent. + * @param {number} maxAge + */ +function validateCookieMaxAge (maxAge) { + if (maxAge < 0) { + throw new Error('Invalid cookie max-age') + } +} + +/** + * @see https://www.rfc-editor.org/rfc/rfc6265#section-4.1.1 + * @param {import('./index').Cookie} cookie + */ +function stringify (cookie) { + if (cookie.name.length === 0) { + return null + } + + validateCookieName(cookie.name) + validateCookieValue(cookie.value) + + const out = [`${cookie.name}=${cookie.value}`] + + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.1 + // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.2 + if (cookie.name.startsWith('__Secure-')) { + cookie.secure = true + } + + if (cookie.name.startsWith('__Host-')) { + cookie.secure = true + cookie.domain = null + cookie.path = '/' + } + + if (cookie.secure) { + out.push('Secure') + } + + if (cookie.httpOnly) { + out.push('HttpOnly') + } + + if (typeof cookie.maxAge === 'number') { + validateCookieMaxAge(cookie.maxAge) + out.push(`Max-Age=${cookie.maxAge}`) + } + + if (cookie.domain) { + validateCookieDomain(cookie.domain) + out.push(`Domain=${cookie.domain}`) + } + + if (cookie.path) { + validateCookiePath(cookie.path) + out.push(`Path=${cookie.path}`) + } + + if (cookie.expires && cookie.expires.toString() !== 'Invalid Date') { + out.push(`Expires=${toIMFDate(cookie.expires)}`) + } + + if (cookie.sameSite) { + out.push(`SameSite=${cookie.sameSite}`) + } + + for (const part of cookie.unparsed) { + if (!part.includes('=')) { + throw new Error('Invalid unparsed') + } + + const [key, ...value] = part.split('=') + + out.push(`${key.trim()}=${value.join('=')}`) + } + + return out.join('; ') +} + +let kHeadersListNode + +function getHeadersList (headers) { + if (headers[kHeadersList]) { + return headers[kHeadersList] + } + + if (!kHeadersListNode) { + kHeadersListNode = Object.getOwnPropertySymbols(headers).find( + (symbol) => symbol.description === 'headers list' + ) + + assert(kHeadersListNode, 'Headers cannot be parsed') + } + + const headersList = headers[kHeadersListNode] + assert(headersList) + + return headersList +} + +module.exports = { + isCTLExcludingHtab, + stringify, + getHeadersList +} + + +/***/ }), + +/***/ 2067: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const net = __nccwpck_require__(1808) +const assert = __nccwpck_require__(9491) +const util = __nccwpck_require__(3983) +const { InvalidArgumentError, ConnectTimeoutError } = __nccwpck_require__(8045) + +let tls // include tls conditionally since it is not always available + +// TODO: session re-use does not wait for the first +// connection to resolve the session and might therefore +// resolve the same servername multiple times even when +// re-use is enabled. + +let SessionCache +// FIXME: remove workaround when the Node bug is fixed +// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308 +if (global.FinalizationRegistry && !process.env.NODE_V8_COVERAGE) { + SessionCache = class WeakSessionCache { + constructor (maxCachedSessions) { + this._maxCachedSessions = maxCachedSessions + this._sessionCache = new Map() + this._sessionRegistry = new global.FinalizationRegistry((key) => { + if (this._sessionCache.size < this._maxCachedSessions) { + return + } + + const ref = this._sessionCache.get(key) + if (ref !== undefined && ref.deref() === undefined) { + this._sessionCache.delete(key) + } + }) + } + + get (sessionKey) { + const ref = this._sessionCache.get(sessionKey) + return ref ? ref.deref() : null + } + + set (sessionKey, session) { + if (this._maxCachedSessions === 0) { + return + } + + this._sessionCache.set(sessionKey, new WeakRef(session)) + this._sessionRegistry.register(session, sessionKey) + } + } +} else { + SessionCache = class SimpleSessionCache { + constructor (maxCachedSessions) { + this._maxCachedSessions = maxCachedSessions + this._sessionCache = new Map() + } + + get (sessionKey) { + return this._sessionCache.get(sessionKey) + } + + set (sessionKey, session) { + if (this._maxCachedSessions === 0) { + return + } + + if (this._sessionCache.size >= this._maxCachedSessions) { + // remove the oldest session + const { value: oldestKey } = this._sessionCache.keys().next() + this._sessionCache.delete(oldestKey) + } + + this._sessionCache.set(sessionKey, session) + } + } +} + +function buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, ...opts }) { + if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) { + throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero') + } + + const options = { path: socketPath, ...opts } + const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions) + timeout = timeout == null ? 10e3 : timeout + allowH2 = allowH2 != null ? allowH2 : false + return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) { + let socket + if (protocol === 'https:') { + if (!tls) { + tls = __nccwpck_require__(4404) + } + servername = servername || options.servername || util.getServerName(host) || null + + const sessionKey = servername || hostname + const session = sessionCache.get(sessionKey) || null + + assert(sessionKey) + + socket = tls.connect({ + highWaterMark: 16384, // TLS in node can't have bigger HWM anyway... + ...options, + servername, + session, + localAddress, + // TODO(HTTP/2): Add support for h2c + ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'], + socket: httpSocket, // upgrade socket connection + port: port || 443, + host: hostname + }) + + socket + .on('session', function (session) { + // TODO (fix): Can a session become invalid once established? Don't think so? + sessionCache.set(sessionKey, session) + }) + } else { + assert(!httpSocket, 'httpSocket can only be sent on TLS update') + socket = net.connect({ + highWaterMark: 64 * 1024, // Same as nodejs fs streams. + ...options, + localAddress, + port: port || 80, + host: hostname + }) + } + + // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket + if (options.keepAlive == null || options.keepAlive) { + const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay + socket.setKeepAlive(true, keepAliveInitialDelay) + } + + const cancelTimeout = setupTimeout(() => onConnectTimeout(socket), timeout) + + socket + .setNoDelay(true) + .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () { + cancelTimeout() + + if (callback) { + const cb = callback + callback = null + cb(null, this) + } + }) + .on('error', function (err) { + cancelTimeout() + + if (callback) { + const cb = callback + callback = null + cb(err) + } + }) + + return socket + } +} + +function setupTimeout (onConnectTimeout, timeout) { + if (!timeout) { + return () => {} + } + + let s1 = null + let s2 = null + const timeoutId = setTimeout(() => { + // setImmediate is added to make sure that we priotorise socket error events over timeouts + s1 = setImmediate(() => { + if (process.platform === 'win32') { + // Windows needs an extra setImmediate probably due to implementation differences in the socket logic + s2 = setImmediate(() => onConnectTimeout()) + } else { + onConnectTimeout() + } + }) + }, timeout) + return () => { + clearTimeout(timeoutId) + clearImmediate(s1) + clearImmediate(s2) + } +} + +function onConnectTimeout (socket) { + util.destroy(socket, new ConnectTimeoutError()) +} + +module.exports = buildConnector + + +/***/ }), + +/***/ 4462: +/***/ ((module) => { + +"use strict"; + + +/** @type {Record} */ +const headerNameLowerCasedRecord = {} + +// https://developer.mozilla.org/docs/Web/HTTP/Headers +const wellknownHeaderNames = [ + 'Accept', + 'Accept-Encoding', + 'Accept-Language', + 'Accept-Ranges', + 'Access-Control-Allow-Credentials', + 'Access-Control-Allow-Headers', + 'Access-Control-Allow-Methods', + 'Access-Control-Allow-Origin', + 'Access-Control-Expose-Headers', + 'Access-Control-Max-Age', + 'Access-Control-Request-Headers', + 'Access-Control-Request-Method', + 'Age', + 'Allow', + 'Alt-Svc', + 'Alt-Used', + 'Authorization', + 'Cache-Control', + 'Clear-Site-Data', + 'Connection', + 'Content-Disposition', + 'Content-Encoding', + 'Content-Language', + 'Content-Length', + 'Content-Location', + 'Content-Range', + 'Content-Security-Policy', + 'Content-Security-Policy-Report-Only', + 'Content-Type', + 'Cookie', + 'Cross-Origin-Embedder-Policy', + 'Cross-Origin-Opener-Policy', + 'Cross-Origin-Resource-Policy', + 'Date', + 'Device-Memory', + 'Downlink', + 'ECT', + 'ETag', + 'Expect', + 'Expect-CT', + 'Expires', + 'Forwarded', + 'From', + 'Host', + 'If-Match', + 'If-Modified-Since', + 'If-None-Match', + 'If-Range', + 'If-Unmodified-Since', + 'Keep-Alive', + 'Last-Modified', + 'Link', + 'Location', + 'Max-Forwards', + 'Origin', + 'Permissions-Policy', + 'Pragma', + 'Proxy-Authenticate', + 'Proxy-Authorization', + 'RTT', + 'Range', + 'Referer', + 'Referrer-Policy', + 'Refresh', + 'Retry-After', + 'Sec-WebSocket-Accept', + 'Sec-WebSocket-Extensions', + 'Sec-WebSocket-Key', + 'Sec-WebSocket-Protocol', + 'Sec-WebSocket-Version', + 'Server', + 'Server-Timing', + 'Service-Worker-Allowed', + 'Service-Worker-Navigation-Preload', + 'Set-Cookie', + 'SourceMap', + 'Strict-Transport-Security', + 'Supports-Loading-Mode', + 'TE', + 'Timing-Allow-Origin', + 'Trailer', + 'Transfer-Encoding', + 'Upgrade', + 'Upgrade-Insecure-Requests', + 'User-Agent', + 'Vary', + 'Via', + 'WWW-Authenticate', + 'X-Content-Type-Options', + 'X-DNS-Prefetch-Control', + 'X-Frame-Options', + 'X-Permitted-Cross-Domain-Policies', + 'X-Powered-By', + 'X-Requested-With', + 'X-XSS-Protection' +] + +for (let i = 0; i < wellknownHeaderNames.length; ++i) { + const key = wellknownHeaderNames[i] + const lowerCasedKey = key.toLowerCase() + headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] = + lowerCasedKey +} + +// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`. +Object.setPrototypeOf(headerNameLowerCasedRecord, null) + +module.exports = { + wellknownHeaderNames, + headerNameLowerCasedRecord +} + + +/***/ }), + +/***/ 8045: +/***/ ((module) => { + +"use strict"; + + +class UndiciError extends Error { + constructor (message) { + super(message) + this.name = 'UndiciError' + this.code = 'UND_ERR' + } +} + +class ConnectTimeoutError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, ConnectTimeoutError) + this.name = 'ConnectTimeoutError' + this.message = message || 'Connect Timeout Error' + this.code = 'UND_ERR_CONNECT_TIMEOUT' + } +} + +class HeadersTimeoutError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, HeadersTimeoutError) + this.name = 'HeadersTimeoutError' + this.message = message || 'Headers Timeout Error' + this.code = 'UND_ERR_HEADERS_TIMEOUT' + } +} + +class HeadersOverflowError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, HeadersOverflowError) + this.name = 'HeadersOverflowError' + this.message = message || 'Headers Overflow Error' + this.code = 'UND_ERR_HEADERS_OVERFLOW' + } +} + +class BodyTimeoutError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, BodyTimeoutError) + this.name = 'BodyTimeoutError' + this.message = message || 'Body Timeout Error' + this.code = 'UND_ERR_BODY_TIMEOUT' + } +} + +class ResponseStatusCodeError extends UndiciError { + constructor (message, statusCode, headers, body) { + super(message) + Error.captureStackTrace(this, ResponseStatusCodeError) + this.name = 'ResponseStatusCodeError' + this.message = message || 'Response Status Code Error' + this.code = 'UND_ERR_RESPONSE_STATUS_CODE' + this.body = body + this.status = statusCode + this.statusCode = statusCode + this.headers = headers + } +} + +class InvalidArgumentError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, InvalidArgumentError) + this.name = 'InvalidArgumentError' + this.message = message || 'Invalid Argument Error' + this.code = 'UND_ERR_INVALID_ARG' + } +} + +class InvalidReturnValueError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, InvalidReturnValueError) + this.name = 'InvalidReturnValueError' + this.message = message || 'Invalid Return Value Error' + this.code = 'UND_ERR_INVALID_RETURN_VALUE' + } +} + +class RequestAbortedError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, RequestAbortedError) + this.name = 'AbortError' + this.message = message || 'Request aborted' + this.code = 'UND_ERR_ABORTED' + } +} + +class InformationalError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, InformationalError) + this.name = 'InformationalError' + this.message = message || 'Request information' + this.code = 'UND_ERR_INFO' + } +} + +class RequestContentLengthMismatchError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, RequestContentLengthMismatchError) + this.name = 'RequestContentLengthMismatchError' + this.message = message || 'Request body length does not match content-length header' + this.code = 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH' + } +} + +class ResponseContentLengthMismatchError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, ResponseContentLengthMismatchError) + this.name = 'ResponseContentLengthMismatchError' + this.message = message || 'Response body length does not match content-length header' + this.code = 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH' + } +} + +class ClientDestroyedError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, ClientDestroyedError) + this.name = 'ClientDestroyedError' + this.message = message || 'The client is destroyed' + this.code = 'UND_ERR_DESTROYED' + } +} + +class ClientClosedError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, ClientClosedError) + this.name = 'ClientClosedError' + this.message = message || 'The client is closed' + this.code = 'UND_ERR_CLOSED' + } +} + +class SocketError extends UndiciError { + constructor (message, socket) { + super(message) + Error.captureStackTrace(this, SocketError) + this.name = 'SocketError' + this.message = message || 'Socket error' + this.code = 'UND_ERR_SOCKET' + this.socket = socket + } +} + +class NotSupportedError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, NotSupportedError) + this.name = 'NotSupportedError' + this.message = message || 'Not supported error' + this.code = 'UND_ERR_NOT_SUPPORTED' + } +} + +class BalancedPoolMissingUpstreamError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, NotSupportedError) + this.name = 'MissingUpstreamError' + this.message = message || 'No upstream has been added to the BalancedPool' + this.code = 'UND_ERR_BPL_MISSING_UPSTREAM' + } +} + +class HTTPParserError extends Error { + constructor (message, code, data) { + super(message) + Error.captureStackTrace(this, HTTPParserError) + this.name = 'HTTPParserError' + this.code = code ? `HPE_${code}` : undefined + this.data = data ? data.toString() : undefined + } +} + +class ResponseExceededMaxSizeError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, ResponseExceededMaxSizeError) + this.name = 'ResponseExceededMaxSizeError' + this.message = message || 'Response content exceeded max size' + this.code = 'UND_ERR_RES_EXCEEDED_MAX_SIZE' + } +} + +class RequestRetryError extends UndiciError { + constructor (message, code, { headers, data }) { + super(message) + Error.captureStackTrace(this, RequestRetryError) + this.name = 'RequestRetryError' + this.message = message || 'Request retry error' + this.code = 'UND_ERR_REQ_RETRY' + this.statusCode = code + this.data = data + this.headers = headers + } +} + +module.exports = { + HTTPParserError, + UndiciError, + HeadersTimeoutError, + HeadersOverflowError, + BodyTimeoutError, + RequestContentLengthMismatchError, + ConnectTimeoutError, + ResponseStatusCodeError, + InvalidArgumentError, + InvalidReturnValueError, + RequestAbortedError, + ClientDestroyedError, + ClientClosedError, + InformationalError, + SocketError, + NotSupportedError, + ResponseContentLengthMismatchError, + BalancedPoolMissingUpstreamError, + ResponseExceededMaxSizeError, + RequestRetryError +} + + +/***/ }), + +/***/ 2905: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + InvalidArgumentError, + NotSupportedError +} = __nccwpck_require__(8045) +const assert = __nccwpck_require__(9491) +const { kHTTP2BuildRequest, kHTTP2CopyHeaders, kHTTP1BuildRequest } = __nccwpck_require__(2785) +const util = __nccwpck_require__(3983) + +// tokenRegExp and headerCharRegex have been lifted from +// https://github.com/nodejs/node/blob/main/lib/_http_common.js + +/** + * Verifies that the given val is a valid HTTP token + * per the rules defined in RFC 7230 + * See https://tools.ietf.org/html/rfc7230#section-3.2.6 + */ +const tokenRegExp = /^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/ + +/** + * Matches if val contains an invalid field-vchar + * field-value = *( field-content / obs-fold ) + * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ] + * field-vchar = VCHAR / obs-text + */ +const headerCharRegex = /[^\t\x20-\x7e\x80-\xff]/ + +// Verifies that a given path is valid does not contain control chars \x00 to \x20 +const invalidPathRegex = /[^\u0021-\u00ff]/ + +const kHandler = Symbol('handler') + +const channels = {} + +let extractBody + +try { + const diagnosticsChannel = __nccwpck_require__(7643) + channels.create = diagnosticsChannel.channel('undici:request:create') + channels.bodySent = diagnosticsChannel.channel('undici:request:bodySent') + channels.headers = diagnosticsChannel.channel('undici:request:headers') + channels.trailers = diagnosticsChannel.channel('undici:request:trailers') + channels.error = diagnosticsChannel.channel('undici:request:error') +} catch { + channels.create = { hasSubscribers: false } + channels.bodySent = { hasSubscribers: false } + channels.headers = { hasSubscribers: false } + channels.trailers = { hasSubscribers: false } + channels.error = { hasSubscribers: false } +} + +class Request { + constructor (origin, { + path, + method, + body, + headers, + query, + idempotent, + blocking, + upgrade, + headersTimeout, + bodyTimeout, + reset, + throwOnError, + expectContinue + }, handler) { + if (typeof path !== 'string') { + throw new InvalidArgumentError('path must be a string') + } else if ( + path[0] !== '/' && + !(path.startsWith('http://') || path.startsWith('https://')) && + method !== 'CONNECT' + ) { + throw new InvalidArgumentError('path must be an absolute URL or start with a slash') + } else if (invalidPathRegex.exec(path) !== null) { + throw new InvalidArgumentError('invalid request path') + } + + if (typeof method !== 'string') { + throw new InvalidArgumentError('method must be a string') + } else if (tokenRegExp.exec(method) === null) { + throw new InvalidArgumentError('invalid request method') + } + + if (upgrade && typeof upgrade !== 'string') { + throw new InvalidArgumentError('upgrade must be a string') + } + + if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) { + throw new InvalidArgumentError('invalid headersTimeout') + } + + if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) { + throw new InvalidArgumentError('invalid bodyTimeout') + } + + if (reset != null && typeof reset !== 'boolean') { + throw new InvalidArgumentError('invalid reset') + } + + if (expectContinue != null && typeof expectContinue !== 'boolean') { + throw new InvalidArgumentError('invalid expectContinue') + } + + this.headersTimeout = headersTimeout + + this.bodyTimeout = bodyTimeout + + this.throwOnError = throwOnError === true + + this.method = method + + this.abort = null + + if (body == null) { + this.body = null + } else if (util.isStream(body)) { + this.body = body + + const rState = this.body._readableState + if (!rState || !rState.autoDestroy) { + this.endHandler = function autoDestroy () { + util.destroy(this) + } + this.body.on('end', this.endHandler) + } + + this.errorHandler = err => { + if (this.abort) { + this.abort(err) + } else { + this.error = err + } + } + this.body.on('error', this.errorHandler) + } else if (util.isBuffer(body)) { + this.body = body.byteLength ? body : null + } else if (ArrayBuffer.isView(body)) { + this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null + } else if (body instanceof ArrayBuffer) { + this.body = body.byteLength ? Buffer.from(body) : null + } else if (typeof body === 'string') { + this.body = body.length ? Buffer.from(body) : null + } else if (util.isFormDataLike(body) || util.isIterable(body) || util.isBlobLike(body)) { + this.body = body + } else { + throw new InvalidArgumentError('body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable') + } + + this.completed = false + + this.aborted = false + + this.upgrade = upgrade || null + + this.path = query ? util.buildURL(path, query) : path + + this.origin = origin + + this.idempotent = idempotent == null + ? method === 'HEAD' || method === 'GET' + : idempotent + + this.blocking = blocking == null ? false : blocking + + this.reset = reset == null ? null : reset + + this.host = null + + this.contentLength = null + + this.contentType = null + + this.headers = '' + + // Only for H2 + this.expectContinue = expectContinue != null ? expectContinue : false + + if (Array.isArray(headers)) { + if (headers.length % 2 !== 0) { + throw new InvalidArgumentError('headers array must be even') + } + for (let i = 0; i < headers.length; i += 2) { + processHeader(this, headers[i], headers[i + 1]) + } + } else if (headers && typeof headers === 'object') { + const keys = Object.keys(headers) + for (let i = 0; i < keys.length; i++) { + const key = keys[i] + processHeader(this, key, headers[key]) + } + } else if (headers != null) { + throw new InvalidArgumentError('headers must be an object or an array') + } + + if (util.isFormDataLike(this.body)) { + if (util.nodeMajor < 16 || (util.nodeMajor === 16 && util.nodeMinor < 8)) { + throw new InvalidArgumentError('Form-Data bodies are only supported in node v16.8 and newer.') + } + + if (!extractBody) { + extractBody = (__nccwpck_require__(1472).extractBody) + } + + const [bodyStream, contentType] = extractBody(body) + if (this.contentType == null) { + this.contentType = contentType + this.headers += `content-type: ${contentType}\r\n` + } + this.body = bodyStream.stream + this.contentLength = bodyStream.length + } else if (util.isBlobLike(body) && this.contentType == null && body.type) { + this.contentType = body.type + this.headers += `content-type: ${body.type}\r\n` + } + + util.validateHandler(handler, method, upgrade) + + this.servername = util.getServerName(this.host) + + this[kHandler] = handler + + if (channels.create.hasSubscribers) { + channels.create.publish({ request: this }) + } + } + + onBodySent (chunk) { + if (this[kHandler].onBodySent) { + try { + return this[kHandler].onBodySent(chunk) + } catch (err) { + this.abort(err) + } + } + } + + onRequestSent () { + if (channels.bodySent.hasSubscribers) { + channels.bodySent.publish({ request: this }) + } + + if (this[kHandler].onRequestSent) { + try { + return this[kHandler].onRequestSent() + } catch (err) { + this.abort(err) + } + } + } + + onConnect (abort) { + assert(!this.aborted) + assert(!this.completed) + + if (this.error) { + abort(this.error) + } else { + this.abort = abort + return this[kHandler].onConnect(abort) + } + } + + onHeaders (statusCode, headers, resume, statusText) { + assert(!this.aborted) + assert(!this.completed) + + if (channels.headers.hasSubscribers) { + channels.headers.publish({ request: this, response: { statusCode, headers, statusText } }) + } + + try { + return this[kHandler].onHeaders(statusCode, headers, resume, statusText) + } catch (err) { + this.abort(err) + } + } + + onData (chunk) { + assert(!this.aborted) + assert(!this.completed) + + try { + return this[kHandler].onData(chunk) + } catch (err) { + this.abort(err) + return false + } + } + + onUpgrade (statusCode, headers, socket) { + assert(!this.aborted) + assert(!this.completed) + + return this[kHandler].onUpgrade(statusCode, headers, socket) + } + + onComplete (trailers) { + this.onFinally() + + assert(!this.aborted) + + this.completed = true + if (channels.trailers.hasSubscribers) { + channels.trailers.publish({ request: this, trailers }) + } + + try { + return this[kHandler].onComplete(trailers) + } catch (err) { + // TODO (fix): This might be a bad idea? + this.onError(err) + } + } + + onError (error) { + this.onFinally() + + if (channels.error.hasSubscribers) { + channels.error.publish({ request: this, error }) + } + + if (this.aborted) { + return + } + this.aborted = true + + return this[kHandler].onError(error) + } + + onFinally () { + if (this.errorHandler) { + this.body.off('error', this.errorHandler) + this.errorHandler = null + } + + if (this.endHandler) { + this.body.off('end', this.endHandler) + this.endHandler = null + } + } + + // TODO: adjust to support H2 + addHeader (key, value) { + processHeader(this, key, value) + return this + } + + static [kHTTP1BuildRequest] (origin, opts, handler) { + // TODO: Migrate header parsing here, to make Requests + // HTTP agnostic + return new Request(origin, opts, handler) + } + + static [kHTTP2BuildRequest] (origin, opts, handler) { + const headers = opts.headers + opts = { ...opts, headers: null } + + const request = new Request(origin, opts, handler) + + request.headers = {} + + if (Array.isArray(headers)) { + if (headers.length % 2 !== 0) { + throw new InvalidArgumentError('headers array must be even') + } + for (let i = 0; i < headers.length; i += 2) { + processHeader(request, headers[i], headers[i + 1], true) + } + } else if (headers && typeof headers === 'object') { + const keys = Object.keys(headers) + for (let i = 0; i < keys.length; i++) { + const key = keys[i] + processHeader(request, key, headers[key], true) + } + } else if (headers != null) { + throw new InvalidArgumentError('headers must be an object or an array') + } + + return request + } + + static [kHTTP2CopyHeaders] (raw) { + const rawHeaders = raw.split('\r\n') + const headers = {} + + for (const header of rawHeaders) { + const [key, value] = header.split(': ') + + if (value == null || value.length === 0) continue + + if (headers[key]) headers[key] += `,${value}` + else headers[key] = value + } + + return headers + } +} + +function processHeaderValue (key, val, skipAppend) { + if (val && typeof val === 'object') { + throw new InvalidArgumentError(`invalid ${key} header`) + } + + val = val != null ? `${val}` : '' + + if (headerCharRegex.exec(val) !== null) { + throw new InvalidArgumentError(`invalid ${key} header`) + } + + return skipAppend ? val : `${key}: ${val}\r\n` +} + +function processHeader (request, key, val, skipAppend = false) { + if (val && (typeof val === 'object' && !Array.isArray(val))) { + throw new InvalidArgumentError(`invalid ${key} header`) + } else if (val === undefined) { + return + } + + if ( + request.host === null && + key.length === 4 && + key.toLowerCase() === 'host' + ) { + if (headerCharRegex.exec(val) !== null) { + throw new InvalidArgumentError(`invalid ${key} header`) + } + // Consumed by Client + request.host = val + } else if ( + request.contentLength === null && + key.length === 14 && + key.toLowerCase() === 'content-length' + ) { + request.contentLength = parseInt(val, 10) + if (!Number.isFinite(request.contentLength)) { + throw new InvalidArgumentError('invalid content-length header') + } + } else if ( + request.contentType === null && + key.length === 12 && + key.toLowerCase() === 'content-type' + ) { + request.contentType = val + if (skipAppend) request.headers[key] = processHeaderValue(key, val, skipAppend) + else request.headers += processHeaderValue(key, val) + } else if ( + key.length === 17 && + key.toLowerCase() === 'transfer-encoding' + ) { + throw new InvalidArgumentError('invalid transfer-encoding header') + } else if ( + key.length === 10 && + key.toLowerCase() === 'connection' + ) { + const value = typeof val === 'string' ? val.toLowerCase() : null + if (value !== 'close' && value !== 'keep-alive') { + throw new InvalidArgumentError('invalid connection header') + } else if (value === 'close') { + request.reset = true + } + } else if ( + key.length === 10 && + key.toLowerCase() === 'keep-alive' + ) { + throw new InvalidArgumentError('invalid keep-alive header') + } else if ( + key.length === 7 && + key.toLowerCase() === 'upgrade' + ) { + throw new InvalidArgumentError('invalid upgrade header') + } else if ( + key.length === 6 && + key.toLowerCase() === 'expect' + ) { + throw new NotSupportedError('expect header not supported') + } else if (tokenRegExp.exec(key) === null) { + throw new InvalidArgumentError('invalid header key') + } else { + if (Array.isArray(val)) { + for (let i = 0; i < val.length; i++) { + if (skipAppend) { + if (request.headers[key]) request.headers[key] += `,${processHeaderValue(key, val[i], skipAppend)}` + else request.headers[key] = processHeaderValue(key, val[i], skipAppend) + } else { + request.headers += processHeaderValue(key, val[i]) + } + } + } else { + if (skipAppend) request.headers[key] = processHeaderValue(key, val, skipAppend) + else request.headers += processHeaderValue(key, val) + } + } +} + +module.exports = Request + + +/***/ }), + +/***/ 2785: +/***/ ((module) => { + +module.exports = { + kClose: Symbol('close'), + kDestroy: Symbol('destroy'), + kDispatch: Symbol('dispatch'), + kUrl: Symbol('url'), + kWriting: Symbol('writing'), + kResuming: Symbol('resuming'), + kQueue: Symbol('queue'), + kConnect: Symbol('connect'), + kConnecting: Symbol('connecting'), + kHeadersList: Symbol('headers list'), + kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'), + kKeepAliveMaxTimeout: Symbol('max keep alive timeout'), + kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'), + kKeepAliveTimeoutValue: Symbol('keep alive timeout'), + kKeepAlive: Symbol('keep alive'), + kHeadersTimeout: Symbol('headers timeout'), + kBodyTimeout: Symbol('body timeout'), + kServerName: Symbol('server name'), + kLocalAddress: Symbol('local address'), + kHost: Symbol('host'), + kNoRef: Symbol('no ref'), + kBodyUsed: Symbol('used'), + kRunning: Symbol('running'), + kBlocking: Symbol('blocking'), + kPending: Symbol('pending'), + kSize: Symbol('size'), + kBusy: Symbol('busy'), + kQueued: Symbol('queued'), + kFree: Symbol('free'), + kConnected: Symbol('connected'), + kClosed: Symbol('closed'), + kNeedDrain: Symbol('need drain'), + kReset: Symbol('reset'), + kDestroyed: Symbol.for('nodejs.stream.destroyed'), + kMaxHeadersSize: Symbol('max headers size'), + kRunningIdx: Symbol('running index'), + kPendingIdx: Symbol('pending index'), + kError: Symbol('error'), + kClients: Symbol('clients'), + kClient: Symbol('client'), + kParser: Symbol('parser'), + kOnDestroyed: Symbol('destroy callbacks'), + kPipelining: Symbol('pipelining'), + kSocket: Symbol('socket'), + kHostHeader: Symbol('host header'), + kConnector: Symbol('connector'), + kStrictContentLength: Symbol('strict content length'), + kMaxRedirections: Symbol('maxRedirections'), + kMaxRequests: Symbol('maxRequestsPerClient'), + kProxy: Symbol('proxy agent options'), + kCounter: Symbol('socket request counter'), + kInterceptors: Symbol('dispatch interceptors'), + kMaxResponseSize: Symbol('max response size'), + kHTTP2Session: Symbol('http2Session'), + kHTTP2SessionState: Symbol('http2Session state'), + kHTTP2BuildRequest: Symbol('http2 build request'), + kHTTP1BuildRequest: Symbol('http1 build request'), + kHTTP2CopyHeaders: Symbol('http2 copy headers'), + kHTTPConnVersion: Symbol('http connection version'), + kRetryHandlerDefaultRetry: Symbol('retry agent default retry'), + kConstruct: Symbol('constructable') +} + + +/***/ }), + +/***/ 3983: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const assert = __nccwpck_require__(9491) +const { kDestroyed, kBodyUsed } = __nccwpck_require__(2785) +const { IncomingMessage } = __nccwpck_require__(3685) +const stream = __nccwpck_require__(2781) +const net = __nccwpck_require__(1808) +const { InvalidArgumentError } = __nccwpck_require__(8045) +const { Blob } = __nccwpck_require__(4300) +const nodeUtil = __nccwpck_require__(3837) +const { stringify } = __nccwpck_require__(3477) +const { headerNameLowerCasedRecord } = __nccwpck_require__(4462) + +const [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v)) + +function nop () {} + +function isStream (obj) { + return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function' +} + +// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License) +function isBlobLike (object) { + return (Blob && object instanceof Blob) || ( + object && + typeof object === 'object' && + (typeof object.stream === 'function' || + typeof object.arrayBuffer === 'function') && + /^(Blob|File)$/.test(object[Symbol.toStringTag]) + ) +} + +function buildURL (url, queryParams) { + if (url.includes('?') || url.includes('#')) { + throw new Error('Query params cannot be passed when url already contains "?" or "#".') + } + + const stringified = stringify(queryParams) + + if (stringified) { + url += '?' + stringified + } + + return url +} + +function parseURL (url) { + if (typeof url === 'string') { + url = new URL(url) + + if (!/^https?:/.test(url.origin || url.protocol)) { + throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.') + } + + return url + } + + if (!url || typeof url !== 'object') { + throw new InvalidArgumentError('Invalid URL: The URL argument must be a non-null object.') + } + + if (!/^https?:/.test(url.origin || url.protocol)) { + throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.') + } + + if (!(url instanceof URL)) { + if (url.port != null && url.port !== '' && !Number.isFinite(parseInt(url.port))) { + throw new InvalidArgumentError('Invalid URL: port must be a valid integer or a string representation of an integer.') + } + + if (url.path != null && typeof url.path !== 'string') { + throw new InvalidArgumentError('Invalid URL path: the path must be a string or null/undefined.') + } + + if (url.pathname != null && typeof url.pathname !== 'string') { + throw new InvalidArgumentError('Invalid URL pathname: the pathname must be a string or null/undefined.') + } + + if (url.hostname != null && typeof url.hostname !== 'string') { + throw new InvalidArgumentError('Invalid URL hostname: the hostname must be a string or null/undefined.') + } + + if (url.origin != null && typeof url.origin !== 'string') { + throw new InvalidArgumentError('Invalid URL origin: the origin must be a string or null/undefined.') + } + + const port = url.port != null + ? url.port + : (url.protocol === 'https:' ? 443 : 80) + let origin = url.origin != null + ? url.origin + : `${url.protocol}//${url.hostname}:${port}` + let path = url.path != null + ? url.path + : `${url.pathname || ''}${url.search || ''}` + + if (origin.endsWith('/')) { + origin = origin.substring(0, origin.length - 1) + } + + if (path && !path.startsWith('/')) { + path = `/${path}` + } + // new URL(path, origin) is unsafe when `path` contains an absolute URL + // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL: + // If first parameter is a relative URL, second param is required, and will be used as the base URL. + // If first parameter is an absolute URL, a given second param will be ignored. + url = new URL(origin + path) + } + + return url +} + +function parseOrigin (url) { + url = parseURL(url) + + if (url.pathname !== '/' || url.search || url.hash) { + throw new InvalidArgumentError('invalid url') + } + + return url +} + +function getHostname (host) { + if (host[0] === '[') { + const idx = host.indexOf(']') + + assert(idx !== -1) + return host.substring(1, idx) + } + + const idx = host.indexOf(':') + if (idx === -1) return host + + return host.substring(0, idx) +} + +// IP addresses are not valid server names per RFC6066 +// > Currently, the only server names supported are DNS hostnames +function getServerName (host) { + if (!host) { + return null + } + + assert.strictEqual(typeof host, 'string') + + const servername = getHostname(host) + if (net.isIP(servername)) { + return '' + } + + return servername +} + +function deepClone (obj) { + return JSON.parse(JSON.stringify(obj)) +} + +function isAsyncIterable (obj) { + return !!(obj != null && typeof obj[Symbol.asyncIterator] === 'function') +} + +function isIterable (obj) { + return !!(obj != null && (typeof obj[Symbol.iterator] === 'function' || typeof obj[Symbol.asyncIterator] === 'function')) +} + +function bodyLength (body) { + if (body == null) { + return 0 + } else if (isStream(body)) { + const state = body._readableState + return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length) + ? state.length + : null + } else if (isBlobLike(body)) { + return body.size != null ? body.size : null + } else if (isBuffer(body)) { + return body.byteLength + } + + return null +} + +function isDestroyed (stream) { + return !stream || !!(stream.destroyed || stream[kDestroyed]) +} + +function isReadableAborted (stream) { + const state = stream && stream._readableState + return isDestroyed(stream) && state && !state.endEmitted +} + +function destroy (stream, err) { + if (stream == null || !isStream(stream) || isDestroyed(stream)) { + return + } + + if (typeof stream.destroy === 'function') { + if (Object.getPrototypeOf(stream).constructor === IncomingMessage) { + // See: https://github.com/nodejs/node/pull/38505/files + stream.socket = null + } + + stream.destroy(err) + } else if (err) { + process.nextTick((stream, err) => { + stream.emit('error', err) + }, stream, err) + } + + if (stream.destroyed !== true) { + stream[kDestroyed] = true + } +} + +const KEEPALIVE_TIMEOUT_EXPR = /timeout=(\d+)/ +function parseKeepAliveTimeout (val) { + const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR) + return m ? parseInt(m[1], 10) * 1000 : null +} + +/** + * Retrieves a header name and returns its lowercase value. + * @param {string | Buffer} value Header name + * @returns {string} + */ +function headerNameToString (value) { + return headerNameLowerCasedRecord[value] || value.toLowerCase() +} + +function parseHeaders (headers, obj = {}) { + // For H2 support + if (!Array.isArray(headers)) return headers + + for (let i = 0; i < headers.length; i += 2) { + const key = headers[i].toString().toLowerCase() + let val = obj[key] + + if (!val) { + if (Array.isArray(headers[i + 1])) { + obj[key] = headers[i + 1].map(x => x.toString('utf8')) + } else { + obj[key] = headers[i + 1].toString('utf8') + } + } else { + if (!Array.isArray(val)) { + val = [val] + obj[key] = val + } + val.push(headers[i + 1].toString('utf8')) + } + } + + // See https://github.com/nodejs/node/pull/46528 + if ('content-length' in obj && 'content-disposition' in obj) { + obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1') + } + + return obj +} + +function parseRawHeaders (headers) { + const ret = [] + let hasContentLength = false + let contentDispositionIdx = -1 + + for (let n = 0; n < headers.length; n += 2) { + const key = headers[n + 0].toString() + const val = headers[n + 1].toString('utf8') + + if (key.length === 14 && (key === 'content-length' || key.toLowerCase() === 'content-length')) { + ret.push(key, val) + hasContentLength = true + } else if (key.length === 19 && (key === 'content-disposition' || key.toLowerCase() === 'content-disposition')) { + contentDispositionIdx = ret.push(key, val) - 1 + } else { + ret.push(key, val) + } + } + + // See https://github.com/nodejs/node/pull/46528 + if (hasContentLength && contentDispositionIdx !== -1) { + ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1') + } + + return ret +} + +function isBuffer (buffer) { + // See, https://github.com/mcollina/undici/pull/319 + return buffer instanceof Uint8Array || Buffer.isBuffer(buffer) +} + +function validateHandler (handler, method, upgrade) { + if (!handler || typeof handler !== 'object') { + throw new InvalidArgumentError('handler must be an object') + } + + if (typeof handler.onConnect !== 'function') { + throw new InvalidArgumentError('invalid onConnect method') + } + + if (typeof handler.onError !== 'function') { + throw new InvalidArgumentError('invalid onError method') + } + + if (typeof handler.onBodySent !== 'function' && handler.onBodySent !== undefined) { + throw new InvalidArgumentError('invalid onBodySent method') + } + + if (upgrade || method === 'CONNECT') { + if (typeof handler.onUpgrade !== 'function') { + throw new InvalidArgumentError('invalid onUpgrade method') + } + } else { + if (typeof handler.onHeaders !== 'function') { + throw new InvalidArgumentError('invalid onHeaders method') + } + + if (typeof handler.onData !== 'function') { + throw new InvalidArgumentError('invalid onData method') + } + + if (typeof handler.onComplete !== 'function') { + throw new InvalidArgumentError('invalid onComplete method') + } + } +} + +// A body is disturbed if it has been read from and it cannot +// be re-used without losing state or data. +function isDisturbed (body) { + return !!(body && ( + stream.isDisturbed + ? stream.isDisturbed(body) || body[kBodyUsed] // TODO (fix): Why is body[kBodyUsed] needed? + : body[kBodyUsed] || + body.readableDidRead || + (body._readableState && body._readableState.dataEmitted) || + isReadableAborted(body) + )) +} + +function isErrored (body) { + return !!(body && ( + stream.isErrored + ? stream.isErrored(body) + : /state: 'errored'/.test(nodeUtil.inspect(body) + ))) +} + +function isReadable (body) { + return !!(body && ( + stream.isReadable + ? stream.isReadable(body) + : /state: 'readable'/.test(nodeUtil.inspect(body) + ))) +} + +function getSocketInfo (socket) { + return { + localAddress: socket.localAddress, + localPort: socket.localPort, + remoteAddress: socket.remoteAddress, + remotePort: socket.remotePort, + remoteFamily: socket.remoteFamily, + timeout: socket.timeout, + bytesWritten: socket.bytesWritten, + bytesRead: socket.bytesRead + } +} + +async function * convertIterableToBuffer (iterable) { + for await (const chunk of iterable) { + yield Buffer.isBuffer(chunk) ? chunk : Buffer.from(chunk) + } +} + +let ReadableStream +function ReadableStreamFrom (iterable) { + if (!ReadableStream) { + ReadableStream = (__nccwpck_require__(5356).ReadableStream) + } + + if (ReadableStream.from) { + return ReadableStream.from(convertIterableToBuffer(iterable)) + } + + let iterator + return new ReadableStream( + { + async start () { + iterator = iterable[Symbol.asyncIterator]() + }, + async pull (controller) { + const { done, value } = await iterator.next() + if (done) { + queueMicrotask(() => { + controller.close() + }) + } else { + const buf = Buffer.isBuffer(value) ? value : Buffer.from(value) + controller.enqueue(new Uint8Array(buf)) + } + return controller.desiredSize > 0 + }, + async cancel (reason) { + await iterator.return() + } + }, + 0 + ) +} + +// The chunk should be a FormData instance and contains +// all the required methods. +function isFormDataLike (object) { + return ( + object && + typeof object === 'object' && + typeof object.append === 'function' && + typeof object.delete === 'function' && + typeof object.get === 'function' && + typeof object.getAll === 'function' && + typeof object.has === 'function' && + typeof object.set === 'function' && + object[Symbol.toStringTag] === 'FormData' + ) +} + +function throwIfAborted (signal) { + if (!signal) { return } + if (typeof signal.throwIfAborted === 'function') { + signal.throwIfAborted() + } else { + if (signal.aborted) { + // DOMException not available < v17.0.0 + const err = new Error('The operation was aborted') + err.name = 'AbortError' + throw err + } + } +} + +function addAbortListener (signal, listener) { + if ('addEventListener' in signal) { + signal.addEventListener('abort', listener, { once: true }) + return () => signal.removeEventListener('abort', listener) + } + signal.addListener('abort', listener) + return () => signal.removeListener('abort', listener) +} + +const hasToWellFormed = !!String.prototype.toWellFormed + +/** + * @param {string} val + */ +function toUSVString (val) { + if (hasToWellFormed) { + return `${val}`.toWellFormed() + } else if (nodeUtil.toUSVString) { + return nodeUtil.toUSVString(val) + } + + return `${val}` +} + +// Parsed accordingly to RFC 9110 +// https://www.rfc-editor.org/rfc/rfc9110#field.content-range +function parseRangeHeader (range) { + if (range == null || range === '') return { start: 0, end: null, size: null } + + const m = range ? range.match(/^bytes (\d+)-(\d+)\/(\d+)?$/) : null + return m + ? { + start: parseInt(m[1]), + end: m[2] ? parseInt(m[2]) : null, + size: m[3] ? parseInt(m[3]) : null + } + : null +} + +const kEnumerableProperty = Object.create(null) +kEnumerableProperty.enumerable = true + +module.exports = { + kEnumerableProperty, + nop, + isDisturbed, + isErrored, + isReadable, + toUSVString, + isReadableAborted, + isBlobLike, + parseOrigin, + parseURL, + getServerName, + isStream, + isIterable, + isAsyncIterable, + isDestroyed, + headerNameToString, + parseRawHeaders, + parseHeaders, + parseKeepAliveTimeout, + destroy, + bodyLength, + deepClone, + ReadableStreamFrom, + isBuffer, + validateHandler, + getSocketInfo, + isFormDataLike, + buildURL, + throwIfAborted, + addAbortListener, + parseRangeHeader, + nodeMajor, + nodeMinor, + nodeHasAutoSelectFamily: nodeMajor > 18 || (nodeMajor === 18 && nodeMinor >= 13), + safeHTTPMethods: ['GET', 'HEAD', 'OPTIONS', 'TRACE'] +} + + +/***/ }), + +/***/ 4839: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const Dispatcher = __nccwpck_require__(412) +const { + ClientDestroyedError, + ClientClosedError, + InvalidArgumentError +} = __nccwpck_require__(8045) +const { kDestroy, kClose, kDispatch, kInterceptors } = __nccwpck_require__(2785) + +const kDestroyed = Symbol('destroyed') +const kClosed = Symbol('closed') +const kOnDestroyed = Symbol('onDestroyed') +const kOnClosed = Symbol('onClosed') +const kInterceptedDispatch = Symbol('Intercepted Dispatch') + +class DispatcherBase extends Dispatcher { + constructor () { + super() + + this[kDestroyed] = false + this[kOnDestroyed] = null + this[kClosed] = false + this[kOnClosed] = [] + } + + get destroyed () { + return this[kDestroyed] + } + + get closed () { + return this[kClosed] + } + + get interceptors () { + return this[kInterceptors] + } + + set interceptors (newInterceptors) { + if (newInterceptors) { + for (let i = newInterceptors.length - 1; i >= 0; i--) { + const interceptor = this[kInterceptors][i] + if (typeof interceptor !== 'function') { + throw new InvalidArgumentError('interceptor must be an function') + } + } + } + + this[kInterceptors] = newInterceptors + } + + close (callback) { + if (callback === undefined) { + return new Promise((resolve, reject) => { + this.close((err, data) => { + return err ? reject(err) : resolve(data) + }) + }) + } + + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + if (this[kDestroyed]) { + queueMicrotask(() => callback(new ClientDestroyedError(), null)) + return + } + + if (this[kClosed]) { + if (this[kOnClosed]) { + this[kOnClosed].push(callback) + } else { + queueMicrotask(() => callback(null, null)) + } + return + } + + this[kClosed] = true + this[kOnClosed].push(callback) + + const onClosed = () => { + const callbacks = this[kOnClosed] + this[kOnClosed] = null + for (let i = 0; i < callbacks.length; i++) { + callbacks[i](null, null) + } + } + + // Should not error. + this[kClose]() + .then(() => this.destroy()) + .then(() => { + queueMicrotask(onClosed) + }) + } + + destroy (err, callback) { + if (typeof err === 'function') { + callback = err + err = null + } + + if (callback === undefined) { + return new Promise((resolve, reject) => { + this.destroy(err, (err, data) => { + return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data) + }) + }) + } + + if (typeof callback !== 'function') { + throw new InvalidArgumentError('invalid callback') + } + + if (this[kDestroyed]) { + if (this[kOnDestroyed]) { + this[kOnDestroyed].push(callback) + } else { + queueMicrotask(() => callback(null, null)) + } + return + } + + if (!err) { + err = new ClientDestroyedError() + } + + this[kDestroyed] = true + this[kOnDestroyed] = this[kOnDestroyed] || [] + this[kOnDestroyed].push(callback) + + const onDestroyed = () => { + const callbacks = this[kOnDestroyed] + this[kOnDestroyed] = null + for (let i = 0; i < callbacks.length; i++) { + callbacks[i](null, null) + } + } + + // Should not error. + this[kDestroy](err).then(() => { + queueMicrotask(onDestroyed) + }) + } + + [kInterceptedDispatch] (opts, handler) { + if (!this[kInterceptors] || this[kInterceptors].length === 0) { + this[kInterceptedDispatch] = this[kDispatch] + return this[kDispatch](opts, handler) + } + + let dispatch = this[kDispatch].bind(this) + for (let i = this[kInterceptors].length - 1; i >= 0; i--) { + dispatch = this[kInterceptors][i](dispatch) + } + this[kInterceptedDispatch] = dispatch + return dispatch(opts, handler) + } + + dispatch (opts, handler) { + if (!handler || typeof handler !== 'object') { + throw new InvalidArgumentError('handler must be an object') + } + + try { + if (!opts || typeof opts !== 'object') { + throw new InvalidArgumentError('opts must be an object.') + } + + if (this[kDestroyed] || this[kOnDestroyed]) { + throw new ClientDestroyedError() + } + + if (this[kClosed]) { + throw new ClientClosedError() + } + + return this[kInterceptedDispatch](opts, handler) + } catch (err) { + if (typeof handler.onError !== 'function') { + throw new InvalidArgumentError('invalid onError method') + } + + handler.onError(err) + + return false + } + } +} + +module.exports = DispatcherBase + + +/***/ }), + +/***/ 412: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const EventEmitter = __nccwpck_require__(2361) + +class Dispatcher extends EventEmitter { + dispatch () { + throw new Error('not implemented') + } + + close () { + throw new Error('not implemented') + } + + destroy () { + throw new Error('not implemented') + } +} + +module.exports = Dispatcher + + +/***/ }), + +/***/ 1472: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const Busboy = __nccwpck_require__(727) +const util = __nccwpck_require__(3983) +const { + ReadableStreamFrom, + isBlobLike, + isReadableStreamLike, + readableStreamClose, + createDeferredPromise, + fullyReadBody +} = __nccwpck_require__(2538) +const { FormData } = __nccwpck_require__(2015) +const { kState } = __nccwpck_require__(5861) +const { webidl } = __nccwpck_require__(1744) +const { DOMException, structuredClone } = __nccwpck_require__(1037) +const { Blob, File: NativeFile } = __nccwpck_require__(4300) +const { kBodyUsed } = __nccwpck_require__(2785) +const assert = __nccwpck_require__(9491) +const { isErrored } = __nccwpck_require__(3983) +const { isUint8Array, isArrayBuffer } = __nccwpck_require__(4978) +const { File: UndiciFile } = __nccwpck_require__(8511) +const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685) + +let ReadableStream = globalThis.ReadableStream + +/** @type {globalThis['File']} */ +const File = NativeFile ?? UndiciFile +const textEncoder = new TextEncoder() +const textDecoder = new TextDecoder() + +// https://fetch.spec.whatwg.org/#concept-bodyinit-extract +function extractBody (object, keepalive = false) { + if (!ReadableStream) { + ReadableStream = (__nccwpck_require__(5356).ReadableStream) + } + + // 1. Let stream be null. + let stream = null + + // 2. If object is a ReadableStream object, then set stream to object. + if (object instanceof ReadableStream) { + stream = object + } else if (isBlobLike(object)) { + // 3. Otherwise, if object is a Blob object, set stream to the + // result of running object’s get stream. + stream = object.stream() + } else { + // 4. Otherwise, set stream to a new ReadableStream object, and set + // up stream. + stream = new ReadableStream({ + async pull (controller) { + controller.enqueue( + typeof source === 'string' ? textEncoder.encode(source) : source + ) + queueMicrotask(() => readableStreamClose(controller)) + }, + start () {}, + type: undefined + }) + } + + // 5. Assert: stream is a ReadableStream object. + assert(isReadableStreamLike(stream)) + + // 6. Let action be null. + let action = null + + // 7. Let source be null. + let source = null + + // 8. Let length be null. + let length = null + + // 9. Let type be null. + let type = null + + // 10. Switch on object: + if (typeof object === 'string') { + // Set source to the UTF-8 encoding of object. + // Note: setting source to a Uint8Array here breaks some mocking assumptions. + source = object + + // Set type to `text/plain;charset=UTF-8`. + type = 'text/plain;charset=UTF-8' + } else if (object instanceof URLSearchParams) { + // URLSearchParams + + // spec says to run application/x-www-form-urlencoded on body.list + // this is implemented in Node.js as apart of an URLSearchParams instance toString method + // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490 + // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100 + + // Set source to the result of running the application/x-www-form-urlencoded serializer with object’s list. + source = object.toString() + + // Set type to `application/x-www-form-urlencoded;charset=UTF-8`. + type = 'application/x-www-form-urlencoded;charset=UTF-8' + } else if (isArrayBuffer(object)) { + // BufferSource/ArrayBuffer + + // Set source to a copy of the bytes held by object. + source = new Uint8Array(object.slice()) + } else if (ArrayBuffer.isView(object)) { + // BufferSource/ArrayBufferView + + // Set source to a copy of the bytes held by object. + source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength)) + } else if (util.isFormDataLike(object)) { + const boundary = `----formdata-undici-0${`${Math.floor(Math.random() * 1e11)}`.padStart(11, '0')}` + const prefix = `--${boundary}\r\nContent-Disposition: form-data` + + /*! formdata-polyfill. MIT License. Jimmy Wärting */ + const escape = (str) => + str.replace(/\n/g, '%0A').replace(/\r/g, '%0D').replace(/"/g, '%22') + const normalizeLinefeeds = (value) => value.replace(/\r?\n|\r/g, '\r\n') + + // Set action to this step: run the multipart/form-data + // encoding algorithm, with object’s entry list and UTF-8. + // - This ensures that the body is immutable and can't be changed afterwords + // - That the content-length is calculated in advance. + // - And that all parts are pre-encoded and ready to be sent. + + const blobParts = [] + const rn = new Uint8Array([13, 10]) // '\r\n' + length = 0 + let hasUnknownSizeValue = false + + for (const [name, value] of object) { + if (typeof value === 'string') { + const chunk = textEncoder.encode(prefix + + `; name="${escape(normalizeLinefeeds(name))}"` + + `\r\n\r\n${normalizeLinefeeds(value)}\r\n`) + blobParts.push(chunk) + length += chunk.byteLength + } else { + const chunk = textEncoder.encode(`${prefix}; name="${escape(normalizeLinefeeds(name))}"` + + (value.name ? `; filename="${escape(value.name)}"` : '') + '\r\n' + + `Content-Type: ${ + value.type || 'application/octet-stream' + }\r\n\r\n`) + blobParts.push(chunk, value, rn) + if (typeof value.size === 'number') { + length += chunk.byteLength + value.size + rn.byteLength + } else { + hasUnknownSizeValue = true + } + } + } + + const chunk = textEncoder.encode(`--${boundary}--`) + blobParts.push(chunk) + length += chunk.byteLength + if (hasUnknownSizeValue) { + length = null + } + + // Set source to object. + source = object + + action = async function * () { + for (const part of blobParts) { + if (part.stream) { + yield * part.stream() + } else { + yield part + } + } + } + + // Set type to `multipart/form-data; boundary=`, + // followed by the multipart/form-data boundary string generated + // by the multipart/form-data encoding algorithm. + type = 'multipart/form-data; boundary=' + boundary + } else if (isBlobLike(object)) { + // Blob + + // Set source to object. + source = object + + // Set length to object’s size. + length = object.size + + // If object’s type attribute is not the empty byte sequence, set + // type to its value. + if (object.type) { + type = object.type + } + } else if (typeof object[Symbol.asyncIterator] === 'function') { + // If keepalive is true, then throw a TypeError. + if (keepalive) { + throw new TypeError('keepalive') + } + + // If object is disturbed or locked, then throw a TypeError. + if (util.isDisturbed(object) || object.locked) { + throw new TypeError( + 'Response body object should not be disturbed or locked' + ) + } + + stream = + object instanceof ReadableStream ? object : ReadableStreamFrom(object) + } + + // 11. If source is a byte sequence, then set action to a + // step that returns source and length to source’s length. + if (typeof source === 'string' || util.isBuffer(source)) { + length = Buffer.byteLength(source) + } + + // 12. If action is non-null, then run these steps in in parallel: + if (action != null) { + // Run action. + let iterator + stream = new ReadableStream({ + async start () { + iterator = action(object)[Symbol.asyncIterator]() + }, + async pull (controller) { + const { value, done } = await iterator.next() + if (done) { + // When running action is done, close stream. + queueMicrotask(() => { + controller.close() + }) + } else { + // Whenever one or more bytes are available and stream is not errored, + // enqueue a Uint8Array wrapping an ArrayBuffer containing the available + // bytes into stream. + if (!isErrored(stream)) { + controller.enqueue(new Uint8Array(value)) + } + } + return controller.desiredSize > 0 + }, + async cancel (reason) { + await iterator.return() + }, + type: undefined + }) + } + + // 13. Let body be a body whose stream is stream, source is source, + // and length is length. + const body = { stream, source, length } + + // 14. Return (body, type). + return [body, type] +} + +// https://fetch.spec.whatwg.org/#bodyinit-safely-extract +function safelyExtractBody (object, keepalive = false) { + if (!ReadableStream) { + // istanbul ignore next + ReadableStream = (__nccwpck_require__(5356).ReadableStream) + } + + // To safely extract a body and a `Content-Type` value from + // a byte sequence or BodyInit object object, run these steps: + + // 1. If object is a ReadableStream object, then: + if (object instanceof ReadableStream) { + // Assert: object is neither disturbed nor locked. + // istanbul ignore next + assert(!util.isDisturbed(object), 'The body has already been consumed.') + // istanbul ignore next + assert(!object.locked, 'The stream is locked.') + } + + // 2. Return the results of extracting object. + return extractBody(object, keepalive) +} + +function cloneBody (body) { + // To clone a body body, run these steps: + + // https://fetch.spec.whatwg.org/#concept-body-clone + + // 1. Let « out1, out2 » be the result of teeing body’s stream. + const [out1, out2] = body.stream.tee() + const out2Clone = structuredClone(out2, { transfer: [out2] }) + // This, for whatever reasons, unrefs out2Clone which allows + // the process to exit by itself. + const [, finalClone] = out2Clone.tee() + + // 2. Set body’s stream to out1. + body.stream = out1 + + // 3. Return a body whose stream is out2 and other members are copied from body. + return { + stream: finalClone, + length: body.length, + source: body.source + } +} + +async function * consumeBody (body) { + if (body) { + if (isUint8Array(body)) { + yield body + } else { + const stream = body.stream + + if (util.isDisturbed(stream)) { + throw new TypeError('The body has already been consumed.') + } + + if (stream.locked) { + throw new TypeError('The stream is locked.') + } + + // Compat. + stream[kBodyUsed] = true + + yield * stream + } + } +} + +function throwIfAborted (state) { + if (state.aborted) { + throw new DOMException('The operation was aborted.', 'AbortError') + } +} + +function bodyMixinMethods (instance) { + const methods = { + blob () { + // The blob() method steps are to return the result of + // running consume body with this and the following step + // given a byte sequence bytes: return a Blob whose + // contents are bytes and whose type attribute is this’s + // MIME type. + return specConsumeBody(this, (bytes) => { + let mimeType = bodyMimeType(this) + + if (mimeType === 'failure') { + mimeType = '' + } else if (mimeType) { + mimeType = serializeAMimeType(mimeType) + } + + // Return a Blob whose contents are bytes and type attribute + // is mimeType. + return new Blob([bytes], { type: mimeType }) + }, instance) + }, + + arrayBuffer () { + // The arrayBuffer() method steps are to return the result + // of running consume body with this and the following step + // given a byte sequence bytes: return a new ArrayBuffer + // whose contents are bytes. + return specConsumeBody(this, (bytes) => { + return new Uint8Array(bytes).buffer + }, instance) + }, + + text () { + // The text() method steps are to return the result of running + // consume body with this and UTF-8 decode. + return specConsumeBody(this, utf8DecodeBytes, instance) + }, + + json () { + // The json() method steps are to return the result of running + // consume body with this and parse JSON from bytes. + return specConsumeBody(this, parseJSONFromBytes, instance) + }, + + async formData () { + webidl.brandCheck(this, instance) + + throwIfAborted(this[kState]) + + const contentType = this.headers.get('Content-Type') + + // If mimeType’s essence is "multipart/form-data", then: + if (/multipart\/form-data/.test(contentType)) { + const headers = {} + for (const [key, value] of this.headers) headers[key.toLowerCase()] = value + + const responseFormData = new FormData() + + let busboy + + try { + busboy = new Busboy({ + headers, + preservePath: true + }) + } catch (err) { + throw new DOMException(`${err}`, 'AbortError') + } + + busboy.on('field', (name, value) => { + responseFormData.append(name, value) + }) + busboy.on('file', (name, value, filename, encoding, mimeType) => { + const chunks = [] + + if (encoding === 'base64' || encoding.toLowerCase() === 'base64') { + let base64chunk = '' + + value.on('data', (chunk) => { + base64chunk += chunk.toString().replace(/[\r\n]/gm, '') + + const end = base64chunk.length - base64chunk.length % 4 + chunks.push(Buffer.from(base64chunk.slice(0, end), 'base64')) + + base64chunk = base64chunk.slice(end) + }) + value.on('end', () => { + chunks.push(Buffer.from(base64chunk, 'base64')) + responseFormData.append(name, new File(chunks, filename, { type: mimeType })) + }) + } else { + value.on('data', (chunk) => { + chunks.push(chunk) + }) + value.on('end', () => { + responseFormData.append(name, new File(chunks, filename, { type: mimeType })) + }) + } + }) + + const busboyResolve = new Promise((resolve, reject) => { + busboy.on('finish', resolve) + busboy.on('error', (err) => reject(new TypeError(err))) + }) + + if (this.body !== null) for await (const chunk of consumeBody(this[kState].body)) busboy.write(chunk) + busboy.end() + await busboyResolve + + return responseFormData + } else if (/application\/x-www-form-urlencoded/.test(contentType)) { + // Otherwise, if mimeType’s essence is "application/x-www-form-urlencoded", then: + + // 1. Let entries be the result of parsing bytes. + let entries + try { + let text = '' + // application/x-www-form-urlencoded parser will keep the BOM. + // https://url.spec.whatwg.org/#concept-urlencoded-parser + // Note that streaming decoder is stateful and cannot be reused + const streamingDecoder = new TextDecoder('utf-8', { ignoreBOM: true }) + + for await (const chunk of consumeBody(this[kState].body)) { + if (!isUint8Array(chunk)) { + throw new TypeError('Expected Uint8Array chunk') + } + text += streamingDecoder.decode(chunk, { stream: true }) + } + text += streamingDecoder.decode() + entries = new URLSearchParams(text) + } catch (err) { + // istanbul ignore next: Unclear when new URLSearchParams can fail on a string. + // 2. If entries is failure, then throw a TypeError. + throw Object.assign(new TypeError(), { cause: err }) + } + + // 3. Return a new FormData object whose entries are entries. + const formData = new FormData() + for (const [name, value] of entries) { + formData.append(name, value) + } + return formData + } else { + // Wait a tick before checking if the request has been aborted. + // Otherwise, a TypeError can be thrown when an AbortError should. + await Promise.resolve() + + throwIfAborted(this[kState]) + + // Otherwise, throw a TypeError. + throw webidl.errors.exception({ + header: `${instance.name}.formData`, + message: 'Could not parse content as FormData.' + }) + } + } + } + + return methods +} + +function mixinBody (prototype) { + Object.assign(prototype.prototype, bodyMixinMethods(prototype)) +} + +/** + * @see https://fetch.spec.whatwg.org/#concept-body-consume-body + * @param {Response|Request} object + * @param {(value: unknown) => unknown} convertBytesToJSValue + * @param {Response|Request} instance + */ +async function specConsumeBody (object, convertBytesToJSValue, instance) { + webidl.brandCheck(object, instance) + + throwIfAborted(object[kState]) + + // 1. If object is unusable, then return a promise rejected + // with a TypeError. + if (bodyUnusable(object[kState].body)) { + throw new TypeError('Body is unusable') + } + + // 2. Let promise be a new promise. + const promise = createDeferredPromise() + + // 3. Let errorSteps given error be to reject promise with error. + const errorSteps = (error) => promise.reject(error) + + // 4. Let successSteps given a byte sequence data be to resolve + // promise with the result of running convertBytesToJSValue + // with data. If that threw an exception, then run errorSteps + // with that exception. + const successSteps = (data) => { + try { + promise.resolve(convertBytesToJSValue(data)) + } catch (e) { + errorSteps(e) + } + } + + // 5. If object’s body is null, then run successSteps with an + // empty byte sequence. + if (object[kState].body == null) { + successSteps(new Uint8Array()) + return promise.promise + } + + // 6. Otherwise, fully read object’s body given successSteps, + // errorSteps, and object’s relevant global object. + await fullyReadBody(object[kState].body, successSteps, errorSteps) + + // 7. Return promise. + return promise.promise +} + +// https://fetch.spec.whatwg.org/#body-unusable +function bodyUnusable (body) { + // An object including the Body interface mixin is + // said to be unusable if its body is non-null and + // its body’s stream is disturbed or locked. + return body != null && (body.stream.locked || util.isDisturbed(body.stream)) +} + +/** + * @see https://encoding.spec.whatwg.org/#utf-8-decode + * @param {Buffer} buffer + */ +function utf8DecodeBytes (buffer) { + if (buffer.length === 0) { + return '' + } + + // 1. Let buffer be the result of peeking three bytes from + // ioQueue, converted to a byte sequence. + + // 2. If buffer is 0xEF 0xBB 0xBF, then read three + // bytes from ioQueue. (Do nothing with those bytes.) + if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) { + buffer = buffer.subarray(3) + } + + // 3. Process a queue with an instance of UTF-8’s + // decoder, ioQueue, output, and "replacement". + const output = textDecoder.decode(buffer) + + // 4. Return output. + return output +} + +/** + * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value + * @param {Uint8Array} bytes + */ +function parseJSONFromBytes (bytes) { + return JSON.parse(utf8DecodeBytes(bytes)) +} + +/** + * @see https://fetch.spec.whatwg.org/#concept-body-mime-type + * @param {import('./response').Response|import('./request').Request} object + */ +function bodyMimeType (object) { + const { headersList } = object[kState] + const contentType = headersList.get('content-type') + + if (contentType === null) { + return 'failure' + } + + return parseMIMEType(contentType) +} + +module.exports = { + extractBody, + safelyExtractBody, + cloneBody, + mixinBody +} + + +/***/ }), + +/***/ 1037: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { MessageChannel, receiveMessageOnPort } = __nccwpck_require__(1267) + +const corsSafeListedMethods = ['GET', 'HEAD', 'POST'] +const corsSafeListedMethodsSet = new Set(corsSafeListedMethods) + +const nullBodyStatus = [101, 204, 205, 304] + +const redirectStatus = [301, 302, 303, 307, 308] +const redirectStatusSet = new Set(redirectStatus) + +// https://fetch.spec.whatwg.org/#block-bad-port +const badPorts = [ + '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79', + '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137', + '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532', + '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723', + '2049', '3659', '4045', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6697', + '10080' +] + +const badPortsSet = new Set(badPorts) + +// https://w3c.github.io/webappsec-referrer-policy/#referrer-policies +const referrerPolicy = [ + '', + 'no-referrer', + 'no-referrer-when-downgrade', + 'same-origin', + 'origin', + 'strict-origin', + 'origin-when-cross-origin', + 'strict-origin-when-cross-origin', + 'unsafe-url' +] +const referrerPolicySet = new Set(referrerPolicy) + +const requestRedirect = ['follow', 'manual', 'error'] + +const safeMethods = ['GET', 'HEAD', 'OPTIONS', 'TRACE'] +const safeMethodsSet = new Set(safeMethods) + +const requestMode = ['navigate', 'same-origin', 'no-cors', 'cors'] + +const requestCredentials = ['omit', 'same-origin', 'include'] + +const requestCache = [ + 'default', + 'no-store', + 'reload', + 'no-cache', + 'force-cache', + 'only-if-cached' +] + +// https://fetch.spec.whatwg.org/#request-body-header-name +const requestBodyHeader = [ + 'content-encoding', + 'content-language', + 'content-location', + 'content-type', + // See https://github.com/nodejs/undici/issues/2021 + // 'Content-Length' is a forbidden header name, which is typically + // removed in the Headers implementation. However, undici doesn't + // filter out headers, so we add it here. + 'content-length' +] + +// https://fetch.spec.whatwg.org/#enumdef-requestduplex +const requestDuplex = [ + 'half' +] + +// http://fetch.spec.whatwg.org/#forbidden-method +const forbiddenMethods = ['CONNECT', 'TRACE', 'TRACK'] +const forbiddenMethodsSet = new Set(forbiddenMethods) + +const subresource = [ + 'audio', + 'audioworklet', + 'font', + 'image', + 'manifest', + 'paintworklet', + 'script', + 'style', + 'track', + 'video', + 'xslt', + '' +] +const subresourceSet = new Set(subresource) + +/** @type {globalThis['DOMException']} */ +const DOMException = globalThis.DOMException ?? (() => { + // DOMException was only made a global in Node v17.0.0, + // but fetch supports >= v16.8. + try { + atob('~') + } catch (err) { + return Object.getPrototypeOf(err).constructor + } +})() + +let channel + +/** @type {globalThis['structuredClone']} */ +const structuredClone = + globalThis.structuredClone ?? + // https://github.com/nodejs/node/blob/b27ae24dcc4251bad726d9d84baf678d1f707fed/lib/internal/structured_clone.js + // structuredClone was added in v17.0.0, but fetch supports v16.8 + function structuredClone (value, options = undefined) { + if (arguments.length === 0) { + throw new TypeError('missing argument') + } + + if (!channel) { + channel = new MessageChannel() + } + channel.port1.unref() + channel.port2.unref() + channel.port1.postMessage(value, options?.transfer) + return receiveMessageOnPort(channel.port2).message + } + +module.exports = { + DOMException, + structuredClone, + subresource, + forbiddenMethods, + requestBodyHeader, + referrerPolicy, + requestRedirect, + requestMode, + requestCredentials, + requestCache, + redirectStatus, + corsSafeListedMethods, + nullBodyStatus, + safeMethods, + badPorts, + requestDuplex, + subresourceSet, + badPortsSet, + redirectStatusSet, + corsSafeListedMethodsSet, + safeMethodsSet, + forbiddenMethodsSet, + referrerPolicySet +} + + +/***/ }), + +/***/ 685: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const assert = __nccwpck_require__(9491) +const { atob } = __nccwpck_require__(4300) +const { isomorphicDecode } = __nccwpck_require__(2538) + +const encoder = new TextEncoder() + +/** + * @see https://mimesniff.spec.whatwg.org/#http-token-code-point + */ +const HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+-.^_|~A-Za-z0-9]+$/ +const HTTP_WHITESPACE_REGEX = /(\u000A|\u000D|\u0009|\u0020)/ // eslint-disable-line +/** + * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point + */ +const HTTP_QUOTED_STRING_TOKENS = /[\u0009|\u0020-\u007E|\u0080-\u00FF]/ // eslint-disable-line + +// https://fetch.spec.whatwg.org/#data-url-processor +/** @param {URL} dataURL */ +function dataURLProcessor (dataURL) { + // 1. Assert: dataURL’s scheme is "data". + assert(dataURL.protocol === 'data:') + + // 2. Let input be the result of running the URL + // serializer on dataURL with exclude fragment + // set to true. + let input = URLSerializer(dataURL, true) + + // 3. Remove the leading "data:" string from input. + input = input.slice(5) + + // 4. Let position point at the start of input. + const position = { position: 0 } + + // 5. Let mimeType be the result of collecting a + // sequence of code points that are not equal + // to U+002C (,), given position. + let mimeType = collectASequenceOfCodePointsFast( + ',', + input, + position + ) + + // 6. Strip leading and trailing ASCII whitespace + // from mimeType. + // Undici implementation note: we need to store the + // length because if the mimetype has spaces removed, + // the wrong amount will be sliced from the input in + // step #9 + const mimeTypeLength = mimeType.length + mimeType = removeASCIIWhitespace(mimeType, true, true) + + // 7. If position is past the end of input, then + // return failure + if (position.position >= input.length) { + return 'failure' + } + + // 8. Advance position by 1. + position.position++ + + // 9. Let encodedBody be the remainder of input. + const encodedBody = input.slice(mimeTypeLength + 1) + + // 10. Let body be the percent-decoding of encodedBody. + let body = stringPercentDecode(encodedBody) + + // 11. If mimeType ends with U+003B (;), followed by + // zero or more U+0020 SPACE, followed by an ASCII + // case-insensitive match for "base64", then: + if (/;(\u0020){0,}base64$/i.test(mimeType)) { + // 1. Let stringBody be the isomorphic decode of body. + const stringBody = isomorphicDecode(body) + + // 2. Set body to the forgiving-base64 decode of + // stringBody. + body = forgivingBase64(stringBody) + + // 3. If body is failure, then return failure. + if (body === 'failure') { + return 'failure' + } + + // 4. Remove the last 6 code points from mimeType. + mimeType = mimeType.slice(0, -6) + + // 5. Remove trailing U+0020 SPACE code points from mimeType, + // if any. + mimeType = mimeType.replace(/(\u0020)+$/, '') + + // 6. Remove the last U+003B (;) code point from mimeType. + mimeType = mimeType.slice(0, -1) + } + + // 12. If mimeType starts with U+003B (;), then prepend + // "text/plain" to mimeType. + if (mimeType.startsWith(';')) { + mimeType = 'text/plain' + mimeType + } + + // 13. Let mimeTypeRecord be the result of parsing + // mimeType. + let mimeTypeRecord = parseMIMEType(mimeType) + + // 14. If mimeTypeRecord is failure, then set + // mimeTypeRecord to text/plain;charset=US-ASCII. + if (mimeTypeRecord === 'failure') { + mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII') + } + + // 15. Return a new data: URL struct whose MIME + // type is mimeTypeRecord and body is body. + // https://fetch.spec.whatwg.org/#data-url-struct + return { mimeType: mimeTypeRecord, body } +} + +// https://url.spec.whatwg.org/#concept-url-serializer +/** + * @param {URL} url + * @param {boolean} excludeFragment + */ +function URLSerializer (url, excludeFragment = false) { + if (!excludeFragment) { + return url.href + } + + const href = url.href + const hashLength = url.hash.length + + return hashLength === 0 ? href : href.substring(0, href.length - hashLength) +} + +// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points +/** + * @param {(char: string) => boolean} condition + * @param {string} input + * @param {{ position: number }} position + */ +function collectASequenceOfCodePoints (condition, input, position) { + // 1. Let result be the empty string. + let result = '' + + // 2. While position doesn’t point past the end of input and the + // code point at position within input meets the condition condition: + while (position.position < input.length && condition(input[position.position])) { + // 1. Append that code point to the end of result. + result += input[position.position] + + // 2. Advance position by 1. + position.position++ + } + + // 3. Return result. + return result +} + +/** + * A faster collectASequenceOfCodePoints that only works when comparing a single character. + * @param {string} char + * @param {string} input + * @param {{ position: number }} position + */ +function collectASequenceOfCodePointsFast (char, input, position) { + const idx = input.indexOf(char, position.position) + const start = position.position + + if (idx === -1) { + position.position = input.length + return input.slice(start) + } + + position.position = idx + return input.slice(start, position.position) +} + +// https://url.spec.whatwg.org/#string-percent-decode +/** @param {string} input */ +function stringPercentDecode (input) { + // 1. Let bytes be the UTF-8 encoding of input. + const bytes = encoder.encode(input) + + // 2. Return the percent-decoding of bytes. + return percentDecode(bytes) +} + +// https://url.spec.whatwg.org/#percent-decode +/** @param {Uint8Array} input */ +function percentDecode (input) { + // 1. Let output be an empty byte sequence. + /** @type {number[]} */ + const output = [] + + // 2. For each byte byte in input: + for (let i = 0; i < input.length; i++) { + const byte = input[i] + + // 1. If byte is not 0x25 (%), then append byte to output. + if (byte !== 0x25) { + output.push(byte) + + // 2. Otherwise, if byte is 0x25 (%) and the next two bytes + // after byte in input are not in the ranges + // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F), + // and 0x61 (a) to 0x66 (f), all inclusive, append byte + // to output. + } else if ( + byte === 0x25 && + !/^[0-9A-Fa-f]{2}$/i.test(String.fromCharCode(input[i + 1], input[i + 2])) + ) { + output.push(0x25) + + // 3. Otherwise: + } else { + // 1. Let bytePoint be the two bytes after byte in input, + // decoded, and then interpreted as hexadecimal number. + const nextTwoBytes = String.fromCharCode(input[i + 1], input[i + 2]) + const bytePoint = Number.parseInt(nextTwoBytes, 16) + + // 2. Append a byte whose value is bytePoint to output. + output.push(bytePoint) + + // 3. Skip the next two bytes in input. + i += 2 + } + } + + // 3. Return output. + return Uint8Array.from(output) +} + +// https://mimesniff.spec.whatwg.org/#parse-a-mime-type +/** @param {string} input */ +function parseMIMEType (input) { + // 1. Remove any leading and trailing HTTP whitespace + // from input. + input = removeHTTPWhitespace(input, true, true) + + // 2. Let position be a position variable for input, + // initially pointing at the start of input. + const position = { position: 0 } + + // 3. Let type be the result of collecting a sequence + // of code points that are not U+002F (/) from + // input, given position. + const type = collectASequenceOfCodePointsFast( + '/', + input, + position + ) + + // 4. If type is the empty string or does not solely + // contain HTTP token code points, then return failure. + // https://mimesniff.spec.whatwg.org/#http-token-code-point + if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) { + return 'failure' + } + + // 5. If position is past the end of input, then return + // failure + if (position.position > input.length) { + return 'failure' + } + + // 6. Advance position by 1. (This skips past U+002F (/).) + position.position++ + + // 7. Let subtype be the result of collecting a sequence of + // code points that are not U+003B (;) from input, given + // position. + let subtype = collectASequenceOfCodePointsFast( + ';', + input, + position + ) + + // 8. Remove any trailing HTTP whitespace from subtype. + subtype = removeHTTPWhitespace(subtype, false, true) + + // 9. If subtype is the empty string or does not solely + // contain HTTP token code points, then return failure. + if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) { + return 'failure' + } + + const typeLowercase = type.toLowerCase() + const subtypeLowercase = subtype.toLowerCase() + + // 10. Let mimeType be a new MIME type record whose type + // is type, in ASCII lowercase, and subtype is subtype, + // in ASCII lowercase. + // https://mimesniff.spec.whatwg.org/#mime-type + const mimeType = { + type: typeLowercase, + subtype: subtypeLowercase, + /** @type {Map} */ + parameters: new Map(), + // https://mimesniff.spec.whatwg.org/#mime-type-essence + essence: `${typeLowercase}/${subtypeLowercase}` + } + + // 11. While position is not past the end of input: + while (position.position < input.length) { + // 1. Advance position by 1. (This skips past U+003B (;).) + position.position++ + + // 2. Collect a sequence of code points that are HTTP + // whitespace from input given position. + collectASequenceOfCodePoints( + // https://fetch.spec.whatwg.org/#http-whitespace + char => HTTP_WHITESPACE_REGEX.test(char), + input, + position + ) + + // 3. Let parameterName be the result of collecting a + // sequence of code points that are not U+003B (;) + // or U+003D (=) from input, given position. + let parameterName = collectASequenceOfCodePoints( + (char) => char !== ';' && char !== '=', + input, + position + ) + + // 4. Set parameterName to parameterName, in ASCII + // lowercase. + parameterName = parameterName.toLowerCase() + + // 5. If position is not past the end of input, then: + if (position.position < input.length) { + // 1. If the code point at position within input is + // U+003B (;), then continue. + if (input[position.position] === ';') { + continue + } + + // 2. Advance position by 1. (This skips past U+003D (=).) + position.position++ + } + + // 6. If position is past the end of input, then break. + if (position.position > input.length) { + break + } + + // 7. Let parameterValue be null. + let parameterValue = null + + // 8. If the code point at position within input is + // U+0022 ("), then: + if (input[position.position] === '"') { + // 1. Set parameterValue to the result of collecting + // an HTTP quoted string from input, given position + // and the extract-value flag. + parameterValue = collectAnHTTPQuotedString(input, position, true) + + // 2. Collect a sequence of code points that are not + // U+003B (;) from input, given position. + collectASequenceOfCodePointsFast( + ';', + input, + position + ) + + // 9. Otherwise: + } else { + // 1. Set parameterValue to the result of collecting + // a sequence of code points that are not U+003B (;) + // from input, given position. + parameterValue = collectASequenceOfCodePointsFast( + ';', + input, + position + ) + + // 2. Remove any trailing HTTP whitespace from parameterValue. + parameterValue = removeHTTPWhitespace(parameterValue, false, true) + + // 3. If parameterValue is the empty string, then continue. + if (parameterValue.length === 0) { + continue + } + } + + // 10. If all of the following are true + // - parameterName is not the empty string + // - parameterName solely contains HTTP token code points + // - parameterValue solely contains HTTP quoted-string token code points + // - mimeType’s parameters[parameterName] does not exist + // then set mimeType’s parameters[parameterName] to parameterValue. + if ( + parameterName.length !== 0 && + HTTP_TOKEN_CODEPOINTS.test(parameterName) && + (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) && + !mimeType.parameters.has(parameterName) + ) { + mimeType.parameters.set(parameterName, parameterValue) + } + } + + // 12. Return mimeType. + return mimeType +} + +// https://infra.spec.whatwg.org/#forgiving-base64-decode +/** @param {string} data */ +function forgivingBase64 (data) { + // 1. Remove all ASCII whitespace from data. + data = data.replace(/[\u0009\u000A\u000C\u000D\u0020]/g, '') // eslint-disable-line + + // 2. If data’s code point length divides by 4 leaving + // no remainder, then: + if (data.length % 4 === 0) { + // 1. If data ends with one or two U+003D (=) code points, + // then remove them from data. + data = data.replace(/=?=$/, '') + } + + // 3. If data’s code point length divides by 4 leaving + // a remainder of 1, then return failure. + if (data.length % 4 === 1) { + return 'failure' + } + + // 4. If data contains a code point that is not one of + // U+002B (+) + // U+002F (/) + // ASCII alphanumeric + // then return failure. + if (/[^+/0-9A-Za-z]/.test(data)) { + return 'failure' + } + + const binary = atob(data) + const bytes = new Uint8Array(binary.length) + + for (let byte = 0; byte < binary.length; byte++) { + bytes[byte] = binary.charCodeAt(byte) + } + + return bytes +} + +// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string +// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string +/** + * @param {string} input + * @param {{ position: number }} position + * @param {boolean?} extractValue + */ +function collectAnHTTPQuotedString (input, position, extractValue) { + // 1. Let positionStart be position. + const positionStart = position.position + + // 2. Let value be the empty string. + let value = '' + + // 3. Assert: the code point at position within input + // is U+0022 ("). + assert(input[position.position] === '"') + + // 4. Advance position by 1. + position.position++ + + // 5. While true: + while (true) { + // 1. Append the result of collecting a sequence of code points + // that are not U+0022 (") or U+005C (\) from input, given + // position, to value. + value += collectASequenceOfCodePoints( + (char) => char !== '"' && char !== '\\', + input, + position + ) + + // 2. If position is past the end of input, then break. + if (position.position >= input.length) { + break + } + + // 3. Let quoteOrBackslash be the code point at position within + // input. + const quoteOrBackslash = input[position.position] + + // 4. Advance position by 1. + position.position++ + + // 5. If quoteOrBackslash is U+005C (\), then: + if (quoteOrBackslash === '\\') { + // 1. If position is past the end of input, then append + // U+005C (\) to value and break. + if (position.position >= input.length) { + value += '\\' + break + } + + // 2. Append the code point at position within input to value. + value += input[position.position] + + // 3. Advance position by 1. + position.position++ + + // 6. Otherwise: + } else { + // 1. Assert: quoteOrBackslash is U+0022 ("). + assert(quoteOrBackslash === '"') + + // 2. Break. + break + } + } + + // 6. If the extract-value flag is set, then return value. + if (extractValue) { + return value + } + + // 7. Return the code points from positionStart to position, + // inclusive, within input. + return input.slice(positionStart, position.position) +} + +/** + * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type + */ +function serializeAMimeType (mimeType) { + assert(mimeType !== 'failure') + const { parameters, essence } = mimeType + + // 1. Let serialization be the concatenation of mimeType’s + // type, U+002F (/), and mimeType’s subtype. + let serialization = essence + + // 2. For each name → value of mimeType’s parameters: + for (let [name, value] of parameters.entries()) { + // 1. Append U+003B (;) to serialization. + serialization += ';' + + // 2. Append name to serialization. + serialization += name + + // 3. Append U+003D (=) to serialization. + serialization += '=' + + // 4. If value does not solely contain HTTP token code + // points or value is the empty string, then: + if (!HTTP_TOKEN_CODEPOINTS.test(value)) { + // 1. Precede each occurence of U+0022 (") or + // U+005C (\) in value with U+005C (\). + value = value.replace(/(\\|")/g, '\\$1') + + // 2. Prepend U+0022 (") to value. + value = '"' + value + + // 3. Append U+0022 (") to value. + value += '"' + } + + // 5. Append value to serialization. + serialization += value + } + + // 3. Return serialization. + return serialization +} + +/** + * @see https://fetch.spec.whatwg.org/#http-whitespace + * @param {string} char + */ +function isHTTPWhiteSpace (char) { + return char === '\r' || char === '\n' || char === '\t' || char === ' ' +} + +/** + * @see https://fetch.spec.whatwg.org/#http-whitespace + * @param {string} str + */ +function removeHTTPWhitespace (str, leading = true, trailing = true) { + let lead = 0 + let trail = str.length - 1 + + if (leading) { + for (; lead < str.length && isHTTPWhiteSpace(str[lead]); lead++); + } + + if (trailing) { + for (; trail > 0 && isHTTPWhiteSpace(str[trail]); trail--); + } + + return str.slice(lead, trail + 1) +} + +/** + * @see https://infra.spec.whatwg.org/#ascii-whitespace + * @param {string} char + */ +function isASCIIWhitespace (char) { + return char === '\r' || char === '\n' || char === '\t' || char === '\f' || char === ' ' +} + +/** + * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace + */ +function removeASCIIWhitespace (str, leading = true, trailing = true) { + let lead = 0 + let trail = str.length - 1 + + if (leading) { + for (; lead < str.length && isASCIIWhitespace(str[lead]); lead++); + } + + if (trailing) { + for (; trail > 0 && isASCIIWhitespace(str[trail]); trail--); + } + + return str.slice(lead, trail + 1) +} + +module.exports = { + dataURLProcessor, + URLSerializer, + collectASequenceOfCodePoints, + collectASequenceOfCodePointsFast, + stringPercentDecode, + parseMIMEType, + collectAnHTTPQuotedString, + serializeAMimeType +} + + +/***/ }), + +/***/ 8511: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { Blob, File: NativeFile } = __nccwpck_require__(4300) +const { types } = __nccwpck_require__(3837) +const { kState } = __nccwpck_require__(5861) +const { isBlobLike } = __nccwpck_require__(2538) +const { webidl } = __nccwpck_require__(1744) +const { parseMIMEType, serializeAMimeType } = __nccwpck_require__(685) +const { kEnumerableProperty } = __nccwpck_require__(3983) +const encoder = new TextEncoder() + +class File extends Blob { + constructor (fileBits, fileName, options = {}) { + // The File constructor is invoked with two or three parameters, depending + // on whether the optional dictionary parameter is used. When the File() + // constructor is invoked, user agents must run the following steps: + webidl.argumentLengthCheck(arguments, 2, { header: 'File constructor' }) + + fileBits = webidl.converters['sequence'](fileBits) + fileName = webidl.converters.USVString(fileName) + options = webidl.converters.FilePropertyBag(options) + + // 1. Let bytes be the result of processing blob parts given fileBits and + // options. + // Note: Blob handles this for us + + // 2. Let n be the fileName argument to the constructor. + const n = fileName + + // 3. Process FilePropertyBag dictionary argument by running the following + // substeps: + + // 1. If the type member is provided and is not the empty string, let t + // be set to the type dictionary member. If t contains any characters + // outside the range U+0020 to U+007E, then set t to the empty string + // and return from these substeps. + // 2. Convert every character in t to ASCII lowercase. + let t = options.type + let d + + // eslint-disable-next-line no-labels + substep: { + if (t) { + t = parseMIMEType(t) + + if (t === 'failure') { + t = '' + // eslint-disable-next-line no-labels + break substep + } + + t = serializeAMimeType(t).toLowerCase() + } + + // 3. If the lastModified member is provided, let d be set to the + // lastModified dictionary member. If it is not provided, set d to the + // current date and time represented as the number of milliseconds since + // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]). + d = options.lastModified + } + + // 4. Return a new File object F such that: + // F refers to the bytes byte sequence. + // F.size is set to the number of total bytes in bytes. + // F.name is set to n. + // F.type is set to t. + // F.lastModified is set to d. + + super(processBlobParts(fileBits, options), { type: t }) + this[kState] = { + name: n, + lastModified: d, + type: t + } + } + + get name () { + webidl.brandCheck(this, File) + + return this[kState].name + } + + get lastModified () { + webidl.brandCheck(this, File) + + return this[kState].lastModified + } + + get type () { + webidl.brandCheck(this, File) + + return this[kState].type + } +} + +class FileLike { + constructor (blobLike, fileName, options = {}) { + // TODO: argument idl type check + + // The File constructor is invoked with two or three parameters, depending + // on whether the optional dictionary parameter is used. When the File() + // constructor is invoked, user agents must run the following steps: + + // 1. Let bytes be the result of processing blob parts given fileBits and + // options. + + // 2. Let n be the fileName argument to the constructor. + const n = fileName + + // 3. Process FilePropertyBag dictionary argument by running the following + // substeps: + + // 1. If the type member is provided and is not the empty string, let t + // be set to the type dictionary member. If t contains any characters + // outside the range U+0020 to U+007E, then set t to the empty string + // and return from these substeps. + // TODO + const t = options.type + + // 2. Convert every character in t to ASCII lowercase. + // TODO + + // 3. If the lastModified member is provided, let d be set to the + // lastModified dictionary member. If it is not provided, set d to the + // current date and time represented as the number of milliseconds since + // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]). + const d = options.lastModified ?? Date.now() + + // 4. Return a new File object F such that: + // F refers to the bytes byte sequence. + // F.size is set to the number of total bytes in bytes. + // F.name is set to n. + // F.type is set to t. + // F.lastModified is set to d. + + this[kState] = { + blobLike, + name: n, + type: t, + lastModified: d + } + } + + stream (...args) { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.stream(...args) + } + + arrayBuffer (...args) { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.arrayBuffer(...args) + } + + slice (...args) { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.slice(...args) + } + + text (...args) { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.text(...args) + } + + get size () { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.size + } + + get type () { + webidl.brandCheck(this, FileLike) + + return this[kState].blobLike.type + } + + get name () { + webidl.brandCheck(this, FileLike) + + return this[kState].name + } + + get lastModified () { + webidl.brandCheck(this, FileLike) + + return this[kState].lastModified + } + + get [Symbol.toStringTag] () { + return 'File' + } +} + +Object.defineProperties(File.prototype, { + [Symbol.toStringTag]: { + value: 'File', + configurable: true + }, + name: kEnumerableProperty, + lastModified: kEnumerableProperty +}) + +webidl.converters.Blob = webidl.interfaceConverter(Blob) + +webidl.converters.BlobPart = function (V, opts) { + if (webidl.util.Type(V) === 'Object') { + if (isBlobLike(V)) { + return webidl.converters.Blob(V, { strict: false }) + } + + if ( + ArrayBuffer.isView(V) || + types.isAnyArrayBuffer(V) + ) { + return webidl.converters.BufferSource(V, opts) + } + } + + return webidl.converters.USVString(V, opts) +} + +webidl.converters['sequence'] = webidl.sequenceConverter( + webidl.converters.BlobPart +) + +// https://www.w3.org/TR/FileAPI/#dfn-FilePropertyBag +webidl.converters.FilePropertyBag = webidl.dictionaryConverter([ + { + key: 'lastModified', + converter: webidl.converters['long long'], + get defaultValue () { + return Date.now() + } + }, + { + key: 'type', + converter: webidl.converters.DOMString, + defaultValue: '' + }, + { + key: 'endings', + converter: (value) => { + value = webidl.converters.DOMString(value) + value = value.toLowerCase() + + if (value !== 'native') { + value = 'transparent' + } + + return value + }, + defaultValue: 'transparent' + } +]) + +/** + * @see https://www.w3.org/TR/FileAPI/#process-blob-parts + * @param {(NodeJS.TypedArray|Blob|string)[]} parts + * @param {{ type: string, endings: string }} options + */ +function processBlobParts (parts, options) { + // 1. Let bytes be an empty sequence of bytes. + /** @type {NodeJS.TypedArray[]} */ + const bytes = [] + + // 2. For each element in parts: + for (const element of parts) { + // 1. If element is a USVString, run the following substeps: + if (typeof element === 'string') { + // 1. Let s be element. + let s = element + + // 2. If the endings member of options is "native", set s + // to the result of converting line endings to native + // of element. + if (options.endings === 'native') { + s = convertLineEndingsNative(s) + } + + // 3. Append the result of UTF-8 encoding s to bytes. + bytes.push(encoder.encode(s)) + } else if ( + types.isAnyArrayBuffer(element) || + types.isTypedArray(element) + ) { + // 2. If element is a BufferSource, get a copy of the + // bytes held by the buffer source, and append those + // bytes to bytes. + if (!element.buffer) { // ArrayBuffer + bytes.push(new Uint8Array(element)) + } else { + bytes.push( + new Uint8Array(element.buffer, element.byteOffset, element.byteLength) + ) + } + } else if (isBlobLike(element)) { + // 3. If element is a Blob, append the bytes it represents + // to bytes. + bytes.push(element) + } + } + + // 3. Return bytes. + return bytes +} + +/** + * @see https://www.w3.org/TR/FileAPI/#convert-line-endings-to-native + * @param {string} s + */ +function convertLineEndingsNative (s) { + // 1. Let native line ending be be the code point U+000A LF. + let nativeLineEnding = '\n' + + // 2. If the underlying platform’s conventions are to + // represent newlines as a carriage return and line feed + // sequence, set native line ending to the code point + // U+000D CR followed by the code point U+000A LF. + if (process.platform === 'win32') { + nativeLineEnding = '\r\n' + } + + return s.replace(/\r?\n/g, nativeLineEnding) +} + +// If this function is moved to ./util.js, some tools (such as +// rollup) will warn about circular dependencies. See: +// https://github.com/nodejs/undici/issues/1629 +function isFileLike (object) { + return ( + (NativeFile && object instanceof NativeFile) || + object instanceof File || ( + object && + (typeof object.stream === 'function' || + typeof object.arrayBuffer === 'function') && + object[Symbol.toStringTag] === 'File' + ) + ) +} + +module.exports = { File, FileLike, isFileLike } + + +/***/ }), + +/***/ 2015: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { isBlobLike, toUSVString, makeIterator } = __nccwpck_require__(2538) +const { kState } = __nccwpck_require__(5861) +const { File: UndiciFile, FileLike, isFileLike } = __nccwpck_require__(8511) +const { webidl } = __nccwpck_require__(1744) +const { Blob, File: NativeFile } = __nccwpck_require__(4300) + +/** @type {globalThis['File']} */ +const File = NativeFile ?? UndiciFile + +// https://xhr.spec.whatwg.org/#formdata +class FormData { + constructor (form) { + if (form !== undefined) { + throw webidl.errors.conversionFailed({ + prefix: 'FormData constructor', + argument: 'Argument 1', + types: ['undefined'] + }) + } + + this[kState] = [] + } + + append (name, value, filename = undefined) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 2, { header: 'FormData.append' }) + + if (arguments.length === 3 && !isBlobLike(value)) { + throw new TypeError( + "Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'" + ) + } + + // 1. Let value be value if given; otherwise blobValue. + + name = webidl.converters.USVString(name) + value = isBlobLike(value) + ? webidl.converters.Blob(value, { strict: false }) + : webidl.converters.USVString(value) + filename = arguments.length === 3 + ? webidl.converters.USVString(filename) + : undefined + + // 2. Let entry be the result of creating an entry with + // name, value, and filename if given. + const entry = makeEntry(name, value, filename) + + // 3. Append entry to this’s entry list. + this[kState].push(entry) + } + + delete (name) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.delete' }) + + name = webidl.converters.USVString(name) + + // The delete(name) method steps are to remove all entries whose name + // is name from this’s entry list. + this[kState] = this[kState].filter(entry => entry.name !== name) + } + + get (name) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.get' }) + + name = webidl.converters.USVString(name) + + // 1. If there is no entry whose name is name in this’s entry list, + // then return null. + const idx = this[kState].findIndex((entry) => entry.name === name) + if (idx === -1) { + return null + } + + // 2. Return the value of the first entry whose name is name from + // this’s entry list. + return this[kState][idx].value + } + + getAll (name) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.getAll' }) + + name = webidl.converters.USVString(name) + + // 1. If there is no entry whose name is name in this’s entry list, + // then return the empty list. + // 2. Return the values of all entries whose name is name, in order, + // from this’s entry list. + return this[kState] + .filter((entry) => entry.name === name) + .map((entry) => entry.value) + } + + has (name) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.has' }) + + name = webidl.converters.USVString(name) + + // The has(name) method steps are to return true if there is an entry + // whose name is name in this’s entry list; otherwise false. + return this[kState].findIndex((entry) => entry.name === name) !== -1 + } + + set (name, value, filename = undefined) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 2, { header: 'FormData.set' }) + + if (arguments.length === 3 && !isBlobLike(value)) { + throw new TypeError( + "Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'" + ) + } + + // The set(name, value) and set(name, blobValue, filename) method steps + // are: + + // 1. Let value be value if given; otherwise blobValue. + + name = webidl.converters.USVString(name) + value = isBlobLike(value) + ? webidl.converters.Blob(value, { strict: false }) + : webidl.converters.USVString(value) + filename = arguments.length === 3 + ? toUSVString(filename) + : undefined + + // 2. Let entry be the result of creating an entry with name, value, and + // filename if given. + const entry = makeEntry(name, value, filename) + + // 3. If there are entries in this’s entry list whose name is name, then + // replace the first such entry with entry and remove the others. + const idx = this[kState].findIndex((entry) => entry.name === name) + if (idx !== -1) { + this[kState] = [ + ...this[kState].slice(0, idx), + entry, + ...this[kState].slice(idx + 1).filter((entry) => entry.name !== name) + ] + } else { + // 4. Otherwise, append entry to this’s entry list. + this[kState].push(entry) + } + } + + entries () { + webidl.brandCheck(this, FormData) + + return makeIterator( + () => this[kState].map(pair => [pair.name, pair.value]), + 'FormData', + 'key+value' + ) + } + + keys () { + webidl.brandCheck(this, FormData) + + return makeIterator( + () => this[kState].map(pair => [pair.name, pair.value]), + 'FormData', + 'key' + ) + } + + values () { + webidl.brandCheck(this, FormData) + + return makeIterator( + () => this[kState].map(pair => [pair.name, pair.value]), + 'FormData', + 'value' + ) + } + + /** + * @param {(value: string, key: string, self: FormData) => void} callbackFn + * @param {unknown} thisArg + */ + forEach (callbackFn, thisArg = globalThis) { + webidl.brandCheck(this, FormData) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FormData.forEach' }) + + if (typeof callbackFn !== 'function') { + throw new TypeError( + "Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'." + ) + } + + for (const [key, value] of this) { + callbackFn.apply(thisArg, [value, key, this]) + } + } +} + +FormData.prototype[Symbol.iterator] = FormData.prototype.entries + +Object.defineProperties(FormData.prototype, { + [Symbol.toStringTag]: { + value: 'FormData', + configurable: true + } +}) + +/** + * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry + * @param {string} name + * @param {string|Blob} value + * @param {?string} filename + * @returns + */ +function makeEntry (name, value, filename) { + // 1. Set name to the result of converting name into a scalar value string. + // "To convert a string into a scalar value string, replace any surrogates + // with U+FFFD." + // see: https://nodejs.org/dist/latest-v18.x/docs/api/buffer.html#buftostringencoding-start-end + name = Buffer.from(name).toString('utf8') + + // 2. If value is a string, then set value to the result of converting + // value into a scalar value string. + if (typeof value === 'string') { + value = Buffer.from(value).toString('utf8') + } else { + // 3. Otherwise: + + // 1. If value is not a File object, then set value to a new File object, + // representing the same bytes, whose name attribute value is "blob" + if (!isFileLike(value)) { + value = value instanceof Blob + ? new File([value], 'blob', { type: value.type }) + : new FileLike(value, 'blob', { type: value.type }) + } + + // 2. If filename is given, then set value to a new File object, + // representing the same bytes, whose name attribute is filename. + if (filename !== undefined) { + /** @type {FilePropertyBag} */ + const options = { + type: value.type, + lastModified: value.lastModified + } + + value = (NativeFile && value instanceof NativeFile) || value instanceof UndiciFile + ? new File([value], filename, options) + : new FileLike(value, filename, options) + } + } + + // 4. Return an entry whose name is name and whose value is value. + return { name, value } +} + +module.exports = { FormData } + + +/***/ }), + +/***/ 1246: +/***/ ((module) => { + +"use strict"; + + +// In case of breaking changes, increase the version +// number to avoid conflicts. +const globalOrigin = Symbol.for('undici.globalOrigin.1') + +function getGlobalOrigin () { + return globalThis[globalOrigin] +} + +function setGlobalOrigin (newOrigin) { + if (newOrigin === undefined) { + Object.defineProperty(globalThis, globalOrigin, { + value: undefined, + writable: true, + enumerable: false, + configurable: false + }) + + return + } + + const parsedURL = new URL(newOrigin) + + if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') { + throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`) + } + + Object.defineProperty(globalThis, globalOrigin, { + value: parsedURL, + writable: true, + enumerable: false, + configurable: false + }) +} + +module.exports = { + getGlobalOrigin, + setGlobalOrigin +} + + +/***/ }), + +/***/ 554: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// https://github.com/Ethan-Arrowood/undici-fetch + + + +const { kHeadersList, kConstruct } = __nccwpck_require__(2785) +const { kGuard } = __nccwpck_require__(5861) +const { kEnumerableProperty } = __nccwpck_require__(3983) +const { + makeIterator, + isValidHeaderName, + isValidHeaderValue +} = __nccwpck_require__(2538) +const { webidl } = __nccwpck_require__(1744) +const assert = __nccwpck_require__(9491) + +const kHeadersMap = Symbol('headers map') +const kHeadersSortedMap = Symbol('headers map sorted') + +/** + * @param {number} code + */ +function isHTTPWhiteSpaceCharCode (code) { + return code === 0x00a || code === 0x00d || code === 0x009 || code === 0x020 +} + +/** + * @see https://fetch.spec.whatwg.org/#concept-header-value-normalize + * @param {string} potentialValue + */ +function headerValueNormalize (potentialValue) { + // To normalize a byte sequence potentialValue, remove + // any leading and trailing HTTP whitespace bytes from + // potentialValue. + let i = 0; let j = potentialValue.length + + while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1))) --j + while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i))) ++i + + return i === 0 && j === potentialValue.length ? potentialValue : potentialValue.substring(i, j) +} + +function fill (headers, object) { + // To fill a Headers object headers with a given object object, run these steps: + + // 1. If object is a sequence, then for each header in object: + // Note: webidl conversion to array has already been done. + if (Array.isArray(object)) { + for (let i = 0; i < object.length; ++i) { + const header = object[i] + // 1. If header does not contain exactly two items, then throw a TypeError. + if (header.length !== 2) { + throw webidl.errors.exception({ + header: 'Headers constructor', + message: `expected name/value pair to be length 2, found ${header.length}.` + }) + } + + // 2. Append (header’s first item, header’s second item) to headers. + appendHeader(headers, header[0], header[1]) + } + } else if (typeof object === 'object' && object !== null) { + // Note: null should throw + + // 2. Otherwise, object is a record, then for each key → value in object, + // append (key, value) to headers + const keys = Object.keys(object) + for (let i = 0; i < keys.length; ++i) { + appendHeader(headers, keys[i], object[keys[i]]) + } + } else { + throw webidl.errors.conversionFailed({ + prefix: 'Headers constructor', + argument: 'Argument 1', + types: ['sequence>', 'record'] + }) + } +} + +/** + * @see https://fetch.spec.whatwg.org/#concept-headers-append + */ +function appendHeader (headers, name, value) { + // 1. Normalize value. + value = headerValueNormalize(value) + + // 2. If name is not a header name or value is not a + // header value, then throw a TypeError. + if (!isValidHeaderName(name)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.append', + value: name, + type: 'header name' + }) + } else if (!isValidHeaderValue(value)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.append', + value, + type: 'header value' + }) + } + + // 3. If headers’s guard is "immutable", then throw a TypeError. + // 4. Otherwise, if headers’s guard is "request" and name is a + // forbidden header name, return. + // Note: undici does not implement forbidden header names + if (headers[kGuard] === 'immutable') { + throw new TypeError('immutable') + } else if (headers[kGuard] === 'request-no-cors') { + // 5. Otherwise, if headers’s guard is "request-no-cors": + // TODO + } + + // 6. Otherwise, if headers’s guard is "response" and name is a + // forbidden response-header name, return. + + // 7. Append (name, value) to headers’s header list. + return headers[kHeadersList].append(name, value) + + // 8. If headers’s guard is "request-no-cors", then remove + // privileged no-CORS request headers from headers +} + +class HeadersList { + /** @type {[string, string][]|null} */ + cookies = null + + constructor (init) { + if (init instanceof HeadersList) { + this[kHeadersMap] = new Map(init[kHeadersMap]) + this[kHeadersSortedMap] = init[kHeadersSortedMap] + this.cookies = init.cookies === null ? null : [...init.cookies] + } else { + this[kHeadersMap] = new Map(init) + this[kHeadersSortedMap] = null + } + } + + // https://fetch.spec.whatwg.org/#header-list-contains + contains (name) { + // A header list list contains a header name name if list + // contains a header whose name is a byte-case-insensitive + // match for name. + name = name.toLowerCase() + + return this[kHeadersMap].has(name) + } + + clear () { + this[kHeadersMap].clear() + this[kHeadersSortedMap] = null + this.cookies = null + } + + // https://fetch.spec.whatwg.org/#concept-header-list-append + append (name, value) { + this[kHeadersSortedMap] = null + + // 1. If list contains name, then set name to the first such + // header’s name. + const lowercaseName = name.toLowerCase() + const exists = this[kHeadersMap].get(lowercaseName) + + // 2. Append (name, value) to list. + if (exists) { + const delimiter = lowercaseName === 'cookie' ? '; ' : ', ' + this[kHeadersMap].set(lowercaseName, { + name: exists.name, + value: `${exists.value}${delimiter}${value}` + }) + } else { + this[kHeadersMap].set(lowercaseName, { name, value }) + } + + if (lowercaseName === 'set-cookie') { + this.cookies ??= [] + this.cookies.push(value) + } + } + + // https://fetch.spec.whatwg.org/#concept-header-list-set + set (name, value) { + this[kHeadersSortedMap] = null + const lowercaseName = name.toLowerCase() + + if (lowercaseName === 'set-cookie') { + this.cookies = [value] + } + + // 1. If list contains name, then set the value of + // the first such header to value and remove the + // others. + // 2. Otherwise, append header (name, value) to list. + this[kHeadersMap].set(lowercaseName, { name, value }) + } + + // https://fetch.spec.whatwg.org/#concept-header-list-delete + delete (name) { + this[kHeadersSortedMap] = null + + name = name.toLowerCase() + + if (name === 'set-cookie') { + this.cookies = null + } + + this[kHeadersMap].delete(name) + } + + // https://fetch.spec.whatwg.org/#concept-header-list-get + get (name) { + const value = this[kHeadersMap].get(name.toLowerCase()) + + // 1. If list does not contain name, then return null. + // 2. Return the values of all headers in list whose name + // is a byte-case-insensitive match for name, + // separated from each other by 0x2C 0x20, in order. + return value === undefined ? null : value.value + } + + * [Symbol.iterator] () { + // use the lowercased name + for (const [name, { value }] of this[kHeadersMap]) { + yield [name, value] + } + } + + get entries () { + const headers = {} + + if (this[kHeadersMap].size) { + for (const { name, value } of this[kHeadersMap].values()) { + headers[name] = value + } + } + + return headers + } +} + +// https://fetch.spec.whatwg.org/#headers-class +class Headers { + constructor (init = undefined) { + if (init === kConstruct) { + return + } + this[kHeadersList] = new HeadersList() + + // The new Headers(init) constructor steps are: + + // 1. Set this’s guard to "none". + this[kGuard] = 'none' + + // 2. If init is given, then fill this with init. + if (init !== undefined) { + init = webidl.converters.HeadersInit(init) + fill(this, init) + } + } + + // https://fetch.spec.whatwg.org/#dom-headers-append + append (name, value) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 2, { header: 'Headers.append' }) + + name = webidl.converters.ByteString(name) + value = webidl.converters.ByteString(value) + + return appendHeader(this, name, value) + } + + // https://fetch.spec.whatwg.org/#dom-headers-delete + delete (name) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 1, { header: 'Headers.delete' }) + + name = webidl.converters.ByteString(name) + + // 1. If name is not a header name, then throw a TypeError. + if (!isValidHeaderName(name)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.delete', + value: name, + type: 'header name' + }) + } + + // 2. If this’s guard is "immutable", then throw a TypeError. + // 3. Otherwise, if this’s guard is "request" and name is a + // forbidden header name, return. + // 4. Otherwise, if this’s guard is "request-no-cors", name + // is not a no-CORS-safelisted request-header name, and + // name is not a privileged no-CORS request-header name, + // return. + // 5. Otherwise, if this’s guard is "response" and name is + // a forbidden response-header name, return. + // Note: undici does not implement forbidden header names + if (this[kGuard] === 'immutable') { + throw new TypeError('immutable') + } else if (this[kGuard] === 'request-no-cors') { + // TODO + } + + // 6. If this’s header list does not contain name, then + // return. + if (!this[kHeadersList].contains(name)) { + return + } + + // 7. Delete name from this’s header list. + // 8. If this’s guard is "request-no-cors", then remove + // privileged no-CORS request headers from this. + this[kHeadersList].delete(name) + } + + // https://fetch.spec.whatwg.org/#dom-headers-get + get (name) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 1, { header: 'Headers.get' }) + + name = webidl.converters.ByteString(name) + + // 1. If name is not a header name, then throw a TypeError. + if (!isValidHeaderName(name)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.get', + value: name, + type: 'header name' + }) + } + + // 2. Return the result of getting name from this’s header + // list. + return this[kHeadersList].get(name) + } + + // https://fetch.spec.whatwg.org/#dom-headers-has + has (name) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 1, { header: 'Headers.has' }) + + name = webidl.converters.ByteString(name) + + // 1. If name is not a header name, then throw a TypeError. + if (!isValidHeaderName(name)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.has', + value: name, + type: 'header name' + }) + } + + // 2. Return true if this’s header list contains name; + // otherwise false. + return this[kHeadersList].contains(name) + } + + // https://fetch.spec.whatwg.org/#dom-headers-set + set (name, value) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 2, { header: 'Headers.set' }) + + name = webidl.converters.ByteString(name) + value = webidl.converters.ByteString(value) + + // 1. Normalize value. + value = headerValueNormalize(value) + + // 2. If name is not a header name or value is not a + // header value, then throw a TypeError. + if (!isValidHeaderName(name)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.set', + value: name, + type: 'header name' + }) + } else if (!isValidHeaderValue(value)) { + throw webidl.errors.invalidArgument({ + prefix: 'Headers.set', + value, + type: 'header value' + }) + } + + // 3. If this’s guard is "immutable", then throw a TypeError. + // 4. Otherwise, if this’s guard is "request" and name is a + // forbidden header name, return. + // 5. Otherwise, if this’s guard is "request-no-cors" and + // name/value is not a no-CORS-safelisted request-header, + // return. + // 6. Otherwise, if this’s guard is "response" and name is a + // forbidden response-header name, return. + // Note: undici does not implement forbidden header names + if (this[kGuard] === 'immutable') { + throw new TypeError('immutable') + } else if (this[kGuard] === 'request-no-cors') { + // TODO + } + + // 7. Set (name, value) in this’s header list. + // 8. If this’s guard is "request-no-cors", then remove + // privileged no-CORS request headers from this + this[kHeadersList].set(name, value) + } + + // https://fetch.spec.whatwg.org/#dom-headers-getsetcookie + getSetCookie () { + webidl.brandCheck(this, Headers) + + // 1. If this’s header list does not contain `Set-Cookie`, then return « ». + // 2. Return the values of all headers in this’s header list whose name is + // a byte-case-insensitive match for `Set-Cookie`, in order. + + const list = this[kHeadersList].cookies + + if (list) { + return [...list] + } + + return [] + } + + // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine + get [kHeadersSortedMap] () { + if (this[kHeadersList][kHeadersSortedMap]) { + return this[kHeadersList][kHeadersSortedMap] + } + + // 1. Let headers be an empty list of headers with the key being the name + // and value the value. + const headers = [] + + // 2. Let names be the result of convert header names to a sorted-lowercase + // set with all the names of the headers in list. + const names = [...this[kHeadersList]].sort((a, b) => a[0] < b[0] ? -1 : 1) + const cookies = this[kHeadersList].cookies + + // 3. For each name of names: + for (let i = 0; i < names.length; ++i) { + const [name, value] = names[i] + // 1. If name is `set-cookie`, then: + if (name === 'set-cookie') { + // 1. Let values be a list of all values of headers in list whose name + // is a byte-case-insensitive match for name, in order. + + // 2. For each value of values: + // 1. Append (name, value) to headers. + for (let j = 0; j < cookies.length; ++j) { + headers.push([name, cookies[j]]) + } + } else { + // 2. Otherwise: + + // 1. Let value be the result of getting name from list. + + // 2. Assert: value is non-null. + assert(value !== null) + + // 3. Append (name, value) to headers. + headers.push([name, value]) + } + } + + this[kHeadersList][kHeadersSortedMap] = headers + + // 4. Return headers. + return headers + } + + keys () { + webidl.brandCheck(this, Headers) + + if (this[kGuard] === 'immutable') { + const value = this[kHeadersSortedMap] + return makeIterator(() => value, 'Headers', + 'key') + } + + return makeIterator( + () => [...this[kHeadersSortedMap].values()], + 'Headers', + 'key' + ) + } + + values () { + webidl.brandCheck(this, Headers) + + if (this[kGuard] === 'immutable') { + const value = this[kHeadersSortedMap] + return makeIterator(() => value, 'Headers', + 'value') + } + + return makeIterator( + () => [...this[kHeadersSortedMap].values()], + 'Headers', + 'value' + ) + } + + entries () { + webidl.brandCheck(this, Headers) + + if (this[kGuard] === 'immutable') { + const value = this[kHeadersSortedMap] + return makeIterator(() => value, 'Headers', + 'key+value') + } + + return makeIterator( + () => [...this[kHeadersSortedMap].values()], + 'Headers', + 'key+value' + ) + } + + /** + * @param {(value: string, key: string, self: Headers) => void} callbackFn + * @param {unknown} thisArg + */ + forEach (callbackFn, thisArg = globalThis) { + webidl.brandCheck(this, Headers) + + webidl.argumentLengthCheck(arguments, 1, { header: 'Headers.forEach' }) + + if (typeof callbackFn !== 'function') { + throw new TypeError( + "Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'." + ) + } + + for (const [key, value] of this) { + callbackFn.apply(thisArg, [value, key, this]) + } + } + + [Symbol.for('nodejs.util.inspect.custom')] () { + webidl.brandCheck(this, Headers) + + return this[kHeadersList] + } +} + +Headers.prototype[Symbol.iterator] = Headers.prototype.entries + +Object.defineProperties(Headers.prototype, { + append: kEnumerableProperty, + delete: kEnumerableProperty, + get: kEnumerableProperty, + has: kEnumerableProperty, + set: kEnumerableProperty, + getSetCookie: kEnumerableProperty, + keys: kEnumerableProperty, + values: kEnumerableProperty, + entries: kEnumerableProperty, + forEach: kEnumerableProperty, + [Symbol.iterator]: { enumerable: false }, + [Symbol.toStringTag]: { + value: 'Headers', + configurable: true + } +}) + +webidl.converters.HeadersInit = function (V) { + if (webidl.util.Type(V) === 'Object') { + if (V[Symbol.iterator]) { + return webidl.converters['sequence>'](V) + } + + return webidl.converters['record'](V) + } + + throw webidl.errors.conversionFailed({ + prefix: 'Headers constructor', + argument: 'Argument 1', + types: ['sequence>', 'record'] + }) +} + +module.exports = { + fill, + Headers, + HeadersList +} + + +/***/ }), + +/***/ 4881: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +// https://github.com/Ethan-Arrowood/undici-fetch + + + +const { + Response, + makeNetworkError, + makeAppropriateNetworkError, + filterResponse, + makeResponse +} = __nccwpck_require__(7823) +const { Headers } = __nccwpck_require__(554) +const { Request, makeRequest } = __nccwpck_require__(8359) +const zlib = __nccwpck_require__(9796) +const { + bytesMatch, + makePolicyContainer, + clonePolicyContainer, + requestBadPort, + TAOCheck, + appendRequestOriginHeader, + responseLocationURL, + requestCurrentURL, + setRequestReferrerPolicyOnRedirect, + tryUpgradeRequestToAPotentiallyTrustworthyURL, + createOpaqueTimingInfo, + appendFetchMetadata, + corsCheck, + crossOriginResourcePolicyCheck, + determineRequestsReferrer, + coarsenedSharedCurrentTime, + createDeferredPromise, + isBlobLike, + sameOrigin, + isCancelled, + isAborted, + isErrorLike, + fullyReadBody, + readableStreamClose, + isomorphicEncode, + urlIsLocal, + urlIsHttpHttpsScheme, + urlHasHttpsScheme +} = __nccwpck_require__(2538) +const { kState, kHeaders, kGuard, kRealm } = __nccwpck_require__(5861) +const assert = __nccwpck_require__(9491) +const { safelyExtractBody } = __nccwpck_require__(1472) +const { + redirectStatusSet, + nullBodyStatus, + safeMethodsSet, + requestBodyHeader, + subresourceSet, + DOMException +} = __nccwpck_require__(1037) +const { kHeadersList } = __nccwpck_require__(2785) +const EE = __nccwpck_require__(2361) +const { Readable, pipeline } = __nccwpck_require__(2781) +const { addAbortListener, isErrored, isReadable, nodeMajor, nodeMinor } = __nccwpck_require__(3983) +const { dataURLProcessor, serializeAMimeType } = __nccwpck_require__(685) +const { TransformStream } = __nccwpck_require__(5356) +const { getGlobalDispatcher } = __nccwpck_require__(1892) +const { webidl } = __nccwpck_require__(1744) +const { STATUS_CODES } = __nccwpck_require__(3685) +const GET_OR_HEAD = ['GET', 'HEAD'] + +/** @type {import('buffer').resolveObjectURL} */ +let resolveObjectURL +let ReadableStream = globalThis.ReadableStream + +class Fetch extends EE { + constructor (dispatcher) { + super() + + this.dispatcher = dispatcher + this.connection = null + this.dump = false + this.state = 'ongoing' + // 2 terminated listeners get added per request, + // but only 1 gets removed. If there are 20 redirects, + // 21 listeners will be added. + // See https://github.com/nodejs/undici/issues/1711 + // TODO (fix): Find and fix root cause for leaked listener. + this.setMaxListeners(21) + } + + terminate (reason) { + if (this.state !== 'ongoing') { + return + } + + this.state = 'terminated' + this.connection?.destroy(reason) + this.emit('terminated', reason) + } + + // https://fetch.spec.whatwg.org/#fetch-controller-abort + abort (error) { + if (this.state !== 'ongoing') { + return + } + + // 1. Set controller’s state to "aborted". + this.state = 'aborted' + + // 2. Let fallbackError be an "AbortError" DOMException. + // 3. Set error to fallbackError if it is not given. + if (!error) { + error = new DOMException('The operation was aborted.', 'AbortError') + } + + // 4. Let serializedError be StructuredSerialize(error). + // If that threw an exception, catch it, and let + // serializedError be StructuredSerialize(fallbackError). + + // 5. Set controller’s serialized abort reason to serializedError. + this.serializedAbortReason = error + + this.connection?.destroy(error) + this.emit('terminated', error) + } +} + +// https://fetch.spec.whatwg.org/#fetch-method +function fetch (input, init = {}) { + webidl.argumentLengthCheck(arguments, 1, { header: 'globalThis.fetch' }) + + // 1. Let p be a new promise. + const p = createDeferredPromise() + + // 2. Let requestObject be the result of invoking the initial value of + // Request as constructor with input and init as arguments. If this throws + // an exception, reject p with it and return p. + let requestObject + + try { + requestObject = new Request(input, init) + } catch (e) { + p.reject(e) + return p.promise + } + + // 3. Let request be requestObject’s request. + const request = requestObject[kState] + + // 4. If requestObject’s signal’s aborted flag is set, then: + if (requestObject.signal.aborted) { + // 1. Abort the fetch() call with p, request, null, and + // requestObject’s signal’s abort reason. + abortFetch(p, request, null, requestObject.signal.reason) + + // 2. Return p. + return p.promise + } + + // 5. Let globalObject be request’s client’s global object. + const globalObject = request.client.globalObject + + // 6. If globalObject is a ServiceWorkerGlobalScope object, then set + // request’s service-workers mode to "none". + if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') { + request.serviceWorkers = 'none' + } + + // 7. Let responseObject be null. + let responseObject = null + + // 8. Let relevantRealm be this’s relevant Realm. + const relevantRealm = null + + // 9. Let locallyAborted be false. + let locallyAborted = false + + // 10. Let controller be null. + let controller = null + + // 11. Add the following abort steps to requestObject’s signal: + addAbortListener( + requestObject.signal, + () => { + // 1. Set locallyAborted to true. + locallyAborted = true + + // 2. Assert: controller is non-null. + assert(controller != null) + + // 3. Abort controller with requestObject’s signal’s abort reason. + controller.abort(requestObject.signal.reason) + + // 4. Abort the fetch() call with p, request, responseObject, + // and requestObject’s signal’s abort reason. + abortFetch(p, request, responseObject, requestObject.signal.reason) + } + ) + + // 12. Let handleFetchDone given response response be to finalize and + // report timing with response, globalObject, and "fetch". + const handleFetchDone = (response) => + finalizeAndReportTiming(response, 'fetch') + + // 13. Set controller to the result of calling fetch given request, + // with processResponseEndOfBody set to handleFetchDone, and processResponse + // given response being these substeps: + + const processResponse = (response) => { + // 1. If locallyAborted is true, terminate these substeps. + if (locallyAborted) { + return Promise.resolve() + } + + // 2. If response’s aborted flag is set, then: + if (response.aborted) { + // 1. Let deserializedError be the result of deserialize a serialized + // abort reason given controller’s serialized abort reason and + // relevantRealm. + + // 2. Abort the fetch() call with p, request, responseObject, and + // deserializedError. + + abortFetch(p, request, responseObject, controller.serializedAbortReason) + return Promise.resolve() + } + + // 3. If response is a network error, then reject p with a TypeError + // and terminate these substeps. + if (response.type === 'error') { + p.reject( + Object.assign(new TypeError('fetch failed'), { cause: response.error }) + ) + return Promise.resolve() + } + + // 4. Set responseObject to the result of creating a Response object, + // given response, "immutable", and relevantRealm. + responseObject = new Response() + responseObject[kState] = response + responseObject[kRealm] = relevantRealm + responseObject[kHeaders][kHeadersList] = response.headersList + responseObject[kHeaders][kGuard] = 'immutable' + responseObject[kHeaders][kRealm] = relevantRealm + + // 5. Resolve p with responseObject. + p.resolve(responseObject) + } + + controller = fetching({ + request, + processResponseEndOfBody: handleFetchDone, + processResponse, + dispatcher: init.dispatcher ?? getGlobalDispatcher() // undici + }) + + // 14. Return p. + return p.promise +} + +// https://fetch.spec.whatwg.org/#finalize-and-report-timing +function finalizeAndReportTiming (response, initiatorType = 'other') { + // 1. If response is an aborted network error, then return. + if (response.type === 'error' && response.aborted) { + return + } + + // 2. If response’s URL list is null or empty, then return. + if (!response.urlList?.length) { + return + } + + // 3. Let originalURL be response’s URL list[0]. + const originalURL = response.urlList[0] + + // 4. Let timingInfo be response’s timing info. + let timingInfo = response.timingInfo + + // 5. Let cacheState be response’s cache state. + let cacheState = response.cacheState + + // 6. If originalURL’s scheme is not an HTTP(S) scheme, then return. + if (!urlIsHttpHttpsScheme(originalURL)) { + return + } + + // 7. If timingInfo is null, then return. + if (timingInfo === null) { + return + } + + // 8. If response’s timing allow passed flag is not set, then: + if (!response.timingAllowPassed) { + // 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo. + timingInfo = createOpaqueTimingInfo({ + startTime: timingInfo.startTime + }) + + // 2. Set cacheState to the empty string. + cacheState = '' + } + + // 9. Set timingInfo’s end time to the coarsened shared current time + // given global’s relevant settings object’s cross-origin isolated + // capability. + // TODO: given global’s relevant settings object’s cross-origin isolated + // capability? + timingInfo.endTime = coarsenedSharedCurrentTime() + + // 10. Set response’s timing info to timingInfo. + response.timingInfo = timingInfo + + // 11. Mark resource timing for timingInfo, originalURL, initiatorType, + // global, and cacheState. + markResourceTiming( + timingInfo, + originalURL, + initiatorType, + globalThis, + cacheState + ) +} + +// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing +function markResourceTiming (timingInfo, originalURL, initiatorType, globalThis, cacheState) { + if (nodeMajor > 18 || (nodeMajor === 18 && nodeMinor >= 2)) { + performance.markResourceTiming(timingInfo, originalURL.href, initiatorType, globalThis, cacheState) + } +} + +// https://fetch.spec.whatwg.org/#abort-fetch +function abortFetch (p, request, responseObject, error) { + // Note: AbortSignal.reason was added in node v17.2.0 + // which would give us an undefined error to reject with. + // Remove this once node v16 is no longer supported. + if (!error) { + error = new DOMException('The operation was aborted.', 'AbortError') + } + + // 1. Reject promise with error. + p.reject(error) + + // 2. If request’s body is not null and is readable, then cancel request’s + // body with error. + if (request.body != null && isReadable(request.body?.stream)) { + request.body.stream.cancel(error).catch((err) => { + if (err.code === 'ERR_INVALID_STATE') { + // Node bug? + return + } + throw err + }) + } + + // 3. If responseObject is null, then return. + if (responseObject == null) { + return + } + + // 4. Let response be responseObject’s response. + const response = responseObject[kState] + + // 5. If response’s body is not null and is readable, then error response’s + // body with error. + if (response.body != null && isReadable(response.body?.stream)) { + response.body.stream.cancel(error).catch((err) => { + if (err.code === 'ERR_INVALID_STATE') { + // Node bug? + return + } + throw err + }) + } +} + +// https://fetch.spec.whatwg.org/#fetching +function fetching ({ + request, + processRequestBodyChunkLength, + processRequestEndOfBody, + processResponse, + processResponseEndOfBody, + processResponseConsumeBody, + useParallelQueue = false, + dispatcher // undici +}) { + // 1. Let taskDestination be null. + let taskDestination = null + + // 2. Let crossOriginIsolatedCapability be false. + let crossOriginIsolatedCapability = false + + // 3. If request’s client is non-null, then: + if (request.client != null) { + // 1. Set taskDestination to request’s client’s global object. + taskDestination = request.client.globalObject + + // 2. Set crossOriginIsolatedCapability to request’s client’s cross-origin + // isolated capability. + crossOriginIsolatedCapability = + request.client.crossOriginIsolatedCapability + } + + // 4. If useParallelQueue is true, then set taskDestination to the result of + // starting a new parallel queue. + // TODO + + // 5. Let timingInfo be a new fetch timing info whose start time and + // post-redirect start time are the coarsened shared current time given + // crossOriginIsolatedCapability. + const currenTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability) + const timingInfo = createOpaqueTimingInfo({ + startTime: currenTime + }) + + // 6. Let fetchParams be a new fetch params whose + // request is request, + // timing info is timingInfo, + // process request body chunk length is processRequestBodyChunkLength, + // process request end-of-body is processRequestEndOfBody, + // process response is processResponse, + // process response consume body is processResponseConsumeBody, + // process response end-of-body is processResponseEndOfBody, + // task destination is taskDestination, + // and cross-origin isolated capability is crossOriginIsolatedCapability. + const fetchParams = { + controller: new Fetch(dispatcher), + request, + timingInfo, + processRequestBodyChunkLength, + processRequestEndOfBody, + processResponse, + processResponseConsumeBody, + processResponseEndOfBody, + taskDestination, + crossOriginIsolatedCapability + } + + // 7. If request’s body is a byte sequence, then set request’s body to + // request’s body as a body. + // NOTE: Since fetching is only called from fetch, body should already be + // extracted. + assert(!request.body || request.body.stream) + + // 8. If request’s window is "client", then set request’s window to request’s + // client, if request’s client’s global object is a Window object; otherwise + // "no-window". + if (request.window === 'client') { + // TODO: What if request.client is null? + request.window = + request.client?.globalObject?.constructor?.name === 'Window' + ? request.client + : 'no-window' + } + + // 9. If request’s origin is "client", then set request’s origin to request’s + // client’s origin. + if (request.origin === 'client') { + // TODO: What if request.client is null? + request.origin = request.client?.origin + } + + // 10. If all of the following conditions are true: + // TODO + + // 11. If request’s policy container is "client", then: + if (request.policyContainer === 'client') { + // 1. If request’s client is non-null, then set request’s policy + // container to a clone of request’s client’s policy container. [HTML] + if (request.client != null) { + request.policyContainer = clonePolicyContainer( + request.client.policyContainer + ) + } else { + // 2. Otherwise, set request’s policy container to a new policy + // container. + request.policyContainer = makePolicyContainer() + } + } + + // 12. If request’s header list does not contain `Accept`, then: + if (!request.headersList.contains('accept')) { + // 1. Let value be `*/*`. + const value = '*/*' + + // 2. A user agent should set value to the first matching statement, if + // any, switching on request’s destination: + // "document" + // "frame" + // "iframe" + // `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8` + // "image" + // `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5` + // "style" + // `text/css,*/*;q=0.1` + // TODO + + // 3. Append `Accept`/value to request’s header list. + request.headersList.append('accept', value) + } + + // 13. If request’s header list does not contain `Accept-Language`, then + // user agents should append `Accept-Language`/an appropriate value to + // request’s header list. + if (!request.headersList.contains('accept-language')) { + request.headersList.append('accept-language', '*') + } + + // 14. If request’s priority is null, then use request’s initiator and + // destination appropriately in setting request’s priority to a + // user-agent-defined object. + if (request.priority === null) { + // TODO + } + + // 15. If request is a subresource request, then: + if (subresourceSet.has(request.destination)) { + // TODO + } + + // 16. Run main fetch given fetchParams. + mainFetch(fetchParams) + .catch(err => { + fetchParams.controller.terminate(err) + }) + + // 17. Return fetchParam's controller + return fetchParams.controller +} + +// https://fetch.spec.whatwg.org/#concept-main-fetch +async function mainFetch (fetchParams, recursive = false) { + // 1. Let request be fetchParams’s request. + const request = fetchParams.request + + // 2. Let response be null. + let response = null + + // 3. If request’s local-URLs-only flag is set and request’s current URL is + // not local, then set response to a network error. + if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) { + response = makeNetworkError('local URLs only') + } + + // 4. Run report Content Security Policy violations for request. + // TODO + + // 5. Upgrade request to a potentially trustworthy URL, if appropriate. + tryUpgradeRequestToAPotentiallyTrustworthyURL(request) + + // 6. If should request be blocked due to a bad port, should fetching request + // be blocked as mixed content, or should request be blocked by Content + // Security Policy returns blocked, then set response to a network error. + if (requestBadPort(request) === 'blocked') { + response = makeNetworkError('bad port') + } + // TODO: should fetching request be blocked as mixed content? + // TODO: should request be blocked by Content Security Policy? + + // 7. If request’s referrer policy is the empty string, then set request’s + // referrer policy to request’s policy container’s referrer policy. + if (request.referrerPolicy === '') { + request.referrerPolicy = request.policyContainer.referrerPolicy + } + + // 8. If request’s referrer is not "no-referrer", then set request’s + // referrer to the result of invoking determine request’s referrer. + if (request.referrer !== 'no-referrer') { + request.referrer = determineRequestsReferrer(request) + } + + // 9. Set request’s current URL’s scheme to "https" if all of the following + // conditions are true: + // - request’s current URL’s scheme is "http" + // - request’s current URL’s host is a domain + // - Matching request’s current URL’s host per Known HSTS Host Domain Name + // Matching results in either a superdomain match with an asserted + // includeSubDomains directive or a congruent match (with or without an + // asserted includeSubDomains directive). [HSTS] + // TODO + + // 10. If recursive is false, then run the remaining steps in parallel. + // TODO + + // 11. If response is null, then set response to the result of running + // the steps corresponding to the first matching statement: + if (response === null) { + response = await (async () => { + const currentURL = requestCurrentURL(request) + + if ( + // - request’s current URL’s origin is same origin with request’s origin, + // and request’s response tainting is "basic" + (sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') || + // request’s current URL’s scheme is "data" + (currentURL.protocol === 'data:') || + // - request’s mode is "navigate" or "websocket" + (request.mode === 'navigate' || request.mode === 'websocket') + ) { + // 1. Set request’s response tainting to "basic". + request.responseTainting = 'basic' + + // 2. Return the result of running scheme fetch given fetchParams. + return await schemeFetch(fetchParams) + } + + // request’s mode is "same-origin" + if (request.mode === 'same-origin') { + // 1. Return a network error. + return makeNetworkError('request mode cannot be "same-origin"') + } + + // request’s mode is "no-cors" + if (request.mode === 'no-cors') { + // 1. If request’s redirect mode is not "follow", then return a network + // error. + if (request.redirect !== 'follow') { + return makeNetworkError( + 'redirect mode cannot be "follow" for "no-cors" request' + ) + } + + // 2. Set request’s response tainting to "opaque". + request.responseTainting = 'opaque' + + // 3. Return the result of running scheme fetch given fetchParams. + return await schemeFetch(fetchParams) + } + + // request’s current URL’s scheme is not an HTTP(S) scheme + if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) { + // Return a network error. + return makeNetworkError('URL scheme must be a HTTP(S) scheme') + } + + // - request’s use-CORS-preflight flag is set + // - request’s unsafe-request flag is set and either request’s method is + // not a CORS-safelisted method or CORS-unsafe request-header names with + // request’s header list is not empty + // 1. Set request’s response tainting to "cors". + // 2. Let corsWithPreflightResponse be the result of running HTTP fetch + // given fetchParams and true. + // 3. If corsWithPreflightResponse is a network error, then clear cache + // entries using request. + // 4. Return corsWithPreflightResponse. + // TODO + + // Otherwise + // 1. Set request’s response tainting to "cors". + request.responseTainting = 'cors' + + // 2. Return the result of running HTTP fetch given fetchParams. + return await httpFetch(fetchParams) + })() + } + + // 12. If recursive is true, then return response. + if (recursive) { + return response + } + + // 13. If response is not a network error and response is not a filtered + // response, then: + if (response.status !== 0 && !response.internalResponse) { + // If request’s response tainting is "cors", then: + if (request.responseTainting === 'cors') { + // 1. Let headerNames be the result of extracting header list values + // given `Access-Control-Expose-Headers` and response’s header list. + // TODO + // 2. If request’s credentials mode is not "include" and headerNames + // contains `*`, then set response’s CORS-exposed header-name list to + // all unique header names in response’s header list. + // TODO + // 3. Otherwise, if headerNames is not null or failure, then set + // response’s CORS-exposed header-name list to headerNames. + // TODO + } + + // Set response to the following filtered response with response as its + // internal response, depending on request’s response tainting: + if (request.responseTainting === 'basic') { + response = filterResponse(response, 'basic') + } else if (request.responseTainting === 'cors') { + response = filterResponse(response, 'cors') + } else if (request.responseTainting === 'opaque') { + response = filterResponse(response, 'opaque') + } else { + assert(false) + } + } + + // 14. Let internalResponse be response, if response is a network error, + // and response’s internal response otherwise. + let internalResponse = + response.status === 0 ? response : response.internalResponse + + // 15. If internalResponse’s URL list is empty, then set it to a clone of + // request’s URL list. + if (internalResponse.urlList.length === 0) { + internalResponse.urlList.push(...request.urlList) + } + + // 16. If request’s timing allow failed flag is unset, then set + // internalResponse’s timing allow passed flag. + if (!request.timingAllowFailed) { + response.timingAllowPassed = true + } + + // 17. If response is not a network error and any of the following returns + // blocked + // - should internalResponse to request be blocked as mixed content + // - should internalResponse to request be blocked by Content Security Policy + // - should internalResponse to request be blocked due to its MIME type + // - should internalResponse to request be blocked due to nosniff + // TODO + + // 18. If response’s type is "opaque", internalResponse’s status is 206, + // internalResponse’s range-requested flag is set, and request’s header + // list does not contain `Range`, then set response and internalResponse + // to a network error. + if ( + response.type === 'opaque' && + internalResponse.status === 206 && + internalResponse.rangeRequested && + !request.headers.contains('range') + ) { + response = internalResponse = makeNetworkError() + } + + // 19. If response is not a network error and either request’s method is + // `HEAD` or `CONNECT`, or internalResponse’s status is a null body status, + // set internalResponse’s body to null and disregard any enqueuing toward + // it (if any). + if ( + response.status !== 0 && + (request.method === 'HEAD' || + request.method === 'CONNECT' || + nullBodyStatus.includes(internalResponse.status)) + ) { + internalResponse.body = null + fetchParams.controller.dump = true + } + + // 20. If request’s integrity metadata is not the empty string, then: + if (request.integrity) { + // 1. Let processBodyError be this step: run fetch finale given fetchParams + // and a network error. + const processBodyError = (reason) => + fetchFinale(fetchParams, makeNetworkError(reason)) + + // 2. If request’s response tainting is "opaque", or response’s body is null, + // then run processBodyError and abort these steps. + if (request.responseTainting === 'opaque' || response.body == null) { + processBodyError(response.error) + return + } + + // 3. Let processBody given bytes be these steps: + const processBody = (bytes) => { + // 1. If bytes do not match request’s integrity metadata, + // then run processBodyError and abort these steps. [SRI] + if (!bytesMatch(bytes, request.integrity)) { + processBodyError('integrity mismatch') + return + } + + // 2. Set response’s body to bytes as a body. + response.body = safelyExtractBody(bytes)[0] + + // 3. Run fetch finale given fetchParams and response. + fetchFinale(fetchParams, response) + } + + // 4. Fully read response’s body given processBody and processBodyError. + await fullyReadBody(response.body, processBody, processBodyError) + } else { + // 21. Otherwise, run fetch finale given fetchParams and response. + fetchFinale(fetchParams, response) + } +} + +// https://fetch.spec.whatwg.org/#concept-scheme-fetch +// given a fetch params fetchParams +function schemeFetch (fetchParams) { + // Note: since the connection is destroyed on redirect, which sets fetchParams to a + // cancelled state, we do not want this condition to trigger *unless* there have been + // no redirects. See https://github.com/nodejs/undici/issues/1776 + // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams. + if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) { + return Promise.resolve(makeAppropriateNetworkError(fetchParams)) + } + + // 2. Let request be fetchParams’s request. + const { request } = fetchParams + + const { protocol: scheme } = requestCurrentURL(request) + + // 3. Switch on request’s current URL’s scheme and run the associated steps: + switch (scheme) { + case 'about:': { + // If request’s current URL’s path is the string "blank", then return a new response + // whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) », + // and body is the empty byte sequence as a body. + + // Otherwise, return a network error. + return Promise.resolve(makeNetworkError('about scheme is not supported')) + } + case 'blob:': { + if (!resolveObjectURL) { + resolveObjectURL = (__nccwpck_require__(4300).resolveObjectURL) + } + + // 1. Let blobURLEntry be request’s current URL’s blob URL entry. + const blobURLEntry = requestCurrentURL(request) + + // https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56 + // Buffer.resolveObjectURL does not ignore URL queries. + if (blobURLEntry.search.length !== 0) { + return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.')) + } + + const blobURLEntryObject = resolveObjectURL(blobURLEntry.toString()) + + // 2. If request’s method is not `GET`, blobURLEntry is null, or blobURLEntry’s + // object is not a Blob object, then return a network error. + if (request.method !== 'GET' || !isBlobLike(blobURLEntryObject)) { + return Promise.resolve(makeNetworkError('invalid method')) + } + + // 3. Let bodyWithType be the result of safely extracting blobURLEntry’s object. + const bodyWithType = safelyExtractBody(blobURLEntryObject) + + // 4. Let body be bodyWithType’s body. + const body = bodyWithType[0] + + // 5. Let length be body’s length, serialized and isomorphic encoded. + const length = isomorphicEncode(`${body.length}`) + + // 6. Let type be bodyWithType’s type if it is non-null; otherwise the empty byte sequence. + const type = bodyWithType[1] ?? '' + + // 7. Return a new response whose status message is `OK`, header list is + // « (`Content-Length`, length), (`Content-Type`, type) », and body is body. + const response = makeResponse({ + statusText: 'OK', + headersList: [ + ['content-length', { name: 'Content-Length', value: length }], + ['content-type', { name: 'Content-Type', value: type }] + ] + }) + + response.body = body + + return Promise.resolve(response) + } + case 'data:': { + // 1. Let dataURLStruct be the result of running the + // data: URL processor on request’s current URL. + const currentURL = requestCurrentURL(request) + const dataURLStruct = dataURLProcessor(currentURL) + + // 2. If dataURLStruct is failure, then return a + // network error. + if (dataURLStruct === 'failure') { + return Promise.resolve(makeNetworkError('failed to fetch the data URL')) + } + + // 3. Let mimeType be dataURLStruct’s MIME type, serialized. + const mimeType = serializeAMimeType(dataURLStruct.mimeType) + + // 4. Return a response whose status message is `OK`, + // header list is « (`Content-Type`, mimeType) », + // and body is dataURLStruct’s body as a body. + return Promise.resolve(makeResponse({ + statusText: 'OK', + headersList: [ + ['content-type', { name: 'Content-Type', value: mimeType }] + ], + body: safelyExtractBody(dataURLStruct.body)[0] + })) + } + case 'file:': { + // For now, unfortunate as it is, file URLs are left as an exercise for the reader. + // When in doubt, return a network error. + return Promise.resolve(makeNetworkError('not implemented... yet...')) + } + case 'http:': + case 'https:': { + // Return the result of running HTTP fetch given fetchParams. + + return httpFetch(fetchParams) + .catch((err) => makeNetworkError(err)) + } + default: { + return Promise.resolve(makeNetworkError('unknown scheme')) + } + } +} + +// https://fetch.spec.whatwg.org/#finalize-response +function finalizeResponse (fetchParams, response) { + // 1. Set fetchParams’s request’s done flag. + fetchParams.request.done = true + + // 2, If fetchParams’s process response done is not null, then queue a fetch + // task to run fetchParams’s process response done given response, with + // fetchParams’s task destination. + if (fetchParams.processResponseDone != null) { + queueMicrotask(() => fetchParams.processResponseDone(response)) + } +} + +// https://fetch.spec.whatwg.org/#fetch-finale +function fetchFinale (fetchParams, response) { + // 1. If response is a network error, then: + if (response.type === 'error') { + // 1. Set response’s URL list to « fetchParams’s request’s URL list[0] ». + response.urlList = [fetchParams.request.urlList[0]] + + // 2. Set response’s timing info to the result of creating an opaque timing + // info for fetchParams’s timing info. + response.timingInfo = createOpaqueTimingInfo({ + startTime: fetchParams.timingInfo.startTime + }) + } + + // 2. Let processResponseEndOfBody be the following steps: + const processResponseEndOfBody = () => { + // 1. Set fetchParams’s request’s done flag. + fetchParams.request.done = true + + // If fetchParams’s process response end-of-body is not null, + // then queue a fetch task to run fetchParams’s process response + // end-of-body given response with fetchParams’s task destination. + if (fetchParams.processResponseEndOfBody != null) { + queueMicrotask(() => fetchParams.processResponseEndOfBody(response)) + } + } + + // 3. If fetchParams’s process response is non-null, then queue a fetch task + // to run fetchParams’s process response given response, with fetchParams’s + // task destination. + if (fetchParams.processResponse != null) { + queueMicrotask(() => fetchParams.processResponse(response)) + } + + // 4. If response’s body is null, then run processResponseEndOfBody. + if (response.body == null) { + processResponseEndOfBody() + } else { + // 5. Otherwise: + + // 1. Let transformStream be a new a TransformStream. + + // 2. Let identityTransformAlgorithm be an algorithm which, given chunk, + // enqueues chunk in transformStream. + const identityTransformAlgorithm = (chunk, controller) => { + controller.enqueue(chunk) + } + + // 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm + // and flushAlgorithm set to processResponseEndOfBody. + const transformStream = new TransformStream({ + start () {}, + transform: identityTransformAlgorithm, + flush: processResponseEndOfBody + }, { + size () { + return 1 + } + }, { + size () { + return 1 + } + }) + + // 4. Set response’s body to the result of piping response’s body through transformStream. + response.body = { stream: response.body.stream.pipeThrough(transformStream) } + } + + // 6. If fetchParams’s process response consume body is non-null, then: + if (fetchParams.processResponseConsumeBody != null) { + // 1. Let processBody given nullOrBytes be this step: run fetchParams’s + // process response consume body given response and nullOrBytes. + const processBody = (nullOrBytes) => fetchParams.processResponseConsumeBody(response, nullOrBytes) + + // 2. Let processBodyError be this step: run fetchParams’s process + // response consume body given response and failure. + const processBodyError = (failure) => fetchParams.processResponseConsumeBody(response, failure) + + // 3. If response’s body is null, then queue a fetch task to run processBody + // given null, with fetchParams’s task destination. + if (response.body == null) { + queueMicrotask(() => processBody(null)) + } else { + // 4. Otherwise, fully read response’s body given processBody, processBodyError, + // and fetchParams’s task destination. + return fullyReadBody(response.body, processBody, processBodyError) + } + return Promise.resolve() + } +} + +// https://fetch.spec.whatwg.org/#http-fetch +async function httpFetch (fetchParams) { + // 1. Let request be fetchParams’s request. + const request = fetchParams.request + + // 2. Let response be null. + let response = null + + // 3. Let actualResponse be null. + let actualResponse = null + + // 4. Let timingInfo be fetchParams’s timing info. + const timingInfo = fetchParams.timingInfo + + // 5. If request’s service-workers mode is "all", then: + if (request.serviceWorkers === 'all') { + // TODO + } + + // 6. If response is null, then: + if (response === null) { + // 1. If makeCORSPreflight is true and one of these conditions is true: + // TODO + + // 2. If request’s redirect mode is "follow", then set request’s + // service-workers mode to "none". + if (request.redirect === 'follow') { + request.serviceWorkers = 'none' + } + + // 3. Set response and actualResponse to the result of running + // HTTP-network-or-cache fetch given fetchParams. + actualResponse = response = await httpNetworkOrCacheFetch(fetchParams) + + // 4. If request’s response tainting is "cors" and a CORS check + // for request and response returns failure, then return a network error. + if ( + request.responseTainting === 'cors' && + corsCheck(request, response) === 'failure' + ) { + return makeNetworkError('cors failure') + } + + // 5. If the TAO check for request and response returns failure, then set + // request’s timing allow failed flag. + if (TAOCheck(request, response) === 'failure') { + request.timingAllowFailed = true + } + } + + // 7. If either request’s response tainting or response’s type + // is "opaque", and the cross-origin resource policy check with + // request’s origin, request’s client, request’s destination, + // and actualResponse returns blocked, then return a network error. + if ( + (request.responseTainting === 'opaque' || response.type === 'opaque') && + crossOriginResourcePolicyCheck( + request.origin, + request.client, + request.destination, + actualResponse + ) === 'blocked' + ) { + return makeNetworkError('blocked') + } + + // 8. If actualResponse’s status is a redirect status, then: + if (redirectStatusSet.has(actualResponse.status)) { + // 1. If actualResponse’s status is not 303, request’s body is not null, + // and the connection uses HTTP/2, then user agents may, and are even + // encouraged to, transmit an RST_STREAM frame. + // See, https://github.com/whatwg/fetch/issues/1288 + if (request.redirect !== 'manual') { + fetchParams.controller.connection.destroy() + } + + // 2. Switch on request’s redirect mode: + if (request.redirect === 'error') { + // Set response to a network error. + response = makeNetworkError('unexpected redirect') + } else if (request.redirect === 'manual') { + // Set response to an opaque-redirect filtered response whose internal + // response is actualResponse. + // NOTE(spec): On the web this would return an `opaqueredirect` response, + // but that doesn't make sense server side. + // See https://github.com/nodejs/undici/issues/1193. + response = actualResponse + } else if (request.redirect === 'follow') { + // Set response to the result of running HTTP-redirect fetch given + // fetchParams and response. + response = await httpRedirectFetch(fetchParams, response) + } else { + assert(false) + } + } + + // 9. Set response’s timing info to timingInfo. + response.timingInfo = timingInfo + + // 10. Return response. + return response +} + +// https://fetch.spec.whatwg.org/#http-redirect-fetch +function httpRedirectFetch (fetchParams, response) { + // 1. Let request be fetchParams’s request. + const request = fetchParams.request + + // 2. Let actualResponse be response, if response is not a filtered response, + // and response’s internal response otherwise. + const actualResponse = response.internalResponse + ? response.internalResponse + : response + + // 3. Let locationURL be actualResponse’s location URL given request’s current + // URL’s fragment. + let locationURL + + try { + locationURL = responseLocationURL( + actualResponse, + requestCurrentURL(request).hash + ) + + // 4. If locationURL is null, then return response. + if (locationURL == null) { + return response + } + } catch (err) { + // 5. If locationURL is failure, then return a network error. + return Promise.resolve(makeNetworkError(err)) + } + + // 6. If locationURL’s scheme is not an HTTP(S) scheme, then return a network + // error. + if (!urlIsHttpHttpsScheme(locationURL)) { + return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme')) + } + + // 7. If request’s redirect count is 20, then return a network error. + if (request.redirectCount === 20) { + return Promise.resolve(makeNetworkError('redirect count exceeded')) + } + + // 8. Increase request’s redirect count by 1. + request.redirectCount += 1 + + // 9. If request’s mode is "cors", locationURL includes credentials, and + // request’s origin is not same origin with locationURL’s origin, then return + // a network error. + if ( + request.mode === 'cors' && + (locationURL.username || locationURL.password) && + !sameOrigin(request, locationURL) + ) { + return Promise.resolve(makeNetworkError('cross origin not allowed for request mode "cors"')) + } + + // 10. If request’s response tainting is "cors" and locationURL includes + // credentials, then return a network error. + if ( + request.responseTainting === 'cors' && + (locationURL.username || locationURL.password) + ) { + return Promise.resolve(makeNetworkError( + 'URL cannot contain credentials for request mode "cors"' + )) + } + + // 11. If actualResponse’s status is not 303, request’s body is non-null, + // and request’s body’s source is null, then return a network error. + if ( + actualResponse.status !== 303 && + request.body != null && + request.body.source == null + ) { + return Promise.resolve(makeNetworkError()) + } + + // 12. If one of the following is true + // - actualResponse’s status is 301 or 302 and request’s method is `POST` + // - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD` + if ( + ([301, 302].includes(actualResponse.status) && request.method === 'POST') || + (actualResponse.status === 303 && + !GET_OR_HEAD.includes(request.method)) + ) { + // then: + // 1. Set request’s method to `GET` and request’s body to null. + request.method = 'GET' + request.body = null + + // 2. For each headerName of request-body-header name, delete headerName from + // request’s header list. + for (const headerName of requestBodyHeader) { + request.headersList.delete(headerName) + } + } + + // 13. If request’s current URL’s origin is not same origin with locationURL’s + // origin, then for each headerName of CORS non-wildcard request-header name, + // delete headerName from request’s header list. + if (!sameOrigin(requestCurrentURL(request), locationURL)) { + // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name + request.headersList.delete('authorization') + + // https://fetch.spec.whatwg.org/#authentication-entries + request.headersList.delete('proxy-authorization', true) + + // "Cookie" and "Host" are forbidden request-headers, which undici doesn't implement. + request.headersList.delete('cookie') + request.headersList.delete('host') + } + + // 14. If request’s body is non-null, then set request’s body to the first return + // value of safely extracting request’s body’s source. + if (request.body != null) { + assert(request.body.source != null) + request.body = safelyExtractBody(request.body.source)[0] + } + + // 15. Let timingInfo be fetchParams’s timing info. + const timingInfo = fetchParams.timingInfo + + // 16. Set timingInfo’s redirect end time and post-redirect start time to the + // coarsened shared current time given fetchParams’s cross-origin isolated + // capability. + timingInfo.redirectEndTime = timingInfo.postRedirectStartTime = + coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability) + + // 17. If timingInfo’s redirect start time is 0, then set timingInfo’s + // redirect start time to timingInfo’s start time. + if (timingInfo.redirectStartTime === 0) { + timingInfo.redirectStartTime = timingInfo.startTime + } + + // 18. Append locationURL to request’s URL list. + request.urlList.push(locationURL) + + // 19. Invoke set request’s referrer policy on redirect on request and + // actualResponse. + setRequestReferrerPolicyOnRedirect(request, actualResponse) + + // 20. Return the result of running main fetch given fetchParams and true. + return mainFetch(fetchParams, true) +} + +// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch +async function httpNetworkOrCacheFetch ( + fetchParams, + isAuthenticationFetch = false, + isNewConnectionFetch = false +) { + // 1. Let request be fetchParams’s request. + const request = fetchParams.request + + // 2. Let httpFetchParams be null. + let httpFetchParams = null + + // 3. Let httpRequest be null. + let httpRequest = null + + // 4. Let response be null. + let response = null + + // 5. Let storedResponse be null. + // TODO: cache + + // 6. Let httpCache be null. + const httpCache = null + + // 7. Let the revalidatingFlag be unset. + const revalidatingFlag = false + + // 8. Run these steps, but abort when the ongoing fetch is terminated: + + // 1. If request’s window is "no-window" and request’s redirect mode is + // "error", then set httpFetchParams to fetchParams and httpRequest to + // request. + if (request.window === 'no-window' && request.redirect === 'error') { + httpFetchParams = fetchParams + httpRequest = request + } else { + // Otherwise: + + // 1. Set httpRequest to a clone of request. + httpRequest = makeRequest(request) + + // 2. Set httpFetchParams to a copy of fetchParams. + httpFetchParams = { ...fetchParams } + + // 3. Set httpFetchParams’s request to httpRequest. + httpFetchParams.request = httpRequest + } + + // 3. Let includeCredentials be true if one of + const includeCredentials = + request.credentials === 'include' || + (request.credentials === 'same-origin' && + request.responseTainting === 'basic') + + // 4. Let contentLength be httpRequest’s body’s length, if httpRequest’s + // body is non-null; otherwise null. + const contentLength = httpRequest.body ? httpRequest.body.length : null + + // 5. Let contentLengthHeaderValue be null. + let contentLengthHeaderValue = null + + // 6. If httpRequest’s body is null and httpRequest’s method is `POST` or + // `PUT`, then set contentLengthHeaderValue to `0`. + if ( + httpRequest.body == null && + ['POST', 'PUT'].includes(httpRequest.method) + ) { + contentLengthHeaderValue = '0' + } + + // 7. If contentLength is non-null, then set contentLengthHeaderValue to + // contentLength, serialized and isomorphic encoded. + if (contentLength != null) { + contentLengthHeaderValue = isomorphicEncode(`${contentLength}`) + } + + // 8. If contentLengthHeaderValue is non-null, then append + // `Content-Length`/contentLengthHeaderValue to httpRequest’s header + // list. + if (contentLengthHeaderValue != null) { + httpRequest.headersList.append('content-length', contentLengthHeaderValue) + } + + // 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`, + // contentLengthHeaderValue) to httpRequest’s header list. + + // 10. If contentLength is non-null and httpRequest’s keepalive is true, + // then: + if (contentLength != null && httpRequest.keepalive) { + // NOTE: keepalive is a noop outside of browser context. + } + + // 11. If httpRequest’s referrer is a URL, then append + // `Referer`/httpRequest’s referrer, serialized and isomorphic encoded, + // to httpRequest’s header list. + if (httpRequest.referrer instanceof URL) { + httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href)) + } + + // 12. Append a request `Origin` header for httpRequest. + appendRequestOriginHeader(httpRequest) + + // 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA] + appendFetchMetadata(httpRequest) + + // 14. If httpRequest’s header list does not contain `User-Agent`, then + // user agents should append `User-Agent`/default `User-Agent` value to + // httpRequest’s header list. + if (!httpRequest.headersList.contains('user-agent')) { + httpRequest.headersList.append('user-agent', typeof esbuildDetection === 'undefined' ? 'undici' : 'node') + } + + // 15. If httpRequest’s cache mode is "default" and httpRequest’s header + // list contains `If-Modified-Since`, `If-None-Match`, + // `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set + // httpRequest’s cache mode to "no-store". + if ( + httpRequest.cache === 'default' && + (httpRequest.headersList.contains('if-modified-since') || + httpRequest.headersList.contains('if-none-match') || + httpRequest.headersList.contains('if-unmodified-since') || + httpRequest.headersList.contains('if-match') || + httpRequest.headersList.contains('if-range')) + ) { + httpRequest.cache = 'no-store' + } + + // 16. If httpRequest’s cache mode is "no-cache", httpRequest’s prevent + // no-cache cache-control header modification flag is unset, and + // httpRequest’s header list does not contain `Cache-Control`, then append + // `Cache-Control`/`max-age=0` to httpRequest’s header list. + if ( + httpRequest.cache === 'no-cache' && + !httpRequest.preventNoCacheCacheControlHeaderModification && + !httpRequest.headersList.contains('cache-control') + ) { + httpRequest.headersList.append('cache-control', 'max-age=0') + } + + // 17. If httpRequest’s cache mode is "no-store" or "reload", then: + if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') { + // 1. If httpRequest’s header list does not contain `Pragma`, then append + // `Pragma`/`no-cache` to httpRequest’s header list. + if (!httpRequest.headersList.contains('pragma')) { + httpRequest.headersList.append('pragma', 'no-cache') + } + + // 2. If httpRequest’s header list does not contain `Cache-Control`, + // then append `Cache-Control`/`no-cache` to httpRequest’s header list. + if (!httpRequest.headersList.contains('cache-control')) { + httpRequest.headersList.append('cache-control', 'no-cache') + } + } + + // 18. If httpRequest’s header list contains `Range`, then append + // `Accept-Encoding`/`identity` to httpRequest’s header list. + if (httpRequest.headersList.contains('range')) { + httpRequest.headersList.append('accept-encoding', 'identity') + } + + // 19. Modify httpRequest’s header list per HTTP. Do not append a given + // header if httpRequest’s header list contains that header’s name. + // TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129 + if (!httpRequest.headersList.contains('accept-encoding')) { + if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) { + httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate') + } else { + httpRequest.headersList.append('accept-encoding', 'gzip, deflate') + } + } + + httpRequest.headersList.delete('host') + + // 20. If includeCredentials is true, then: + if (includeCredentials) { + // 1. If the user agent is not configured to block cookies for httpRequest + // (see section 7 of [COOKIES]), then: + // TODO: credentials + // 2. If httpRequest’s header list does not contain `Authorization`, then: + // TODO: credentials + } + + // 21. If there’s a proxy-authentication entry, use it as appropriate. + // TODO: proxy-authentication + + // 22. Set httpCache to the result of determining the HTTP cache + // partition, given httpRequest. + // TODO: cache + + // 23. If httpCache is null, then set httpRequest’s cache mode to + // "no-store". + if (httpCache == null) { + httpRequest.cache = 'no-store' + } + + // 24. If httpRequest’s cache mode is neither "no-store" nor "reload", + // then: + if (httpRequest.mode !== 'no-store' && httpRequest.mode !== 'reload') { + // TODO: cache + } + + // 9. If aborted, then return the appropriate network error for fetchParams. + // TODO + + // 10. If response is null, then: + if (response == null) { + // 1. If httpRequest’s cache mode is "only-if-cached", then return a + // network error. + if (httpRequest.mode === 'only-if-cached') { + return makeNetworkError('only if cached') + } + + // 2. Let forwardResponse be the result of running HTTP-network fetch + // given httpFetchParams, includeCredentials, and isNewConnectionFetch. + const forwardResponse = await httpNetworkFetch( + httpFetchParams, + includeCredentials, + isNewConnectionFetch + ) + + // 3. If httpRequest’s method is unsafe and forwardResponse’s status is + // in the range 200 to 399, inclusive, invalidate appropriate stored + // responses in httpCache, as per the "Invalidation" chapter of HTTP + // Caching, and set storedResponse to null. [HTTP-CACHING] + if ( + !safeMethodsSet.has(httpRequest.method) && + forwardResponse.status >= 200 && + forwardResponse.status <= 399 + ) { + // TODO: cache + } + + // 4. If the revalidatingFlag is set and forwardResponse’s status is 304, + // then: + if (revalidatingFlag && forwardResponse.status === 304) { + // TODO: cache + } + + // 5. If response is null, then: + if (response == null) { + // 1. Set response to forwardResponse. + response = forwardResponse + + // 2. Store httpRequest and forwardResponse in httpCache, as per the + // "Storing Responses in Caches" chapter of HTTP Caching. [HTTP-CACHING] + // TODO: cache + } + } + + // 11. Set response’s URL list to a clone of httpRequest’s URL list. + response.urlList = [...httpRequest.urlList] + + // 12. If httpRequest’s header list contains `Range`, then set response’s + // range-requested flag. + if (httpRequest.headersList.contains('range')) { + response.rangeRequested = true + } + + // 13. Set response’s request-includes-credentials to includeCredentials. + response.requestIncludesCredentials = includeCredentials + + // 14. If response’s status is 401, httpRequest’s response tainting is not + // "cors", includeCredentials is true, and request’s window is an environment + // settings object, then: + // TODO + + // 15. If response’s status is 407, then: + if (response.status === 407) { + // 1. If request’s window is "no-window", then return a network error. + if (request.window === 'no-window') { + return makeNetworkError() + } + + // 2. ??? + + // 3. If fetchParams is canceled, then return the appropriate network error for fetchParams. + if (isCancelled(fetchParams)) { + return makeAppropriateNetworkError(fetchParams) + } + + // 4. Prompt the end user as appropriate in request’s window and store + // the result as a proxy-authentication entry. [HTTP-AUTH] + // TODO: Invoke some kind of callback? + + // 5. Set response to the result of running HTTP-network-or-cache fetch given + // fetchParams. + // TODO + return makeNetworkError('proxy authentication required') + } + + // 16. If all of the following are true + if ( + // response’s status is 421 + response.status === 421 && + // isNewConnectionFetch is false + !isNewConnectionFetch && + // request’s body is null, or request’s body is non-null and request’s body’s source is non-null + (request.body == null || request.body.source != null) + ) { + // then: + + // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams. + if (isCancelled(fetchParams)) { + return makeAppropriateNetworkError(fetchParams) + } + + // 2. Set response to the result of running HTTP-network-or-cache + // fetch given fetchParams, isAuthenticationFetch, and true. + + // TODO (spec): The spec doesn't specify this but we need to cancel + // the active response before we can start a new one. + // https://github.com/whatwg/fetch/issues/1293 + fetchParams.controller.connection.destroy() + + response = await httpNetworkOrCacheFetch( + fetchParams, + isAuthenticationFetch, + true + ) + } + + // 17. If isAuthenticationFetch is true, then create an authentication entry + if (isAuthenticationFetch) { + // TODO + } + + // 18. Return response. + return response +} + +// https://fetch.spec.whatwg.org/#http-network-fetch +async function httpNetworkFetch ( + fetchParams, + includeCredentials = false, + forceNewConnection = false +) { + assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed) + + fetchParams.controller.connection = { + abort: null, + destroyed: false, + destroy (err) { + if (!this.destroyed) { + this.destroyed = true + this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError')) + } + } + } + + // 1. Let request be fetchParams’s request. + const request = fetchParams.request + + // 2. Let response be null. + let response = null + + // 3. Let timingInfo be fetchParams’s timing info. + const timingInfo = fetchParams.timingInfo + + // 4. Let httpCache be the result of determining the HTTP cache partition, + // given request. + // TODO: cache + const httpCache = null + + // 5. If httpCache is null, then set request’s cache mode to "no-store". + if (httpCache == null) { + request.cache = 'no-store' + } + + // 6. Let networkPartitionKey be the result of determining the network + // partition key given request. + // TODO + + // 7. Let newConnection be "yes" if forceNewConnection is true; otherwise + // "no". + const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars + + // 8. Switch on request’s mode: + if (request.mode === 'websocket') { + // Let connection be the result of obtaining a WebSocket connection, + // given request’s current URL. + // TODO + } else { + // Let connection be the result of obtaining a connection, given + // networkPartitionKey, request’s current URL’s origin, + // includeCredentials, and forceNewConnection. + // TODO + } + + // 9. Run these steps, but abort when the ongoing fetch is terminated: + + // 1. If connection is failure, then return a network error. + + // 2. Set timingInfo’s final connection timing info to the result of + // calling clamp and coarsen connection timing info with connection’s + // timing info, timingInfo’s post-redirect start time, and fetchParams’s + // cross-origin isolated capability. + + // 3. If connection is not an HTTP/2 connection, request’s body is non-null, + // and request’s body’s source is null, then append (`Transfer-Encoding`, + // `chunked`) to request’s header list. + + // 4. Set timingInfo’s final network-request start time to the coarsened + // shared current time given fetchParams’s cross-origin isolated + // capability. + + // 5. Set response to the result of making an HTTP request over connection + // using request with the following caveats: + + // - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS] + // [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH] + + // - If request’s body is non-null, and request’s body’s source is null, + // then the user agent may have a buffer of up to 64 kibibytes and store + // a part of request’s body in that buffer. If the user agent reads from + // request’s body beyond that buffer’s size and the user agent needs to + // resend request, then instead return a network error. + + // - Set timingInfo’s final network-response start time to the coarsened + // shared current time given fetchParams’s cross-origin isolated capability, + // immediately after the user agent’s HTTP parser receives the first byte + // of the response (e.g., frame header bytes for HTTP/2 or response status + // line for HTTP/1.x). + + // - Wait until all the headers are transmitted. + + // - Any responses whose status is in the range 100 to 199, inclusive, + // and is not 101, are to be ignored, except for the purposes of setting + // timingInfo’s final network-response start time above. + + // - If request’s header list contains `Transfer-Encoding`/`chunked` and + // response is transferred via HTTP/1.0 or older, then return a network + // error. + + // - If the HTTP request results in a TLS client certificate dialog, then: + + // 1. If request’s window is an environment settings object, make the + // dialog available in request’s window. + + // 2. Otherwise, return a network error. + + // To transmit request’s body body, run these steps: + let requestBody = null + // 1. If body is null and fetchParams’s process request end-of-body is + // non-null, then queue a fetch task given fetchParams’s process request + // end-of-body and fetchParams’s task destination. + if (request.body == null && fetchParams.processRequestEndOfBody) { + queueMicrotask(() => fetchParams.processRequestEndOfBody()) + } else if (request.body != null) { + // 2. Otherwise, if body is non-null: + + // 1. Let processBodyChunk given bytes be these steps: + const processBodyChunk = async function * (bytes) { + // 1. If the ongoing fetch is terminated, then abort these steps. + if (isCancelled(fetchParams)) { + return + } + + // 2. Run this step in parallel: transmit bytes. + yield bytes + + // 3. If fetchParams’s process request body is non-null, then run + // fetchParams’s process request body given bytes’s length. + fetchParams.processRequestBodyChunkLength?.(bytes.byteLength) + } + + // 2. Let processEndOfBody be these steps: + const processEndOfBody = () => { + // 1. If fetchParams is canceled, then abort these steps. + if (isCancelled(fetchParams)) { + return + } + + // 2. If fetchParams’s process request end-of-body is non-null, + // then run fetchParams’s process request end-of-body. + if (fetchParams.processRequestEndOfBody) { + fetchParams.processRequestEndOfBody() + } + } + + // 3. Let processBodyError given e be these steps: + const processBodyError = (e) => { + // 1. If fetchParams is canceled, then abort these steps. + if (isCancelled(fetchParams)) { + return + } + + // 2. If e is an "AbortError" DOMException, then abort fetchParams’s controller. + if (e.name === 'AbortError') { + fetchParams.controller.abort() + } else { + fetchParams.controller.terminate(e) + } + } + + // 4. Incrementally read request’s body given processBodyChunk, processEndOfBody, + // processBodyError, and fetchParams’s task destination. + requestBody = (async function * () { + try { + for await (const bytes of request.body.stream) { + yield * processBodyChunk(bytes) + } + processEndOfBody() + } catch (err) { + processBodyError(err) + } + })() + } + + try { + // socket is only provided for websockets + const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody }) + + if (socket) { + response = makeResponse({ status, statusText, headersList, socket }) + } else { + const iterator = body[Symbol.asyncIterator]() + fetchParams.controller.next = () => iterator.next() + + response = makeResponse({ status, statusText, headersList }) + } + } catch (err) { + // 10. If aborted, then: + if (err.name === 'AbortError') { + // 1. If connection uses HTTP/2, then transmit an RST_STREAM frame. + fetchParams.controller.connection.destroy() + + // 2. Return the appropriate network error for fetchParams. + return makeAppropriateNetworkError(fetchParams, err) + } + + return makeNetworkError(err) + } + + // 11. Let pullAlgorithm be an action that resumes the ongoing fetch + // if it is suspended. + const pullAlgorithm = () => { + fetchParams.controller.resume() + } + + // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s + // controller with reason, given reason. + const cancelAlgorithm = (reason) => { + fetchParams.controller.abort(reason) + } + + // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by + // the user agent. + // TODO + + // 14. Let sizeAlgorithm be an algorithm that accepts a chunk object + // and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent. + // TODO + + // 15. Let stream be a new ReadableStream. + // 16. Set up stream with pullAlgorithm set to pullAlgorithm, + // cancelAlgorithm set to cancelAlgorithm, highWaterMark set to + // highWaterMark, and sizeAlgorithm set to sizeAlgorithm. + if (!ReadableStream) { + ReadableStream = (__nccwpck_require__(5356).ReadableStream) + } + + const stream = new ReadableStream( + { + async start (controller) { + fetchParams.controller.controller = controller + }, + async pull (controller) { + await pullAlgorithm(controller) + }, + async cancel (reason) { + await cancelAlgorithm(reason) + } + }, + { + highWaterMark: 0, + size () { + return 1 + } + } + ) + + // 17. Run these steps, but abort when the ongoing fetch is terminated: + + // 1. Set response’s body to a new body whose stream is stream. + response.body = { stream } + + // 2. If response is not a network error and request’s cache mode is + // not "no-store", then update response in httpCache for request. + // TODO + + // 3. If includeCredentials is true and the user agent is not configured + // to block cookies for request (see section 7 of [COOKIES]), then run the + // "set-cookie-string" parsing algorithm (see section 5.2 of [COOKIES]) on + // the value of each header whose name is a byte-case-insensitive match for + // `Set-Cookie` in response’s header list, if any, and request’s current URL. + // TODO + + // 18. If aborted, then: + // TODO + + // 19. Run these steps in parallel: + + // 1. Run these steps, but abort when fetchParams is canceled: + fetchParams.controller.on('terminated', onAborted) + fetchParams.controller.resume = async () => { + // 1. While true + while (true) { + // 1-3. See onData... + + // 4. Set bytes to the result of handling content codings given + // codings and bytes. + let bytes + let isFailure + try { + const { done, value } = await fetchParams.controller.next() + + if (isAborted(fetchParams)) { + break + } + + bytes = done ? undefined : value + } catch (err) { + if (fetchParams.controller.ended && !timingInfo.encodedBodySize) { + // zlib doesn't like empty streams. + bytes = undefined + } else { + bytes = err + + // err may be propagated from the result of calling readablestream.cancel, + // which might not be an error. https://github.com/nodejs/undici/issues/2009 + isFailure = true + } + } + + if (bytes === undefined) { + // 2. Otherwise, if the bytes transmission for response’s message + // body is done normally and stream is readable, then close + // stream, finalize response for fetchParams and response, and + // abort these in-parallel steps. + readableStreamClose(fetchParams.controller.controller) + + finalizeResponse(fetchParams, response) + + return + } + + // 5. Increase timingInfo’s decoded body size by bytes’s length. + timingInfo.decodedBodySize += bytes?.byteLength ?? 0 + + // 6. If bytes is failure, then terminate fetchParams’s controller. + if (isFailure) { + fetchParams.controller.terminate(bytes) + return + } + + // 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes + // into stream. + fetchParams.controller.controller.enqueue(new Uint8Array(bytes)) + + // 8. If stream is errored, then terminate the ongoing fetch. + if (isErrored(stream)) { + fetchParams.controller.terminate() + return + } + + // 9. If stream doesn’t need more data ask the user agent to suspend + // the ongoing fetch. + if (!fetchParams.controller.controller.desiredSize) { + return + } + } + } + + // 2. If aborted, then: + function onAborted (reason) { + // 2. If fetchParams is aborted, then: + if (isAborted(fetchParams)) { + // 1. Set response’s aborted flag. + response.aborted = true + + // 2. If stream is readable, then error stream with the result of + // deserialize a serialized abort reason given fetchParams’s + // controller’s serialized abort reason and an + // implementation-defined realm. + if (isReadable(stream)) { + fetchParams.controller.controller.error( + fetchParams.controller.serializedAbortReason + ) + } + } else { + // 3. Otherwise, if stream is readable, error stream with a TypeError. + if (isReadable(stream)) { + fetchParams.controller.controller.error(new TypeError('terminated', { + cause: isErrorLike(reason) ? reason : undefined + })) + } + } + + // 4. If connection uses HTTP/2, then transmit an RST_STREAM frame. + // 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so. + fetchParams.controller.connection.destroy() + } + + // 20. Return response. + return response + + async function dispatch ({ body }) { + const url = requestCurrentURL(request) + /** @type {import('../..').Agent} */ + const agent = fetchParams.controller.dispatcher + + return new Promise((resolve, reject) => agent.dispatch( + { + path: url.pathname + url.search, + origin: url.origin, + method: request.method, + body: fetchParams.controller.dispatcher.isMockActive ? request.body && (request.body.source || request.body.stream) : body, + headers: request.headersList.entries, + maxRedirections: 0, + upgrade: request.mode === 'websocket' ? 'websocket' : undefined + }, + { + body: null, + abort: null, + + onConnect (abort) { + // TODO (fix): Do we need connection here? + const { connection } = fetchParams.controller + + if (connection.destroyed) { + abort(new DOMException('The operation was aborted.', 'AbortError')) + } else { + fetchParams.controller.on('terminated', abort) + this.abort = connection.abort = abort + } + }, + + onHeaders (status, headersList, resume, statusText) { + if (status < 200) { + return + } + + let codings = [] + let location = '' + + const headers = new Headers() + + // For H2, the headers are a plain JS object + // We distinguish between them and iterate accordingly + if (Array.isArray(headersList)) { + for (let n = 0; n < headersList.length; n += 2) { + const key = headersList[n + 0].toString('latin1') + const val = headersList[n + 1].toString('latin1') + if (key.toLowerCase() === 'content-encoding') { + // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1 + // "All content-coding values are case-insensitive..." + codings = val.toLowerCase().split(',').map((x) => x.trim()) + } else if (key.toLowerCase() === 'location') { + location = val + } + + headers[kHeadersList].append(key, val) + } + } else { + const keys = Object.keys(headersList) + for (const key of keys) { + const val = headersList[key] + if (key.toLowerCase() === 'content-encoding') { + // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1 + // "All content-coding values are case-insensitive..." + codings = val.toLowerCase().split(',').map((x) => x.trim()).reverse() + } else if (key.toLowerCase() === 'location') { + location = val + } + + headers[kHeadersList].append(key, val) + } + } + + this.body = new Readable({ read: resume }) + + const decoders = [] + + const willFollow = request.redirect === 'follow' && + location && + redirectStatusSet.has(status) + + // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding + if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) { + for (const coding of codings) { + // https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2 + if (coding === 'x-gzip' || coding === 'gzip') { + decoders.push(zlib.createGunzip({ + // Be less strict when decoding compressed responses, since sometimes + // servers send slightly invalid responses that are still accepted + // by common browsers. + // Always using Z_SYNC_FLUSH is what cURL does. + flush: zlib.constants.Z_SYNC_FLUSH, + finishFlush: zlib.constants.Z_SYNC_FLUSH + })) + } else if (coding === 'deflate') { + decoders.push(zlib.createInflate()) + } else if (coding === 'br') { + decoders.push(zlib.createBrotliDecompress()) + } else { + decoders.length = 0 + break + } + } + } + + resolve({ + status, + statusText, + headersList: headers[kHeadersList], + body: decoders.length + ? pipeline(this.body, ...decoders, () => { }) + : this.body.on('error', () => {}) + }) + + return true + }, + + onData (chunk) { + if (fetchParams.controller.dump) { + return + } + + // 1. If one or more bytes have been transmitted from response’s + // message body, then: + + // 1. Let bytes be the transmitted bytes. + const bytes = chunk + + // 2. Let codings be the result of extracting header list values + // given `Content-Encoding` and response’s header list. + // See pullAlgorithm. + + // 3. Increase timingInfo’s encoded body size by bytes’s length. + timingInfo.encodedBodySize += bytes.byteLength + + // 4. See pullAlgorithm... + + return this.body.push(bytes) + }, + + onComplete () { + if (this.abort) { + fetchParams.controller.off('terminated', this.abort) + } + + fetchParams.controller.ended = true + + this.body.push(null) + }, + + onError (error) { + if (this.abort) { + fetchParams.controller.off('terminated', this.abort) + } + + this.body?.destroy(error) + + fetchParams.controller.terminate(error) + + reject(error) + }, + + onUpgrade (status, headersList, socket) { + if (status !== 101) { + return + } + + const headers = new Headers() + + for (let n = 0; n < headersList.length; n += 2) { + const key = headersList[n + 0].toString('latin1') + const val = headersList[n + 1].toString('latin1') + + headers[kHeadersList].append(key, val) + } + + resolve({ + status, + statusText: STATUS_CODES[status], + headersList: headers[kHeadersList], + socket + }) + + return true + } + } + )) + } +} + +module.exports = { + fetch, + Fetch, + fetching, + finalizeAndReportTiming +} + + +/***/ }), + +/***/ 8359: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +/* globals AbortController */ + + + +const { extractBody, mixinBody, cloneBody } = __nccwpck_require__(1472) +const { Headers, fill: fillHeaders, HeadersList } = __nccwpck_require__(554) +const { FinalizationRegistry } = __nccwpck_require__(6436)() +const util = __nccwpck_require__(3983) +const { + isValidHTTPToken, + sameOrigin, + normalizeMethod, + makePolicyContainer, + normalizeMethodRecord +} = __nccwpck_require__(2538) +const { + forbiddenMethodsSet, + corsSafeListedMethodsSet, + referrerPolicy, + requestRedirect, + requestMode, + requestCredentials, + requestCache, + requestDuplex +} = __nccwpck_require__(1037) +const { kEnumerableProperty } = util +const { kHeaders, kSignal, kState, kGuard, kRealm } = __nccwpck_require__(5861) +const { webidl } = __nccwpck_require__(1744) +const { getGlobalOrigin } = __nccwpck_require__(1246) +const { URLSerializer } = __nccwpck_require__(685) +const { kHeadersList, kConstruct } = __nccwpck_require__(2785) +const assert = __nccwpck_require__(9491) +const { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = __nccwpck_require__(2361) + +let TransformStream = globalThis.TransformStream + +const kAbortController = Symbol('abortController') + +const requestFinalizer = new FinalizationRegistry(({ signal, abort }) => { + signal.removeEventListener('abort', abort) +}) + +// https://fetch.spec.whatwg.org/#request-class +class Request { + // https://fetch.spec.whatwg.org/#dom-request + constructor (input, init = {}) { + if (input === kConstruct) { + return + } + + webidl.argumentLengthCheck(arguments, 1, { header: 'Request constructor' }) + + input = webidl.converters.RequestInfo(input) + init = webidl.converters.RequestInit(init) + + // https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object + this[kRealm] = { + settingsObject: { + baseUrl: getGlobalOrigin(), + get origin () { + return this.baseUrl?.origin + }, + policyContainer: makePolicyContainer() + } + } + + // 1. Let request be null. + let request = null + + // 2. Let fallbackMode be null. + let fallbackMode = null + + // 3. Let baseURL be this’s relevant settings object’s API base URL. + const baseUrl = this[kRealm].settingsObject.baseUrl + + // 4. Let signal be null. + let signal = null + + // 5. If input is a string, then: + if (typeof input === 'string') { + // 1. Let parsedURL be the result of parsing input with baseURL. + // 2. If parsedURL is failure, then throw a TypeError. + let parsedURL + try { + parsedURL = new URL(input, baseUrl) + } catch (err) { + throw new TypeError('Failed to parse URL from ' + input, { cause: err }) + } + + // 3. If parsedURL includes credentials, then throw a TypeError. + if (parsedURL.username || parsedURL.password) { + throw new TypeError( + 'Request cannot be constructed from a URL that includes credentials: ' + + input + ) + } + + // 4. Set request to a new request whose URL is parsedURL. + request = makeRequest({ urlList: [parsedURL] }) + + // 5. Set fallbackMode to "cors". + fallbackMode = 'cors' + } else { + // 6. Otherwise: + + // 7. Assert: input is a Request object. + assert(input instanceof Request) + + // 8. Set request to input’s request. + request = input[kState] + + // 9. Set signal to input’s signal. + signal = input[kSignal] + } + + // 7. Let origin be this’s relevant settings object’s origin. + const origin = this[kRealm].settingsObject.origin + + // 8. Let window be "client". + let window = 'client' + + // 9. If request’s window is an environment settings object and its origin + // is same origin with origin, then set window to request’s window. + if ( + request.window?.constructor?.name === 'EnvironmentSettingsObject' && + sameOrigin(request.window, origin) + ) { + window = request.window + } + + // 10. If init["window"] exists and is non-null, then throw a TypeError. + if (init.window != null) { + throw new TypeError(`'window' option '${window}' must be null`) + } + + // 11. If init["window"] exists, then set window to "no-window". + if ('window' in init) { + window = 'no-window' + } + + // 12. Set request to a new request with the following properties: + request = makeRequest({ + // URL request’s URL. + // undici implementation note: this is set as the first item in request's urlList in makeRequest + // method request’s method. + method: request.method, + // header list A copy of request’s header list. + // undici implementation note: headersList is cloned in makeRequest + headersList: request.headersList, + // unsafe-request flag Set. + unsafeRequest: request.unsafeRequest, + // client This’s relevant settings object. + client: this[kRealm].settingsObject, + // window window. + window, + // priority request’s priority. + priority: request.priority, + // origin request’s origin. The propagation of the origin is only significant for navigation requests + // being handled by a service worker. In this scenario a request can have an origin that is different + // from the current client. + origin: request.origin, + // referrer request’s referrer. + referrer: request.referrer, + // referrer policy request’s referrer policy. + referrerPolicy: request.referrerPolicy, + // mode request’s mode. + mode: request.mode, + // credentials mode request’s credentials mode. + credentials: request.credentials, + // cache mode request’s cache mode. + cache: request.cache, + // redirect mode request’s redirect mode. + redirect: request.redirect, + // integrity metadata request’s integrity metadata. + integrity: request.integrity, + // keepalive request’s keepalive. + keepalive: request.keepalive, + // reload-navigation flag request’s reload-navigation flag. + reloadNavigation: request.reloadNavigation, + // history-navigation flag request’s history-navigation flag. + historyNavigation: request.historyNavigation, + // URL list A clone of request’s URL list. + urlList: [...request.urlList] + }) + + const initHasKey = Object.keys(init).length !== 0 + + // 13. If init is not empty, then: + if (initHasKey) { + // 1. If request’s mode is "navigate", then set it to "same-origin". + if (request.mode === 'navigate') { + request.mode = 'same-origin' + } + + // 2. Unset request’s reload-navigation flag. + request.reloadNavigation = false + + // 3. Unset request’s history-navigation flag. + request.historyNavigation = false + + // 4. Set request’s origin to "client". + request.origin = 'client' + + // 5. Set request’s referrer to "client" + request.referrer = 'client' + + // 6. Set request’s referrer policy to the empty string. + request.referrerPolicy = '' + + // 7. Set request’s URL to request’s current URL. + request.url = request.urlList[request.urlList.length - 1] + + // 8. Set request’s URL list to « request’s URL ». + request.urlList = [request.url] + } + + // 14. If init["referrer"] exists, then: + if (init.referrer !== undefined) { + // 1. Let referrer be init["referrer"]. + const referrer = init.referrer + + // 2. If referrer is the empty string, then set request’s referrer to "no-referrer". + if (referrer === '') { + request.referrer = 'no-referrer' + } else { + // 1. Let parsedReferrer be the result of parsing referrer with + // baseURL. + // 2. If parsedReferrer is failure, then throw a TypeError. + let parsedReferrer + try { + parsedReferrer = new URL(referrer, baseUrl) + } catch (err) { + throw new TypeError(`Referrer "${referrer}" is not a valid URL.`, { cause: err }) + } + + // 3. If one of the following is true + // - parsedReferrer’s scheme is "about" and path is the string "client" + // - parsedReferrer’s origin is not same origin with origin + // then set request’s referrer to "client". + if ( + (parsedReferrer.protocol === 'about:' && parsedReferrer.hostname === 'client') || + (origin && !sameOrigin(parsedReferrer, this[kRealm].settingsObject.baseUrl)) + ) { + request.referrer = 'client' + } else { + // 4. Otherwise, set request’s referrer to parsedReferrer. + request.referrer = parsedReferrer + } + } + } + + // 15. If init["referrerPolicy"] exists, then set request’s referrer policy + // to it. + if (init.referrerPolicy !== undefined) { + request.referrerPolicy = init.referrerPolicy + } + + // 16. Let mode be init["mode"] if it exists, and fallbackMode otherwise. + let mode + if (init.mode !== undefined) { + mode = init.mode + } else { + mode = fallbackMode + } + + // 17. If mode is "navigate", then throw a TypeError. + if (mode === 'navigate') { + throw webidl.errors.exception({ + header: 'Request constructor', + message: 'invalid request mode navigate.' + }) + } + + // 18. If mode is non-null, set request’s mode to mode. + if (mode != null) { + request.mode = mode + } + + // 19. If init["credentials"] exists, then set request’s credentials mode + // to it. + if (init.credentials !== undefined) { + request.credentials = init.credentials + } + + // 18. If init["cache"] exists, then set request’s cache mode to it. + if (init.cache !== undefined) { + request.cache = init.cache + } + + // 21. If request’s cache mode is "only-if-cached" and request’s mode is + // not "same-origin", then throw a TypeError. + if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') { + throw new TypeError( + "'only-if-cached' can be set only with 'same-origin' mode" + ) + } + + // 22. If init["redirect"] exists, then set request’s redirect mode to it. + if (init.redirect !== undefined) { + request.redirect = init.redirect + } + + // 23. If init["integrity"] exists, then set request’s integrity metadata to it. + if (init.integrity != null) { + request.integrity = String(init.integrity) + } + + // 24. If init["keepalive"] exists, then set request’s keepalive to it. + if (init.keepalive !== undefined) { + request.keepalive = Boolean(init.keepalive) + } + + // 25. If init["method"] exists, then: + if (init.method !== undefined) { + // 1. Let method be init["method"]. + let method = init.method + + // 2. If method is not a method or method is a forbidden method, then + // throw a TypeError. + if (!isValidHTTPToken(method)) { + throw new TypeError(`'${method}' is not a valid HTTP method.`) + } + + if (forbiddenMethodsSet.has(method.toUpperCase())) { + throw new TypeError(`'${method}' HTTP method is unsupported.`) + } + + // 3. Normalize method. + method = normalizeMethodRecord[method] ?? normalizeMethod(method) + + // 4. Set request’s method to method. + request.method = method + } + + // 26. If init["signal"] exists, then set signal to it. + if (init.signal !== undefined) { + signal = init.signal + } + + // 27. Set this’s request to request. + this[kState] = request + + // 28. Set this’s signal to a new AbortSignal object with this’s relevant + // Realm. + // TODO: could this be simplified with AbortSignal.any + // (https://dom.spec.whatwg.org/#dom-abortsignal-any) + const ac = new AbortController() + this[kSignal] = ac.signal + this[kSignal][kRealm] = this[kRealm] + + // 29. If signal is not null, then make this’s signal follow signal. + if (signal != null) { + if ( + !signal || + typeof signal.aborted !== 'boolean' || + typeof signal.addEventListener !== 'function' + ) { + throw new TypeError( + "Failed to construct 'Request': member signal is not of type AbortSignal." + ) + } + + if (signal.aborted) { + ac.abort(signal.reason) + } else { + // Keep a strong ref to ac while request object + // is alive. This is needed to prevent AbortController + // from being prematurely garbage collected. + // See, https://github.com/nodejs/undici/issues/1926. + this[kAbortController] = ac + + const acRef = new WeakRef(ac) + const abort = function () { + const ac = acRef.deref() + if (ac !== undefined) { + ac.abort(this.reason) + } + } + + // Third-party AbortControllers may not work with these. + // See, https://github.com/nodejs/undici/pull/1910#issuecomment-1464495619. + try { + // If the max amount of listeners is equal to the default, increase it + // This is only available in node >= v19.9.0 + if (typeof getMaxListeners === 'function' && getMaxListeners(signal) === defaultMaxListeners) { + setMaxListeners(100, signal) + } else if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) { + setMaxListeners(100, signal) + } + } catch {} + + util.addAbortListener(signal, abort) + requestFinalizer.register(ac, { signal, abort }) + } + } + + // 30. Set this’s headers to a new Headers object with this’s relevant + // Realm, whose header list is request’s header list and guard is + // "request". + this[kHeaders] = new Headers(kConstruct) + this[kHeaders][kHeadersList] = request.headersList + this[kHeaders][kGuard] = 'request' + this[kHeaders][kRealm] = this[kRealm] + + // 31. If this’s request’s mode is "no-cors", then: + if (mode === 'no-cors') { + // 1. If this’s request’s method is not a CORS-safelisted method, + // then throw a TypeError. + if (!corsSafeListedMethodsSet.has(request.method)) { + throw new TypeError( + `'${request.method} is unsupported in no-cors mode.` + ) + } + + // 2. Set this’s headers’s guard to "request-no-cors". + this[kHeaders][kGuard] = 'request-no-cors' + } + + // 32. If init is not empty, then: + if (initHasKey) { + /** @type {HeadersList} */ + const headersList = this[kHeaders][kHeadersList] + // 1. Let headers be a copy of this’s headers and its associated header + // list. + // 2. If init["headers"] exists, then set headers to init["headers"]. + const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList) + + // 3. Empty this’s headers’s header list. + headersList.clear() + + // 4. If headers is a Headers object, then for each header in its header + // list, append header’s name/header’s value to this’s headers. + if (headers instanceof HeadersList) { + for (const [key, val] of headers) { + headersList.append(key, val) + } + // Note: Copy the `set-cookie` meta-data. + headersList.cookies = headers.cookies + } else { + // 5. Otherwise, fill this’s headers with headers. + fillHeaders(this[kHeaders], headers) + } + } + + // 33. Let inputBody be input’s request’s body if input is a Request + // object; otherwise null. + const inputBody = input instanceof Request ? input[kState].body : null + + // 34. If either init["body"] exists and is non-null or inputBody is + // non-null, and request’s method is `GET` or `HEAD`, then throw a + // TypeError. + if ( + (init.body != null || inputBody != null) && + (request.method === 'GET' || request.method === 'HEAD') + ) { + throw new TypeError('Request with GET/HEAD method cannot have body.') + } + + // 35. Let initBody be null. + let initBody = null + + // 36. If init["body"] exists and is non-null, then: + if (init.body != null) { + // 1. Let Content-Type be null. + // 2. Set initBody and Content-Type to the result of extracting + // init["body"], with keepalive set to request’s keepalive. + const [extractedBody, contentType] = extractBody( + init.body, + request.keepalive + ) + initBody = extractedBody + + // 3, If Content-Type is non-null and this’s headers’s header list does + // not contain `Content-Type`, then append `Content-Type`/Content-Type to + // this’s headers. + if (contentType && !this[kHeaders][kHeadersList].contains('content-type')) { + this[kHeaders].append('content-type', contentType) + } + } + + // 37. Let inputOrInitBody be initBody if it is non-null; otherwise + // inputBody. + const inputOrInitBody = initBody ?? inputBody + + // 38. If inputOrInitBody is non-null and inputOrInitBody’s source is + // null, then: + if (inputOrInitBody != null && inputOrInitBody.source == null) { + // 1. If initBody is non-null and init["duplex"] does not exist, + // then throw a TypeError. + if (initBody != null && init.duplex == null) { + throw new TypeError('RequestInit: duplex option is required when sending a body.') + } + + // 2. If this’s request’s mode is neither "same-origin" nor "cors", + // then throw a TypeError. + if (request.mode !== 'same-origin' && request.mode !== 'cors') { + throw new TypeError( + 'If request is made from ReadableStream, mode should be "same-origin" or "cors"' + ) + } + + // 3. Set this’s request’s use-CORS-preflight flag. + request.useCORSPreflightFlag = true + } + + // 39. Let finalBody be inputOrInitBody. + let finalBody = inputOrInitBody + + // 40. If initBody is null and inputBody is non-null, then: + if (initBody == null && inputBody != null) { + // 1. If input is unusable, then throw a TypeError. + if (util.isDisturbed(inputBody.stream) || inputBody.stream.locked) { + throw new TypeError( + 'Cannot construct a Request with a Request object that has already been used.' + ) + } + + // 2. Set finalBody to the result of creating a proxy for inputBody. + if (!TransformStream) { + TransformStream = (__nccwpck_require__(5356).TransformStream) + } + + // https://streams.spec.whatwg.org/#readablestream-create-a-proxy + const identityTransform = new TransformStream() + inputBody.stream.pipeThrough(identityTransform) + finalBody = { + source: inputBody.source, + length: inputBody.length, + stream: identityTransform.readable + } + } + + // 41. Set this’s request’s body to finalBody. + this[kState].body = finalBody + } + + // Returns request’s HTTP method, which is "GET" by default. + get method () { + webidl.brandCheck(this, Request) + + // The method getter steps are to return this’s request’s method. + return this[kState].method + } + + // Returns the URL of request as a string. + get url () { + webidl.brandCheck(this, Request) + + // The url getter steps are to return this’s request’s URL, serialized. + return URLSerializer(this[kState].url) + } + + // Returns a Headers object consisting of the headers associated with request. + // Note that headers added in the network layer by the user agent will not + // be accounted for in this object, e.g., the "Host" header. + get headers () { + webidl.brandCheck(this, Request) + + // The headers getter steps are to return this’s headers. + return this[kHeaders] + } + + // Returns the kind of resource requested by request, e.g., "document" + // or "script". + get destination () { + webidl.brandCheck(this, Request) + + // The destination getter are to return this’s request’s destination. + return this[kState].destination + } + + // Returns the referrer of request. Its value can be a same-origin URL if + // explicitly set in init, the empty string to indicate no referrer, and + // "about:client" when defaulting to the global’s default. This is used + // during fetching to determine the value of the `Referer` header of the + // request being made. + get referrer () { + webidl.brandCheck(this, Request) + + // 1. If this’s request’s referrer is "no-referrer", then return the + // empty string. + if (this[kState].referrer === 'no-referrer') { + return '' + } + + // 2. If this’s request’s referrer is "client", then return + // "about:client". + if (this[kState].referrer === 'client') { + return 'about:client' + } + + // Return this’s request’s referrer, serialized. + return this[kState].referrer.toString() + } + + // Returns the referrer policy associated with request. + // This is used during fetching to compute the value of the request’s + // referrer. + get referrerPolicy () { + webidl.brandCheck(this, Request) + + // The referrerPolicy getter steps are to return this’s request’s referrer policy. + return this[kState].referrerPolicy + } + + // Returns the mode associated with request, which is a string indicating + // whether the request will use CORS, or will be restricted to same-origin + // URLs. + get mode () { + webidl.brandCheck(this, Request) + + // The mode getter steps are to return this’s request’s mode. + return this[kState].mode + } + + // Returns the credentials mode associated with request, + // which is a string indicating whether credentials will be sent with the + // request always, never, or only when sent to a same-origin URL. + get credentials () { + // The credentials getter steps are to return this’s request’s credentials mode. + return this[kState].credentials + } + + // Returns the cache mode associated with request, + // which is a string indicating how the request will + // interact with the browser’s cache when fetching. + get cache () { + webidl.brandCheck(this, Request) + + // The cache getter steps are to return this’s request’s cache mode. + return this[kState].cache + } + + // Returns the redirect mode associated with request, + // which is a string indicating how redirects for the + // request will be handled during fetching. A request + // will follow redirects by default. + get redirect () { + webidl.brandCheck(this, Request) + + // The redirect getter steps are to return this’s request’s redirect mode. + return this[kState].redirect + } + + // Returns request’s subresource integrity metadata, which is a + // cryptographic hash of the resource being fetched. Its value + // consists of multiple hashes separated by whitespace. [SRI] + get integrity () { + webidl.brandCheck(this, Request) + + // The integrity getter steps are to return this’s request’s integrity + // metadata. + return this[kState].integrity + } + + // Returns a boolean indicating whether or not request can outlive the + // global in which it was created. + get keepalive () { + webidl.brandCheck(this, Request) + + // The keepalive getter steps are to return this’s request’s keepalive. + return this[kState].keepalive + } + + // Returns a boolean indicating whether or not request is for a reload + // navigation. + get isReloadNavigation () { + webidl.brandCheck(this, Request) + + // The isReloadNavigation getter steps are to return true if this’s + // request’s reload-navigation flag is set; otherwise false. + return this[kState].reloadNavigation + } + + // Returns a boolean indicating whether or not request is for a history + // navigation (a.k.a. back-foward navigation). + get isHistoryNavigation () { + webidl.brandCheck(this, Request) + + // The isHistoryNavigation getter steps are to return true if this’s request’s + // history-navigation flag is set; otherwise false. + return this[kState].historyNavigation + } + + // Returns the signal associated with request, which is an AbortSignal + // object indicating whether or not request has been aborted, and its + // abort event handler. + get signal () { + webidl.brandCheck(this, Request) + + // The signal getter steps are to return this’s signal. + return this[kSignal] + } + + get body () { + webidl.brandCheck(this, Request) + + return this[kState].body ? this[kState].body.stream : null + } + + get bodyUsed () { + webidl.brandCheck(this, Request) + + return !!this[kState].body && util.isDisturbed(this[kState].body.stream) + } + + get duplex () { + webidl.brandCheck(this, Request) + + return 'half' + } + + // Returns a clone of request. + clone () { + webidl.brandCheck(this, Request) + + // 1. If this is unusable, then throw a TypeError. + if (this.bodyUsed || this.body?.locked) { + throw new TypeError('unusable') + } + + // 2. Let clonedRequest be the result of cloning this’s request. + const clonedRequest = cloneRequest(this[kState]) + + // 3. Let clonedRequestObject be the result of creating a Request object, + // given clonedRequest, this’s headers’s guard, and this’s relevant Realm. + const clonedRequestObject = new Request(kConstruct) + clonedRequestObject[kState] = clonedRequest + clonedRequestObject[kRealm] = this[kRealm] + clonedRequestObject[kHeaders] = new Headers(kConstruct) + clonedRequestObject[kHeaders][kHeadersList] = clonedRequest.headersList + clonedRequestObject[kHeaders][kGuard] = this[kHeaders][kGuard] + clonedRequestObject[kHeaders][kRealm] = this[kHeaders][kRealm] + + // 4. Make clonedRequestObject’s signal follow this’s signal. + const ac = new AbortController() + if (this.signal.aborted) { + ac.abort(this.signal.reason) + } else { + util.addAbortListener( + this.signal, + () => { + ac.abort(this.signal.reason) + } + ) + } + clonedRequestObject[kSignal] = ac.signal + + // 4. Return clonedRequestObject. + return clonedRequestObject + } +} + +mixinBody(Request) + +function makeRequest (init) { + // https://fetch.spec.whatwg.org/#requests + const request = { + method: 'GET', + localURLsOnly: false, + unsafeRequest: false, + body: null, + client: null, + reservedClient: null, + replacesClientId: '', + window: 'client', + keepalive: false, + serviceWorkers: 'all', + initiator: '', + destination: '', + priority: null, + origin: 'client', + policyContainer: 'client', + referrer: 'client', + referrerPolicy: '', + mode: 'no-cors', + useCORSPreflightFlag: false, + credentials: 'same-origin', + useCredentials: false, + cache: 'default', + redirect: 'follow', + integrity: '', + cryptoGraphicsNonceMetadata: '', + parserMetadata: '', + reloadNavigation: false, + historyNavigation: false, + userActivation: false, + taintedOrigin: false, + redirectCount: 0, + responseTainting: 'basic', + preventNoCacheCacheControlHeaderModification: false, + done: false, + timingAllowFailed: false, + ...init, + headersList: init.headersList + ? new HeadersList(init.headersList) + : new HeadersList() + } + request.url = request.urlList[0] + return request +} + +// https://fetch.spec.whatwg.org/#concept-request-clone +function cloneRequest (request) { + // To clone a request request, run these steps: + + // 1. Let newRequest be a copy of request, except for its body. + const newRequest = makeRequest({ ...request, body: null }) + + // 2. If request’s body is non-null, set newRequest’s body to the + // result of cloning request’s body. + if (request.body != null) { + newRequest.body = cloneBody(request.body) + } + + // 3. Return newRequest. + return newRequest +} + +Object.defineProperties(Request.prototype, { + method: kEnumerableProperty, + url: kEnumerableProperty, + headers: kEnumerableProperty, + redirect: kEnumerableProperty, + clone: kEnumerableProperty, + signal: kEnumerableProperty, + duplex: kEnumerableProperty, + destination: kEnumerableProperty, + body: kEnumerableProperty, + bodyUsed: kEnumerableProperty, + isHistoryNavigation: kEnumerableProperty, + isReloadNavigation: kEnumerableProperty, + keepalive: kEnumerableProperty, + integrity: kEnumerableProperty, + cache: kEnumerableProperty, + credentials: kEnumerableProperty, + attribute: kEnumerableProperty, + referrerPolicy: kEnumerableProperty, + referrer: kEnumerableProperty, + mode: kEnumerableProperty, + [Symbol.toStringTag]: { + value: 'Request', + configurable: true + } +}) + +webidl.converters.Request = webidl.interfaceConverter( + Request +) + +// https://fetch.spec.whatwg.org/#requestinfo +webidl.converters.RequestInfo = function (V) { + if (typeof V === 'string') { + return webidl.converters.USVString(V) + } + + if (V instanceof Request) { + return webidl.converters.Request(V) + } + + return webidl.converters.USVString(V) +} + +webidl.converters.AbortSignal = webidl.interfaceConverter( + AbortSignal +) + +// https://fetch.spec.whatwg.org/#requestinit +webidl.converters.RequestInit = webidl.dictionaryConverter([ + { + key: 'method', + converter: webidl.converters.ByteString + }, + { + key: 'headers', + converter: webidl.converters.HeadersInit + }, + { + key: 'body', + converter: webidl.nullableConverter( + webidl.converters.BodyInit + ) + }, + { + key: 'referrer', + converter: webidl.converters.USVString + }, + { + key: 'referrerPolicy', + converter: webidl.converters.DOMString, + // https://w3c.github.io/webappsec-referrer-policy/#referrer-policy + allowedValues: referrerPolicy + }, + { + key: 'mode', + converter: webidl.converters.DOMString, + // https://fetch.spec.whatwg.org/#concept-request-mode + allowedValues: requestMode + }, + { + key: 'credentials', + converter: webidl.converters.DOMString, + // https://fetch.spec.whatwg.org/#requestcredentials + allowedValues: requestCredentials + }, + { + key: 'cache', + converter: webidl.converters.DOMString, + // https://fetch.spec.whatwg.org/#requestcache + allowedValues: requestCache + }, + { + key: 'redirect', + converter: webidl.converters.DOMString, + // https://fetch.spec.whatwg.org/#requestredirect + allowedValues: requestRedirect + }, + { + key: 'integrity', + converter: webidl.converters.DOMString + }, + { + key: 'keepalive', + converter: webidl.converters.boolean + }, + { + key: 'signal', + converter: webidl.nullableConverter( + (signal) => webidl.converters.AbortSignal( + signal, + { strict: false } + ) + ) + }, + { + key: 'window', + converter: webidl.converters.any + }, + { + key: 'duplex', + converter: webidl.converters.DOMString, + allowedValues: requestDuplex + } +]) + +module.exports = { Request, makeRequest } + + +/***/ }), + +/***/ 7823: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { Headers, HeadersList, fill } = __nccwpck_require__(554) +const { extractBody, cloneBody, mixinBody } = __nccwpck_require__(1472) +const util = __nccwpck_require__(3983) +const { kEnumerableProperty } = util +const { + isValidReasonPhrase, + isCancelled, + isAborted, + isBlobLike, + serializeJavascriptValueToJSONString, + isErrorLike, + isomorphicEncode +} = __nccwpck_require__(2538) +const { + redirectStatusSet, + nullBodyStatus, + DOMException +} = __nccwpck_require__(1037) +const { kState, kHeaders, kGuard, kRealm } = __nccwpck_require__(5861) +const { webidl } = __nccwpck_require__(1744) +const { FormData } = __nccwpck_require__(2015) +const { getGlobalOrigin } = __nccwpck_require__(1246) +const { URLSerializer } = __nccwpck_require__(685) +const { kHeadersList, kConstruct } = __nccwpck_require__(2785) +const assert = __nccwpck_require__(9491) +const { types } = __nccwpck_require__(3837) + +const ReadableStream = globalThis.ReadableStream || (__nccwpck_require__(5356).ReadableStream) +const textEncoder = new TextEncoder('utf-8') + +// https://fetch.spec.whatwg.org/#response-class +class Response { + // Creates network error Response. + static error () { + // TODO + const relevantRealm = { settingsObject: {} } + + // The static error() method steps are to return the result of creating a + // Response object, given a new network error, "immutable", and this’s + // relevant Realm. + const responseObject = new Response() + responseObject[kState] = makeNetworkError() + responseObject[kRealm] = relevantRealm + responseObject[kHeaders][kHeadersList] = responseObject[kState].headersList + responseObject[kHeaders][kGuard] = 'immutable' + responseObject[kHeaders][kRealm] = relevantRealm + return responseObject + } + + // https://fetch.spec.whatwg.org/#dom-response-json + static json (data, init = {}) { + webidl.argumentLengthCheck(arguments, 1, { header: 'Response.json' }) + + if (init !== null) { + init = webidl.converters.ResponseInit(init) + } + + // 1. Let bytes the result of running serialize a JavaScript value to JSON bytes on data. + const bytes = textEncoder.encode( + serializeJavascriptValueToJSONString(data) + ) + + // 2. Let body be the result of extracting bytes. + const body = extractBody(bytes) + + // 3. Let responseObject be the result of creating a Response object, given a new response, + // "response", and this’s relevant Realm. + const relevantRealm = { settingsObject: {} } + const responseObject = new Response() + responseObject[kRealm] = relevantRealm + responseObject[kHeaders][kGuard] = 'response' + responseObject[kHeaders][kRealm] = relevantRealm + + // 4. Perform initialize a response given responseObject, init, and (body, "application/json"). + initializeResponse(responseObject, init, { body: body[0], type: 'application/json' }) + + // 5. Return responseObject. + return responseObject + } + + // Creates a redirect Response that redirects to url with status status. + static redirect (url, status = 302) { + const relevantRealm = { settingsObject: {} } + + webidl.argumentLengthCheck(arguments, 1, { header: 'Response.redirect' }) + + url = webidl.converters.USVString(url) + status = webidl.converters['unsigned short'](status) + + // 1. Let parsedURL be the result of parsing url with current settings + // object’s API base URL. + // 2. If parsedURL is failure, then throw a TypeError. + // TODO: base-URL? + let parsedURL + try { + parsedURL = new URL(url, getGlobalOrigin()) + } catch (err) { + throw Object.assign(new TypeError('Failed to parse URL from ' + url), { + cause: err + }) + } + + // 3. If status is not a redirect status, then throw a RangeError. + if (!redirectStatusSet.has(status)) { + throw new RangeError('Invalid status code ' + status) + } + + // 4. Let responseObject be the result of creating a Response object, + // given a new response, "immutable", and this’s relevant Realm. + const responseObject = new Response() + responseObject[kRealm] = relevantRealm + responseObject[kHeaders][kGuard] = 'immutable' + responseObject[kHeaders][kRealm] = relevantRealm + + // 5. Set responseObject’s response’s status to status. + responseObject[kState].status = status + + // 6. Let value be parsedURL, serialized and isomorphic encoded. + const value = isomorphicEncode(URLSerializer(parsedURL)) + + // 7. Append `Location`/value to responseObject’s response’s header list. + responseObject[kState].headersList.append('location', value) + + // 8. Return responseObject. + return responseObject + } + + // https://fetch.spec.whatwg.org/#dom-response + constructor (body = null, init = {}) { + if (body !== null) { + body = webidl.converters.BodyInit(body) + } + + init = webidl.converters.ResponseInit(init) + + // TODO + this[kRealm] = { settingsObject: {} } + + // 1. Set this’s response to a new response. + this[kState] = makeResponse({}) + + // 2. Set this’s headers to a new Headers object with this’s relevant + // Realm, whose header list is this’s response’s header list and guard + // is "response". + this[kHeaders] = new Headers(kConstruct) + this[kHeaders][kGuard] = 'response' + this[kHeaders][kHeadersList] = this[kState].headersList + this[kHeaders][kRealm] = this[kRealm] + + // 3. Let bodyWithType be null. + let bodyWithType = null + + // 4. If body is non-null, then set bodyWithType to the result of extracting body. + if (body != null) { + const [extractedBody, type] = extractBody(body) + bodyWithType = { body: extractedBody, type } + } + + // 5. Perform initialize a response given this, init, and bodyWithType. + initializeResponse(this, init, bodyWithType) + } + + // Returns response’s type, e.g., "cors". + get type () { + webidl.brandCheck(this, Response) + + // The type getter steps are to return this’s response’s type. + return this[kState].type + } + + // Returns response’s URL, if it has one; otherwise the empty string. + get url () { + webidl.brandCheck(this, Response) + + const urlList = this[kState].urlList + + // The url getter steps are to return the empty string if this’s + // response’s URL is null; otherwise this’s response’s URL, + // serialized with exclude fragment set to true. + const url = urlList[urlList.length - 1] ?? null + + if (url === null) { + return '' + } + + return URLSerializer(url, true) + } + + // Returns whether response was obtained through a redirect. + get redirected () { + webidl.brandCheck(this, Response) + + // The redirected getter steps are to return true if this’s response’s URL + // list has more than one item; otherwise false. + return this[kState].urlList.length > 1 + } + + // Returns response’s status. + get status () { + webidl.brandCheck(this, Response) + + // The status getter steps are to return this’s response’s status. + return this[kState].status + } + + // Returns whether response’s status is an ok status. + get ok () { + webidl.brandCheck(this, Response) + + // The ok getter steps are to return true if this’s response’s status is an + // ok status; otherwise false. + return this[kState].status >= 200 && this[kState].status <= 299 + } + + // Returns response’s status message. + get statusText () { + webidl.brandCheck(this, Response) + + // The statusText getter steps are to return this’s response’s status + // message. + return this[kState].statusText + } + + // Returns response’s headers as Headers. + get headers () { + webidl.brandCheck(this, Response) + + // The headers getter steps are to return this’s headers. + return this[kHeaders] + } + + get body () { + webidl.brandCheck(this, Response) + + return this[kState].body ? this[kState].body.stream : null + } + + get bodyUsed () { + webidl.brandCheck(this, Response) + + return !!this[kState].body && util.isDisturbed(this[kState].body.stream) + } + + // Returns a clone of response. + clone () { + webidl.brandCheck(this, Response) + + // 1. If this is unusable, then throw a TypeError. + if (this.bodyUsed || (this.body && this.body.locked)) { + throw webidl.errors.exception({ + header: 'Response.clone', + message: 'Body has already been consumed.' + }) + } + + // 2. Let clonedResponse be the result of cloning this’s response. + const clonedResponse = cloneResponse(this[kState]) + + // 3. Return the result of creating a Response object, given + // clonedResponse, this’s headers’s guard, and this’s relevant Realm. + const clonedResponseObject = new Response() + clonedResponseObject[kState] = clonedResponse + clonedResponseObject[kRealm] = this[kRealm] + clonedResponseObject[kHeaders][kHeadersList] = clonedResponse.headersList + clonedResponseObject[kHeaders][kGuard] = this[kHeaders][kGuard] + clonedResponseObject[kHeaders][kRealm] = this[kHeaders][kRealm] + + return clonedResponseObject + } +} + +mixinBody(Response) + +Object.defineProperties(Response.prototype, { + type: kEnumerableProperty, + url: kEnumerableProperty, + status: kEnumerableProperty, + ok: kEnumerableProperty, + redirected: kEnumerableProperty, + statusText: kEnumerableProperty, + headers: kEnumerableProperty, + clone: kEnumerableProperty, + body: kEnumerableProperty, + bodyUsed: kEnumerableProperty, + [Symbol.toStringTag]: { + value: 'Response', + configurable: true + } +}) + +Object.defineProperties(Response, { + json: kEnumerableProperty, + redirect: kEnumerableProperty, + error: kEnumerableProperty +}) + +// https://fetch.spec.whatwg.org/#concept-response-clone +function cloneResponse (response) { + // To clone a response response, run these steps: + + // 1. If response is a filtered response, then return a new identical + // filtered response whose internal response is a clone of response’s + // internal response. + if (response.internalResponse) { + return filterResponse( + cloneResponse(response.internalResponse), + response.type + ) + } + + // 2. Let newResponse be a copy of response, except for its body. + const newResponse = makeResponse({ ...response, body: null }) + + // 3. If response’s body is non-null, then set newResponse’s body to the + // result of cloning response’s body. + if (response.body != null) { + newResponse.body = cloneBody(response.body) + } + + // 4. Return newResponse. + return newResponse +} + +function makeResponse (init) { + return { + aborted: false, + rangeRequested: false, + timingAllowPassed: false, + requestIncludesCredentials: false, + type: 'default', + status: 200, + timingInfo: null, + cacheState: '', + statusText: '', + ...init, + headersList: init.headersList + ? new HeadersList(init.headersList) + : new HeadersList(), + urlList: init.urlList ? [...init.urlList] : [] + } +} + +function makeNetworkError (reason) { + const isError = isErrorLike(reason) + return makeResponse({ + type: 'error', + status: 0, + error: isError + ? reason + : new Error(reason ? String(reason) : reason), + aborted: reason && reason.name === 'AbortError' + }) +} + +function makeFilteredResponse (response, state) { + state = { + internalResponse: response, + ...state + } + + return new Proxy(response, { + get (target, p) { + return p in state ? state[p] : target[p] + }, + set (target, p, value) { + assert(!(p in state)) + target[p] = value + return true + } + }) +} + +// https://fetch.spec.whatwg.org/#concept-filtered-response +function filterResponse (response, type) { + // Set response to the following filtered response with response as its + // internal response, depending on request’s response tainting: + if (type === 'basic') { + // A basic filtered response is a filtered response whose type is "basic" + // and header list excludes any headers in internal response’s header list + // whose name is a forbidden response-header name. + + // Note: undici does not implement forbidden response-header names + return makeFilteredResponse(response, { + type: 'basic', + headersList: response.headersList + }) + } else if (type === 'cors') { + // A CORS filtered response is a filtered response whose type is "cors" + // and header list excludes any headers in internal response’s header + // list whose name is not a CORS-safelisted response-header name, given + // internal response’s CORS-exposed header-name list. + + // Note: undici does not implement CORS-safelisted response-header names + return makeFilteredResponse(response, { + type: 'cors', + headersList: response.headersList + }) + } else if (type === 'opaque') { + // An opaque filtered response is a filtered response whose type is + // "opaque", URL list is the empty list, status is 0, status message + // is the empty byte sequence, header list is empty, and body is null. + + return makeFilteredResponse(response, { + type: 'opaque', + urlList: Object.freeze([]), + status: 0, + statusText: '', + body: null + }) + } else if (type === 'opaqueredirect') { + // An opaque-redirect filtered response is a filtered response whose type + // is "opaqueredirect", status is 0, status message is the empty byte + // sequence, header list is empty, and body is null. + + return makeFilteredResponse(response, { + type: 'opaqueredirect', + status: 0, + statusText: '', + headersList: [], + body: null + }) + } else { + assert(false) + } +} + +// https://fetch.spec.whatwg.org/#appropriate-network-error +function makeAppropriateNetworkError (fetchParams, err = null) { + // 1. Assert: fetchParams is canceled. + assert(isCancelled(fetchParams)) + + // 2. Return an aborted network error if fetchParams is aborted; + // otherwise return a network error. + return isAborted(fetchParams) + ? makeNetworkError(Object.assign(new DOMException('The operation was aborted.', 'AbortError'), { cause: err })) + : makeNetworkError(Object.assign(new DOMException('Request was cancelled.'), { cause: err })) +} + +// https://whatpr.org/fetch/1392.html#initialize-a-response +function initializeResponse (response, init, body) { + // 1. If init["status"] is not in the range 200 to 599, inclusive, then + // throw a RangeError. + if (init.status !== null && (init.status < 200 || init.status > 599)) { + throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.') + } + + // 2. If init["statusText"] does not match the reason-phrase token production, + // then throw a TypeError. + if ('statusText' in init && init.statusText != null) { + // See, https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2: + // reason-phrase = *( HTAB / SP / VCHAR / obs-text ) + if (!isValidReasonPhrase(String(init.statusText))) { + throw new TypeError('Invalid statusText') + } + } + + // 3. Set response’s response’s status to init["status"]. + if ('status' in init && init.status != null) { + response[kState].status = init.status + } + + // 4. Set response’s response’s status message to init["statusText"]. + if ('statusText' in init && init.statusText != null) { + response[kState].statusText = init.statusText + } + + // 5. If init["headers"] exists, then fill response’s headers with init["headers"]. + if ('headers' in init && init.headers != null) { + fill(response[kHeaders], init.headers) + } + + // 6. If body was given, then: + if (body) { + // 1. If response's status is a null body status, then throw a TypeError. + if (nullBodyStatus.includes(response.status)) { + throw webidl.errors.exception({ + header: 'Response constructor', + message: 'Invalid response status code ' + response.status + }) + } + + // 2. Set response's body to body's body. + response[kState].body = body.body + + // 3. If body's type is non-null and response's header list does not contain + // `Content-Type`, then append (`Content-Type`, body's type) to response's header list. + if (body.type != null && !response[kState].headersList.contains('Content-Type')) { + response[kState].headersList.append('content-type', body.type) + } + } +} + +webidl.converters.ReadableStream = webidl.interfaceConverter( + ReadableStream +) + +webidl.converters.FormData = webidl.interfaceConverter( + FormData +) + +webidl.converters.URLSearchParams = webidl.interfaceConverter( + URLSearchParams +) + +// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit +webidl.converters.XMLHttpRequestBodyInit = function (V) { + if (typeof V === 'string') { + return webidl.converters.USVString(V) + } + + if (isBlobLike(V)) { + return webidl.converters.Blob(V, { strict: false }) + } + + if (types.isArrayBuffer(V) || types.isTypedArray(V) || types.isDataView(V)) { + return webidl.converters.BufferSource(V) + } + + if (util.isFormDataLike(V)) { + return webidl.converters.FormData(V, { strict: false }) + } + + if (V instanceof URLSearchParams) { + return webidl.converters.URLSearchParams(V) + } + + return webidl.converters.DOMString(V) +} + +// https://fetch.spec.whatwg.org/#bodyinit +webidl.converters.BodyInit = function (V) { + if (V instanceof ReadableStream) { + return webidl.converters.ReadableStream(V) + } + + // Note: the spec doesn't include async iterables, + // this is an undici extension. + if (V?.[Symbol.asyncIterator]) { + return V + } + + return webidl.converters.XMLHttpRequestBodyInit(V) +} + +webidl.converters.ResponseInit = webidl.dictionaryConverter([ + { + key: 'status', + converter: webidl.converters['unsigned short'], + defaultValue: 200 + }, + { + key: 'statusText', + converter: webidl.converters.ByteString, + defaultValue: '' + }, + { + key: 'headers', + converter: webidl.converters.HeadersInit + } +]) + +module.exports = { + makeNetworkError, + makeResponse, + makeAppropriateNetworkError, + filterResponse, + Response, + cloneResponse +} + + +/***/ }), + +/***/ 5861: +/***/ ((module) => { + +"use strict"; + + +module.exports = { + kUrl: Symbol('url'), + kHeaders: Symbol('headers'), + kSignal: Symbol('signal'), + kState: Symbol('state'), + kGuard: Symbol('guard'), + kRealm: Symbol('realm') +} + + +/***/ }), + +/***/ 2538: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = __nccwpck_require__(1037) +const { getGlobalOrigin } = __nccwpck_require__(1246) +const { performance } = __nccwpck_require__(4074) +const { isBlobLike, toUSVString, ReadableStreamFrom } = __nccwpck_require__(3983) +const assert = __nccwpck_require__(9491) +const { isUint8Array } = __nccwpck_require__(4978) + +let supportedHashes = [] + +// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable +/** @type {import('crypto')|undefined} */ +let crypto + +try { + crypto = __nccwpck_require__(6113) + const possibleRelevantHashes = ['sha256', 'sha384', 'sha512'] + supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash)) +/* c8 ignore next 3 */ +} catch { +} + +function responseURL (response) { + // https://fetch.spec.whatwg.org/#responses + // A response has an associated URL. It is a pointer to the last URL + // in response’s URL list and null if response’s URL list is empty. + const urlList = response.urlList + const length = urlList.length + return length === 0 ? null : urlList[length - 1].toString() +} + +// https://fetch.spec.whatwg.org/#concept-response-location-url +function responseLocationURL (response, requestFragment) { + // 1. If response’s status is not a redirect status, then return null. + if (!redirectStatusSet.has(response.status)) { + return null + } + + // 2. Let location be the result of extracting header list values given + // `Location` and response’s header list. + let location = response.headersList.get('location') + + // 3. If location is a header value, then set location to the result of + // parsing location with response’s URL. + if (location !== null && isValidHeaderValue(location)) { + location = new URL(location, responseURL(response)) + } + + // 4. If location is a URL whose fragment is null, then set location’s + // fragment to requestFragment. + if (location && !location.hash) { + location.hash = requestFragment + } + + // 5. Return location. + return location +} + +/** @returns {URL} */ +function requestCurrentURL (request) { + return request.urlList[request.urlList.length - 1] +} + +function requestBadPort (request) { + // 1. Let url be request’s current URL. + const url = requestCurrentURL(request) + + // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port, + // then return blocked. + if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) { + return 'blocked' + } + + // 3. Return allowed. + return 'allowed' +} + +function isErrorLike (object) { + return object instanceof Error || ( + object?.constructor?.name === 'Error' || + object?.constructor?.name === 'DOMException' + ) +} + +// Check whether |statusText| is a ByteString and +// matches the Reason-Phrase token production. +// RFC 2616: https://tools.ietf.org/html/rfc2616 +// RFC 7230: https://tools.ietf.org/html/rfc7230 +// "reason-phrase = *( HTAB / SP / VCHAR / obs-text )" +// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116 +function isValidReasonPhrase (statusText) { + for (let i = 0; i < statusText.length; ++i) { + const c = statusText.charCodeAt(i) + if ( + !( + ( + c === 0x09 || // HTAB + (c >= 0x20 && c <= 0x7e) || // SP / VCHAR + (c >= 0x80 && c <= 0xff) + ) // obs-text + ) + ) { + return false + } + } + return true +} + +/** + * @see https://tools.ietf.org/html/rfc7230#section-3.2.6 + * @param {number} c + */ +function isTokenCharCode (c) { + switch (c) { + case 0x22: + case 0x28: + case 0x29: + case 0x2c: + case 0x2f: + case 0x3a: + case 0x3b: + case 0x3c: + case 0x3d: + case 0x3e: + case 0x3f: + case 0x40: + case 0x5b: + case 0x5c: + case 0x5d: + case 0x7b: + case 0x7d: + // DQUOTE and "(),/:;<=>?@[\]{}" + return false + default: + // VCHAR %x21-7E + return c >= 0x21 && c <= 0x7e + } +} + +/** + * @param {string} characters + */ +function isValidHTTPToken (characters) { + if (characters.length === 0) { + return false + } + for (let i = 0; i < characters.length; ++i) { + if (!isTokenCharCode(characters.charCodeAt(i))) { + return false + } + } + return true +} + +/** + * @see https://fetch.spec.whatwg.org/#header-name + * @param {string} potentialValue + */ +function isValidHeaderName (potentialValue) { + return isValidHTTPToken(potentialValue) +} + +/** + * @see https://fetch.spec.whatwg.org/#header-value + * @param {string} potentialValue + */ +function isValidHeaderValue (potentialValue) { + // - Has no leading or trailing HTTP tab or space bytes. + // - Contains no 0x00 (NUL) or HTTP newline bytes. + if ( + potentialValue.startsWith('\t') || + potentialValue.startsWith(' ') || + potentialValue.endsWith('\t') || + potentialValue.endsWith(' ') + ) { + return false + } + + if ( + potentialValue.includes('\0') || + potentialValue.includes('\r') || + potentialValue.includes('\n') + ) { + return false + } + + return true +} + +// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect +function setRequestReferrerPolicyOnRedirect (request, actualResponse) { + // Given a request request and a response actualResponse, this algorithm + // updates request’s referrer policy according to the Referrer-Policy + // header (if any) in actualResponse. + + // 1. Let policy be the result of executing § 8.1 Parse a referrer policy + // from a Referrer-Policy header on actualResponse. + + // 8.1 Parse a referrer policy from a Referrer-Policy header + // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list. + const { headersList } = actualResponse + // 2. Let policy be the empty string. + // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token. + // 4. Return policy. + const policyHeader = (headersList.get('referrer-policy') ?? '').split(',') + + // Note: As the referrer-policy can contain multiple policies + // separated by comma, we need to loop through all of them + // and pick the first valid one. + // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy + let policy = '' + if (policyHeader.length > 0) { + // The right-most policy takes precedence. + // The left-most policy is the fallback. + for (let i = policyHeader.length; i !== 0; i--) { + const token = policyHeader[i - 1].trim() + if (referrerPolicyTokens.has(token)) { + policy = token + break + } + } + } + + // 2. If policy is not the empty string, then set request’s referrer policy to policy. + if (policy !== '') { + request.referrerPolicy = policy + } +} + +// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check +function crossOriginResourcePolicyCheck () { + // TODO + return 'allowed' +} + +// https://fetch.spec.whatwg.org/#concept-cors-check +function corsCheck () { + // TODO + return 'success' +} + +// https://fetch.spec.whatwg.org/#concept-tao-check +function TAOCheck () { + // TODO + return 'success' +} + +function appendFetchMetadata (httpRequest) { + // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header + // TODO + + // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header + + // 1. Assert: r’s url is a potentially trustworthy URL. + // TODO + + // 2. Let header be a Structured Header whose value is a token. + let header = null + + // 3. Set header’s value to r’s mode. + header = httpRequest.mode + + // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list. + httpRequest.headersList.set('sec-fetch-mode', header) + + // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header + // TODO + + // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header + // TODO +} + +// https://fetch.spec.whatwg.org/#append-a-request-origin-header +function appendRequestOriginHeader (request) { + // 1. Let serializedOrigin be the result of byte-serializing a request origin with request. + let serializedOrigin = request.origin + + // 2. If request’s response tainting is "cors" or request’s mode is "websocket", then append (`Origin`, serializedOrigin) to request’s header list. + if (request.responseTainting === 'cors' || request.mode === 'websocket') { + if (serializedOrigin) { + request.headersList.append('origin', serializedOrigin) + } + + // 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then: + } else if (request.method !== 'GET' && request.method !== 'HEAD') { + // 1. Switch on request’s referrer policy: + switch (request.referrerPolicy) { + case 'no-referrer': + // Set serializedOrigin to `null`. + serializedOrigin = null + break + case 'no-referrer-when-downgrade': + case 'strict-origin': + case 'strict-origin-when-cross-origin': + // If request’s origin is a tuple origin, its scheme is "https", and request’s current URL’s scheme is not "https", then set serializedOrigin to `null`. + if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) { + serializedOrigin = null + } + break + case 'same-origin': + // If request’s origin is not same origin with request’s current URL’s origin, then set serializedOrigin to `null`. + if (!sameOrigin(request, requestCurrentURL(request))) { + serializedOrigin = null + } + break + default: + // Do nothing. + } + + if (serializedOrigin) { + // 2. Append (`Origin`, serializedOrigin) to request’s header list. + request.headersList.append('origin', serializedOrigin) + } + } +} + +function coarsenedSharedCurrentTime (crossOriginIsolatedCapability) { + // TODO + return performance.now() +} + +// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info +function createOpaqueTimingInfo (timingInfo) { + return { + startTime: timingInfo.startTime ?? 0, + redirectStartTime: 0, + redirectEndTime: 0, + postRedirectStartTime: timingInfo.startTime ?? 0, + finalServiceWorkerStartTime: 0, + finalNetworkResponseStartTime: 0, + finalNetworkRequestStartTime: 0, + endTime: 0, + encodedBodySize: 0, + decodedBodySize: 0, + finalConnectionTimingInfo: null + } +} + +// https://html.spec.whatwg.org/multipage/origin.html#policy-container +function makePolicyContainer () { + // Note: the fetch spec doesn't make use of embedder policy or CSP list + return { + referrerPolicy: 'strict-origin-when-cross-origin' + } +} + +// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container +function clonePolicyContainer (policyContainer) { + return { + referrerPolicy: policyContainer.referrerPolicy + } +} + +// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer +function determineRequestsReferrer (request) { + // 1. Let policy be request's referrer policy. + const policy = request.referrerPolicy + + // Note: policy cannot (shouldn't) be null or an empty string. + assert(policy) + + // 2. Let environment be request’s client. + + let referrerSource = null + + // 3. Switch on request’s referrer: + if (request.referrer === 'client') { + // Note: node isn't a browser and doesn't implement document/iframes, + // so we bypass this step and replace it with our own. + + const globalOrigin = getGlobalOrigin() + + if (!globalOrigin || globalOrigin.origin === 'null') { + return 'no-referrer' + } + + // note: we need to clone it as it's mutated + referrerSource = new URL(globalOrigin) + } else if (request.referrer instanceof URL) { + // Let referrerSource be request’s referrer. + referrerSource = request.referrer + } + + // 4. Let request’s referrerURL be the result of stripping referrerSource for + // use as a referrer. + let referrerURL = stripURLForReferrer(referrerSource) + + // 5. Let referrerOrigin be the result of stripping referrerSource for use as + // a referrer, with the origin-only flag set to true. + const referrerOrigin = stripURLForReferrer(referrerSource, true) + + // 6. If the result of serializing referrerURL is a string whose length is + // greater than 4096, set referrerURL to referrerOrigin. + if (referrerURL.toString().length > 4096) { + referrerURL = referrerOrigin + } + + const areSameOrigin = sameOrigin(request, referrerURL) + const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) && + !isURLPotentiallyTrustworthy(request.url) + + // 8. Execute the switch statements corresponding to the value of policy: + switch (policy) { + case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true) + case 'unsafe-url': return referrerURL + case 'same-origin': + return areSameOrigin ? referrerOrigin : 'no-referrer' + case 'origin-when-cross-origin': + return areSameOrigin ? referrerURL : referrerOrigin + case 'strict-origin-when-cross-origin': { + const currentURL = requestCurrentURL(request) + + // 1. If the origin of referrerURL and the origin of request’s current + // URL are the same, then return referrerURL. + if (sameOrigin(referrerURL, currentURL)) { + return referrerURL + } + + // 2. If referrerURL is a potentially trustworthy URL and request’s + // current URL is not a potentially trustworthy URL, then return no + // referrer. + if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) { + return 'no-referrer' + } + + // 3. Return referrerOrigin. + return referrerOrigin + } + case 'strict-origin': // eslint-disable-line + /** + * 1. If referrerURL is a potentially trustworthy URL and + * request’s current URL is not a potentially trustworthy URL, + * then return no referrer. + * 2. Return referrerOrigin + */ + case 'no-referrer-when-downgrade': // eslint-disable-line + /** + * 1. If referrerURL is a potentially trustworthy URL and + * request’s current URL is not a potentially trustworthy URL, + * then return no referrer. + * 2. Return referrerOrigin + */ + + default: // eslint-disable-line + return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin + } +} + +/** + * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url + * @param {URL} url + * @param {boolean|undefined} originOnly + */ +function stripURLForReferrer (url, originOnly) { + // 1. Assert: url is a URL. + assert(url instanceof URL) + + // 2. If url’s scheme is a local scheme, then return no referrer. + if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') { + return 'no-referrer' + } + + // 3. Set url’s username to the empty string. + url.username = '' + + // 4. Set url’s password to the empty string. + url.password = '' + + // 5. Set url’s fragment to null. + url.hash = '' + + // 6. If the origin-only flag is true, then: + if (originOnly) { + // 1. Set url’s path to « the empty string ». + url.pathname = '' + + // 2. Set url’s query to null. + url.search = '' + } + + // 7. Return url. + return url +} + +function isURLPotentiallyTrustworthy (url) { + if (!(url instanceof URL)) { + return false + } + + // If child of about, return true + if (url.href === 'about:blank' || url.href === 'about:srcdoc') { + return true + } + + // If scheme is data, return true + if (url.protocol === 'data:') return true + + // If file, return true + if (url.protocol === 'file:') return true + + return isOriginPotentiallyTrustworthy(url.origin) + + function isOriginPotentiallyTrustworthy (origin) { + // If origin is explicitly null, return false + if (origin == null || origin === 'null') return false + + const originAsURL = new URL(origin) + + // If secure, return true + if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') { + return true + } + + // If localhost or variants, return true + if (/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(originAsURL.hostname) || + (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) || + (originAsURL.hostname.endsWith('.localhost'))) { + return true + } + + // If any other, return false + return false + } +} + +/** + * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist + * @param {Uint8Array} bytes + * @param {string} metadataList + */ +function bytesMatch (bytes, metadataList) { + // If node is not built with OpenSSL support, we cannot check + // a request's integrity, so allow it by default (the spec will + // allow requests if an invalid hash is given, as precedence). + /* istanbul ignore if: only if node is built with --without-ssl */ + if (crypto === undefined) { + return true + } + + // 1. Let parsedMetadata be the result of parsing metadataList. + const parsedMetadata = parseMetadata(metadataList) + + // 2. If parsedMetadata is no metadata, return true. + if (parsedMetadata === 'no metadata') { + return true + } + + // 3. If response is not eligible for integrity validation, return false. + // TODO + + // 4. If parsedMetadata is the empty set, return true. + if (parsedMetadata.length === 0) { + return true + } + + // 5. Let metadata be the result of getting the strongest + // metadata from parsedMetadata. + const strongest = getStrongestMetadata(parsedMetadata) + const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest) + + // 6. For each item in metadata: + for (const item of metadata) { + // 1. Let algorithm be the alg component of item. + const algorithm = item.algo + + // 2. Let expectedValue be the val component of item. + const expectedValue = item.hash + + // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e + // "be liberal with padding". This is annoying, and it's not even in the spec. + + // 3. Let actualValue be the result of applying algorithm to bytes. + let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64') + + if (actualValue[actualValue.length - 1] === '=') { + if (actualValue[actualValue.length - 2] === '=') { + actualValue = actualValue.slice(0, -2) + } else { + actualValue = actualValue.slice(0, -1) + } + } + + // 4. If actualValue is a case-sensitive match for expectedValue, + // return true. + if (compareBase64Mixed(actualValue, expectedValue)) { + return true + } + } + + // 7. Return false. + return false +} + +// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options +// https://www.w3.org/TR/CSP2/#source-list-syntax +// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1 +const parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i + +/** + * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata + * @param {string} metadata + */ +function parseMetadata (metadata) { + // 1. Let result be the empty set. + /** @type {{ algo: string, hash: string }[]} */ + const result = [] + + // 2. Let empty be equal to true. + let empty = true + + // 3. For each token returned by splitting metadata on spaces: + for (const token of metadata.split(' ')) { + // 1. Set empty to false. + empty = false + + // 2. Parse token as a hash-with-options. + const parsedToken = parseHashWithOptions.exec(token) + + // 3. If token does not parse, continue to the next token. + if ( + parsedToken === null || + parsedToken.groups === undefined || + parsedToken.groups.algo === undefined + ) { + // Note: Chromium blocks the request at this point, but Firefox + // gives a warning that an invalid integrity was given. The + // correct behavior is to ignore these, and subsequently not + // check the integrity of the resource. + continue + } + + // 4. Let algorithm be the hash-algo component of token. + const algorithm = parsedToken.groups.algo.toLowerCase() + + // 5. If algorithm is a hash function recognized by the user + // agent, add the parsed token to result. + if (supportedHashes.includes(algorithm)) { + result.push(parsedToken.groups) + } + } + + // 4. Return no metadata if empty is true, otherwise return result. + if (empty === true) { + return 'no metadata' + } + + return result +} + +/** + * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList + */ +function getStrongestMetadata (metadataList) { + // Let algorithm be the algo component of the first item in metadataList. + // Can be sha256 + let algorithm = metadataList[0].algo + // If the algorithm is sha512, then it is the strongest + // and we can return immediately + if (algorithm[3] === '5') { + return algorithm + } + + for (let i = 1; i < metadataList.length; ++i) { + const metadata = metadataList[i] + // If the algorithm is sha512, then it is the strongest + // and we can break the loop immediately + if (metadata.algo[3] === '5') { + algorithm = 'sha512' + break + // If the algorithm is sha384, then a potential sha256 or sha384 is ignored + } else if (algorithm[3] === '3') { + continue + // algorithm is sha256, check if algorithm is sha384 and if so, set it as + // the strongest + } else if (metadata.algo[3] === '3') { + algorithm = 'sha384' + } + } + return algorithm +} + +function filterMetadataListByAlgorithm (metadataList, algorithm) { + if (metadataList.length === 1) { + return metadataList + } + + let pos = 0 + for (let i = 0; i < metadataList.length; ++i) { + if (metadataList[i].algo === algorithm) { + metadataList[pos++] = metadataList[i] + } + } + + metadataList.length = pos + + return metadataList +} + +/** + * Compares two base64 strings, allowing for base64url + * in the second string. + * +* @param {string} actualValue always base64 + * @param {string} expectedValue base64 or base64url + * @returns {boolean} + */ +function compareBase64Mixed (actualValue, expectedValue) { + if (actualValue.length !== expectedValue.length) { + return false + } + for (let i = 0; i < actualValue.length; ++i) { + if (actualValue[i] !== expectedValue[i]) { + if ( + (actualValue[i] === '+' && expectedValue[i] === '-') || + (actualValue[i] === '/' && expectedValue[i] === '_') + ) { + continue + } + return false + } + } + + return true +} + +// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request +function tryUpgradeRequestToAPotentiallyTrustworthyURL (request) { + // TODO +} + +/** + * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin} + * @param {URL} A + * @param {URL} B + */ +function sameOrigin (A, B) { + // 1. If A and B are the same opaque origin, then return true. + if (A.origin === B.origin && A.origin === 'null') { + return true + } + + // 2. If A and B are both tuple origins and their schemes, + // hosts, and port are identical, then return true. + if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) { + return true + } + + // 3. Return false. + return false +} + +function createDeferredPromise () { + let res + let rej + const promise = new Promise((resolve, reject) => { + res = resolve + rej = reject + }) + + return { promise, resolve: res, reject: rej } +} + +function isAborted (fetchParams) { + return fetchParams.controller.state === 'aborted' +} + +function isCancelled (fetchParams) { + return fetchParams.controller.state === 'aborted' || + fetchParams.controller.state === 'terminated' +} + +const normalizeMethodRecord = { + delete: 'DELETE', + DELETE: 'DELETE', + get: 'GET', + GET: 'GET', + head: 'HEAD', + HEAD: 'HEAD', + options: 'OPTIONS', + OPTIONS: 'OPTIONS', + post: 'POST', + POST: 'POST', + put: 'PUT', + PUT: 'PUT' +} + +// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`. +Object.setPrototypeOf(normalizeMethodRecord, null) + +/** + * @see https://fetch.spec.whatwg.org/#concept-method-normalize + * @param {string} method + */ +function normalizeMethod (method) { + return normalizeMethodRecord[method.toLowerCase()] ?? method +} + +// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string +function serializeJavascriptValueToJSONString (value) { + // 1. Let result be ? Call(%JSON.stringify%, undefined, « value »). + const result = JSON.stringify(value) + + // 2. If result is undefined, then throw a TypeError. + if (result === undefined) { + throw new TypeError('Value is not JSON serializable') + } + + // 3. Assert: result is a string. + assert(typeof result === 'string') + + // 4. Return result. + return result +} + +// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object +const esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())) + +/** + * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object + * @param {() => unknown[]} iterator + * @param {string} name name of the instance + * @param {'key'|'value'|'key+value'} kind + */ +function makeIterator (iterator, name, kind) { + const object = { + index: 0, + kind, + target: iterator + } + + const i = { + next () { + // 1. Let interface be the interface for which the iterator prototype object exists. + + // 2. Let thisValue be the this value. + + // 3. Let object be ? ToObject(thisValue). + + // 4. If object is a platform object, then perform a security + // check, passing: + + // 5. If object is not a default iterator object for interface, + // then throw a TypeError. + if (Object.getPrototypeOf(this) !== i) { + throw new TypeError( + `'next' called on an object that does not implement interface ${name} Iterator.` + ) + } + + // 6. Let index be object’s index. + // 7. Let kind be object’s kind. + // 8. Let values be object’s target's value pairs to iterate over. + const { index, kind, target } = object + const values = target() + + // 9. Let len be the length of values. + const len = values.length + + // 10. If index is greater than or equal to len, then return + // CreateIterResultObject(undefined, true). + if (index >= len) { + return { value: undefined, done: true } + } + + // 11. Let pair be the entry in values at index index. + const pair = values[index] + + // 12. Set object’s index to index + 1. + object.index = index + 1 + + // 13. Return the iterator result for pair and kind. + return iteratorResult(pair, kind) + }, + // The class string of an iterator prototype object for a given interface is the + // result of concatenating the identifier of the interface and the string " Iterator". + [Symbol.toStringTag]: `${name} Iterator` + } + + // The [[Prototype]] internal slot of an iterator prototype object must be %IteratorPrototype%. + Object.setPrototypeOf(i, esIteratorPrototype) + // esIteratorPrototype needs to be the prototype of i + // which is the prototype of an empty object. Yes, it's confusing. + return Object.setPrototypeOf({}, i) +} + +// https://webidl.spec.whatwg.org/#iterator-result +function iteratorResult (pair, kind) { + let result + + // 1. Let result be a value determined by the value of kind: + switch (kind) { + case 'key': { + // 1. Let idlKey be pair’s key. + // 2. Let key be the result of converting idlKey to an + // ECMAScript value. + // 3. result is key. + result = pair[0] + break + } + case 'value': { + // 1. Let idlValue be pair’s value. + // 2. Let value be the result of converting idlValue to + // an ECMAScript value. + // 3. result is value. + result = pair[1] + break + } + case 'key+value': { + // 1. Let idlKey be pair’s key. + // 2. Let idlValue be pair’s value. + // 3. Let key be the result of converting idlKey to an + // ECMAScript value. + // 4. Let value be the result of converting idlValue to + // an ECMAScript value. + // 5. Let array be ! ArrayCreate(2). + // 6. Call ! CreateDataProperty(array, "0", key). + // 7. Call ! CreateDataProperty(array, "1", value). + // 8. result is array. + result = pair + break + } + } + + // 2. Return CreateIterResultObject(result, false). + return { value: result, done: false } +} + +/** + * @see https://fetch.spec.whatwg.org/#body-fully-read + */ +async function fullyReadBody (body, processBody, processBodyError) { + // 1. If taskDestination is null, then set taskDestination to + // the result of starting a new parallel queue. + + // 2. Let successSteps given a byte sequence bytes be to queue a + // fetch task to run processBody given bytes, with taskDestination. + const successSteps = processBody + + // 3. Let errorSteps be to queue a fetch task to run processBodyError, + // with taskDestination. + const errorSteps = processBodyError + + // 4. Let reader be the result of getting a reader for body’s stream. + // If that threw an exception, then run errorSteps with that + // exception and return. + let reader + + try { + reader = body.stream.getReader() + } catch (e) { + errorSteps(e) + return + } + + // 5. Read all bytes from reader, given successSteps and errorSteps. + try { + const result = await readAllBytes(reader) + successSteps(result) + } catch (e) { + errorSteps(e) + } +} + +/** @type {ReadableStream} */ +let ReadableStream = globalThis.ReadableStream + +function isReadableStreamLike (stream) { + if (!ReadableStream) { + ReadableStream = (__nccwpck_require__(5356).ReadableStream) + } + + return stream instanceof ReadableStream || ( + stream[Symbol.toStringTag] === 'ReadableStream' && + typeof stream.tee === 'function' + ) +} + +const MAXIMUM_ARGUMENT_LENGTH = 65535 + +/** + * @see https://infra.spec.whatwg.org/#isomorphic-decode + * @param {number[]|Uint8Array} input + */ +function isomorphicDecode (input) { + // 1. To isomorphic decode a byte sequence input, return a string whose code point + // length is equal to input’s length and whose code points have the same values + // as the values of input’s bytes, in the same order. + + if (input.length < MAXIMUM_ARGUMENT_LENGTH) { + return String.fromCharCode(...input) + } + + return input.reduce((previous, current) => previous + String.fromCharCode(current), '') +} + +/** + * @param {ReadableStreamController} controller + */ +function readableStreamClose (controller) { + try { + controller.close() + } catch (err) { + // TODO: add comment explaining why this error occurs. + if (!err.message.includes('Controller is already closed')) { + throw err + } + } +} + +/** + * @see https://infra.spec.whatwg.org/#isomorphic-encode + * @param {string} input + */ +function isomorphicEncode (input) { + // 1. Assert: input contains no code points greater than U+00FF. + for (let i = 0; i < input.length; i++) { + assert(input.charCodeAt(i) <= 0xFF) + } + + // 2. Return a byte sequence whose length is equal to input’s code + // point length and whose bytes have the same values as the + // values of input’s code points, in the same order + return input +} + +/** + * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes + * @see https://streams.spec.whatwg.org/#read-loop + * @param {ReadableStreamDefaultReader} reader + */ +async function readAllBytes (reader) { + const bytes = [] + let byteLength = 0 + + while (true) { + const { done, value: chunk } = await reader.read() + + if (done) { + // 1. Call successSteps with bytes. + return Buffer.concat(bytes, byteLength) + } + + // 1. If chunk is not a Uint8Array object, call failureSteps + // with a TypeError and abort these steps. + if (!isUint8Array(chunk)) { + throw new TypeError('Received non-Uint8Array chunk') + } + + // 2. Append the bytes represented by chunk to bytes. + bytes.push(chunk) + byteLength += chunk.length + + // 3. Read-loop given reader, bytes, successSteps, and failureSteps. + } +} + +/** + * @see https://fetch.spec.whatwg.org/#is-local + * @param {URL} url + */ +function urlIsLocal (url) { + assert('protocol' in url) // ensure it's a url object + + const protocol = url.protocol + + return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:' +} + +/** + * @param {string|URL} url + */ +function urlHasHttpsScheme (url) { + if (typeof url === 'string') { + return url.startsWith('https:') + } + + return url.protocol === 'https:' +} + +/** + * @see https://fetch.spec.whatwg.org/#http-scheme + * @param {URL} url + */ +function urlIsHttpHttpsScheme (url) { + assert('protocol' in url) // ensure it's a url object + + const protocol = url.protocol + + return protocol === 'http:' || protocol === 'https:' +} + +/** + * Fetch supports node >= 16.8.0, but Object.hasOwn was added in v16.9.0. + */ +const hasOwn = Object.hasOwn || ((dict, key) => Object.prototype.hasOwnProperty.call(dict, key)) + +module.exports = { + isAborted, + isCancelled, + createDeferredPromise, + ReadableStreamFrom, + toUSVString, + tryUpgradeRequestToAPotentiallyTrustworthyURL, + coarsenedSharedCurrentTime, + determineRequestsReferrer, + makePolicyContainer, + clonePolicyContainer, + appendFetchMetadata, + appendRequestOriginHeader, + TAOCheck, + corsCheck, + crossOriginResourcePolicyCheck, + createOpaqueTimingInfo, + setRequestReferrerPolicyOnRedirect, + isValidHTTPToken, + requestBadPort, + requestCurrentURL, + responseURL, + responseLocationURL, + isBlobLike, + isURLPotentiallyTrustworthy, + isValidReasonPhrase, + sameOrigin, + normalizeMethod, + serializeJavascriptValueToJSONString, + makeIterator, + isValidHeaderName, + isValidHeaderValue, + hasOwn, + isErrorLike, + fullyReadBody, + bytesMatch, + isReadableStreamLike, + readableStreamClose, + isomorphicEncode, + isomorphicDecode, + urlIsLocal, + urlHasHttpsScheme, + urlIsHttpHttpsScheme, + readAllBytes, + normalizeMethodRecord, + parseMetadata +} + + +/***/ }), + +/***/ 1744: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { types } = __nccwpck_require__(3837) +const { hasOwn, toUSVString } = __nccwpck_require__(2538) + +/** @type {import('../../types/webidl').Webidl} */ +const webidl = {} +webidl.converters = {} +webidl.util = {} +webidl.errors = {} + +webidl.errors.exception = function (message) { + return new TypeError(`${message.header}: ${message.message}`) +} + +webidl.errors.conversionFailed = function (context) { + const plural = context.types.length === 1 ? '' : ' one of' + const message = + `${context.argument} could not be converted to` + + `${plural}: ${context.types.join(', ')}.` + + return webidl.errors.exception({ + header: context.prefix, + message + }) +} + +webidl.errors.invalidArgument = function (context) { + return webidl.errors.exception({ + header: context.prefix, + message: `"${context.value}" is an invalid ${context.type}.` + }) +} + +// https://webidl.spec.whatwg.org/#implements +webidl.brandCheck = function (V, I, opts = undefined) { + if (opts?.strict !== false && !(V instanceof I)) { + throw new TypeError('Illegal invocation') + } else { + return V?.[Symbol.toStringTag] === I.prototype[Symbol.toStringTag] + } +} + +webidl.argumentLengthCheck = function ({ length }, min, ctx) { + if (length < min) { + throw webidl.errors.exception({ + message: `${min} argument${min !== 1 ? 's' : ''} required, ` + + `but${length ? ' only' : ''} ${length} found.`, + ...ctx + }) + } +} + +webidl.illegalConstructor = function () { + throw webidl.errors.exception({ + header: 'TypeError', + message: 'Illegal constructor' + }) +} + +// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values +webidl.util.Type = function (V) { + switch (typeof V) { + case 'undefined': return 'Undefined' + case 'boolean': return 'Boolean' + case 'string': return 'String' + case 'symbol': return 'Symbol' + case 'number': return 'Number' + case 'bigint': return 'BigInt' + case 'function': + case 'object': { + if (V === null) { + return 'Null' + } + + return 'Object' + } + } +} + +// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint +webidl.util.ConvertToInt = function (V, bitLength, signedness, opts = {}) { + let upperBound + let lowerBound + + // 1. If bitLength is 64, then: + if (bitLength === 64) { + // 1. Let upperBound be 2^53 − 1. + upperBound = Math.pow(2, 53) - 1 + + // 2. If signedness is "unsigned", then let lowerBound be 0. + if (signedness === 'unsigned') { + lowerBound = 0 + } else { + // 3. Otherwise let lowerBound be −2^53 + 1. + lowerBound = Math.pow(-2, 53) + 1 + } + } else if (signedness === 'unsigned') { + // 2. Otherwise, if signedness is "unsigned", then: + + // 1. Let lowerBound be 0. + lowerBound = 0 + + // 2. Let upperBound be 2^bitLength − 1. + upperBound = Math.pow(2, bitLength) - 1 + } else { + // 3. Otherwise: + + // 1. Let lowerBound be -2^bitLength − 1. + lowerBound = Math.pow(-2, bitLength) - 1 + + // 2. Let upperBound be 2^bitLength − 1 − 1. + upperBound = Math.pow(2, bitLength - 1) - 1 + } + + // 4. Let x be ? ToNumber(V). + let x = Number(V) + + // 5. If x is −0, then set x to +0. + if (x === 0) { + x = 0 + } + + // 6. If the conversion is to an IDL type associated + // with the [EnforceRange] extended attribute, then: + if (opts.enforceRange === true) { + // 1. If x is NaN, +∞, or −∞, then throw a TypeError. + if ( + Number.isNaN(x) || + x === Number.POSITIVE_INFINITY || + x === Number.NEGATIVE_INFINITY + ) { + throw webidl.errors.exception({ + header: 'Integer conversion', + message: `Could not convert ${V} to an integer.` + }) + } + + // 2. Set x to IntegerPart(x). + x = webidl.util.IntegerPart(x) + + // 3. If x < lowerBound or x > upperBound, then + // throw a TypeError. + if (x < lowerBound || x > upperBound) { + throw webidl.errors.exception({ + header: 'Integer conversion', + message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.` + }) + } + + // 4. Return x. + return x + } + + // 7. If x is not NaN and the conversion is to an IDL + // type associated with the [Clamp] extended + // attribute, then: + if (!Number.isNaN(x) && opts.clamp === true) { + // 1. Set x to min(max(x, lowerBound), upperBound). + x = Math.min(Math.max(x, lowerBound), upperBound) + + // 2. Round x to the nearest integer, choosing the + // even integer if it lies halfway between two, + // and choosing +0 rather than −0. + if (Math.floor(x) % 2 === 0) { + x = Math.floor(x) + } else { + x = Math.ceil(x) + } + + // 3. Return x. + return x + } + + // 8. If x is NaN, +0, +∞, or −∞, then return +0. + if ( + Number.isNaN(x) || + (x === 0 && Object.is(0, x)) || + x === Number.POSITIVE_INFINITY || + x === Number.NEGATIVE_INFINITY + ) { + return 0 + } + + // 9. Set x to IntegerPart(x). + x = webidl.util.IntegerPart(x) + + // 10. Set x to x modulo 2^bitLength. + x = x % Math.pow(2, bitLength) + + // 11. If signedness is "signed" and x ≥ 2^bitLength − 1, + // then return x − 2^bitLength. + if (signedness === 'signed' && x >= Math.pow(2, bitLength) - 1) { + return x - Math.pow(2, bitLength) + } + + // 12. Otherwise, return x. + return x +} + +// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart +webidl.util.IntegerPart = function (n) { + // 1. Let r be floor(abs(n)). + const r = Math.floor(Math.abs(n)) + + // 2. If n < 0, then return -1 × r. + if (n < 0) { + return -1 * r + } + + // 3. Otherwise, return r. + return r +} + +// https://webidl.spec.whatwg.org/#es-sequence +webidl.sequenceConverter = function (converter) { + return (V) => { + // 1. If Type(V) is not Object, throw a TypeError. + if (webidl.util.Type(V) !== 'Object') { + throw webidl.errors.exception({ + header: 'Sequence', + message: `Value of type ${webidl.util.Type(V)} is not an Object.` + }) + } + + // 2. Let method be ? GetMethod(V, @@iterator). + /** @type {Generator} */ + const method = V?.[Symbol.iterator]?.() + const seq = [] + + // 3. If method is undefined, throw a TypeError. + if ( + method === undefined || + typeof method.next !== 'function' + ) { + throw webidl.errors.exception({ + header: 'Sequence', + message: 'Object is not an iterator.' + }) + } + + // https://webidl.spec.whatwg.org/#create-sequence-from-iterable + while (true) { + const { done, value } = method.next() + + if (done) { + break + } + + seq.push(converter(value)) + } + + return seq + } +} + +// https://webidl.spec.whatwg.org/#es-to-record +webidl.recordConverter = function (keyConverter, valueConverter) { + return (O) => { + // 1. If Type(O) is not Object, throw a TypeError. + if (webidl.util.Type(O) !== 'Object') { + throw webidl.errors.exception({ + header: 'Record', + message: `Value of type ${webidl.util.Type(O)} is not an Object.` + }) + } + + // 2. Let result be a new empty instance of record. + const result = {} + + if (!types.isProxy(O)) { + // Object.keys only returns enumerable properties + const keys = Object.keys(O) + + for (const key of keys) { + // 1. Let typedKey be key converted to an IDL value of type K. + const typedKey = keyConverter(key) + + // 2. Let value be ? Get(O, key). + // 3. Let typedValue be value converted to an IDL value of type V. + const typedValue = valueConverter(O[key]) + + // 4. Set result[typedKey] to typedValue. + result[typedKey] = typedValue + } + + // 5. Return result. + return result + } + + // 3. Let keys be ? O.[[OwnPropertyKeys]](). + const keys = Reflect.ownKeys(O) + + // 4. For each key of keys. + for (const key of keys) { + // 1. Let desc be ? O.[[GetOwnProperty]](key). + const desc = Reflect.getOwnPropertyDescriptor(O, key) + + // 2. If desc is not undefined and desc.[[Enumerable]] is true: + if (desc?.enumerable) { + // 1. Let typedKey be key converted to an IDL value of type K. + const typedKey = keyConverter(key) + + // 2. Let value be ? Get(O, key). + // 3. Let typedValue be value converted to an IDL value of type V. + const typedValue = valueConverter(O[key]) + + // 4. Set result[typedKey] to typedValue. + result[typedKey] = typedValue + } + } + + // 5. Return result. + return result + } +} + +webidl.interfaceConverter = function (i) { + return (V, opts = {}) => { + if (opts.strict !== false && !(V instanceof i)) { + throw webidl.errors.exception({ + header: i.name, + message: `Expected ${V} to be an instance of ${i.name}.` + }) + } + + return V + } +} + +webidl.dictionaryConverter = function (converters) { + return (dictionary) => { + const type = webidl.util.Type(dictionary) + const dict = {} + + if (type === 'Null' || type === 'Undefined') { + return dict + } else if (type !== 'Object') { + throw webidl.errors.exception({ + header: 'Dictionary', + message: `Expected ${dictionary} to be one of: Null, Undefined, Object.` + }) + } + + for (const options of converters) { + const { key, defaultValue, required, converter } = options + + if (required === true) { + if (!hasOwn(dictionary, key)) { + throw webidl.errors.exception({ + header: 'Dictionary', + message: `Missing required key "${key}".` + }) + } + } + + let value = dictionary[key] + const hasDefault = hasOwn(options, 'defaultValue') + + // Only use defaultValue if value is undefined and + // a defaultValue options was provided. + if (hasDefault && value !== null) { + value = value ?? defaultValue + } + + // A key can be optional and have no default value. + // When this happens, do not perform a conversion, + // and do not assign the key a value. + if (required || hasDefault || value !== undefined) { + value = converter(value) + + if ( + options.allowedValues && + !options.allowedValues.includes(value) + ) { + throw webidl.errors.exception({ + header: 'Dictionary', + message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(', ')}.` + }) + } + + dict[key] = value + } + } + + return dict + } +} + +webidl.nullableConverter = function (converter) { + return (V) => { + if (V === null) { + return V + } + + return converter(V) + } +} + +// https://webidl.spec.whatwg.org/#es-DOMString +webidl.converters.DOMString = function (V, opts = {}) { + // 1. If V is null and the conversion is to an IDL type + // associated with the [LegacyNullToEmptyString] + // extended attribute, then return the DOMString value + // that represents the empty string. + if (V === null && opts.legacyNullToEmptyString) { + return '' + } + + // 2. Let x be ? ToString(V). + if (typeof V === 'symbol') { + throw new TypeError('Could not convert argument of type symbol to string.') + } + + // 3. Return the IDL DOMString value that represents the + // same sequence of code units as the one the + // ECMAScript String value x represents. + return String(V) +} + +// https://webidl.spec.whatwg.org/#es-ByteString +webidl.converters.ByteString = function (V) { + // 1. Let x be ? ToString(V). + // Note: DOMString converter perform ? ToString(V) + const x = webidl.converters.DOMString(V) + + // 2. If the value of any element of x is greater than + // 255, then throw a TypeError. + for (let index = 0; index < x.length; index++) { + if (x.charCodeAt(index) > 255) { + throw new TypeError( + 'Cannot convert argument to a ByteString because the character at ' + + `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.` + ) + } + } + + // 3. Return an IDL ByteString value whose length is the + // length of x, and where the value of each element is + // the value of the corresponding element of x. + return x +} + +// https://webidl.spec.whatwg.org/#es-USVString +webidl.converters.USVString = toUSVString + +// https://webidl.spec.whatwg.org/#es-boolean +webidl.converters.boolean = function (V) { + // 1. Let x be the result of computing ToBoolean(V). + const x = Boolean(V) + + // 2. Return the IDL boolean value that is the one that represents + // the same truth value as the ECMAScript Boolean value x. + return x +} + +// https://webidl.spec.whatwg.org/#es-any +webidl.converters.any = function (V) { + return V +} + +// https://webidl.spec.whatwg.org/#es-long-long +webidl.converters['long long'] = function (V) { + // 1. Let x be ? ConvertToInt(V, 64, "signed"). + const x = webidl.util.ConvertToInt(V, 64, 'signed') + + // 2. Return the IDL long long value that represents + // the same numeric value as x. + return x +} + +// https://webidl.spec.whatwg.org/#es-unsigned-long-long +webidl.converters['unsigned long long'] = function (V) { + // 1. Let x be ? ConvertToInt(V, 64, "unsigned"). + const x = webidl.util.ConvertToInt(V, 64, 'unsigned') + + // 2. Return the IDL unsigned long long value that + // represents the same numeric value as x. + return x +} + +// https://webidl.spec.whatwg.org/#es-unsigned-long +webidl.converters['unsigned long'] = function (V) { + // 1. Let x be ? ConvertToInt(V, 32, "unsigned"). + const x = webidl.util.ConvertToInt(V, 32, 'unsigned') + + // 2. Return the IDL unsigned long value that + // represents the same numeric value as x. + return x +} + +// https://webidl.spec.whatwg.org/#es-unsigned-short +webidl.converters['unsigned short'] = function (V, opts) { + // 1. Let x be ? ConvertToInt(V, 16, "unsigned"). + const x = webidl.util.ConvertToInt(V, 16, 'unsigned', opts) + + // 2. Return the IDL unsigned short value that represents + // the same numeric value as x. + return x +} + +// https://webidl.spec.whatwg.org/#idl-ArrayBuffer +webidl.converters.ArrayBuffer = function (V, opts = {}) { + // 1. If Type(V) is not Object, or V does not have an + // [[ArrayBufferData]] internal slot, then throw a + // TypeError. + // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances + // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances + if ( + webidl.util.Type(V) !== 'Object' || + !types.isAnyArrayBuffer(V) + ) { + throw webidl.errors.conversionFailed({ + prefix: `${V}`, + argument: `${V}`, + types: ['ArrayBuffer'] + }) + } + + // 2. If the conversion is not to an IDL type associated + // with the [AllowShared] extended attribute, and + // IsSharedArrayBuffer(V) is true, then throw a + // TypeError. + if (opts.allowShared === false && types.isSharedArrayBuffer(V)) { + throw webidl.errors.exception({ + header: 'ArrayBuffer', + message: 'SharedArrayBuffer is not allowed.' + }) + } + + // 3. If the conversion is not to an IDL type associated + // with the [AllowResizable] extended attribute, and + // IsResizableArrayBuffer(V) is true, then throw a + // TypeError. + // Note: resizable ArrayBuffers are currently a proposal. + + // 4. Return the IDL ArrayBuffer value that is a + // reference to the same object as V. + return V +} + +webidl.converters.TypedArray = function (V, T, opts = {}) { + // 1. Let T be the IDL type V is being converted to. + + // 2. If Type(V) is not Object, or V does not have a + // [[TypedArrayName]] internal slot with a value + // equal to T’s name, then throw a TypeError. + if ( + webidl.util.Type(V) !== 'Object' || + !types.isTypedArray(V) || + V.constructor.name !== T.name + ) { + throw webidl.errors.conversionFailed({ + prefix: `${T.name}`, + argument: `${V}`, + types: [T.name] + }) + } + + // 3. If the conversion is not to an IDL type associated + // with the [AllowShared] extended attribute, and + // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is + // true, then throw a TypeError. + if (opts.allowShared === false && types.isSharedArrayBuffer(V.buffer)) { + throw webidl.errors.exception({ + header: 'ArrayBuffer', + message: 'SharedArrayBuffer is not allowed.' + }) + } + + // 4. If the conversion is not to an IDL type associated + // with the [AllowResizable] extended attribute, and + // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is + // true, then throw a TypeError. + // Note: resizable array buffers are currently a proposal + + // 5. Return the IDL value of type T that is a reference + // to the same object as V. + return V +} + +webidl.converters.DataView = function (V, opts = {}) { + // 1. If Type(V) is not Object, or V does not have a + // [[DataView]] internal slot, then throw a TypeError. + if (webidl.util.Type(V) !== 'Object' || !types.isDataView(V)) { + throw webidl.errors.exception({ + header: 'DataView', + message: 'Object is not a DataView.' + }) + } + + // 2. If the conversion is not to an IDL type associated + // with the [AllowShared] extended attribute, and + // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true, + // then throw a TypeError. + if (opts.allowShared === false && types.isSharedArrayBuffer(V.buffer)) { + throw webidl.errors.exception({ + header: 'ArrayBuffer', + message: 'SharedArrayBuffer is not allowed.' + }) + } + + // 3. If the conversion is not to an IDL type associated + // with the [AllowResizable] extended attribute, and + // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is + // true, then throw a TypeError. + // Note: resizable ArrayBuffers are currently a proposal + + // 4. Return the IDL DataView value that is a reference + // to the same object as V. + return V +} + +// https://webidl.spec.whatwg.org/#BufferSource +webidl.converters.BufferSource = function (V, opts = {}) { + if (types.isAnyArrayBuffer(V)) { + return webidl.converters.ArrayBuffer(V, opts) + } + + if (types.isTypedArray(V)) { + return webidl.converters.TypedArray(V, V.constructor) + } + + if (types.isDataView(V)) { + return webidl.converters.DataView(V, opts) + } + + throw new TypeError(`Could not convert ${V} to a BufferSource.`) +} + +webidl.converters['sequence'] = webidl.sequenceConverter( + webidl.converters.ByteString +) + +webidl.converters['sequence>'] = webidl.sequenceConverter( + webidl.converters['sequence'] +) + +webidl.converters['record'] = webidl.recordConverter( + webidl.converters.ByteString, + webidl.converters.ByteString +) + +module.exports = { + webidl +} + + +/***/ }), + +/***/ 4854: +/***/ ((module) => { + +"use strict"; + + +/** + * @see https://encoding.spec.whatwg.org/#concept-encoding-get + * @param {string|undefined} label + */ +function getEncoding (label) { + if (!label) { + return 'failure' + } + + // 1. Remove any leading and trailing ASCII whitespace from label. + // 2. If label is an ASCII case-insensitive match for any of the + // labels listed in the table below, then return the + // corresponding encoding; otherwise return failure. + switch (label.trim().toLowerCase()) { + case 'unicode-1-1-utf-8': + case 'unicode11utf8': + case 'unicode20utf8': + case 'utf-8': + case 'utf8': + case 'x-unicode20utf8': + return 'UTF-8' + case '866': + case 'cp866': + case 'csibm866': + case 'ibm866': + return 'IBM866' + case 'csisolatin2': + case 'iso-8859-2': + case 'iso-ir-101': + case 'iso8859-2': + case 'iso88592': + case 'iso_8859-2': + case 'iso_8859-2:1987': + case 'l2': + case 'latin2': + return 'ISO-8859-2' + case 'csisolatin3': + case 'iso-8859-3': + case 'iso-ir-109': + case 'iso8859-3': + case 'iso88593': + case 'iso_8859-3': + case 'iso_8859-3:1988': + case 'l3': + case 'latin3': + return 'ISO-8859-3' + case 'csisolatin4': + case 'iso-8859-4': + case 'iso-ir-110': + case 'iso8859-4': + case 'iso88594': + case 'iso_8859-4': + case 'iso_8859-4:1988': + case 'l4': + case 'latin4': + return 'ISO-8859-4' + case 'csisolatincyrillic': + case 'cyrillic': + case 'iso-8859-5': + case 'iso-ir-144': + case 'iso8859-5': + case 'iso88595': + case 'iso_8859-5': + case 'iso_8859-5:1988': + return 'ISO-8859-5' + case 'arabic': + case 'asmo-708': + case 'csiso88596e': + case 'csiso88596i': + case 'csisolatinarabic': + case 'ecma-114': + case 'iso-8859-6': + case 'iso-8859-6-e': + case 'iso-8859-6-i': + case 'iso-ir-127': + case 'iso8859-6': + case 'iso88596': + case 'iso_8859-6': + case 'iso_8859-6:1987': + return 'ISO-8859-6' + case 'csisolatingreek': + case 'ecma-118': + case 'elot_928': + case 'greek': + case 'greek8': + case 'iso-8859-7': + case 'iso-ir-126': + case 'iso8859-7': + case 'iso88597': + case 'iso_8859-7': + case 'iso_8859-7:1987': + case 'sun_eu_greek': + return 'ISO-8859-7' + case 'csiso88598e': + case 'csisolatinhebrew': + case 'hebrew': + case 'iso-8859-8': + case 'iso-8859-8-e': + case 'iso-ir-138': + case 'iso8859-8': + case 'iso88598': + case 'iso_8859-8': + case 'iso_8859-8:1988': + case 'visual': + return 'ISO-8859-8' + case 'csiso88598i': + case 'iso-8859-8-i': + case 'logical': + return 'ISO-8859-8-I' + case 'csisolatin6': + case 'iso-8859-10': + case 'iso-ir-157': + case 'iso8859-10': + case 'iso885910': + case 'l6': + case 'latin6': + return 'ISO-8859-10' + case 'iso-8859-13': + case 'iso8859-13': + case 'iso885913': + return 'ISO-8859-13' + case 'iso-8859-14': + case 'iso8859-14': + case 'iso885914': + return 'ISO-8859-14' + case 'csisolatin9': + case 'iso-8859-15': + case 'iso8859-15': + case 'iso885915': + case 'iso_8859-15': + case 'l9': + return 'ISO-8859-15' + case 'iso-8859-16': + return 'ISO-8859-16' + case 'cskoi8r': + case 'koi': + case 'koi8': + case 'koi8-r': + case 'koi8_r': + return 'KOI8-R' + case 'koi8-ru': + case 'koi8-u': + return 'KOI8-U' + case 'csmacintosh': + case 'mac': + case 'macintosh': + case 'x-mac-roman': + return 'macintosh' + case 'iso-8859-11': + case 'iso8859-11': + case 'iso885911': + case 'tis-620': + case 'windows-874': + return 'windows-874' + case 'cp1250': + case 'windows-1250': + case 'x-cp1250': + return 'windows-1250' + case 'cp1251': + case 'windows-1251': + case 'x-cp1251': + return 'windows-1251' + case 'ansi_x3.4-1968': + case 'ascii': + case 'cp1252': + case 'cp819': + case 'csisolatin1': + case 'ibm819': + case 'iso-8859-1': + case 'iso-ir-100': + case 'iso8859-1': + case 'iso88591': + case 'iso_8859-1': + case 'iso_8859-1:1987': + case 'l1': + case 'latin1': + case 'us-ascii': + case 'windows-1252': + case 'x-cp1252': + return 'windows-1252' + case 'cp1253': + case 'windows-1253': + case 'x-cp1253': + return 'windows-1253' + case 'cp1254': + case 'csisolatin5': + case 'iso-8859-9': + case 'iso-ir-148': + case 'iso8859-9': + case 'iso88599': + case 'iso_8859-9': + case 'iso_8859-9:1989': + case 'l5': + case 'latin5': + case 'windows-1254': + case 'x-cp1254': + return 'windows-1254' + case 'cp1255': + case 'windows-1255': + case 'x-cp1255': + return 'windows-1255' + case 'cp1256': + case 'windows-1256': + case 'x-cp1256': + return 'windows-1256' + case 'cp1257': + case 'windows-1257': + case 'x-cp1257': + return 'windows-1257' + case 'cp1258': + case 'windows-1258': + case 'x-cp1258': + return 'windows-1258' + case 'x-mac-cyrillic': + case 'x-mac-ukrainian': + return 'x-mac-cyrillic' + case 'chinese': + case 'csgb2312': + case 'csiso58gb231280': + case 'gb2312': + case 'gb_2312': + case 'gb_2312-80': + case 'gbk': + case 'iso-ir-58': + case 'x-gbk': + return 'GBK' + case 'gb18030': + return 'gb18030' + case 'big5': + case 'big5-hkscs': + case 'cn-big5': + case 'csbig5': + case 'x-x-big5': + return 'Big5' + case 'cseucpkdfmtjapanese': + case 'euc-jp': + case 'x-euc-jp': + return 'EUC-JP' + case 'csiso2022jp': + case 'iso-2022-jp': + return 'ISO-2022-JP' + case 'csshiftjis': + case 'ms932': + case 'ms_kanji': + case 'shift-jis': + case 'shift_jis': + case 'sjis': + case 'windows-31j': + case 'x-sjis': + return 'Shift_JIS' + case 'cseuckr': + case 'csksc56011987': + case 'euc-kr': + case 'iso-ir-149': + case 'korean': + case 'ks_c_5601-1987': + case 'ks_c_5601-1989': + case 'ksc5601': + case 'ksc_5601': + case 'windows-949': + return 'EUC-KR' + case 'csiso2022kr': + case 'hz-gb-2312': + case 'iso-2022-cn': + case 'iso-2022-cn-ext': + case 'iso-2022-kr': + case 'replacement': + return 'replacement' + case 'unicodefffe': + case 'utf-16be': + return 'UTF-16BE' + case 'csunicode': + case 'iso-10646-ucs-2': + case 'ucs-2': + case 'unicode': + case 'unicodefeff': + case 'utf-16': + case 'utf-16le': + return 'UTF-16LE' + case 'x-user-defined': + return 'x-user-defined' + default: return 'failure' + } +} + +module.exports = { + getEncoding +} + + +/***/ }), + +/***/ 1446: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + staticPropertyDescriptors, + readOperation, + fireAProgressEvent +} = __nccwpck_require__(7530) +const { + kState, + kError, + kResult, + kEvents, + kAborted +} = __nccwpck_require__(9054) +const { webidl } = __nccwpck_require__(1744) +const { kEnumerableProperty } = __nccwpck_require__(3983) + +class FileReader extends EventTarget { + constructor () { + super() + + this[kState] = 'empty' + this[kResult] = null + this[kError] = null + this[kEvents] = { + loadend: null, + error: null, + abort: null, + load: null, + progress: null, + loadstart: null + } + } + + /** + * @see https://w3c.github.io/FileAPI/#dfn-readAsArrayBuffer + * @param {import('buffer').Blob} blob + */ + readAsArrayBuffer (blob) { + webidl.brandCheck(this, FileReader) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FileReader.readAsArrayBuffer' }) + + blob = webidl.converters.Blob(blob, { strict: false }) + + // The readAsArrayBuffer(blob) method, when invoked, + // must initiate a read operation for blob with ArrayBuffer. + readOperation(this, blob, 'ArrayBuffer') + } + + /** + * @see https://w3c.github.io/FileAPI/#readAsBinaryString + * @param {import('buffer').Blob} blob + */ + readAsBinaryString (blob) { + webidl.brandCheck(this, FileReader) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FileReader.readAsBinaryString' }) + + blob = webidl.converters.Blob(blob, { strict: false }) + + // The readAsBinaryString(blob) method, when invoked, + // must initiate a read operation for blob with BinaryString. + readOperation(this, blob, 'BinaryString') + } + + /** + * @see https://w3c.github.io/FileAPI/#readAsDataText + * @param {import('buffer').Blob} blob + * @param {string?} encoding + */ + readAsText (blob, encoding = undefined) { + webidl.brandCheck(this, FileReader) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FileReader.readAsText' }) + + blob = webidl.converters.Blob(blob, { strict: false }) + + if (encoding !== undefined) { + encoding = webidl.converters.DOMString(encoding) + } + + // The readAsText(blob, encoding) method, when invoked, + // must initiate a read operation for blob with Text and encoding. + readOperation(this, blob, 'Text', encoding) + } + + /** + * @see https://w3c.github.io/FileAPI/#dfn-readAsDataURL + * @param {import('buffer').Blob} blob + */ + readAsDataURL (blob) { + webidl.brandCheck(this, FileReader) + + webidl.argumentLengthCheck(arguments, 1, { header: 'FileReader.readAsDataURL' }) + + blob = webidl.converters.Blob(blob, { strict: false }) + + // The readAsDataURL(blob) method, when invoked, must + // initiate a read operation for blob with DataURL. + readOperation(this, blob, 'DataURL') + } + + /** + * @see https://w3c.github.io/FileAPI/#dfn-abort + */ + abort () { + // 1. If this's state is "empty" or if this's state is + // "done" set this's result to null and terminate + // this algorithm. + if (this[kState] === 'empty' || this[kState] === 'done') { + this[kResult] = null + return + } + + // 2. If this's state is "loading" set this's state to + // "done" and set this's result to null. + if (this[kState] === 'loading') { + this[kState] = 'done' + this[kResult] = null + } + + // 3. If there are any tasks from this on the file reading + // task source in an affiliated task queue, then remove + // those tasks from that task queue. + this[kAborted] = true + + // 4. Terminate the algorithm for the read method being processed. + // TODO + + // 5. Fire a progress event called abort at this. + fireAProgressEvent('abort', this) + + // 6. If this's state is not "loading", fire a progress + // event called loadend at this. + if (this[kState] !== 'loading') { + fireAProgressEvent('loadend', this) + } + } + + /** + * @see https://w3c.github.io/FileAPI/#dom-filereader-readystate + */ + get readyState () { + webidl.brandCheck(this, FileReader) + + switch (this[kState]) { + case 'empty': return this.EMPTY + case 'loading': return this.LOADING + case 'done': return this.DONE + } + } + + /** + * @see https://w3c.github.io/FileAPI/#dom-filereader-result + */ + get result () { + webidl.brandCheck(this, FileReader) + + // The result attribute’s getter, when invoked, must return + // this's result. + return this[kResult] + } + + /** + * @see https://w3c.github.io/FileAPI/#dom-filereader-error + */ + get error () { + webidl.brandCheck(this, FileReader) + + // The error attribute’s getter, when invoked, must return + // this's error. + return this[kError] + } + + get onloadend () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].loadend + } + + set onloadend (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].loadend) { + this.removeEventListener('loadend', this[kEvents].loadend) + } + + if (typeof fn === 'function') { + this[kEvents].loadend = fn + this.addEventListener('loadend', fn) + } else { + this[kEvents].loadend = null + } + } + + get onerror () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].error + } + + set onerror (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].error) { + this.removeEventListener('error', this[kEvents].error) + } + + if (typeof fn === 'function') { + this[kEvents].error = fn + this.addEventListener('error', fn) + } else { + this[kEvents].error = null + } + } + + get onloadstart () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].loadstart + } + + set onloadstart (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].loadstart) { + this.removeEventListener('loadstart', this[kEvents].loadstart) + } + + if (typeof fn === 'function') { + this[kEvents].loadstart = fn + this.addEventListener('loadstart', fn) + } else { + this[kEvents].loadstart = null + } + } + + get onprogress () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].progress + } + + set onprogress (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].progress) { + this.removeEventListener('progress', this[kEvents].progress) + } + + if (typeof fn === 'function') { + this[kEvents].progress = fn + this.addEventListener('progress', fn) + } else { + this[kEvents].progress = null + } + } + + get onload () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].load + } + + set onload (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].load) { + this.removeEventListener('load', this[kEvents].load) + } + + if (typeof fn === 'function') { + this[kEvents].load = fn + this.addEventListener('load', fn) + } else { + this[kEvents].load = null + } + } + + get onabort () { + webidl.brandCheck(this, FileReader) + + return this[kEvents].abort + } + + set onabort (fn) { + webidl.brandCheck(this, FileReader) + + if (this[kEvents].abort) { + this.removeEventListener('abort', this[kEvents].abort) + } + + if (typeof fn === 'function') { + this[kEvents].abort = fn + this.addEventListener('abort', fn) + } else { + this[kEvents].abort = null + } + } +} + +// https://w3c.github.io/FileAPI/#dom-filereader-empty +FileReader.EMPTY = FileReader.prototype.EMPTY = 0 +// https://w3c.github.io/FileAPI/#dom-filereader-loading +FileReader.LOADING = FileReader.prototype.LOADING = 1 +// https://w3c.github.io/FileAPI/#dom-filereader-done +FileReader.DONE = FileReader.prototype.DONE = 2 + +Object.defineProperties(FileReader.prototype, { + EMPTY: staticPropertyDescriptors, + LOADING: staticPropertyDescriptors, + DONE: staticPropertyDescriptors, + readAsArrayBuffer: kEnumerableProperty, + readAsBinaryString: kEnumerableProperty, + readAsText: kEnumerableProperty, + readAsDataURL: kEnumerableProperty, + abort: kEnumerableProperty, + readyState: kEnumerableProperty, + result: kEnumerableProperty, + error: kEnumerableProperty, + onloadstart: kEnumerableProperty, + onprogress: kEnumerableProperty, + onload: kEnumerableProperty, + onabort: kEnumerableProperty, + onerror: kEnumerableProperty, + onloadend: kEnumerableProperty, + [Symbol.toStringTag]: { + value: 'FileReader', + writable: false, + enumerable: false, + configurable: true + } +}) + +Object.defineProperties(FileReader, { + EMPTY: staticPropertyDescriptors, + LOADING: staticPropertyDescriptors, + DONE: staticPropertyDescriptors +}) + +module.exports = { + FileReader +} + + +/***/ }), + +/***/ 5504: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { webidl } = __nccwpck_require__(1744) + +const kState = Symbol('ProgressEvent state') + +/** + * @see https://xhr.spec.whatwg.org/#progressevent + */ +class ProgressEvent extends Event { + constructor (type, eventInitDict = {}) { + type = webidl.converters.DOMString(type) + eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {}) + + super(type, eventInitDict) + + this[kState] = { + lengthComputable: eventInitDict.lengthComputable, + loaded: eventInitDict.loaded, + total: eventInitDict.total + } + } + + get lengthComputable () { + webidl.brandCheck(this, ProgressEvent) + + return this[kState].lengthComputable + } + + get loaded () { + webidl.brandCheck(this, ProgressEvent) + + return this[kState].loaded + } + + get total () { + webidl.brandCheck(this, ProgressEvent) + + return this[kState].total + } +} + +webidl.converters.ProgressEventInit = webidl.dictionaryConverter([ + { + key: 'lengthComputable', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'loaded', + converter: webidl.converters['unsigned long long'], + defaultValue: 0 + }, + { + key: 'total', + converter: webidl.converters['unsigned long long'], + defaultValue: 0 + }, + { + key: 'bubbles', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'cancelable', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'composed', + converter: webidl.converters.boolean, + defaultValue: false + } +]) + +module.exports = { + ProgressEvent +} + + +/***/ }), + +/***/ 9054: +/***/ ((module) => { + +"use strict"; + + +module.exports = { + kState: Symbol('FileReader state'), + kResult: Symbol('FileReader result'), + kError: Symbol('FileReader error'), + kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'), + kEvents: Symbol('FileReader events'), + kAborted: Symbol('FileReader aborted') +} + + +/***/ }), + +/***/ 7530: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + kState, + kError, + kResult, + kAborted, + kLastProgressEventFired +} = __nccwpck_require__(9054) +const { ProgressEvent } = __nccwpck_require__(5504) +const { getEncoding } = __nccwpck_require__(4854) +const { DOMException } = __nccwpck_require__(1037) +const { serializeAMimeType, parseMIMEType } = __nccwpck_require__(685) +const { types } = __nccwpck_require__(3837) +const { StringDecoder } = __nccwpck_require__(1576) +const { btoa } = __nccwpck_require__(4300) + +/** @type {PropertyDescriptor} */ +const staticPropertyDescriptors = { + enumerable: true, + writable: false, + configurable: false +} + +/** + * @see https://w3c.github.io/FileAPI/#readOperation + * @param {import('./filereader').FileReader} fr + * @param {import('buffer').Blob} blob + * @param {string} type + * @param {string?} encodingName + */ +function readOperation (fr, blob, type, encodingName) { + // 1. If fr’s state is "loading", throw an InvalidStateError + // DOMException. + if (fr[kState] === 'loading') { + throw new DOMException('Invalid state', 'InvalidStateError') + } + + // 2. Set fr’s state to "loading". + fr[kState] = 'loading' + + // 3. Set fr’s result to null. + fr[kResult] = null + + // 4. Set fr’s error to null. + fr[kError] = null + + // 5. Let stream be the result of calling get stream on blob. + /** @type {import('stream/web').ReadableStream} */ + const stream = blob.stream() + + // 6. Let reader be the result of getting a reader from stream. + const reader = stream.getReader() + + // 7. Let bytes be an empty byte sequence. + /** @type {Uint8Array[]} */ + const bytes = [] + + // 8. Let chunkPromise be the result of reading a chunk from + // stream with reader. + let chunkPromise = reader.read() + + // 9. Let isFirstChunk be true. + let isFirstChunk = true + + // 10. In parallel, while true: + // Note: "In parallel" just means non-blocking + // Note 2: readOperation itself cannot be async as double + // reading the body would then reject the promise, instead + // of throwing an error. + ;(async () => { + while (!fr[kAborted]) { + // 1. Wait for chunkPromise to be fulfilled or rejected. + try { + const { done, value } = await chunkPromise + + // 2. If chunkPromise is fulfilled, and isFirstChunk is + // true, queue a task to fire a progress event called + // loadstart at fr. + if (isFirstChunk && !fr[kAborted]) { + queueMicrotask(() => { + fireAProgressEvent('loadstart', fr) + }) + } + + // 3. Set isFirstChunk to false. + isFirstChunk = false + + // 4. If chunkPromise is fulfilled with an object whose + // done property is false and whose value property is + // a Uint8Array object, run these steps: + if (!done && types.isUint8Array(value)) { + // 1. Let bs be the byte sequence represented by the + // Uint8Array object. + + // 2. Append bs to bytes. + bytes.push(value) + + // 3. If roughly 50ms have passed since these steps + // were last invoked, queue a task to fire a + // progress event called progress at fr. + if ( + ( + fr[kLastProgressEventFired] === undefined || + Date.now() - fr[kLastProgressEventFired] >= 50 + ) && + !fr[kAborted] + ) { + fr[kLastProgressEventFired] = Date.now() + queueMicrotask(() => { + fireAProgressEvent('progress', fr) + }) + } + + // 4. Set chunkPromise to the result of reading a + // chunk from stream with reader. + chunkPromise = reader.read() + } else if (done) { + // 5. Otherwise, if chunkPromise is fulfilled with an + // object whose done property is true, queue a task + // to run the following steps and abort this algorithm: + queueMicrotask(() => { + // 1. Set fr’s state to "done". + fr[kState] = 'done' + + // 2. Let result be the result of package data given + // bytes, type, blob’s type, and encodingName. + try { + const result = packageData(bytes, type, blob.type, encodingName) + + // 4. Else: + + if (fr[kAborted]) { + return + } + + // 1. Set fr’s result to result. + fr[kResult] = result + + // 2. Fire a progress event called load at the fr. + fireAProgressEvent('load', fr) + } catch (error) { + // 3. If package data threw an exception error: + + // 1. Set fr’s error to error. + fr[kError] = error + + // 2. Fire a progress event called error at fr. + fireAProgressEvent('error', fr) + } + + // 5. If fr’s state is not "loading", fire a progress + // event called loadend at the fr. + if (fr[kState] !== 'loading') { + fireAProgressEvent('loadend', fr) + } + }) + + break + } + } catch (error) { + if (fr[kAborted]) { + return + } + + // 6. Otherwise, if chunkPromise is rejected with an + // error error, queue a task to run the following + // steps and abort this algorithm: + queueMicrotask(() => { + // 1. Set fr’s state to "done". + fr[kState] = 'done' + + // 2. Set fr’s error to error. + fr[kError] = error + + // 3. Fire a progress event called error at fr. + fireAProgressEvent('error', fr) + + // 4. If fr’s state is not "loading", fire a progress + // event called loadend at fr. + if (fr[kState] !== 'loading') { + fireAProgressEvent('loadend', fr) + } + }) + + break + } + } + })() +} + +/** + * @see https://w3c.github.io/FileAPI/#fire-a-progress-event + * @see https://dom.spec.whatwg.org/#concept-event-fire + * @param {string} e The name of the event + * @param {import('./filereader').FileReader} reader + */ +function fireAProgressEvent (e, reader) { + // The progress event e does not bubble. e.bubbles must be false + // The progress event e is NOT cancelable. e.cancelable must be false + const event = new ProgressEvent(e, { + bubbles: false, + cancelable: false + }) + + reader.dispatchEvent(event) +} + +/** + * @see https://w3c.github.io/FileAPI/#blob-package-data + * @param {Uint8Array[]} bytes + * @param {string} type + * @param {string?} mimeType + * @param {string?} encodingName + */ +function packageData (bytes, type, mimeType, encodingName) { + // 1. A Blob has an associated package data algorithm, given + // bytes, a type, a optional mimeType, and a optional + // encodingName, which switches on type and runs the + // associated steps: + + switch (type) { + case 'DataURL': { + // 1. Return bytes as a DataURL [RFC2397] subject to + // the considerations below: + // * Use mimeType as part of the Data URL if it is + // available in keeping with the Data URL + // specification [RFC2397]. + // * If mimeType is not available return a Data URL + // without a media-type. [RFC2397]. + + // https://datatracker.ietf.org/doc/html/rfc2397#section-3 + // dataurl := "data:" [ mediatype ] [ ";base64" ] "," data + // mediatype := [ type "/" subtype ] *( ";" parameter ) + // data := *urlchar + // parameter := attribute "=" value + let dataURL = 'data:' + + const parsed = parseMIMEType(mimeType || 'application/octet-stream') + + if (parsed !== 'failure') { + dataURL += serializeAMimeType(parsed) + } + + dataURL += ';base64,' + + const decoder = new StringDecoder('latin1') + + for (const chunk of bytes) { + dataURL += btoa(decoder.write(chunk)) + } + + dataURL += btoa(decoder.end()) + + return dataURL + } + case 'Text': { + // 1. Let encoding be failure + let encoding = 'failure' + + // 2. If the encodingName is present, set encoding to the + // result of getting an encoding from encodingName. + if (encodingName) { + encoding = getEncoding(encodingName) + } + + // 3. If encoding is failure, and mimeType is present: + if (encoding === 'failure' && mimeType) { + // 1. Let type be the result of parse a MIME type + // given mimeType. + const type = parseMIMEType(mimeType) + + // 2. If type is not failure, set encoding to the result + // of getting an encoding from type’s parameters["charset"]. + if (type !== 'failure') { + encoding = getEncoding(type.parameters.get('charset')) + } + } + + // 4. If encoding is failure, then set encoding to UTF-8. + if (encoding === 'failure') { + encoding = 'UTF-8' + } + + // 5. Decode bytes using fallback encoding encoding, and + // return the result. + return decode(bytes, encoding) + } + case 'ArrayBuffer': { + // Return a new ArrayBuffer whose contents are bytes. + const sequence = combineByteSequences(bytes) + + return sequence.buffer + } + case 'BinaryString': { + // Return bytes as a binary string, in which every byte + // is represented by a code unit of equal value [0..255]. + let binaryString = '' + + const decoder = new StringDecoder('latin1') + + for (const chunk of bytes) { + binaryString += decoder.write(chunk) + } + + binaryString += decoder.end() + + return binaryString + } + } +} + +/** + * @see https://encoding.spec.whatwg.org/#decode + * @param {Uint8Array[]} ioQueue + * @param {string} encoding + */ +function decode (ioQueue, encoding) { + const bytes = combineByteSequences(ioQueue) + + // 1. Let BOMEncoding be the result of BOM sniffing ioQueue. + const BOMEncoding = BOMSniffing(bytes) + + let slice = 0 + + // 2. If BOMEncoding is non-null: + if (BOMEncoding !== null) { + // 1. Set encoding to BOMEncoding. + encoding = BOMEncoding + + // 2. Read three bytes from ioQueue, if BOMEncoding is + // UTF-8; otherwise read two bytes. + // (Do nothing with those bytes.) + slice = BOMEncoding === 'UTF-8' ? 3 : 2 + } + + // 3. Process a queue with an instance of encoding’s + // decoder, ioQueue, output, and "replacement". + + // 4. Return output. + + const sliced = bytes.slice(slice) + return new TextDecoder(encoding).decode(sliced) +} + +/** + * @see https://encoding.spec.whatwg.org/#bom-sniff + * @param {Uint8Array} ioQueue + */ +function BOMSniffing (ioQueue) { + // 1. Let BOM be the result of peeking 3 bytes from ioQueue, + // converted to a byte sequence. + const [a, b, c] = ioQueue + + // 2. For each of the rows in the table below, starting with + // the first one and going down, if BOM starts with the + // bytes given in the first column, then return the + // encoding given in the cell in the second column of that + // row. Otherwise, return null. + if (a === 0xEF && b === 0xBB && c === 0xBF) { + return 'UTF-8' + } else if (a === 0xFE && b === 0xFF) { + return 'UTF-16BE' + } else if (a === 0xFF && b === 0xFE) { + return 'UTF-16LE' + } + + return null +} + +/** + * @param {Uint8Array[]} sequences + */ +function combineByteSequences (sequences) { + const size = sequences.reduce((a, b) => { + return a + b.byteLength + }, 0) + + let offset = 0 + + return sequences.reduce((a, b) => { + a.set(b, offset) + offset += b.byteLength + return a + }, new Uint8Array(size)) +} + +module.exports = { + staticPropertyDescriptors, + readOperation, + fireAProgressEvent +} + + +/***/ }), + +/***/ 1892: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +// We include a version number for the Dispatcher API. In case of breaking changes, +// this version number must be increased to avoid conflicts. +const globalDispatcher = Symbol.for('undici.globalDispatcher.1') +const { InvalidArgumentError } = __nccwpck_require__(8045) +const Agent = __nccwpck_require__(7890) + +if (getGlobalDispatcher() === undefined) { + setGlobalDispatcher(new Agent()) +} + +function setGlobalDispatcher (agent) { + if (!agent || typeof agent.dispatch !== 'function') { + throw new InvalidArgumentError('Argument agent must implement Agent') + } + Object.defineProperty(globalThis, globalDispatcher, { + value: agent, + writable: true, + enumerable: false, + configurable: false + }) +} + +function getGlobalDispatcher () { + return globalThis[globalDispatcher] +} + +module.exports = { + setGlobalDispatcher, + getGlobalDispatcher +} + + +/***/ }), + +/***/ 6930: +/***/ ((module) => { + +"use strict"; + + +module.exports = class DecoratorHandler { + constructor (handler) { + this.handler = handler + } + + onConnect (...args) { + return this.handler.onConnect(...args) + } + + onError (...args) { + return this.handler.onError(...args) + } + + onUpgrade (...args) { + return this.handler.onUpgrade(...args) + } + + onHeaders (...args) { + return this.handler.onHeaders(...args) + } + + onData (...args) { + return this.handler.onData(...args) + } + + onComplete (...args) { + return this.handler.onComplete(...args) + } + + onBodySent (...args) { + return this.handler.onBodySent(...args) + } +} + + +/***/ }), + +/***/ 2860: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const util = __nccwpck_require__(3983) +const { kBodyUsed } = __nccwpck_require__(2785) +const assert = __nccwpck_require__(9491) +const { InvalidArgumentError } = __nccwpck_require__(8045) +const EE = __nccwpck_require__(2361) + +const redirectableStatusCodes = [300, 301, 302, 303, 307, 308] + +const kBody = Symbol('body') + +class BodyAsyncIterable { + constructor (body) { + this[kBody] = body + this[kBodyUsed] = false + } + + async * [Symbol.asyncIterator] () { + assert(!this[kBodyUsed], 'disturbed') + this[kBodyUsed] = true + yield * this[kBody] + } +} + +class RedirectHandler { + constructor (dispatch, maxRedirections, opts, handler) { + if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) { + throw new InvalidArgumentError('maxRedirections must be a positive number') + } + + util.validateHandler(handler, opts.method, opts.upgrade) + + this.dispatch = dispatch + this.location = null + this.abort = null + this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy + this.maxRedirections = maxRedirections + this.handler = handler + this.history = [] + + if (util.isStream(this.opts.body)) { + // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp + // so that it can be dispatched again? + // TODO (fix): Do we need 100-expect support to provide a way to do this properly? + if (util.bodyLength(this.opts.body) === 0) { + this.opts.body + .on('data', function () { + assert(false) + }) + } + + if (typeof this.opts.body.readableDidRead !== 'boolean') { + this.opts.body[kBodyUsed] = false + EE.prototype.on.call(this.opts.body, 'data', function () { + this[kBodyUsed] = true + }) + } + } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') { + // TODO (fix): We can't access ReadableStream internal state + // to determine whether or not it has been disturbed. This is just + // a workaround. + this.opts.body = new BodyAsyncIterable(this.opts.body) + } else if ( + this.opts.body && + typeof this.opts.body !== 'string' && + !ArrayBuffer.isView(this.opts.body) && + util.isIterable(this.opts.body) + ) { + // TODO: Should we allow re-using iterable if !this.opts.idempotent + // or through some other flag? + this.opts.body = new BodyAsyncIterable(this.opts.body) + } + } + + onConnect (abort) { + this.abort = abort + this.handler.onConnect(abort, { history: this.history }) + } + + onUpgrade (statusCode, headers, socket) { + this.handler.onUpgrade(statusCode, headers, socket) + } + + onError (error) { + this.handler.onError(error) + } + + onHeaders (statusCode, headers, resume, statusText) { + this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body) + ? null + : parseLocation(statusCode, headers) + + if (this.opts.origin) { + this.history.push(new URL(this.opts.path, this.opts.origin)) + } + + if (!this.location) { + return this.handler.onHeaders(statusCode, headers, resume, statusText) + } + + const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin))) + const path = search ? `${pathname}${search}` : pathname + + // Remove headers referring to the original URL. + // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers. + // https://tools.ietf.org/html/rfc7231#section-6.4 + this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin) + this.opts.path = path + this.opts.origin = origin + this.opts.maxRedirections = 0 + this.opts.query = null + + // https://tools.ietf.org/html/rfc7231#section-6.4.4 + // In case of HTTP 303, always replace method to be either HEAD or GET + if (statusCode === 303 && this.opts.method !== 'HEAD') { + this.opts.method = 'GET' + this.opts.body = null + } + } + + onData (chunk) { + if (this.location) { + /* + https://tools.ietf.org/html/rfc7231#section-6.4 + + TLDR: undici always ignores 3xx response bodies. + + Redirection is used to serve the requested resource from another URL, so it is assumes that + no body is generated (and thus can be ignored). Even though generating a body is not prohibited. + + For status 301, 302, 303, 307 and 308 (the latter from RFC 7238), the specs mention that the body usually + (which means it's optional and not mandated) contain just an hyperlink to the value of + the Location response header, so the body can be ignored safely. + + For status 300, which is "Multiple Choices", the spec mentions both generating a Location + response header AND a response body with the other possible location to follow. + Since the spec explicitily chooses not to specify a format for such body and leave it to + servers and browsers implementors, we ignore the body as there is no specified way to eventually parse it. + */ + } else { + return this.handler.onData(chunk) + } + } + + onComplete (trailers) { + if (this.location) { + /* + https://tools.ietf.org/html/rfc7231#section-6.4 + + TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections + and neither are useful if present. + + See comment on onData method above for more detailed informations. + */ + + this.location = null + this.abort = null + + this.dispatch(this.opts, this) + } else { + this.handler.onComplete(trailers) + } + } + + onBodySent (chunk) { + if (this.handler.onBodySent) { + this.handler.onBodySent(chunk) + } + } +} + +function parseLocation (statusCode, headers) { + if (redirectableStatusCodes.indexOf(statusCode) === -1) { + return null + } + + for (let i = 0; i < headers.length; i += 2) { + if (headers[i].toString().toLowerCase() === 'location') { + return headers[i + 1] + } + } +} + +// https://tools.ietf.org/html/rfc7231#section-6.4.4 +function shouldRemoveHeader (header, removeContent, unknownOrigin) { + if (header.length === 4) { + return util.headerNameToString(header) === 'host' + } + if (removeContent && util.headerNameToString(header).startsWith('content-')) { + return true + } + if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) { + const name = util.headerNameToString(header) + return name === 'authorization' || name === 'cookie' || name === 'proxy-authorization' + } + return false +} + +// https://tools.ietf.org/html/rfc7231#section-6.4 +function cleanRequestHeaders (headers, removeContent, unknownOrigin) { + const ret = [] + if (Array.isArray(headers)) { + for (let i = 0; i < headers.length; i += 2) { + if (!shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) { + ret.push(headers[i], headers[i + 1]) + } + } + } else if (headers && typeof headers === 'object') { + for (const key of Object.keys(headers)) { + if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) { + ret.push(key, headers[key]) + } + } + } else { + assert(headers == null, 'headers must be an object or an array') + } + return ret +} + +module.exports = RedirectHandler + + +/***/ }), + +/***/ 2286: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const assert = __nccwpck_require__(9491) + +const { kRetryHandlerDefaultRetry } = __nccwpck_require__(2785) +const { RequestRetryError } = __nccwpck_require__(8045) +const { isDisturbed, parseHeaders, parseRangeHeader } = __nccwpck_require__(3983) + +function calculateRetryAfterHeader (retryAfter) { + const current = Date.now() + const diff = new Date(retryAfter).getTime() - current + + return diff +} + +class RetryHandler { + constructor (opts, handlers) { + const { retryOptions, ...dispatchOpts } = opts + const { + // Retry scoped + retry: retryFn, + maxRetries, + maxTimeout, + minTimeout, + timeoutFactor, + // Response scoped + methods, + errorCodes, + retryAfter, + statusCodes + } = retryOptions ?? {} + + this.dispatch = handlers.dispatch + this.handler = handlers.handler + this.opts = dispatchOpts + this.abort = null + this.aborted = false + this.retryOpts = { + retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry], + retryAfter: retryAfter ?? true, + maxTimeout: maxTimeout ?? 30 * 1000, // 30s, + timeout: minTimeout ?? 500, // .5s + timeoutFactor: timeoutFactor ?? 2, + maxRetries: maxRetries ?? 5, + // What errors we should retry + methods: methods ?? ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'], + // Indicates which errors to retry + statusCodes: statusCodes ?? [500, 502, 503, 504, 429], + // List of errors to retry + errorCodes: errorCodes ?? [ + 'ECONNRESET', + 'ECONNREFUSED', + 'ENOTFOUND', + 'ENETDOWN', + 'ENETUNREACH', + 'EHOSTDOWN', + 'EHOSTUNREACH', + 'EPIPE' + ] + } + + this.retryCount = 0 + this.start = 0 + this.end = null + this.etag = null + this.resume = null + + // Handle possible onConnect duplication + this.handler.onConnect(reason => { + this.aborted = true + if (this.abort) { + this.abort(reason) + } else { + this.reason = reason + } + }) + } + + onRequestSent () { + if (this.handler.onRequestSent) { + this.handler.onRequestSent() + } + } + + onUpgrade (statusCode, headers, socket) { + if (this.handler.onUpgrade) { + this.handler.onUpgrade(statusCode, headers, socket) + } + } + + onConnect (abort) { + if (this.aborted) { + abort(this.reason) + } else { + this.abort = abort + } + } + + onBodySent (chunk) { + if (this.handler.onBodySent) return this.handler.onBodySent(chunk) + } + + static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) { + const { statusCode, code, headers } = err + const { method, retryOptions } = opts + const { + maxRetries, + timeout, + maxTimeout, + timeoutFactor, + statusCodes, + errorCodes, + methods + } = retryOptions + let { counter, currentTimeout } = state + + currentTimeout = + currentTimeout != null && currentTimeout > 0 ? currentTimeout : timeout + + // Any code that is not a Undici's originated and allowed to retry + if ( + code && + code !== 'UND_ERR_REQ_RETRY' && + code !== 'UND_ERR_SOCKET' && + !errorCodes.includes(code) + ) { + cb(err) + return + } + + // If a set of method are provided and the current method is not in the list + if (Array.isArray(methods) && !methods.includes(method)) { + cb(err) + return + } + + // If a set of status code are provided and the current status code is not in the list + if ( + statusCode != null && + Array.isArray(statusCodes) && + !statusCodes.includes(statusCode) + ) { + cb(err) + return + } + + // If we reached the max number of retries + if (counter > maxRetries) { + cb(err) + return + } + + let retryAfterHeader = headers != null && headers['retry-after'] + if (retryAfterHeader) { + retryAfterHeader = Number(retryAfterHeader) + retryAfterHeader = isNaN(retryAfterHeader) + ? calculateRetryAfterHeader(retryAfterHeader) + : retryAfterHeader * 1e3 // Retry-After is in seconds + } + + const retryTimeout = + retryAfterHeader > 0 + ? Math.min(retryAfterHeader, maxTimeout) + : Math.min(currentTimeout * timeoutFactor ** counter, maxTimeout) + + state.currentTimeout = retryTimeout + + setTimeout(() => cb(null), retryTimeout) + } + + onHeaders (statusCode, rawHeaders, resume, statusMessage) { + const headers = parseHeaders(rawHeaders) + + this.retryCount += 1 + + if (statusCode >= 300) { + this.abort( + new RequestRetryError('Request failed', statusCode, { + headers, + count: this.retryCount + }) + ) + return false + } + + // Checkpoint for resume from where we left it + if (this.resume != null) { + this.resume = null + + if (statusCode !== 206) { + return true + } + + const contentRange = parseRangeHeader(headers['content-range']) + // If no content range + if (!contentRange) { + this.abort( + new RequestRetryError('Content-Range mismatch', statusCode, { + headers, + count: this.retryCount + }) + ) + return false + } + + // Let's start with a weak etag check + if (this.etag != null && this.etag !== headers.etag) { + this.abort( + new RequestRetryError('ETag mismatch', statusCode, { + headers, + count: this.retryCount + }) + ) + return false + } + + const { start, size, end = size } = contentRange + + assert(this.start === start, 'content-range mismatch') + assert(this.end == null || this.end === end, 'content-range mismatch') + + this.resume = resume + return true + } + + if (this.end == null) { + if (statusCode === 206) { + // First time we receive 206 + const range = parseRangeHeader(headers['content-range']) + + if (range == null) { + return this.handler.onHeaders( + statusCode, + rawHeaders, + resume, + statusMessage + ) + } + + const { start, size, end = size } = range + + assert( + start != null && Number.isFinite(start) && this.start !== start, + 'content-range mismatch' + ) + assert(Number.isFinite(start)) + assert( + end != null && Number.isFinite(end) && this.end !== end, + 'invalid content-length' + ) + + this.start = start + this.end = end + } + + // We make our best to checkpoint the body for further range headers + if (this.end == null) { + const contentLength = headers['content-length'] + this.end = contentLength != null ? Number(contentLength) : null + } + + assert(Number.isFinite(this.start)) + assert( + this.end == null || Number.isFinite(this.end), + 'invalid content-length' + ) + + this.resume = resume + this.etag = headers.etag != null ? headers.etag : null + + return this.handler.onHeaders( + statusCode, + rawHeaders, + resume, + statusMessage + ) + } + + const err = new RequestRetryError('Request failed', statusCode, { + headers, + count: this.retryCount + }) + + this.abort(err) + + return false + } + + onData (chunk) { + this.start += chunk.length + + return this.handler.onData(chunk) + } + + onComplete (rawTrailers) { + this.retryCount = 0 + return this.handler.onComplete(rawTrailers) + } + + onError (err) { + if (this.aborted || isDisturbed(this.opts.body)) { + return this.handler.onError(err) + } + + this.retryOpts.retry( + err, + { + state: { counter: this.retryCount++, currentTimeout: this.retryAfter }, + opts: { retryOptions: this.retryOpts, ...this.opts } + }, + onRetry.bind(this) + ) + + function onRetry (err) { + if (err != null || this.aborted || isDisturbed(this.opts.body)) { + return this.handler.onError(err) + } + + if (this.start !== 0) { + this.opts = { + ...this.opts, + headers: { + ...this.opts.headers, + range: `bytes=${this.start}-${this.end ?? ''}` + } + } + } + + try { + this.dispatch(this.opts, this) + } catch (err) { + this.handler.onError(err) + } + } + } +} + +module.exports = RetryHandler + + +/***/ }), + +/***/ 8861: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const RedirectHandler = __nccwpck_require__(2860) + +function createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) { + return (dispatch) => { + return function Intercept (opts, handler) { + const { maxRedirections = defaultMaxRedirections } = opts + + if (!maxRedirections) { + return dispatch(opts, handler) + } + + const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler) + opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting. + return dispatch(opts, redirectHandler) + } + } +} + +module.exports = createRedirectInterceptor + + +/***/ }), + +/***/ 953: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0; +const utils_1 = __nccwpck_require__(1891); +// C headers +var ERROR; +(function (ERROR) { + ERROR[ERROR["OK"] = 0] = "OK"; + ERROR[ERROR["INTERNAL"] = 1] = "INTERNAL"; + ERROR[ERROR["STRICT"] = 2] = "STRICT"; + ERROR[ERROR["LF_EXPECTED"] = 3] = "LF_EXPECTED"; + ERROR[ERROR["UNEXPECTED_CONTENT_LENGTH"] = 4] = "UNEXPECTED_CONTENT_LENGTH"; + ERROR[ERROR["CLOSED_CONNECTION"] = 5] = "CLOSED_CONNECTION"; + ERROR[ERROR["INVALID_METHOD"] = 6] = "INVALID_METHOD"; + ERROR[ERROR["INVALID_URL"] = 7] = "INVALID_URL"; + ERROR[ERROR["INVALID_CONSTANT"] = 8] = "INVALID_CONSTANT"; + ERROR[ERROR["INVALID_VERSION"] = 9] = "INVALID_VERSION"; + ERROR[ERROR["INVALID_HEADER_TOKEN"] = 10] = "INVALID_HEADER_TOKEN"; + ERROR[ERROR["INVALID_CONTENT_LENGTH"] = 11] = "INVALID_CONTENT_LENGTH"; + ERROR[ERROR["INVALID_CHUNK_SIZE"] = 12] = "INVALID_CHUNK_SIZE"; + ERROR[ERROR["INVALID_STATUS"] = 13] = "INVALID_STATUS"; + ERROR[ERROR["INVALID_EOF_STATE"] = 14] = "INVALID_EOF_STATE"; + ERROR[ERROR["INVALID_TRANSFER_ENCODING"] = 15] = "INVALID_TRANSFER_ENCODING"; + ERROR[ERROR["CB_MESSAGE_BEGIN"] = 16] = "CB_MESSAGE_BEGIN"; + ERROR[ERROR["CB_HEADERS_COMPLETE"] = 17] = "CB_HEADERS_COMPLETE"; + ERROR[ERROR["CB_MESSAGE_COMPLETE"] = 18] = "CB_MESSAGE_COMPLETE"; + ERROR[ERROR["CB_CHUNK_HEADER"] = 19] = "CB_CHUNK_HEADER"; + ERROR[ERROR["CB_CHUNK_COMPLETE"] = 20] = "CB_CHUNK_COMPLETE"; + ERROR[ERROR["PAUSED"] = 21] = "PAUSED"; + ERROR[ERROR["PAUSED_UPGRADE"] = 22] = "PAUSED_UPGRADE"; + ERROR[ERROR["PAUSED_H2_UPGRADE"] = 23] = "PAUSED_H2_UPGRADE"; + ERROR[ERROR["USER"] = 24] = "USER"; +})(ERROR = exports.ERROR || (exports.ERROR = {})); +var TYPE; +(function (TYPE) { + TYPE[TYPE["BOTH"] = 0] = "BOTH"; + TYPE[TYPE["REQUEST"] = 1] = "REQUEST"; + TYPE[TYPE["RESPONSE"] = 2] = "RESPONSE"; +})(TYPE = exports.TYPE || (exports.TYPE = {})); +var FLAGS; +(function (FLAGS) { + FLAGS[FLAGS["CONNECTION_KEEP_ALIVE"] = 1] = "CONNECTION_KEEP_ALIVE"; + FLAGS[FLAGS["CONNECTION_CLOSE"] = 2] = "CONNECTION_CLOSE"; + FLAGS[FLAGS["CONNECTION_UPGRADE"] = 4] = "CONNECTION_UPGRADE"; + FLAGS[FLAGS["CHUNKED"] = 8] = "CHUNKED"; + FLAGS[FLAGS["UPGRADE"] = 16] = "UPGRADE"; + FLAGS[FLAGS["CONTENT_LENGTH"] = 32] = "CONTENT_LENGTH"; + FLAGS[FLAGS["SKIPBODY"] = 64] = "SKIPBODY"; + FLAGS[FLAGS["TRAILING"] = 128] = "TRAILING"; + // 1 << 8 is unused + FLAGS[FLAGS["TRANSFER_ENCODING"] = 512] = "TRANSFER_ENCODING"; +})(FLAGS = exports.FLAGS || (exports.FLAGS = {})); +var LENIENT_FLAGS; +(function (LENIENT_FLAGS) { + LENIENT_FLAGS[LENIENT_FLAGS["HEADERS"] = 1] = "HEADERS"; + LENIENT_FLAGS[LENIENT_FLAGS["CHUNKED_LENGTH"] = 2] = "CHUNKED_LENGTH"; + LENIENT_FLAGS[LENIENT_FLAGS["KEEP_ALIVE"] = 4] = "KEEP_ALIVE"; +})(LENIENT_FLAGS = exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {})); +var METHODS; +(function (METHODS) { + METHODS[METHODS["DELETE"] = 0] = "DELETE"; + METHODS[METHODS["GET"] = 1] = "GET"; + METHODS[METHODS["HEAD"] = 2] = "HEAD"; + METHODS[METHODS["POST"] = 3] = "POST"; + METHODS[METHODS["PUT"] = 4] = "PUT"; + /* pathological */ + METHODS[METHODS["CONNECT"] = 5] = "CONNECT"; + METHODS[METHODS["OPTIONS"] = 6] = "OPTIONS"; + METHODS[METHODS["TRACE"] = 7] = "TRACE"; + /* WebDAV */ + METHODS[METHODS["COPY"] = 8] = "COPY"; + METHODS[METHODS["LOCK"] = 9] = "LOCK"; + METHODS[METHODS["MKCOL"] = 10] = "MKCOL"; + METHODS[METHODS["MOVE"] = 11] = "MOVE"; + METHODS[METHODS["PROPFIND"] = 12] = "PROPFIND"; + METHODS[METHODS["PROPPATCH"] = 13] = "PROPPATCH"; + METHODS[METHODS["SEARCH"] = 14] = "SEARCH"; + METHODS[METHODS["UNLOCK"] = 15] = "UNLOCK"; + METHODS[METHODS["BIND"] = 16] = "BIND"; + METHODS[METHODS["REBIND"] = 17] = "REBIND"; + METHODS[METHODS["UNBIND"] = 18] = "UNBIND"; + METHODS[METHODS["ACL"] = 19] = "ACL"; + /* subversion */ + METHODS[METHODS["REPORT"] = 20] = "REPORT"; + METHODS[METHODS["MKACTIVITY"] = 21] = "MKACTIVITY"; + METHODS[METHODS["CHECKOUT"] = 22] = "CHECKOUT"; + METHODS[METHODS["MERGE"] = 23] = "MERGE"; + /* upnp */ + METHODS[METHODS["M-SEARCH"] = 24] = "M-SEARCH"; + METHODS[METHODS["NOTIFY"] = 25] = "NOTIFY"; + METHODS[METHODS["SUBSCRIBE"] = 26] = "SUBSCRIBE"; + METHODS[METHODS["UNSUBSCRIBE"] = 27] = "UNSUBSCRIBE"; + /* RFC-5789 */ + METHODS[METHODS["PATCH"] = 28] = "PATCH"; + METHODS[METHODS["PURGE"] = 29] = "PURGE"; + /* CalDAV */ + METHODS[METHODS["MKCALENDAR"] = 30] = "MKCALENDAR"; + /* RFC-2068, section 19.6.1.2 */ + METHODS[METHODS["LINK"] = 31] = "LINK"; + METHODS[METHODS["UNLINK"] = 32] = "UNLINK"; + /* icecast */ + METHODS[METHODS["SOURCE"] = 33] = "SOURCE"; + /* RFC-7540, section 11.6 */ + METHODS[METHODS["PRI"] = 34] = "PRI"; + /* RFC-2326 RTSP */ + METHODS[METHODS["DESCRIBE"] = 35] = "DESCRIBE"; + METHODS[METHODS["ANNOUNCE"] = 36] = "ANNOUNCE"; + METHODS[METHODS["SETUP"] = 37] = "SETUP"; + METHODS[METHODS["PLAY"] = 38] = "PLAY"; + METHODS[METHODS["PAUSE"] = 39] = "PAUSE"; + METHODS[METHODS["TEARDOWN"] = 40] = "TEARDOWN"; + METHODS[METHODS["GET_PARAMETER"] = 41] = "GET_PARAMETER"; + METHODS[METHODS["SET_PARAMETER"] = 42] = "SET_PARAMETER"; + METHODS[METHODS["REDIRECT"] = 43] = "REDIRECT"; + METHODS[METHODS["RECORD"] = 44] = "RECORD"; + /* RAOP */ + METHODS[METHODS["FLUSH"] = 45] = "FLUSH"; +})(METHODS = exports.METHODS || (exports.METHODS = {})); +exports.METHODS_HTTP = [ + METHODS.DELETE, + METHODS.GET, + METHODS.HEAD, + METHODS.POST, + METHODS.PUT, + METHODS.CONNECT, + METHODS.OPTIONS, + METHODS.TRACE, + METHODS.COPY, + METHODS.LOCK, + METHODS.MKCOL, + METHODS.MOVE, + METHODS.PROPFIND, + METHODS.PROPPATCH, + METHODS.SEARCH, + METHODS.UNLOCK, + METHODS.BIND, + METHODS.REBIND, + METHODS.UNBIND, + METHODS.ACL, + METHODS.REPORT, + METHODS.MKACTIVITY, + METHODS.CHECKOUT, + METHODS.MERGE, + METHODS['M-SEARCH'], + METHODS.NOTIFY, + METHODS.SUBSCRIBE, + METHODS.UNSUBSCRIBE, + METHODS.PATCH, + METHODS.PURGE, + METHODS.MKCALENDAR, + METHODS.LINK, + METHODS.UNLINK, + METHODS.PRI, + // TODO(indutny): should we allow it with HTTP? + METHODS.SOURCE, +]; +exports.METHODS_ICE = [ + METHODS.SOURCE, +]; +exports.METHODS_RTSP = [ + METHODS.OPTIONS, + METHODS.DESCRIBE, + METHODS.ANNOUNCE, + METHODS.SETUP, + METHODS.PLAY, + METHODS.PAUSE, + METHODS.TEARDOWN, + METHODS.GET_PARAMETER, + METHODS.SET_PARAMETER, + METHODS.REDIRECT, + METHODS.RECORD, + METHODS.FLUSH, + // For AirPlay + METHODS.GET, + METHODS.POST, +]; +exports.METHOD_MAP = utils_1.enumToMap(METHODS); +exports.H_METHOD_MAP = {}; +Object.keys(exports.METHOD_MAP).forEach((key) => { + if (/^H/.test(key)) { + exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key]; + } +}); +var FINISH; +(function (FINISH) { + FINISH[FINISH["SAFE"] = 0] = "SAFE"; + FINISH[FINISH["SAFE_WITH_CB"] = 1] = "SAFE_WITH_CB"; + FINISH[FINISH["UNSAFE"] = 2] = "UNSAFE"; +})(FINISH = exports.FINISH || (exports.FINISH = {})); +exports.ALPHA = []; +for (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) { + // Upper case + exports.ALPHA.push(String.fromCharCode(i)); + // Lower case + exports.ALPHA.push(String.fromCharCode(i + 0x20)); +} +exports.NUM_MAP = { + 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, + 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, +}; +exports.HEX_MAP = { + 0: 0, 1: 1, 2: 2, 3: 3, 4: 4, + 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, + A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF, + a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf, +}; +exports.NUM = [ + '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', +]; +exports.ALPHANUM = exports.ALPHA.concat(exports.NUM); +exports.MARK = ['-', '_', '.', '!', '~', '*', '\'', '(', ')']; +exports.USERINFO_CHARS = exports.ALPHANUM + .concat(exports.MARK) + .concat(['%', ';', ':', '&', '=', '+', '$', ',']); +// TODO(indutny): use RFC +exports.STRICT_URL_CHAR = [ + '!', '"', '$', '%', '&', '\'', + '(', ')', '*', '+', ',', '-', '.', '/', + ':', ';', '<', '=', '>', + '@', '[', '\\', ']', '^', '_', + '`', + '{', '|', '}', '~', +].concat(exports.ALPHANUM); +exports.URL_CHAR = exports.STRICT_URL_CHAR + .concat(['\t', '\f']); +// All characters with 0x80 bit set to 1 +for (let i = 0x80; i <= 0xff; i++) { + exports.URL_CHAR.push(i); +} +exports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']); +/* Tokens as defined by rfc 2616. Also lowercases them. + * token = 1* + * separators = "(" | ")" | "<" | ">" | "@" + * | "," | ";" | ":" | "\" | <"> + * | "/" | "[" | "]" | "?" | "=" + * | "{" | "}" | SP | HT + */ +exports.STRICT_TOKEN = [ + '!', '#', '$', '%', '&', '\'', + '*', '+', '-', '.', + '^', '_', '`', + '|', '~', +].concat(exports.ALPHANUM); +exports.TOKEN = exports.STRICT_TOKEN.concat([' ']); +/* + * Verify that a char is a valid visible (printable) US-ASCII + * character or %x80-FF + */ +exports.HEADER_CHARS = ['\t']; +for (let i = 32; i <= 255; i++) { + if (i !== 127) { + exports.HEADER_CHARS.push(i); + } +} +// ',' = \x44 +exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44); +exports.MAJOR = exports.NUM_MAP; +exports.MINOR = exports.MAJOR; +var HEADER_STATE; +(function (HEADER_STATE) { + HEADER_STATE[HEADER_STATE["GENERAL"] = 0] = "GENERAL"; + HEADER_STATE[HEADER_STATE["CONNECTION"] = 1] = "CONNECTION"; + HEADER_STATE[HEADER_STATE["CONTENT_LENGTH"] = 2] = "CONTENT_LENGTH"; + HEADER_STATE[HEADER_STATE["TRANSFER_ENCODING"] = 3] = "TRANSFER_ENCODING"; + HEADER_STATE[HEADER_STATE["UPGRADE"] = 4] = "UPGRADE"; + HEADER_STATE[HEADER_STATE["CONNECTION_KEEP_ALIVE"] = 5] = "CONNECTION_KEEP_ALIVE"; + HEADER_STATE[HEADER_STATE["CONNECTION_CLOSE"] = 6] = "CONNECTION_CLOSE"; + HEADER_STATE[HEADER_STATE["CONNECTION_UPGRADE"] = 7] = "CONNECTION_UPGRADE"; + HEADER_STATE[HEADER_STATE["TRANSFER_ENCODING_CHUNKED"] = 8] = "TRANSFER_ENCODING_CHUNKED"; +})(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {})); +exports.SPECIAL_HEADERS = { + 'connection': HEADER_STATE.CONNECTION, + 'content-length': HEADER_STATE.CONTENT_LENGTH, + 'proxy-connection': HEADER_STATE.CONNECTION, + 'transfer-encoding': HEADER_STATE.TRANSFER_ENCODING, + 'upgrade': HEADER_STATE.UPGRADE, +}; +//# sourceMappingURL=constants.js.map + +/***/ }), + +/***/ 1145: +/***/ ((module) => { + +module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCsLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgACgCHCIQQX9qDt0B2gEB2QECAwQFBgcICQoLDA0O2AEPENcBERLWARMUFRYXGBkaG+AB3wEcHR7VAR8gISIjJCXUASYnKCkqKyzTAdIBLS7RAdABLzAxMjM0NTY3ODk6Ozw9Pj9AQUJDREVG2wFHSElKzwHOAUvNAUzMAU1OT1BRUlNUVVZXWFlaW1xdXl9gYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXp7fH1+f4ABgQGCAYMBhAGFAYYBhwGIAYkBigGLAYwBjQGOAY8BkAGRAZIBkwGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwHLAcoBuAHJAbkByAG6AbsBvAG9Ab4BvwHAAcEBwgHDAcQBxQHGAQDcAQtBACEQDMYBC0EOIRAMxQELQQ0hEAzEAQtBDyEQDMMBC0EQIRAMwgELQRMhEAzBAQtBFCEQDMABC0EVIRAMvwELQRYhEAy+AQtBFyEQDL0BC0EYIRAMvAELQRkhEAy7AQtBGiEQDLoBC0EbIRAMuQELQRwhEAy4AQtBCCEQDLcBC0EdIRAMtgELQSAhEAy1AQtBHyEQDLQBC0EHIRAMswELQSEhEAyyAQtBIiEQDLEBC0EeIRAMsAELQSMhEAyvAQtBEiEQDK4BC0ERIRAMrQELQSQhEAysAQtBJSEQDKsBC0EmIRAMqgELQSchEAypAQtBwwEhEAyoAQtBKSEQDKcBC0ErIRAMpgELQSwhEAylAQtBLSEQDKQBC0EuIRAMowELQS8hEAyiAQtBxAEhEAyhAQtBMCEQDKABC0E0IRAMnwELQQwhEAyeAQtBMSEQDJ0BC0EyIRAMnAELQTMhEAybAQtBOSEQDJoBC0E1IRAMmQELQcUBIRAMmAELQQshEAyXAQtBOiEQDJYBC0E2IRAMlQELQQohEAyUAQtBNyEQDJMBC0E4IRAMkgELQTwhEAyRAQtBOyEQDJABC0E9IRAMjwELQQkhEAyOAQtBKCEQDI0BC0E+IRAMjAELQT8hEAyLAQtBwAAhEAyKAQtBwQAhEAyJAQtBwgAhEAyIAQtBwwAhEAyHAQtBxAAhEAyGAQtBxQAhEAyFAQtBxgAhEAyEAQtBKiEQDIMBC0HHACEQDIIBC0HIACEQDIEBC0HJACEQDIABC0HKACEQDH8LQcsAIRAMfgtBzQAhEAx9C0HMACEQDHwLQc4AIRAMewtBzwAhEAx6C0HQACEQDHkLQdEAIRAMeAtB0gAhEAx3C0HTACEQDHYLQdQAIRAMdQtB1gAhEAx0C0HVACEQDHMLQQYhEAxyC0HXACEQDHELQQUhEAxwC0HYACEQDG8LQQQhEAxuC0HZACEQDG0LQdoAIRAMbAtB2wAhEAxrC0HcACEQDGoLQQMhEAxpC0HdACEQDGgLQd4AIRAMZwtB3wAhEAxmC0HhACEQDGULQeAAIRAMZAtB4gAhEAxjC0HjACEQDGILQQIhEAxhC0HkACEQDGALQeUAIRAMXwtB5gAhEAxeC0HnACEQDF0LQegAIRAMXAtB6QAhEAxbC0HqACEQDFoLQesAIRAMWQtB7AAhEAxYC0HtACEQDFcLQe4AIRAMVgtB7wAhEAxVC0HwACEQDFQLQfEAIRAMUwtB8gAhEAxSC0HzACEQDFELQfQAIRAMUAtB9QAhEAxPC0H2ACEQDE4LQfcAIRAMTQtB+AAhEAxMC0H5ACEQDEsLQfoAIRAMSgtB+wAhEAxJC0H8ACEQDEgLQf0AIRAMRwtB/gAhEAxGC0H/ACEQDEULQYABIRAMRAtBgQEhEAxDC0GCASEQDEILQYMBIRAMQQtBhAEhEAxAC0GFASEQDD8LQYYBIRAMPgtBhwEhEAw9C0GIASEQDDwLQYkBIRAMOwtBigEhEAw6C0GLASEQDDkLQYwBIRAMOAtBjQEhEAw3C0GOASEQDDYLQY8BIRAMNQtBkAEhEAw0C0GRASEQDDMLQZIBIRAMMgtBkwEhEAwxC0GUASEQDDALQZUBIRAMLwtBlgEhEAwuC0GXASEQDC0LQZgBIRAMLAtBmQEhEAwrC0GaASEQDCoLQZsBIRAMKQtBnAEhEAwoC0GdASEQDCcLQZ4BIRAMJgtBnwEhEAwlC0GgASEQDCQLQaEBIRAMIwtBogEhEAwiC0GjASEQDCELQaQBIRAMIAtBpQEhEAwfC0GmASEQDB4LQacBIRAMHQtBqAEhEAwcC0GpASEQDBsLQaoBIRAMGgtBqwEhEAwZC0GsASEQDBgLQa0BIRAMFwtBrgEhEAwWC0EBIRAMFQtBrwEhEAwUC0GwASEQDBMLQbEBIRAMEgtBswEhEAwRC0GyASEQDBALQbQBIRAMDwtBtQEhEAwOC0G2ASEQDA0LQbcBIRAMDAtBuAEhEAwLC0G5ASEQDAoLQboBIRAMCQtBuwEhEAwIC0HGASEQDAcLQbwBIRAMBgtBvQEhEAwFC0G+ASEQDAQLQb8BIRAMAwtBwAEhEAwCC0HCASEQDAELQcEBIRALA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB3AHdAd4B4AHhAeIB4wHkAeUB5gHnAegB6QHqAesB7AHtAe4B7wHwAfEB8gHzAZkCpAKwAv4C/gILIAEiBCACRw3zAUHdASEQDP8DCyABIhAgAkcN3QFBwwEhEAz+AwsgASIBIAJHDZABQfcAIRAM/QMLIAEiASACRw2GAUHvACEQDPwDCyABIgEgAkcNf0HqACEQDPsDCyABIgEgAkcNe0HoACEQDPoDCyABIgEgAkcNeEHmACEQDPkDCyABIgEgAkcNGkEYIRAM+AMLIAEiASACRw0UQRIhEAz3AwsgASIBIAJHDVlBxQAhEAz2AwsgASIBIAJHDUpBPyEQDPUDCyABIgEgAkcNSEE8IRAM9AMLIAEiASACRw1BQTEhEAzzAwsgAC0ALkEBRg3rAwyHAgsgACABIgEgAhDAgICAAEEBRw3mASAAQgA3AyAM5wELIAAgASIBIAIQtICAgAAiEA3nASABIQEM9QILAkAgASIBIAJHDQBBBiEQDPADCyAAIAFBAWoiASACELuAgIAAIhAN6AEgASEBDDELIABCADcDIEESIRAM1QMLIAEiECACRw0rQR0hEAztAwsCQCABIgEgAkYNACABQQFqIQFBECEQDNQDC0EHIRAM7AMLIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN5QFBCCEQDOsDCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEUIRAM0gMLQQkhEAzqAwsgASEBIAApAyBQDeQBIAEhAQzyAgsCQCABIgEgAkcNAEELIRAM6QMLIAAgAUEBaiIBIAIQtoCAgAAiEA3lASABIQEM8gILIAAgASIBIAIQuICAgAAiEA3lASABIQEM8gILIAAgASIBIAIQuICAgAAiEA3mASABIQEMDQsgACABIgEgAhC6gICAACIQDecBIAEhAQzwAgsCQCABIgEgAkcNAEEPIRAM5QMLIAEtAAAiEEE7Rg0IIBBBDUcN6AEgAUEBaiEBDO8CCyAAIAEiASACELqAgIAAIhAN6AEgASEBDPICCwNAAkAgAS0AAEHwtYCAAGotAAAiEEEBRg0AIBBBAkcN6wEgACgCBCEQIABBADYCBCAAIBAgAUEBaiIBELmAgIAAIhAN6gEgASEBDPQCCyABQQFqIgEgAkcNAAtBEiEQDOIDCyAAIAEiASACELqAgIAAIhAN6QEgASEBDAoLIAEiASACRw0GQRshEAzgAwsCQCABIgEgAkcNAEEWIRAM4AMLIABBioCAgAA2AgggACABNgIEIAAgASACELiAgIAAIhAN6gEgASEBQSAhEAzGAwsCQCABIgEgAkYNAANAAkAgAS0AAEHwt4CAAGotAAAiEEECRg0AAkAgEEF/ag4E5QHsAQDrAewBCyABQQFqIQFBCCEQDMgDCyABQQFqIgEgAkcNAAtBFSEQDN8DC0EVIRAM3gMLA0ACQCABLQAAQfC5gIAAai0AACIQQQJGDQAgEEF/ag4E3gHsAeAB6wHsAQsgAUEBaiIBIAJHDQALQRghEAzdAwsCQCABIgEgAkYNACAAQYuAgIAANgIIIAAgATYCBCABIQFBByEQDMQDC0EZIRAM3AMLIAFBAWohAQwCCwJAIAEiFCACRw0AQRohEAzbAwsgFCEBAkAgFC0AAEFzag4U3QLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gIA7gILQQAhECAAQQA2AhwgAEGvi4CAADYCECAAQQI2AgwgACAUQQFqNgIUDNoDCwJAIAEtAAAiEEE7Rg0AIBBBDUcN6AEgAUEBaiEBDOUCCyABQQFqIQELQSIhEAy/AwsCQCABIhAgAkcNAEEcIRAM2AMLQgAhESAQIQEgEC0AAEFQag435wHmAQECAwQFBgcIAAAAAAAAAAkKCwwNDgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADxAREhMUAAtBHiEQDL0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAiEA3TASABIQEM2AELAkAgASIQIAJHDQBBKSEQDLcDCyAQLQAAIgFBIEYNFCABQQlHDdMBIBBBAWohAQwVCwJAIAEiASACRg0AIAFBAWohAQwXC0EqIRAMtQMLAkAgASIQIAJHDQBBKyEQDLUDCwJAIBAtAAAiAUEJRg0AIAFBIEcN1QELIAAtACxBCEYN0wEgECEBDJEDCwJAIAEiASACRw0AQSwhEAy0AwsgAS0AAEEKRw3VASABQQFqIQEMyQILIAEiDiACRw3VAUEvIRAMsgMLA0ACQCABLQAAIhBBIEYNAAJAIBBBdmoOBADcAdwBANoBCyABIQEM4AELIAFBAWoiASACRw0AC0ExIRAMsQMLQTIhECABIhQgAkYNsAMgAiAUayAAKAIAIgFqIRUgFCABa0EDaiEWAkADQCAULQAAIhdBIHIgFyAXQb9/akH/AXFBGkkbQf8BcSABQfC7gIAAai0AAEcNAQJAIAFBA0cNAEEGIQEMlgMLIAFBAWohASAUQQFqIhQgAkcNAAsgACAVNgIADLEDCyAAQQA2AgAgFCEBDNkBC0EzIRAgASIUIAJGDa8DIAIgFGsgACgCACIBaiEVIBQgAWtBCGohFgJAA0AgFC0AACIXQSByIBcgF0G/f2pB/wFxQRpJG0H/AXEgAUH0u4CAAGotAABHDQECQCABQQhHDQBBBSEBDJUDCyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFTYCAAywAwsgAEEANgIAIBQhAQzYAQtBNCEQIAEiFCACRg2uAyACIBRrIAAoAgAiAWohFSAUIAFrQQVqIRYCQANAIBQtAAAiF0EgciAXIBdBv39qQf8BcUEaSRtB/wFxIAFB0MKAgABqLQAARw0BAkAgAUEFRw0AQQchAQyUAwsgAUEBaiEBIBRBAWoiFCACRw0ACyAAIBU2AgAMrwMLIABBADYCACAUIQEM1wELAkAgASIBIAJGDQADQAJAIAEtAABBgL6AgABqLQAAIhBBAUYNACAQQQJGDQogASEBDN0BCyABQQFqIgEgAkcNAAtBMCEQDK4DC0EwIRAMrQMLAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgRg0AIBBBdmoOBNkB2gHaAdkB2gELIAFBAWoiASACRw0AC0E4IRAMrQMLQTghEAysAwsDQAJAIAEtAAAiEEEgRg0AIBBBCUcNAwsgAUEBaiIBIAJHDQALQTwhEAyrAwsDQAJAIAEtAAAiEEEgRg0AAkACQCAQQXZqDgTaAQEB2gEACyAQQSxGDdsBCyABIQEMBAsgAUEBaiIBIAJHDQALQT8hEAyqAwsgASEBDNsBC0HAACEQIAEiFCACRg2oAyACIBRrIAAoAgAiAWohFiAUIAFrQQZqIRcCQANAIBQtAABBIHIgAUGAwICAAGotAABHDQEgAUEGRg2OAyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFjYCAAypAwsgAEEANgIAIBQhAQtBNiEQDI4DCwJAIAEiDyACRw0AQcEAIRAMpwMLIABBjICAgAA2AgggACAPNgIEIA8hASAALQAsQX9qDgTNAdUB1wHZAYcDCyABQQFqIQEMzAELAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgciAQIBBBv39qQf8BcUEaSRtB/wFxIhBBCUYNACAQQSBGDQACQAJAAkACQCAQQZ1/ag4TAAMDAwMDAwMBAwMDAwMDAwMDAgMLIAFBAWohAUExIRAMkQMLIAFBAWohAUEyIRAMkAMLIAFBAWohAUEzIRAMjwMLIAEhAQzQAQsgAUEBaiIBIAJHDQALQTUhEAylAwtBNSEQDKQDCwJAIAEiASACRg0AA0ACQCABLQAAQYC8gIAAai0AAEEBRg0AIAEhAQzTAQsgAUEBaiIBIAJHDQALQT0hEAykAwtBPSEQDKMDCyAAIAEiASACELCAgIAAIhAN1gEgASEBDAELIBBBAWohAQtBPCEQDIcDCwJAIAEiASACRw0AQcIAIRAMoAMLAkADQAJAIAEtAABBd2oOGAAC/gL+AoQD/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4CAP4CCyABQQFqIgEgAkcNAAtBwgAhEAygAwsgAUEBaiEBIAAtAC1BAXFFDb0BIAEhAQtBLCEQDIUDCyABIgEgAkcN0wFBxAAhEAydAwsDQAJAIAEtAABBkMCAgABqLQAAQQFGDQAgASEBDLcCCyABQQFqIgEgAkcNAAtBxQAhEAycAwsgDS0AACIQQSBGDbMBIBBBOkcNgQMgACgCBCEBIABBADYCBCAAIAEgDRCvgICAACIBDdABIA1BAWohAQyzAgtBxwAhECABIg0gAkYNmgMgAiANayAAKAIAIgFqIRYgDSABa0EFaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGQwoCAAGotAABHDYADIAFBBUYN9AIgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMmgMLQcgAIRAgASINIAJGDZkDIAIgDWsgACgCACIBaiEWIA0gAWtBCWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBlsKAgABqLQAARw3/AgJAIAFBCUcNAEECIQEM9QILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJkDCwJAIAEiDSACRw0AQckAIRAMmQMLAkACQCANLQAAIgFBIHIgASABQb9/akH/AXFBGkkbQf8BcUGSf2oOBwCAA4ADgAOAA4ADAYADCyANQQFqIQFBPiEQDIADCyANQQFqIQFBPyEQDP8CC0HKACEQIAEiDSACRg2XAyACIA1rIAAoAgAiAWohFiANIAFrQQFqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQaDCgIAAai0AAEcN/QIgAUEBRg3wAiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyXAwtBywAhECABIg0gAkYNlgMgAiANayAAKAIAIgFqIRYgDSABa0EOaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGiwoCAAGotAABHDfwCIAFBDkYN8AIgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMlgMLQcwAIRAgASINIAJGDZUDIAIgDWsgACgCACIBaiEWIA0gAWtBD2ohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBwMKAgABqLQAARw37AgJAIAFBD0cNAEEDIQEM8QILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJUDC0HNACEQIAEiDSACRg2UAyACIA1rIAAoAgAiAWohFiANIAFrQQVqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQdDCgIAAai0AAEcN+gICQCABQQVHDQBBBCEBDPACCyABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyUAwsCQCABIg0gAkcNAEHOACEQDJQDCwJAAkACQAJAIA0tAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZ1/ag4TAP0C/QL9Av0C/QL9Av0C/QL9Av0C/QL9AgH9Av0C/QICA/0CCyANQQFqIQFBwQAhEAz9AgsgDUEBaiEBQcIAIRAM/AILIA1BAWohAUHDACEQDPsCCyANQQFqIQFBxAAhEAz6AgsCQCABIgEgAkYNACAAQY2AgIAANgIIIAAgATYCBCABIQFBxQAhEAz6AgtBzwAhEAySAwsgECEBAkACQCAQLQAAQXZqDgQBqAKoAgCoAgsgEEEBaiEBC0EnIRAM+AILAkAgASIBIAJHDQBB0QAhEAyRAwsCQCABLQAAQSBGDQAgASEBDI0BCyABQQFqIQEgAC0ALUEBcUUNxwEgASEBDIwBCyABIhcgAkcNyAFB0gAhEAyPAwtB0wAhECABIhQgAkYNjgMgAiAUayAAKAIAIgFqIRYgFCABa0EBaiEXA0AgFC0AACABQdbCgIAAai0AAEcNzAEgAUEBRg3HASABQQFqIQEgFEEBaiIUIAJHDQALIAAgFjYCAAyOAwsCQCABIgEgAkcNAEHVACEQDI4DCyABLQAAQQpHDcwBIAFBAWohAQzHAQsCQCABIgEgAkcNAEHWACEQDI0DCwJAAkAgAS0AAEF2ag4EAM0BzQEBzQELIAFBAWohAQzHAQsgAUEBaiEBQcoAIRAM8wILIAAgASIBIAIQroCAgAAiEA3LASABIQFBzQAhEAzyAgsgAC0AKUEiRg2FAwymAgsCQCABIgEgAkcNAEHbACEQDIoDC0EAIRRBASEXQQEhFkEAIRACQAJAAkACQAJAAkACQAJAAkAgAS0AAEFQag4K1AHTAQABAgMEBQYI1QELQQIhEAwGC0EDIRAMBQtBBCEQDAQLQQUhEAwDC0EGIRAMAgtBByEQDAELQQghEAtBACEXQQAhFkEAIRQMzAELQQkhEEEBIRRBACEXQQAhFgzLAQsCQCABIgEgAkcNAEHdACEQDIkDCyABLQAAQS5HDcwBIAFBAWohAQymAgsgASIBIAJHDcwBQd8AIRAMhwMLAkAgASIBIAJGDQAgAEGOgICAADYCCCAAIAE2AgQgASEBQdAAIRAM7gILQeAAIRAMhgMLQeEAIRAgASIBIAJGDYUDIAIgAWsgACgCACIUaiEWIAEgFGtBA2ohFwNAIAEtAAAgFEHiwoCAAGotAABHDc0BIBRBA0YNzAEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMhQMLQeIAIRAgASIBIAJGDYQDIAIgAWsgACgCACIUaiEWIAEgFGtBAmohFwNAIAEtAAAgFEHmwoCAAGotAABHDcwBIBRBAkYNzgEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMhAMLQeMAIRAgASIBIAJGDYMDIAIgAWsgACgCACIUaiEWIAEgFGtBA2ohFwNAIAEtAAAgFEHpwoCAAGotAABHDcsBIBRBA0YNzgEgFEEBaiEUIAFBAWoiASACRw0ACyAAIBY2AgAMgwMLAkAgASIBIAJHDQBB5QAhEAyDAwsgACABQQFqIgEgAhCogICAACIQDc0BIAEhAUHWACEQDOkCCwJAIAEiASACRg0AA0ACQCABLQAAIhBBIEYNAAJAAkACQCAQQbh/ag4LAAHPAc8BzwHPAc8BzwHPAc8BAs8BCyABQQFqIQFB0gAhEAztAgsgAUEBaiEBQdMAIRAM7AILIAFBAWohAUHUACEQDOsCCyABQQFqIgEgAkcNAAtB5AAhEAyCAwtB5AAhEAyBAwsDQAJAIAEtAABB8MKAgABqLQAAIhBBAUYNACAQQX5qDgPPAdAB0QHSAQsgAUEBaiIBIAJHDQALQeYAIRAMgAMLAkAgASIBIAJGDQAgAUEBaiEBDAMLQecAIRAM/wILA0ACQCABLQAAQfDEgIAAai0AACIQQQFGDQACQCAQQX5qDgTSAdMB1AEA1QELIAEhAUHXACEQDOcCCyABQQFqIgEgAkcNAAtB6AAhEAz+AgsCQCABIgEgAkcNAEHpACEQDP4CCwJAIAEtAAAiEEF2ag4augHVAdUBvAHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHKAdUB1QEA0wELIAFBAWohAQtBBiEQDOMCCwNAAkAgAS0AAEHwxoCAAGotAABBAUYNACABIQEMngILIAFBAWoiASACRw0AC0HqACEQDPsCCwJAIAEiASACRg0AIAFBAWohAQwDC0HrACEQDPoCCwJAIAEiASACRw0AQewAIRAM+gILIAFBAWohAQwBCwJAIAEiASACRw0AQe0AIRAM+QILIAFBAWohAQtBBCEQDN4CCwJAIAEiFCACRw0AQe4AIRAM9wILIBQhAQJAAkACQCAULQAAQfDIgIAAai0AAEF/ag4H1AHVAdYBAJwCAQLXAQsgFEEBaiEBDAoLIBRBAWohAQzNAQtBACEQIABBADYCHCAAQZuSgIAANgIQIABBBzYCDCAAIBRBAWo2AhQM9gILAkADQAJAIAEtAABB8MiAgABqLQAAIhBBBEYNAAJAAkAgEEF/ag4H0gHTAdQB2QEABAHZAQsgASEBQdoAIRAM4AILIAFBAWohAUHcACEQDN8CCyABQQFqIgEgAkcNAAtB7wAhEAz2AgsgAUEBaiEBDMsBCwJAIAEiFCACRw0AQfAAIRAM9QILIBQtAABBL0cN1AEgFEEBaiEBDAYLAkAgASIUIAJHDQBB8QAhEAz0AgsCQCAULQAAIgFBL0cNACAUQQFqIQFB3QAhEAzbAgsgAUF2aiIEQRZLDdMBQQEgBHRBiYCAAnFFDdMBDMoCCwJAIAEiASACRg0AIAFBAWohAUHeACEQDNoCC0HyACEQDPICCwJAIAEiFCACRw0AQfQAIRAM8gILIBQhAQJAIBQtAABB8MyAgABqLQAAQX9qDgPJApQCANQBC0HhACEQDNgCCwJAIAEiFCACRg0AA0ACQCAULQAAQfDKgIAAai0AACIBQQNGDQACQCABQX9qDgLLAgDVAQsgFCEBQd8AIRAM2gILIBRBAWoiFCACRw0AC0HzACEQDPECC0HzACEQDPACCwJAIAEiASACRg0AIABBj4CAgAA2AgggACABNgIEIAEhAUHgACEQDNcCC0H1ACEQDO8CCwJAIAEiASACRw0AQfYAIRAM7wILIABBj4CAgAA2AgggACABNgIEIAEhAQtBAyEQDNQCCwNAIAEtAABBIEcNwwIgAUEBaiIBIAJHDQALQfcAIRAM7AILAkAgASIBIAJHDQBB+AAhEAzsAgsgAS0AAEEgRw3OASABQQFqIQEM7wELIAAgASIBIAIQrICAgAAiEA3OASABIQEMjgILAkAgASIEIAJHDQBB+gAhEAzqAgsgBC0AAEHMAEcN0QEgBEEBaiEBQRMhEAzPAQsCQCABIgQgAkcNAEH7ACEQDOkCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRADQCAELQAAIAFB8M6AgABqLQAARw3QASABQQVGDc4BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQfsAIRAM6AILAkAgASIEIAJHDQBB/AAhEAzoAgsCQAJAIAQtAABBvX9qDgwA0QHRAdEB0QHRAdEB0QHRAdEB0QEB0QELIARBAWohAUHmACEQDM8CCyAEQQFqIQFB5wAhEAzOAgsCQCABIgQgAkcNAEH9ACEQDOcCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDc8BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH9ACEQDOcCCyAAQQA2AgAgEEEBaiEBQRAhEAzMAQsCQCABIgQgAkcNAEH+ACEQDOYCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUH2zoCAAGotAABHDc4BIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH+ACEQDOYCCyAAQQA2AgAgEEEBaiEBQRYhEAzLAQsCQCABIgQgAkcNAEH/ACEQDOUCCyACIARrIAAoAgAiAWohFCAEIAFrQQNqIRACQANAIAQtAAAgAUH8zoCAAGotAABHDc0BIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEH/ACEQDOUCCyAAQQA2AgAgEEEBaiEBQQUhEAzKAQsCQCABIgQgAkcNAEGAASEQDOQCCyAELQAAQdkARw3LASAEQQFqIQFBCCEQDMkBCwJAIAEiBCACRw0AQYEBIRAM4wILAkACQCAELQAAQbJ/ag4DAMwBAcwBCyAEQQFqIQFB6wAhEAzKAgsgBEEBaiEBQewAIRAMyQILAkAgASIEIAJHDQBBggEhEAziAgsCQAJAIAQtAABBuH9qDggAywHLAcsBywHLAcsBAcsBCyAEQQFqIQFB6gAhEAzJAgsgBEEBaiEBQe0AIRAMyAILAkAgASIEIAJHDQBBgwEhEAzhAgsgAiAEayAAKAIAIgFqIRAgBCABa0ECaiEUAkADQCAELQAAIAFBgM+AgABqLQAARw3JASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBA2AgBBgwEhEAzhAgtBACEQIABBADYCACAUQQFqIQEMxgELAkAgASIEIAJHDQBBhAEhEAzgAgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBg8+AgABqLQAARw3IASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBhAEhEAzgAgsgAEEANgIAIBBBAWohAUEjIRAMxQELAkAgASIEIAJHDQBBhQEhEAzfAgsCQAJAIAQtAABBtH9qDggAyAHIAcgByAHIAcgBAcgBCyAEQQFqIQFB7wAhEAzGAgsgBEEBaiEBQfAAIRAMxQILAkAgASIEIAJHDQBBhgEhEAzeAgsgBC0AAEHFAEcNxQEgBEEBaiEBDIMCCwJAIAEiBCACRw0AQYcBIRAM3QILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQYjPgIAAai0AAEcNxQEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYcBIRAM3QILIABBADYCACAQQQFqIQFBLSEQDMIBCwJAIAEiBCACRw0AQYgBIRAM3AILIAIgBGsgACgCACIBaiEUIAQgAWtBCGohEAJAA0AgBC0AACABQdDPgIAAai0AAEcNxAEgAUEIRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYgBIRAM3AILIABBADYCACAQQQFqIQFBKSEQDMEBCwJAIAEiASACRw0AQYkBIRAM2wILQQEhECABLQAAQd8ARw3AASABQQFqIQEMgQILAkAgASIEIAJHDQBBigEhEAzaAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQA0AgBC0AACABQYzPgIAAai0AAEcNwQEgAUEBRg2vAiABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGKASEQDNkCCwJAIAEiBCACRw0AQYsBIRAM2QILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQY7PgIAAai0AAEcNwQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYsBIRAM2QILIABBADYCACAQQQFqIQFBAiEQDL4BCwJAIAEiBCACRw0AQYwBIRAM2AILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfDPgIAAai0AAEcNwAEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYwBIRAM2AILIABBADYCACAQQQFqIQFBHyEQDL0BCwJAIAEiBCACRw0AQY0BIRAM1wILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfLPgIAAai0AAEcNvwEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQY0BIRAM1wILIABBADYCACAQQQFqIQFBCSEQDLwBCwJAIAEiBCACRw0AQY4BIRAM1gILAkACQCAELQAAQbd/ag4HAL8BvwG/Ab8BvwEBvwELIARBAWohAUH4ACEQDL0CCyAEQQFqIQFB+QAhEAy8AgsCQCABIgQgAkcNAEGPASEQDNUCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGRz4CAAGotAABHDb0BIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGPASEQDNUCCyAAQQA2AgAgEEEBaiEBQRghEAy6AQsCQCABIgQgAkcNAEGQASEQDNQCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUGXz4CAAGotAABHDbwBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGQASEQDNQCCyAAQQA2AgAgEEEBaiEBQRchEAy5AQsCQCABIgQgAkcNAEGRASEQDNMCCyACIARrIAAoAgAiAWohFCAEIAFrQQZqIRACQANAIAQtAAAgAUGaz4CAAGotAABHDbsBIAFBBkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGRASEQDNMCCyAAQQA2AgAgEEEBaiEBQRUhEAy4AQsCQCABIgQgAkcNAEGSASEQDNICCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGhz4CAAGotAABHDboBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGSASEQDNICCyAAQQA2AgAgEEEBaiEBQR4hEAy3AQsCQCABIgQgAkcNAEGTASEQDNECCyAELQAAQcwARw24ASAEQQFqIQFBCiEQDLYBCwJAIAQgAkcNAEGUASEQDNACCwJAAkAgBC0AAEG/f2oODwC5AbkBuQG5AbkBuQG5AbkBuQG5AbkBuQG5AQG5AQsgBEEBaiEBQf4AIRAMtwILIARBAWohAUH/ACEQDLYCCwJAIAQgAkcNAEGVASEQDM8CCwJAAkAgBC0AAEG/f2oOAwC4AQG4AQsgBEEBaiEBQf0AIRAMtgILIARBAWohBEGAASEQDLUCCwJAIAQgAkcNAEGWASEQDM4CCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUGnz4CAAGotAABHDbYBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGWASEQDM4CCyAAQQA2AgAgEEEBaiEBQQshEAyzAQsCQCAEIAJHDQBBlwEhEAzNAgsCQAJAAkACQCAELQAAQVNqDiMAuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AQG4AbgBuAG4AbgBArgBuAG4AQO4AQsgBEEBaiEBQfsAIRAMtgILIARBAWohAUH8ACEQDLUCCyAEQQFqIQRBgQEhEAy0AgsgBEEBaiEEQYIBIRAMswILAkAgBCACRw0AQZgBIRAMzAILIAIgBGsgACgCACIBaiEUIAQgAWtBBGohEAJAA0AgBC0AACABQanPgIAAai0AAEcNtAEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZgBIRAMzAILIABBADYCACAQQQFqIQFBGSEQDLEBCwJAIAQgAkcNAEGZASEQDMsCCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUGuz4CAAGotAABHDbMBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGZASEQDMsCCyAAQQA2AgAgEEEBaiEBQQYhEAywAQsCQCAEIAJHDQBBmgEhEAzKAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBtM+AgABqLQAARw2yASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmgEhEAzKAgsgAEEANgIAIBBBAWohAUEcIRAMrwELAkAgBCACRw0AQZsBIRAMyQILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQbbPgIAAai0AAEcNsQEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZsBIRAMyQILIABBADYCACAQQQFqIQFBJyEQDK4BCwJAIAQgAkcNAEGcASEQDMgCCwJAAkAgBC0AAEGsf2oOAgABsQELIARBAWohBEGGASEQDK8CCyAEQQFqIQRBhwEhEAyuAgsCQCAEIAJHDQBBnQEhEAzHAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBuM+AgABqLQAARw2vASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBnQEhEAzHAgsgAEEANgIAIBBBAWohAUEmIRAMrAELAkAgBCACRw0AQZ4BIRAMxgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQbrPgIAAai0AAEcNrgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZ4BIRAMxgILIABBADYCACAQQQFqIQFBAyEQDKsBCwJAIAQgAkcNAEGfASEQDMUCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDa0BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGfASEQDMUCCyAAQQA2AgAgEEEBaiEBQQwhEAyqAQsCQCAEIAJHDQBBoAEhEAzEAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFBvM+AgABqLQAARw2sASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBoAEhEAzEAgsgAEEANgIAIBBBAWohAUENIRAMqQELAkAgBCACRw0AQaEBIRAMwwILAkACQCAELQAAQbp/ag4LAKwBrAGsAawBrAGsAawBrAGsAQGsAQsgBEEBaiEEQYsBIRAMqgILIARBAWohBEGMASEQDKkCCwJAIAQgAkcNAEGiASEQDMICCyAELQAAQdAARw2pASAEQQFqIQQM6QELAkAgBCACRw0AQaMBIRAMwQILAkACQCAELQAAQbd/ag4HAaoBqgGqAaoBqgEAqgELIARBAWohBEGOASEQDKgCCyAEQQFqIQFBIiEQDKYBCwJAIAQgAkcNAEGkASEQDMACCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUHAz4CAAGotAABHDagBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGkASEQDMACCyAAQQA2AgAgEEEBaiEBQR0hEAylAQsCQCAEIAJHDQBBpQEhEAy/AgsCQAJAIAQtAABBrn9qDgMAqAEBqAELIARBAWohBEGQASEQDKYCCyAEQQFqIQFBBCEQDKQBCwJAIAQgAkcNAEGmASEQDL4CCwJAAkACQAJAAkAgBC0AAEG/f2oOFQCqAaoBqgGqAaoBqgGqAaoBqgGqAQGqAaoBAqoBqgEDqgGqAQSqAQsgBEEBaiEEQYgBIRAMqAILIARBAWohBEGJASEQDKcCCyAEQQFqIQRBigEhEAymAgsgBEEBaiEEQY8BIRAMpQILIARBAWohBEGRASEQDKQCCwJAIAQgAkcNAEGnASEQDL0CCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDaUBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGnASEQDL0CCyAAQQA2AgAgEEEBaiEBQREhEAyiAQsCQCAEIAJHDQBBqAEhEAy8AgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBws+AgABqLQAARw2kASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBqAEhEAy8AgsgAEEANgIAIBBBAWohAUEsIRAMoQELAkAgBCACRw0AQakBIRAMuwILIAIgBGsgACgCACIBaiEUIAQgAWtBBGohEAJAA0AgBC0AACABQcXPgIAAai0AAEcNowEgAUEERg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQakBIRAMuwILIABBADYCACAQQQFqIQFBKyEQDKABCwJAIAQgAkcNAEGqASEQDLoCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHKz4CAAGotAABHDaIBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGqASEQDLoCCyAAQQA2AgAgEEEBaiEBQRQhEAyfAQsCQCAEIAJHDQBBqwEhEAy5AgsCQAJAAkACQCAELQAAQb5/ag4PAAECpAGkAaQBpAGkAaQBpAGkAaQBpAGkAQOkAQsgBEEBaiEEQZMBIRAMogILIARBAWohBEGUASEQDKECCyAEQQFqIQRBlQEhEAygAgsgBEEBaiEEQZYBIRAMnwILAkAgBCACRw0AQawBIRAMuAILIAQtAABBxQBHDZ8BIARBAWohBAzgAQsCQCAEIAJHDQBBrQEhEAy3AgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBzc+AgABqLQAARw2fASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBrQEhEAy3AgsgAEEANgIAIBBBAWohAUEOIRAMnAELAkAgBCACRw0AQa4BIRAMtgILIAQtAABB0ABHDZ0BIARBAWohAUElIRAMmwELAkAgBCACRw0AQa8BIRAMtQILIAIgBGsgACgCACIBaiEUIAQgAWtBCGohEAJAA0AgBC0AACABQdDPgIAAai0AAEcNnQEgAUEIRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQa8BIRAMtQILIABBADYCACAQQQFqIQFBKiEQDJoBCwJAIAQgAkcNAEGwASEQDLQCCwJAAkAgBC0AAEGrf2oOCwCdAZ0BnQGdAZ0BnQGdAZ0BnQEBnQELIARBAWohBEGaASEQDJsCCyAEQQFqIQRBmwEhEAyaAgsCQCAEIAJHDQBBsQEhEAyzAgsCQAJAIAQtAABBv39qDhQAnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBAZwBCyAEQQFqIQRBmQEhEAyaAgsgBEEBaiEEQZwBIRAMmQILAkAgBCACRw0AQbIBIRAMsgILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQdnPgIAAai0AAEcNmgEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbIBIRAMsgILIABBADYCACAQQQFqIQFBISEQDJcBCwJAIAQgAkcNAEGzASEQDLECCyACIARrIAAoAgAiAWohFCAEIAFrQQZqIRACQANAIAQtAAAgAUHdz4CAAGotAABHDZkBIAFBBkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGzASEQDLECCyAAQQA2AgAgEEEBaiEBQRohEAyWAQsCQCAEIAJHDQBBtAEhEAywAgsCQAJAAkAgBC0AAEG7f2oOEQCaAZoBmgGaAZoBmgGaAZoBmgEBmgGaAZoBmgGaAQKaAQsgBEEBaiEEQZ0BIRAMmAILIARBAWohBEGeASEQDJcCCyAEQQFqIQRBnwEhEAyWAgsCQCAEIAJHDQBBtQEhEAyvAgsgAiAEayAAKAIAIgFqIRQgBCABa0EFaiEQAkADQCAELQAAIAFB5M+AgABqLQAARw2XASABQQVGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBtQEhEAyvAgsgAEEANgIAIBBBAWohAUEoIRAMlAELAkAgBCACRw0AQbYBIRAMrgILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQerPgIAAai0AAEcNlgEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbYBIRAMrgILIABBADYCACAQQQFqIQFBByEQDJMBCwJAIAQgAkcNAEG3ASEQDK0CCwJAAkAgBC0AAEG7f2oODgCWAZYBlgGWAZYBlgGWAZYBlgGWAZYBlgEBlgELIARBAWohBEGhASEQDJQCCyAEQQFqIQRBogEhEAyTAgsCQCAEIAJHDQBBuAEhEAysAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFB7c+AgABqLQAARw2UASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBuAEhEAysAgsgAEEANgIAIBBBAWohAUESIRAMkQELAkAgBCACRw0AQbkBIRAMqwILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfDPgIAAai0AAEcNkwEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbkBIRAMqwILIABBADYCACAQQQFqIQFBICEQDJABCwJAIAQgAkcNAEG6ASEQDKoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUHyz4CAAGotAABHDZIBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG6ASEQDKoCCyAAQQA2AgAgEEEBaiEBQQ8hEAyPAQsCQCAEIAJHDQBBuwEhEAypAgsCQAJAIAQtAABBt39qDgcAkgGSAZIBkgGSAQGSAQsgBEEBaiEEQaUBIRAMkAILIARBAWohBEGmASEQDI8CCwJAIAQgAkcNAEG8ASEQDKgCCyACIARrIAAoAgAiAWohFCAEIAFrQQdqIRACQANAIAQtAAAgAUH0z4CAAGotAABHDZABIAFBB0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG8ASEQDKgCCyAAQQA2AgAgEEEBaiEBQRshEAyNAQsCQCAEIAJHDQBBvQEhEAynAgsCQAJAAkAgBC0AAEG+f2oOEgCRAZEBkQGRAZEBkQGRAZEBkQEBkQGRAZEBkQGRAZEBApEBCyAEQQFqIQRBpAEhEAyPAgsgBEEBaiEEQacBIRAMjgILIARBAWohBEGoASEQDI0CCwJAIAQgAkcNAEG+ASEQDKYCCyAELQAAQc4ARw2NASAEQQFqIQQMzwELAkAgBCACRw0AQb8BIRAMpQILAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgBC0AAEG/f2oOFQABAgOcAQQFBpwBnAGcAQcICQoLnAEMDQ4PnAELIARBAWohAUHoACEQDJoCCyAEQQFqIQFB6QAhEAyZAgsgBEEBaiEBQe4AIRAMmAILIARBAWohAUHyACEQDJcCCyAEQQFqIQFB8wAhEAyWAgsgBEEBaiEBQfYAIRAMlQILIARBAWohAUH3ACEQDJQCCyAEQQFqIQFB+gAhEAyTAgsgBEEBaiEEQYMBIRAMkgILIARBAWohBEGEASEQDJECCyAEQQFqIQRBhQEhEAyQAgsgBEEBaiEEQZIBIRAMjwILIARBAWohBEGYASEQDI4CCyAEQQFqIQRBoAEhEAyNAgsgBEEBaiEEQaMBIRAMjAILIARBAWohBEGqASEQDIsCCwJAIAQgAkYNACAAQZCAgIAANgIIIAAgBDYCBEGrASEQDIsCC0HAASEQDKMCCyAAIAUgAhCqgICAACIBDYsBIAUhAQxcCwJAIAYgAkYNACAGQQFqIQUMjQELQcIBIRAMoQILA0ACQCAQLQAAQXZqDgSMAQAAjwEACyAQQQFqIhAgAkcNAAtBwwEhEAygAgsCQCAHIAJGDQAgAEGRgICAADYCCCAAIAc2AgQgByEBQQEhEAyHAgtBxAEhEAyfAgsCQCAHIAJHDQBBxQEhEAyfAgsCQAJAIActAABBdmoOBAHOAc4BAM4BCyAHQQFqIQYMjQELIAdBAWohBQyJAQsCQCAHIAJHDQBBxgEhEAyeAgsCQAJAIActAABBdmoOFwGPAY8BAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAQCPAQsgB0EBaiEHC0GwASEQDIQCCwJAIAggAkcNAEHIASEQDJ0CCyAILQAAQSBHDY0BIABBADsBMiAIQQFqIQFBswEhEAyDAgsgASEXAkADQCAXIgcgAkYNASAHLQAAQVBqQf8BcSIQQQpPDcwBAkAgAC8BMiIUQZkzSw0AIAAgFEEKbCIUOwEyIBBB//8DcyAUQf7/A3FJDQAgB0EBaiEXIAAgFCAQaiIQOwEyIBBB//8DcUHoB0kNAQsLQQAhECAAQQA2AhwgAEHBiYCAADYCECAAQQ02AgwgACAHQQFqNgIUDJwCC0HHASEQDJsCCyAAIAggAhCugICAACIQRQ3KASAQQRVHDYwBIABByAE2AhwgACAINgIUIABByZeAgAA2AhAgAEEVNgIMQQAhEAyaAgsCQCAJIAJHDQBBzAEhEAyaAgtBACEUQQEhF0EBIRZBACEQAkACQAJAAkACQAJAAkACQAJAIAktAABBUGoOCpYBlQEAAQIDBAUGCJcBC0ECIRAMBgtBAyEQDAULQQQhEAwEC0EFIRAMAwtBBiEQDAILQQchEAwBC0EIIRALQQAhF0EAIRZBACEUDI4BC0EJIRBBASEUQQAhF0EAIRYMjQELAkAgCiACRw0AQc4BIRAMmQILIAotAABBLkcNjgEgCkEBaiEJDMoBCyALIAJHDY4BQdABIRAMlwILAkAgCyACRg0AIABBjoCAgAA2AgggACALNgIEQbcBIRAM/gELQdEBIRAMlgILAkAgBCACRw0AQdIBIRAMlgILIAIgBGsgACgCACIQaiEUIAQgEGtBBGohCwNAIAQtAAAgEEH8z4CAAGotAABHDY4BIBBBBEYN6QEgEEEBaiEQIARBAWoiBCACRw0ACyAAIBQ2AgBB0gEhEAyVAgsgACAMIAIQrICAgAAiAQ2NASAMIQEMuAELAkAgBCACRw0AQdQBIRAMlAILIAIgBGsgACgCACIQaiEUIAQgEGtBAWohDANAIAQtAAAgEEGB0ICAAGotAABHDY8BIBBBAUYNjgEgEEEBaiEQIARBAWoiBCACRw0ACyAAIBQ2AgBB1AEhEAyTAgsCQCAEIAJHDQBB1gEhEAyTAgsgAiAEayAAKAIAIhBqIRQgBCAQa0ECaiELA0AgBC0AACAQQYPQgIAAai0AAEcNjgEgEEECRg2QASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHWASEQDJICCwJAIAQgAkcNAEHXASEQDJICCwJAAkAgBC0AAEG7f2oOEACPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BAY8BCyAEQQFqIQRBuwEhEAz5AQsgBEEBaiEEQbwBIRAM+AELAkAgBCACRw0AQdgBIRAMkQILIAQtAABByABHDYwBIARBAWohBAzEAQsCQCAEIAJGDQAgAEGQgICAADYCCCAAIAQ2AgRBvgEhEAz3AQtB2QEhEAyPAgsCQCAEIAJHDQBB2gEhEAyPAgsgBC0AAEHIAEYNwwEgAEEBOgAoDLkBCyAAQQI6AC8gACAEIAIQpoCAgAAiEA2NAUHCASEQDPQBCyAALQAoQX9qDgK3AbkBuAELA0ACQCAELQAAQXZqDgQAjgGOAQCOAQsgBEEBaiIEIAJHDQALQd0BIRAMiwILIABBADoALyAALQAtQQRxRQ2EAgsgAEEAOgAvIABBAToANCABIQEMjAELIBBBFUYN2gEgAEEANgIcIAAgATYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAMiAILAkAgACAQIAIQtICAgAAiBA0AIBAhAQyBAgsCQCAEQRVHDQAgAEEDNgIcIAAgEDYCFCAAQbCYgIAANgIQIABBFTYCDEEAIRAMiAILIABBADYCHCAAIBA2AhQgAEGnjoCAADYCECAAQRI2AgxBACEQDIcCCyAQQRVGDdYBIABBADYCHCAAIAE2AhQgAEHajYCAADYCECAAQRQ2AgxBACEQDIYCCyAAKAIEIRcgAEEANgIEIBAgEadqIhYhASAAIBcgECAWIBQbIhAQtYCAgAAiFEUNjQEgAEEHNgIcIAAgEDYCFCAAIBQ2AgxBACEQDIUCCyAAIAAvATBBgAFyOwEwIAEhAQtBKiEQDOoBCyAQQRVGDdEBIABBADYCHCAAIAE2AhQgAEGDjICAADYCECAAQRM2AgxBACEQDIICCyAQQRVGDc8BIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDIECCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyNAQsgAEEMNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDIACCyAQQRVGDcwBIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDP8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyMAQsgAEENNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDP4BCyAQQRVGDckBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDP0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQuYCAgAAiEA0AIAFBAWohAQyLAQsgAEEONgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPwBCyAAQQA2AhwgACABNgIUIABBwJWAgAA2AhAgAEECNgIMQQAhEAz7AQsgEEEVRg3FASAAQQA2AhwgACABNgIUIABBxoyAgAA2AhAgAEEjNgIMQQAhEAz6AQsgAEEQNgIcIAAgATYCFCAAIBA2AgxBACEQDPkBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQuYCAgAAiBA0AIAFBAWohAQzxAQsgAEERNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPgBCyAQQRVGDcEBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDPcBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQuYCAgAAiEA0AIAFBAWohAQyIAQsgAEETNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPYBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQuYCAgAAiBA0AIAFBAWohAQztAQsgAEEUNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPUBCyAQQRVGDb0BIABBADYCHCAAIAE2AhQgAEGaj4CAADYCECAAQSI2AgxBACEQDPQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQt4CAgAAiEA0AIAFBAWohAQyGAQsgAEEWNgIcIAAgEDYCDCAAIAFBAWo2AhRBACEQDPMBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQt4CAgAAiBA0AIAFBAWohAQzpAQsgAEEXNgIcIAAgBDYCDCAAIAFBAWo2AhRBACEQDPIBCyAAQQA2AhwgACABNgIUIABBzZOAgAA2AhAgAEEMNgIMQQAhEAzxAQtCASERCyAQQQFqIQECQCAAKQMgIhJC//////////8PVg0AIAAgEkIEhiARhDcDICABIQEMhAELIABBADYCHCAAIAE2AhQgAEGtiYCAADYCECAAQQw2AgxBACEQDO8BCyAAQQA2AhwgACAQNgIUIABBzZOAgAA2AhAgAEEMNgIMQQAhEAzuAQsgACgCBCEXIABBADYCBCAQIBGnaiIWIQEgACAXIBAgFiAUGyIQELWAgIAAIhRFDXMgAEEFNgIcIAAgEDYCFCAAIBQ2AgxBACEQDO0BCyAAQQA2AhwgACAQNgIUIABBqpyAgAA2AhAgAEEPNgIMQQAhEAzsAQsgACAQIAIQtICAgAAiAQ0BIBAhAQtBDiEQDNEBCwJAIAFBFUcNACAAQQI2AhwgACAQNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAzqAQsgAEEANgIcIAAgEDYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAM6QELIAFBAWohEAJAIAAvATAiAUGAAXFFDQACQCAAIBAgAhC7gICAACIBDQAgECEBDHALIAFBFUcNugEgAEEFNgIcIAAgEDYCFCAAQfmXgIAANgIQIABBFTYCDEEAIRAM6QELAkAgAUGgBHFBoARHDQAgAC0ALUECcQ0AIABBADYCHCAAIBA2AhQgAEGWk4CAADYCECAAQQQ2AgxBACEQDOkBCyAAIBAgAhC9gICAABogECEBAkACQAJAAkACQCAAIBAgAhCzgICAAA4WAgEABAQEBAQEBAQEBAQEBAQEBAQEAwQLIABBAToALgsgACAALwEwQcAAcjsBMCAQIQELQSYhEAzRAQsgAEEjNgIcIAAgEDYCFCAAQaWWgIAANgIQIABBFTYCDEEAIRAM6QELIABBADYCHCAAIBA2AhQgAEHVi4CAADYCECAAQRE2AgxBACEQDOgBCyAALQAtQQFxRQ0BQcMBIRAMzgELAkAgDSACRg0AA0ACQCANLQAAQSBGDQAgDSEBDMQBCyANQQFqIg0gAkcNAAtBJSEQDOcBC0ElIRAM5gELIAAoAgQhBCAAQQA2AgQgACAEIA0Qr4CAgAAiBEUNrQEgAEEmNgIcIAAgBDYCDCAAIA1BAWo2AhRBACEQDOUBCyAQQRVGDasBIABBADYCHCAAIAE2AhQgAEH9jYCAADYCECAAQR02AgxBACEQDOQBCyAAQSc2AhwgACABNgIUIAAgEDYCDEEAIRAM4wELIBAhAUEBIRQCQAJAAkACQAJAAkACQCAALQAsQX5qDgcGBQUDAQIABQsgACAALwEwQQhyOwEwDAMLQQIhFAwBC0EEIRQLIABBAToALCAAIAAvATAgFHI7ATALIBAhAQtBKyEQDMoBCyAAQQA2AhwgACAQNgIUIABBq5KAgAA2AhAgAEELNgIMQQAhEAziAQsgAEEANgIcIAAgATYCFCAAQeGPgIAANgIQIABBCjYCDEEAIRAM4QELIABBADoALCAQIQEMvQELIBAhAUEBIRQCQAJAAkACQAJAIAAtACxBe2oOBAMBAgAFCyAAIAAvATBBCHI7ATAMAwtBAiEUDAELQQQhFAsgAEEBOgAsIAAgAC8BMCAUcjsBMAsgECEBC0EpIRAMxQELIABBADYCHCAAIAE2AhQgAEHwlICAADYCECAAQQM2AgxBACEQDN0BCwJAIA4tAABBDUcNACAAKAIEIQEgAEEANgIEAkAgACABIA4QsYCAgAAiAQ0AIA5BAWohAQx1CyAAQSw2AhwgACABNgIMIAAgDkEBajYCFEEAIRAM3QELIAAtAC1BAXFFDQFBxAEhEAzDAQsCQCAOIAJHDQBBLSEQDNwBCwJAAkADQAJAIA4tAABBdmoOBAIAAAMACyAOQQFqIg4gAkcNAAtBLSEQDN0BCyAAKAIEIQEgAEEANgIEAkAgACABIA4QsYCAgAAiAQ0AIA4hAQx0CyAAQSw2AhwgACAONgIUIAAgATYCDEEAIRAM3AELIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDkEBaiEBDHMLIABBLDYCHCAAIAE2AgwgACAOQQFqNgIUQQAhEAzbAQsgACgCBCEEIABBADYCBCAAIAQgDhCxgICAACIEDaABIA4hAQzOAQsgEEEsRw0BIAFBAWohEEEBIQECQAJAAkACQAJAIAAtACxBe2oOBAMBAgQACyAQIQEMBAtBAiEBDAELQQQhAQsgAEEBOgAsIAAgAC8BMCABcjsBMCAQIQEMAQsgACAALwEwQQhyOwEwIBAhAQtBOSEQDL8BCyAAQQA6ACwgASEBC0E0IRAMvQELIAAgAC8BMEEgcjsBMCABIQEMAgsgACgCBCEEIABBADYCBAJAIAAgBCABELGAgIAAIgQNACABIQEMxwELIABBNzYCHCAAIAE2AhQgACAENgIMQQAhEAzUAQsgAEEIOgAsIAEhAQtBMCEQDLkBCwJAIAAtAChBAUYNACABIQEMBAsgAC0ALUEIcUUNkwEgASEBDAMLIAAtADBBIHENlAFBxQEhEAy3AQsCQCAPIAJGDQACQANAAkAgDy0AAEFQaiIBQf8BcUEKSQ0AIA8hAUE1IRAMugELIAApAyAiEUKZs+bMmbPmzBlWDQEgACARQgp+IhE3AyAgESABrUL/AYMiEkJ/hVYNASAAIBEgEnw3AyAgD0EBaiIPIAJHDQALQTkhEAzRAQsgACgCBCECIABBADYCBCAAIAIgD0EBaiIEELGAgIAAIgINlQEgBCEBDMMBC0E5IRAMzwELAkAgAC8BMCIBQQhxRQ0AIAAtAChBAUcNACAALQAtQQhxRQ2QAQsgACABQff7A3FBgARyOwEwIA8hAQtBNyEQDLQBCyAAIAAvATBBEHI7ATAMqwELIBBBFUYNiwEgAEEANgIcIAAgATYCFCAAQfCOgIAANgIQIABBHDYCDEEAIRAMywELIABBwwA2AhwgACABNgIMIAAgDUEBajYCFEEAIRAMygELAkAgAS0AAEE6Rw0AIAAoAgQhECAAQQA2AgQCQCAAIBAgARCvgICAACIQDQAgAUEBaiEBDGMLIABBwwA2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAMygELIABBADYCHCAAIAE2AhQgAEGxkYCAADYCECAAQQo2AgxBACEQDMkBCyAAQQA2AhwgACABNgIUIABBoJmAgAA2AhAgAEEeNgIMQQAhEAzIAQsgAEEANgIACyAAQYASOwEqIAAgF0EBaiIBIAIQqICAgAAiEA0BIAEhAQtBxwAhEAysAQsgEEEVRw2DASAAQdEANgIcIAAgATYCFCAAQeOXgIAANgIQIABBFTYCDEEAIRAMxAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDF4LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMwwELIABBADYCHCAAIBQ2AhQgAEHBqICAADYCECAAQQc2AgwgAEEANgIAQQAhEAzCAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMXQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAzBAQtBACEQIABBADYCHCAAIAE2AhQgAEGAkYCAADYCECAAQQk2AgwMwAELIBBBFUYNfSAAQQA2AhwgACABNgIUIABBlI2AgAA2AhAgAEEhNgIMQQAhEAy/AQtBASEWQQAhF0EAIRRBASEQCyAAIBA6ACsgAUEBaiEBAkACQCAALQAtQRBxDQACQAJAAkAgAC0AKg4DAQACBAsgFkUNAwwCCyAUDQEMAgsgF0UNAQsgACgCBCEQIABBADYCBAJAIAAgECABEK2AgIAAIhANACABIQEMXAsgAEHYADYCHCAAIAE2AhQgACAQNgIMQQAhEAy+AQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMrQELIABB2QA2AhwgACABNgIUIAAgBDYCDEEAIRAMvQELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKsBCyAAQdoANgIcIAAgATYCFCAAIAQ2AgxBACEQDLwBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQypAQsgAEHcADYCHCAAIAE2AhQgACAENgIMQQAhEAy7AQsCQCABLQAAQVBqIhBB/wFxQQpPDQAgACAQOgAqIAFBAWohAUHPACEQDKIBCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQynAQsgAEHeADYCHCAAIAE2AhQgACAENgIMQQAhEAy6AQsgAEEANgIAIBdBAWohAQJAIAAtAClBI08NACABIQEMWQsgAEEANgIcIAAgATYCFCAAQdOJgIAANgIQIABBCDYCDEEAIRAMuQELIABBADYCAAtBACEQIABBADYCHCAAIAE2AhQgAEGQs4CAADYCECAAQQg2AgwMtwELIABBADYCACAXQQFqIQECQCAALQApQSFHDQAgASEBDFYLIABBADYCHCAAIAE2AhQgAEGbioCAADYCECAAQQg2AgxBACEQDLYBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKSIQQV1qQQtPDQAgASEBDFULAkAgEEEGSw0AQQEgEHRBygBxRQ0AIAEhAQxVC0EAIRAgAEEANgIcIAAgATYCFCAAQfeJgIAANgIQIABBCDYCDAy1AQsgEEEVRg1xIABBADYCHCAAIAE2AhQgAEG5jYCAADYCECAAQRo2AgxBACEQDLQBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxUCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgwMnwELIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2AgxBACEQDJ4BCyAAQQA2AhwgACAUNgIUIABB/pGAgAA2AhAgAEEHNgIMQQAhEAydAQsgAEEANgIcIAAgATYCFCAAQY6bgIAANgIQIABBBjYCDEEAIRAMnAELIBBBFUYNVyAAQQA2AhwgACABNgIUIABBzI6AgAA2AhAgAEEgNgIMQQAhEAybAQsgAEEANgIAIBBBAWohAUEkIRALIAAgEDoAKSAAKAIEIRAgAEEANgIEIAAgECABEKuAgIAAIhANVCABIQEMPgsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQfGbgIAANgIQIABBBjYCDAyXAQsgAUEVRg1QIABBADYCHCAAIAU2AhQgAEHwjICAADYCECAAQRs2AgxBACEQDJYBCyAAKAIEIQUgAEEANgIEIAAgBSAQEKmAgIAAIgUNASAQQQFqIQULQa0BIRAMewsgAEHBATYCHCAAIAU2AgwgACAQQQFqNgIUQQAhEAyTAQsgACgCBCEGIABBADYCBCAAIAYgEBCpgICAACIGDQEgEEEBaiEGC0GuASEQDHgLIABBwgE2AhwgACAGNgIMIAAgEEEBajYCFEEAIRAMkAELIABBADYCHCAAIAc2AhQgAEGXi4CAADYCECAAQQ02AgxBACEQDI8BCyAAQQA2AhwgACAINgIUIABB45CAgAA2AhAgAEEJNgIMQQAhEAyOAQsgAEEANgIcIAAgCDYCFCAAQZSNgIAANgIQIABBITYCDEEAIRAMjQELQQEhFkEAIRdBACEUQQEhEAsgACAQOgArIAlBAWohCAJAAkAgAC0ALUEQcQ0AAkACQAJAIAAtACoOAwEAAgQLIBZFDQMMAgsgFA0BDAILIBdFDQELIAAoAgQhECAAQQA2AgQgACAQIAgQrYCAgAAiEEUNPSAAQckBNgIcIAAgCDYCFCAAIBA2AgxBACEQDIwBCyAAKAIEIQQgAEEANgIEIAAgBCAIEK2AgIAAIgRFDXYgAEHKATYCHCAAIAg2AhQgACAENgIMQQAhEAyLAQsgACgCBCEEIABBADYCBCAAIAQgCRCtgICAACIERQ10IABBywE2AhwgACAJNgIUIAAgBDYCDEEAIRAMigELIAAoAgQhBCAAQQA2AgQgACAEIAoQrYCAgAAiBEUNciAAQc0BNgIcIAAgCjYCFCAAIAQ2AgxBACEQDIkBCwJAIAstAABBUGoiEEH/AXFBCk8NACAAIBA6ACogC0EBaiEKQbYBIRAMcAsgACgCBCEEIABBADYCBCAAIAQgCxCtgICAACIERQ1wIABBzwE2AhwgACALNgIUIAAgBDYCDEEAIRAMiAELIABBADYCHCAAIAQ2AhQgAEGQs4CAADYCECAAQQg2AgwgAEEANgIAQQAhEAyHAQsgAUEVRg0/IABBADYCHCAAIAw2AhQgAEHMjoCAADYCECAAQSA2AgxBACEQDIYBCyAAQYEEOwEoIAAoAgQhECAAQgA3AwAgACAQIAxBAWoiDBCrgICAACIQRQ04IABB0wE2AhwgACAMNgIUIAAgEDYCDEEAIRAMhQELIABBADYCAAtBACEQIABBADYCHCAAIAQ2AhQgAEHYm4CAADYCECAAQQg2AgwMgwELIAAoAgQhECAAQgA3AwAgACAQIAtBAWoiCxCrgICAACIQDQFBxgEhEAxpCyAAQQI6ACgMVQsgAEHVATYCHCAAIAs2AhQgACAQNgIMQQAhEAyAAQsgEEEVRg03IABBADYCHCAAIAQ2AhQgAEGkjICAADYCECAAQRA2AgxBACEQDH8LIAAtADRBAUcNNCAAIAQgAhC8gICAACIQRQ00IBBBFUcNNSAAQdwBNgIcIAAgBDYCFCAAQdWWgIAANgIQIABBFTYCDEEAIRAMfgtBACEQIABBADYCHCAAQa+LgIAANgIQIABBAjYCDCAAIBRBAWo2AhQMfQtBACEQDGMLQQIhEAxiC0ENIRAMYQtBDyEQDGALQSUhEAxfC0ETIRAMXgtBFSEQDF0LQRYhEAxcC0EXIRAMWwtBGCEQDFoLQRkhEAxZC0EaIRAMWAtBGyEQDFcLQRwhEAxWC0EdIRAMVQtBHyEQDFQLQSEhEAxTC0EjIRAMUgtBxgAhEAxRC0EuIRAMUAtBLyEQDE8LQTshEAxOC0E9IRAMTQtByAAhEAxMC0HJACEQDEsLQcsAIRAMSgtBzAAhEAxJC0HOACEQDEgLQdEAIRAMRwtB1QAhEAxGC0HYACEQDEULQdkAIRAMRAtB2wAhEAxDC0HkACEQDEILQeUAIRAMQQtB8QAhEAxAC0H0ACEQDD8LQY0BIRAMPgtBlwEhEAw9C0GpASEQDDwLQawBIRAMOwtBwAEhEAw6C0G5ASEQDDkLQa8BIRAMOAtBsQEhEAw3C0GyASEQDDYLQbQBIRAMNQtBtQEhEAw0C0G6ASEQDDMLQb0BIRAMMgtBvwEhEAwxC0HBASEQDDALIABBADYCHCAAIAQ2AhQgAEHpi4CAADYCECAAQR82AgxBACEQDEgLIABB2wE2AhwgACAENgIUIABB+paAgAA2AhAgAEEVNgIMQQAhEAxHCyAAQfgANgIcIAAgDDYCFCAAQcqYgIAANgIQIABBFTYCDEEAIRAMRgsgAEHRADYCHCAAIAU2AhQgAEGwl4CAADYCECAAQRU2AgxBACEQDEULIABB+QA2AhwgACABNgIUIAAgEDYCDEEAIRAMRAsgAEH4ADYCHCAAIAE2AhQgAEHKmICAADYCECAAQRU2AgxBACEQDEMLIABB5AA2AhwgACABNgIUIABB45eAgAA2AhAgAEEVNgIMQQAhEAxCCyAAQdcANgIcIAAgATYCFCAAQcmXgIAANgIQIABBFTYCDEEAIRAMQQsgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMQAsgAEHCADYCHCAAIAE2AhQgAEHjmICAADYCECAAQRU2AgxBACEQDD8LIABBADYCBCAAIA8gDxCxgICAACIERQ0BIABBOjYCHCAAIAQ2AgwgACAPQQFqNgIUQQAhEAw+CyAAKAIEIQQgAEEANgIEAkAgACAEIAEQsYCAgAAiBEUNACAAQTs2AhwgACAENgIMIAAgAUEBajYCFEEAIRAMPgsgAUEBaiEBDC0LIA9BAWohAQwtCyAAQQA2AhwgACAPNgIUIABB5JKAgAA2AhAgAEEENgIMQQAhEAw7CyAAQTY2AhwgACAENgIUIAAgAjYCDEEAIRAMOgsgAEEuNgIcIAAgDjYCFCAAIAQ2AgxBACEQDDkLIABB0AA2AhwgACABNgIUIABBkZiAgAA2AhAgAEEVNgIMQQAhEAw4CyANQQFqIQEMLAsgAEEVNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMNgsgAEEbNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMNQsgAEEPNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMNAsgAEELNgIcIAAgATYCFCAAQZGXgIAANgIQIABBFTYCDEEAIRAMMwsgAEEaNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMMgsgAEELNgIcIAAgATYCFCAAQYKZgIAANgIQIABBFTYCDEEAIRAMMQsgAEEKNgIcIAAgATYCFCAAQeSWgIAANgIQIABBFTYCDEEAIRAMMAsgAEEeNgIcIAAgATYCFCAAQfmXgIAANgIQIABBFTYCDEEAIRAMLwsgAEEANgIcIAAgEDYCFCAAQdqNgIAANgIQIABBFDYCDEEAIRAMLgsgAEEENgIcIAAgATYCFCAAQbCYgIAANgIQIABBFTYCDEEAIRAMLQsgAEEANgIAIAtBAWohCwtBuAEhEAwSCyAAQQA2AgAgEEEBaiEBQfUAIRAMEQsgASEBAkAgAC0AKUEFRw0AQeMAIRAMEQtB4gAhEAwQC0EAIRAgAEEANgIcIABB5JGAgAA2AhAgAEEHNgIMIAAgFEEBajYCFAwoCyAAQQA2AgAgF0EBaiEBQcAAIRAMDgtBASEBCyAAIAE6ACwgAEEANgIAIBdBAWohAQtBKCEQDAsLIAEhAQtBOCEQDAkLAkAgASIPIAJGDQADQAJAIA8tAABBgL6AgABqLQAAIgFBAUYNACABQQJHDQMgD0EBaiEBDAQLIA9BAWoiDyACRw0AC0E+IRAMIgtBPiEQDCELIABBADoALCAPIQEMAQtBCyEQDAYLQTohEAwFCyABQQFqIQFBLSEQDAQLIAAgAToALCAAQQA2AgAgFkEBaiEBQQwhEAwDCyAAQQA2AgAgF0EBaiEBQQohEAwCCyAAQQA2AgALIABBADoALCANIQFBCSEQDAALC0EAIRAgAEEANgIcIAAgCzYCFCAAQc2QgIAANgIQIABBCTYCDAwXC0EAIRAgAEEANgIcIAAgCjYCFCAAQemKgIAANgIQIABBCTYCDAwWC0EAIRAgAEEANgIcIAAgCTYCFCAAQbeQgIAANgIQIABBCTYCDAwVC0EAIRAgAEEANgIcIAAgCDYCFCAAQZyRgIAANgIQIABBCTYCDAwUC0EAIRAgAEEANgIcIAAgATYCFCAAQc2QgIAANgIQIABBCTYCDAwTC0EAIRAgAEEANgIcIAAgATYCFCAAQemKgIAANgIQIABBCTYCDAwSC0EAIRAgAEEANgIcIAAgATYCFCAAQbeQgIAANgIQIABBCTYCDAwRC0EAIRAgAEEANgIcIAAgATYCFCAAQZyRgIAANgIQIABBCTYCDAwQC0EAIRAgAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwPC0EAIRAgAEEANgIcIAAgATYCFCAAQZeVgIAANgIQIABBDzYCDAwOC0EAIRAgAEEANgIcIAAgATYCFCAAQcCSgIAANgIQIABBCzYCDAwNC0EAIRAgAEEANgIcIAAgATYCFCAAQZWJgIAANgIQIABBCzYCDAwMC0EAIRAgAEEANgIcIAAgATYCFCAAQeGPgIAANgIQIABBCjYCDAwLC0EAIRAgAEEANgIcIAAgATYCFCAAQfuPgIAANgIQIABBCjYCDAwKC0EAIRAgAEEANgIcIAAgATYCFCAAQfGZgIAANgIQIABBAjYCDAwJC0EAIRAgAEEANgIcIAAgATYCFCAAQcSUgIAANgIQIABBAjYCDAwIC0EAIRAgAEEANgIcIAAgATYCFCAAQfKVgIAANgIQIABBAjYCDAwHCyAAQQI2AhwgACABNgIUIABBnJqAgAA2AhAgAEEWNgIMQQAhEAwGC0EBIRAMBQtB1AAhECABIgQgAkYNBCADQQhqIAAgBCACQdjCgIAAQQoQxYCAgAAgAygCDCEEIAMoAggOAwEEAgALEMqAgIAAAAsgAEEANgIcIABBtZqAgAA2AhAgAEEXNgIMIAAgBEEBajYCFEEAIRAMAgsgAEEANgIcIAAgBDYCFCAAQcqagIAANgIQIABBCTYCDEEAIRAMAQsCQCABIgQgAkcNAEEiIRAMAQsgAEGJgICAADYCCCAAIAQ2AgRBISEQCyADQRBqJICAgIAAIBALrwEBAn8gASgCACEGAkACQCACIANGDQAgBCAGaiEEIAYgA2ogAmshByACIAZBf3MgBWoiBmohBQNAAkAgAi0AACAELQAARg0AQQIhBAwDCwJAIAYNAEEAIQQgBSECDAMLIAZBf2ohBiAEQQFqIQQgAkEBaiICIANHDQALIAchBiADIQILIABBATYCACABIAY2AgAgACACNgIEDwsgAUEANgIAIAAgBDYCACAAIAI2AgQLCgAgABDHgICAAAvyNgELfyOAgICAAEEQayIBJICAgIAAAkBBACgCoNCAgAANAEEAEMuAgIAAQYDUhIAAayICQdkASQ0AQQAhAwJAQQAoAuDTgIAAIgQNAEEAQn83AuzTgIAAQQBCgICEgICAwAA3AuTTgIAAQQAgAUEIakFwcUHYqtWqBXMiBDYC4NOAgABBAEEANgL004CAAEEAQQA2AsTTgIAAC0EAIAI2AszTgIAAQQBBgNSEgAA2AsjTgIAAQQBBgNSEgAA2ApjQgIAAQQAgBDYCrNCAgABBAEF/NgKo0ICAAANAIANBxNCAgABqIANBuNCAgABqIgQ2AgAgBCADQbDQgIAAaiIFNgIAIANBvNCAgABqIAU2AgAgA0HM0ICAAGogA0HA0ICAAGoiBTYCACAFIAQ2AgAgA0HU0ICAAGogA0HI0ICAAGoiBDYCACAEIAU2AgAgA0HQ0ICAAGogBDYCACADQSBqIgNBgAJHDQALQYDUhIAAQXhBgNSEgABrQQ9xQQBBgNSEgABBCGpBD3EbIgNqIgRBBGogAkFIaiIFIANrIgNBAXI2AgBBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAQ2AqDQgIAAQYDUhIAAIAVqQTg2AgQLAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABB7AFLDQACQEEAKAKI0ICAACIGQRAgAEETakFwcSAAQQtJGyICQQN2IgR2IgNBA3FFDQACQAJAIANBAXEgBHJBAXMiBUEDdCIEQbDQgIAAaiIDIARBuNCAgABqKAIAIgQoAggiAkcNAEEAIAZBfiAFd3E2AojQgIAADAELIAMgAjYCCCACIAM2AgwLIARBCGohAyAEIAVBA3QiBUEDcjYCBCAEIAVqIgQgBCgCBEEBcjYCBAwMCyACQQAoApDQgIAAIgdNDQECQCADRQ0AAkACQCADIAR0QQIgBHQiA0EAIANrcnEiA0EAIANrcUF/aiIDIANBDHZBEHEiA3YiBEEFdkEIcSIFIANyIAQgBXYiA0ECdkEEcSIEciADIAR2IgNBAXZBAnEiBHIgAyAEdiIDQQF2QQFxIgRyIAMgBHZqIgRBA3QiA0Gw0ICAAGoiBSADQbjQgIAAaigCACIDKAIIIgBHDQBBACAGQX4gBHdxIgY2AojQgIAADAELIAUgADYCCCAAIAU2AgwLIAMgAkEDcjYCBCADIARBA3QiBGogBCACayIFNgIAIAMgAmoiACAFQQFyNgIEAkAgB0UNACAHQXhxQbDQgIAAaiECQQAoApzQgIAAIQQCQAJAIAZBASAHQQN2dCIIcQ0AQQAgBiAIcjYCiNCAgAAgAiEIDAELIAIoAgghCAsgCCAENgIMIAIgBDYCCCAEIAI2AgwgBCAINgIICyADQQhqIQNBACAANgKc0ICAAEEAIAU2ApDQgIAADAwLQQAoAozQgIAAIglFDQEgCUEAIAlrcUF/aiIDIANBDHZBEHEiA3YiBEEFdkEIcSIFIANyIAQgBXYiA0ECdkEEcSIEciADIAR2IgNBAXZBAnEiBHIgAyAEdiIDQQF2QQFxIgRyIAMgBHZqQQJ0QbjSgIAAaigCACIAKAIEQXhxIAJrIQQgACEFAkADQAJAIAUoAhAiAw0AIAVBFGooAgAiA0UNAgsgAygCBEF4cSACayIFIAQgBSAESSIFGyEEIAMgACAFGyEAIAMhBQwACwsgACgCGCEKAkAgACgCDCIIIABGDQAgACgCCCIDQQAoApjQgIAASRogCCADNgIIIAMgCDYCDAwLCwJAIABBFGoiBSgCACIDDQAgACgCECIDRQ0DIABBEGohBQsDQCAFIQsgAyIIQRRqIgUoAgAiAw0AIAhBEGohBSAIKAIQIgMNAAsgC0EANgIADAoLQX8hAiAAQb9/Sw0AIABBE2oiA0FwcSECQQAoAozQgIAAIgdFDQBBACELAkAgAkGAAkkNAEEfIQsgAkH///8HSw0AIANBCHYiAyADQYD+P2pBEHZBCHEiA3QiBCAEQYDgH2pBEHZBBHEiBHQiBSAFQYCAD2pBEHZBAnEiBXRBD3YgAyAEciAFcmsiA0EBdCACIANBFWp2QQFxckEcaiELC0EAIAJrIQQCQAJAAkACQCALQQJ0QbjSgIAAaigCACIFDQBBACEDQQAhCAwBC0EAIQMgAkEAQRkgC0EBdmsgC0EfRht0IQBBACEIA0ACQCAFKAIEQXhxIAJrIgYgBE8NACAGIQQgBSEIIAYNAEEAIQQgBSEIIAUhAwwDCyADIAVBFGooAgAiBiAGIAUgAEEddkEEcWpBEGooAgAiBUYbIAMgBhshAyAAQQF0IQAgBQ0ACwsCQCADIAhyDQBBACEIQQIgC3QiA0EAIANrciAHcSIDRQ0DIANBACADa3FBf2oiAyADQQx2QRBxIgN2IgVBBXZBCHEiACADciAFIAB2IgNBAnZBBHEiBXIgAyAFdiIDQQF2QQJxIgVyIAMgBXYiA0EBdkEBcSIFciADIAV2akECdEG40oCAAGooAgAhAwsgA0UNAQsDQCADKAIEQXhxIAJrIgYgBEkhAAJAIAMoAhAiBQ0AIANBFGooAgAhBQsgBiAEIAAbIQQgAyAIIAAbIQggBSEDIAUNAAsLIAhFDQAgBEEAKAKQ0ICAACACa08NACAIKAIYIQsCQCAIKAIMIgAgCEYNACAIKAIIIgNBACgCmNCAgABJGiAAIAM2AgggAyAANgIMDAkLAkAgCEEUaiIFKAIAIgMNACAIKAIQIgNFDQMgCEEQaiEFCwNAIAUhBiADIgBBFGoiBSgCACIDDQAgAEEQaiEFIAAoAhAiAw0ACyAGQQA2AgAMCAsCQEEAKAKQ0ICAACIDIAJJDQBBACgCnNCAgAAhBAJAAkAgAyACayIFQRBJDQAgBCACaiIAIAVBAXI2AgRBACAFNgKQ0ICAAEEAIAA2ApzQgIAAIAQgA2ogBTYCACAEIAJBA3I2AgQMAQsgBCADQQNyNgIEIAQgA2oiAyADKAIEQQFyNgIEQQBBADYCnNCAgABBAEEANgKQ0ICAAAsgBEEIaiEDDAoLAkBBACgClNCAgAAiACACTQ0AQQAoAqDQgIAAIgMgAmoiBCAAIAJrIgVBAXI2AgRBACAFNgKU0ICAAEEAIAQ2AqDQgIAAIAMgAkEDcjYCBCADQQhqIQMMCgsCQAJAQQAoAuDTgIAARQ0AQQAoAujTgIAAIQQMAQtBAEJ/NwLs04CAAEEAQoCAhICAgMAANwLk04CAAEEAIAFBDGpBcHFB2KrVqgVzNgLg04CAAEEAQQA2AvTTgIAAQQBBADYCxNOAgABBgIAEIQQLQQAhAwJAIAQgAkHHAGoiB2oiBkEAIARrIgtxIgggAksNAEEAQTA2AvjTgIAADAoLAkBBACgCwNOAgAAiA0UNAAJAQQAoArjTgIAAIgQgCGoiBSAETQ0AIAUgA00NAQtBACEDQQBBMDYC+NOAgAAMCgtBAC0AxNOAgABBBHENBAJAAkACQEEAKAKg0ICAACIERQ0AQcjTgIAAIQMDQAJAIAMoAgAiBSAESw0AIAUgAygCBGogBEsNAwsgAygCCCIDDQALC0EAEMuAgIAAIgBBf0YNBSAIIQYCQEEAKALk04CAACIDQX9qIgQgAHFFDQAgCCAAayAEIABqQQAgA2txaiEGCyAGIAJNDQUgBkH+////B0sNBQJAQQAoAsDTgIAAIgNFDQBBACgCuNOAgAAiBCAGaiIFIARNDQYgBSADSw0GCyAGEMuAgIAAIgMgAEcNAQwHCyAGIABrIAtxIgZB/v///wdLDQQgBhDLgICAACIAIAMoAgAgAygCBGpGDQMgACEDCwJAIANBf0YNACACQcgAaiAGTQ0AAkAgByAGa0EAKALo04CAACIEakEAIARrcSIEQf7///8HTQ0AIAMhAAwHCwJAIAQQy4CAgABBf0YNACAEIAZqIQYgAyEADAcLQQAgBmsQy4CAgAAaDAQLIAMhACADQX9HDQUMAwtBACEIDAcLQQAhAAwFCyAAQX9HDQILQQBBACgCxNOAgABBBHI2AsTTgIAACyAIQf7///8HSw0BIAgQy4CAgAAhAEEAEMuAgIAAIQMgAEF/Rg0BIANBf0YNASAAIANPDQEgAyAAayIGIAJBOGpNDQELQQBBACgCuNOAgAAgBmoiAzYCuNOAgAACQCADQQAoArzTgIAATQ0AQQAgAzYCvNOAgAALAkACQAJAAkBBACgCoNCAgAAiBEUNAEHI04CAACEDA0AgACADKAIAIgUgAygCBCIIakYNAiADKAIIIgMNAAwDCwsCQAJAQQAoApjQgIAAIgNFDQAgACADTw0BC0EAIAA2ApjQgIAAC0EAIQNBACAGNgLM04CAAEEAIAA2AsjTgIAAQQBBfzYCqNCAgABBAEEAKALg04CAADYCrNCAgABBAEEANgLU04CAAANAIANBxNCAgABqIANBuNCAgABqIgQ2AgAgBCADQbDQgIAAaiIFNgIAIANBvNCAgABqIAU2AgAgA0HM0ICAAGogA0HA0ICAAGoiBTYCACAFIAQ2AgAgA0HU0ICAAGogA0HI0ICAAGoiBDYCACAEIAU2AgAgA0HQ0ICAAGogBDYCACADQSBqIgNBgAJHDQALIABBeCAAa0EPcUEAIABBCGpBD3EbIgNqIgQgBkFIaiIFIANrIgNBAXI2AgRBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAQ2AqDQgIAAIAAgBWpBODYCBAwCCyADLQAMQQhxDQAgBCAFSQ0AIAQgAE8NACAEQXggBGtBD3FBACAEQQhqQQ9xGyIFaiIAQQAoApTQgIAAIAZqIgsgBWsiBUEBcjYCBCADIAggBmo2AgRBAEEAKALw04CAADYCpNCAgABBACAFNgKU0ICAAEEAIAA2AqDQgIAAIAQgC2pBODYCBAwBCwJAIABBACgCmNCAgAAiCE8NAEEAIAA2ApjQgIAAIAAhCAsgACAGaiEFQcjTgIAAIQMCQAJAAkACQAJAAkACQANAIAMoAgAgBUYNASADKAIIIgMNAAwCCwsgAy0ADEEIcUUNAQtByNOAgAAhAwNAAkAgAygCACIFIARLDQAgBSADKAIEaiIFIARLDQMLIAMoAgghAwwACwsgAyAANgIAIAMgAygCBCAGajYCBCAAQXggAGtBD3FBACAAQQhqQQ9xG2oiCyACQQNyNgIEIAVBeCAFa0EPcUEAIAVBCGpBD3EbaiIGIAsgAmoiAmshAwJAIAYgBEcNAEEAIAI2AqDQgIAAQQBBACgClNCAgAAgA2oiAzYClNCAgAAgAiADQQFyNgIEDAMLAkAgBkEAKAKc0ICAAEcNAEEAIAI2ApzQgIAAQQBBACgCkNCAgAAgA2oiAzYCkNCAgAAgAiADQQFyNgIEIAIgA2ogAzYCAAwDCwJAIAYoAgQiBEEDcUEBRw0AIARBeHEhBwJAAkAgBEH/AUsNACAGKAIIIgUgBEEDdiIIQQN0QbDQgIAAaiIARhoCQCAGKAIMIgQgBUcNAEEAQQAoAojQgIAAQX4gCHdxNgKI0ICAAAwCCyAEIABGGiAEIAU2AgggBSAENgIMDAELIAYoAhghCQJAAkAgBigCDCIAIAZGDQAgBigCCCIEIAhJGiAAIAQ2AgggBCAANgIMDAELAkAgBkEUaiIEKAIAIgUNACAGQRBqIgQoAgAiBQ0AQQAhAAwBCwNAIAQhCCAFIgBBFGoiBCgCACIFDQAgAEEQaiEEIAAoAhAiBQ0ACyAIQQA2AgALIAlFDQACQAJAIAYgBigCHCIFQQJ0QbjSgIAAaiIEKAIARw0AIAQgADYCACAADQFBAEEAKAKM0ICAAEF+IAV3cTYCjNCAgAAMAgsgCUEQQRQgCSgCECAGRhtqIAA2AgAgAEUNAQsgACAJNgIYAkAgBigCECIERQ0AIAAgBDYCECAEIAA2AhgLIAYoAhQiBEUNACAAQRRqIAQ2AgAgBCAANgIYCyAHIANqIQMgBiAHaiIGKAIEIQQLIAYgBEF+cTYCBCACIANqIAM2AgAgAiADQQFyNgIEAkAgA0H/AUsNACADQXhxQbDQgIAAaiEEAkACQEEAKAKI0ICAACIFQQEgA0EDdnQiA3ENAEEAIAUgA3I2AojQgIAAIAQhAwwBCyAEKAIIIQMLIAMgAjYCDCAEIAI2AgggAiAENgIMIAIgAzYCCAwDC0EfIQQCQCADQf///wdLDQAgA0EIdiIEIARBgP4/akEQdkEIcSIEdCIFIAVBgOAfakEQdkEEcSIFdCIAIABBgIAPakEQdkECcSIAdEEPdiAEIAVyIAByayIEQQF0IAMgBEEVanZBAXFyQRxqIQQLIAIgBDYCHCACQgA3AhAgBEECdEG40oCAAGohBQJAQQAoAozQgIAAIgBBASAEdCIIcQ0AIAUgAjYCAEEAIAAgCHI2AozQgIAAIAIgBTYCGCACIAI2AgggAiACNgIMDAMLIANBAEEZIARBAXZrIARBH0YbdCEEIAUoAgAhAANAIAAiBSgCBEF4cSADRg0CIARBHXYhACAEQQF0IQQgBSAAQQRxakEQaiIIKAIAIgANAAsgCCACNgIAIAIgBTYCGCACIAI2AgwgAiACNgIIDAILIABBeCAAa0EPcUEAIABBCGpBD3EbIgNqIgsgBkFIaiIIIANrIgNBAXI2AgQgACAIakE4NgIEIAQgBUE3IAVrQQ9xQQAgBUFJakEPcRtqQUFqIgggCCAEQRBqSRsiCEEjNgIEQQBBACgC8NOAgAA2AqTQgIAAQQAgAzYClNCAgABBACALNgKg0ICAACAIQRBqQQApAtDTgIAANwIAIAhBACkCyNOAgAA3AghBACAIQQhqNgLQ04CAAEEAIAY2AszTgIAAQQAgADYCyNOAgABBAEEANgLU04CAACAIQSRqIQMDQCADQQc2AgAgA0EEaiIDIAVJDQALIAggBEYNAyAIIAgoAgRBfnE2AgQgCCAIIARrIgA2AgAgBCAAQQFyNgIEAkAgAEH/AUsNACAAQXhxQbDQgIAAaiEDAkACQEEAKAKI0ICAACIFQQEgAEEDdnQiAHENAEEAIAUgAHI2AojQgIAAIAMhBQwBCyADKAIIIQULIAUgBDYCDCADIAQ2AgggBCADNgIMIAQgBTYCCAwEC0EfIQMCQCAAQf///wdLDQAgAEEIdiIDIANBgP4/akEQdkEIcSIDdCIFIAVBgOAfakEQdkEEcSIFdCIIIAhBgIAPakEQdkECcSIIdEEPdiADIAVyIAhyayIDQQF0IAAgA0EVanZBAXFyQRxqIQMLIAQgAzYCHCAEQgA3AhAgA0ECdEG40oCAAGohBQJAQQAoAozQgIAAIghBASADdCIGcQ0AIAUgBDYCAEEAIAggBnI2AozQgIAAIAQgBTYCGCAEIAQ2AgggBCAENgIMDAQLIABBAEEZIANBAXZrIANBH0YbdCEDIAUoAgAhCANAIAgiBSgCBEF4cSAARg0DIANBHXYhCCADQQF0IQMgBSAIQQRxakEQaiIGKAIAIggNAAsgBiAENgIAIAQgBTYCGCAEIAQ2AgwgBCAENgIIDAMLIAUoAggiAyACNgIMIAUgAjYCCCACQQA2AhggAiAFNgIMIAIgAzYCCAsgC0EIaiEDDAULIAUoAggiAyAENgIMIAUgBDYCCCAEQQA2AhggBCAFNgIMIAQgAzYCCAtBACgClNCAgAAiAyACTQ0AQQAoAqDQgIAAIgQgAmoiBSADIAJrIgNBAXI2AgRBACADNgKU0ICAAEEAIAU2AqDQgIAAIAQgAkEDcjYCBCAEQQhqIQMMAwtBACEDQQBBMDYC+NOAgAAMAgsCQCALRQ0AAkACQCAIIAgoAhwiBUECdEG40oCAAGoiAygCAEcNACADIAA2AgAgAA0BQQAgB0F+IAV3cSIHNgKM0ICAAAwCCyALQRBBFCALKAIQIAhGG2ogADYCACAARQ0BCyAAIAs2AhgCQCAIKAIQIgNFDQAgACADNgIQIAMgADYCGAsgCEEUaigCACIDRQ0AIABBFGogAzYCACADIAA2AhgLAkACQCAEQQ9LDQAgCCAEIAJqIgNBA3I2AgQgCCADaiIDIAMoAgRBAXI2AgQMAQsgCCACaiIAIARBAXI2AgQgCCACQQNyNgIEIAAgBGogBDYCAAJAIARB/wFLDQAgBEF4cUGw0ICAAGohAwJAAkBBACgCiNCAgAAiBUEBIARBA3Z0IgRxDQBBACAFIARyNgKI0ICAACADIQQMAQsgAygCCCEECyAEIAA2AgwgAyAANgIIIAAgAzYCDCAAIAQ2AggMAQtBHyEDAkAgBEH///8HSw0AIARBCHYiAyADQYD+P2pBEHZBCHEiA3QiBSAFQYDgH2pBEHZBBHEiBXQiAiACQYCAD2pBEHZBAnEiAnRBD3YgAyAFciACcmsiA0EBdCAEIANBFWp2QQFxckEcaiEDCyAAIAM2AhwgAEIANwIQIANBAnRBuNKAgABqIQUCQCAHQQEgA3QiAnENACAFIAA2AgBBACAHIAJyNgKM0ICAACAAIAU2AhggACAANgIIIAAgADYCDAwBCyAEQQBBGSADQQF2ayADQR9GG3QhAyAFKAIAIQICQANAIAIiBSgCBEF4cSAERg0BIANBHXYhAiADQQF0IQMgBSACQQRxakEQaiIGKAIAIgINAAsgBiAANgIAIAAgBTYCGCAAIAA2AgwgACAANgIIDAELIAUoAggiAyAANgIMIAUgADYCCCAAQQA2AhggACAFNgIMIAAgAzYCCAsgCEEIaiEDDAELAkAgCkUNAAJAAkAgACAAKAIcIgVBAnRBuNKAgABqIgMoAgBHDQAgAyAINgIAIAgNAUEAIAlBfiAFd3E2AozQgIAADAILIApBEEEUIAooAhAgAEYbaiAINgIAIAhFDQELIAggCjYCGAJAIAAoAhAiA0UNACAIIAM2AhAgAyAINgIYCyAAQRRqKAIAIgNFDQAgCEEUaiADNgIAIAMgCDYCGAsCQAJAIARBD0sNACAAIAQgAmoiA0EDcjYCBCAAIANqIgMgAygCBEEBcjYCBAwBCyAAIAJqIgUgBEEBcjYCBCAAIAJBA3I2AgQgBSAEaiAENgIAAkAgB0UNACAHQXhxQbDQgIAAaiECQQAoApzQgIAAIQMCQAJAQQEgB0EDdnQiCCAGcQ0AQQAgCCAGcjYCiNCAgAAgAiEIDAELIAIoAgghCAsgCCADNgIMIAIgAzYCCCADIAI2AgwgAyAINgIIC0EAIAU2ApzQgIAAQQAgBDYCkNCAgAALIABBCGohAwsgAUEQaiSAgICAACADCwoAIAAQyYCAgAAL4g0BB38CQCAARQ0AIABBeGoiASAAQXxqKAIAIgJBeHEiAGohAwJAIAJBAXENACACQQNxRQ0BIAEgASgCACICayIBQQAoApjQgIAAIgRJDQEgAiAAaiEAAkAgAUEAKAKc0ICAAEYNAAJAIAJB/wFLDQAgASgCCCIEIAJBA3YiBUEDdEGw0ICAAGoiBkYaAkAgASgCDCICIARHDQBBAEEAKAKI0ICAAEF+IAV3cTYCiNCAgAAMAwsgAiAGRhogAiAENgIIIAQgAjYCDAwCCyABKAIYIQcCQAJAIAEoAgwiBiABRg0AIAEoAggiAiAESRogBiACNgIIIAIgBjYCDAwBCwJAIAFBFGoiAigCACIEDQAgAUEQaiICKAIAIgQNAEEAIQYMAQsDQCACIQUgBCIGQRRqIgIoAgAiBA0AIAZBEGohAiAGKAIQIgQNAAsgBUEANgIACyAHRQ0BAkACQCABIAEoAhwiBEECdEG40oCAAGoiAigCAEcNACACIAY2AgAgBg0BQQBBACgCjNCAgABBfiAEd3E2AozQgIAADAMLIAdBEEEUIAcoAhAgAUYbaiAGNgIAIAZFDQILIAYgBzYCGAJAIAEoAhAiAkUNACAGIAI2AhAgAiAGNgIYCyABKAIUIgJFDQEgBkEUaiACNgIAIAIgBjYCGAwBCyADKAIEIgJBA3FBA0cNACADIAJBfnE2AgRBACAANgKQ0ICAACABIABqIAA2AgAgASAAQQFyNgIEDwsgASADTw0AIAMoAgQiAkEBcUUNAAJAAkAgAkECcQ0AAkAgA0EAKAKg0ICAAEcNAEEAIAE2AqDQgIAAQQBBACgClNCAgAAgAGoiADYClNCAgAAgASAAQQFyNgIEIAFBACgCnNCAgABHDQNBAEEANgKQ0ICAAEEAQQA2ApzQgIAADwsCQCADQQAoApzQgIAARw0AQQAgATYCnNCAgABBAEEAKAKQ0ICAACAAaiIANgKQ0ICAACABIABBAXI2AgQgASAAaiAANgIADwsgAkF4cSAAaiEAAkACQCACQf8BSw0AIAMoAggiBCACQQN2IgVBA3RBsNCAgABqIgZGGgJAIAMoAgwiAiAERw0AQQBBACgCiNCAgABBfiAFd3E2AojQgIAADAILIAIgBkYaIAIgBDYCCCAEIAI2AgwMAQsgAygCGCEHAkACQCADKAIMIgYgA0YNACADKAIIIgJBACgCmNCAgABJGiAGIAI2AgggAiAGNgIMDAELAkAgA0EUaiICKAIAIgQNACADQRBqIgIoAgAiBA0AQQAhBgwBCwNAIAIhBSAEIgZBFGoiAigCACIEDQAgBkEQaiECIAYoAhAiBA0ACyAFQQA2AgALIAdFDQACQAJAIAMgAygCHCIEQQJ0QbjSgIAAaiICKAIARw0AIAIgBjYCACAGDQFBAEEAKAKM0ICAAEF+IAR3cTYCjNCAgAAMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIAMoAhQiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABqIAA2AgAgASAAQQFyNgIEIAFBACgCnNCAgABHDQFBACAANgKQ0ICAAA8LIAMgAkF+cTYCBCABIABqIAA2AgAgASAAQQFyNgIECwJAIABB/wFLDQAgAEF4cUGw0ICAAGohAgJAAkBBACgCiNCAgAAiBEEBIABBA3Z0IgBxDQBBACAEIAByNgKI0ICAACACIQAMAQsgAigCCCEACyAAIAE2AgwgAiABNgIIIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEIdiICIAJBgP4/akEQdkEIcSICdCIEIARBgOAfakEQdkEEcSIEdCIGIAZBgIAPakEQdkECcSIGdEEPdiACIARyIAZyayICQQF0IAAgAkEVanZBAXFyQRxqIQILIAEgAjYCHCABQgA3AhAgAkECdEG40oCAAGohBAJAAkBBACgCjNCAgAAiBkEBIAJ0IgNxDQAgBCABNgIAQQAgBiADcjYCjNCAgAAgASAENgIYIAEgATYCCCABIAE2AgwMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGAkADQCAGIgQoAgRBeHEgAEYNASACQR12IQYgAkEBdCECIAQgBkEEcWpBEGoiAygCACIGDQALIAMgATYCACABIAQ2AhggASABNgIMIAEgATYCCAwBCyAEKAIIIgAgATYCDCAEIAE2AgggAUEANgIYIAEgBDYCDCABIAA2AggLQQBBACgCqNCAgABBf2oiAUF/IAEbNgKo0ICAAAsLBAAAAAtOAAJAIAANAD8AQRB0DwsCQCAAQf//A3ENACAAQX9MDQACQCAAQRB2QAAiAEF/Rw0AQQBBMDYC+NOAgABBfw8LIABBEHQPCxDKgICAAAAL8gICA38BfgJAIAJFDQAgACABOgAAIAIgAGoiA0F/aiABOgAAIAJBA0kNACAAIAE6AAIgACABOgABIANBfWogAToAACADQX5qIAE6AAAgAkEHSQ0AIAAgAToAAyADQXxqIAE6AAAgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIFayICQSBJDQAgAa1CgYCAgBB+IQYgAyAFaiEBA0AgASAGNwMYIAEgBjcDECABIAY3AwggASAGNwMAIAFBIGohASACQWBqIgJBH0sNAAsLIAALC45IAQBBgAgLhkgBAAAAAgAAAAMAAAAAAAAAAAAAAAQAAAAFAAAAAAAAAAAAAAAGAAAABwAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEludmFsaWQgY2hhciBpbiB1cmwgcXVlcnkAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9ib2R5AENvbnRlbnQtTGVuZ3RoIG92ZXJmbG93AENodW5rIHNpemUgb3ZlcmZsb3cAUmVzcG9uc2Ugb3ZlcmZsb3cASW52YWxpZCBtZXRob2QgZm9yIEhUVFAveC54IHJlcXVlc3QASW52YWxpZCBtZXRob2QgZm9yIFJUU1AveC54IHJlcXVlc3QARXhwZWN0ZWQgU09VUkNFIG1ldGhvZCBmb3IgSUNFL3gueCByZXF1ZXN0AEludmFsaWQgY2hhciBpbiB1cmwgZnJhZ21lbnQgc3RhcnQARXhwZWN0ZWQgZG90AFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fc3RhdHVzAEludmFsaWQgcmVzcG9uc2Ugc3RhdHVzAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMAVXNlciBjYWxsYmFjayBlcnJvcgBgb25fcmVzZXRgIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19oZWFkZXJgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2JlZ2luYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlYCBjYWxsYmFjayBlcnJvcgBgb25fc3RhdHVzX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdmVyc2lvbl9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX3VybF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWVzc2FnZV9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX21ldGhvZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZWAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lYCBjYWxsYmFjayBlcnJvcgBVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNlcnZlcgBJbnZhbGlkIGhlYWRlciB2YWx1ZSBjaGFyAEludmFsaWQgaGVhZGVyIGZpZWxkIGNoYXIAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl92ZXJzaW9uAEludmFsaWQgbWlub3IgdmVyc2lvbgBJbnZhbGlkIG1ham9yIHZlcnNpb24ARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgdmVyc2lvbgBFeHBlY3RlZCBDUkxGIGFmdGVyIHZlcnNpb24ASW52YWxpZCBIVFRQIHZlcnNpb24ASW52YWxpZCBoZWFkZXIgdG9rZW4AU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl91cmwASW52YWxpZCBjaGFyYWN0ZXJzIGluIHVybABVbmV4cGVjdGVkIHN0YXJ0IGNoYXIgaW4gdXJsAERvdWJsZSBAIGluIHVybABFbXB0eSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXJhY3RlciBpbiBDb250ZW50LUxlbmd0aABEdXBsaWNhdGUgQ29udGVudC1MZW5ndGgASW52YWxpZCBjaGFyIGluIHVybCBwYXRoAENvbnRlbnQtTGVuZ3RoIGNhbid0IGJlIHByZXNlbnQgd2l0aCBUcmFuc2Zlci1FbmNvZGluZwBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBzaXplAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX3ZhbHVlAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgdmFsdWUATWlzc2luZyBleHBlY3RlZCBMRiBhZnRlciBoZWFkZXIgdmFsdWUASW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIHF1b3RlIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGVkIHZhbHVlAFBhdXNlZCBieSBvbl9oZWFkZXJzX2NvbXBsZXRlAEludmFsaWQgRU9GIHN0YXRlAG9uX3Jlc2V0IHBhdXNlAG9uX2NodW5rX2hlYWRlciBwYXVzZQBvbl9tZXNzYWdlX2JlZ2luIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl92YWx1ZSBwYXVzZQBvbl9zdGF0dXNfY29tcGxldGUgcGF1c2UAb25fdmVyc2lvbl9jb21wbGV0ZSBwYXVzZQBvbl91cmxfY29tcGxldGUgcGF1c2UAb25fY2h1bmtfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX3ZhbHVlX2NvbXBsZXRlIHBhdXNlAG9uX21lc3NhZ2VfY29tcGxldGUgcGF1c2UAb25fbWV0aG9kX2NvbXBsZXRlIHBhdXNlAG9uX2hlYWRlcl9maWVsZF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19leHRlbnNpb25fbmFtZSBwYXVzZQBVbmV4cGVjdGVkIHNwYWNlIGFmdGVyIHN0YXJ0IGxpbmUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fbmFtZQBJbnZhbGlkIGNoYXJhY3RlciBpbiBjaHVuayBleHRlbnNpb25zIG5hbWUAUGF1c2Ugb24gQ09OTkVDVC9VcGdyYWRlAFBhdXNlIG9uIFBSSS9VcGdyYWRlAEV4cGVjdGVkIEhUVFAvMiBDb25uZWN0aW9uIFByZWZhY2UAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9tZXRob2QARXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgbWV0aG9kAFNwYW4gY2FsbGJhY2sgZXJyb3IgaW4gb25faGVhZGVyX2ZpZWxkAFBhdXNlZABJbnZhbGlkIHdvcmQgZW5jb3VudGVyZWQASW52YWxpZCBtZXRob2QgZW5jb3VudGVyZWQAVW5leHBlY3RlZCBjaGFyIGluIHVybCBzY2hlbWEAUmVxdWVzdCBoYXMgaW52YWxpZCBgVHJhbnNmZXItRW5jb2RpbmdgAFNXSVRDSF9QUk9YWQBVU0VfUFJPWFkATUtBQ1RJVklUWQBVTlBST0NFU1NBQkxFX0VOVElUWQBDT1BZAE1PVkVEX1BFUk1BTkVOVExZAFRPT19FQVJMWQBOT1RJRlkARkFJTEVEX0RFUEVOREVOQ1kAQkFEX0dBVEVXQVkAUExBWQBQVVQAQ0hFQ0tPVVQAR0FURVdBWV9USU1FT1VUAFJFUVVFU1RfVElNRU9VVABORVRXT1JLX0NPTk5FQ1RfVElNRU9VVABDT05ORUNUSU9OX1RJTUVPVVQATE9HSU5fVElNRU9VVABORVRXT1JLX1JFQURfVElNRU9VVABQT1NUAE1JU0RJUkVDVEVEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9SRVFVRVNUAENMSUVOVF9DTE9TRURfTE9BRF9CQUxBTkNFRF9SRVFVRVNUAEJBRF9SRVFVRVNUAEhUVFBfUkVRVUVTVF9TRU5UX1RPX0hUVFBTX1BPUlQAUkVQT1JUAElNX0FfVEVBUE9UAFJFU0VUX0NPTlRFTlQATk9fQ09OVEVOVABQQVJUSUFMX0NPTlRFTlQASFBFX0lOVkFMSURfQ09OU1RBTlQASFBFX0NCX1JFU0VUAEdFVABIUEVfU1RSSUNUAENPTkZMSUNUAFRFTVBPUkFSWV9SRURJUkVDVABQRVJNQU5FTlRfUkVESVJFQ1QAQ09OTkVDVABNVUxUSV9TVEFUVVMASFBFX0lOVkFMSURfU1RBVFVTAFRPT19NQU5ZX1JFUVVFU1RTAEVBUkxZX0hJTlRTAFVOQVZBSUxBQkxFX0ZPUl9MRUdBTF9SRUFTT05TAE9QVElPTlMAU1dJVENISU5HX1BST1RPQ09MUwBWQVJJQU5UX0FMU09fTkVHT1RJQVRFUwBNVUxUSVBMRV9DSE9JQ0VTAElOVEVSTkFMX1NFUlZFUl9FUlJPUgBXRUJfU0VSVkVSX1VOS05PV05fRVJST1IAUkFJTEdVTl9FUlJPUgBJREVOVElUWV9QUk9WSURFUl9BVVRIRU5USUNBVElPTl9FUlJPUgBTU0xfQ0VSVElGSUNBVEVfRVJST1IASU5WQUxJRF9YX0ZPUldBUkRFRF9GT1IAU0VUX1BBUkFNRVRFUgBHRVRfUEFSQU1FVEVSAEhQRV9VU0VSAFNFRV9PVEhFUgBIUEVfQ0JfQ0hVTktfSEVBREVSAE1LQ0FMRU5EQVIAU0VUVVAAV0VCX1NFUlZFUl9JU19ET1dOAFRFQVJET1dOAEhQRV9DTE9TRURfQ09OTkVDVElPTgBIRVVSSVNUSUNfRVhQSVJBVElPTgBESVNDT05ORUNURURfT1BFUkFUSU9OAE5PTl9BVVRIT1JJVEFUSVZFX0lORk9STUFUSU9OAEhQRV9JTlZBTElEX1ZFUlNJT04ASFBFX0NCX01FU1NBR0VfQkVHSU4AU0lURV9JU19GUk9aRU4ASFBFX0lOVkFMSURfSEVBREVSX1RPS0VOAElOVkFMSURfVE9LRU4ARk9SQklEREVOAEVOSEFOQ0VfWU9VUl9DQUxNAEhQRV9JTlZBTElEX1VSTABCTE9DS0VEX0JZX1BBUkVOVEFMX0NPTlRST0wATUtDT0wAQUNMAEhQRV9JTlRFUk5BTABSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFX1VOT0ZGSUNJQUwASFBFX09LAFVOTElOSwBVTkxPQ0sAUFJJAFJFVFJZX1dJVEgASFBFX0lOVkFMSURfQ09OVEVOVF9MRU5HVEgASFBFX1VORVhQRUNURURfQ09OVEVOVF9MRU5HVEgARkxVU0gAUFJPUFBBVENIAE0tU0VBUkNIAFVSSV9UT09fTE9ORwBQUk9DRVNTSU5HAE1JU0NFTExBTkVPVVNfUEVSU0lTVEVOVF9XQVJOSU5HAE1JU0NFTExBTkVPVVNfV0FSTklORwBIUEVfSU5WQUxJRF9UUkFOU0ZFUl9FTkNPRElORwBFeHBlY3RlZCBDUkxGAEhQRV9JTlZBTElEX0NIVU5LX1NJWkUATU9WRQBDT05USU5VRQBIUEVfQ0JfU1RBVFVTX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJTX0NPTVBMRVRFAEhQRV9DQl9WRVJTSU9OX0NPTVBMRVRFAEhQRV9DQl9VUkxfQ09NUExFVEUASFBFX0NCX0NIVU5LX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfVkFMVUVfQ09NUExFVEUASFBFX0NCX0NIVU5LX0VYVEVOU0lPTl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX05BTUVfQ09NUExFVEUASFBFX0NCX01FU1NBR0VfQ09NUExFVEUASFBFX0NCX01FVEhPRF9DT01QTEVURQBIUEVfQ0JfSEVBREVSX0ZJRUxEX0NPTVBMRVRFAERFTEVURQBIUEVfSU5WQUxJRF9FT0ZfU1RBVEUASU5WQUxJRF9TU0xfQ0VSVElGSUNBVEUAUEFVU0UATk9fUkVTUE9OU0UAVU5TVVBQT1JURURfTUVESUFfVFlQRQBHT05FAE5PVF9BQ0NFUFRBQkxFAFNFUlZJQ0VfVU5BVkFJTEFCTEUAUkFOR0VfTk9UX1NBVElTRklBQkxFAE9SSUdJTl9JU19VTlJFQUNIQUJMRQBSRVNQT05TRV9JU19TVEFMRQBQVVJHRQBNRVJHRQBSRVFVRVNUX0hFQURFUl9GSUVMRFNfVE9PX0xBUkdFAFJFUVVFU1RfSEVBREVSX1RPT19MQVJHRQBQQVlMT0FEX1RPT19MQVJHRQBJTlNVRkZJQ0lFTlRfU1RPUkFHRQBIUEVfUEFVU0VEX1VQR1JBREUASFBFX1BBVVNFRF9IMl9VUEdSQURFAFNPVVJDRQBBTk5PVU5DRQBUUkFDRQBIUEVfVU5FWFBFQ1RFRF9TUEFDRQBERVNDUklCRQBVTlNVQlNDUklCRQBSRUNPUkQASFBFX0lOVkFMSURfTUVUSE9EAE5PVF9GT1VORABQUk9QRklORABVTkJJTkQAUkVCSU5EAFVOQVVUSE9SSVpFRABNRVRIT0RfTk9UX0FMTE9XRUQASFRUUF9WRVJTSU9OX05PVF9TVVBQT1JURUQAQUxSRUFEWV9SRVBPUlRFRABBQ0NFUFRFRABOT1RfSU1QTEVNRU5URUQATE9PUF9ERVRFQ1RFRABIUEVfQ1JfRVhQRUNURUQASFBFX0xGX0VYUEVDVEVEAENSRUFURUQASU1fVVNFRABIUEVfUEFVU0VEAFRJTUVPVVRfT0NDVVJFRABQQVlNRU5UX1JFUVVJUkVEAFBSRUNPTkRJVElPTl9SRVFVSVJFRABQUk9YWV9BVVRIRU5USUNBVElPTl9SRVFVSVJFRABORVRXT1JLX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAExFTkdUSF9SRVFVSVJFRABTU0xfQ0VSVElGSUNBVEVfUkVRVUlSRUQAVVBHUkFERV9SRVFVSVJFRABQQUdFX0VYUElSRUQAUFJFQ09ORElUSU9OX0ZBSUxFRABFWFBFQ1RBVElPTl9GQUlMRUQAUkVWQUxJREFUSU9OX0ZBSUxFRABTU0xfSEFORFNIQUtFX0ZBSUxFRABMT0NLRUQAVFJBTlNGT1JNQVRJT05fQVBQTElFRABOT1RfTU9ESUZJRUQATk9UX0VYVEVOREVEAEJBTkRXSURUSF9MSU1JVF9FWENFRURFRABTSVRFX0lTX09WRVJMT0FERUQASEVBRABFeHBlY3RlZCBIVFRQLwAAXhMAACYTAAAwEAAA8BcAAJ0TAAAVEgAAORcAAPASAAAKEAAAdRIAAK0SAACCEwAATxQAAH8QAACgFQAAIxQAAIkSAACLFAAATRUAANQRAADPFAAAEBgAAMkWAADcFgAAwREAAOAXAAC7FAAAdBQAAHwVAADlFAAACBcAAB8QAABlFQAAoxQAACgVAAACFQAAmRUAACwQAACLGQAATw8AANQOAABqEAAAzhAAAAIXAACJDgAAbhMAABwTAABmFAAAVhcAAMETAADNEwAAbBMAAGgXAABmFwAAXxcAACITAADODwAAaQ4AANgOAABjFgAAyxMAAKoOAAAoFwAAJhcAAMUTAABdFgAA6BEAAGcTAABlEwAA8hYAAHMTAAAdFwAA+RYAAPMRAADPDgAAzhUAAAwSAACzEQAApREAAGEQAAAyFwAAuxMAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIDAgICAgIAAAICAAICAAICAgICAgICAgIABAAAAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAACAAICAgICAAACAgACAgACAgICAgICAgICAAMABAAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbG9zZWVlcC1hbGl2ZQAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAQEBAQEBAQEBAQIBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBY2h1bmtlZAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEAAAEBAAEBAAEBAQEBAQEBAQEAAAAAAAAAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABlY3Rpb25lbnQtbGVuZ3Rob25yb3h5LWNvbm5lY3Rpb24AAAAAAAAAAAAAAAAAAAByYW5zZmVyLWVuY29kaW5ncGdyYWRlDQoNCg0KU00NCg0KVFRQL0NFL1RTUC8AAAAAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQIAAQMAAAAAAAAAAAAAAAAAAAAAAAAEAQEFAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAAAAQAAAgAAAAAAAAAAAAAAAAAAAAAAAAMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAABAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAIAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABOT1VOQ0VFQ0tPVVRORUNURVRFQ1JJQkVMVVNIRVRFQURTRUFSQ0hSR0VDVElWSVRZTEVOREFSVkVPVElGWVBUSU9OU0NIU0VBWVNUQVRDSEdFT1JESVJFQ1RPUlRSQ0hQQVJBTUVURVJVUkNFQlNDUklCRUFSRE9XTkFDRUlORE5LQ0tVQlNDUklCRUhUVFAvQURUUC8=' + + +/***/ }), + +/***/ 5627: +/***/ ((module) => { + +module.exports = 'AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAAABAQcAAAUFAwABBAUBcAESEgUDAQACBggBfwFBgNQECwfRBSIGbWVtb3J5AgALX2luaXRpYWxpemUACRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQALbGxodHRwX2luaXQAChhsbGh0dHBfc2hvdWxkX2tlZXBfYWxpdmUAQQxsbGh0dHBfYWxsb2MADAZtYWxsb2MARgtsbGh0dHBfZnJlZQANBGZyZWUASA9sbGh0dHBfZ2V0X3R5cGUADhVsbGh0dHBfZ2V0X2h0dHBfbWFqb3IADxVsbGh0dHBfZ2V0X2h0dHBfbWlub3IAEBFsbGh0dHBfZ2V0X21ldGhvZAARFmxsaHR0cF9nZXRfc3RhdHVzX2NvZGUAEhJsbGh0dHBfZ2V0X3VwZ3JhZGUAEwxsbGh0dHBfcmVzZXQAFA5sbGh0dHBfZXhlY3V0ZQAVFGxsaHR0cF9zZXR0aW5nc19pbml0ABYNbGxodHRwX2ZpbmlzaAAXDGxsaHR0cF9wYXVzZQAYDWxsaHR0cF9yZXN1bWUAGRtsbGh0dHBfcmVzdW1lX2FmdGVyX3VwZ3JhZGUAGhBsbGh0dHBfZ2V0X2Vycm5vABsXbGxodHRwX2dldF9lcnJvcl9yZWFzb24AHBdsbGh0dHBfc2V0X2Vycm9yX3JlYXNvbgAdFGxsaHR0cF9nZXRfZXJyb3JfcG9zAB4RbGxodHRwX2Vycm5vX25hbWUAHxJsbGh0dHBfbWV0aG9kX25hbWUAIBJsbGh0dHBfc3RhdHVzX25hbWUAIRpsbGh0dHBfc2V0X2xlbmllbnRfaGVhZGVycwAiIWxsaHR0cF9zZXRfbGVuaWVudF9jaHVua2VkX2xlbmd0aAAjHWxsaHR0cF9zZXRfbGVuaWVudF9rZWVwX2FsaXZlACQkbGxodHRwX3NldF9sZW5pZW50X3RyYW5zZmVyX2VuY29kaW5nACUYbGxodHRwX21lc3NhZ2VfbmVlZHNfZW9mAD8JFwEAQQELEQECAwQFCwYHNTk3MS8tJyspCrLgAkUCAAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhBgcICQoLDA0OD2FhYWFhEGFhYWFhYWFhYWFhEWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYRITFBUWFxgZGhthYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhHB0eHyAhIiMkJSYnKCkqKywtLi8wMTIzNDU2YTc4OTphYWFhYWFhYTthYWE8YWFhYT0+P2FhYWFhYWFhQGFhQWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYUJDREVGR0hJSktMTU5PUFFSU2FhYWFhYWFhVFVWV1hZWlthXF1hYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFeYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhX2BhC0Hhp4CAAA8LQaShgIAADwtBy6yAgAAPC0H+sYCAAA8LQcCkgIAADwtBq6SAgAAPC0GNqICAAA8LQeKmgIAADwtBgLCAgAAPC0G5r4CAAA8LQdekgIAADwtB75+AgAAPC0Hhn4CAAA8LQfqfgIAADwtB8qCAgAAPC0Gor4CAAA8LQa6ygIAADwtBiLCAgAAPC0Hsp4CAAA8LQYKigIAADwtBjp2AgAAPC0HQroCAAA8LQcqjgIAADwtBxbKAgAAPC0HfnICAAA8LQdKcgIAADwtBxKCAgAAPC0HXoICAAA8LQaKfgIAADwtB7a6AgAAPC0GrsICAAA8LQdSlgIAADwtBzK6AgAAPC0H6roCAAA8LQfyrgIAADwtB0rCAgAAPC0HxnYCAAA8LQbuggIAADwtB96uAgAAPC0GQsYCAAA8LQdexgIAADwtBoq2AgAAPC0HUp4CAAA8LQeCrgIAADwtBn6yAgAAPC0HrsYCAAA8LQdWfgIAADwtByrGAgAAPC0HepYCAAA8LQdSegIAADwtB9JyAgAAPC0GnsoCAAA8LQbGdgIAADwtBoJ2AgAAPC0G5sYCAAA8LQbywgIAADwtBkqGAgAAPC0GzpoCAAA8LQemsgIAADwtBrJ6AgAAPC0HUq4CAAA8LQfemgIAADwtBgKaAgAAPC0GwoYCAAA8LQf6egIAADwtBjaOAgAAPC0GJrYCAAA8LQfeigIAADwtBoLGAgAAPC0Gun4CAAA8LQcalgIAADwtB6J6AgAAPC0GTooCAAA8LQcKvgIAADwtBw52AgAAPC0GLrICAAA8LQeGdgIAADwtBja+AgAAPC0HqoYCAAA8LQbStgIAADwtB0q+AgAAPC0HfsoCAAA8LQdKygIAADwtB8LCAgAAPC0GpooCAAA8LQfmjgIAADwtBmZ6AgAAPC0G1rICAAA8LQZuwgIAADwtBkrKAgAAPC0G2q4CAAA8LQcKigIAADwtB+LKAgAAPC0GepYCAAA8LQdCigIAADwtBup6AgAAPC0GBnoCAAA8LEMqAgIAAAAtB1qGAgAAhAQsgAQsWACAAIAAtAC1B/gFxIAFBAEdyOgAtCxkAIAAgAC0ALUH9AXEgAUEAR0EBdHI6AC0LGQAgACAALQAtQfsBcSABQQBHQQJ0cjoALQsZACAAIAAtAC1B9wFxIAFBAEdBA3RyOgAtCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAgAiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCBCIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQcaRgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIwIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAggiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2ioCAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCNCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIMIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZqAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAjgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCECIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZWQgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAI8IgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAhQiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEGqm4CAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCQCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIYIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABB7ZOAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCJCIERQ0AIAAgBBGAgICAAAAhAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIsIgRFDQAgACAEEYCAgIAAACEDCyADC0kBAn9BACEDAkAgACgCOCIERQ0AIAQoAigiBEUNACAAIAEgAiABayAEEYGAgIAAACIDQX9HDQAgAEH2iICAADYCEEEYIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCUCIERQ0AIAAgBBGAgICAAAAhAwsgAwtJAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAIcIgRFDQAgACABIAIgAWsgBBGBgICAAAAiA0F/Rw0AIABBwpmAgAA2AhBBGCEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAkgiBEUNACAAIAQRgICAgAAAIQMLIAMLSQECf0EAIQMCQCAAKAI4IgRFDQAgBCgCICIERQ0AIAAgASACIAFrIAQRgYCAgAAAIgNBf0cNACAAQZSUgIAANgIQQRghAwsgAwsuAQJ/QQAhAwJAIAAoAjgiBEUNACAEKAJMIgRFDQAgACAEEYCAgIAAACEDCyADCy4BAn9BACEDAkAgACgCOCIERQ0AIAQoAlQiBEUNACAAIAQRgICAgAAAIQMLIAMLLgECf0EAIQMCQCAAKAI4IgRFDQAgBCgCWCIERQ0AIAAgBBGAgICAAAAhAwsgAwtFAQF/AkACQCAALwEwQRRxQRRHDQBBASEDIAAtAChBAUYNASAALwEyQeUARiEDDAELIAAtAClBBUYhAwsgACADOgAuQQAL/gEBA39BASEDAkAgAC8BMCIEQQhxDQAgACkDIEIAUiEDCwJAAkAgAC0ALkUNAEEBIQUgAC0AKUEFRg0BQQEhBSAEQcAAcUUgA3FBAUcNAQtBACEFIARBwABxDQBBAiEFIARB//8DcSIDQQhxDQACQCADQYAEcUUNAAJAIAAtAChBAUcNACAALQAtQQpxDQBBBQ8LQQQPCwJAIANBIHENAAJAIAAtAChBAUYNACAALwEyQf//A3EiAEGcf2pB5ABJDQAgAEHMAUYNACAAQbACRg0AQQQhBSAEQShxRQ0CIANBiARxQYAERg0CC0EADwtBAEEDIAApAyBQGyEFCyAFC2IBAn9BACEBAkAgAC0AKEEBRg0AIAAvATJB//8DcSICQZx/akHkAEkNACACQcwBRg0AIAJBsAJGDQAgAC8BMCIAQcAAcQ0AQQEhASAAQYgEcUGABEYNACAAQShxRSEBCyABC6cBAQN/AkACQAJAIAAtACpFDQAgAC0AK0UNAEEAIQMgAC8BMCIEQQJxRQ0BDAILQQAhAyAALwEwIgRBAXFFDQELQQEhAyAALQAoQQFGDQAgAC8BMkH//wNxIgVBnH9qQeQASQ0AIAVBzAFGDQAgBUGwAkYNACAEQcAAcQ0AQQAhAyAEQYgEcUGABEYNACAEQShxQQBHIQMLIABBADsBMCAAQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtUBHyAhIiMkJdQBJicoKSorLNMB0gEtLtEB0AEvMDEyMzQ1Njc4OTo7PD0+P0BBQkNERUbbAUdISUrPAc4BS80BTMwBTU5PUFFSU1RVVldYWVpbXF1eX2BhYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ent8fX5/gAGBAYIBgwGEAYUBhgGHAYgBiQGKAYsBjAGNAY4BjwGQAZEBkgGTAZQBlQGWAZcBmAGZAZoBmwGcAZ0BngGfAaABoQGiAaMBpAGlAaYBpwGoAakBqgGrAawBrQGuAa8BsAGxAbIBswG0AbUBtgG3AcsBygG4AckBuQHIAboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBANwBC0EAIRAMxgELQQ4hEAzFAQtBDSEQDMQBC0EPIRAMwwELQRAhEAzCAQtBEyEQDMEBC0EUIRAMwAELQRUhEAy/AQtBFiEQDL4BC0EXIRAMvQELQRghEAy8AQtBGSEQDLsBC0EaIRAMugELQRshEAy5AQtBHCEQDLgBC0EIIRAMtwELQR0hEAy2AQtBICEQDLUBC0EfIRAMtAELQQchEAyzAQtBISEQDLIBC0EiIRAMsQELQR4hEAywAQtBIyEQDK8BC0ESIRAMrgELQREhEAytAQtBJCEQDKwBC0ElIRAMqwELQSYhEAyqAQtBJyEQDKkBC0HDASEQDKgBC0EpIRAMpwELQSshEAymAQtBLCEQDKUBC0EtIRAMpAELQS4hEAyjAQtBLyEQDKIBC0HEASEQDKEBC0EwIRAMoAELQTQhEAyfAQtBDCEQDJ4BC0ExIRAMnQELQTIhEAycAQtBMyEQDJsBC0E5IRAMmgELQTUhEAyZAQtBxQEhEAyYAQtBCyEQDJcBC0E6IRAMlgELQTYhEAyVAQtBCiEQDJQBC0E3IRAMkwELQTghEAySAQtBPCEQDJEBC0E7IRAMkAELQT0hEAyPAQtBCSEQDI4BC0EoIRAMjQELQT4hEAyMAQtBPyEQDIsBC0HAACEQDIoBC0HBACEQDIkBC0HCACEQDIgBC0HDACEQDIcBC0HEACEQDIYBC0HFACEQDIUBC0HGACEQDIQBC0EqIRAMgwELQccAIRAMggELQcgAIRAMgQELQckAIRAMgAELQcoAIRAMfwtBywAhEAx+C0HNACEQDH0LQcwAIRAMfAtBzgAhEAx7C0HPACEQDHoLQdAAIRAMeQtB0QAhEAx4C0HSACEQDHcLQdMAIRAMdgtB1AAhEAx1C0HWACEQDHQLQdUAIRAMcwtBBiEQDHILQdcAIRAMcQtBBSEQDHALQdgAIRAMbwtBBCEQDG4LQdkAIRAMbQtB2gAhEAxsC0HbACEQDGsLQdwAIRAMagtBAyEQDGkLQd0AIRAMaAtB3gAhEAxnC0HfACEQDGYLQeEAIRAMZQtB4AAhEAxkC0HiACEQDGMLQeMAIRAMYgtBAiEQDGELQeQAIRAMYAtB5QAhEAxfC0HmACEQDF4LQecAIRAMXQtB6AAhEAxcC0HpACEQDFsLQeoAIRAMWgtB6wAhEAxZC0HsACEQDFgLQe0AIRAMVwtB7gAhEAxWC0HvACEQDFULQfAAIRAMVAtB8QAhEAxTC0HyACEQDFILQfMAIRAMUQtB9AAhEAxQC0H1ACEQDE8LQfYAIRAMTgtB9wAhEAxNC0H4ACEQDEwLQfkAIRAMSwtB+gAhEAxKC0H7ACEQDEkLQfwAIRAMSAtB/QAhEAxHC0H+ACEQDEYLQf8AIRAMRQtBgAEhEAxEC0GBASEQDEMLQYIBIRAMQgtBgwEhEAxBC0GEASEQDEALQYUBIRAMPwtBhgEhEAw+C0GHASEQDD0LQYgBIRAMPAtBiQEhEAw7C0GKASEQDDoLQYsBIRAMOQtBjAEhEAw4C0GNASEQDDcLQY4BIRAMNgtBjwEhEAw1C0GQASEQDDQLQZEBIRAMMwtBkgEhEAwyC0GTASEQDDELQZQBIRAMMAtBlQEhEAwvC0GWASEQDC4LQZcBIRAMLQtBmAEhEAwsC0GZASEQDCsLQZoBIRAMKgtBmwEhEAwpC0GcASEQDCgLQZ0BIRAMJwtBngEhEAwmC0GfASEQDCULQaABIRAMJAtBoQEhEAwjC0GiASEQDCILQaMBIRAMIQtBpAEhEAwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAOxwEAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRobHB4fICEjJSg/QEFERUZHSElKS0xNT1BRUlPeA1dZW1xdYGJlZmdoaWprbG1vcHFyc3R1dnd4eXp7fH1+gAGCAYUBhgGHAYkBiwGMAY0BjgGPAZABkQGUAZUBlgGXAZgBmQGaAZsBnAGdAZ4BnwGgAaEBogGjAaQBpQGmAacBqAGpAaoBqwGsAa0BrgGvAbABsQGyAbMBtAG1AbYBtwG4AbkBugG7AbwBvQG+Ab8BwAHBAcIBwwHEAcUBxgHHAcgByQHKAcsBzAHNAc4BzwHQAdEB0gHTAdQB1QHWAdcB2AHZAdoB2wHcAd0B3gHgAeEB4gHjAeQB5QHmAecB6AHpAeoB6wHsAe0B7gHvAfAB8QHyAfMBmQKkArAC/gL+AgsgASIEIAJHDfMBQd0BIRAM/wMLIAEiECACRw3dAUHDASEQDP4DCyABIgEgAkcNkAFB9wAhEAz9AwsgASIBIAJHDYYBQe8AIRAM/AMLIAEiASACRw1/QeoAIRAM+wMLIAEiASACRw17QegAIRAM+gMLIAEiASACRw14QeYAIRAM+QMLIAEiASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgAUEBaiEBDAILAkAgASIUIAJHDQBBGiEQDNsDCyAUIQECQCAULQAAQXNqDhTdAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAu4C7gLuAgDuAgtBACEQIABBADYCHCAAQa+LgIAANgIQIABBAjYCDCAAIBRBAWo2AhQM2gMLAkAgAS0AACIQQTtGDQAgEEENRw3oASABQQFqIQEM5QILIAFBAWohAQtBIiEQDL8DCwJAIAEiECACRw0AQRwhEAzYAwtCACERIBAhASAQLQAAQVBqDjfnAeYBAQIDBAUGBwgAAAAAAAAACQoLDA0OAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPEBESExQAC0EeIRAMvQMLQgIhEQzlAQtCAyERDOQBC0IEIREM4wELQgUhEQziAQtCBiERDOEBC0IHIREM4AELQgghEQzfAQtCCSERDN4BC0IKIREM3QELQgshEQzcAQtCDCERDNsBC0INIREM2gELQg4hEQzZAQtCDyERDNgBC0IKIREM1wELQgshEQzWAQtCDCERDNUBC0INIREM1AELQg4hEQzTAQtCDyERDNIBC0IAIRECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIBAtAABBUGoON+UB5AEAAQIDBAUGB+YB5gHmAeYB5gHmAeYBCAkKCwwN5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAQ4PEBESE+YBC0ICIREM5AELQgMhEQzjAQtCBCERDOIBC0IFIREM4QELQgYhEQzgAQtCByERDN8BC0IIIREM3gELQgkhEQzdAQtCCiERDNwBC0ILIREM2wELQgwhEQzaAQtCDSERDNkBC0IOIREM2AELQg8hEQzXAQtCCiERDNYBC0ILIREM1QELQgwhEQzUAQtCDSERDNMBC0IOIREM0gELQg8hEQzRAQsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3SAUEfIRAMwAMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQSQhEAynAwtBICEQDL8DCyAAIAEiECACEL6AgIAAQX9qDgW2AQDFAgHRAdIBC0ERIRAMpAMLIABBAToALyAQIQEMuwMLIAEiASACRw3SAUEkIRAMuwMLIAEiDSACRw0eQcYAIRAMugMLIAAgASIBIAIQsoCAgAAiEA3UASABIQEMtQELIAEiECACRw0mQdAAIRAMuAMLAkAgASIBIAJHDQBBKCEQDLgDCyAAQQA2AgQgAEGMgICAADYCCCAAIAEgARCxgICAACIQDdMBIAEhAQzYAQsCQCABIhAgAkcNAEEpIRAMtwMLIBAtAAAiAUEgRg0UIAFBCUcN0wEgEEEBaiEBDBULAkAgASIBIAJGDQAgAUEBaiEBDBcLQSohEAy1AwsCQCABIhAgAkcNAEErIRAMtQMLAkAgEC0AACIBQQlGDQAgAUEgRw3VAQsgAC0ALEEIRg3TASAQIQEMkQMLAkAgASIBIAJHDQBBLCEQDLQDCyABLQAAQQpHDdUBIAFBAWohAQzJAgsgASIOIAJHDdUBQS8hEAyyAwsDQAJAIAEtAAAiEEEgRg0AAkAgEEF2ag4EANwB3AEA2gELIAEhAQzgAQsgAUEBaiIBIAJHDQALQTEhEAyxAwtBMiEQIAEiFCACRg2wAyACIBRrIAAoAgAiAWohFSAUIAFrQQNqIRYCQANAIBQtAAAiF0EgciAXIBdBv39qQf8BcUEaSRtB/wFxIAFB8LuAgABqLQAARw0BAkAgAUEDRw0AQQYhAQyWAwsgAUEBaiEBIBRBAWoiFCACRw0ACyAAIBU2AgAMsQMLIABBADYCACAUIQEM2QELQTMhECABIhQgAkYNrwMgAiAUayAAKAIAIgFqIRUgFCABa0EIaiEWAkADQCAULQAAIhdBIHIgFyAXQb9/akH/AXFBGkkbQf8BcSABQfS7gIAAai0AAEcNAQJAIAFBCEcNAEEFIQEMlQMLIAFBAWohASAUQQFqIhQgAkcNAAsgACAVNgIADLADCyAAQQA2AgAgFCEBDNgBC0E0IRAgASIUIAJGDa4DIAIgFGsgACgCACIBaiEVIBQgAWtBBWohFgJAA0AgFC0AACIXQSByIBcgF0G/f2pB/wFxQRpJG0H/AXEgAUHQwoCAAGotAABHDQECQCABQQVHDQBBByEBDJQDCyABQQFqIQEgFEEBaiIUIAJHDQALIAAgFTYCAAyvAwsgAEEANgIAIBQhAQzXAQsCQCABIgEgAkYNAANAAkAgAS0AAEGAvoCAAGotAAAiEEEBRg0AIBBBAkYNCiABIQEM3QELIAFBAWoiASACRw0AC0EwIRAMrgMLQTAhEAytAwsCQCABIgEgAkYNAANAAkAgAS0AACIQQSBGDQAgEEF2ag4E2QHaAdoB2QHaAQsgAUEBaiIBIAJHDQALQTghEAytAwtBOCEQDKwDCwNAAkAgAS0AACIQQSBGDQAgEEEJRw0DCyABQQFqIgEgAkcNAAtBPCEQDKsDCwNAAkAgAS0AACIQQSBGDQACQAJAIBBBdmoOBNoBAQHaAQALIBBBLEYN2wELIAEhAQwECyABQQFqIgEgAkcNAAtBPyEQDKoDCyABIQEM2wELQcAAIRAgASIUIAJGDagDIAIgFGsgACgCACIBaiEWIBQgAWtBBmohFwJAA0AgFC0AAEEgciABQYDAgIAAai0AAEcNASABQQZGDY4DIAFBAWohASAUQQFqIhQgAkcNAAsgACAWNgIADKkDCyAAQQA2AgAgFCEBC0E2IRAMjgMLAkAgASIPIAJHDQBBwQAhEAynAwsgAEGMgICAADYCCCAAIA82AgQgDyEBIAAtACxBf2oOBM0B1QHXAdkBhwMLIAFBAWohAQzMAQsCQCABIgEgAkYNAANAAkAgAS0AACIQQSByIBAgEEG/f2pB/wFxQRpJG0H/AXEiEEEJRg0AIBBBIEYNAAJAAkACQAJAIBBBnX9qDhMAAwMDAwMDAwEDAwMDAwMDAwMCAwsgAUEBaiEBQTEhEAyRAwsgAUEBaiEBQTIhEAyQAwsgAUEBaiEBQTMhEAyPAwsgASEBDNABCyABQQFqIgEgAkcNAAtBNSEQDKUDC0E1IRAMpAMLAkAgASIBIAJGDQADQAJAIAEtAABBgLyAgABqLQAAQQFGDQAgASEBDNMBCyABQQFqIgEgAkcNAAtBPSEQDKQDC0E9IRAMowMLIAAgASIBIAIQsICAgAAiEA3WASABIQEMAQsgEEEBaiEBC0E8IRAMhwMLAkAgASIBIAJHDQBBwgAhEAygAwsCQANAAkAgAS0AAEF3ag4YAAL+Av4ChAP+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gL+Av4C/gIA/gILIAFBAWoiASACRw0AC0HCACEQDKADCyABQQFqIQEgAC0ALUEBcUUNvQEgASEBC0EsIRAMhQMLIAEiASACRw3TAUHEACEQDJ0DCwNAAkAgAS0AAEGQwICAAGotAABBAUYNACABIQEMtwILIAFBAWoiASACRw0AC0HFACEQDJwDCyANLQAAIhBBIEYNswEgEEE6Rw2BAyAAKAIEIQEgAEEANgIEIAAgASANEK+AgIAAIgEN0AEgDUEBaiEBDLMCC0HHACEQIAEiDSACRg2aAyACIA1rIAAoAgAiAWohFiANIAFrQQVqIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQZDCgIAAai0AAEcNgAMgAUEFRg30AiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyaAwtByAAhECABIg0gAkYNmQMgAiANayAAKAIAIgFqIRYgDSABa0EJaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUGWwoCAAGotAABHDf8CAkAgAUEJRw0AQQIhAQz1AgsgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMmQMLAkAgASINIAJHDQBByQAhEAyZAwsCQAJAIA0tAAAiAUEgciABIAFBv39qQf8BcUEaSRtB/wFxQZJ/ag4HAIADgAOAA4ADgAMBgAMLIA1BAWohAUE+IRAMgAMLIA1BAWohAUE/IRAM/wILQcoAIRAgASINIAJGDZcDIAIgDWsgACgCACIBaiEWIA0gAWtBAWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFBoMKAgABqLQAARw39AiABQQFGDfACIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJcDC0HLACEQIAEiDSACRg2WAyACIA1rIAAoAgAiAWohFiANIAFrQQ5qIRcDQCANLQAAIhRBIHIgFCAUQb9/akH/AXFBGkkbQf8BcSABQaLCgIAAai0AAEcN/AIgAUEORg3wAiABQQFqIQEgDUEBaiINIAJHDQALIAAgFjYCAAyWAwtBzAAhECABIg0gAkYNlQMgAiANayAAKAIAIgFqIRYgDSABa0EPaiEXA0AgDS0AACIUQSByIBQgFEG/f2pB/wFxQRpJG0H/AXEgAUHAwoCAAGotAABHDfsCAkAgAUEPRw0AQQMhAQzxAgsgAUEBaiEBIA1BAWoiDSACRw0ACyAAIBY2AgAMlQMLQc0AIRAgASINIAJGDZQDIAIgDWsgACgCACIBaiEWIA0gAWtBBWohFwNAIA0tAAAiFEEgciAUIBRBv39qQf8BcUEaSRtB/wFxIAFB0MKAgABqLQAARw36AgJAIAFBBUcNAEEEIQEM8AILIAFBAWohASANQQFqIg0gAkcNAAsgACAWNgIADJQDCwJAIAEiDSACRw0AQc4AIRAMlAMLAkACQAJAAkAgDS0AACIBQSByIAEgAUG/f2pB/wFxQRpJG0H/AXFBnX9qDhMA/QL9Av0C/QL9Av0C/QL9Av0C/QL9Av0CAf0C/QL9AgID/QILIA1BAWohAUHBACEQDP0CCyANQQFqIQFBwgAhEAz8AgsgDUEBaiEBQcMAIRAM+wILIA1BAWohAUHEACEQDPoCCwJAIAEiASACRg0AIABBjYCAgAA2AgggACABNgIEIAEhAUHFACEQDPoCC0HPACEQDJIDCyAQIQECQAJAIBAtAABBdmoOBAGoAqgCAKgCCyAQQQFqIQELQSchEAz4AgsCQCABIgEgAkcNAEHRACEQDJEDCwJAIAEtAABBIEYNACABIQEMjQELIAFBAWohASAALQAtQQFxRQ3HASABIQEMjAELIAEiFyACRw3IAUHSACEQDI8DC0HTACEQIAEiFCACRg2OAyACIBRrIAAoAgAiAWohFiAUIAFrQQFqIRcDQCAULQAAIAFB1sKAgABqLQAARw3MASABQQFGDccBIAFBAWohASAUQQFqIhQgAkcNAAsgACAWNgIADI4DCwJAIAEiASACRw0AQdUAIRAMjgMLIAEtAABBCkcNzAEgAUEBaiEBDMcBCwJAIAEiASACRw0AQdYAIRAMjQMLAkACQCABLQAAQXZqDgQAzQHNAQHNAQsgAUEBaiEBDMcBCyABQQFqIQFBygAhEAzzAgsgACABIgEgAhCugICAACIQDcsBIAEhAUHNACEQDPICCyAALQApQSJGDYUDDKYCCwJAIAEiASACRw0AQdsAIRAMigMLQQAhFEEBIRdBASEWQQAhEAJAAkACQAJAAkACQAJAAkACQCABLQAAQVBqDgrUAdMBAAECAwQFBgjVAQtBAiEQDAYLQQMhEAwFC0EEIRAMBAtBBSEQDAMLQQYhEAwCC0EHIRAMAQtBCCEQC0EAIRdBACEWQQAhFAzMAQtBCSEQQQEhFEEAIRdBACEWDMsBCwJAIAEiASACRw0AQd0AIRAMiQMLIAEtAABBLkcNzAEgAUEBaiEBDKYCCyABIgEgAkcNzAFB3wAhEAyHAwsCQCABIgEgAkYNACAAQY6AgIAANgIIIAAgATYCBCABIQFB0AAhEAzuAgtB4AAhEAyGAwtB4QAhECABIgEgAkYNhQMgAiABayAAKAIAIhRqIRYgASAUa0EDaiEXA0AgAS0AACAUQeLCgIAAai0AAEcNzQEgFEEDRg3MASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyFAwtB4gAhECABIgEgAkYNhAMgAiABayAAKAIAIhRqIRYgASAUa0ECaiEXA0AgAS0AACAUQebCgIAAai0AAEcNzAEgFEECRg3OASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyEAwtB4wAhECABIgEgAkYNgwMgAiABayAAKAIAIhRqIRYgASAUa0EDaiEXA0AgAS0AACAUQenCgIAAai0AAEcNywEgFEEDRg3OASAUQQFqIRQgAUEBaiIBIAJHDQALIAAgFjYCAAyDAwsCQCABIgEgAkcNAEHlACEQDIMDCyAAIAFBAWoiASACEKiAgIAAIhANzQEgASEBQdYAIRAM6QILAkAgASIBIAJGDQADQAJAIAEtAAAiEEEgRg0AAkACQAJAIBBBuH9qDgsAAc8BzwHPAc8BzwHPAc8BzwECzwELIAFBAWohAUHSACEQDO0CCyABQQFqIQFB0wAhEAzsAgsgAUEBaiEBQdQAIRAM6wILIAFBAWoiASACRw0AC0HkACEQDIIDC0HkACEQDIEDCwNAAkAgAS0AAEHwwoCAAGotAAAiEEEBRg0AIBBBfmoOA88B0AHRAdIBCyABQQFqIgEgAkcNAAtB5gAhEAyAAwsCQCABIgEgAkYNACABQQFqIQEMAwtB5wAhEAz/AgsDQAJAIAEtAABB8MSAgABqLQAAIhBBAUYNAAJAIBBBfmoOBNIB0wHUAQDVAQsgASEBQdcAIRAM5wILIAFBAWoiASACRw0AC0HoACEQDP4CCwJAIAEiASACRw0AQekAIRAM/gILAkAgAS0AACIQQXZqDhq6AdUB1QG8AdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAdUB1QHVAcoB1QHVAQDTAQsgAUEBaiEBC0EGIRAM4wILA0ACQCABLQAAQfDGgIAAai0AAEEBRg0AIAEhAQyeAgsgAUEBaiIBIAJHDQALQeoAIRAM+wILAkAgASIBIAJGDQAgAUEBaiEBDAMLQesAIRAM+gILAkAgASIBIAJHDQBB7AAhEAz6AgsgAUEBaiEBDAELAkAgASIBIAJHDQBB7QAhEAz5AgsgAUEBaiEBC0EEIRAM3gILAkAgASIUIAJHDQBB7gAhEAz3AgsgFCEBAkACQAJAIBQtAABB8MiAgABqLQAAQX9qDgfUAdUB1gEAnAIBAtcBCyAUQQFqIQEMCgsgFEEBaiEBDM0BC0EAIRAgAEEANgIcIABBm5KAgAA2AhAgAEEHNgIMIAAgFEEBajYCFAz2AgsCQANAAkAgAS0AAEHwyICAAGotAAAiEEEERg0AAkACQCAQQX9qDgfSAdMB1AHZAQAEAdkBCyABIQFB2gAhEAzgAgsgAUEBaiEBQdwAIRAM3wILIAFBAWoiASACRw0AC0HvACEQDPYCCyABQQFqIQEMywELAkAgASIUIAJHDQBB8AAhEAz1AgsgFC0AAEEvRw3UASAUQQFqIQEMBgsCQCABIhQgAkcNAEHxACEQDPQCCwJAIBQtAAAiAUEvRw0AIBRBAWohAUHdACEQDNsCCyABQXZqIgRBFksN0wFBASAEdEGJgIACcUUN0wEMygILAkAgASIBIAJGDQAgAUEBaiEBQd4AIRAM2gILQfIAIRAM8gILAkAgASIUIAJHDQBB9AAhEAzyAgsgFCEBAkAgFC0AAEHwzICAAGotAABBf2oOA8kClAIA1AELQeEAIRAM2AILAkAgASIUIAJGDQADQAJAIBQtAABB8MqAgABqLQAAIgFBA0YNAAJAIAFBf2oOAssCANUBCyAUIQFB3wAhEAzaAgsgFEEBaiIUIAJHDQALQfMAIRAM8QILQfMAIRAM8AILAkAgASIBIAJGDQAgAEGPgICAADYCCCAAIAE2AgQgASEBQeAAIRAM1wILQfUAIRAM7wILAkAgASIBIAJHDQBB9gAhEAzvAgsgAEGPgICAADYCCCAAIAE2AgQgASEBC0EDIRAM1AILA0AgAS0AAEEgRw3DAiABQQFqIgEgAkcNAAtB9wAhEAzsAgsCQCABIgEgAkcNAEH4ACEQDOwCCyABLQAAQSBHDc4BIAFBAWohAQzvAQsgACABIgEgAhCsgICAACIQDc4BIAEhAQyOAgsCQCABIgQgAkcNAEH6ACEQDOoCCyAELQAAQcwARw3RASAEQQFqIQFBEyEQDM8BCwJAIAEiBCACRw0AQfsAIRAM6QILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEANAIAQtAAAgAUHwzoCAAGotAABHDdABIAFBBUYNzgEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBB+wAhEAzoAgsCQCABIgQgAkcNAEH8ACEQDOgCCwJAAkAgBC0AAEG9f2oODADRAdEB0QHRAdEB0QHRAdEB0QHRAQHRAQsgBEEBaiEBQeYAIRAMzwILIARBAWohAUHnACEQDM4CCwJAIAEiBCACRw0AQf0AIRAM5wILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNzwEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf0AIRAM5wILIABBADYCACAQQQFqIQFBECEQDMwBCwJAIAEiBCACRw0AQf4AIRAM5gILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQfbOgIAAai0AAEcNzgEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf4AIRAM5gILIABBADYCACAQQQFqIQFBFiEQDMsBCwJAIAEiBCACRw0AQf8AIRAM5QILIAIgBGsgACgCACIBaiEUIAQgAWtBA2ohEAJAA0AgBC0AACABQfzOgIAAai0AAEcNzQEgAUEDRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQf8AIRAM5QILIABBADYCACAQQQFqIQFBBSEQDMoBCwJAIAEiBCACRw0AQYABIRAM5AILIAQtAABB2QBHDcsBIARBAWohAUEIIRAMyQELAkAgASIEIAJHDQBBgQEhEAzjAgsCQAJAIAQtAABBsn9qDgMAzAEBzAELIARBAWohAUHrACEQDMoCCyAEQQFqIQFB7AAhEAzJAgsCQCABIgQgAkcNAEGCASEQDOICCwJAAkAgBC0AAEG4f2oOCADLAcsBywHLAcsBywEBywELIARBAWohAUHqACEQDMkCCyAEQQFqIQFB7QAhEAzIAgsCQCABIgQgAkcNAEGDASEQDOECCyACIARrIAAoAgAiAWohECAEIAFrQQJqIRQCQANAIAQtAAAgAUGAz4CAAGotAABHDckBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgEDYCAEGDASEQDOECC0EAIRAgAEEANgIAIBRBAWohAQzGAQsCQCABIgQgAkcNAEGEASEQDOACCyACIARrIAAoAgAiAWohFCAEIAFrQQRqIRACQANAIAQtAAAgAUGDz4CAAGotAABHDcgBIAFBBEYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGEASEQDOACCyAAQQA2AgAgEEEBaiEBQSMhEAzFAQsCQCABIgQgAkcNAEGFASEQDN8CCwJAAkAgBC0AAEG0f2oOCADIAcgByAHIAcgByAEByAELIARBAWohAUHvACEQDMYCCyAEQQFqIQFB8AAhEAzFAgsCQCABIgQgAkcNAEGGASEQDN4CCyAELQAAQcUARw3FASAEQQFqIQEMgwILAkAgASIEIAJHDQBBhwEhEAzdAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFBiM+AgABqLQAARw3FASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBhwEhEAzdAgsgAEEANgIAIBBBAWohAUEtIRAMwgELAkAgASIEIAJHDQBBiAEhEAzcAgsgAiAEayAAKAIAIgFqIRQgBCABa0EIaiEQAkADQCAELQAAIAFB0M+AgABqLQAARw3EASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBiAEhEAzcAgsgAEEANgIAIBBBAWohAUEpIRAMwQELAkAgASIBIAJHDQBBiQEhEAzbAgtBASEQIAEtAABB3wBHDcABIAFBAWohAQyBAgsCQCABIgQgAkcNAEGKASEQDNoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRADQCAELQAAIAFBjM+AgABqLQAARw3BASABQQFGDa8CIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQYoBIRAM2QILAkAgASIEIAJHDQBBiwEhEAzZAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFBjs+AgABqLQAARw3BASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBiwEhEAzZAgsgAEEANgIAIBBBAWohAUECIRAMvgELAkAgASIEIAJHDQBBjAEhEAzYAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8M+AgABqLQAARw3AASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBjAEhEAzYAgsgAEEANgIAIBBBAWohAUEfIRAMvQELAkAgASIEIAJHDQBBjQEhEAzXAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8s+AgABqLQAARw2/ASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBjQEhEAzXAgsgAEEANgIAIBBBAWohAUEJIRAMvAELAkAgASIEIAJHDQBBjgEhEAzWAgsCQAJAIAQtAABBt39qDgcAvwG/Ab8BvwG/AQG/AQsgBEEBaiEBQfgAIRAMvQILIARBAWohAUH5ACEQDLwCCwJAIAEiBCACRw0AQY8BIRAM1QILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQZHPgIAAai0AAEcNvQEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQY8BIRAM1QILIABBADYCACAQQQFqIQFBGCEQDLoBCwJAIAEiBCACRw0AQZABIRAM1AILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQZfPgIAAai0AAEcNvAEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZABIRAM1AILIABBADYCACAQQQFqIQFBFyEQDLkBCwJAIAEiBCACRw0AQZEBIRAM0wILIAIgBGsgACgCACIBaiEUIAQgAWtBBmohEAJAA0AgBC0AACABQZrPgIAAai0AAEcNuwEgAUEGRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZEBIRAM0wILIABBADYCACAQQQFqIQFBFSEQDLgBCwJAIAEiBCACRw0AQZIBIRAM0gILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQaHPgIAAai0AAEcNugEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZIBIRAM0gILIABBADYCACAQQQFqIQFBHiEQDLcBCwJAIAEiBCACRw0AQZMBIRAM0QILIAQtAABBzABHDbgBIARBAWohAUEKIRAMtgELAkAgBCACRw0AQZQBIRAM0AILAkACQCAELQAAQb9/ag4PALkBuQG5AbkBuQG5AbkBuQG5AbkBuQG5AbkBAbkBCyAEQQFqIQFB/gAhEAy3AgsgBEEBaiEBQf8AIRAMtgILAkAgBCACRw0AQZUBIRAMzwILAkACQCAELQAAQb9/ag4DALgBAbgBCyAEQQFqIQFB/QAhEAy2AgsgBEEBaiEEQYABIRAMtQILAkAgBCACRw0AQZYBIRAMzgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQafPgIAAai0AAEcNtgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZYBIRAMzgILIABBADYCACAQQQFqIQFBCyEQDLMBCwJAIAQgAkcNAEGXASEQDM0CCwJAAkACQAJAIAQtAABBU2oOIwC4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBuAG4AbgBAbgBuAG4AbgBuAECuAG4AbgBA7gBCyAEQQFqIQFB+wAhEAy2AgsgBEEBaiEBQfwAIRAMtQILIARBAWohBEGBASEQDLQCCyAEQQFqIQRBggEhEAyzAgsCQCAEIAJHDQBBmAEhEAzMAgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBqc+AgABqLQAARw20ASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmAEhEAzMAgsgAEEANgIAIBBBAWohAUEZIRAMsQELAkAgBCACRw0AQZkBIRAMywILIAIgBGsgACgCACIBaiEUIAQgAWtBBWohEAJAA0AgBC0AACABQa7PgIAAai0AAEcNswEgAUEFRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZkBIRAMywILIABBADYCACAQQQFqIQFBBiEQDLABCwJAIAQgAkcNAEGaASEQDMoCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUG0z4CAAGotAABHDbIBIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGaASEQDMoCCyAAQQA2AgAgEEEBaiEBQRwhEAyvAQsCQCAEIAJHDQBBmwEhEAzJAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBts+AgABqLQAARw2xASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBmwEhEAzJAgsgAEEANgIAIBBBAWohAUEnIRAMrgELAkAgBCACRw0AQZwBIRAMyAILAkACQCAELQAAQax/ag4CAAGxAQsgBEEBaiEEQYYBIRAMrwILIARBAWohBEGHASEQDK4CCwJAIAQgAkcNAEGdASEQDMcCCyACIARrIAAoAgAiAWohFCAEIAFrQQFqIRACQANAIAQtAAAgAUG4z4CAAGotAABHDa8BIAFBAUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGdASEQDMcCCyAAQQA2AgAgEEEBaiEBQSYhEAysAQsCQCAEIAJHDQBBngEhEAzGAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFBus+AgABqLQAARw2uASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBngEhEAzGAgsgAEEANgIAIBBBAWohAUEDIRAMqwELAkAgBCACRw0AQZ8BIRAMxQILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNrQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQZ8BIRAMxQILIABBADYCACAQQQFqIQFBDCEQDKoBCwJAIAQgAkcNAEGgASEQDMQCCyACIARrIAAoAgAiAWohFCAEIAFrQQNqIRACQANAIAQtAAAgAUG8z4CAAGotAABHDawBIAFBA0YNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGgASEQDMQCCyAAQQA2AgAgEEEBaiEBQQ0hEAypAQsCQCAEIAJHDQBBoQEhEAzDAgsCQAJAIAQtAABBun9qDgsArAGsAawBrAGsAawBrAGsAawBAawBCyAEQQFqIQRBiwEhEAyqAgsgBEEBaiEEQYwBIRAMqQILAkAgBCACRw0AQaIBIRAMwgILIAQtAABB0ABHDakBIARBAWohBAzpAQsCQCAEIAJHDQBBowEhEAzBAgsCQAJAIAQtAABBt39qDgcBqgGqAaoBqgGqAQCqAQsgBEEBaiEEQY4BIRAMqAILIARBAWohAUEiIRAMpgELAkAgBCACRw0AQaQBIRAMwAILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQcDPgIAAai0AAEcNqAEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQaQBIRAMwAILIABBADYCACAQQQFqIQFBHSEQDKUBCwJAIAQgAkcNAEGlASEQDL8CCwJAAkAgBC0AAEGuf2oOAwCoAQGoAQsgBEEBaiEEQZABIRAMpgILIARBAWohAUEEIRAMpAELAkAgBCACRw0AQaYBIRAMvgILAkACQAJAAkACQCAELQAAQb9/ag4VAKoBqgGqAaoBqgGqAaoBqgGqAaoBAaoBqgECqgGqAQOqAaoBBKoBCyAEQQFqIQRBiAEhEAyoAgsgBEEBaiEEQYkBIRAMpwILIARBAWohBEGKASEQDKYCCyAEQQFqIQRBjwEhEAylAgsgBEEBaiEEQZEBIRAMpAILAkAgBCACRw0AQacBIRAMvQILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQe3PgIAAai0AAEcNpQEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQacBIRAMvQILIABBADYCACAQQQFqIQFBESEQDKIBCwJAIAQgAkcNAEGoASEQDLwCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHCz4CAAGotAABHDaQBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGoASEQDLwCCyAAQQA2AgAgEEEBaiEBQSwhEAyhAQsCQCAEIAJHDQBBqQEhEAy7AgsgAiAEayAAKAIAIgFqIRQgBCABa0EEaiEQAkADQCAELQAAIAFBxc+AgABqLQAARw2jASABQQRGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBqQEhEAy7AgsgAEEANgIAIBBBAWohAUErIRAMoAELAkAgBCACRw0AQaoBIRAMugILIAIgBGsgACgCACIBaiEUIAQgAWtBAmohEAJAA0AgBC0AACABQcrPgIAAai0AAEcNogEgAUECRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQaoBIRAMugILIABBADYCACAQQQFqIQFBFCEQDJ8BCwJAIAQgAkcNAEGrASEQDLkCCwJAAkACQAJAIAQtAABBvn9qDg8AAQKkAaQBpAGkAaQBpAGkAaQBpAGkAaQBA6QBCyAEQQFqIQRBkwEhEAyiAgsgBEEBaiEEQZQBIRAMoQILIARBAWohBEGVASEQDKACCyAEQQFqIQRBlgEhEAyfAgsCQCAEIAJHDQBBrAEhEAy4AgsgBC0AAEHFAEcNnwEgBEEBaiEEDOABCwJAIAQgAkcNAEGtASEQDLcCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHNz4CAAGotAABHDZ8BIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEGtASEQDLcCCyAAQQA2AgAgEEEBaiEBQQ4hEAycAQsCQCAEIAJHDQBBrgEhEAy2AgsgBC0AAEHQAEcNnQEgBEEBaiEBQSUhEAybAQsCQCAEIAJHDQBBrwEhEAy1AgsgAiAEayAAKAIAIgFqIRQgBCABa0EIaiEQAkADQCAELQAAIAFB0M+AgABqLQAARw2dASABQQhGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBrwEhEAy1AgsgAEEANgIAIBBBAWohAUEqIRAMmgELAkAgBCACRw0AQbABIRAMtAILAkACQCAELQAAQat/ag4LAJ0BnQGdAZ0BnQGdAZ0BnQGdAQGdAQsgBEEBaiEEQZoBIRAMmwILIARBAWohBEGbASEQDJoCCwJAIAQgAkcNAEGxASEQDLMCCwJAAkAgBC0AAEG/f2oOFACcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAGcAZwBnAEBnAELIARBAWohBEGZASEQDJoCCyAEQQFqIQRBnAEhEAyZAgsCQCAEIAJHDQBBsgEhEAyyAgsgAiAEayAAKAIAIgFqIRQgBCABa0EDaiEQAkADQCAELQAAIAFB2c+AgABqLQAARw2aASABQQNGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBsgEhEAyyAgsgAEEANgIAIBBBAWohAUEhIRAMlwELAkAgBCACRw0AQbMBIRAMsQILIAIgBGsgACgCACIBaiEUIAQgAWtBBmohEAJAA0AgBC0AACABQd3PgIAAai0AAEcNmQEgAUEGRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbMBIRAMsQILIABBADYCACAQQQFqIQFBGiEQDJYBCwJAIAQgAkcNAEG0ASEQDLACCwJAAkACQCAELQAAQbt/ag4RAJoBmgGaAZoBmgGaAZoBmgGaAQGaAZoBmgGaAZoBApoBCyAEQQFqIQRBnQEhEAyYAgsgBEEBaiEEQZ4BIRAMlwILIARBAWohBEGfASEQDJYCCwJAIAQgAkcNAEG1ASEQDK8CCyACIARrIAAoAgAiAWohFCAEIAFrQQVqIRACQANAIAQtAAAgAUHkz4CAAGotAABHDZcBIAFBBUYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG1ASEQDK8CCyAAQQA2AgAgEEEBaiEBQSghEAyUAQsCQCAEIAJHDQBBtgEhEAyuAgsgAiAEayAAKAIAIgFqIRQgBCABa0ECaiEQAkADQCAELQAAIAFB6s+AgABqLQAARw2WASABQQJGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBtgEhEAyuAgsgAEEANgIAIBBBAWohAUEHIRAMkwELAkAgBCACRw0AQbcBIRAMrQILAkACQCAELQAAQbt/ag4OAJYBlgGWAZYBlgGWAZYBlgGWAZYBlgGWAQGWAQsgBEEBaiEEQaEBIRAMlAILIARBAWohBEGiASEQDJMCCwJAIAQgAkcNAEG4ASEQDKwCCyACIARrIAAoAgAiAWohFCAEIAFrQQJqIRACQANAIAQtAAAgAUHtz4CAAGotAABHDZQBIAFBAkYNASABQQFqIQEgBEEBaiIEIAJHDQALIAAgFDYCAEG4ASEQDKwCCyAAQQA2AgAgEEEBaiEBQRIhEAyRAQsCQCAEIAJHDQBBuQEhEAyrAgsgAiAEayAAKAIAIgFqIRQgBCABa0EBaiEQAkADQCAELQAAIAFB8M+AgABqLQAARw2TASABQQFGDQEgAUEBaiEBIARBAWoiBCACRw0ACyAAIBQ2AgBBuQEhEAyrAgsgAEEANgIAIBBBAWohAUEgIRAMkAELAkAgBCACRw0AQboBIRAMqgILIAIgBGsgACgCACIBaiEUIAQgAWtBAWohEAJAA0AgBC0AACABQfLPgIAAai0AAEcNkgEgAUEBRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQboBIRAMqgILIABBADYCACAQQQFqIQFBDyEQDI8BCwJAIAQgAkcNAEG7ASEQDKkCCwJAAkAgBC0AAEG3f2oOBwCSAZIBkgGSAZIBAZIBCyAEQQFqIQRBpQEhEAyQAgsgBEEBaiEEQaYBIRAMjwILAkAgBCACRw0AQbwBIRAMqAILIAIgBGsgACgCACIBaiEUIAQgAWtBB2ohEAJAA0AgBC0AACABQfTPgIAAai0AAEcNkAEgAUEHRg0BIAFBAWohASAEQQFqIgQgAkcNAAsgACAUNgIAQbwBIRAMqAILIABBADYCACAQQQFqIQFBGyEQDI0BCwJAIAQgAkcNAEG9ASEQDKcCCwJAAkACQCAELQAAQb5/ag4SAJEBkQGRAZEBkQGRAZEBkQGRAQGRAZEBkQGRAZEBkQECkQELIARBAWohBEGkASEQDI8CCyAEQQFqIQRBpwEhEAyOAgsgBEEBaiEEQagBIRAMjQILAkAgBCACRw0AQb4BIRAMpgILIAQtAABBzgBHDY0BIARBAWohBAzPAQsCQCAEIAJHDQBBvwEhEAylAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAELQAAQb9/ag4VAAECA5wBBAUGnAGcAZwBBwgJCgucAQwNDg+cAQsgBEEBaiEBQegAIRAMmgILIARBAWohAUHpACEQDJkCCyAEQQFqIQFB7gAhEAyYAgsgBEEBaiEBQfIAIRAMlwILIARBAWohAUHzACEQDJYCCyAEQQFqIQFB9gAhEAyVAgsgBEEBaiEBQfcAIRAMlAILIARBAWohAUH6ACEQDJMCCyAEQQFqIQRBgwEhEAySAgsgBEEBaiEEQYQBIRAMkQILIARBAWohBEGFASEQDJACCyAEQQFqIQRBkgEhEAyPAgsgBEEBaiEEQZgBIRAMjgILIARBAWohBEGgASEQDI0CCyAEQQFqIQRBowEhEAyMAgsgBEEBaiEEQaoBIRAMiwILAkAgBCACRg0AIABBkICAgAA2AgggACAENgIEQasBIRAMiwILQcABIRAMowILIAAgBSACEKqAgIAAIgENiwEgBSEBDFwLAkAgBiACRg0AIAZBAWohBQyNAQtBwgEhEAyhAgsDQAJAIBAtAABBdmoOBIwBAACPAQALIBBBAWoiECACRw0AC0HDASEQDKACCwJAIAcgAkYNACAAQZGAgIAANgIIIAAgBzYCBCAHIQFBASEQDIcCC0HEASEQDJ8CCwJAIAcgAkcNAEHFASEQDJ8CCwJAAkAgBy0AAEF2ag4EAc4BzgEAzgELIAdBAWohBgyNAQsgB0EBaiEFDIkBCwJAIAcgAkcNAEHGASEQDJ4CCwJAAkAgBy0AAEF2ag4XAY8BjwEBjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BAI8BCyAHQQFqIQcLQbABIRAMhAILAkAgCCACRw0AQcgBIRAMnQILIAgtAABBIEcNjQEgAEEAOwEyIAhBAWohAUGzASEQDIMCCyABIRcCQANAIBciByACRg0BIActAABBUGpB/wFxIhBBCk8NzAECQCAALwEyIhRBmTNLDQAgACAUQQpsIhQ7ATIgEEH//wNzIBRB/v8DcUkNACAHQQFqIRcgACAUIBBqIhA7ATIgEEH//wNxQegHSQ0BCwtBACEQIABBADYCHCAAQcGJgIAANgIQIABBDTYCDCAAIAdBAWo2AhQMnAILQccBIRAMmwILIAAgCCACEK6AgIAAIhBFDcoBIBBBFUcNjAEgAEHIATYCHCAAIAg2AhQgAEHJl4CAADYCECAAQRU2AgxBACEQDJoCCwJAIAkgAkcNAEHMASEQDJoCC0EAIRRBASEXQQEhFkEAIRACQAJAAkACQAJAAkACQAJAAkAgCS0AAEFQag4KlgGVAQABAgMEBQYIlwELQQIhEAwGC0EDIRAMBQtBBCEQDAQLQQUhEAwDC0EGIRAMAgtBByEQDAELQQghEAtBACEXQQAhFkEAIRQMjgELQQkhEEEBIRRBACEXQQAhFgyNAQsCQCAKIAJHDQBBzgEhEAyZAgsgCi0AAEEuRw2OASAKQQFqIQkMygELIAsgAkcNjgFB0AEhEAyXAgsCQCALIAJGDQAgAEGOgICAADYCCCAAIAs2AgRBtwEhEAz+AQtB0QEhEAyWAgsCQCAEIAJHDQBB0gEhEAyWAgsgAiAEayAAKAIAIhBqIRQgBCAQa0EEaiELA0AgBC0AACAQQfzPgIAAai0AAEcNjgEgEEEERg3pASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHSASEQDJUCCyAAIAwgAhCsgICAACIBDY0BIAwhAQy4AQsCQCAEIAJHDQBB1AEhEAyUAgsgAiAEayAAKAIAIhBqIRQgBCAQa0EBaiEMA0AgBC0AACAQQYHQgIAAai0AAEcNjwEgEEEBRg2OASAQQQFqIRAgBEEBaiIEIAJHDQALIAAgFDYCAEHUASEQDJMCCwJAIAQgAkcNAEHWASEQDJMCCyACIARrIAAoAgAiEGohFCAEIBBrQQJqIQsDQCAELQAAIBBBg9CAgABqLQAARw2OASAQQQJGDZABIBBBAWohECAEQQFqIgQgAkcNAAsgACAUNgIAQdYBIRAMkgILAkAgBCACRw0AQdcBIRAMkgILAkACQCAELQAAQbt/ag4QAI8BjwGPAY8BjwGPAY8BjwGPAY8BjwGPAY8BjwEBjwELIARBAWohBEG7ASEQDPkBCyAEQQFqIQRBvAEhEAz4AQsCQCAEIAJHDQBB2AEhEAyRAgsgBC0AAEHIAEcNjAEgBEEBaiEEDMQBCwJAIAQgAkYNACAAQZCAgIAANgIIIAAgBDYCBEG+ASEQDPcBC0HZASEQDI8CCwJAIAQgAkcNAEHaASEQDI8CCyAELQAAQcgARg3DASAAQQE6ACgMuQELIABBAjoALyAAIAQgAhCmgICAACIQDY0BQcIBIRAM9AELIAAtAChBf2oOArcBuQG4AQsDQAJAIAQtAABBdmoOBACOAY4BAI4BCyAEQQFqIgQgAkcNAAtB3QEhEAyLAgsgAEEAOgAvIAAtAC1BBHFFDYQCCyAAQQA6AC8gAEEBOgA0IAEhAQyMAQsgEEEVRg3aASAAQQA2AhwgACABNgIUIABBp46AgAA2AhAgAEESNgIMQQAhEAyIAgsCQCAAIBAgAhC0gICAACIEDQAgECEBDIECCwJAIARBFUcNACAAQQM2AhwgACAQNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAyIAgsgAEEANgIcIAAgEDYCFCAAQaeOgIAANgIQIABBEjYCDEEAIRAMhwILIBBBFUYN1gEgAEEANgIcIAAgATYCFCAAQdqNgIAANgIQIABBFDYCDEEAIRAMhgILIAAoAgQhFyAAQQA2AgQgECARp2oiFiEBIAAgFyAQIBYgFBsiEBC1gICAACIURQ2NASAAQQc2AhwgACAQNgIUIAAgFDYCDEEAIRAMhQILIAAgAC8BMEGAAXI7ATAgASEBC0EqIRAM6gELIBBBFUYN0QEgAEEANgIcIAAgATYCFCAAQYOMgIAANgIQIABBEzYCDEEAIRAMggILIBBBFUYNzwEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAMgQILIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDI0BCyAAQQw2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAMgAILIBBBFUYNzAEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAM/wELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDIwBCyAAQQ02AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM/gELIBBBFUYNyQEgAEEANgIcIAAgATYCFCAAQcaMgIAANgIQIABBIzYCDEEAIRAM/QELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC5gICAACIQDQAgAUEBaiEBDIsBCyAAQQ42AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM/AELIABBADYCHCAAIAE2AhQgAEHAlYCAADYCECAAQQI2AgxBACEQDPsBCyAQQRVGDcUBIABBADYCHCAAIAE2AhQgAEHGjICAADYCECAAQSM2AgxBACEQDPoBCyAAQRA2AhwgACABNgIUIAAgEDYCDEEAIRAM+QELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC5gICAACIEDQAgAUEBaiEBDPEBCyAAQRE2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM+AELIBBBFUYNwQEgAEEANgIcIAAgATYCFCAAQcaMgIAANgIQIABBIzYCDEEAIRAM9wELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC5gICAACIQDQAgAUEBaiEBDIgBCyAAQRM2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM9gELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC5gICAACIEDQAgAUEBaiEBDO0BCyAAQRQ2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM9QELIBBBFUYNvQEgAEEANgIcIAAgATYCFCAAQZqPgIAANgIQIABBIjYCDEEAIRAM9AELIAAoAgQhECAAQQA2AgQCQCAAIBAgARC3gICAACIQDQAgAUEBaiEBDIYBCyAAQRY2AhwgACAQNgIMIAAgAUEBajYCFEEAIRAM8wELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARC3gICAACIEDQAgAUEBaiEBDOkBCyAAQRc2AhwgACAENgIMIAAgAUEBajYCFEEAIRAM8gELIABBADYCHCAAIAE2AhQgAEHNk4CAADYCECAAQQw2AgxBACEQDPEBC0IBIRELIBBBAWohAQJAIAApAyAiEkL//////////w9WDQAgACASQgSGIBGENwMgIAEhAQyEAQsgAEEANgIcIAAgATYCFCAAQa2JgIAANgIQIABBDDYCDEEAIRAM7wELIABBADYCHCAAIBA2AhQgAEHNk4CAADYCECAAQQw2AgxBACEQDO4BCyAAKAIEIRcgAEEANgIEIBAgEadqIhYhASAAIBcgECAWIBQbIhAQtYCAgAAiFEUNcyAAQQU2AhwgACAQNgIUIAAgFDYCDEEAIRAM7QELIABBADYCHCAAIBA2AhQgAEGqnICAADYCECAAQQ82AgxBACEQDOwBCyAAIBAgAhC0gICAACIBDQEgECEBC0EOIRAM0QELAkAgAUEVRw0AIABBAjYCHCAAIBA2AhQgAEGwmICAADYCECAAQRU2AgxBACEQDOoBCyAAQQA2AhwgACAQNgIUIABBp46AgAA2AhAgAEESNgIMQQAhEAzpAQsgAUEBaiEQAkAgAC8BMCIBQYABcUUNAAJAIAAgECACELuAgIAAIgENACAQIQEMcAsgAUEVRw26ASAAQQU2AhwgACAQNgIUIABB+ZeAgAA2AhAgAEEVNgIMQQAhEAzpAQsCQCABQaAEcUGgBEcNACAALQAtQQJxDQAgAEEANgIcIAAgEDYCFCAAQZaTgIAANgIQIABBBDYCDEEAIRAM6QELIAAgECACEL2AgIAAGiAQIQECQAJAAkACQAJAIAAgECACELOAgIAADhYCAQAEBAQEBAQEBAQEBAQEBAQEBAQDBAsgAEEBOgAuCyAAIAAvATBBwAByOwEwIBAhAQtBJiEQDNEBCyAAQSM2AhwgACAQNgIUIABBpZaAgAA2AhAgAEEVNgIMQQAhEAzpAQsgAEEANgIcIAAgEDYCFCAAQdWLgIAANgIQIABBETYCDEEAIRAM6AELIAAtAC1BAXFFDQFBwwEhEAzOAQsCQCANIAJGDQADQAJAIA0tAABBIEYNACANIQEMxAELIA1BAWoiDSACRw0AC0ElIRAM5wELQSUhEAzmAQsgACgCBCEEIABBADYCBCAAIAQgDRCvgICAACIERQ2tASAAQSY2AhwgACAENgIMIAAgDUEBajYCFEEAIRAM5QELIBBBFUYNqwEgAEEANgIcIAAgATYCFCAAQf2NgIAANgIQIABBHTYCDEEAIRAM5AELIABBJzYCHCAAIAE2AhQgACAQNgIMQQAhEAzjAQsgECEBQQEhFAJAAkACQAJAAkACQAJAIAAtACxBfmoOBwYFBQMBAgAFCyAAIAAvATBBCHI7ATAMAwtBAiEUDAELQQQhFAsgAEEBOgAsIAAgAC8BMCAUcjsBMAsgECEBC0ErIRAMygELIABBADYCHCAAIBA2AhQgAEGrkoCAADYCECAAQQs2AgxBACEQDOIBCyAAQQA2AhwgACABNgIUIABB4Y+AgAA2AhAgAEEKNgIMQQAhEAzhAQsgAEEAOgAsIBAhAQy9AQsgECEBQQEhFAJAAkACQAJAAkAgAC0ALEF7ag4EAwECAAULIAAgAC8BMEEIcjsBMAwDC0ECIRQMAQtBBCEUCyAAQQE6ACwgACAALwEwIBRyOwEwCyAQIQELQSkhEAzFAQsgAEEANgIcIAAgATYCFCAAQfCUgIAANgIQIABBAzYCDEEAIRAM3QELAkAgDi0AAEENRw0AIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDkEBaiEBDHULIABBLDYCHCAAIAE2AgwgACAOQQFqNgIUQQAhEAzdAQsgAC0ALUEBcUUNAUHEASEQDMMBCwJAIA4gAkcNAEEtIRAM3AELAkACQANAAkAgDi0AAEF2ag4EAgAAAwALIA5BAWoiDiACRw0AC0EtIRAM3QELIAAoAgQhASAAQQA2AgQCQCAAIAEgDhCxgICAACIBDQAgDiEBDHQLIABBLDYCHCAAIA42AhQgACABNgIMQQAhEAzcAQsgACgCBCEBIABBADYCBAJAIAAgASAOELGAgIAAIgENACAOQQFqIQEMcwsgAEEsNgIcIAAgATYCDCAAIA5BAWo2AhRBACEQDNsBCyAAKAIEIQQgAEEANgIEIAAgBCAOELGAgIAAIgQNoAEgDiEBDM4BCyAQQSxHDQEgAUEBaiEQQQEhAQJAAkACQAJAAkAgAC0ALEF7ag4EAwECBAALIBAhAQwEC0ECIQEMAQtBBCEBCyAAQQE6ACwgACAALwEwIAFyOwEwIBAhAQwBCyAAIAAvATBBCHI7ATAgECEBC0E5IRAMvwELIABBADoALCABIQELQTQhEAy9AQsgACAALwEwQSByOwEwIAEhAQwCCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQsYCAgAAiBA0AIAEhAQzHAQsgAEE3NgIcIAAgATYCFCAAIAQ2AgxBACEQDNQBCyAAQQg6ACwgASEBC0EwIRAMuQELAkAgAC0AKEEBRg0AIAEhAQwECyAALQAtQQhxRQ2TASABIQEMAwsgAC0AMEEgcQ2UAUHFASEQDLcBCwJAIA8gAkYNAAJAA0ACQCAPLQAAQVBqIgFB/wFxQQpJDQAgDyEBQTUhEAy6AQsgACkDICIRQpmz5syZs+bMGVYNASAAIBFCCn4iETcDICARIAGtQv8BgyISQn+FVg0BIAAgESASfDcDICAPQQFqIg8gAkcNAAtBOSEQDNEBCyAAKAIEIQIgAEEANgIEIAAgAiAPQQFqIgQQsYCAgAAiAg2VASAEIQEMwwELQTkhEAzPAQsCQCAALwEwIgFBCHFFDQAgAC0AKEEBRw0AIAAtAC1BCHFFDZABCyAAIAFB9/sDcUGABHI7ATAgDyEBC0E3IRAMtAELIAAgAC8BMEEQcjsBMAyrAQsgEEEVRg2LASAAQQA2AhwgACABNgIUIABB8I6AgAA2AhAgAEEcNgIMQQAhEAzLAQsgAEHDADYCHCAAIAE2AgwgACANQQFqNgIUQQAhEAzKAQsCQCABLQAAQTpHDQAgACgCBCEQIABBADYCBAJAIAAgECABEK+AgIAAIhANACABQQFqIQEMYwsgAEHDADYCHCAAIBA2AgwgACABQQFqNgIUQQAhEAzKAQsgAEEANgIcIAAgATYCFCAAQbGRgIAANgIQIABBCjYCDEEAIRAMyQELIABBADYCHCAAIAE2AhQgAEGgmYCAADYCECAAQR42AgxBACEQDMgBCyAAQQA2AgALIABBgBI7ASogACAXQQFqIgEgAhCogICAACIQDQEgASEBC0HHACEQDKwBCyAQQRVHDYMBIABB0QA2AhwgACABNgIUIABB45eAgAA2AhAgAEEVNgIMQQAhEAzEAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMXgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAzDAQsgAEEANgIcIAAgFDYCFCAAQcGogIAANgIQIABBBzYCDCAAQQA2AgBBACEQDMIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxdCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDMEBC0EAIRAgAEEANgIcIAAgATYCFCAAQYCRgIAANgIQIABBCTYCDAzAAQsgEEEVRg19IABBADYCHCAAIAE2AhQgAEGUjYCAADYCECAAQSE2AgxBACEQDL8BC0EBIRZBACEXQQAhFEEBIRALIAAgEDoAKyABQQFqIQECQAJAIAAtAC1BEHENAAJAAkACQCAALQAqDgMBAAIECyAWRQ0DDAILIBQNAQwCCyAXRQ0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQrYCAgAAiEA0AIAEhAQxcCyAAQdgANgIcIAAgATYCFCAAIBA2AgxBACEQDL4BCyAAKAIEIQQgAEEANgIEAkAgACAEIAEQrYCAgAAiBA0AIAEhAQytAQsgAEHZADYCHCAAIAE2AhQgACAENgIMQQAhEAy9AQsgACgCBCEEIABBADYCBAJAIAAgBCABEK2AgIAAIgQNACABIQEMqwELIABB2gA2AhwgACABNgIUIAAgBDYCDEEAIRAMvAELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKkBCyAAQdwANgIcIAAgATYCFCAAIAQ2AgxBACEQDLsBCwJAIAEtAABBUGoiEEH/AXFBCk8NACAAIBA6ACogAUEBaiEBQc8AIRAMogELIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCtgICAACIEDQAgASEBDKcBCyAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAymAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMRgsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAylAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHSADYCHCAAIBQ2AhQgACABNgIMQQAhEAykAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMPwsgAEHTADYCHCAAIBQ2AhQgACABNgIMQQAhEAyjAQsgACgCBCEBIABBADYCBAJAIAAgASAUEKeAgIAAIgENACAUIQEMQwsgAEHlADYCHCAAIBQ2AhQgACABNgIMQQAhEAyiAQsgAEEANgIcIAAgFDYCFCAAQcOPgIAANgIQIABBBzYCDEEAIRAMoQELIABBADYCHCAAIAE2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKABC0EAIRAgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDAyfAQsgAEEANgIcIAAgFDYCFCAAQYycgIAANgIQIABBBzYCDEEAIRAMngELIABBADYCHCAAIBQ2AhQgAEH+kYCAADYCECAAQQc2AgxBACEQDJ0BCyAAQQA2AhwgACABNgIUIABBjpuAgAA2AhAgAEEGNgIMQQAhEAycAQsgEEEVRg1XIABBADYCHCAAIAE2AhQgAEHMjoCAADYCECAAQSA2AgxBACEQDJsBCyAAQQA2AgAgEEEBaiEBQSQhEAsgACAQOgApIAAoAgQhECAAQQA2AgQgACAQIAEQq4CAgAAiEA1UIAEhAQw+CyAAQQA2AgALQQAhECAAQQA2AhwgACAENgIUIABB8ZuAgAA2AhAgAEEGNgIMDJcBCyABQRVGDVAgAEEANgIcIAAgBTYCFCAAQfCMgIAANgIQIABBGzYCDEEAIRAMlgELIAAoAgQhBSAAQQA2AgQgACAFIBAQqYCAgAAiBQ0BIBBBAWohBQtBrQEhEAx7CyAAQcEBNgIcIAAgBTYCDCAAIBBBAWo2AhRBACEQDJMBCyAAKAIEIQYgAEEANgIEIAAgBiAQEKmAgIAAIgYNASAQQQFqIQYLQa4BIRAMeAsgAEHCATYCHCAAIAY2AgwgACAQQQFqNgIUQQAhEAyQAQsgAEEANgIcIAAgBzYCFCAAQZeLgIAANgIQIABBDTYCDEEAIRAMjwELIABBADYCHCAAIAg2AhQgAEHjkICAADYCECAAQQk2AgxBACEQDI4BCyAAQQA2AhwgACAINgIUIABBlI2AgAA2AhAgAEEhNgIMQQAhEAyNAQtBASEWQQAhF0EAIRRBASEQCyAAIBA6ACsgCUEBaiEIAkACQCAALQAtQRBxDQACQAJAAkAgAC0AKg4DAQACBAsgFkUNAwwCCyAUDQEMAgsgF0UNAQsgACgCBCEQIABBADYCBCAAIBAgCBCtgICAACIQRQ09IABByQE2AhwgACAINgIUIAAgEDYCDEEAIRAMjAELIAAoAgQhBCAAQQA2AgQgACAEIAgQrYCAgAAiBEUNdiAAQcoBNgIcIAAgCDYCFCAAIAQ2AgxBACEQDIsBCyAAKAIEIQQgAEEANgIEIAAgBCAJEK2AgIAAIgRFDXQgAEHLATYCHCAAIAk2AhQgACAENgIMQQAhEAyKAQsgACgCBCEEIABBADYCBCAAIAQgChCtgICAACIERQ1yIABBzQE2AhwgACAKNgIUIAAgBDYCDEEAIRAMiQELAkAgCy0AAEFQaiIQQf8BcUEKTw0AIAAgEDoAKiALQQFqIQpBtgEhEAxwCyAAKAIEIQQgAEEANgIEIAAgBCALEK2AgIAAIgRFDXAgAEHPATYCHCAAIAs2AhQgACAENgIMQQAhEAyIAQsgAEEANgIcIAAgBDYCFCAAQZCzgIAANgIQIABBCDYCDCAAQQA2AgBBACEQDIcBCyABQRVGDT8gAEEANgIcIAAgDDYCFCAAQcyOgIAANgIQIABBIDYCDEEAIRAMhgELIABBgQQ7ASggACgCBCEQIABCADcDACAAIBAgDEEBaiIMEKuAgIAAIhBFDTggAEHTATYCHCAAIAw2AhQgACAQNgIMQQAhEAyFAQsgAEEANgIAC0EAIRAgAEEANgIcIAAgBDYCFCAAQdibgIAANgIQIABBCDYCDAyDAQsgACgCBCEQIABCADcDACAAIBAgC0EBaiILEKuAgIAAIhANAUHGASEQDGkLIABBAjoAKAxVCyAAQdUBNgIcIAAgCzYCFCAAIBA2AgxBACEQDIABCyAQQRVGDTcgAEEANgIcIAAgBDYCFCAAQaSMgIAANgIQIABBEDYCDEEAIRAMfwsgAC0ANEEBRw00IAAgBCACELyAgIAAIhBFDTQgEEEVRw01IABB3AE2AhwgACAENgIUIABB1ZaAgAA2AhAgAEEVNgIMQQAhEAx+C0EAIRAgAEEANgIcIABBr4uAgAA2AhAgAEECNgIMIAAgFEEBajYCFAx9C0EAIRAMYwtBAiEQDGILQQ0hEAxhC0EPIRAMYAtBJSEQDF8LQRMhEAxeC0EVIRAMXQtBFiEQDFwLQRchEAxbC0EYIRAMWgtBGSEQDFkLQRohEAxYC0EbIRAMVwtBHCEQDFYLQR0hEAxVC0EfIRAMVAtBISEQDFMLQSMhEAxSC0HGACEQDFELQS4hEAxQC0EvIRAMTwtBOyEQDE4LQT0hEAxNC0HIACEQDEwLQckAIRAMSwtBywAhEAxKC0HMACEQDEkLQc4AIRAMSAtB0QAhEAxHC0HVACEQDEYLQdgAIRAMRQtB2QAhEAxEC0HbACEQDEMLQeQAIRAMQgtB5QAhEAxBC0HxACEQDEALQfQAIRAMPwtBjQEhEAw+C0GXASEQDD0LQakBIRAMPAtBrAEhEAw7C0HAASEQDDoLQbkBIRAMOQtBrwEhEAw4C0GxASEQDDcLQbIBIRAMNgtBtAEhEAw1C0G1ASEQDDQLQboBIRAMMwtBvQEhEAwyC0G/ASEQDDELQcEBIRAMMAsgAEEANgIcIAAgBDYCFCAAQemLgIAANgIQIABBHzYCDEEAIRAMSAsgAEHbATYCHCAAIAQ2AhQgAEH6loCAADYCECAAQRU2AgxBACEQDEcLIABB+AA2AhwgACAMNgIUIABBypiAgAA2AhAgAEEVNgIMQQAhEAxGCyAAQdEANgIcIAAgBTYCFCAAQbCXgIAANgIQIABBFTYCDEEAIRAMRQsgAEH5ADYCHCAAIAE2AhQgACAQNgIMQQAhEAxECyAAQfgANgIcIAAgATYCFCAAQcqYgIAANgIQIABBFTYCDEEAIRAMQwsgAEHkADYCHCAAIAE2AhQgAEHjl4CAADYCECAAQRU2AgxBACEQDEILIABB1wA2AhwgACABNgIUIABByZeAgAA2AhAgAEEVNgIMQQAhEAxBCyAAQQA2AhwgACABNgIUIABBuY2AgAA2AhAgAEEaNgIMQQAhEAxACyAAQcIANgIcIAAgATYCFCAAQeOYgIAANgIQIABBFTYCDEEAIRAMPwsgAEEANgIEIAAgDyAPELGAgIAAIgRFDQEgAEE6NgIcIAAgBDYCDCAAIA9BAWo2AhRBACEQDD4LIAAoAgQhBCAAQQA2AgQCQCAAIAQgARCxgICAACIERQ0AIABBOzYCHCAAIAQ2AgwgACABQQFqNgIUQQAhEAw+CyABQQFqIQEMLQsgD0EBaiEBDC0LIABBADYCHCAAIA82AhQgAEHkkoCAADYCECAAQQQ2AgxBACEQDDsLIABBNjYCHCAAIAQ2AhQgACACNgIMQQAhEAw6CyAAQS42AhwgACAONgIUIAAgBDYCDEEAIRAMOQsgAEHQADYCHCAAIAE2AhQgAEGRmICAADYCECAAQRU2AgxBACEQDDgLIA1BAWohAQwsCyAAQRU2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAw2CyAAQRs2AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAw1CyAAQQ82AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAw0CyAAQQs2AhwgACABNgIUIABBkZeAgAA2AhAgAEEVNgIMQQAhEAwzCyAAQRo2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAwyCyAAQQs2AhwgACABNgIUIABBgpmAgAA2AhAgAEEVNgIMQQAhEAwxCyAAQQo2AhwgACABNgIUIABB5JaAgAA2AhAgAEEVNgIMQQAhEAwwCyAAQR42AhwgACABNgIUIABB+ZeAgAA2AhAgAEEVNgIMQQAhEAwvCyAAQQA2AhwgACAQNgIUIABB2o2AgAA2AhAgAEEUNgIMQQAhEAwuCyAAQQQ2AhwgACABNgIUIABBsJiAgAA2AhAgAEEVNgIMQQAhEAwtCyAAQQA2AgAgC0EBaiELC0G4ASEQDBILIABBADYCACAQQQFqIQFB9QAhEAwRCyABIQECQCAALQApQQVHDQBB4wAhEAwRC0HiACEQDBALQQAhECAAQQA2AhwgAEHkkYCAADYCECAAQQc2AgwgACAUQQFqNgIUDCgLIABBADYCACAXQQFqIQFBwAAhEAwOC0EBIQELIAAgAToALCAAQQA2AgAgF0EBaiEBC0EoIRAMCwsgASEBC0E4IRAMCQsCQCABIg8gAkYNAANAAkAgDy0AAEGAvoCAAGotAAAiAUEBRg0AIAFBAkcNAyAPQQFqIQEMBAsgD0EBaiIPIAJHDQALQT4hEAwiC0E+IRAMIQsgAEEAOgAsIA8hAQwBC0ELIRAMBgtBOiEQDAULIAFBAWohAUEtIRAMBAsgACABOgAsIABBADYCACAWQQFqIQFBDCEQDAMLIABBADYCACAXQQFqIQFBCiEQDAILIABBADYCAAsgAEEAOgAsIA0hAUEJIRAMAAsLQQAhECAAQQA2AhwgACALNgIUIABBzZCAgAA2AhAgAEEJNgIMDBcLQQAhECAAQQA2AhwgACAKNgIUIABB6YqAgAA2AhAgAEEJNgIMDBYLQQAhECAAQQA2AhwgACAJNgIUIABBt5CAgAA2AhAgAEEJNgIMDBULQQAhECAAQQA2AhwgACAINgIUIABBnJGAgAA2AhAgAEEJNgIMDBQLQQAhECAAQQA2AhwgACABNgIUIABBzZCAgAA2AhAgAEEJNgIMDBMLQQAhECAAQQA2AhwgACABNgIUIABB6YqAgAA2AhAgAEEJNgIMDBILQQAhECAAQQA2AhwgACABNgIUIABBt5CAgAA2AhAgAEEJNgIMDBELQQAhECAAQQA2AhwgACABNgIUIABBnJGAgAA2AhAgAEEJNgIMDBALQQAhECAAQQA2AhwgACABNgIUIABBl5WAgAA2AhAgAEEPNgIMDA8LQQAhECAAQQA2AhwgACABNgIUIABBl5WAgAA2AhAgAEEPNgIMDA4LQQAhECAAQQA2AhwgACABNgIUIABBwJKAgAA2AhAgAEELNgIMDA0LQQAhECAAQQA2AhwgACABNgIUIABBlYmAgAA2AhAgAEELNgIMDAwLQQAhECAAQQA2AhwgACABNgIUIABB4Y+AgAA2AhAgAEEKNgIMDAsLQQAhECAAQQA2AhwgACABNgIUIABB+4+AgAA2AhAgAEEKNgIMDAoLQQAhECAAQQA2AhwgACABNgIUIABB8ZmAgAA2AhAgAEECNgIMDAkLQQAhECAAQQA2AhwgACABNgIUIABBxJSAgAA2AhAgAEECNgIMDAgLQQAhECAAQQA2AhwgACABNgIUIABB8pWAgAA2AhAgAEECNgIMDAcLIABBAjYCHCAAIAE2AhQgAEGcmoCAADYCECAAQRY2AgxBACEQDAYLQQEhEAwFC0HUACEQIAEiBCACRg0EIANBCGogACAEIAJB2MKAgABBChDFgICAACADKAIMIQQgAygCCA4DAQQCAAsQyoCAgAAACyAAQQA2AhwgAEG1moCAADYCECAAQRc2AgwgACAEQQFqNgIUQQAhEAwCCyAAQQA2AhwgACAENgIUIABBypqAgAA2AhAgAEEJNgIMQQAhEAwBCwJAIAEiBCACRw0AQSIhEAwBCyAAQYmAgIAANgIIIAAgBDYCBEEhIRALIANBEGokgICAgAAgEAuvAQECfyABKAIAIQYCQAJAIAIgA0YNACAEIAZqIQQgBiADaiACayEHIAIgBkF/cyAFaiIGaiEFA0ACQCACLQAAIAQtAABGDQBBAiEEDAMLAkAgBg0AQQAhBCAFIQIMAwsgBkF/aiEGIARBAWohBCACQQFqIgIgA0cNAAsgByEGIAMhAgsgAEEBNgIAIAEgBjYCACAAIAI2AgQPCyABQQA2AgAgACAENgIAIAAgAjYCBAsKACAAEMeAgIAAC/I2AQt/I4CAgIAAQRBrIgEkgICAgAACQEEAKAKg0ICAAA0AQQAQy4CAgABBgNSEgABrIgJB2QBJDQBBACEDAkBBACgC4NOAgAAiBA0AQQBCfzcC7NOAgABBAEKAgISAgIDAADcC5NOAgABBACABQQhqQXBxQdiq1aoFcyIENgLg04CAAEEAQQA2AvTTgIAAQQBBADYCxNOAgAALQQAgAjYCzNOAgABBAEGA1ISAADYCyNOAgABBAEGA1ISAADYCmNCAgABBACAENgKs0ICAAEEAQX82AqjQgIAAA0AgA0HE0ICAAGogA0G40ICAAGoiBDYCACAEIANBsNCAgABqIgU2AgAgA0G80ICAAGogBTYCACADQczQgIAAaiADQcDQgIAAaiIFNgIAIAUgBDYCACADQdTQgIAAaiADQcjQgIAAaiIENgIAIAQgBTYCACADQdDQgIAAaiAENgIAIANBIGoiA0GAAkcNAAtBgNSEgABBeEGA1ISAAGtBD3FBAEGA1ISAAEEIakEPcRsiA2oiBEEEaiACQUhqIgUgA2siA0EBcjYCAEEAQQAoAvDTgIAANgKk0ICAAEEAIAM2ApTQgIAAQQAgBDYCoNCAgABBgNSEgAAgBWpBODYCBAsCQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAEHsAUsNAAJAQQAoAojQgIAAIgZBECAAQRNqQXBxIABBC0kbIgJBA3YiBHYiA0EDcUUNAAJAAkAgA0EBcSAEckEBcyIFQQN0IgRBsNCAgABqIgMgBEG40ICAAGooAgAiBCgCCCICRw0AQQAgBkF+IAV3cTYCiNCAgAAMAQsgAyACNgIIIAIgAzYCDAsgBEEIaiEDIAQgBUEDdCIFQQNyNgIEIAQgBWoiBCAEKAIEQQFyNgIEDAwLIAJBACgCkNCAgAAiB00NAQJAIANFDQACQAJAIAMgBHRBAiAEdCIDQQAgA2tycSIDQQAgA2txQX9qIgMgA0EMdkEQcSIDdiIEQQV2QQhxIgUgA3IgBCAFdiIDQQJ2QQRxIgRyIAMgBHYiA0EBdkECcSIEciADIAR2IgNBAXZBAXEiBHIgAyAEdmoiBEEDdCIDQbDQgIAAaiIFIANBuNCAgABqKAIAIgMoAggiAEcNAEEAIAZBfiAEd3EiBjYCiNCAgAAMAQsgBSAANgIIIAAgBTYCDAsgAyACQQNyNgIEIAMgBEEDdCIEaiAEIAJrIgU2AgAgAyACaiIAIAVBAXI2AgQCQCAHRQ0AIAdBeHFBsNCAgABqIQJBACgCnNCAgAAhBAJAAkAgBkEBIAdBA3Z0IghxDQBBACAGIAhyNgKI0ICAACACIQgMAQsgAigCCCEICyAIIAQ2AgwgAiAENgIIIAQgAjYCDCAEIAg2AggLIANBCGohA0EAIAA2ApzQgIAAQQAgBTYCkNCAgAAMDAtBACgCjNCAgAAiCUUNASAJQQAgCWtxQX9qIgMgA0EMdkEQcSIDdiIEQQV2QQhxIgUgA3IgBCAFdiIDQQJ2QQRxIgRyIAMgBHYiA0EBdkECcSIEciADIAR2IgNBAXZBAXEiBHIgAyAEdmpBAnRBuNKAgABqKAIAIgAoAgRBeHEgAmshBCAAIQUCQANAAkAgBSgCECIDDQAgBUEUaigCACIDRQ0CCyADKAIEQXhxIAJrIgUgBCAFIARJIgUbIQQgAyAAIAUbIQAgAyEFDAALCyAAKAIYIQoCQCAAKAIMIgggAEYNACAAKAIIIgNBACgCmNCAgABJGiAIIAM2AgggAyAINgIMDAsLAkAgAEEUaiIFKAIAIgMNACAAKAIQIgNFDQMgAEEQaiEFCwNAIAUhCyADIghBFGoiBSgCACIDDQAgCEEQaiEFIAgoAhAiAw0ACyALQQA2AgAMCgtBfyECIABBv39LDQAgAEETaiIDQXBxIQJBACgCjNCAgAAiB0UNAEEAIQsCQCACQYACSQ0AQR8hCyACQf///wdLDQAgA0EIdiIDIANBgP4/akEQdkEIcSIDdCIEIARBgOAfakEQdkEEcSIEdCIFIAVBgIAPakEQdkECcSIFdEEPdiADIARyIAVyayIDQQF0IAIgA0EVanZBAXFyQRxqIQsLQQAgAmshBAJAAkACQAJAIAtBAnRBuNKAgABqKAIAIgUNAEEAIQNBACEIDAELQQAhAyACQQBBGSALQQF2ayALQR9GG3QhAEEAIQgDQAJAIAUoAgRBeHEgAmsiBiAETw0AIAYhBCAFIQggBg0AQQAhBCAFIQggBSEDDAMLIAMgBUEUaigCACIGIAYgBSAAQR12QQRxakEQaigCACIFRhsgAyAGGyEDIABBAXQhACAFDQALCwJAIAMgCHINAEEAIQhBAiALdCIDQQAgA2tyIAdxIgNFDQMgA0EAIANrcUF/aiIDIANBDHZBEHEiA3YiBUEFdkEIcSIAIANyIAUgAHYiA0ECdkEEcSIFciADIAV2IgNBAXZBAnEiBXIgAyAFdiIDQQF2QQFxIgVyIAMgBXZqQQJ0QbjSgIAAaigCACEDCyADRQ0BCwNAIAMoAgRBeHEgAmsiBiAESSEAAkAgAygCECIFDQAgA0EUaigCACEFCyAGIAQgABshBCADIAggABshCCAFIQMgBQ0ACwsgCEUNACAEQQAoApDQgIAAIAJrTw0AIAgoAhghCwJAIAgoAgwiACAIRg0AIAgoAggiA0EAKAKY0ICAAEkaIAAgAzYCCCADIAA2AgwMCQsCQCAIQRRqIgUoAgAiAw0AIAgoAhAiA0UNAyAIQRBqIQULA0AgBSEGIAMiAEEUaiIFKAIAIgMNACAAQRBqIQUgACgCECIDDQALIAZBADYCAAwICwJAQQAoApDQgIAAIgMgAkkNAEEAKAKc0ICAACEEAkACQCADIAJrIgVBEEkNACAEIAJqIgAgBUEBcjYCBEEAIAU2ApDQgIAAQQAgADYCnNCAgAAgBCADaiAFNgIAIAQgAkEDcjYCBAwBCyAEIANBA3I2AgQgBCADaiIDIAMoAgRBAXI2AgRBAEEANgKc0ICAAEEAQQA2ApDQgIAACyAEQQhqIQMMCgsCQEEAKAKU0ICAACIAIAJNDQBBACgCoNCAgAAiAyACaiIEIAAgAmsiBUEBcjYCBEEAIAU2ApTQgIAAQQAgBDYCoNCAgAAgAyACQQNyNgIEIANBCGohAwwKCwJAAkBBACgC4NOAgABFDQBBACgC6NOAgAAhBAwBC0EAQn83AuzTgIAAQQBCgICEgICAwAA3AuTTgIAAQQAgAUEMakFwcUHYqtWqBXM2AuDTgIAAQQBBADYC9NOAgABBAEEANgLE04CAAEGAgAQhBAtBACEDAkAgBCACQccAaiIHaiIGQQAgBGsiC3EiCCACSw0AQQBBMDYC+NOAgAAMCgsCQEEAKALA04CAACIDRQ0AAkBBACgCuNOAgAAiBCAIaiIFIARNDQAgBSADTQ0BC0EAIQNBAEEwNgL404CAAAwKC0EALQDE04CAAEEEcQ0EAkACQAJAQQAoAqDQgIAAIgRFDQBByNOAgAAhAwNAAkAgAygCACIFIARLDQAgBSADKAIEaiAESw0DCyADKAIIIgMNAAsLQQAQy4CAgAAiAEF/Rg0FIAghBgJAQQAoAuTTgIAAIgNBf2oiBCAAcUUNACAIIABrIAQgAGpBACADa3FqIQYLIAYgAk0NBSAGQf7///8HSw0FAkBBACgCwNOAgAAiA0UNAEEAKAK404CAACIEIAZqIgUgBE0NBiAFIANLDQYLIAYQy4CAgAAiAyAARw0BDAcLIAYgAGsgC3EiBkH+////B0sNBCAGEMuAgIAAIgAgAygCACADKAIEakYNAyAAIQMLAkAgA0F/Rg0AIAJByABqIAZNDQACQCAHIAZrQQAoAujTgIAAIgRqQQAgBGtxIgRB/v///wdNDQAgAyEADAcLAkAgBBDLgICAAEF/Rg0AIAQgBmohBiADIQAMBwtBACAGaxDLgICAABoMBAsgAyEAIANBf0cNBQwDC0EAIQgMBwtBACEADAULIABBf0cNAgtBAEEAKALE04CAAEEEcjYCxNOAgAALIAhB/v///wdLDQEgCBDLgICAACEAQQAQy4CAgAAhAyAAQX9GDQEgA0F/Rg0BIAAgA08NASADIABrIgYgAkE4ak0NAQtBAEEAKAK404CAACAGaiIDNgK404CAAAJAIANBACgCvNOAgABNDQBBACADNgK804CAAAsCQAJAAkACQEEAKAKg0ICAACIERQ0AQcjTgIAAIQMDQCAAIAMoAgAiBSADKAIEIghqRg0CIAMoAggiAw0ADAMLCwJAAkBBACgCmNCAgAAiA0UNACAAIANPDQELQQAgADYCmNCAgAALQQAhA0EAIAY2AszTgIAAQQAgADYCyNOAgABBAEF/NgKo0ICAAEEAQQAoAuDTgIAANgKs0ICAAEEAQQA2AtTTgIAAA0AgA0HE0ICAAGogA0G40ICAAGoiBDYCACAEIANBsNCAgABqIgU2AgAgA0G80ICAAGogBTYCACADQczQgIAAaiADQcDQgIAAaiIFNgIAIAUgBDYCACADQdTQgIAAaiADQcjQgIAAaiIENgIAIAQgBTYCACADQdDQgIAAaiAENgIAIANBIGoiA0GAAkcNAAsgAEF4IABrQQ9xQQAgAEEIakEPcRsiA2oiBCAGQUhqIgUgA2siA0EBcjYCBEEAQQAoAvDTgIAANgKk0ICAAEEAIAM2ApTQgIAAQQAgBDYCoNCAgAAgACAFakE4NgIEDAILIAMtAAxBCHENACAEIAVJDQAgBCAATw0AIARBeCAEa0EPcUEAIARBCGpBD3EbIgVqIgBBACgClNCAgAAgBmoiCyAFayIFQQFyNgIEIAMgCCAGajYCBEEAQQAoAvDTgIAANgKk0ICAAEEAIAU2ApTQgIAAQQAgADYCoNCAgAAgBCALakE4NgIEDAELAkAgAEEAKAKY0ICAACIITw0AQQAgADYCmNCAgAAgACEICyAAIAZqIQVByNOAgAAhAwJAAkACQAJAAkACQAJAA0AgAygCACAFRg0BIAMoAggiAw0ADAILCyADLQAMQQhxRQ0BC0HI04CAACEDA0ACQCADKAIAIgUgBEsNACAFIAMoAgRqIgUgBEsNAwsgAygCCCEDDAALCyADIAA2AgAgAyADKAIEIAZqNgIEIABBeCAAa0EPcUEAIABBCGpBD3EbaiILIAJBA3I2AgQgBUF4IAVrQQ9xQQAgBUEIakEPcRtqIgYgCyACaiICayEDAkAgBiAERw0AQQAgAjYCoNCAgABBAEEAKAKU0ICAACADaiIDNgKU0ICAACACIANBAXI2AgQMAwsCQCAGQQAoApzQgIAARw0AQQAgAjYCnNCAgABBAEEAKAKQ0ICAACADaiIDNgKQ0ICAACACIANBAXI2AgQgAiADaiADNgIADAMLAkAgBigCBCIEQQNxQQFHDQAgBEF4cSEHAkACQCAEQf8BSw0AIAYoAggiBSAEQQN2IghBA3RBsNCAgABqIgBGGgJAIAYoAgwiBCAFRw0AQQBBACgCiNCAgABBfiAId3E2AojQgIAADAILIAQgAEYaIAQgBTYCCCAFIAQ2AgwMAQsgBigCGCEJAkACQCAGKAIMIgAgBkYNACAGKAIIIgQgCEkaIAAgBDYCCCAEIAA2AgwMAQsCQCAGQRRqIgQoAgAiBQ0AIAZBEGoiBCgCACIFDQBBACEADAELA0AgBCEIIAUiAEEUaiIEKAIAIgUNACAAQRBqIQQgACgCECIFDQALIAhBADYCAAsgCUUNAAJAAkAgBiAGKAIcIgVBAnRBuNKAgABqIgQoAgBHDQAgBCAANgIAIAANAUEAQQAoAozQgIAAQX4gBXdxNgKM0ICAAAwCCyAJQRBBFCAJKAIQIAZGG2ogADYCACAARQ0BCyAAIAk2AhgCQCAGKAIQIgRFDQAgACAENgIQIAQgADYCGAsgBigCFCIERQ0AIABBFGogBDYCACAEIAA2AhgLIAcgA2ohAyAGIAdqIgYoAgQhBAsgBiAEQX5xNgIEIAIgA2ogAzYCACACIANBAXI2AgQCQCADQf8BSw0AIANBeHFBsNCAgABqIQQCQAJAQQAoAojQgIAAIgVBASADQQN2dCIDcQ0AQQAgBSADcjYCiNCAgAAgBCEDDAELIAQoAgghAwsgAyACNgIMIAQgAjYCCCACIAQ2AgwgAiADNgIIDAMLQR8hBAJAIANB////B0sNACADQQh2IgQgBEGA/j9qQRB2QQhxIgR0IgUgBUGA4B9qQRB2QQRxIgV0IgAgAEGAgA9qQRB2QQJxIgB0QQ92IAQgBXIgAHJrIgRBAXQgAyAEQRVqdkEBcXJBHGohBAsgAiAENgIcIAJCADcCECAEQQJ0QbjSgIAAaiEFAkBBACgCjNCAgAAiAEEBIAR0IghxDQAgBSACNgIAQQAgACAIcjYCjNCAgAAgAiAFNgIYIAIgAjYCCCACIAI2AgwMAwsgA0EAQRkgBEEBdmsgBEEfRht0IQQgBSgCACEAA0AgACIFKAIEQXhxIANGDQIgBEEddiEAIARBAXQhBCAFIABBBHFqQRBqIggoAgAiAA0ACyAIIAI2AgAgAiAFNgIYIAIgAjYCDCACIAI2AggMAgsgAEF4IABrQQ9xQQAgAEEIakEPcRsiA2oiCyAGQUhqIgggA2siA0EBcjYCBCAAIAhqQTg2AgQgBCAFQTcgBWtBD3FBACAFQUlqQQ9xG2pBQWoiCCAIIARBEGpJGyIIQSM2AgRBAEEAKALw04CAADYCpNCAgABBACADNgKU0ICAAEEAIAs2AqDQgIAAIAhBEGpBACkC0NOAgAA3AgAgCEEAKQLI04CAADcCCEEAIAhBCGo2AtDTgIAAQQAgBjYCzNOAgABBACAANgLI04CAAEEAQQA2AtTTgIAAIAhBJGohAwNAIANBBzYCACADQQRqIgMgBUkNAAsgCCAERg0DIAggCCgCBEF+cTYCBCAIIAggBGsiADYCACAEIABBAXI2AgQCQCAAQf8BSw0AIABBeHFBsNCAgABqIQMCQAJAQQAoAojQgIAAIgVBASAAQQN2dCIAcQ0AQQAgBSAAcjYCiNCAgAAgAyEFDAELIAMoAgghBQsgBSAENgIMIAMgBDYCCCAEIAM2AgwgBCAFNgIIDAQLQR8hAwJAIABB////B0sNACAAQQh2IgMgA0GA/j9qQRB2QQhxIgN0IgUgBUGA4B9qQRB2QQRxIgV0IgggCEGAgA9qQRB2QQJxIgh0QQ92IAMgBXIgCHJrIgNBAXQgACADQRVqdkEBcXJBHGohAwsgBCADNgIcIARCADcCECADQQJ0QbjSgIAAaiEFAkBBACgCjNCAgAAiCEEBIAN0IgZxDQAgBSAENgIAQQAgCCAGcjYCjNCAgAAgBCAFNgIYIAQgBDYCCCAEIAQ2AgwMBAsgAEEAQRkgA0EBdmsgA0EfRht0IQMgBSgCACEIA0AgCCIFKAIEQXhxIABGDQMgA0EddiEIIANBAXQhAyAFIAhBBHFqQRBqIgYoAgAiCA0ACyAGIAQ2AgAgBCAFNgIYIAQgBDYCDCAEIAQ2AggMAwsgBSgCCCIDIAI2AgwgBSACNgIIIAJBADYCGCACIAU2AgwgAiADNgIICyALQQhqIQMMBQsgBSgCCCIDIAQ2AgwgBSAENgIIIARBADYCGCAEIAU2AgwgBCADNgIIC0EAKAKU0ICAACIDIAJNDQBBACgCoNCAgAAiBCACaiIFIAMgAmsiA0EBcjYCBEEAIAM2ApTQgIAAQQAgBTYCoNCAgAAgBCACQQNyNgIEIARBCGohAwwDC0EAIQNBAEEwNgL404CAAAwCCwJAIAtFDQACQAJAIAggCCgCHCIFQQJ0QbjSgIAAaiIDKAIARw0AIAMgADYCACAADQFBACAHQX4gBXdxIgc2AozQgIAADAILIAtBEEEUIAsoAhAgCEYbaiAANgIAIABFDQELIAAgCzYCGAJAIAgoAhAiA0UNACAAIAM2AhAgAyAANgIYCyAIQRRqKAIAIgNFDQAgAEEUaiADNgIAIAMgADYCGAsCQAJAIARBD0sNACAIIAQgAmoiA0EDcjYCBCAIIANqIgMgAygCBEEBcjYCBAwBCyAIIAJqIgAgBEEBcjYCBCAIIAJBA3I2AgQgACAEaiAENgIAAkAgBEH/AUsNACAEQXhxQbDQgIAAaiEDAkACQEEAKAKI0ICAACIFQQEgBEEDdnQiBHENAEEAIAUgBHI2AojQgIAAIAMhBAwBCyADKAIIIQQLIAQgADYCDCADIAA2AgggACADNgIMIAAgBDYCCAwBC0EfIQMCQCAEQf///wdLDQAgBEEIdiIDIANBgP4/akEQdkEIcSIDdCIFIAVBgOAfakEQdkEEcSIFdCICIAJBgIAPakEQdkECcSICdEEPdiADIAVyIAJyayIDQQF0IAQgA0EVanZBAXFyQRxqIQMLIAAgAzYCHCAAQgA3AhAgA0ECdEG40oCAAGohBQJAIAdBASADdCICcQ0AIAUgADYCAEEAIAcgAnI2AozQgIAAIAAgBTYCGCAAIAA2AgggACAANgIMDAELIARBAEEZIANBAXZrIANBH0YbdCEDIAUoAgAhAgJAA0AgAiIFKAIEQXhxIARGDQEgA0EddiECIANBAXQhAyAFIAJBBHFqQRBqIgYoAgAiAg0ACyAGIAA2AgAgACAFNgIYIAAgADYCDCAAIAA2AggMAQsgBSgCCCIDIAA2AgwgBSAANgIIIABBADYCGCAAIAU2AgwgACADNgIICyAIQQhqIQMMAQsCQCAKRQ0AAkACQCAAIAAoAhwiBUECdEG40oCAAGoiAygCAEcNACADIAg2AgAgCA0BQQAgCUF+IAV3cTYCjNCAgAAMAgsgCkEQQRQgCigCECAARhtqIAg2AgAgCEUNAQsgCCAKNgIYAkAgACgCECIDRQ0AIAggAzYCECADIAg2AhgLIABBFGooAgAiA0UNACAIQRRqIAM2AgAgAyAINgIYCwJAAkAgBEEPSw0AIAAgBCACaiIDQQNyNgIEIAAgA2oiAyADKAIEQQFyNgIEDAELIAAgAmoiBSAEQQFyNgIEIAAgAkEDcjYCBCAFIARqIAQ2AgACQCAHRQ0AIAdBeHFBsNCAgABqIQJBACgCnNCAgAAhAwJAAkBBASAHQQN2dCIIIAZxDQBBACAIIAZyNgKI0ICAACACIQgMAQsgAigCCCEICyAIIAM2AgwgAiADNgIIIAMgAjYCDCADIAg2AggLQQAgBTYCnNCAgABBACAENgKQ0ICAAAsgAEEIaiEDCyABQRBqJICAgIAAIAMLCgAgABDJgICAAAviDQEHfwJAIABFDQAgAEF4aiIBIABBfGooAgAiAkF4cSIAaiEDAkAgAkEBcQ0AIAJBA3FFDQEgASABKAIAIgJrIgFBACgCmNCAgAAiBEkNASACIABqIQACQCABQQAoApzQgIAARg0AAkAgAkH/AUsNACABKAIIIgQgAkEDdiIFQQN0QbDQgIAAaiIGRhoCQCABKAIMIgIgBEcNAEEAQQAoAojQgIAAQX4gBXdxNgKI0ICAAAwDCyACIAZGGiACIAQ2AgggBCACNgIMDAILIAEoAhghBwJAAkAgASgCDCIGIAFGDQAgASgCCCICIARJGiAGIAI2AgggAiAGNgIMDAELAkAgAUEUaiICKAIAIgQNACABQRBqIgIoAgAiBA0AQQAhBgwBCwNAIAIhBSAEIgZBFGoiAigCACIEDQAgBkEQaiECIAYoAhAiBA0ACyAFQQA2AgALIAdFDQECQAJAIAEgASgCHCIEQQJ0QbjSgIAAaiICKAIARw0AIAIgBjYCACAGDQFBAEEAKAKM0ICAAEF+IAR3cTYCjNCAgAAMAwsgB0EQQRQgBygCECABRhtqIAY2AgAgBkUNAgsgBiAHNgIYAkAgASgCECICRQ0AIAYgAjYCECACIAY2AhgLIAEoAhQiAkUNASAGQRRqIAI2AgAgAiAGNgIYDAELIAMoAgQiAkEDcUEDRw0AIAMgAkF+cTYCBEEAIAA2ApDQgIAAIAEgAGogADYCACABIABBAXI2AgQPCyABIANPDQAgAygCBCICQQFxRQ0AAkACQCACQQJxDQACQCADQQAoAqDQgIAARw0AQQAgATYCoNCAgABBAEEAKAKU0ICAACAAaiIANgKU0ICAACABIABBAXI2AgQgAUEAKAKc0ICAAEcNA0EAQQA2ApDQgIAAQQBBADYCnNCAgAAPCwJAIANBACgCnNCAgABHDQBBACABNgKc0ICAAEEAQQAoApDQgIAAIABqIgA2ApDQgIAAIAEgAEEBcjYCBCABIABqIAA2AgAPCyACQXhxIABqIQACQAJAIAJB/wFLDQAgAygCCCIEIAJBA3YiBUEDdEGw0ICAAGoiBkYaAkAgAygCDCICIARHDQBBAEEAKAKI0ICAAEF+IAV3cTYCiNCAgAAMAgsgAiAGRhogAiAENgIIIAQgAjYCDAwBCyADKAIYIQcCQAJAIAMoAgwiBiADRg0AIAMoAggiAkEAKAKY0ICAAEkaIAYgAjYCCCACIAY2AgwMAQsCQCADQRRqIgIoAgAiBA0AIANBEGoiAigCACIEDQBBACEGDAELA0AgAiEFIAQiBkEUaiICKAIAIgQNACAGQRBqIQIgBigCECIEDQALIAVBADYCAAsgB0UNAAJAAkAgAyADKAIcIgRBAnRBuNKAgABqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoAozQgIAAQX4gBHdxNgKM0ICAAAwCCyAHQRBBFCAHKAIQIANGG2ogBjYCACAGRQ0BCyAGIAc2AhgCQCADKAIQIgJFDQAgBiACNgIQIAIgBjYCGAsgAygCFCICRQ0AIAZBFGogAjYCACACIAY2AhgLIAEgAGogADYCACABIABBAXI2AgQgAUEAKAKc0ICAAEcNAUEAIAA2ApDQgIAADwsgAyACQX5xNgIEIAEgAGogADYCACABIABBAXI2AgQLAkAgAEH/AUsNACAAQXhxQbDQgIAAaiECAkACQEEAKAKI0ICAACIEQQEgAEEDdnQiAHENAEEAIAQgAHI2AojQgIAAIAIhAAwBCyACKAIIIQALIAAgATYCDCACIAE2AgggASACNgIMIAEgADYCCA8LQR8hAgJAIABB////B0sNACAAQQh2IgIgAkGA/j9qQRB2QQhxIgJ0IgQgBEGA4B9qQRB2QQRxIgR0IgYgBkGAgA9qQRB2QQJxIgZ0QQ92IAIgBHIgBnJrIgJBAXQgACACQRVqdkEBcXJBHGohAgsgASACNgIcIAFCADcCECACQQJ0QbjSgIAAaiEEAkACQEEAKAKM0ICAACIGQQEgAnQiA3ENACAEIAE2AgBBACAGIANyNgKM0ICAACABIAQ2AhggASABNgIIIAEgATYCDAwBCyAAQQBBGSACQQF2ayACQR9GG3QhAiAEKAIAIQYCQANAIAYiBCgCBEF4cSAARg0BIAJBHXYhBiACQQF0IQIgBCAGQQRxakEQaiIDKAIAIgYNAAsgAyABNgIAIAEgBDYCGCABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAKo0ICAAEF/aiIBQX8gARs2AqjQgIAACwsEAAAAC04AAkAgAA0APwBBEHQPCwJAIABB//8DcQ0AIABBf0wNAAJAIABBEHZAACIAQX9HDQBBAEEwNgL404CAAEF/DwsgAEEQdA8LEMqAgIAAAAvyAgIDfwF+AkAgAkUNACAAIAE6AAAgAiAAaiIDQX9qIAE6AAAgAkEDSQ0AIAAgAToAAiAAIAE6AAEgA0F9aiABOgAAIANBfmogAToAACACQQdJDQAgACABOgADIANBfGogAToAACACQQlJDQAgAEEAIABrQQNxIgRqIgMgAUH/AXFBgYKECGwiATYCACADIAIgBGtBfHEiBGoiAkF8aiABNgIAIARBCUkNACADIAE2AgggAyABNgIEIAJBeGogATYCACACQXRqIAE2AgAgBEEZSQ0AIAMgATYCGCADIAE2AhQgAyABNgIQIAMgATYCDCACQXBqIAE2AgAgAkFsaiABNgIAIAJBaGogATYCACACQWRqIAE2AgAgBCADQQRxQRhyIgVrIgJBIEkNACABrUKBgICAEH4hBiADIAVqIQEDQCABIAY3AxggASAGNwMQIAEgBjcDCCABIAY3AwAgAUEgaiEBIAJBYGoiAkEfSw0ACwsgAAsLjkgBAEGACAuGSAEAAAACAAAAAwAAAAAAAAAAAAAABAAAAAUAAAAAAAAAAAAAAAYAAAAHAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASW52YWxpZCBjaGFyIGluIHVybCBxdWVyeQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2JvZHkAQ29udGVudC1MZW5ndGggb3ZlcmZsb3cAQ2h1bmsgc2l6ZSBvdmVyZmxvdwBSZXNwb25zZSBvdmVyZmxvdwBJbnZhbGlkIG1ldGhvZCBmb3IgSFRUUC94LnggcmVxdWVzdABJbnZhbGlkIG1ldGhvZCBmb3IgUlRTUC94LnggcmVxdWVzdABFeHBlY3RlZCBTT1VSQ0UgbWV0aG9kIGZvciBJQ0UveC54IHJlcXVlc3QASW52YWxpZCBjaGFyIGluIHVybCBmcmFnbWVudCBzdGFydABFeHBlY3RlZCBkb3QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9zdGF0dXMASW52YWxpZCByZXNwb25zZSBzdGF0dXMASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucwBVc2VyIGNhbGxiYWNrIGVycm9yAGBvbl9yZXNldGAgY2FsbGJhY2sgZXJyb3IAYG9uX2NodW5rX2hlYWRlcmAgY2FsbGJhY2sgZXJyb3IAYG9uX21lc3NhZ2VfYmVnaW5gIGNhbGxiYWNrIGVycm9yAGBvbl9jaHVua19leHRlbnNpb25fdmFsdWVgIGNhbGxiYWNrIGVycm9yAGBvbl9zdGF0dXNfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl92ZXJzaW9uX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fdXJsX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGVgIGNhbGxiYWNrIGVycm9yAGBvbl9tZXNzYWdlX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fbWV0aG9kX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlYCBjYWxsYmFjayBlcnJvcgBgb25fY2h1bmtfZXh0ZW5zaW9uX25hbWVgIGNhbGxiYWNrIGVycm9yAFVuZXhwZWN0ZWQgY2hhciBpbiB1cmwgc2VydmVyAEludmFsaWQgaGVhZGVyIHZhbHVlIGNoYXIASW52YWxpZCBoZWFkZXIgZmllbGQgY2hhcgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3ZlcnNpb24ASW52YWxpZCBtaW5vciB2ZXJzaW9uAEludmFsaWQgbWFqb3IgdmVyc2lvbgBFeHBlY3RlZCBzcGFjZSBhZnRlciB2ZXJzaW9uAEV4cGVjdGVkIENSTEYgYWZ0ZXIgdmVyc2lvbgBJbnZhbGlkIEhUVFAgdmVyc2lvbgBJbnZhbGlkIGhlYWRlciB0b2tlbgBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX3VybABJbnZhbGlkIGNoYXJhY3RlcnMgaW4gdXJsAFVuZXhwZWN0ZWQgc3RhcnQgY2hhciBpbiB1cmwARG91YmxlIEAgaW4gdXJsAEVtcHR5IENvbnRlbnQtTGVuZ3RoAEludmFsaWQgY2hhcmFjdGVyIGluIENvbnRlbnQtTGVuZ3RoAER1cGxpY2F0ZSBDb250ZW50LUxlbmd0aABJbnZhbGlkIGNoYXIgaW4gdXJsIHBhdGgAQ29udGVudC1MZW5ndGggY2FuJ3QgYmUgcHJlc2VudCB3aXRoIFRyYW5zZmVyLUVuY29kaW5nAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIHNpemUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfdmFsdWUAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9jaHVua19leHRlbnNpb25fdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyB2YWx1ZQBNaXNzaW5nIGV4cGVjdGVkIExGIGFmdGVyIGhlYWRlciB2YWx1ZQBJbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AgaGVhZGVyIHZhbHVlAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgcXVvdGUgdmFsdWUASW52YWxpZCBjaGFyYWN0ZXIgaW4gY2h1bmsgZXh0ZW5zaW9ucyBxdW90ZWQgdmFsdWUAUGF1c2VkIGJ5IG9uX2hlYWRlcnNfY29tcGxldGUASW52YWxpZCBFT0Ygc3RhdGUAb25fcmVzZXQgcGF1c2UAb25fY2h1bmtfaGVhZGVyIHBhdXNlAG9uX21lc3NhZ2VfYmVnaW4gcGF1c2UAb25fY2h1bmtfZXh0ZW5zaW9uX3ZhbHVlIHBhdXNlAG9uX3N0YXR1c19jb21wbGV0ZSBwYXVzZQBvbl92ZXJzaW9uX2NvbXBsZXRlIHBhdXNlAG9uX3VybF9jb21wbGV0ZSBwYXVzZQBvbl9jaHVua19jb21wbGV0ZSBwYXVzZQBvbl9oZWFkZXJfdmFsdWVfY29tcGxldGUgcGF1c2UAb25fbWVzc2FnZV9jb21wbGV0ZSBwYXVzZQBvbl9tZXRob2RfY29tcGxldGUgcGF1c2UAb25faGVhZGVyX2ZpZWxkX2NvbXBsZXRlIHBhdXNlAG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lIHBhdXNlAFVuZXhwZWN0ZWQgc3BhY2UgYWZ0ZXIgc3RhcnQgbGluZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX2NodW5rX2V4dGVuc2lvbl9uYW1lAEludmFsaWQgY2hhcmFjdGVyIGluIGNodW5rIGV4dGVuc2lvbnMgbmFtZQBQYXVzZSBvbiBDT05ORUNUL1VwZ3JhZGUAUGF1c2Ugb24gUFJJL1VwZ3JhZGUARXhwZWN0ZWQgSFRUUC8yIENvbm5lY3Rpb24gUHJlZmFjZQBTcGFuIGNhbGxiYWNrIGVycm9yIGluIG9uX21ldGhvZABFeHBlY3RlZCBzcGFjZSBhZnRlciBtZXRob2QAU3BhbiBjYWxsYmFjayBlcnJvciBpbiBvbl9oZWFkZXJfZmllbGQAUGF1c2VkAEludmFsaWQgd29yZCBlbmNvdW50ZXJlZABJbnZhbGlkIG1ldGhvZCBlbmNvdW50ZXJlZABVbmV4cGVjdGVkIGNoYXIgaW4gdXJsIHNjaGVtYQBSZXF1ZXN0IGhhcyBpbnZhbGlkIGBUcmFuc2Zlci1FbmNvZGluZ2AAU1dJVENIX1BST1hZAFVTRV9QUk9YWQBNS0FDVElWSVRZAFVOUFJPQ0VTU0FCTEVfRU5USVRZAENPUFkATU9WRURfUEVSTUFORU5UTFkAVE9PX0VBUkxZAE5PVElGWQBGQUlMRURfREVQRU5ERU5DWQBCQURfR0FURVdBWQBQTEFZAFBVVABDSEVDS09VVABHQVRFV0FZX1RJTUVPVVQAUkVRVUVTVF9USU1FT1VUAE5FVFdPUktfQ09OTkVDVF9USU1FT1VUAENPTk5FQ1RJT05fVElNRU9VVABMT0dJTl9USU1FT1VUAE5FVFdPUktfUkVBRF9USU1FT1VUAFBPU1QATUlTRElSRUNURURfUkVRVUVTVABDTElFTlRfQ0xPU0VEX1JFUVVFU1QAQ0xJRU5UX0NMT1NFRF9MT0FEX0JBTEFOQ0VEX1JFUVVFU1QAQkFEX1JFUVVFU1QASFRUUF9SRVFVRVNUX1NFTlRfVE9fSFRUUFNfUE9SVABSRVBPUlQASU1fQV9URUFQT1QAUkVTRVRfQ09OVEVOVABOT19DT05URU5UAFBBUlRJQUxfQ09OVEVOVABIUEVfSU5WQUxJRF9DT05TVEFOVABIUEVfQ0JfUkVTRVQAR0VUAEhQRV9TVFJJQ1QAQ09ORkxJQ1QAVEVNUE9SQVJZX1JFRElSRUNUAFBFUk1BTkVOVF9SRURJUkVDVABDT05ORUNUAE1VTFRJX1NUQVRVUwBIUEVfSU5WQUxJRF9TVEFUVVMAVE9PX01BTllfUkVRVUVTVFMARUFSTFlfSElOVFMAVU5BVkFJTEFCTEVfRk9SX0xFR0FMX1JFQVNPTlMAT1BUSU9OUwBTV0lUQ0hJTkdfUFJPVE9DT0xTAFZBUklBTlRfQUxTT19ORUdPVElBVEVTAE1VTFRJUExFX0NIT0lDRVMASU5URVJOQUxfU0VSVkVSX0VSUk9SAFdFQl9TRVJWRVJfVU5LTk9XTl9FUlJPUgBSQUlMR1VOX0VSUk9SAElERU5USVRZX1BST1ZJREVSX0FVVEhFTlRJQ0FUSU9OX0VSUk9SAFNTTF9DRVJUSUZJQ0FURV9FUlJPUgBJTlZBTElEX1hfRk9SV0FSREVEX0ZPUgBTRVRfUEFSQU1FVEVSAEdFVF9QQVJBTUVURVIASFBFX1VTRVIAU0VFX09USEVSAEhQRV9DQl9DSFVOS19IRUFERVIATUtDQUxFTkRBUgBTRVRVUABXRUJfU0VSVkVSX0lTX0RPV04AVEVBUkRPV04ASFBFX0NMT1NFRF9DT05ORUNUSU9OAEhFVVJJU1RJQ19FWFBJUkFUSU9OAERJU0NPTk5FQ1RFRF9PUEVSQVRJT04ATk9OX0FVVEhPUklUQVRJVkVfSU5GT1JNQVRJT04ASFBFX0lOVkFMSURfVkVSU0lPTgBIUEVfQ0JfTUVTU0FHRV9CRUdJTgBTSVRFX0lTX0ZST1pFTgBIUEVfSU5WQUxJRF9IRUFERVJfVE9LRU4ASU5WQUxJRF9UT0tFTgBGT1JCSURERU4ARU5IQU5DRV9ZT1VSX0NBTE0ASFBFX0lOVkFMSURfVVJMAEJMT0NLRURfQllfUEFSRU5UQUxfQ09OVFJPTABNS0NPTABBQ0wASFBFX0lOVEVSTkFMAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0VfVU5PRkZJQ0lBTABIUEVfT0sAVU5MSU5LAFVOTE9DSwBQUkkAUkVUUllfV0lUSABIUEVfSU5WQUxJRF9DT05URU5UX0xFTkdUSABIUEVfVU5FWFBFQ1RFRF9DT05URU5UX0xFTkdUSABGTFVTSABQUk9QUEFUQ0gATS1TRUFSQ0gAVVJJX1RPT19MT05HAFBST0NFU1NJTkcATUlTQ0VMTEFORU9VU19QRVJTSVNURU5UX1dBUk5JTkcATUlTQ0VMTEFORU9VU19XQVJOSU5HAEhQRV9JTlZBTElEX1RSQU5TRkVSX0VOQ09ESU5HAEV4cGVjdGVkIENSTEYASFBFX0lOVkFMSURfQ0hVTktfU0laRQBNT1ZFAENPTlRJTlVFAEhQRV9DQl9TVEFUVVNfQ09NUExFVEUASFBFX0NCX0hFQURFUlNfQ09NUExFVEUASFBFX0NCX1ZFUlNJT05fQ09NUExFVEUASFBFX0NCX1VSTF9DT01QTEVURQBIUEVfQ0JfQ0hVTktfQ09NUExFVEUASFBFX0NCX0hFQURFUl9WQUxVRV9DT01QTEVURQBIUEVfQ0JfQ0hVTktfRVhURU5TSU9OX1ZBTFVFX0NPTVBMRVRFAEhQRV9DQl9DSFVOS19FWFRFTlNJT05fTkFNRV9DT01QTEVURQBIUEVfQ0JfTUVTU0FHRV9DT01QTEVURQBIUEVfQ0JfTUVUSE9EX0NPTVBMRVRFAEhQRV9DQl9IRUFERVJfRklFTERfQ09NUExFVEUAREVMRVRFAEhQRV9JTlZBTElEX0VPRl9TVEFURQBJTlZBTElEX1NTTF9DRVJUSUZJQ0FURQBQQVVTRQBOT19SRVNQT05TRQBVTlNVUFBPUlRFRF9NRURJQV9UWVBFAEdPTkUATk9UX0FDQ0VQVEFCTEUAU0VSVklDRV9VTkFWQUlMQUJMRQBSQU5HRV9OT1RfU0FUSVNGSUFCTEUAT1JJR0lOX0lTX1VOUkVBQ0hBQkxFAFJFU1BPTlNFX0lTX1NUQUxFAFBVUkdFAE1FUkdFAFJFUVVFU1RfSEVBREVSX0ZJRUxEU19UT09fTEFSR0UAUkVRVUVTVF9IRUFERVJfVE9PX0xBUkdFAFBBWUxPQURfVE9PX0xBUkdFAElOU1VGRklDSUVOVF9TVE9SQUdFAEhQRV9QQVVTRURfVVBHUkFERQBIUEVfUEFVU0VEX0gyX1VQR1JBREUAU09VUkNFAEFOTk9VTkNFAFRSQUNFAEhQRV9VTkVYUEVDVEVEX1NQQUNFAERFU0NSSUJFAFVOU1VCU0NSSUJFAFJFQ09SRABIUEVfSU5WQUxJRF9NRVRIT0QATk9UX0ZPVU5EAFBST1BGSU5EAFVOQklORABSRUJJTkQAVU5BVVRIT1JJWkVEAE1FVEhPRF9OT1RfQUxMT1dFRABIVFRQX1ZFUlNJT05fTk9UX1NVUFBPUlRFRABBTFJFQURZX1JFUE9SVEVEAEFDQ0VQVEVEAE5PVF9JTVBMRU1FTlRFRABMT09QX0RFVEVDVEVEAEhQRV9DUl9FWFBFQ1RFRABIUEVfTEZfRVhQRUNURUQAQ1JFQVRFRABJTV9VU0VEAEhQRV9QQVVTRUQAVElNRU9VVF9PQ0NVUkVEAFBBWU1FTlRfUkVRVUlSRUQAUFJFQ09ORElUSU9OX1JFUVVJUkVEAFBST1hZX0FVVEhFTlRJQ0FUSU9OX1JFUVVJUkVEAE5FVFdPUktfQVVUSEVOVElDQVRJT05fUkVRVUlSRUQATEVOR1RIX1JFUVVJUkVEAFNTTF9DRVJUSUZJQ0FURV9SRVFVSVJFRABVUEdSQURFX1JFUVVJUkVEAFBBR0VfRVhQSVJFRABQUkVDT05ESVRJT05fRkFJTEVEAEVYUEVDVEFUSU9OX0ZBSUxFRABSRVZBTElEQVRJT05fRkFJTEVEAFNTTF9IQU5EU0hBS0VfRkFJTEVEAExPQ0tFRABUUkFOU0ZPUk1BVElPTl9BUFBMSUVEAE5PVF9NT0RJRklFRABOT1RfRVhURU5ERUQAQkFORFdJRFRIX0xJTUlUX0VYQ0VFREVEAFNJVEVfSVNfT1ZFUkxPQURFRABIRUFEAEV4cGVjdGVkIEhUVFAvAABeEwAAJhMAADAQAADwFwAAnRMAABUSAAA5FwAA8BIAAAoQAAB1EgAArRIAAIITAABPFAAAfxAAAKAVAAAjFAAAiRIAAIsUAABNFQAA1BEAAM8UAAAQGAAAyRYAANwWAADBEQAA4BcAALsUAAB0FAAAfBUAAOUUAAAIFwAAHxAAAGUVAACjFAAAKBUAAAIVAACZFQAALBAAAIsZAABPDwAA1A4AAGoQAADOEAAAAhcAAIkOAABuEwAAHBMAAGYUAABWFwAAwRMAAM0TAABsEwAAaBcAAGYXAABfFwAAIhMAAM4PAABpDgAA2A4AAGMWAADLEwAAqg4AACgXAAAmFwAAxRMAAF0WAADoEQAAZxMAAGUTAADyFgAAcxMAAB0XAAD5FgAA8xEAAM8OAADOFQAADBIAALMRAAClEQAAYRAAADIXAAC7EwAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAgMCAgICAgAAAgIAAgIAAgICAgICAgICAgAEAAAAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgICAAIAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAIAAgICAgIAAAICAAICAAICAgICAgICAgIAAwAEAAAAAgICAgICAgICAgICAgICAgICAgICAgICAgIAAAACAgICAgICAgICAgICAgICAgICAgICAgICAgICAgACAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABsb3NlZWVwLWFsaXZlAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQFjaHVua2VkAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAQABAQEBAQAAAQEAAQEAAQEBAQEBAQEBAQAAAAAAAAABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGVjdGlvbmVudC1sZW5ndGhvbnJveHktY29ubmVjdGlvbgAAAAAAAAAAAAAAAAAAAHJhbnNmZXItZW5jb2RpbmdwZ3JhZGUNCg0KDQpTTQ0KDQpUVFAvQ0UvVFNQLwAAAAAAAAAAAAAAAAECAAEDAAAAAAAAAAAAAAAAAAAAAAAABAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAAAAAAAAAAABAgABAwAAAAAAAAAAAAAAAAAAAAAAAAQBAQUBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAQEAAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAAAAAAAAAABAAACAAAAAAAAAAAAAAAAAAAAAAAAAwQAAAQEBAQEBAQEBAQEBQQEBAQEBAQEBAQEBAAEAAYHBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAAQABAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAQAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==' + + +/***/ }), + +/***/ 1891: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + +Object.defineProperty(exports, "__esModule", ({ value: true })); +exports.enumToMap = void 0; +function enumToMap(obj) { + const res = {}; + Object.keys(obj).forEach((key) => { + const value = obj[key]; + if (typeof value === 'number') { + res[key] = value; + } + }); + return res; +} +exports.enumToMap = enumToMap; +//# sourceMappingURL=utils.js.map + +/***/ }), + +/***/ 6771: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { kClients } = __nccwpck_require__(2785) +const Agent = __nccwpck_require__(7890) +const { + kAgent, + kMockAgentSet, + kMockAgentGet, + kDispatches, + kIsMockActive, + kNetConnect, + kGetNetConnect, + kOptions, + kFactory +} = __nccwpck_require__(4347) +const MockClient = __nccwpck_require__(8687) +const MockPool = __nccwpck_require__(6193) +const { matchValue, buildMockOptions } = __nccwpck_require__(9323) +const { InvalidArgumentError, UndiciError } = __nccwpck_require__(8045) +const Dispatcher = __nccwpck_require__(412) +const Pluralizer = __nccwpck_require__(8891) +const PendingInterceptorsFormatter = __nccwpck_require__(6823) + +class FakeWeakRef { + constructor (value) { + this.value = value + } + + deref () { + return this.value + } +} + +class MockAgent extends Dispatcher { + constructor (opts) { + super(opts) + + this[kNetConnect] = true + this[kIsMockActive] = true + + // Instantiate Agent and encapsulate + if ((opts && opts.agent && typeof opts.agent.dispatch !== 'function')) { + throw new InvalidArgumentError('Argument opts.agent must implement Agent') + } + const agent = opts && opts.agent ? opts.agent : new Agent(opts) + this[kAgent] = agent + + this[kClients] = agent[kClients] + this[kOptions] = buildMockOptions(opts) + } + + get (origin) { + let dispatcher = this[kMockAgentGet](origin) + + if (!dispatcher) { + dispatcher = this[kFactory](origin) + this[kMockAgentSet](origin, dispatcher) + } + return dispatcher + } + + dispatch (opts, handler) { + // Call MockAgent.get to perform additional setup before dispatching as normal + this.get(opts.origin) + return this[kAgent].dispatch(opts, handler) + } + + async close () { + await this[kAgent].close() + this[kClients].clear() + } + + deactivate () { + this[kIsMockActive] = false + } + + activate () { + this[kIsMockActive] = true + } + + enableNetConnect (matcher) { + if (typeof matcher === 'string' || typeof matcher === 'function' || matcher instanceof RegExp) { + if (Array.isArray(this[kNetConnect])) { + this[kNetConnect].push(matcher) + } else { + this[kNetConnect] = [matcher] + } + } else if (typeof matcher === 'undefined') { + this[kNetConnect] = true + } else { + throw new InvalidArgumentError('Unsupported matcher. Must be one of String|Function|RegExp.') + } + } + + disableNetConnect () { + this[kNetConnect] = false + } + + // This is required to bypass issues caused by using global symbols - see: + // https://github.com/nodejs/undici/issues/1447 + get isMockActive () { + return this[kIsMockActive] + } + + [kMockAgentSet] (origin, dispatcher) { + this[kClients].set(origin, new FakeWeakRef(dispatcher)) + } + + [kFactory] (origin) { + const mockOptions = Object.assign({ agent: this }, this[kOptions]) + return this[kOptions] && this[kOptions].connections === 1 + ? new MockClient(origin, mockOptions) + : new MockPool(origin, mockOptions) + } + + [kMockAgentGet] (origin) { + // First check if we can immediately find it + const ref = this[kClients].get(origin) + if (ref) { + return ref.deref() + } + + // If the origin is not a string create a dummy parent pool and return to user + if (typeof origin !== 'string') { + const dispatcher = this[kFactory]('http://localhost:9999') + this[kMockAgentSet](origin, dispatcher) + return dispatcher + } + + // If we match, create a pool and assign the same dispatches + for (const [keyMatcher, nonExplicitRef] of Array.from(this[kClients])) { + const nonExplicitDispatcher = nonExplicitRef.deref() + if (nonExplicitDispatcher && typeof keyMatcher !== 'string' && matchValue(keyMatcher, origin)) { + const dispatcher = this[kFactory](origin) + this[kMockAgentSet](origin, dispatcher) + dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches] + return dispatcher + } + } + } + + [kGetNetConnect] () { + return this[kNetConnect] + } + + pendingInterceptors () { + const mockAgentClients = this[kClients] + + return Array.from(mockAgentClients.entries()) + .flatMap(([origin, scope]) => scope.deref()[kDispatches].map(dispatch => ({ ...dispatch, origin }))) + .filter(({ pending }) => pending) + } + + assertNoPendingInterceptors ({ pendingInterceptorsFormatter = new PendingInterceptorsFormatter() } = {}) { + const pending = this.pendingInterceptors() + + if (pending.length === 0) { + return + } + + const pluralizer = new Pluralizer('interceptor', 'interceptors').pluralize(pending.length) + + throw new UndiciError(` +${pluralizer.count} ${pluralizer.noun} ${pluralizer.is} pending: + +${pendingInterceptorsFormatter.format(pending)} +`.trim()) + } +} + +module.exports = MockAgent + + +/***/ }), + +/***/ 8687: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { promisify } = __nccwpck_require__(3837) +const Client = __nccwpck_require__(3598) +const { buildMockDispatch } = __nccwpck_require__(9323) +const { + kDispatches, + kMockAgent, + kClose, + kOriginalClose, + kOrigin, + kOriginalDispatch, + kConnected +} = __nccwpck_require__(4347) +const { MockInterceptor } = __nccwpck_require__(410) +const Symbols = __nccwpck_require__(2785) +const { InvalidArgumentError } = __nccwpck_require__(8045) + +/** + * MockClient provides an API that extends the Client to influence the mockDispatches. + */ +class MockClient extends Client { + constructor (origin, opts) { + super(origin, opts) + + if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') { + throw new InvalidArgumentError('Argument opts.agent must implement Agent') + } + + this[kMockAgent] = opts.agent + this[kOrigin] = origin + this[kDispatches] = [] + this[kConnected] = 1 + this[kOriginalDispatch] = this.dispatch + this[kOriginalClose] = this.close.bind(this) + + this.dispatch = buildMockDispatch.call(this) + this.close = this[kClose] + } + + get [Symbols.kConnected] () { + return this[kConnected] + } + + /** + * Sets up the base interceptor for mocking replies from undici. + */ + intercept (opts) { + return new MockInterceptor(opts, this[kDispatches]) + } + + async [kClose] () { + await promisify(this[kOriginalClose])() + this[kConnected] = 0 + this[kMockAgent][Symbols.kClients].delete(this[kOrigin]) + } +} + +module.exports = MockClient + + +/***/ }), + +/***/ 888: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { UndiciError } = __nccwpck_require__(8045) + +class MockNotMatchedError extends UndiciError { + constructor (message) { + super(message) + Error.captureStackTrace(this, MockNotMatchedError) + this.name = 'MockNotMatchedError' + this.message = message || 'The request does not match any registered mock dispatches' + this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED' + } +} + +module.exports = { + MockNotMatchedError +} + + +/***/ }), + +/***/ 410: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { getResponseData, buildKey, addMockDispatch } = __nccwpck_require__(9323) +const { + kDispatches, + kDispatchKey, + kDefaultHeaders, + kDefaultTrailers, + kContentLength, + kMockDispatch +} = __nccwpck_require__(4347) +const { InvalidArgumentError } = __nccwpck_require__(8045) +const { buildURL } = __nccwpck_require__(3983) + +/** + * Defines the scope API for an interceptor reply + */ +class MockScope { + constructor (mockDispatch) { + this[kMockDispatch] = mockDispatch + } + + /** + * Delay a reply by a set amount in ms. + */ + delay (waitInMs) { + if (typeof waitInMs !== 'number' || !Number.isInteger(waitInMs) || waitInMs <= 0) { + throw new InvalidArgumentError('waitInMs must be a valid integer > 0') + } + + this[kMockDispatch].delay = waitInMs + return this + } + + /** + * For a defined reply, never mark as consumed. + */ + persist () { + this[kMockDispatch].persist = true + return this + } + + /** + * Allow one to define a reply for a set amount of matching requests. + */ + times (repeatTimes) { + if (typeof repeatTimes !== 'number' || !Number.isInteger(repeatTimes) || repeatTimes <= 0) { + throw new InvalidArgumentError('repeatTimes must be a valid integer > 0') + } + + this[kMockDispatch].times = repeatTimes + return this + } +} + +/** + * Defines an interceptor for a Mock + */ +class MockInterceptor { + constructor (opts, mockDispatches) { + if (typeof opts !== 'object') { + throw new InvalidArgumentError('opts must be an object') + } + if (typeof opts.path === 'undefined') { + throw new InvalidArgumentError('opts.path must be defined') + } + if (typeof opts.method === 'undefined') { + opts.method = 'GET' + } + // See https://github.com/nodejs/undici/issues/1245 + // As per RFC 3986, clients are not supposed to send URI + // fragments to servers when they retrieve a document, + if (typeof opts.path === 'string') { + if (opts.query) { + opts.path = buildURL(opts.path, opts.query) + } else { + // Matches https://github.com/nodejs/undici/blob/main/lib/fetch/index.js#L1811 + const parsedURL = new URL(opts.path, 'data://') + opts.path = parsedURL.pathname + parsedURL.search + } + } + if (typeof opts.method === 'string') { + opts.method = opts.method.toUpperCase() + } + + this[kDispatchKey] = buildKey(opts) + this[kDispatches] = mockDispatches + this[kDefaultHeaders] = {} + this[kDefaultTrailers] = {} + this[kContentLength] = false + } + + createMockScopeDispatchData (statusCode, data, responseOptions = {}) { + const responseData = getResponseData(data) + const contentLength = this[kContentLength] ? { 'content-length': responseData.length } : {} + const headers = { ...this[kDefaultHeaders], ...contentLength, ...responseOptions.headers } + const trailers = { ...this[kDefaultTrailers], ...responseOptions.trailers } + + return { statusCode, data, headers, trailers } + } + + validateReplyParameters (statusCode, data, responseOptions) { + if (typeof statusCode === 'undefined') { + throw new InvalidArgumentError('statusCode must be defined') + } + if (typeof data === 'undefined') { + throw new InvalidArgumentError('data must be defined') + } + if (typeof responseOptions !== 'object') { + throw new InvalidArgumentError('responseOptions must be an object') + } + } + + /** + * Mock an undici request with a defined reply. + */ + reply (replyData) { + // Values of reply aren't available right now as they + // can only be available when the reply callback is invoked. + if (typeof replyData === 'function') { + // We'll first wrap the provided callback in another function, + // this function will properly resolve the data from the callback + // when invoked. + const wrappedDefaultsCallback = (opts) => { + // Our reply options callback contains the parameter for statusCode, data and options. + const resolvedData = replyData(opts) + + // Check if it is in the right format + if (typeof resolvedData !== 'object') { + throw new InvalidArgumentError('reply options callback must return an object') + } + + const { statusCode, data = '', responseOptions = {} } = resolvedData + this.validateReplyParameters(statusCode, data, responseOptions) + // Since the values can be obtained immediately we return them + // from this higher order function that will be resolved later. + return { + ...this.createMockScopeDispatchData(statusCode, data, responseOptions) + } + } + + // Add usual dispatch data, but this time set the data parameter to function that will eventually provide data. + const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback) + return new MockScope(newMockDispatch) + } + + // We can have either one or three parameters, if we get here, + // we should have 1-3 parameters. So we spread the arguments of + // this function to obtain the parameters, since replyData will always + // just be the statusCode. + const [statusCode, data = '', responseOptions = {}] = [...arguments] + this.validateReplyParameters(statusCode, data, responseOptions) + + // Send in-already provided data like usual + const dispatchData = this.createMockScopeDispatchData(statusCode, data, responseOptions) + const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData) + return new MockScope(newMockDispatch) + } + + /** + * Mock an undici request with a defined error. + */ + replyWithError (error) { + if (typeof error === 'undefined') { + throw new InvalidArgumentError('error must be defined') + } + + const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], { error }) + return new MockScope(newMockDispatch) + } + + /** + * Set default reply headers on the interceptor for subsequent replies + */ + defaultReplyHeaders (headers) { + if (typeof headers === 'undefined') { + throw new InvalidArgumentError('headers must be defined') + } + + this[kDefaultHeaders] = headers + return this + } + + /** + * Set default reply trailers on the interceptor for subsequent replies + */ + defaultReplyTrailers (trailers) { + if (typeof trailers === 'undefined') { + throw new InvalidArgumentError('trailers must be defined') + } + + this[kDefaultTrailers] = trailers + return this + } + + /** + * Set reply content length header for replies on the interceptor + */ + replyContentLength () { + this[kContentLength] = true + return this + } +} + +module.exports.MockInterceptor = MockInterceptor +module.exports.MockScope = MockScope + + +/***/ }), + +/***/ 6193: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { promisify } = __nccwpck_require__(3837) +const Pool = __nccwpck_require__(4634) +const { buildMockDispatch } = __nccwpck_require__(9323) +const { + kDispatches, + kMockAgent, + kClose, + kOriginalClose, + kOrigin, + kOriginalDispatch, + kConnected +} = __nccwpck_require__(4347) +const { MockInterceptor } = __nccwpck_require__(410) +const Symbols = __nccwpck_require__(2785) +const { InvalidArgumentError } = __nccwpck_require__(8045) + +/** + * MockPool provides an API that extends the Pool to influence the mockDispatches. + */ +class MockPool extends Pool { + constructor (origin, opts) { + super(origin, opts) + + if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') { + throw new InvalidArgumentError('Argument opts.agent must implement Agent') + } + + this[kMockAgent] = opts.agent + this[kOrigin] = origin + this[kDispatches] = [] + this[kConnected] = 1 + this[kOriginalDispatch] = this.dispatch + this[kOriginalClose] = this.close.bind(this) + + this.dispatch = buildMockDispatch.call(this) + this.close = this[kClose] + } + + get [Symbols.kConnected] () { + return this[kConnected] + } + + /** + * Sets up the base interceptor for mocking replies from undici. + */ + intercept (opts) { + return new MockInterceptor(opts, this[kDispatches]) + } + + async [kClose] () { + await promisify(this[kOriginalClose])() + this[kConnected] = 0 + this[kMockAgent][Symbols.kClients].delete(this[kOrigin]) + } +} + +module.exports = MockPool + + +/***/ }), + +/***/ 4347: +/***/ ((module) => { + +"use strict"; + + +module.exports = { + kAgent: Symbol('agent'), + kOptions: Symbol('options'), + kFactory: Symbol('factory'), + kDispatches: Symbol('dispatches'), + kDispatchKey: Symbol('dispatch key'), + kDefaultHeaders: Symbol('default headers'), + kDefaultTrailers: Symbol('default trailers'), + kContentLength: Symbol('content length'), + kMockAgent: Symbol('mock agent'), + kMockAgentSet: Symbol('mock agent set'), + kMockAgentGet: Symbol('mock agent get'), + kMockDispatch: Symbol('mock dispatch'), + kClose: Symbol('close'), + kOriginalClose: Symbol('original agent close'), + kOrigin: Symbol('origin'), + kIsMockActive: Symbol('is mock active'), + kNetConnect: Symbol('net connect'), + kGetNetConnect: Symbol('get net connect'), + kConnected: Symbol('connected') +} + + +/***/ }), + +/***/ 9323: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { MockNotMatchedError } = __nccwpck_require__(888) +const { + kDispatches, + kMockAgent, + kOriginalDispatch, + kOrigin, + kGetNetConnect +} = __nccwpck_require__(4347) +const { buildURL, nop } = __nccwpck_require__(3983) +const { STATUS_CODES } = __nccwpck_require__(3685) +const { + types: { + isPromise + } +} = __nccwpck_require__(3837) + +function matchValue (match, value) { + if (typeof match === 'string') { + return match === value + } + if (match instanceof RegExp) { + return match.test(value) + } + if (typeof match === 'function') { + return match(value) === true + } + return false +} + +function lowerCaseEntries (headers) { + return Object.fromEntries( + Object.entries(headers).map(([headerName, headerValue]) => { + return [headerName.toLocaleLowerCase(), headerValue] + }) + ) +} + +/** + * @param {import('../../index').Headers|string[]|Record} headers + * @param {string} key + */ +function getHeaderByName (headers, key) { + if (Array.isArray(headers)) { + for (let i = 0; i < headers.length; i += 2) { + if (headers[i].toLocaleLowerCase() === key.toLocaleLowerCase()) { + return headers[i + 1] + } + } + + return undefined + } else if (typeof headers.get === 'function') { + return headers.get(key) + } else { + return lowerCaseEntries(headers)[key.toLocaleLowerCase()] + } +} + +/** @param {string[]} headers */ +function buildHeadersFromArray (headers) { // fetch HeadersList + const clone = headers.slice() + const entries = [] + for (let index = 0; index < clone.length; index += 2) { + entries.push([clone[index], clone[index + 1]]) + } + return Object.fromEntries(entries) +} + +function matchHeaders (mockDispatch, headers) { + if (typeof mockDispatch.headers === 'function') { + if (Array.isArray(headers)) { // fetch HeadersList + headers = buildHeadersFromArray(headers) + } + return mockDispatch.headers(headers ? lowerCaseEntries(headers) : {}) + } + if (typeof mockDispatch.headers === 'undefined') { + return true + } + if (typeof headers !== 'object' || typeof mockDispatch.headers !== 'object') { + return false + } + + for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) { + const headerValue = getHeaderByName(headers, matchHeaderName) + + if (!matchValue(matchHeaderValue, headerValue)) { + return false + } + } + return true +} + +function safeUrl (path) { + if (typeof path !== 'string') { + return path + } + + const pathSegments = path.split('?') + + if (pathSegments.length !== 2) { + return path + } + + const qp = new URLSearchParams(pathSegments.pop()) + qp.sort() + return [...pathSegments, qp.toString()].join('?') +} + +function matchKey (mockDispatch, { path, method, body, headers }) { + const pathMatch = matchValue(mockDispatch.path, path) + const methodMatch = matchValue(mockDispatch.method, method) + const bodyMatch = typeof mockDispatch.body !== 'undefined' ? matchValue(mockDispatch.body, body) : true + const headersMatch = matchHeaders(mockDispatch, headers) + return pathMatch && methodMatch && bodyMatch && headersMatch +} + +function getResponseData (data) { + if (Buffer.isBuffer(data)) { + return data + } else if (typeof data === 'object') { + return JSON.stringify(data) + } else { + return data.toString() + } +} + +function getMockDispatch (mockDispatches, key) { + const basePath = key.query ? buildURL(key.path, key.query) : key.path + const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath + + // Match path + let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath)) + if (matchedMockDispatches.length === 0) { + throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`) + } + + // Match method + matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method)) + if (matchedMockDispatches.length === 0) { + throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}'`) + } + + // Match body + matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== 'undefined' ? matchValue(body, key.body) : true) + if (matchedMockDispatches.length === 0) { + throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}'`) + } + + // Match headers + matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers)) + if (matchedMockDispatches.length === 0) { + throw new MockNotMatchedError(`Mock dispatch not matched for headers '${typeof key.headers === 'object' ? JSON.stringify(key.headers) : key.headers}'`) + } + + return matchedMockDispatches[0] +} + +function addMockDispatch (mockDispatches, key, data) { + const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false } + const replyData = typeof data === 'function' ? { callback: data } : { ...data } + const newMockDispatch = { ...baseData, ...key, pending: true, data: { error: null, ...replyData } } + mockDispatches.push(newMockDispatch) + return newMockDispatch +} + +function deleteMockDispatch (mockDispatches, key) { + const index = mockDispatches.findIndex(dispatch => { + if (!dispatch.consumed) { + return false + } + return matchKey(dispatch, key) + }) + if (index !== -1) { + mockDispatches.splice(index, 1) + } +} + +function buildKey (opts) { + const { path, method, body, headers, query } = opts + return { + path, + method, + body, + headers, + query + } +} + +function generateKeyValues (data) { + return Object.entries(data).reduce((keyValuePairs, [key, value]) => [ + ...keyValuePairs, + Buffer.from(`${key}`), + Array.isArray(value) ? value.map(x => Buffer.from(`${x}`)) : Buffer.from(`${value}`) + ], []) +} + +/** + * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status + * @param {number} statusCode + */ +function getStatusText (statusCode) { + return STATUS_CODES[statusCode] || 'unknown' +} + +async function getResponse (body) { + const buffers = [] + for await (const data of body) { + buffers.push(data) + } + return Buffer.concat(buffers).toString('utf8') +} + +/** + * Mock dispatch function used to simulate undici dispatches + */ +function mockDispatch (opts, handler) { + // Get mock dispatch from built key + const key = buildKey(opts) + const mockDispatch = getMockDispatch(this[kDispatches], key) + + mockDispatch.timesInvoked++ + + // Here's where we resolve a callback if a callback is present for the dispatch data. + if (mockDispatch.data.callback) { + mockDispatch.data = { ...mockDispatch.data, ...mockDispatch.data.callback(opts) } + } + + // Parse mockDispatch data + const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch + const { timesInvoked, times } = mockDispatch + + // If it's used up and not persistent, mark as consumed + mockDispatch.consumed = !persist && timesInvoked >= times + mockDispatch.pending = timesInvoked < times + + // If specified, trigger dispatch error + if (error !== null) { + deleteMockDispatch(this[kDispatches], key) + handler.onError(error) + return true + } + + // Handle the request with a delay if necessary + if (typeof delay === 'number' && delay > 0) { + setTimeout(() => { + handleReply(this[kDispatches]) + }, delay) + } else { + handleReply(this[kDispatches]) + } + + function handleReply (mockDispatches, _data = data) { + // fetch's HeadersList is a 1D string array + const optsHeaders = Array.isArray(opts.headers) + ? buildHeadersFromArray(opts.headers) + : opts.headers + const body = typeof _data === 'function' + ? _data({ ...opts, headers: optsHeaders }) + : _data + + // util.types.isPromise is likely needed for jest. + if (isPromise(body)) { + // If handleReply is asynchronous, throwing an error + // in the callback will reject the promise, rather than + // synchronously throw the error, which breaks some tests. + // Rather, we wait for the callback to resolve if it is a + // promise, and then re-run handleReply with the new body. + body.then((newData) => handleReply(mockDispatches, newData)) + return + } + + const responseData = getResponseData(body) + const responseHeaders = generateKeyValues(headers) + const responseTrailers = generateKeyValues(trailers) + + handler.abort = nop + handler.onHeaders(statusCode, responseHeaders, resume, getStatusText(statusCode)) + handler.onData(Buffer.from(responseData)) + handler.onComplete(responseTrailers) + deleteMockDispatch(mockDispatches, key) + } + + function resume () {} + + return true +} + +function buildMockDispatch () { + const agent = this[kMockAgent] + const origin = this[kOrigin] + const originalDispatch = this[kOriginalDispatch] + + return function dispatch (opts, handler) { + if (agent.isMockActive) { + try { + mockDispatch.call(this, opts, handler) + } catch (error) { + if (error instanceof MockNotMatchedError) { + const netConnect = agent[kGetNetConnect]() + if (netConnect === false) { + throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)`) + } + if (checkNetConnect(netConnect, origin)) { + originalDispatch.call(this, opts, handler) + } else { + throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)`) + } + } else { + throw error + } + } + } else { + originalDispatch.call(this, opts, handler) + } + } +} + +function checkNetConnect (netConnect, origin) { + const url = new URL(origin) + if (netConnect === true) { + return true + } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) { + return true + } + return false +} + +function buildMockOptions (opts) { + if (opts) { + const { agent, ...mockOptions } = opts + return mockOptions + } +} + +module.exports = { + getResponseData, + getMockDispatch, + addMockDispatch, + deleteMockDispatch, + buildKey, + generateKeyValues, + matchValue, + getResponse, + getStatusText, + mockDispatch, + buildMockDispatch, + checkNetConnect, + buildMockOptions, + getHeaderByName +} + + +/***/ }), + +/***/ 6823: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { Transform } = __nccwpck_require__(2781) +const { Console } = __nccwpck_require__(6206) + +/** + * Gets the output of `console.table(…)` as a string. + */ +module.exports = class PendingInterceptorsFormatter { + constructor ({ disableColors } = {}) { + this.transform = new Transform({ + transform (chunk, _enc, cb) { + cb(null, chunk) + } + }) + + this.logger = new Console({ + stdout: this.transform, + inspectOptions: { + colors: !disableColors && !process.env.CI + } + }) + } + + format (pendingInterceptors) { + const withPrettyHeaders = pendingInterceptors.map( + ({ method, path, data: { statusCode }, persist, times, timesInvoked, origin }) => ({ + Method: method, + Origin: origin, + Path: path, + 'Status code': statusCode, + Persistent: persist ? '✅' : '❌', + Invocations: timesInvoked, + Remaining: persist ? Infinity : times - timesInvoked + })) + + this.logger.table(withPrettyHeaders) + return this.transform.read().toString() + } +} + + +/***/ }), + +/***/ 8891: +/***/ ((module) => { + +"use strict"; + + +const singulars = { + pronoun: 'it', + is: 'is', + was: 'was', + this: 'this' +} + +const plurals = { + pronoun: 'they', + is: 'are', + was: 'were', + this: 'these' +} + +module.exports = class Pluralizer { + constructor (singular, plural) { + this.singular = singular + this.plural = plural + } + + pluralize (count) { + const one = count === 1 + const keys = one ? singulars : plurals + const noun = one ? this.singular : this.plural + return { ...keys, count, noun } + } +} + + +/***/ }), + +/***/ 8266: +/***/ ((module) => { + +"use strict"; +/* eslint-disable */ + + + +// Extracted from node/lib/internal/fixed_queue.js + +// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two. +const kSize = 2048; +const kMask = kSize - 1; + +// The FixedQueue is implemented as a singly-linked list of fixed-size +// circular buffers. It looks something like this: +// +// head tail +// | | +// v v +// +-----------+ <-----\ +-----------+ <------\ +-----------+ +// | [null] | \----- | next | \------- | next | +// +-----------+ +-----------+ +-----------+ +// | item | <-- bottom | item | <-- bottom | [empty] | +// | item | | item | | [empty] | +// | item | | item | | [empty] | +// | item | | item | | [empty] | +// | item | | item | bottom --> | item | +// | item | | item | | item | +// | ... | | ... | | ... | +// | item | | item | | item | +// | item | | item | | item | +// | [empty] | <-- top | item | | item | +// | [empty] | | item | | item | +// | [empty] | | [empty] | <-- top top --> | [empty] | +// +-----------+ +-----------+ +-----------+ +// +// Or, if there is only one circular buffer, it looks something +// like either of these: +// +// head tail head tail +// | | | | +// v v v v +// +-----------+ +-----------+ +// | [null] | | [null] | +// +-----------+ +-----------+ +// | [empty] | | item | +// | [empty] | | item | +// | item | <-- bottom top --> | [empty] | +// | item | | [empty] | +// | [empty] | <-- top bottom --> | item | +// | [empty] | | item | +// +-----------+ +-----------+ +// +// Adding a value means moving `top` forward by one, removing means +// moving `bottom` forward by one. After reaching the end, the queue +// wraps around. +// +// When `top === bottom` the current queue is empty and when +// `top + 1 === bottom` it's full. This wastes a single space of storage +// but allows much quicker checks. + +class FixedCircularBuffer { + constructor() { + this.bottom = 0; + this.top = 0; + this.list = new Array(kSize); + this.next = null; + } + + isEmpty() { + return this.top === this.bottom; + } + + isFull() { + return ((this.top + 1) & kMask) === this.bottom; + } + + push(data) { + this.list[this.top] = data; + this.top = (this.top + 1) & kMask; + } + + shift() { + const nextItem = this.list[this.bottom]; + if (nextItem === undefined) + return null; + this.list[this.bottom] = undefined; + this.bottom = (this.bottom + 1) & kMask; + return nextItem; + } +} + +module.exports = class FixedQueue { + constructor() { + this.head = this.tail = new FixedCircularBuffer(); + } + + isEmpty() { + return this.head.isEmpty(); + } + + push(data) { + if (this.head.isFull()) { + // Head is full: Creates a new queue, sets the old queue's `.next` to it, + // and sets it as the new main queue. + this.head = this.head.next = new FixedCircularBuffer(); + } + this.head.push(data); + } + + shift() { + const tail = this.tail; + const next = tail.shift(); + if (tail.isEmpty() && tail.next !== null) { + // If there is another queue, it forms the new tail. + this.tail = tail.next; + } + return next; + } +}; + + +/***/ }), + +/***/ 3198: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const DispatcherBase = __nccwpck_require__(4839) +const FixedQueue = __nccwpck_require__(8266) +const { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = __nccwpck_require__(2785) +const PoolStats = __nccwpck_require__(9689) + +const kClients = Symbol('clients') +const kNeedDrain = Symbol('needDrain') +const kQueue = Symbol('queue') +const kClosedResolve = Symbol('closed resolve') +const kOnDrain = Symbol('onDrain') +const kOnConnect = Symbol('onConnect') +const kOnDisconnect = Symbol('onDisconnect') +const kOnConnectionError = Symbol('onConnectionError') +const kGetDispatcher = Symbol('get dispatcher') +const kAddClient = Symbol('add client') +const kRemoveClient = Symbol('remove client') +const kStats = Symbol('stats') + +class PoolBase extends DispatcherBase { + constructor () { + super() + + this[kQueue] = new FixedQueue() + this[kClients] = [] + this[kQueued] = 0 + + const pool = this + + this[kOnDrain] = function onDrain (origin, targets) { + const queue = pool[kQueue] + + let needDrain = false + + while (!needDrain) { + const item = queue.shift() + if (!item) { + break + } + pool[kQueued]-- + needDrain = !this.dispatch(item.opts, item.handler) + } + + this[kNeedDrain] = needDrain + + if (!this[kNeedDrain] && pool[kNeedDrain]) { + pool[kNeedDrain] = false + pool.emit('drain', origin, [pool, ...targets]) + } + + if (pool[kClosedResolve] && queue.isEmpty()) { + Promise + .all(pool[kClients].map(c => c.close())) + .then(pool[kClosedResolve]) + } + } + + this[kOnConnect] = (origin, targets) => { + pool.emit('connect', origin, [pool, ...targets]) + } + + this[kOnDisconnect] = (origin, targets, err) => { + pool.emit('disconnect', origin, [pool, ...targets], err) + } + + this[kOnConnectionError] = (origin, targets, err) => { + pool.emit('connectionError', origin, [pool, ...targets], err) + } + + this[kStats] = new PoolStats(this) + } + + get [kBusy] () { + return this[kNeedDrain] + } + + get [kConnected] () { + return this[kClients].filter(client => client[kConnected]).length + } + + get [kFree] () { + return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length + } + + get [kPending] () { + let ret = this[kQueued] + for (const { [kPending]: pending } of this[kClients]) { + ret += pending + } + return ret + } + + get [kRunning] () { + let ret = 0 + for (const { [kRunning]: running } of this[kClients]) { + ret += running + } + return ret + } + + get [kSize] () { + let ret = this[kQueued] + for (const { [kSize]: size } of this[kClients]) { + ret += size + } + return ret + } + + get stats () { + return this[kStats] + } + + async [kClose] () { + if (this[kQueue].isEmpty()) { + return Promise.all(this[kClients].map(c => c.close())) + } else { + return new Promise((resolve) => { + this[kClosedResolve] = resolve + }) + } + } + + async [kDestroy] (err) { + while (true) { + const item = this[kQueue].shift() + if (!item) { + break + } + item.handler.onError(err) + } + + return Promise.all(this[kClients].map(c => c.destroy(err))) + } + + [kDispatch] (opts, handler) { + const dispatcher = this[kGetDispatcher]() + + if (!dispatcher) { + this[kNeedDrain] = true + this[kQueue].push({ opts, handler }) + this[kQueued]++ + } else if (!dispatcher.dispatch(opts, handler)) { + dispatcher[kNeedDrain] = true + this[kNeedDrain] = !this[kGetDispatcher]() + } + + return !this[kNeedDrain] + } + + [kAddClient] (client) { + client + .on('drain', this[kOnDrain]) + .on('connect', this[kOnConnect]) + .on('disconnect', this[kOnDisconnect]) + .on('connectionError', this[kOnConnectionError]) + + this[kClients].push(client) + + if (this[kNeedDrain]) { + process.nextTick(() => { + if (this[kNeedDrain]) { + this[kOnDrain](client[kUrl], [this, client]) + } + }) + } + + return this + } + + [kRemoveClient] (client) { + client.close(() => { + const idx = this[kClients].indexOf(client) + if (idx !== -1) { + this[kClients].splice(idx, 1) + } + }) + + this[kNeedDrain] = this[kClients].some(dispatcher => ( + !dispatcher[kNeedDrain] && + dispatcher.closed !== true && + dispatcher.destroyed !== true + )) + } +} + +module.exports = { + PoolBase, + kClients, + kNeedDrain, + kAddClient, + kRemoveClient, + kGetDispatcher +} + + +/***/ }), + +/***/ 9689: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = __nccwpck_require__(2785) +const kPool = Symbol('pool') + +class PoolStats { + constructor (pool) { + this[kPool] = pool + } + + get connected () { + return this[kPool][kConnected] + } + + get free () { + return this[kPool][kFree] + } + + get pending () { + return this[kPool][kPending] + } + + get queued () { + return this[kPool][kQueued] + } + + get running () { + return this[kPool][kRunning] + } + + get size () { + return this[kPool][kSize] + } +} + +module.exports = PoolStats + + +/***/ }), + +/***/ 4634: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { + PoolBase, + kClients, + kNeedDrain, + kAddClient, + kGetDispatcher +} = __nccwpck_require__(3198) +const Client = __nccwpck_require__(3598) +const { + InvalidArgumentError +} = __nccwpck_require__(8045) +const util = __nccwpck_require__(3983) +const { kUrl, kInterceptors } = __nccwpck_require__(2785) +const buildConnector = __nccwpck_require__(2067) + +const kOptions = Symbol('options') +const kConnections = Symbol('connections') +const kFactory = Symbol('factory') + +function defaultFactory (origin, opts) { + return new Client(origin, opts) +} + +class Pool extends PoolBase { + constructor (origin, { + connections, + factory = defaultFactory, + connect, + connectTimeout, + tls, + maxCachedSessions, + socketPath, + autoSelectFamily, + autoSelectFamilyAttemptTimeout, + allowH2, + ...options + } = {}) { + super() + + if (connections != null && (!Number.isFinite(connections) || connections < 0)) { + throw new InvalidArgumentError('invalid connections') + } + + if (typeof factory !== 'function') { + throw new InvalidArgumentError('factory must be a function.') + } + + if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') { + throw new InvalidArgumentError('connect must be a function or an object') + } + + if (typeof connect !== 'function') { + connect = buildConnector({ + ...tls, + maxCachedSessions, + allowH2, + socketPath, + timeout: connectTimeout, + ...(util.nodeHasAutoSelectFamily && autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined), + ...connect + }) + } + + this[kInterceptors] = options.interceptors && options.interceptors.Pool && Array.isArray(options.interceptors.Pool) + ? options.interceptors.Pool + : [] + this[kConnections] = connections || null + this[kUrl] = util.parseOrigin(origin) + this[kOptions] = { ...util.deepClone(options), connect, allowH2 } + this[kOptions].interceptors = options.interceptors + ? { ...options.interceptors } + : undefined + this[kFactory] = factory + } + + [kGetDispatcher] () { + let dispatcher = this[kClients].find(dispatcher => !dispatcher[kNeedDrain]) + + if (dispatcher) { + return dispatcher + } + + if (!this[kConnections] || this[kClients].length < this[kConnections]) { + dispatcher = this[kFactory](this[kUrl], this[kOptions]) + this[kAddClient](dispatcher) + } + + return dispatcher + } +} + +module.exports = Pool + + +/***/ }), + +/***/ 7858: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { kProxy, kClose, kDestroy, kInterceptors } = __nccwpck_require__(2785) +const { URL } = __nccwpck_require__(7310) +const Agent = __nccwpck_require__(7890) +const Pool = __nccwpck_require__(4634) +const DispatcherBase = __nccwpck_require__(4839) +const { InvalidArgumentError, RequestAbortedError } = __nccwpck_require__(8045) +const buildConnector = __nccwpck_require__(2067) + +const kAgent = Symbol('proxy agent') +const kClient = Symbol('proxy client') +const kProxyHeaders = Symbol('proxy headers') +const kRequestTls = Symbol('request tls settings') +const kProxyTls = Symbol('proxy tls settings') +const kConnectEndpoint = Symbol('connect endpoint function') + +function defaultProtocolPort (protocol) { + return protocol === 'https:' ? 443 : 80 +} + +function buildProxyOptions (opts) { + if (typeof opts === 'string') { + opts = { uri: opts } + } + + if (!opts || !opts.uri) { + throw new InvalidArgumentError('Proxy opts.uri is mandatory') + } + + return { + uri: opts.uri, + protocol: opts.protocol || 'https' + } +} + +function defaultFactory (origin, opts) { + return new Pool(origin, opts) +} + +class ProxyAgent extends DispatcherBase { + constructor (opts) { + super(opts) + this[kProxy] = buildProxyOptions(opts) + this[kAgent] = new Agent(opts) + this[kInterceptors] = opts.interceptors && opts.interceptors.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent) + ? opts.interceptors.ProxyAgent + : [] + + if (typeof opts === 'string') { + opts = { uri: opts } + } + + if (!opts || !opts.uri) { + throw new InvalidArgumentError('Proxy opts.uri is mandatory') + } + + const { clientFactory = defaultFactory } = opts + + if (typeof clientFactory !== 'function') { + throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.') + } + + this[kRequestTls] = opts.requestTls + this[kProxyTls] = opts.proxyTls + this[kProxyHeaders] = opts.headers || {} + + const resolvedUrl = new URL(opts.uri) + const { origin, port, host, username, password } = resolvedUrl + + if (opts.auth && opts.token) { + throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token') + } else if (opts.auth) { + /* @deprecated in favour of opts.token */ + this[kProxyHeaders]['proxy-authorization'] = `Basic ${opts.auth}` + } else if (opts.token) { + this[kProxyHeaders]['proxy-authorization'] = opts.token + } else if (username && password) { + this[kProxyHeaders]['proxy-authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString('base64')}` + } + + const connect = buildConnector({ ...opts.proxyTls }) + this[kConnectEndpoint] = buildConnector({ ...opts.requestTls }) + this[kClient] = clientFactory(resolvedUrl, { connect }) + this[kAgent] = new Agent({ + ...opts, + connect: async (opts, callback) => { + let requestedHost = opts.host + if (!opts.port) { + requestedHost += `:${defaultProtocolPort(opts.protocol)}` + } + try { + const { socket, statusCode } = await this[kClient].connect({ + origin, + port, + path: requestedHost, + signal: opts.signal, + headers: { + ...this[kProxyHeaders], + host + } + }) + if (statusCode !== 200) { + socket.on('error', () => {}).destroy() + callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`)) + } + if (opts.protocol !== 'https:') { + callback(null, socket) + return + } + let servername + if (this[kRequestTls]) { + servername = this[kRequestTls].servername + } else { + servername = opts.servername + } + this[kConnectEndpoint]({ ...opts, servername, httpSocket: socket }, callback) + } catch (err) { + callback(err) + } + } + }) + } + + dispatch (opts, handler) { + const { host } = new URL(opts.origin) + const headers = buildHeaders(opts.headers) + throwIfProxyAuthIsSent(headers) + return this[kAgent].dispatch( + { + ...opts, + headers: { + ...headers, + host + } + }, + handler + ) + } + + async [kClose] () { + await this[kAgent].close() + await this[kClient].close() + } + + async [kDestroy] () { + await this[kAgent].destroy() + await this[kClient].destroy() + } +} + +/** + * @param {string[] | Record} headers + * @returns {Record} + */ +function buildHeaders (headers) { + // When using undici.fetch, the headers list is stored + // as an array. + if (Array.isArray(headers)) { + /** @type {Record} */ + const headersPair = {} + + for (let i = 0; i < headers.length; i += 2) { + headersPair[headers[i]] = headers[i + 1] + } + + return headersPair + } + + return headers +} + +/** + * @param {Record} headers + * + * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers + * Nevertheless, it was changed and to avoid a security vulnerability by end users + * this check was created. + * It should be removed in the next major version for performance reasons + */ +function throwIfProxyAuthIsSent (headers) { + const existProxyAuth = headers && Object.keys(headers) + .find((key) => key.toLowerCase() === 'proxy-authorization') + if (existProxyAuth) { + throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor') + } +} + +module.exports = ProxyAgent + + +/***/ }), + +/***/ 9459: +/***/ ((module) => { + +"use strict"; + + +let fastNow = Date.now() +let fastNowTimeout + +const fastTimers = [] + +function onTimeout () { + fastNow = Date.now() + + let len = fastTimers.length + let idx = 0 + while (idx < len) { + const timer = fastTimers[idx] + + if (timer.state === 0) { + timer.state = fastNow + timer.delay + } else if (timer.state > 0 && fastNow >= timer.state) { + timer.state = -1 + timer.callback(timer.opaque) + } + + if (timer.state === -1) { + timer.state = -2 + if (idx !== len - 1) { + fastTimers[idx] = fastTimers.pop() + } else { + fastTimers.pop() + } + len -= 1 + } else { + idx += 1 + } + } + + if (fastTimers.length > 0) { + refreshTimeout() + } +} + +function refreshTimeout () { + if (fastNowTimeout && fastNowTimeout.refresh) { + fastNowTimeout.refresh() + } else { + clearTimeout(fastNowTimeout) + fastNowTimeout = setTimeout(onTimeout, 1e3) + if (fastNowTimeout.unref) { + fastNowTimeout.unref() + } + } +} + +class Timeout { + constructor (callback, delay, opaque) { + this.callback = callback + this.delay = delay + this.opaque = opaque + + // -2 not in timer list + // -1 in timer list but inactive + // 0 in timer list waiting for time + // > 0 in timer list waiting for time to expire + this.state = -2 + + this.refresh() + } + + refresh () { + if (this.state === -2) { + fastTimers.push(this) + if (!fastNowTimeout || fastTimers.length === 1) { + refreshTimeout() + } + } + + this.state = 0 + } + + clear () { + this.state = -1 + } +} + +module.exports = { + setTimeout (callback, delay, opaque) { + return delay < 1e3 + ? setTimeout(callback, delay, opaque) + : new Timeout(callback, delay, opaque) + }, + clearTimeout (timeout) { + if (timeout instanceof Timeout) { + timeout.clear() + } else { + clearTimeout(timeout) + } + } +} + + +/***/ }), + +/***/ 5354: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const diagnosticsChannel = __nccwpck_require__(7643) +const { uid, states } = __nccwpck_require__(9188) +const { + kReadyState, + kSentClose, + kByteParser, + kReceivedClose +} = __nccwpck_require__(7578) +const { fireEvent, failWebsocketConnection } = __nccwpck_require__(5515) +const { CloseEvent } = __nccwpck_require__(2611) +const { makeRequest } = __nccwpck_require__(8359) +const { fetching } = __nccwpck_require__(4881) +const { Headers } = __nccwpck_require__(554) +const { getGlobalDispatcher } = __nccwpck_require__(1892) +const { kHeadersList } = __nccwpck_require__(2785) + +const channels = {} +channels.open = diagnosticsChannel.channel('undici:websocket:open') +channels.close = diagnosticsChannel.channel('undici:websocket:close') +channels.socketError = diagnosticsChannel.channel('undici:websocket:socket_error') + +/** @type {import('crypto')} */ +let crypto +try { + crypto = __nccwpck_require__(6113) +} catch { + +} + +/** + * @see https://websockets.spec.whatwg.org/#concept-websocket-establish + * @param {URL} url + * @param {string|string[]} protocols + * @param {import('./websocket').WebSocket} ws + * @param {(response: any) => void} onEstablish + * @param {Partial} options + */ +function establishWebSocketConnection (url, protocols, ws, onEstablish, options) { + // 1. Let requestURL be a copy of url, with its scheme set to "http", if url’s + // scheme is "ws", and to "https" otherwise. + const requestURL = url + + requestURL.protocol = url.protocol === 'ws:' ? 'http:' : 'https:' + + // 2. Let request be a new request, whose URL is requestURL, client is client, + // service-workers mode is "none", referrer is "no-referrer", mode is + // "websocket", credentials mode is "include", cache mode is "no-store" , + // and redirect mode is "error". + const request = makeRequest({ + urlList: [requestURL], + serviceWorkers: 'none', + referrer: 'no-referrer', + mode: 'websocket', + credentials: 'include', + cache: 'no-store', + redirect: 'error' + }) + + // Note: undici extension, allow setting custom headers. + if (options.headers) { + const headersList = new Headers(options.headers)[kHeadersList] + + request.headersList = headersList + } + + // 3. Append (`Upgrade`, `websocket`) to request’s header list. + // 4. Append (`Connection`, `Upgrade`) to request’s header list. + // Note: both of these are handled by undici currently. + // https://github.com/nodejs/undici/blob/68c269c4144c446f3f1220951338daef4a6b5ec4/lib/client.js#L1397 + + // 5. Let keyValue be a nonce consisting of a randomly selected + // 16-byte value that has been forgiving-base64-encoded and + // isomorphic encoded. + const keyValue = crypto.randomBytes(16).toString('base64') + + // 6. Append (`Sec-WebSocket-Key`, keyValue) to request’s + // header list. + request.headersList.append('sec-websocket-key', keyValue) + + // 7. Append (`Sec-WebSocket-Version`, `13`) to request’s + // header list. + request.headersList.append('sec-websocket-version', '13') + + // 8. For each protocol in protocols, combine + // (`Sec-WebSocket-Protocol`, protocol) in request’s header + // list. + for (const protocol of protocols) { + request.headersList.append('sec-websocket-protocol', protocol) + } + + // 9. Let permessageDeflate be a user-agent defined + // "permessage-deflate" extension header value. + // https://github.com/mozilla/gecko-dev/blob/ce78234f5e653a5d3916813ff990f053510227bc/netwerk/protocol/websocket/WebSocketChannel.cpp#L2673 + // TODO: enable once permessage-deflate is supported + const permessageDeflate = '' // 'permessage-deflate; 15' + + // 10. Append (`Sec-WebSocket-Extensions`, permessageDeflate) to + // request’s header list. + // request.headersList.append('sec-websocket-extensions', permessageDeflate) + + // 11. Fetch request with useParallelQueue set to true, and + // processResponse given response being these steps: + const controller = fetching({ + request, + useParallelQueue: true, + dispatcher: options.dispatcher ?? getGlobalDispatcher(), + processResponse (response) { + // 1. If response is a network error or its status is not 101, + // fail the WebSocket connection. + if (response.type === 'error' || response.status !== 101) { + failWebsocketConnection(ws, 'Received network error or non-101 status code.') + return + } + + // 2. If protocols is not the empty list and extracting header + // list values given `Sec-WebSocket-Protocol` and response’s + // header list results in null, failure, or the empty byte + // sequence, then fail the WebSocket connection. + if (protocols.length !== 0 && !response.headersList.get('Sec-WebSocket-Protocol')) { + failWebsocketConnection(ws, 'Server did not respond with sent protocols.') + return + } + + // 3. Follow the requirements stated step 2 to step 6, inclusive, + // of the last set of steps in section 4.1 of The WebSocket + // Protocol to validate response. This either results in fail + // the WebSocket connection or the WebSocket connection is + // established. + + // 2. If the response lacks an |Upgrade| header field or the |Upgrade| + // header field contains a value that is not an ASCII case- + // insensitive match for the value "websocket", the client MUST + // _Fail the WebSocket Connection_. + if (response.headersList.get('Upgrade')?.toLowerCase() !== 'websocket') { + failWebsocketConnection(ws, 'Server did not set Upgrade header to "websocket".') + return + } + + // 3. If the response lacks a |Connection| header field or the + // |Connection| header field doesn't contain a token that is an + // ASCII case-insensitive match for the value "Upgrade", the client + // MUST _Fail the WebSocket Connection_. + if (response.headersList.get('Connection')?.toLowerCase() !== 'upgrade') { + failWebsocketConnection(ws, 'Server did not set Connection header to "upgrade".') + return + } + + // 4. If the response lacks a |Sec-WebSocket-Accept| header field or + // the |Sec-WebSocket-Accept| contains a value other than the + // base64-encoded SHA-1 of the concatenation of the |Sec-WebSocket- + // Key| (as a string, not base64-decoded) with the string "258EAFA5- + // E914-47DA-95CA-C5AB0DC85B11" but ignoring any leading and + // trailing whitespace, the client MUST _Fail the WebSocket + // Connection_. + const secWSAccept = response.headersList.get('Sec-WebSocket-Accept') + const digest = crypto.createHash('sha1').update(keyValue + uid).digest('base64') + if (secWSAccept !== digest) { + failWebsocketConnection(ws, 'Incorrect hash received in Sec-WebSocket-Accept header.') + return + } + + // 5. If the response includes a |Sec-WebSocket-Extensions| header + // field and this header field indicates the use of an extension + // that was not present in the client's handshake (the server has + // indicated an extension not requested by the client), the client + // MUST _Fail the WebSocket Connection_. (The parsing of this + // header field to determine which extensions are requested is + // discussed in Section 9.1.) + const secExtension = response.headersList.get('Sec-WebSocket-Extensions') + + if (secExtension !== null && secExtension !== permessageDeflate) { + failWebsocketConnection(ws, 'Received different permessage-deflate than the one set.') + return + } + + // 6. If the response includes a |Sec-WebSocket-Protocol| header field + // and this header field indicates the use of a subprotocol that was + // not present in the client's handshake (the server has indicated a + // subprotocol not requested by the client), the client MUST _Fail + // the WebSocket Connection_. + const secProtocol = response.headersList.get('Sec-WebSocket-Protocol') + + if (secProtocol !== null && secProtocol !== request.headersList.get('Sec-WebSocket-Protocol')) { + failWebsocketConnection(ws, 'Protocol was not set in the opening handshake.') + return + } + + response.socket.on('data', onSocketData) + response.socket.on('close', onSocketClose) + response.socket.on('error', onSocketError) + + if (channels.open.hasSubscribers) { + channels.open.publish({ + address: response.socket.address(), + protocol: secProtocol, + extensions: secExtension + }) + } + + onEstablish(response) + } + }) + + return controller +} + +/** + * @param {Buffer} chunk + */ +function onSocketData (chunk) { + if (!this.ws[kByteParser].write(chunk)) { + this.pause() + } +} + +/** + * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol + * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.4 + */ +function onSocketClose () { + const { ws } = this + + // If the TCP connection was closed after the + // WebSocket closing handshake was completed, the WebSocket connection + // is said to have been closed _cleanly_. + const wasClean = ws[kSentClose] && ws[kReceivedClose] + + let code = 1005 + let reason = '' + + const result = ws[kByteParser].closingInfo + + if (result) { + code = result.code ?? 1005 + reason = result.reason + } else if (!ws[kSentClose]) { + // If _The WebSocket + // Connection is Closed_ and no Close control frame was received by the + // endpoint (such as could occur if the underlying transport connection + // is lost), _The WebSocket Connection Close Code_ is considered to be + // 1006. + code = 1006 + } + + // 1. Change the ready state to CLOSED (3). + ws[kReadyState] = states.CLOSED + + // 2. If the user agent was required to fail the WebSocket + // connection, or if the WebSocket connection was closed + // after being flagged as full, fire an event named error + // at the WebSocket object. + // TODO + + // 3. Fire an event named close at the WebSocket object, + // using CloseEvent, with the wasClean attribute + // initialized to true if the connection closed cleanly + // and false otherwise, the code attribute initialized to + // the WebSocket connection close code, and the reason + // attribute initialized to the result of applying UTF-8 + // decode without BOM to the WebSocket connection close + // reason. + fireEvent('close', ws, CloseEvent, { + wasClean, code, reason + }) + + if (channels.close.hasSubscribers) { + channels.close.publish({ + websocket: ws, + code, + reason + }) + } +} + +function onSocketError (error) { + const { ws } = this + + ws[kReadyState] = states.CLOSING + + if (channels.socketError.hasSubscribers) { + channels.socketError.publish(error) + } + + this.destroy() +} + +module.exports = { + establishWebSocketConnection +} + + +/***/ }), + +/***/ 9188: +/***/ ((module) => { + +"use strict"; + + +// This is a Globally Unique Identifier unique used +// to validate that the endpoint accepts websocket +// connections. +// See https://www.rfc-editor.org/rfc/rfc6455.html#section-1.3 +const uid = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11' + +/** @type {PropertyDescriptor} */ +const staticPropertyDescriptors = { + enumerable: true, + writable: false, + configurable: false +} + +const states = { + CONNECTING: 0, + OPEN: 1, + CLOSING: 2, + CLOSED: 3 +} + +const opcodes = { + CONTINUATION: 0x0, + TEXT: 0x1, + BINARY: 0x2, + CLOSE: 0x8, + PING: 0x9, + PONG: 0xA +} + +const maxUnsigned16Bit = 2 ** 16 - 1 // 65535 + +const parserStates = { + INFO: 0, + PAYLOADLENGTH_16: 2, + PAYLOADLENGTH_64: 3, + READ_DATA: 4 +} + +const emptyBuffer = Buffer.allocUnsafe(0) + +module.exports = { + uid, + staticPropertyDescriptors, + states, + opcodes, + maxUnsigned16Bit, + parserStates, + emptyBuffer +} + + +/***/ }), + +/***/ 2611: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { webidl } = __nccwpck_require__(1744) +const { kEnumerableProperty } = __nccwpck_require__(3983) +const { MessagePort } = __nccwpck_require__(1267) + +/** + * @see https://html.spec.whatwg.org/multipage/comms.html#messageevent + */ +class MessageEvent extends Event { + #eventInit + + constructor (type, eventInitDict = {}) { + webidl.argumentLengthCheck(arguments, 1, { header: 'MessageEvent constructor' }) + + type = webidl.converters.DOMString(type) + eventInitDict = webidl.converters.MessageEventInit(eventInitDict) + + super(type, eventInitDict) + + this.#eventInit = eventInitDict + } + + get data () { + webidl.brandCheck(this, MessageEvent) + + return this.#eventInit.data + } + + get origin () { + webidl.brandCheck(this, MessageEvent) + + return this.#eventInit.origin + } + + get lastEventId () { + webidl.brandCheck(this, MessageEvent) + + return this.#eventInit.lastEventId + } + + get source () { + webidl.brandCheck(this, MessageEvent) + + return this.#eventInit.source + } + + get ports () { + webidl.brandCheck(this, MessageEvent) + + if (!Object.isFrozen(this.#eventInit.ports)) { + Object.freeze(this.#eventInit.ports) + } + + return this.#eventInit.ports + } + + initMessageEvent ( + type, + bubbles = false, + cancelable = false, + data = null, + origin = '', + lastEventId = '', + source = null, + ports = [] + ) { + webidl.brandCheck(this, MessageEvent) + + webidl.argumentLengthCheck(arguments, 1, { header: 'MessageEvent.initMessageEvent' }) + + return new MessageEvent(type, { + bubbles, cancelable, data, origin, lastEventId, source, ports + }) + } +} + +/** + * @see https://websockets.spec.whatwg.org/#the-closeevent-interface + */ +class CloseEvent extends Event { + #eventInit + + constructor (type, eventInitDict = {}) { + webidl.argumentLengthCheck(arguments, 1, { header: 'CloseEvent constructor' }) + + type = webidl.converters.DOMString(type) + eventInitDict = webidl.converters.CloseEventInit(eventInitDict) + + super(type, eventInitDict) + + this.#eventInit = eventInitDict + } + + get wasClean () { + webidl.brandCheck(this, CloseEvent) + + return this.#eventInit.wasClean + } + + get code () { + webidl.brandCheck(this, CloseEvent) + + return this.#eventInit.code + } + + get reason () { + webidl.brandCheck(this, CloseEvent) + + return this.#eventInit.reason + } +} + +// https://html.spec.whatwg.org/multipage/webappapis.html#the-errorevent-interface +class ErrorEvent extends Event { + #eventInit + + constructor (type, eventInitDict) { + webidl.argumentLengthCheck(arguments, 1, { header: 'ErrorEvent constructor' }) + + super(type, eventInitDict) + + type = webidl.converters.DOMString(type) + eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {}) + + this.#eventInit = eventInitDict + } + + get message () { + webidl.brandCheck(this, ErrorEvent) + + return this.#eventInit.message + } + + get filename () { + webidl.brandCheck(this, ErrorEvent) + + return this.#eventInit.filename + } + + get lineno () { + webidl.brandCheck(this, ErrorEvent) + + return this.#eventInit.lineno + } + + get colno () { + webidl.brandCheck(this, ErrorEvent) + + return this.#eventInit.colno + } + + get error () { + webidl.brandCheck(this, ErrorEvent) + + return this.#eventInit.error + } +} + +Object.defineProperties(MessageEvent.prototype, { + [Symbol.toStringTag]: { + value: 'MessageEvent', + configurable: true + }, + data: kEnumerableProperty, + origin: kEnumerableProperty, + lastEventId: kEnumerableProperty, + source: kEnumerableProperty, + ports: kEnumerableProperty, + initMessageEvent: kEnumerableProperty +}) + +Object.defineProperties(CloseEvent.prototype, { + [Symbol.toStringTag]: { + value: 'CloseEvent', + configurable: true + }, + reason: kEnumerableProperty, + code: kEnumerableProperty, + wasClean: kEnumerableProperty +}) + +Object.defineProperties(ErrorEvent.prototype, { + [Symbol.toStringTag]: { + value: 'ErrorEvent', + configurable: true + }, + message: kEnumerableProperty, + filename: kEnumerableProperty, + lineno: kEnumerableProperty, + colno: kEnumerableProperty, + error: kEnumerableProperty +}) + +webidl.converters.MessagePort = webidl.interfaceConverter(MessagePort) + +webidl.converters['sequence'] = webidl.sequenceConverter( + webidl.converters.MessagePort +) + +const eventInit = [ + { + key: 'bubbles', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'cancelable', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'composed', + converter: webidl.converters.boolean, + defaultValue: false + } +] + +webidl.converters.MessageEventInit = webidl.dictionaryConverter([ + ...eventInit, + { + key: 'data', + converter: webidl.converters.any, + defaultValue: null + }, + { + key: 'origin', + converter: webidl.converters.USVString, + defaultValue: '' + }, + { + key: 'lastEventId', + converter: webidl.converters.DOMString, + defaultValue: '' + }, + { + key: 'source', + // Node doesn't implement WindowProxy or ServiceWorker, so the only + // valid value for source is a MessagePort. + converter: webidl.nullableConverter(webidl.converters.MessagePort), + defaultValue: null + }, + { + key: 'ports', + converter: webidl.converters['sequence'], + get defaultValue () { + return [] + } + } +]) + +webidl.converters.CloseEventInit = webidl.dictionaryConverter([ + ...eventInit, + { + key: 'wasClean', + converter: webidl.converters.boolean, + defaultValue: false + }, + { + key: 'code', + converter: webidl.converters['unsigned short'], + defaultValue: 0 + }, + { + key: 'reason', + converter: webidl.converters.USVString, + defaultValue: '' + } +]) + +webidl.converters.ErrorEventInit = webidl.dictionaryConverter([ + ...eventInit, + { + key: 'message', + converter: webidl.converters.DOMString, + defaultValue: '' + }, + { + key: 'filename', + converter: webidl.converters.USVString, + defaultValue: '' + }, + { + key: 'lineno', + converter: webidl.converters['unsigned long'], + defaultValue: 0 + }, + { + key: 'colno', + converter: webidl.converters['unsigned long'], + defaultValue: 0 + }, + { + key: 'error', + converter: webidl.converters.any + } +]) + +module.exports = { + MessageEvent, + CloseEvent, + ErrorEvent +} + + +/***/ }), + +/***/ 5444: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { maxUnsigned16Bit } = __nccwpck_require__(9188) + +/** @type {import('crypto')} */ +let crypto +try { + crypto = __nccwpck_require__(6113) +} catch { + +} + +class WebsocketFrameSend { + /** + * @param {Buffer|undefined} data + */ + constructor (data) { + this.frameData = data + this.maskKey = crypto.randomBytes(4) + } + + createFrame (opcode) { + const bodyLength = this.frameData?.byteLength ?? 0 + + /** @type {number} */ + let payloadLength = bodyLength // 0-125 + let offset = 6 + + if (bodyLength > maxUnsigned16Bit) { + offset += 8 // payload length is next 8 bytes + payloadLength = 127 + } else if (bodyLength > 125) { + offset += 2 // payload length is next 2 bytes + payloadLength = 126 + } + + const buffer = Buffer.allocUnsafe(bodyLength + offset) + + // Clear first 2 bytes, everything else is overwritten + buffer[0] = buffer[1] = 0 + buffer[0] |= 0x80 // FIN + buffer[0] = (buffer[0] & 0xF0) + opcode // opcode + + /*! ws. MIT License. Einar Otto Stangvik */ + buffer[offset - 4] = this.maskKey[0] + buffer[offset - 3] = this.maskKey[1] + buffer[offset - 2] = this.maskKey[2] + buffer[offset - 1] = this.maskKey[3] + + buffer[1] = payloadLength + + if (payloadLength === 126) { + buffer.writeUInt16BE(bodyLength, 2) + } else if (payloadLength === 127) { + // Clear extended payload length + buffer[2] = buffer[3] = 0 + buffer.writeUIntBE(bodyLength, 4, 6) + } + + buffer[1] |= 0x80 // MASK + + // mask body + for (let i = 0; i < bodyLength; i++) { + buffer[offset + i] = this.frameData[i] ^ this.maskKey[i % 4] + } + + return buffer + } +} + +module.exports = { + WebsocketFrameSend +} + + +/***/ }), + +/***/ 1688: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { Writable } = __nccwpck_require__(2781) +const diagnosticsChannel = __nccwpck_require__(7643) +const { parserStates, opcodes, states, emptyBuffer } = __nccwpck_require__(9188) +const { kReadyState, kSentClose, kResponse, kReceivedClose } = __nccwpck_require__(7578) +const { isValidStatusCode, failWebsocketConnection, websocketMessageReceived } = __nccwpck_require__(5515) +const { WebsocketFrameSend } = __nccwpck_require__(5444) + +// This code was influenced by ws released under the MIT license. +// Copyright (c) 2011 Einar Otto Stangvik +// Copyright (c) 2013 Arnout Kazemier and contributors +// Copyright (c) 2016 Luigi Pinca and contributors + +const channels = {} +channels.ping = diagnosticsChannel.channel('undici:websocket:ping') +channels.pong = diagnosticsChannel.channel('undici:websocket:pong') + +class ByteParser extends Writable { + #buffers = [] + #byteOffset = 0 + + #state = parserStates.INFO + + #info = {} + #fragments = [] + + constructor (ws) { + super() + + this.ws = ws + } + + /** + * @param {Buffer} chunk + * @param {() => void} callback + */ + _write (chunk, _, callback) { + this.#buffers.push(chunk) + this.#byteOffset += chunk.length + + this.run(callback) + } + + /** + * Runs whenever a new chunk is received. + * Callback is called whenever there are no more chunks buffering, + * or not enough bytes are buffered to parse. + */ + run (callback) { + while (true) { + if (this.#state === parserStates.INFO) { + // If there aren't enough bytes to parse the payload length, etc. + if (this.#byteOffset < 2) { + return callback() + } + + const buffer = this.consume(2) + + this.#info.fin = (buffer[0] & 0x80) !== 0 + this.#info.opcode = buffer[0] & 0x0F + + // If we receive a fragmented message, we use the type of the first + // frame to parse the full message as binary/text, when it's terminated + this.#info.originalOpcode ??= this.#info.opcode + + this.#info.fragmented = !this.#info.fin && this.#info.opcode !== opcodes.CONTINUATION + + if (this.#info.fragmented && this.#info.opcode !== opcodes.BINARY && this.#info.opcode !== opcodes.TEXT) { + // Only text and binary frames can be fragmented + failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.') + return + } + + const payloadLength = buffer[1] & 0x7F + + if (payloadLength <= 125) { + this.#info.payloadLength = payloadLength + this.#state = parserStates.READ_DATA + } else if (payloadLength === 126) { + this.#state = parserStates.PAYLOADLENGTH_16 + } else if (payloadLength === 127) { + this.#state = parserStates.PAYLOADLENGTH_64 + } + + if (this.#info.fragmented && payloadLength > 125) { + // A fragmented frame can't be fragmented itself + failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.') + return + } else if ( + (this.#info.opcode === opcodes.PING || + this.#info.opcode === opcodes.PONG || + this.#info.opcode === opcodes.CLOSE) && + payloadLength > 125 + ) { + // Control frames can have a payload length of 125 bytes MAX + failWebsocketConnection(this.ws, 'Payload length for control frame exceeded 125 bytes.') + return + } else if (this.#info.opcode === opcodes.CLOSE) { + if (payloadLength === 1) { + failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.') + return + } + + const body = this.consume(payloadLength) + + this.#info.closeInfo = this.parseCloseBody(false, body) + + if (!this.ws[kSentClose]) { + // If an endpoint receives a Close frame and did not previously send a + // Close frame, the endpoint MUST send a Close frame in response. (When + // sending a Close frame in response, the endpoint typically echos the + // status code it received.) + const body = Buffer.allocUnsafe(2) + body.writeUInt16BE(this.#info.closeInfo.code, 0) + const closeFrame = new WebsocketFrameSend(body) + + this.ws[kResponse].socket.write( + closeFrame.createFrame(opcodes.CLOSE), + (err) => { + if (!err) { + this.ws[kSentClose] = true + } + } + ) + } + + // Upon either sending or receiving a Close control frame, it is said + // that _The WebSocket Closing Handshake is Started_ and that the + // WebSocket connection is in the CLOSING state. + this.ws[kReadyState] = states.CLOSING + this.ws[kReceivedClose] = true + + this.end() + + return + } else if (this.#info.opcode === opcodes.PING) { + // Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in + // response, unless it already received a Close frame. + // A Pong frame sent in response to a Ping frame must have identical + // "Application data" + + const body = this.consume(payloadLength) + + if (!this.ws[kReceivedClose]) { + const frame = new WebsocketFrameSend(body) + + this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG)) + + if (channels.ping.hasSubscribers) { + channels.ping.publish({ + payload: body + }) + } + } + + this.#state = parserStates.INFO + + if (this.#byteOffset > 0) { + continue + } else { + callback() + return + } + } else if (this.#info.opcode === opcodes.PONG) { + // A Pong frame MAY be sent unsolicited. This serves as a + // unidirectional heartbeat. A response to an unsolicited Pong frame is + // not expected. + + const body = this.consume(payloadLength) + + if (channels.pong.hasSubscribers) { + channels.pong.publish({ + payload: body + }) + } + + if (this.#byteOffset > 0) { + continue + } else { + callback() + return + } + } + } else if (this.#state === parserStates.PAYLOADLENGTH_16) { + if (this.#byteOffset < 2) { + return callback() + } + + const buffer = this.consume(2) + + this.#info.payloadLength = buffer.readUInt16BE(0) + this.#state = parserStates.READ_DATA + } else if (this.#state === parserStates.PAYLOADLENGTH_64) { + if (this.#byteOffset < 8) { + return callback() + } + + const buffer = this.consume(8) + const upper = buffer.readUInt32BE(0) + + // 2^31 is the maxinimum bytes an arraybuffer can contain + // on 32-bit systems. Although, on 64-bit systems, this is + // 2^53-1 bytes. + // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length + // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/globals.h;drc=1946212ac0100668f14eb9e2843bdd846e510a1e;bpv=1;bpt=1;l=1275 + // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/objects/js-array-buffer.h;l=34;drc=1946212ac0100668f14eb9e2843bdd846e510a1e + if (upper > 2 ** 31 - 1) { + failWebsocketConnection(this.ws, 'Received payload length > 2^31 bytes.') + return + } + + const lower = buffer.readUInt32BE(4) + + this.#info.payloadLength = (upper << 8) + lower + this.#state = parserStates.READ_DATA + } else if (this.#state === parserStates.READ_DATA) { + if (this.#byteOffset < this.#info.payloadLength) { + // If there is still more data in this chunk that needs to be read + return callback() + } else if (this.#byteOffset >= this.#info.payloadLength) { + // If the server sent multiple frames in a single chunk + + const body = this.consume(this.#info.payloadLength) + + this.#fragments.push(body) + + // If the frame is unfragmented, or a fragmented frame was terminated, + // a message was received + if (!this.#info.fragmented || (this.#info.fin && this.#info.opcode === opcodes.CONTINUATION)) { + const fullMessage = Buffer.concat(this.#fragments) + + websocketMessageReceived(this.ws, this.#info.originalOpcode, fullMessage) + + this.#info = {} + this.#fragments.length = 0 + } + + this.#state = parserStates.INFO + } + } + + if (this.#byteOffset > 0) { + continue + } else { + callback() + break + } + } + } + + /** + * Take n bytes from the buffered Buffers + * @param {number} n + * @returns {Buffer|null} + */ + consume (n) { + if (n > this.#byteOffset) { + return null + } else if (n === 0) { + return emptyBuffer + } + + if (this.#buffers[0].length === n) { + this.#byteOffset -= this.#buffers[0].length + return this.#buffers.shift() + } + + const buffer = Buffer.allocUnsafe(n) + let offset = 0 + + while (offset !== n) { + const next = this.#buffers[0] + const { length } = next + + if (length + offset === n) { + buffer.set(this.#buffers.shift(), offset) + break + } else if (length + offset > n) { + buffer.set(next.subarray(0, n - offset), offset) + this.#buffers[0] = next.subarray(n - offset) + break + } else { + buffer.set(this.#buffers.shift(), offset) + offset += next.length + } + } + + this.#byteOffset -= n + + return buffer + } + + parseCloseBody (onlyCode, data) { + // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.5 + /** @type {number|undefined} */ + let code + + if (data.length >= 2) { + // _The WebSocket Connection Close Code_ is + // defined as the status code (Section 7.4) contained in the first Close + // control frame received by the application + code = data.readUInt16BE(0) + } + + if (onlyCode) { + if (!isValidStatusCode(code)) { + return null + } + + return { code } + } + + // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6 + /** @type {Buffer} */ + let reason = data.subarray(2) + + // Remove BOM + if (reason[0] === 0xEF && reason[1] === 0xBB && reason[2] === 0xBF) { + reason = reason.subarray(3) + } + + if (code !== undefined && !isValidStatusCode(code)) { + return null + } + + try { + // TODO: optimize this + reason = new TextDecoder('utf-8', { fatal: true }).decode(reason) + } catch { + return null + } + + return { code, reason } + } + + get closingInfo () { + return this.#info.closeInfo + } +} + +module.exports = { + ByteParser +} + + +/***/ }), + +/***/ 7578: +/***/ ((module) => { + +"use strict"; + + +module.exports = { + kWebSocketURL: Symbol('url'), + kReadyState: Symbol('ready state'), + kController: Symbol('controller'), + kResponse: Symbol('response'), + kBinaryType: Symbol('binary type'), + kSentClose: Symbol('sent close'), + kReceivedClose: Symbol('received close'), + kByteParser: Symbol('byte parser') +} + + +/***/ }), + +/***/ 5515: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = __nccwpck_require__(7578) +const { states, opcodes } = __nccwpck_require__(9188) +const { MessageEvent, ErrorEvent } = __nccwpck_require__(2611) + +/* globals Blob */ + +/** + * @param {import('./websocket').WebSocket} ws + */ +function isEstablished (ws) { + // If the server's response is validated as provided for above, it is + // said that _The WebSocket Connection is Established_ and that the + // WebSocket Connection is in the OPEN state. + return ws[kReadyState] === states.OPEN +} + +/** + * @param {import('./websocket').WebSocket} ws + */ +function isClosing (ws) { + // Upon either sending or receiving a Close control frame, it is said + // that _The WebSocket Closing Handshake is Started_ and that the + // WebSocket connection is in the CLOSING state. + return ws[kReadyState] === states.CLOSING +} + +/** + * @param {import('./websocket').WebSocket} ws + */ +function isClosed (ws) { + return ws[kReadyState] === states.CLOSED +} + +/** + * @see https://dom.spec.whatwg.org/#concept-event-fire + * @param {string} e + * @param {EventTarget} target + * @param {EventInit | undefined} eventInitDict + */ +function fireEvent (e, target, eventConstructor = Event, eventInitDict) { + // 1. If eventConstructor is not given, then let eventConstructor be Event. + + // 2. Let event be the result of creating an event given eventConstructor, + // in the relevant realm of target. + // 3. Initialize event’s type attribute to e. + const event = new eventConstructor(e, eventInitDict) // eslint-disable-line new-cap + + // 4. Initialize any other IDL attributes of event as described in the + // invocation of this algorithm. + + // 5. Return the result of dispatching event at target, with legacy target + // override flag set if set. + target.dispatchEvent(event) +} + +/** + * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol + * @param {import('./websocket').WebSocket} ws + * @param {number} type Opcode + * @param {Buffer} data application data + */ +function websocketMessageReceived (ws, type, data) { + // 1. If ready state is not OPEN (1), then return. + if (ws[kReadyState] !== states.OPEN) { + return + } + + // 2. Let dataForEvent be determined by switching on type and binary type: + let dataForEvent + + if (type === opcodes.TEXT) { + // -> type indicates that the data is Text + // a new DOMString containing data + try { + dataForEvent = new TextDecoder('utf-8', { fatal: true }).decode(data) + } catch { + failWebsocketConnection(ws, 'Received invalid UTF-8 in text frame.') + return + } + } else if (type === opcodes.BINARY) { + if (ws[kBinaryType] === 'blob') { + // -> type indicates that the data is Binary and binary type is "blob" + // a new Blob object, created in the relevant Realm of the WebSocket + // object, that represents data as its raw data + dataForEvent = new Blob([data]) + } else { + // -> type indicates that the data is Binary and binary type is "arraybuffer" + // a new ArrayBuffer object, created in the relevant Realm of the + // WebSocket object, whose contents are data + dataForEvent = new Uint8Array(data).buffer + } + } + + // 3. Fire an event named message at the WebSocket object, using MessageEvent, + // with the origin attribute initialized to the serialization of the WebSocket + // object’s url's origin, and the data attribute initialized to dataForEvent. + fireEvent('message', ws, MessageEvent, { + origin: ws[kWebSocketURL].origin, + data: dataForEvent + }) +} + +/** + * @see https://datatracker.ietf.org/doc/html/rfc6455 + * @see https://datatracker.ietf.org/doc/html/rfc2616 + * @see https://bugs.chromium.org/p/chromium/issues/detail?id=398407 + * @param {string} protocol + */ +function isValidSubprotocol (protocol) { + // If present, this value indicates one + // or more comma-separated subprotocol the client wishes to speak, + // ordered by preference. The elements that comprise this value + // MUST be non-empty strings with characters in the range U+0021 to + // U+007E not including separator characters as defined in + // [RFC2616] and MUST all be unique strings. + if (protocol.length === 0) { + return false + } + + for (const char of protocol) { + const code = char.charCodeAt(0) + + if ( + code < 0x21 || + code > 0x7E || + char === '(' || + char === ')' || + char === '<' || + char === '>' || + char === '@' || + char === ',' || + char === ';' || + char === ':' || + char === '\\' || + char === '"' || + char === '/' || + char === '[' || + char === ']' || + char === '?' || + char === '=' || + char === '{' || + char === '}' || + code === 32 || // SP + code === 9 // HT + ) { + return false + } + } + + return true +} + +/** + * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7-4 + * @param {number} code + */ +function isValidStatusCode (code) { + if (code >= 1000 && code < 1015) { + return ( + code !== 1004 && // reserved + code !== 1005 && // "MUST NOT be set as a status code" + code !== 1006 // "MUST NOT be set as a status code" + ) + } + + return code >= 3000 && code <= 4999 +} + +/** + * @param {import('./websocket').WebSocket} ws + * @param {string|undefined} reason + */ +function failWebsocketConnection (ws, reason) { + const { [kController]: controller, [kResponse]: response } = ws + + controller.abort() + + if (response?.socket && !response.socket.destroyed) { + response.socket.destroy() + } + + if (reason) { + fireEvent('error', ws, ErrorEvent, { + error: new Error(reason) + }) + } +} + +module.exports = { + isEstablished, + isClosing, + isClosed, + fireEvent, + isValidSubprotocol, + isValidStatusCode, + failWebsocketConnection, + websocketMessageReceived +} + + +/***/ }), + +/***/ 4284: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const { webidl } = __nccwpck_require__(1744) +const { DOMException } = __nccwpck_require__(1037) +const { URLSerializer } = __nccwpck_require__(685) +const { getGlobalOrigin } = __nccwpck_require__(1246) +const { staticPropertyDescriptors, states, opcodes, emptyBuffer } = __nccwpck_require__(9188) +const { + kWebSocketURL, + kReadyState, + kController, + kBinaryType, + kResponse, + kSentClose, + kByteParser +} = __nccwpck_require__(7578) +const { isEstablished, isClosing, isValidSubprotocol, failWebsocketConnection, fireEvent } = __nccwpck_require__(5515) +const { establishWebSocketConnection } = __nccwpck_require__(5354) +const { WebsocketFrameSend } = __nccwpck_require__(5444) +const { ByteParser } = __nccwpck_require__(1688) +const { kEnumerableProperty, isBlobLike } = __nccwpck_require__(3983) +const { getGlobalDispatcher } = __nccwpck_require__(1892) +const { types } = __nccwpck_require__(3837) + +let experimentalWarned = false + +// https://websockets.spec.whatwg.org/#interface-definition +class WebSocket extends EventTarget { + #events = { + open: null, + error: null, + close: null, + message: null + } + + #bufferedAmount = 0 + #protocol = '' + #extensions = '' + + /** + * @param {string} url + * @param {string|string[]} protocols + */ + constructor (url, protocols = []) { + super() + + webidl.argumentLengthCheck(arguments, 1, { header: 'WebSocket constructor' }) + + if (!experimentalWarned) { + experimentalWarned = true + process.emitWarning('WebSockets are experimental, expect them to change at any time.', { + code: 'UNDICI-WS' + }) + } + + const options = webidl.converters['DOMString or sequence or WebSocketInit'](protocols) + + url = webidl.converters.USVString(url) + protocols = options.protocols + + // 1. Let baseURL be this's relevant settings object's API base URL. + const baseURL = getGlobalOrigin() + + // 1. Let urlRecord be the result of applying the URL parser to url with baseURL. + let urlRecord + + try { + urlRecord = new URL(url, baseURL) + } catch (e) { + // 3. If urlRecord is failure, then throw a "SyntaxError" DOMException. + throw new DOMException(e, 'SyntaxError') + } + + // 4. If urlRecord’s scheme is "http", then set urlRecord’s scheme to "ws". + if (urlRecord.protocol === 'http:') { + urlRecord.protocol = 'ws:' + } else if (urlRecord.protocol === 'https:') { + // 5. Otherwise, if urlRecord’s scheme is "https", set urlRecord’s scheme to "wss". + urlRecord.protocol = 'wss:' + } + + // 6. If urlRecord’s scheme is not "ws" or "wss", then throw a "SyntaxError" DOMException. + if (urlRecord.protocol !== 'ws:' && urlRecord.protocol !== 'wss:') { + throw new DOMException( + `Expected a ws: or wss: protocol, got ${urlRecord.protocol}`, + 'SyntaxError' + ) + } + + // 7. If urlRecord’s fragment is non-null, then throw a "SyntaxError" + // DOMException. + if (urlRecord.hash || urlRecord.href.endsWith('#')) { + throw new DOMException('Got fragment', 'SyntaxError') + } + + // 8. If protocols is a string, set protocols to a sequence consisting + // of just that string. + if (typeof protocols === 'string') { + protocols = [protocols] + } + + // 9. If any of the values in protocols occur more than once or otherwise + // fail to match the requirements for elements that comprise the value + // of `Sec-WebSocket-Protocol` fields as defined by The WebSocket + // protocol, then throw a "SyntaxError" DOMException. + if (protocols.length !== new Set(protocols.map(p => p.toLowerCase())).size) { + throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError') + } + + if (protocols.length > 0 && !protocols.every(p => isValidSubprotocol(p))) { + throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError') + } + + // 10. Set this's url to urlRecord. + this[kWebSocketURL] = new URL(urlRecord.href) + + // 11. Let client be this's relevant settings object. + + // 12. Run this step in parallel: + + // 1. Establish a WebSocket connection given urlRecord, protocols, + // and client. + this[kController] = establishWebSocketConnection( + urlRecord, + protocols, + this, + (response) => this.#onConnectionEstablished(response), + options + ) + + // Each WebSocket object has an associated ready state, which is a + // number representing the state of the connection. Initially it must + // be CONNECTING (0). + this[kReadyState] = WebSocket.CONNECTING + + // The extensions attribute must initially return the empty string. + + // The protocol attribute must initially return the empty string. + + // Each WebSocket object has an associated binary type, which is a + // BinaryType. Initially it must be "blob". + this[kBinaryType] = 'blob' + } + + /** + * @see https://websockets.spec.whatwg.org/#dom-websocket-close + * @param {number|undefined} code + * @param {string|undefined} reason + */ + close (code = undefined, reason = undefined) { + webidl.brandCheck(this, WebSocket) + + if (code !== undefined) { + code = webidl.converters['unsigned short'](code, { clamp: true }) + } + + if (reason !== undefined) { + reason = webidl.converters.USVString(reason) + } + + // 1. If code is present, but is neither an integer equal to 1000 nor an + // integer in the range 3000 to 4999, inclusive, throw an + // "InvalidAccessError" DOMException. + if (code !== undefined) { + if (code !== 1000 && (code < 3000 || code > 4999)) { + throw new DOMException('invalid code', 'InvalidAccessError') + } + } + + let reasonByteLength = 0 + + // 2. If reason is present, then run these substeps: + if (reason !== undefined) { + // 1. Let reasonBytes be the result of encoding reason. + // 2. If reasonBytes is longer than 123 bytes, then throw a + // "SyntaxError" DOMException. + reasonByteLength = Buffer.byteLength(reason) + + if (reasonByteLength > 123) { + throw new DOMException( + `Reason must be less than 123 bytes; received ${reasonByteLength}`, + 'SyntaxError' + ) + } + } + + // 3. Run the first matching steps from the following list: + if (this[kReadyState] === WebSocket.CLOSING || this[kReadyState] === WebSocket.CLOSED) { + // If this's ready state is CLOSING (2) or CLOSED (3) + // Do nothing. + } else if (!isEstablished(this)) { + // If the WebSocket connection is not yet established + // Fail the WebSocket connection and set this's ready state + // to CLOSING (2). + failWebsocketConnection(this, 'Connection was closed before it was established.') + this[kReadyState] = WebSocket.CLOSING + } else if (!isClosing(this)) { + // If the WebSocket closing handshake has not yet been started + // Start the WebSocket closing handshake and set this's ready + // state to CLOSING (2). + // - If neither code nor reason is present, the WebSocket Close + // message must not have a body. + // - If code is present, then the status code to use in the + // WebSocket Close message must be the integer given by code. + // - If reason is also present, then reasonBytes must be + // provided in the Close message after the status code. + + const frame = new WebsocketFrameSend() + + // If neither code nor reason is present, the WebSocket Close + // message must not have a body. + + // If code is present, then the status code to use in the + // WebSocket Close message must be the integer given by code. + if (code !== undefined && reason === undefined) { + frame.frameData = Buffer.allocUnsafe(2) + frame.frameData.writeUInt16BE(code, 0) + } else if (code !== undefined && reason !== undefined) { + // If reason is also present, then reasonBytes must be + // provided in the Close message after the status code. + frame.frameData = Buffer.allocUnsafe(2 + reasonByteLength) + frame.frameData.writeUInt16BE(code, 0) + // the body MAY contain UTF-8-encoded data with value /reason/ + frame.frameData.write(reason, 2, 'utf-8') + } else { + frame.frameData = emptyBuffer + } + + /** @type {import('stream').Duplex} */ + const socket = this[kResponse].socket + + socket.write(frame.createFrame(opcodes.CLOSE), (err) => { + if (!err) { + this[kSentClose] = true + } + }) + + // Upon either sending or receiving a Close control frame, it is said + // that _The WebSocket Closing Handshake is Started_ and that the + // WebSocket connection is in the CLOSING state. + this[kReadyState] = states.CLOSING + } else { + // Otherwise + // Set this's ready state to CLOSING (2). + this[kReadyState] = WebSocket.CLOSING + } + } + + /** + * @see https://websockets.spec.whatwg.org/#dom-websocket-send + * @param {NodeJS.TypedArray|ArrayBuffer|Blob|string} data + */ + send (data) { + webidl.brandCheck(this, WebSocket) + + webidl.argumentLengthCheck(arguments, 1, { header: 'WebSocket.send' }) + + data = webidl.converters.WebSocketSendData(data) + + // 1. If this's ready state is CONNECTING, then throw an + // "InvalidStateError" DOMException. + if (this[kReadyState] === WebSocket.CONNECTING) { + throw new DOMException('Sent before connected.', 'InvalidStateError') + } + + // 2. Run the appropriate set of steps from the following list: + // https://datatracker.ietf.org/doc/html/rfc6455#section-6.1 + // https://datatracker.ietf.org/doc/html/rfc6455#section-5.2 + + if (!isEstablished(this) || isClosing(this)) { + return + } + + /** @type {import('stream').Duplex} */ + const socket = this[kResponse].socket + + // If data is a string + if (typeof data === 'string') { + // If the WebSocket connection is established and the WebSocket + // closing handshake has not yet started, then the user agent + // must send a WebSocket Message comprised of the data argument + // using a text frame opcode; if the data cannot be sent, e.g. + // because it would need to be buffered but the buffer is full, + // the user agent must flag the WebSocket as full and then close + // the WebSocket connection. Any invocation of this method with a + // string argument that does not throw an exception must increase + // the bufferedAmount attribute by the number of bytes needed to + // express the argument as UTF-8. + + const value = Buffer.from(data) + const frame = new WebsocketFrameSend(value) + const buffer = frame.createFrame(opcodes.TEXT) + + this.#bufferedAmount += value.byteLength + socket.write(buffer, () => { + this.#bufferedAmount -= value.byteLength + }) + } else if (types.isArrayBuffer(data)) { + // If the WebSocket connection is established, and the WebSocket + // closing handshake has not yet started, then the user agent must + // send a WebSocket Message comprised of data using a binary frame + // opcode; if the data cannot be sent, e.g. because it would need + // to be buffered but the buffer is full, the user agent must flag + // the WebSocket as full and then close the WebSocket connection. + // The data to be sent is the data stored in the buffer described + // by the ArrayBuffer object. Any invocation of this method with an + // ArrayBuffer argument that does not throw an exception must + // increase the bufferedAmount attribute by the length of the + // ArrayBuffer in bytes. + + const value = Buffer.from(data) + const frame = new WebsocketFrameSend(value) + const buffer = frame.createFrame(opcodes.BINARY) + + this.#bufferedAmount += value.byteLength + socket.write(buffer, () => { + this.#bufferedAmount -= value.byteLength + }) + } else if (ArrayBuffer.isView(data)) { + // If the WebSocket connection is established, and the WebSocket + // closing handshake has not yet started, then the user agent must + // send a WebSocket Message comprised of data using a binary frame + // opcode; if the data cannot be sent, e.g. because it would need to + // be buffered but the buffer is full, the user agent must flag the + // WebSocket as full and then close the WebSocket connection. The + // data to be sent is the data stored in the section of the buffer + // described by the ArrayBuffer object that data references. Any + // invocation of this method with this kind of argument that does + // not throw an exception must increase the bufferedAmount attribute + // by the length of data’s buffer in bytes. + + const ab = Buffer.from(data, data.byteOffset, data.byteLength) + + const frame = new WebsocketFrameSend(ab) + const buffer = frame.createFrame(opcodes.BINARY) + + this.#bufferedAmount += ab.byteLength + socket.write(buffer, () => { + this.#bufferedAmount -= ab.byteLength + }) + } else if (isBlobLike(data)) { + // If the WebSocket connection is established, and the WebSocket + // closing handshake has not yet started, then the user agent must + // send a WebSocket Message comprised of data using a binary frame + // opcode; if the data cannot be sent, e.g. because it would need to + // be buffered but the buffer is full, the user agent must flag the + // WebSocket as full and then close the WebSocket connection. The data + // to be sent is the raw data represented by the Blob object. Any + // invocation of this method with a Blob argument that does not throw + // an exception must increase the bufferedAmount attribute by the size + // of the Blob object’s raw data, in bytes. + + const frame = new WebsocketFrameSend() + + data.arrayBuffer().then((ab) => { + const value = Buffer.from(ab) + frame.frameData = value + const buffer = frame.createFrame(opcodes.BINARY) + + this.#bufferedAmount += value.byteLength + socket.write(buffer, () => { + this.#bufferedAmount -= value.byteLength + }) + }) + } + } + + get readyState () { + webidl.brandCheck(this, WebSocket) + + // The readyState getter steps are to return this's ready state. + return this[kReadyState] + } + + get bufferedAmount () { + webidl.brandCheck(this, WebSocket) + + return this.#bufferedAmount + } + + get url () { + webidl.brandCheck(this, WebSocket) + + // The url getter steps are to return this's url, serialized. + return URLSerializer(this[kWebSocketURL]) + } + + get extensions () { + webidl.brandCheck(this, WebSocket) + + return this.#extensions + } + + get protocol () { + webidl.brandCheck(this, WebSocket) + + return this.#protocol + } + + get onopen () { + webidl.brandCheck(this, WebSocket) + + return this.#events.open + } + + set onopen (fn) { + webidl.brandCheck(this, WebSocket) + + if (this.#events.open) { + this.removeEventListener('open', this.#events.open) + } + + if (typeof fn === 'function') { + this.#events.open = fn + this.addEventListener('open', fn) + } else { + this.#events.open = null + } + } + + get onerror () { + webidl.brandCheck(this, WebSocket) + + return this.#events.error + } + + set onerror (fn) { + webidl.brandCheck(this, WebSocket) + + if (this.#events.error) { + this.removeEventListener('error', this.#events.error) + } + + if (typeof fn === 'function') { + this.#events.error = fn + this.addEventListener('error', fn) + } else { + this.#events.error = null + } + } + + get onclose () { + webidl.brandCheck(this, WebSocket) + + return this.#events.close + } + + set onclose (fn) { + webidl.brandCheck(this, WebSocket) + + if (this.#events.close) { + this.removeEventListener('close', this.#events.close) + } + + if (typeof fn === 'function') { + this.#events.close = fn + this.addEventListener('close', fn) + } else { + this.#events.close = null + } + } + + get onmessage () { + webidl.brandCheck(this, WebSocket) + + return this.#events.message + } + + set onmessage (fn) { + webidl.brandCheck(this, WebSocket) + + if (this.#events.message) { + this.removeEventListener('message', this.#events.message) + } + + if (typeof fn === 'function') { + this.#events.message = fn + this.addEventListener('message', fn) + } else { + this.#events.message = null + } + } + + get binaryType () { + webidl.brandCheck(this, WebSocket) + + return this[kBinaryType] + } + + set binaryType (type) { + webidl.brandCheck(this, WebSocket) + + if (type !== 'blob' && type !== 'arraybuffer') { + this[kBinaryType] = 'blob' + } else { + this[kBinaryType] = type + } + } + + /** + * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol + */ + #onConnectionEstablished (response) { + // processResponse is called when the "response’s header list has been received and initialized." + // once this happens, the connection is open + this[kResponse] = response + + const parser = new ByteParser(this) + parser.on('drain', function onParserDrain () { + this.ws[kResponse].socket.resume() + }) + + response.socket.ws = this + this[kByteParser] = parser + + // 1. Change the ready state to OPEN (1). + this[kReadyState] = states.OPEN + + // 2. Change the extensions attribute’s value to the extensions in use, if + // it is not the null value. + // https://datatracker.ietf.org/doc/html/rfc6455#section-9.1 + const extensions = response.headersList.get('sec-websocket-extensions') + + if (extensions !== null) { + this.#extensions = extensions + } + + // 3. Change the protocol attribute’s value to the subprotocol in use, if + // it is not the null value. + // https://datatracker.ietf.org/doc/html/rfc6455#section-1.9 + const protocol = response.headersList.get('sec-websocket-protocol') + + if (protocol !== null) { + this.#protocol = protocol + } + + // 4. Fire an event named open at the WebSocket object. + fireEvent('open', this) + } +} + +// https://websockets.spec.whatwg.org/#dom-websocket-connecting +WebSocket.CONNECTING = WebSocket.prototype.CONNECTING = states.CONNECTING +// https://websockets.spec.whatwg.org/#dom-websocket-open +WebSocket.OPEN = WebSocket.prototype.OPEN = states.OPEN +// https://websockets.spec.whatwg.org/#dom-websocket-closing +WebSocket.CLOSING = WebSocket.prototype.CLOSING = states.CLOSING +// https://websockets.spec.whatwg.org/#dom-websocket-closed +WebSocket.CLOSED = WebSocket.prototype.CLOSED = states.CLOSED + +Object.defineProperties(WebSocket.prototype, { + CONNECTING: staticPropertyDescriptors, + OPEN: staticPropertyDescriptors, + CLOSING: staticPropertyDescriptors, + CLOSED: staticPropertyDescriptors, + url: kEnumerableProperty, + readyState: kEnumerableProperty, + bufferedAmount: kEnumerableProperty, + onopen: kEnumerableProperty, + onerror: kEnumerableProperty, + onclose: kEnumerableProperty, + close: kEnumerableProperty, + onmessage: kEnumerableProperty, + binaryType: kEnumerableProperty, + send: kEnumerableProperty, + extensions: kEnumerableProperty, + protocol: kEnumerableProperty, + [Symbol.toStringTag]: { + value: 'WebSocket', + writable: false, + enumerable: false, + configurable: true + } +}) + +Object.defineProperties(WebSocket, { + CONNECTING: staticPropertyDescriptors, + OPEN: staticPropertyDescriptors, + CLOSING: staticPropertyDescriptors, + CLOSED: staticPropertyDescriptors +}) + +webidl.converters['sequence'] = webidl.sequenceConverter( + webidl.converters.DOMString +) + +webidl.converters['DOMString or sequence'] = function (V) { + if (webidl.util.Type(V) === 'Object' && Symbol.iterator in V) { + return webidl.converters['sequence'](V) + } + + return webidl.converters.DOMString(V) +} + +// This implements the propsal made in https://github.com/whatwg/websockets/issues/42 +webidl.converters.WebSocketInit = webidl.dictionaryConverter([ + { + key: 'protocols', + converter: webidl.converters['DOMString or sequence'], + get defaultValue () { + return [] + } + }, + { + key: 'dispatcher', + converter: (V) => V, + get defaultValue () { + return getGlobalDispatcher() + } + }, + { + key: 'headers', + converter: webidl.nullableConverter(webidl.converters.HeadersInit) + } +]) + +webidl.converters['DOMString or sequence or WebSocketInit'] = function (V) { + if (webidl.util.Type(V) === 'Object' && !(Symbol.iterator in V)) { + return webidl.converters.WebSocketInit(V) + } + + return { protocols: webidl.converters['DOMString or sequence'](V) } +} + +webidl.converters.WebSocketSendData = function (V) { + if (webidl.util.Type(V) === 'Object') { + if (isBlobLike(V)) { + return webidl.converters.Blob(V, { strict: false }) + } + + if (ArrayBuffer.isView(V) || types.isAnyArrayBuffer(V)) { + return webidl.converters.BufferSource(V) + } + } + + return webidl.converters.USVString(V) +} + +module.exports = { + WebSocket +} + + +/***/ }), + +/***/ 5840: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +Object.defineProperty(exports, "NIL", ({ + enumerable: true, + get: function () { + return _nil.default; + } +})); +Object.defineProperty(exports, "parse", ({ + enumerable: true, + get: function () { + return _parse.default; + } +})); +Object.defineProperty(exports, "stringify", ({ + enumerable: true, + get: function () { + return _stringify.default; + } +})); +Object.defineProperty(exports, "v1", ({ + enumerable: true, + get: function () { + return _v.default; + } +})); +Object.defineProperty(exports, "v3", ({ + enumerable: true, + get: function () { + return _v2.default; + } +})); +Object.defineProperty(exports, "v4", ({ + enumerable: true, + get: function () { + return _v3.default; + } +})); +Object.defineProperty(exports, "v5", ({ + enumerable: true, + get: function () { + return _v4.default; + } +})); +Object.defineProperty(exports, "validate", ({ + enumerable: true, + get: function () { + return _validate.default; + } +})); +Object.defineProperty(exports, "version", ({ + enumerable: true, + get: function () { + return _version.default; + } +})); + +var _v = _interopRequireDefault(__nccwpck_require__(8628)); + +var _v2 = _interopRequireDefault(__nccwpck_require__(6409)); + +var _v3 = _interopRequireDefault(__nccwpck_require__(5122)); + +var _v4 = _interopRequireDefault(__nccwpck_require__(9120)); + +var _nil = _interopRequireDefault(__nccwpck_require__(5332)); + +var _version = _interopRequireDefault(__nccwpck_require__(1595)); + +var _validate = _interopRequireDefault(__nccwpck_require__(6900)); + +var _stringify = _interopRequireDefault(__nccwpck_require__(8950)); + +var _parse = _interopRequireDefault(__nccwpck_require__(2746)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/***/ }), + +/***/ 4569: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +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 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; + +/***/ }), + +/***/ 2054: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +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 }; } + +var _default = { + randomUUID: _crypto.default.randomUUID +}; +exports["default"] = _default; + +/***/ }), + +/***/ 5332: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _default = '00000000-0000-0000-0000-000000000000'; +exports["default"] = _default; + +/***/ }), + +/***/ 2746: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _validate = _interopRequireDefault(__nccwpck_require__(6900)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function parse(uuid) { + if (!(0, _validate.default)(uuid)) { + throw TypeError('Invalid UUID'); + } + + let v; + const arr = new Uint8Array(16); // Parse ########-....-....-....-............ + + arr[0] = (v = parseInt(uuid.slice(0, 8), 16)) >>> 24; + arr[1] = v >>> 16 & 0xff; + arr[2] = v >>> 8 & 0xff; + arr[3] = v & 0xff; // Parse ........-####-....-....-............ + + arr[4] = (v = parseInt(uuid.slice(9, 13), 16)) >>> 8; + arr[5] = v & 0xff; // Parse ........-....-####-....-............ + + arr[6] = (v = parseInt(uuid.slice(14, 18), 16)) >>> 8; + arr[7] = v & 0xff; // Parse ........-....-....-####-............ + + arr[8] = (v = parseInt(uuid.slice(19, 23), 16)) >>> 8; + arr[9] = v & 0xff; // Parse ........-....-....-....-############ + // (Use "/" to avoid 32-bit truncation when bit-shifting high-order bytes) + + arr[10] = (v = parseInt(uuid.slice(24, 36), 16)) / 0x10000000000 & 0xff; + arr[11] = v / 0x100000000 & 0xff; + arr[12] = v >>> 24 & 0xff; + arr[13] = v >>> 16 & 0xff; + arr[14] = v >>> 8 & 0xff; + arr[15] = v & 0xff; + return arr; +} + +var _default = parse; +exports["default"] = _default; + +/***/ }), + +/***/ 814: +/***/ ((__unused_webpack_module, exports) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +var _default = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i; +exports["default"] = _default; + +/***/ }), + +/***/ 807: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = rng; + +var _crypto = _interopRequireDefault(__nccwpck_require__(6113)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const rnds8Pool = new Uint8Array(256); // # of random values to pre-allocate + +let poolPtr = rnds8Pool.length; + +function rng() { + if (poolPtr > rnds8Pool.length - 16) { + _crypto.default.randomFillSync(rnds8Pool); + + poolPtr = 0; + } + + return rnds8Pool.slice(poolPtr, poolPtr += 16); +} + +/***/ }), + +/***/ 5274: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +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'); + } + + return _crypto.default.createHash('sha1').update(bytes).digest(); +} + +var _default = sha1; +exports["default"] = _default; + +/***/ }), + +/***/ 8950: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; +exports.unsafeStringify = unsafeStringify; + +var _validate = _interopRequireDefault(__nccwpck_require__(6900)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +/** + * Convert array of 16 byte values to UUID string format of the form: + * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX + */ +const byteToHex = []; + +for (let i = 0; i < 256; ++i) { + byteToHex.push((i + 0x100).toString(16).slice(1)); +} + +function unsafeStringify(arr, offset = 0) { + // Note: Be careful editing this code! It's been tuned for performance + // and works in ways you may not expect. See https://github.com/uuidjs/uuid/pull/434 + return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + '-' + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + '-' + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + '-' + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + '-' + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]; +} + +function stringify(arr, offset = 0) { + const uuid = unsafeStringify(arr, offset); // Consistency check for valid UUID. If this throws, it's likely due to one + // of the following: + // - One or more input array values don't map to a hex octet (leading to + // "undefined" in the uuid) + // - Invalid input values for the RFC `version` or `variant` fields + + if (!(0, _validate.default)(uuid)) { + throw TypeError('Stringified UUID is invalid'); + } + + return uuid; +} + +var _default = stringify; +exports["default"] = _default; + +/***/ }), + +/***/ 8628: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _rng = _interopRequireDefault(__nccwpck_require__(807)); + +var _stringify = __nccwpck_require__(8950); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +// **`v1()` - Generate time-based UUID** +// +// Inspired by https://github.com/LiosK/UUID.js +// and http://docs.python.org/library/uuid.html +let _nodeId; + +let _clockseq; // Previous uuid creation time + + +let _lastMSecs = 0; +let _lastNSecs = 0; // See https://github.com/uuidjs/uuid for API details + +function v1(options, buf, offset) { + let i = buf && offset || 0; + const b = buf || new Array(16); + options = options || {}; + let node = options.node || _nodeId; + let 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 + + if (node == null || clockseq == null) { + const seedBytes = options.random || (options.rng || _rng.default)(); + + 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. + + + let msecs = options.msecs !== undefined ? options.msecs : Date.now(); // Per 4.2.1.2, use count of uuid's generated during the current clock + // cycle to simulate higher resolution clock + + let nsecs = options.nsecs !== undefined ? options.nsecs : _lastNSecs + 1; // Time since last uuid creation (in msecs) + + const 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 + + + 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` + + const 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` + + const tmh = msecs / 0x100000000 * 10000 & 0xfffffff; + b[i++] = tmh >>> 8 & 0xff; + b[i++] = tmh & 0xff; // `time_high_and_version` + + 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` + + for (let n = 0; n < 6; ++n) { + b[i + n] = node[n]; + } + + return buf || (0, _stringify.unsafeStringify)(b); +} + +var _default = v1; +exports["default"] = _default; + +/***/ }), + +/***/ 6409: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _v = _interopRequireDefault(__nccwpck_require__(5998)); + +var _md = _interopRequireDefault(__nccwpck_require__(4569)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +const v3 = (0, _v.default)('v3', 0x30, _md.default); +var _default = v3; +exports["default"] = _default; + +/***/ }), + +/***/ 5998: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports.URL = exports.DNS = void 0; +exports["default"] = v35; + +var _stringify = __nccwpck_require__(8950); + +var _parse = _interopRequireDefault(__nccwpck_require__(2746)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function stringToBytes(str) { + str = unescape(encodeURIComponent(str)); // UTF8 escape + + const bytes = []; + + for (let i = 0; i < str.length; ++i) { + bytes.push(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; + +function v35(name, version, hashfunc) { + function generateUUID(value, namespace, buf, offset) { + var _namespace; + + if (typeof value === 'string') { + value = stringToBytes(value); + } + + if (typeof namespace === 'string') { + namespace = (0, _parse.default)(namespace); + } + + if (((_namespace = namespace) === null || _namespace === void 0 ? void 0 : _namespace.length) !== 16) { + throw TypeError('Namespace must be array-like (16 iterable integer values, 0-255)'); + } // Compute hash of namespace and value, Per 4.3 + // Future: Use spread syntax when supported on all platforms, e.g. `bytes = + // hashfunc([...namespace, ... value])` + + + let bytes = new Uint8Array(16 + value.length); + bytes.set(namespace); + bytes.set(value, namespace.length); + bytes = hashfunc(bytes); + bytes[6] = bytes[6] & 0x0f | version; + bytes[8] = bytes[8] & 0x3f | 0x80; + + if (buf) { + offset = offset || 0; + + for (let i = 0; i < 16; ++i) { + buf[offset + i] = bytes[i]; + } + + return buf; + } + + return (0, _stringify.unsafeStringify)(bytes); + } // Function#name is not settable on some platforms (#270) + + + try { + generateUUID.name = name; // eslint-disable-next-line no-empty + } catch (err) {} // For CommonJS default export support + + + generateUUID.DNS = DNS; + generateUUID.URL = URL; + return generateUUID; +} + +/***/ }), + +/***/ 5122: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _native = _interopRequireDefault(__nccwpck_require__(2054)); + +var _rng = _interopRequireDefault(__nccwpck_require__(807)); + +var _stringify = __nccwpck_require__(8950); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function v4(options, buf, offset) { + if (_native.default.randomUUID && !buf && !options) { + return _native.default.randomUUID(); + } + + options = options || {}; + + const rnds = options.random || (options.rng || _rng.default)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved` + + + rnds[6] = rnds[6] & 0x0f | 0x40; + rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided + + if (buf) { + offset = offset || 0; + + for (let i = 0; i < 16; ++i) { + buf[offset + i] = rnds[i]; + } + + return buf; + } + + return (0, _stringify.unsafeStringify)(rnds); +} + +var _default = v4; +exports["default"] = _default; + +/***/ }), + +/***/ 9120: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _v = _interopRequireDefault(__nccwpck_require__(5998)); + +var _sha = _interopRequireDefault(__nccwpck_require__(5274)); + +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; + +/***/ }), + +/***/ 6900: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _regex = _interopRequireDefault(__nccwpck_require__(814)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function validate(uuid) { + return typeof uuid === 'string' && _regex.default.test(uuid); +} + +var _default = validate; +exports["default"] = _default; + +/***/ }), + +/***/ 1595: +/***/ ((__unused_webpack_module, exports, __nccwpck_require__) => { + +"use strict"; + + +Object.defineProperty(exports, "__esModule", ({ + value: true +})); +exports["default"] = void 0; + +var _validate = _interopRequireDefault(__nccwpck_require__(6900)); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +function version(uuid) { + if (!(0, _validate.default)(uuid)) { + throw TypeError('Invalid UUID'); + } + + return parseInt(uuid.slice(14, 15), 16); +} + +var _default = version; +exports["default"] = _default; + +/***/ }), + +/***/ 4978: +/***/ ((module) => { + +module.exports = eval("require")("util/types"); + + +/***/ }), + +/***/ 9491: +/***/ ((module) => { + +"use strict"; +module.exports = require("assert"); + +/***/ }), + +/***/ 852: +/***/ ((module) => { + +"use strict"; +module.exports = require("async_hooks"); + +/***/ }), + +/***/ 4300: +/***/ ((module) => { + +"use strict"; +module.exports = require("buffer"); + +/***/ }), + +/***/ 2081: +/***/ ((module) => { + +"use strict"; +module.exports = require("child_process"); + +/***/ }), + +/***/ 6206: +/***/ ((module) => { + +"use strict"; +module.exports = require("console"); + +/***/ }), + +/***/ 6113: +/***/ ((module) => { + +"use strict"; +module.exports = require("crypto"); + +/***/ }), + +/***/ 7643: +/***/ ((module) => { + +"use strict"; +module.exports = require("diagnostics_channel"); + +/***/ }), + +/***/ 2361: +/***/ ((module) => { + +"use strict"; +module.exports = require("events"); + +/***/ }), + +/***/ 7147: +/***/ ((module) => { + +"use strict"; +module.exports = require("fs"); + +/***/ }), + +/***/ 3292: +/***/ ((module) => { + +"use strict"; +module.exports = require("fs/promises"); + +/***/ }), + +/***/ 3685: +/***/ ((module) => { + +"use strict"; +module.exports = require("http"); + +/***/ }), + +/***/ 5158: +/***/ ((module) => { + +"use strict"; +module.exports = require("http2"); + +/***/ }), + +/***/ 5687: +/***/ ((module) => { + +"use strict"; +module.exports = require("https"); + +/***/ }), + +/***/ 1808: +/***/ ((module) => { + +"use strict"; +module.exports = require("net"); + +/***/ }), + +/***/ 5673: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:events"); + +/***/ }), + +/***/ 4492: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:stream"); + +/***/ }), + +/***/ 7261: +/***/ ((module) => { + +"use strict"; +module.exports = require("node:util"); + +/***/ }), + +/***/ 2037: +/***/ ((module) => { + +"use strict"; +module.exports = require("os"); + +/***/ }), + +/***/ 1017: +/***/ ((module) => { + +"use strict"; +module.exports = require("path"); + +/***/ }), + +/***/ 4074: +/***/ ((module) => { + +"use strict"; +module.exports = require("perf_hooks"); + +/***/ }), + +/***/ 7282: +/***/ ((module) => { + +"use strict"; +module.exports = require("process"); + +/***/ }), + +/***/ 3477: +/***/ ((module) => { + +"use strict"; +module.exports = require("querystring"); + +/***/ }), + +/***/ 2781: +/***/ ((module) => { + +"use strict"; +module.exports = require("stream"); + +/***/ }), + +/***/ 5356: +/***/ ((module) => { + +"use strict"; +module.exports = require("stream/web"); + +/***/ }), + +/***/ 1576: +/***/ ((module) => { + +"use strict"; +module.exports = require("string_decoder"); + +/***/ }), + +/***/ 9512: +/***/ ((module) => { + +"use strict"; +module.exports = require("timers"); + +/***/ }), + +/***/ 4404: +/***/ ((module) => { + +"use strict"; +module.exports = require("tls"); + +/***/ }), + +/***/ 7310: +/***/ ((module) => { + +"use strict"; +module.exports = require("url"); + +/***/ }), + +/***/ 3837: +/***/ ((module) => { + +"use strict"; +module.exports = require("util"); + +/***/ }), + +/***/ 1267: +/***/ ((module) => { + +"use strict"; +module.exports = require("worker_threads"); + +/***/ }), + +/***/ 9796: +/***/ ((module) => { + +"use strict"; +module.exports = require("zlib"); + +/***/ }), + +/***/ 2960: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const WritableStream = (__nccwpck_require__(4492).Writable) +const inherits = (__nccwpck_require__(7261).inherits) + +const StreamSearch = __nccwpck_require__(1142) + +const PartStream = __nccwpck_require__(1620) +const HeaderParser = __nccwpck_require__(2032) + +const DASH = 45 +const B_ONEDASH = Buffer.from('-') +const B_CRLF = Buffer.from('\r\n') +const EMPTY_FN = function () {} + +function Dicer (cfg) { + if (!(this instanceof Dicer)) { return new Dicer(cfg) } + WritableStream.call(this, cfg) + + if (!cfg || (!cfg.headerFirst && typeof cfg.boundary !== 'string')) { throw new TypeError('Boundary required') } + + if (typeof cfg.boundary === 'string') { this.setBoundary(cfg.boundary) } else { this._bparser = undefined } + + this._headerFirst = cfg.headerFirst + + this._dashes = 0 + this._parts = 0 + this._finished = false + this._realFinish = false + this._isPreamble = true + this._justMatched = false + this._firstWrite = true + this._inHeader = true + this._part = undefined + this._cb = undefined + this._ignoreData = false + this._partOpts = { highWaterMark: cfg.partHwm } + this._pause = false + + const self = this + this._hparser = new HeaderParser(cfg) + this._hparser.on('header', function (header) { + self._inHeader = false + self._part.emit('header', header) + }) +} +inherits(Dicer, WritableStream) + +Dicer.prototype.emit = function (ev) { + if (ev === 'finish' && !this._realFinish) { + if (!this._finished) { + const self = this + process.nextTick(function () { + self.emit('error', new Error('Unexpected end of multipart data')) + if (self._part && !self._ignoreData) { + const type = (self._isPreamble ? 'Preamble' : 'Part') + self._part.emit('error', new Error(type + ' terminated early due to unexpected end of multipart data')) + self._part.push(null) + process.nextTick(function () { + self._realFinish = true + self.emit('finish') + self._realFinish = false + }) + return + } + self._realFinish = true + self.emit('finish') + self._realFinish = false + }) + } + } else { WritableStream.prototype.emit.apply(this, arguments) } +} + +Dicer.prototype._write = function (data, encoding, cb) { + // ignore unexpected data (e.g. extra trailer data after finished) + if (!this._hparser && !this._bparser) { return cb() } + + if (this._headerFirst && this._isPreamble) { + if (!this._part) { + this._part = new PartStream(this._partOpts) + if (this.listenerCount('preamble') !== 0) { this.emit('preamble', this._part) } else { this._ignore() } + } + const r = this._hparser.push(data) + if (!this._inHeader && r !== undefined && r < data.length) { data = data.slice(r) } else { return cb() } + } + + // allows for "easier" testing + if (this._firstWrite) { + this._bparser.push(B_CRLF) + this._firstWrite = false + } + + this._bparser.push(data) + + if (this._pause) { this._cb = cb } else { cb() } +} + +Dicer.prototype.reset = function () { + this._part = undefined + this._bparser = undefined + this._hparser = undefined +} + +Dicer.prototype.setBoundary = function (boundary) { + const self = this + this._bparser = new StreamSearch('\r\n--' + boundary) + this._bparser.on('info', function (isMatch, data, start, end) { + self._oninfo(isMatch, data, start, end) + }) +} + +Dicer.prototype._ignore = function () { + if (this._part && !this._ignoreData) { + this._ignoreData = true + this._part.on('error', EMPTY_FN) + // we must perform some kind of read on the stream even though we are + // ignoring the data, otherwise node's Readable stream will not emit 'end' + // after pushing null to the stream + this._part.resume() + } +} + +Dicer.prototype._oninfo = function (isMatch, data, start, end) { + let buf; const self = this; let i = 0; let r; let shouldWriteMore = true + + if (!this._part && this._justMatched && data) { + while (this._dashes < 2 && (start + i) < end) { + if (data[start + i] === DASH) { + ++i + ++this._dashes + } else { + if (this._dashes) { buf = B_ONEDASH } + this._dashes = 0 + break + } + } + if (this._dashes === 2) { + if ((start + i) < end && this.listenerCount('trailer') !== 0) { this.emit('trailer', data.slice(start + i, end)) } + this.reset() + this._finished = true + // no more parts will be added + if (self._parts === 0) { + self._realFinish = true + self.emit('finish') + self._realFinish = false + } + } + if (this._dashes) { return } + } + if (this._justMatched) { this._justMatched = false } + if (!this._part) { + this._part = new PartStream(this._partOpts) + this._part._read = function (n) { + self._unpause() + } + if (this._isPreamble && this.listenerCount('preamble') !== 0) { + this.emit('preamble', this._part) + } else if (this._isPreamble !== true && this.listenerCount('part') !== 0) { + this.emit('part', this._part) + } else { + this._ignore() + } + if (!this._isPreamble) { this._inHeader = true } + } + if (data && start < end && !this._ignoreData) { + if (this._isPreamble || !this._inHeader) { + if (buf) { shouldWriteMore = this._part.push(buf) } + shouldWriteMore = this._part.push(data.slice(start, end)) + if (!shouldWriteMore) { this._pause = true } + } else if (!this._isPreamble && this._inHeader) { + if (buf) { this._hparser.push(buf) } + r = this._hparser.push(data.slice(start, end)) + if (!this._inHeader && r !== undefined && r < end) { this._oninfo(false, data, start + r, end) } + } + } + if (isMatch) { + this._hparser.reset() + if (this._isPreamble) { this._isPreamble = false } else { + if (start !== end) { + ++this._parts + this._part.on('end', function () { + if (--self._parts === 0) { + if (self._finished) { + self._realFinish = true + self.emit('finish') + self._realFinish = false + } else { + self._unpause() + } + } + }) + } + } + this._part.push(null) + this._part = undefined + this._ignoreData = false + this._justMatched = true + this._dashes = 0 + } +} + +Dicer.prototype._unpause = function () { + if (!this._pause) { return } + + this._pause = false + if (this._cb) { + const cb = this._cb + this._cb = undefined + cb() + } +} + +module.exports = Dicer + + +/***/ }), + +/***/ 2032: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const EventEmitter = (__nccwpck_require__(5673).EventEmitter) +const inherits = (__nccwpck_require__(7261).inherits) +const getLimit = __nccwpck_require__(1467) + +const StreamSearch = __nccwpck_require__(1142) + +const B_DCRLF = Buffer.from('\r\n\r\n') +const RE_CRLF = /\r\n/g +const RE_HDR = /^([^:]+):[ \t]?([\x00-\xFF]+)?$/ // eslint-disable-line no-control-regex + +function HeaderParser (cfg) { + EventEmitter.call(this) + + cfg = cfg || {} + const self = this + this.nread = 0 + this.maxed = false + this.npairs = 0 + this.maxHeaderPairs = getLimit(cfg, 'maxHeaderPairs', 2000) + this.maxHeaderSize = getLimit(cfg, 'maxHeaderSize', 80 * 1024) + this.buffer = '' + this.header = {} + this.finished = false + this.ss = new StreamSearch(B_DCRLF) + this.ss.on('info', function (isMatch, data, start, end) { + if (data && !self.maxed) { + if (self.nread + end - start >= self.maxHeaderSize) { + end = self.maxHeaderSize - self.nread + start + self.nread = self.maxHeaderSize + self.maxed = true + } else { self.nread += (end - start) } + + self.buffer += data.toString('binary', start, end) + } + if (isMatch) { self._finish() } + }) +} +inherits(HeaderParser, EventEmitter) + +HeaderParser.prototype.push = function (data) { + const r = this.ss.push(data) + if (this.finished) { return r } +} + +HeaderParser.prototype.reset = function () { + this.finished = false + this.buffer = '' + this.header = {} + this.ss.reset() +} + +HeaderParser.prototype._finish = function () { + if (this.buffer) { this._parseHeader() } + this.ss.matches = this.ss.maxMatches + const header = this.header + this.header = {} + this.buffer = '' + this.finished = true + this.nread = this.npairs = 0 + this.maxed = false + this.emit('header', header) +} + +HeaderParser.prototype._parseHeader = function () { + if (this.npairs === this.maxHeaderPairs) { return } + + const lines = this.buffer.split(RE_CRLF) + const len = lines.length + let m, h + + for (var i = 0; i < len; ++i) { // eslint-disable-line no-var + if (lines[i].length === 0) { continue } + if (lines[i][0] === '\t' || lines[i][0] === ' ') { + // folded header content + // RFC2822 says to just remove the CRLF and not the whitespace following + // it, so we follow the RFC and include the leading whitespace ... + if (h) { + this.header[h][this.header[h].length - 1] += lines[i] + continue + } + } + + const posColon = lines[i].indexOf(':') + if ( + posColon === -1 || + posColon === 0 + ) { + return + } + m = RE_HDR.exec(lines[i]) + h = m[1].toLowerCase() + this.header[h] = this.header[h] || [] + this.header[h].push((m[2] || '')) + if (++this.npairs === this.maxHeaderPairs) { break } + } +} + +module.exports = HeaderParser + + +/***/ }), + +/***/ 1620: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const inherits = (__nccwpck_require__(7261).inherits) +const ReadableStream = (__nccwpck_require__(4492).Readable) + +function PartStream (opts) { + ReadableStream.call(this, opts) +} +inherits(PartStream, ReadableStream) + +PartStream.prototype._read = function (n) {} + +module.exports = PartStream + + +/***/ }), + +/***/ 1142: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +/** + * Copyright Brian White. All rights reserved. + * + * @see https://github.com/mscdex/streamsearch + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to + * deal in the Software without restriction, including without limitation the + * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS + * IN THE SOFTWARE. + * + * Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation + * by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool + */ +const EventEmitter = (__nccwpck_require__(5673).EventEmitter) +const inherits = (__nccwpck_require__(7261).inherits) + +function SBMH (needle) { + if (typeof needle === 'string') { + needle = Buffer.from(needle) + } + + if (!Buffer.isBuffer(needle)) { + throw new TypeError('The needle has to be a String or a Buffer.') + } + + const needleLength = needle.length + + if (needleLength === 0) { + throw new Error('The needle cannot be an empty String/Buffer.') + } + + if (needleLength > 256) { + throw new Error('The needle cannot have a length bigger than 256.') + } + + this.maxMatches = Infinity + this.matches = 0 + + this._occ = new Array(256) + .fill(needleLength) // Initialize occurrence table. + this._lookbehind_size = 0 + this._needle = needle + this._bufpos = 0 + + this._lookbehind = Buffer.alloc(needleLength) + + // Populate occurrence table with analysis of the needle, + // ignoring last letter. + for (var i = 0; i < needleLength - 1; ++i) { // eslint-disable-line no-var + this._occ[needle[i]] = needleLength - 1 - i + } +} +inherits(SBMH, EventEmitter) + +SBMH.prototype.reset = function () { + this._lookbehind_size = 0 + this.matches = 0 + this._bufpos = 0 +} + +SBMH.prototype.push = function (chunk, pos) { + if (!Buffer.isBuffer(chunk)) { + chunk = Buffer.from(chunk, 'binary') + } + const chlen = chunk.length + this._bufpos = pos || 0 + let r + while (r !== chlen && this.matches < this.maxMatches) { r = this._sbmh_feed(chunk) } + return r +} + +SBMH.prototype._sbmh_feed = function (data) { + const len = data.length + const needle = this._needle + const needleLength = needle.length + const lastNeedleChar = needle[needleLength - 1] + + // Positive: points to a position in `data` + // pos == 3 points to data[3] + // Negative: points to a position in the lookbehind buffer + // pos == -2 points to lookbehind[lookbehind_size - 2] + let pos = -this._lookbehind_size + let ch + + if (pos < 0) { + // Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool + // search with character lookup code that considers both the + // lookbehind buffer and the current round's haystack data. + // + // Loop until + // there is a match. + // or until + // we've moved past the position that requires the + // lookbehind buffer. In this case we switch to the + // optimized loop. + // or until + // the character to look at lies outside the haystack. + while (pos < 0 && pos <= len - needleLength) { + ch = this._sbmh_lookup_char(data, pos + needleLength - 1) + + if ( + ch === lastNeedleChar && + this._sbmh_memcmp(data, pos, needleLength - 1) + ) { + this._lookbehind_size = 0 + ++this.matches + this.emit('info', true) + + return (this._bufpos = pos + needleLength) + } + pos += this._occ[ch] + } + + // No match. + + if (pos < 0) { + // There's too few data for Boyer-Moore-Horspool to run, + // so let's use a different algorithm to skip as much as + // we can. + // Forward pos until + // the trailing part of lookbehind + data + // looks like the beginning of the needle + // or until + // pos == 0 + while (pos < 0 && !this._sbmh_memcmp(data, pos, len - pos)) { ++pos } + } + + if (pos >= 0) { + // Discard lookbehind buffer. + this.emit('info', false, this._lookbehind, 0, this._lookbehind_size) + this._lookbehind_size = 0 + } else { + // Cut off part of the lookbehind buffer that has + // been processed and append the entire haystack + // into it. + const bytesToCutOff = this._lookbehind_size + pos + if (bytesToCutOff > 0) { + // The cut off data is guaranteed not to contain the needle. + this.emit('info', false, this._lookbehind, 0, bytesToCutOff) + } + + this._lookbehind.copy(this._lookbehind, 0, bytesToCutOff, + this._lookbehind_size - bytesToCutOff) + this._lookbehind_size -= bytesToCutOff + + data.copy(this._lookbehind, this._lookbehind_size) + this._lookbehind_size += len + + this._bufpos = len + return len + } + } + + pos += (pos >= 0) * this._bufpos + + // Lookbehind buffer is now empty. We only need to check if the + // needle is in the haystack. + if (data.indexOf(needle, pos) !== -1) { + pos = data.indexOf(needle, pos) + ++this.matches + if (pos > 0) { this.emit('info', true, data, this._bufpos, pos) } else { this.emit('info', true) } + + return (this._bufpos = pos + needleLength) + } else { + pos = len - needleLength + } + + // There was no match. If there's trailing haystack data that we cannot + // match yet using the Boyer-Moore-Horspool algorithm (because the trailing + // data is less than the needle size) then match using a modified + // algorithm that starts matching from the beginning instead of the end. + // Whatever trailing data is left after running this algorithm is added to + // the lookbehind buffer. + while ( + pos < len && + ( + data[pos] !== needle[0] || + ( + (Buffer.compare( + data.subarray(pos, pos + len - pos), + needle.subarray(0, len - pos) + ) !== 0) + ) + ) + ) { + ++pos + } + if (pos < len) { + data.copy(this._lookbehind, 0, pos, pos + (len - pos)) + this._lookbehind_size = len - pos + } + + // Everything until pos is guaranteed not to contain needle data. + if (pos > 0) { this.emit('info', false, data, this._bufpos, pos < len ? pos : len) } + + this._bufpos = len + return len +} + +SBMH.prototype._sbmh_lookup_char = function (data, pos) { + return (pos < 0) + ? this._lookbehind[this._lookbehind_size + pos] + : data[pos] +} + +SBMH.prototype._sbmh_memcmp = function (data, pos, len) { + for (var i = 0; i < len; ++i) { // eslint-disable-line no-var + if (this._sbmh_lookup_char(data, pos + i) !== this._needle[i]) { return false } + } + return true +} + +module.exports = SBMH + + +/***/ }), + +/***/ 727: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const WritableStream = (__nccwpck_require__(4492).Writable) +const { inherits } = __nccwpck_require__(7261) +const Dicer = __nccwpck_require__(2960) + +const MultipartParser = __nccwpck_require__(2183) +const UrlencodedParser = __nccwpck_require__(8306) +const parseParams = __nccwpck_require__(1854) + +function Busboy (opts) { + if (!(this instanceof Busboy)) { return new Busboy(opts) } + + if (typeof opts !== 'object') { + throw new TypeError('Busboy expected an options-Object.') + } + if (typeof opts.headers !== 'object') { + throw new TypeError('Busboy expected an options-Object with headers-attribute.') + } + if (typeof opts.headers['content-type'] !== 'string') { + throw new TypeError('Missing Content-Type-header.') + } + + const { + headers, + ...streamOptions + } = opts + + this.opts = { + autoDestroy: false, + ...streamOptions + } + WritableStream.call(this, this.opts) + + this._done = false + this._parser = this.getParserByHeaders(headers) + this._finished = false +} +inherits(Busboy, WritableStream) + +Busboy.prototype.emit = function (ev) { + if (ev === 'finish') { + if (!this._done) { + this._parser?.end() + return + } else if (this._finished) { + return + } + this._finished = true + } + WritableStream.prototype.emit.apply(this, arguments) +} + +Busboy.prototype.getParserByHeaders = function (headers) { + const parsed = parseParams(headers['content-type']) + + const cfg = { + defCharset: this.opts.defCharset, + fileHwm: this.opts.fileHwm, + headers, + highWaterMark: this.opts.highWaterMark, + isPartAFile: this.opts.isPartAFile, + limits: this.opts.limits, + parsedConType: parsed, + preservePath: this.opts.preservePath + } + + if (MultipartParser.detect.test(parsed[0])) { + return new MultipartParser(this, cfg) + } + if (UrlencodedParser.detect.test(parsed[0])) { + return new UrlencodedParser(this, cfg) + } + throw new Error('Unsupported Content-Type.') +} + +Busboy.prototype._write = function (chunk, encoding, cb) { + this._parser.write(chunk, cb) +} + +module.exports = Busboy +module.exports["default"] = Busboy +module.exports.Busboy = Busboy + +module.exports.Dicer = Dicer + + +/***/ }), + +/***/ 2183: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +// TODO: +// * support 1 nested multipart level +// (see second multipart example here: +// http://www.w3.org/TR/html401/interact/forms.html#didx-multipartform-data) +// * support limits.fieldNameSize +// -- this will require modifications to utils.parseParams + +const { Readable } = __nccwpck_require__(4492) +const { inherits } = __nccwpck_require__(7261) + +const Dicer = __nccwpck_require__(2960) + +const parseParams = __nccwpck_require__(1854) +const decodeText = __nccwpck_require__(4619) +const basename = __nccwpck_require__(8647) +const getLimit = __nccwpck_require__(1467) + +const RE_BOUNDARY = /^boundary$/i +const RE_FIELD = /^form-data$/i +const RE_CHARSET = /^charset$/i +const RE_FILENAME = /^filename$/i +const RE_NAME = /^name$/i + +Multipart.detect = /^multipart\/form-data/i +function Multipart (boy, cfg) { + let i + let len + const self = this + let boundary + const limits = cfg.limits + const isPartAFile = cfg.isPartAFile || ((fieldName, contentType, fileName) => (contentType === 'application/octet-stream' || fileName !== undefined)) + const parsedConType = cfg.parsedConType || [] + const defCharset = cfg.defCharset || 'utf8' + const preservePath = cfg.preservePath + const fileOpts = { highWaterMark: cfg.fileHwm } + + for (i = 0, len = parsedConType.length; i < len; ++i) { + if (Array.isArray(parsedConType[i]) && + RE_BOUNDARY.test(parsedConType[i][0])) { + boundary = parsedConType[i][1] + break + } + } + + function checkFinished () { + if (nends === 0 && finished && !boy._done) { + finished = false + self.end() + } + } + + if (typeof boundary !== 'string') { throw new Error('Multipart: Boundary not found') } + + const fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024) + const fileSizeLimit = getLimit(limits, 'fileSize', Infinity) + const filesLimit = getLimit(limits, 'files', Infinity) + const fieldsLimit = getLimit(limits, 'fields', Infinity) + const partsLimit = getLimit(limits, 'parts', Infinity) + const headerPairsLimit = getLimit(limits, 'headerPairs', 2000) + const headerSizeLimit = getLimit(limits, 'headerSize', 80 * 1024) + + let nfiles = 0 + let nfields = 0 + let nends = 0 + let curFile + let curField + let finished = false + + this._needDrain = false + this._pause = false + this._cb = undefined + this._nparts = 0 + this._boy = boy + + const parserCfg = { + boundary, + maxHeaderPairs: headerPairsLimit, + maxHeaderSize: headerSizeLimit, + partHwm: fileOpts.highWaterMark, + highWaterMark: cfg.highWaterMark + } + + this.parser = new Dicer(parserCfg) + this.parser.on('drain', function () { + self._needDrain = false + if (self._cb && !self._pause) { + const cb = self._cb + self._cb = undefined + cb() + } + }).on('part', function onPart (part) { + if (++self._nparts > partsLimit) { + self.parser.removeListener('part', onPart) + self.parser.on('part', skipPart) + boy.hitPartsLimit = true + boy.emit('partsLimit') + return skipPart(part) + } + + // hack because streams2 _always_ doesn't emit 'end' until nextTick, so let + // us emit 'end' early since we know the part has ended if we are already + // seeing the next part + if (curField) { + const field = curField + field.emit('end') + field.removeAllListeners('end') + } + + part.on('header', function (header) { + let contype + let fieldname + let parsed + let charset + let encoding + let filename + let nsize = 0 + + if (header['content-type']) { + parsed = parseParams(header['content-type'][0]) + if (parsed[0]) { + contype = parsed[0].toLowerCase() + for (i = 0, len = parsed.length; i < len; ++i) { + if (RE_CHARSET.test(parsed[i][0])) { + charset = parsed[i][1].toLowerCase() + break + } + } + } + } + + if (contype === undefined) { contype = 'text/plain' } + if (charset === undefined) { charset = defCharset } + + if (header['content-disposition']) { + parsed = parseParams(header['content-disposition'][0]) + if (!RE_FIELD.test(parsed[0])) { return skipPart(part) } + for (i = 0, len = parsed.length; i < len; ++i) { + if (RE_NAME.test(parsed[i][0])) { + fieldname = parsed[i][1] + } else if (RE_FILENAME.test(parsed[i][0])) { + filename = parsed[i][1] + if (!preservePath) { filename = basename(filename) } + } + } + } else { return skipPart(part) } + + if (header['content-transfer-encoding']) { encoding = header['content-transfer-encoding'][0].toLowerCase() } else { encoding = '7bit' } + + let onData, + onEnd + + if (isPartAFile(fieldname, contype, filename)) { + // file/binary field + if (nfiles === filesLimit) { + if (!boy.hitFilesLimit) { + boy.hitFilesLimit = true + boy.emit('filesLimit') + } + return skipPart(part) + } + + ++nfiles + + if (boy.listenerCount('file') === 0) { + self.parser._ignore() + return + } + + ++nends + const file = new FileStream(fileOpts) + curFile = file + file.on('end', function () { + --nends + self._pause = false + checkFinished() + if (self._cb && !self._needDrain) { + const cb = self._cb + self._cb = undefined + cb() + } + }) + file._read = function (n) { + if (!self._pause) { return } + self._pause = false + if (self._cb && !self._needDrain) { + const cb = self._cb + self._cb = undefined + cb() + } + } + boy.emit('file', fieldname, file, filename, encoding, contype) + + onData = function (data) { + if ((nsize += data.length) > fileSizeLimit) { + const extralen = fileSizeLimit - nsize + data.length + if (extralen > 0) { file.push(data.slice(0, extralen)) } + file.truncated = true + file.bytesRead = fileSizeLimit + part.removeAllListeners('data') + file.emit('limit') + return + } else if (!file.push(data)) { self._pause = true } + + file.bytesRead = nsize + } + + onEnd = function () { + curFile = undefined + file.push(null) + } + } else { + // non-file field + if (nfields === fieldsLimit) { + if (!boy.hitFieldsLimit) { + boy.hitFieldsLimit = true + boy.emit('fieldsLimit') + } + return skipPart(part) + } + + ++nfields + ++nends + let buffer = '' + let truncated = false + curField = part + + onData = function (data) { + if ((nsize += data.length) > fieldSizeLimit) { + const extralen = (fieldSizeLimit - (nsize - data.length)) + buffer += data.toString('binary', 0, extralen) + truncated = true + part.removeAllListeners('data') + } else { buffer += data.toString('binary') } + } + + onEnd = function () { + curField = undefined + if (buffer.length) { buffer = decodeText(buffer, 'binary', charset) } + boy.emit('field', fieldname, buffer, false, truncated, encoding, contype) + --nends + checkFinished() + } + } + + /* As of node@2efe4ab761666 (v0.10.29+/v0.11.14+), busboy had become + broken. Streams2/streams3 is a huge black box of confusion, but + somehow overriding the sync state seems to fix things again (and still + seems to work for previous node versions). + */ + part._readableState.sync = false + + part.on('data', onData) + part.on('end', onEnd) + }).on('error', function (err) { + if (curFile) { curFile.emit('error', err) } + }) + }).on('error', function (err) { + boy.emit('error', err) + }).on('finish', function () { + finished = true + checkFinished() + }) +} + +Multipart.prototype.write = function (chunk, cb) { + const r = this.parser.write(chunk) + if (r && !this._pause) { + cb() + } else { + this._needDrain = !r + this._cb = cb + } +} + +Multipart.prototype.end = function () { + const self = this + + if (self.parser.writable) { + self.parser.end() + } else if (!self._boy._done) { + process.nextTick(function () { + self._boy._done = true + self._boy.emit('finish') + }) + } +} + +function skipPart (part) { + part.resume() +} + +function FileStream (opts) { + Readable.call(this, opts) + + this.bytesRead = 0 + + this.truncated = false +} + +inherits(FileStream, Readable) + +FileStream.prototype._read = function (n) {} + +module.exports = Multipart + + +/***/ }), + +/***/ 8306: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; + + +const Decoder = __nccwpck_require__(7100) +const decodeText = __nccwpck_require__(4619) +const getLimit = __nccwpck_require__(1467) + +const RE_CHARSET = /^charset$/i + +UrlEncoded.detect = /^application\/x-www-form-urlencoded/i +function UrlEncoded (boy, cfg) { + const limits = cfg.limits + const parsedConType = cfg.parsedConType + this.boy = boy + + this.fieldSizeLimit = getLimit(limits, 'fieldSize', 1 * 1024 * 1024) + this.fieldNameSizeLimit = getLimit(limits, 'fieldNameSize', 100) + this.fieldsLimit = getLimit(limits, 'fields', Infinity) + + let charset + for (var i = 0, len = parsedConType.length; i < len; ++i) { // eslint-disable-line no-var + if (Array.isArray(parsedConType[i]) && + RE_CHARSET.test(parsedConType[i][0])) { + charset = parsedConType[i][1].toLowerCase() + break + } + } + + if (charset === undefined) { charset = cfg.defCharset || 'utf8' } + + this.decoder = new Decoder() + this.charset = charset + this._fields = 0 + this._state = 'key' + this._checkingBytes = true + this._bytesKey = 0 + this._bytesVal = 0 + this._key = '' + this._val = '' + this._keyTrunc = false + this._valTrunc = false + this._hitLimit = false +} + +UrlEncoded.prototype.write = function (data, cb) { + if (this._fields === this.fieldsLimit) { + if (!this.boy.hitFieldsLimit) { + this.boy.hitFieldsLimit = true + this.boy.emit('fieldsLimit') + } + return cb() + } + + let idxeq; let idxamp; let i; let p = 0; const len = data.length + + while (p < len) { + if (this._state === 'key') { + idxeq = idxamp = undefined + for (i = p; i < len; ++i) { + if (!this._checkingBytes) { ++p } + if (data[i] === 0x3D/* = */) { + idxeq = i + break + } else if (data[i] === 0x26/* & */) { + idxamp = i + break + } + if (this._checkingBytes && this._bytesKey === this.fieldNameSizeLimit) { + this._hitLimit = true + break + } else if (this._checkingBytes) { ++this._bytesKey } + } + + if (idxeq !== undefined) { + // key with assignment + if (idxeq > p) { this._key += this.decoder.write(data.toString('binary', p, idxeq)) } + this._state = 'val' + + this._hitLimit = false + this._checkingBytes = true + this._val = '' + this._bytesVal = 0 + this._valTrunc = false + this.decoder.reset() + + p = idxeq + 1 + } else if (idxamp !== undefined) { + // key with no assignment + ++this._fields + let key; const keyTrunc = this._keyTrunc + if (idxamp > p) { key = (this._key += this.decoder.write(data.toString('binary', p, idxamp))) } else { key = this._key } + + this._hitLimit = false + this._checkingBytes = true + this._key = '' + this._bytesKey = 0 + this._keyTrunc = false + this.decoder.reset() + + if (key.length) { + this.boy.emit('field', decodeText(key, 'binary', this.charset), + '', + keyTrunc, + false) + } + + p = idxamp + 1 + if (this._fields === this.fieldsLimit) { return cb() } + } else if (this._hitLimit) { + // we may not have hit the actual limit if there are encoded bytes... + if (i > p) { this._key += this.decoder.write(data.toString('binary', p, i)) } + p = i + if ((this._bytesKey = this._key.length) === this.fieldNameSizeLimit) { + // yep, we actually did hit the limit + this._checkingBytes = false + this._keyTrunc = true + } + } else { + if (p < len) { this._key += this.decoder.write(data.toString('binary', p)) } + p = len + } + } else { + idxamp = undefined + for (i = p; i < len; ++i) { + if (!this._checkingBytes) { ++p } + if (data[i] === 0x26/* & */) { + idxamp = i + break + } + if (this._checkingBytes && this._bytesVal === this.fieldSizeLimit) { + this._hitLimit = true + break + } else if (this._checkingBytes) { ++this._bytesVal } + } + + if (idxamp !== undefined) { + ++this._fields + if (idxamp > p) { this._val += this.decoder.write(data.toString('binary', p, idxamp)) } + this.boy.emit('field', decodeText(this._key, 'binary', this.charset), + decodeText(this._val, 'binary', this.charset), + this._keyTrunc, + this._valTrunc) + this._state = 'key' + + this._hitLimit = false + this._checkingBytes = true + this._key = '' + this._bytesKey = 0 + this._keyTrunc = false + this.decoder.reset() + + p = idxamp + 1 + if (this._fields === this.fieldsLimit) { return cb() } + } else if (this._hitLimit) { + // we may not have hit the actual limit if there are encoded bytes... + if (i > p) { this._val += this.decoder.write(data.toString('binary', p, i)) } + p = i + if ((this._val === '' && this.fieldSizeLimit === 0) || + (this._bytesVal = this._val.length) === this.fieldSizeLimit) { + // yep, we actually did hit the limit + this._checkingBytes = false + this._valTrunc = true + } + } else { + if (p < len) { this._val += this.decoder.write(data.toString('binary', p)) } + p = len + } + } + } + cb() +} + +UrlEncoded.prototype.end = function () { + if (this.boy._done) { return } + + if (this._state === 'key' && this._key.length > 0) { + this.boy.emit('field', decodeText(this._key, 'binary', this.charset), + '', + this._keyTrunc, + false) + } else if (this._state === 'val') { + this.boy.emit('field', decodeText(this._key, 'binary', this.charset), + decodeText(this._val, 'binary', this.charset), + this._keyTrunc, + this._valTrunc) + } + this.boy._done = true + this.boy.emit('finish') +} + +module.exports = UrlEncoded + + +/***/ }), + +/***/ 7100: +/***/ ((module) => { + +"use strict"; + + +const RE_PLUS = /\+/g + +const HEX = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 +] + +function Decoder () { + this.buffer = undefined +} +Decoder.prototype.write = function (str) { + // Replace '+' with ' ' before decoding + str = str.replace(RE_PLUS, ' ') + let res = '' + let i = 0; let p = 0; const len = str.length + for (; i < len; ++i) { + if (this.buffer !== undefined) { + if (!HEX[str.charCodeAt(i)]) { + res += '%' + this.buffer + this.buffer = undefined + --i // retry character + } else { + this.buffer += str[i] + ++p + if (this.buffer.length === 2) { + res += String.fromCharCode(parseInt(this.buffer, 16)) + this.buffer = undefined + } + } + } else if (str[i] === '%') { + if (i > p) { + res += str.substring(p, i) + p = i + } + this.buffer = '' + ++p + } + } + if (p < len && this.buffer === undefined) { res += str.substring(p) } + return res +} +Decoder.prototype.reset = function () { + this.buffer = undefined +} + +module.exports = Decoder + + +/***/ }), + +/***/ 8647: +/***/ ((module) => { + +"use strict"; + + +module.exports = function basename (path) { + if (typeof path !== 'string') { return '' } + for (var i = path.length - 1; i >= 0; --i) { // eslint-disable-line no-var + switch (path.charCodeAt(i)) { + case 0x2F: // '/' + case 0x5C: // '\' + path = path.slice(i + 1) + return (path === '..' || path === '.' ? '' : path) + } + } + return (path === '..' || path === '.' ? '' : path) +} + + +/***/ }), + +/***/ 4619: +/***/ (function(module) { + +"use strict"; + + +// Node has always utf-8 +const utf8Decoder = new TextDecoder('utf-8') +const textDecoders = new Map([ + ['utf-8', utf8Decoder], + ['utf8', utf8Decoder] +]) + +function getDecoder (charset) { + let lc + while (true) { + switch (charset) { + case 'utf-8': + case 'utf8': + return decoders.utf8 + case 'latin1': + case 'ascii': // TODO: Make these a separate, strict decoder? + case 'us-ascii': + case 'iso-8859-1': + case 'iso8859-1': + case 'iso88591': + case 'iso_8859-1': + case 'windows-1252': + case 'iso_8859-1:1987': + case 'cp1252': + case 'x-cp1252': + return decoders.latin1 + case 'utf16le': + case 'utf-16le': + case 'ucs2': + case 'ucs-2': + return decoders.utf16le + case 'base64': + return decoders.base64 + default: + if (lc === undefined) { + lc = true + charset = charset.toLowerCase() + continue + } + return decoders.other.bind(charset) + } + } +} + +const decoders = { + utf8: (data, sourceEncoding) => { + if (data.length === 0) { + return '' + } + if (typeof data === 'string') { + data = Buffer.from(data, sourceEncoding) + } + return data.utf8Slice(0, data.length) + }, + + latin1: (data, sourceEncoding) => { + if (data.length === 0) { + return '' + } + if (typeof data === 'string') { + return data + } + return data.latin1Slice(0, data.length) + }, + + utf16le: (data, sourceEncoding) => { + if (data.length === 0) { + return '' + } + if (typeof data === 'string') { + data = Buffer.from(data, sourceEncoding) + } + return data.ucs2Slice(0, data.length) + }, + + base64: (data, sourceEncoding) => { + if (data.length === 0) { + return '' + } + if (typeof data === 'string') { + data = Buffer.from(data, sourceEncoding) + } + return data.base64Slice(0, data.length) + }, + + other: (data, sourceEncoding) => { + if (data.length === 0) { + return '' + } + if (typeof data === 'string') { + data = Buffer.from(data, sourceEncoding) + } + + if (textDecoders.has(this.toString())) { + try { + return textDecoders.get(this).decode(data) + } catch {} + } + return typeof data === 'string' + ? data + : data.toString() + } +} + +function decodeText (text, sourceEncoding, destEncoding) { + if (text) { + return getDecoder(destEncoding)(text, sourceEncoding) + } + return text +} + +module.exports = decodeText + + +/***/ }), + +/***/ 1467: +/***/ ((module) => { + +"use strict"; + + +module.exports = function getLimit (limits, name, defaultLimit) { + if ( + !limits || + limits[name] === undefined || + limits[name] === null + ) { return defaultLimit } + + if ( + typeof limits[name] !== 'number' || + isNaN(limits[name]) + ) { throw new TypeError('Limit ' + name + ' is not a valid number') } + + return limits[name] +} + + +/***/ }), + +/***/ 1854: +/***/ ((module, __unused_webpack_exports, __nccwpck_require__) => { + +"use strict"; +/* eslint-disable object-property-newline */ + + +const decodeText = __nccwpck_require__(4619) + +const RE_ENCODED = /%[a-fA-F0-9][a-fA-F0-9]/g + +const EncodedLookup = { + '%00': '\x00', '%01': '\x01', '%02': '\x02', '%03': '\x03', '%04': '\x04', + '%05': '\x05', '%06': '\x06', '%07': '\x07', '%08': '\x08', '%09': '\x09', + '%0a': '\x0a', '%0A': '\x0a', '%0b': '\x0b', '%0B': '\x0b', '%0c': '\x0c', + '%0C': '\x0c', '%0d': '\x0d', '%0D': '\x0d', '%0e': '\x0e', '%0E': '\x0e', + '%0f': '\x0f', '%0F': '\x0f', '%10': '\x10', '%11': '\x11', '%12': '\x12', + '%13': '\x13', '%14': '\x14', '%15': '\x15', '%16': '\x16', '%17': '\x17', + '%18': '\x18', '%19': '\x19', '%1a': '\x1a', '%1A': '\x1a', '%1b': '\x1b', + '%1B': '\x1b', '%1c': '\x1c', '%1C': '\x1c', '%1d': '\x1d', '%1D': '\x1d', + '%1e': '\x1e', '%1E': '\x1e', '%1f': '\x1f', '%1F': '\x1f', '%20': '\x20', + '%21': '\x21', '%22': '\x22', '%23': '\x23', '%24': '\x24', '%25': '\x25', + '%26': '\x26', '%27': '\x27', '%28': '\x28', '%29': '\x29', '%2a': '\x2a', + '%2A': '\x2a', '%2b': '\x2b', '%2B': '\x2b', '%2c': '\x2c', '%2C': '\x2c', + '%2d': '\x2d', '%2D': '\x2d', '%2e': '\x2e', '%2E': '\x2e', '%2f': '\x2f', + '%2F': '\x2f', '%30': '\x30', '%31': '\x31', '%32': '\x32', '%33': '\x33', + '%34': '\x34', '%35': '\x35', '%36': '\x36', '%37': '\x37', '%38': '\x38', + '%39': '\x39', '%3a': '\x3a', '%3A': '\x3a', '%3b': '\x3b', '%3B': '\x3b', + '%3c': '\x3c', '%3C': '\x3c', '%3d': '\x3d', '%3D': '\x3d', '%3e': '\x3e', + '%3E': '\x3e', '%3f': '\x3f', '%3F': '\x3f', '%40': '\x40', '%41': '\x41', + '%42': '\x42', '%43': '\x43', '%44': '\x44', '%45': '\x45', '%46': '\x46', + '%47': '\x47', '%48': '\x48', '%49': '\x49', '%4a': '\x4a', '%4A': '\x4a', + '%4b': '\x4b', '%4B': '\x4b', '%4c': '\x4c', '%4C': '\x4c', '%4d': '\x4d', + '%4D': '\x4d', '%4e': '\x4e', '%4E': '\x4e', '%4f': '\x4f', '%4F': '\x4f', + '%50': '\x50', '%51': '\x51', '%52': '\x52', '%53': '\x53', '%54': '\x54', + '%55': '\x55', '%56': '\x56', '%57': '\x57', '%58': '\x58', '%59': '\x59', + '%5a': '\x5a', '%5A': '\x5a', '%5b': '\x5b', '%5B': '\x5b', '%5c': '\x5c', + '%5C': '\x5c', '%5d': '\x5d', '%5D': '\x5d', '%5e': '\x5e', '%5E': '\x5e', + '%5f': '\x5f', '%5F': '\x5f', '%60': '\x60', '%61': '\x61', '%62': '\x62', + '%63': '\x63', '%64': '\x64', '%65': '\x65', '%66': '\x66', '%67': '\x67', + '%68': '\x68', '%69': '\x69', '%6a': '\x6a', '%6A': '\x6a', '%6b': '\x6b', + '%6B': '\x6b', '%6c': '\x6c', '%6C': '\x6c', '%6d': '\x6d', '%6D': '\x6d', + '%6e': '\x6e', '%6E': '\x6e', '%6f': '\x6f', '%6F': '\x6f', '%70': '\x70', + '%71': '\x71', '%72': '\x72', '%73': '\x73', '%74': '\x74', '%75': '\x75', + '%76': '\x76', '%77': '\x77', '%78': '\x78', '%79': '\x79', '%7a': '\x7a', + '%7A': '\x7a', '%7b': '\x7b', '%7B': '\x7b', '%7c': '\x7c', '%7C': '\x7c', + '%7d': '\x7d', '%7D': '\x7d', '%7e': '\x7e', '%7E': '\x7e', '%7f': '\x7f', + '%7F': '\x7f', '%80': '\x80', '%81': '\x81', '%82': '\x82', '%83': '\x83', + '%84': '\x84', '%85': '\x85', '%86': '\x86', '%87': '\x87', '%88': '\x88', + '%89': '\x89', '%8a': '\x8a', '%8A': '\x8a', '%8b': '\x8b', '%8B': '\x8b', + '%8c': '\x8c', '%8C': '\x8c', '%8d': '\x8d', '%8D': '\x8d', '%8e': '\x8e', + '%8E': '\x8e', '%8f': '\x8f', '%8F': '\x8f', '%90': '\x90', '%91': '\x91', + '%92': '\x92', '%93': '\x93', '%94': '\x94', '%95': '\x95', '%96': '\x96', + '%97': '\x97', '%98': '\x98', '%99': '\x99', '%9a': '\x9a', '%9A': '\x9a', + '%9b': '\x9b', '%9B': '\x9b', '%9c': '\x9c', '%9C': '\x9c', '%9d': '\x9d', + '%9D': '\x9d', '%9e': '\x9e', '%9E': '\x9e', '%9f': '\x9f', '%9F': '\x9f', + '%a0': '\xa0', '%A0': '\xa0', '%a1': '\xa1', '%A1': '\xa1', '%a2': '\xa2', + '%A2': '\xa2', '%a3': '\xa3', '%A3': '\xa3', '%a4': '\xa4', '%A4': '\xa4', + '%a5': '\xa5', '%A5': '\xa5', '%a6': '\xa6', '%A6': '\xa6', '%a7': '\xa7', + '%A7': '\xa7', '%a8': '\xa8', '%A8': '\xa8', '%a9': '\xa9', '%A9': '\xa9', + '%aa': '\xaa', '%Aa': '\xaa', '%aA': '\xaa', '%AA': '\xaa', '%ab': '\xab', + '%Ab': '\xab', '%aB': '\xab', '%AB': '\xab', '%ac': '\xac', '%Ac': '\xac', + '%aC': '\xac', '%AC': '\xac', '%ad': '\xad', '%Ad': '\xad', '%aD': '\xad', + '%AD': '\xad', '%ae': '\xae', '%Ae': '\xae', '%aE': '\xae', '%AE': '\xae', + '%af': '\xaf', '%Af': '\xaf', '%aF': '\xaf', '%AF': '\xaf', '%b0': '\xb0', + '%B0': '\xb0', '%b1': '\xb1', '%B1': '\xb1', '%b2': '\xb2', '%B2': '\xb2', + '%b3': '\xb3', '%B3': '\xb3', '%b4': '\xb4', '%B4': '\xb4', '%b5': '\xb5', + '%B5': '\xb5', '%b6': '\xb6', '%B6': '\xb6', '%b7': '\xb7', '%B7': '\xb7', + '%b8': '\xb8', '%B8': '\xb8', '%b9': '\xb9', '%B9': '\xb9', '%ba': '\xba', + '%Ba': '\xba', '%bA': '\xba', '%BA': '\xba', '%bb': '\xbb', '%Bb': '\xbb', + '%bB': '\xbb', '%BB': '\xbb', '%bc': '\xbc', '%Bc': '\xbc', '%bC': '\xbc', + '%BC': '\xbc', '%bd': '\xbd', '%Bd': '\xbd', '%bD': '\xbd', '%BD': '\xbd', + '%be': '\xbe', '%Be': '\xbe', '%bE': '\xbe', '%BE': '\xbe', '%bf': '\xbf', + '%Bf': '\xbf', '%bF': '\xbf', '%BF': '\xbf', '%c0': '\xc0', '%C0': '\xc0', + '%c1': '\xc1', '%C1': '\xc1', '%c2': '\xc2', '%C2': '\xc2', '%c3': '\xc3', + '%C3': '\xc3', '%c4': '\xc4', '%C4': '\xc4', '%c5': '\xc5', '%C5': '\xc5', + '%c6': '\xc6', '%C6': '\xc6', '%c7': '\xc7', '%C7': '\xc7', '%c8': '\xc8', + '%C8': '\xc8', '%c9': '\xc9', '%C9': '\xc9', '%ca': '\xca', '%Ca': '\xca', + '%cA': '\xca', '%CA': '\xca', '%cb': '\xcb', '%Cb': '\xcb', '%cB': '\xcb', + '%CB': '\xcb', '%cc': '\xcc', '%Cc': '\xcc', '%cC': '\xcc', '%CC': '\xcc', + '%cd': '\xcd', '%Cd': '\xcd', '%cD': '\xcd', '%CD': '\xcd', '%ce': '\xce', + '%Ce': '\xce', '%cE': '\xce', '%CE': '\xce', '%cf': '\xcf', '%Cf': '\xcf', + '%cF': '\xcf', '%CF': '\xcf', '%d0': '\xd0', '%D0': '\xd0', '%d1': '\xd1', + '%D1': '\xd1', '%d2': '\xd2', '%D2': '\xd2', '%d3': '\xd3', '%D3': '\xd3', + '%d4': '\xd4', '%D4': '\xd4', '%d5': '\xd5', '%D5': '\xd5', '%d6': '\xd6', + '%D6': '\xd6', '%d7': '\xd7', '%D7': '\xd7', '%d8': '\xd8', '%D8': '\xd8', + '%d9': '\xd9', '%D9': '\xd9', '%da': '\xda', '%Da': '\xda', '%dA': '\xda', + '%DA': '\xda', '%db': '\xdb', '%Db': '\xdb', '%dB': '\xdb', '%DB': '\xdb', + '%dc': '\xdc', '%Dc': '\xdc', '%dC': '\xdc', '%DC': '\xdc', '%dd': '\xdd', + '%Dd': '\xdd', '%dD': '\xdd', '%DD': '\xdd', '%de': '\xde', '%De': '\xde', + '%dE': '\xde', '%DE': '\xde', '%df': '\xdf', '%Df': '\xdf', '%dF': '\xdf', + '%DF': '\xdf', '%e0': '\xe0', '%E0': '\xe0', '%e1': '\xe1', '%E1': '\xe1', + '%e2': '\xe2', '%E2': '\xe2', '%e3': '\xe3', '%E3': '\xe3', '%e4': '\xe4', + '%E4': '\xe4', '%e5': '\xe5', '%E5': '\xe5', '%e6': '\xe6', '%E6': '\xe6', + '%e7': '\xe7', '%E7': '\xe7', '%e8': '\xe8', '%E8': '\xe8', '%e9': '\xe9', + '%E9': '\xe9', '%ea': '\xea', '%Ea': '\xea', '%eA': '\xea', '%EA': '\xea', + '%eb': '\xeb', '%Eb': '\xeb', '%eB': '\xeb', '%EB': '\xeb', '%ec': '\xec', + '%Ec': '\xec', '%eC': '\xec', '%EC': '\xec', '%ed': '\xed', '%Ed': '\xed', + '%eD': '\xed', '%ED': '\xed', '%ee': '\xee', '%Ee': '\xee', '%eE': '\xee', + '%EE': '\xee', '%ef': '\xef', '%Ef': '\xef', '%eF': '\xef', '%EF': '\xef', + '%f0': '\xf0', '%F0': '\xf0', '%f1': '\xf1', '%F1': '\xf1', '%f2': '\xf2', + '%F2': '\xf2', '%f3': '\xf3', '%F3': '\xf3', '%f4': '\xf4', '%F4': '\xf4', + '%f5': '\xf5', '%F5': '\xf5', '%f6': '\xf6', '%F6': '\xf6', '%f7': '\xf7', + '%F7': '\xf7', '%f8': '\xf8', '%F8': '\xf8', '%f9': '\xf9', '%F9': '\xf9', + '%fa': '\xfa', '%Fa': '\xfa', '%fA': '\xfa', '%FA': '\xfa', '%fb': '\xfb', + '%Fb': '\xfb', '%fB': '\xfb', '%FB': '\xfb', '%fc': '\xfc', '%Fc': '\xfc', + '%fC': '\xfc', '%FC': '\xfc', '%fd': '\xfd', '%Fd': '\xfd', '%fD': '\xfd', + '%FD': '\xfd', '%fe': '\xfe', '%Fe': '\xfe', '%fE': '\xfe', '%FE': '\xfe', + '%ff': '\xff', '%Ff': '\xff', '%fF': '\xff', '%FF': '\xff' +} + +function encodedReplacer (match) { + return EncodedLookup[match] +} + +const STATE_KEY = 0 +const STATE_VALUE = 1 +const STATE_CHARSET = 2 +const STATE_LANG = 3 + +function parseParams (str) { + const res = [] + let state = STATE_KEY + let charset = '' + let inquote = false + let escaping = false + let p = 0 + let tmp = '' + const len = str.length + + for (var i = 0; i < len; ++i) { // eslint-disable-line no-var + const char = str[i] + if (char === '\\' && inquote) { + if (escaping) { escaping = false } else { + escaping = true + continue + } + } else if (char === '"') { + if (!escaping) { + if (inquote) { + inquote = false + state = STATE_KEY + } else { inquote = true } + continue + } else { escaping = false } + } else { + if (escaping && inquote) { tmp += '\\' } + escaping = false + if ((state === STATE_CHARSET || state === STATE_LANG) && char === "'") { + if (state === STATE_CHARSET) { + state = STATE_LANG + charset = tmp.substring(1) + } else { state = STATE_VALUE } + tmp = '' + continue + } else if (state === STATE_KEY && + (char === '*' || char === '=') && + res.length) { + state = char === '*' + ? STATE_CHARSET + : STATE_VALUE + res[p] = [tmp, undefined] + tmp = '' + continue + } else if (!inquote && char === ';') { + state = STATE_KEY + if (charset) { + if (tmp.length) { + tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer), + 'binary', + charset) + } + charset = '' + } else if (tmp.length) { + tmp = decodeText(tmp, 'binary', 'utf8') + } + if (res[p] === undefined) { res[p] = tmp } else { res[p][1] = tmp } + tmp = '' + ++p + continue + } else if (!inquote && (char === ' ' || char === '\t')) { continue } + } + tmp += char + } + if (charset && tmp.length) { + tmp = decodeText(tmp.replace(RE_ENCODED, encodedReplacer), + 'binary', + charset) + } else if (tmp) { + tmp = decodeText(tmp, 'binary', 'utf8') + } + + if (res[p] === undefined) { + if (tmp) { res[p] = tmp } + } else { res[p][1] = tmp } + + return res +} + +module.exports = parseParams + + +/***/ }), + +/***/ 5650: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"@aws-sdk/client-ec2","description":"AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native","version":"3.708.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-ec2","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ec2"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.699.0","@aws-sdk/client-sts":"3.699.0","@aws-sdk/core":"3.696.0","@aws-sdk/credential-provider-node":"3.699.0","@aws-sdk/middleware-host-header":"3.696.0","@aws-sdk/middleware-logger":"3.696.0","@aws-sdk/middleware-recursion-detection":"3.696.0","@aws-sdk/middleware-sdk-ec2":"3.696.0","@aws-sdk/middleware-user-agent":"3.696.0","@aws-sdk/region-config-resolver":"3.696.0","@aws-sdk/types":"3.696.0","@aws-sdk/util-endpoints":"3.696.0","@aws-sdk/util-user-agent-browser":"3.696.0","@aws-sdk/util-user-agent-node":"3.696.0","@smithy/config-resolver":"^3.0.12","@smithy/core":"^2.5.3","@smithy/fetch-http-handler":"^4.1.1","@smithy/hash-node":"^3.0.10","@smithy/invalid-dependency":"^3.0.10","@smithy/middleware-content-length":"^3.0.12","@smithy/middleware-endpoint":"^3.2.3","@smithy/middleware-retry":"^3.0.27","@smithy/middleware-serde":"^3.0.10","@smithy/middleware-stack":"^3.0.10","@smithy/node-config-provider":"^3.1.11","@smithy/node-http-handler":"^3.3.1","@smithy/protocol-http":"^4.1.7","@smithy/smithy-client":"^3.4.4","@smithy/types":"^3.7.1","@smithy/url-parser":"^3.0.10","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.27","@smithy/util-defaults-mode-node":"^3.0.27","@smithy/util-endpoints":"^2.1.6","@smithy/util-middleware":"^3.0.10","@smithy/util-retry":"^3.0.10","@smithy/util-utf8":"^3.0.0","@smithy/util-waiter":"^3.1.9","@types/uuid":"^9.0.1","tslib":"^2.6.2","uuid":"^9.0.1"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-ec2"}}'); + +/***/ }), + +/***/ 9722: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"@aws-sdk/client-sso-oidc","description":"AWS SDK for JavaScript Sso Oidc Client for Node.js, Browser and React Native","version":"3.699.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso-oidc","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso-oidc"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.696.0","@aws-sdk/credential-provider-node":"3.699.0","@aws-sdk/middleware-host-header":"3.696.0","@aws-sdk/middleware-logger":"3.696.0","@aws-sdk/middleware-recursion-detection":"3.696.0","@aws-sdk/middleware-user-agent":"3.696.0","@aws-sdk/region-config-resolver":"3.696.0","@aws-sdk/types":"3.696.0","@aws-sdk/util-endpoints":"3.696.0","@aws-sdk/util-user-agent-browser":"3.696.0","@aws-sdk/util-user-agent-node":"3.696.0","@smithy/config-resolver":"^3.0.12","@smithy/core":"^2.5.3","@smithy/fetch-http-handler":"^4.1.1","@smithy/hash-node":"^3.0.10","@smithy/invalid-dependency":"^3.0.10","@smithy/middleware-content-length":"^3.0.12","@smithy/middleware-endpoint":"^3.2.3","@smithy/middleware-retry":"^3.0.27","@smithy/middleware-serde":"^3.0.10","@smithy/middleware-stack":"^3.0.10","@smithy/node-config-provider":"^3.1.11","@smithy/node-http-handler":"^3.3.1","@smithy/protocol-http":"^4.1.7","@smithy/smithy-client":"^3.4.4","@smithy/types":"^3.7.1","@smithy/url-parser":"^3.0.10","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.27","@smithy/util-defaults-mode-node":"^3.0.27","@smithy/util-endpoints":"^2.1.6","@smithy/util-middleware":"^3.0.10","@smithy/util-retry":"^3.0.10","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","peerDependencies":{"@aws-sdk/client-sts":"^3.699.0"},"browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso-oidc","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso-oidc"}}'); + +/***/ }), + +/***/ 1092: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"@aws-sdk/client-sso","description":"AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native","version":"3.696.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sso","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sso"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"3.696.0","@aws-sdk/middleware-host-header":"3.696.0","@aws-sdk/middleware-logger":"3.696.0","@aws-sdk/middleware-recursion-detection":"3.696.0","@aws-sdk/middleware-user-agent":"3.696.0","@aws-sdk/region-config-resolver":"3.696.0","@aws-sdk/types":"3.696.0","@aws-sdk/util-endpoints":"3.696.0","@aws-sdk/util-user-agent-browser":"3.696.0","@aws-sdk/util-user-agent-node":"3.696.0","@smithy/config-resolver":"^3.0.12","@smithy/core":"^2.5.3","@smithy/fetch-http-handler":"^4.1.1","@smithy/hash-node":"^3.0.10","@smithy/invalid-dependency":"^3.0.10","@smithy/middleware-content-length":"^3.0.12","@smithy/middleware-endpoint":"^3.2.3","@smithy/middleware-retry":"^3.0.27","@smithy/middleware-serde":"^3.0.10","@smithy/middleware-stack":"^3.0.10","@smithy/node-config-provider":"^3.1.11","@smithy/node-http-handler":"^3.3.1","@smithy/protocol-http":"^4.1.7","@smithy/smithy-client":"^3.4.4","@smithy/types":"^3.7.1","@smithy/url-parser":"^3.0.10","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.27","@smithy/util-defaults-mode-node":"^3.0.27","@smithy/util-endpoints":"^2.1.6","@smithy/util-middleware":"^3.0.10","@smithy/util-retry":"^3.0.10","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sso","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sso"}}'); + +/***/ }), + +/***/ 7947: +/***/ ((module) => { + +"use strict"; +module.exports = JSON.parse('{"name":"@aws-sdk/client-sts","description":"AWS SDK for JavaScript Sts Client for Node.js, Browser and React Native","version":"3.699.0","scripts":{"build":"concurrently \'yarn:build:cjs\' \'yarn:build:es\' \'yarn:build:types\'","build:cjs":"node ../../scripts/compilation/inline client-sts","build:es":"tsc -p tsconfig.es.json","build:include:deps":"lerna run --scope $npm_package_name --include-dependencies build","build:types":"rimraf ./dist-types tsconfig.types.tsbuildinfo && tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"rimraf ./dist-* && rimraf *.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo sts","test":"yarn g:vitest run","test:watch":"yarn g:vitest watch"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/client-sso-oidc":"3.699.0","@aws-sdk/core":"3.696.0","@aws-sdk/credential-provider-node":"3.699.0","@aws-sdk/middleware-host-header":"3.696.0","@aws-sdk/middleware-logger":"3.696.0","@aws-sdk/middleware-recursion-detection":"3.696.0","@aws-sdk/middleware-user-agent":"3.696.0","@aws-sdk/region-config-resolver":"3.696.0","@aws-sdk/types":"3.696.0","@aws-sdk/util-endpoints":"3.696.0","@aws-sdk/util-user-agent-browser":"3.696.0","@aws-sdk/util-user-agent-node":"3.696.0","@smithy/config-resolver":"^3.0.12","@smithy/core":"^2.5.3","@smithy/fetch-http-handler":"^4.1.1","@smithy/hash-node":"^3.0.10","@smithy/invalid-dependency":"^3.0.10","@smithy/middleware-content-length":"^3.0.12","@smithy/middleware-endpoint":"^3.2.3","@smithy/middleware-retry":"^3.0.27","@smithy/middleware-serde":"^3.0.10","@smithy/middleware-stack":"^3.0.10","@smithy/node-config-provider":"^3.1.11","@smithy/node-http-handler":"^3.3.1","@smithy/protocol-http":"^4.1.7","@smithy/smithy-client":"^3.4.4","@smithy/types":"^3.7.1","@smithy/url-parser":"^3.0.10","@smithy/util-base64":"^3.0.0","@smithy/util-body-length-browser":"^3.0.0","@smithy/util-body-length-node":"^3.0.0","@smithy/util-defaults-mode-browser":"^3.0.27","@smithy/util-defaults-mode-node":"^3.0.27","@smithy/util-endpoints":"^2.1.6","@smithy/util-middleware":"^3.0.10","@smithy/util-retry":"^3.0.10","@smithy/util-utf8":"^3.0.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node16":"16.1.3","@types/node":"^16.18.96","concurrently":"7.0.0","downlevel-dts":"0.10.1","rimraf":"3.0.2","typescript":"~4.9.5"},"engines":{"node":">=16.0.0"},"typesVersions":{"<4.0":{"dist-types/*":["dist-types/ts3.4/*"]}},"files":["dist-*/**"],"author":{"name":"AWS SDK for JavaScript Team","url":"https://aws.amazon.com/javascript/"},"license":"Apache-2.0","browser":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.browser"},"react-native":{"./dist-es/runtimeConfig":"./dist-es/runtimeConfig.native"},"homepage":"https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sts","repository":{"type":"git","url":"https://github.com/aws/aws-sdk-js-v3.git","directory":"clients/client-sts"}}'); + +/***/ }) + +/******/ }); +/************************************************************************/ +/******/ // The module cache +/******/ var __webpack_module_cache__ = {}; +/******/ +/******/ // The require function +/******/ function __nccwpck_require__(moduleId) { +/******/ // Check if module is in cache +/******/ var cachedModule = __webpack_module_cache__[moduleId]; +/******/ if (cachedModule !== undefined) { +/******/ return cachedModule.exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = __webpack_module_cache__[moduleId] = { +/******/ // no module.id needed +/******/ // no module.loaded needed +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ var threw = true; +/******/ try { +/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nccwpck_require__); +/******/ threw = false; +/******/ } finally { +/******/ if(threw) delete __webpack_module_cache__[moduleId]; +/******/ } +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/************************************************************************/ +/******/ /* webpack/runtime/compat */ +/******/ +/******/ if (typeof __nccwpck_require__ !== 'undefined') __nccwpck_require__.ab = __dirname + "/"; +/******/ +/************************************************************************/ +/******/ +/******/ // startup +/******/ // Load entry module and return exports +/******/ // This entry module is referenced by other modules so it can't be inlined +/******/ var __webpack_exports__ = __nccwpck_require__(3109); +/******/ module.exports = __webpack_exports__; +/******/ +/******/ })() +; \ No newline at end of file diff --git a/.github/prune-launch-templates/package-lock.json b/.github/prune-launch-templates/package-lock.json new file mode 100644 index 00000000000..0b0537f990b --- /dev/null +++ b/.github/prune-launch-templates/package-lock.json @@ -0,0 +1,3092 @@ +{ + "name": "ec2-action-builder", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "ec2-action-builder", + "version": "1.0.0", + "license": "ISC", + "dependencies": { + "@actions/core": "^1.10.1", + "@actions/github": "^6.0.0", + "@actions/http-client": "^2.2.0", + "aws-sdk": "^2.1535.0", + "lodash": "^4.17.21" + }, + "devDependencies": { + "@faker-js/faker": "^6.3.1", + "@types/chai": "^4.3.1", + "@types/mocha": "^9.1.1", + "@types/node": "^17.0.31", + "@vercel/ncc": "^0.33.4", + "chai": "^4.3.6", + "dotenv": "^16.0.1", + "mocha": "^10.0.0", + "prettier": "^2.6.2", + "ts-node": "^10.7.0", + "typescript": "^4.6.4" + } + }, + "node_modules/@actions/core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz", + "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", + "dependencies": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } + }, + "node_modules/@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "dependencies": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "node_modules/@actions/http-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz", + "integrity": "sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==", + "dependencies": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "node_modules/@cspotcode/source-map-consumer": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", + "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", + "dev": true, + "engines": { + "node": ">= 12" + } + }, + "node_modules/@cspotcode/source-map-support": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", + "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-consumer": "0.8.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@faker-js/faker": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-6.3.1.tgz", + "integrity": "sha512-8YXBE2ZcU/pImVOHX7MWrSR/X5up7t6rPWZlk34RwZEcdr3ua6X+32pSd6XuOQRN+vbuvYNfA6iey8NbrjuMFQ==", + "dev": true, + "engines": { + "node": ">=14.0.0", + "npm": ">=6.0.0" + } + }, + "node_modules/@fastify/busboy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz", + "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==", + "engines": { + "node": ">=14" + } + }, + "node_modules/@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==", + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/core": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.0.2.tgz", + "integrity": "sha512-cZUy1gUvd4vttMic7C0lwPed8IYXWYp8kHIMatyhY8t8n3Cpw2ILczkV5pGMPqef7v0bLo0pOHrEHarsau2Ydg==", + "dependencies": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.0.0", + "@octokit/request": "^8.0.2", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/endpoint": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.4.tgz", + "integrity": "sha512-DWPLtr1Kz3tv8L0UvXTDP1fNwM0S+z6EJpRcvH66orY6Eld4XBMCSYsaWp4xIm61jTWxK68BrR7ibO+vSDnZqw==", + "dependencies": { + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/graphql": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.0.2.tgz", + "integrity": "sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==", + "dependencies": { + "@octokit/request": "^8.0.1", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/openapi-types": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.1.0.tgz", + "integrity": "sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==" + }, + "node_modules/@octokit/plugin-paginate-rest": { + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.1.5.tgz", + "integrity": "sha512-WKTQXxK+bu49qzwv4qKbMMRXej1DU2gq017euWyKVudA6MldaSSQuxtz+vGbhxV4CjxpUxjZu6rM2wfc1FiWVg==", + "dependencies": { + "@octokit/types": "^12.4.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=5" + } + }, + "node_modules/@octokit/plugin-rest-endpoint-methods": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.2.0.tgz", + "integrity": "sha512-ePbgBMYtGoRNXDyKGvr9cyHjQ163PbwD0y1MkDJCpkO2YH4OeXX40c4wYHKikHGZcpGPbcRLuy0unPUuafco8Q==", + "dependencies": { + "@octokit/types": "^12.3.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "@octokit/core": ">=5" + } + }, + "node_modules/@octokit/request": { + "version": "8.1.6", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.6.tgz", + "integrity": "sha512-YhPaGml3ncZC1NfXpP3WZ7iliL1ap6tLkAp6MvbK2fTTPytzVUyUesBBogcdMm86uRYO5rHaM1xIWxigWZ17MQ==", + "dependencies": { + "@octokit/endpoint": "^9.0.0", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/request-error": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.0.1.tgz", + "integrity": "sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==", + "dependencies": { + "@octokit/types": "^12.0.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + }, + "engines": { + "node": ">= 18" + } + }, + "node_modules/@octokit/types": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.4.0.tgz", + "integrity": "sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==", + "dependencies": { + "@octokit/openapi-types": "^19.1.0" + } + }, + "node_modules/@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "dev": true + }, + "node_modules/@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "dev": true + }, + "node_modules/@tsconfig/node14": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "dev": true + }, + "node_modules/@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, + "node_modules/@types/chai": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.1.tgz", + "integrity": "sha512-/zPMqDkzSZ8t3VtxOa4KPq7uzzW978M9Tvh+j7GHKuo6k6GTLxPJ4J5gE5cjfJ26pnXst0N5Hax8Sr0T2Mi9zQ==", + "dev": true + }, + "node_modules/@types/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", + "dev": true + }, + "node_modules/@types/node": { + "version": "17.0.31", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", + "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==", + "dev": true + }, + "node_modules/@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "node_modules/@vercel/ncc": { + "version": "0.33.4", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", + "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", + "dev": true, + "bin": { + "ncc": "dist/ncc/cli.js" + } + }, + "node_modules/acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true, + "bin": { + "acorn": "bin/acorn" + }, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true, + "engines": { + "node": ">=0.4.0" + } + }, + "node_modules/ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "node_modules/assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/aws-sdk": { + "version": "2.1535.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1535.0.tgz", + "integrity": "sha512-Ah9prS7ZX4rIMPBeXmBD1NV6tIHoJoryrCe1Zr/Zk4PdEM743jezpfIyM9bMhzKi/Z0CmBkqtHx54uPAghsp7A==", + "dependencies": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.16.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "util": "^0.12.4", + "uuid": "8.0.0", + "xml2js": "0.5.0" + }, + "engines": { + "node": ">= 10.0.0" + } + }, + "node_modules/aws-sdk/node_modules/uuid": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", + "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "node_modules/base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "node_modules/binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "dependencies": { + "fill-range": "^7.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "node_modules/buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "dependencies": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "node_modules/call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "dependencies": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "dependencies": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/chalk/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://paulmillr.com/funding/" + } + ], + "dependencies": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + }, + "engines": { + "node": ">= 8.10.0" + }, + "optionalDependencies": { + "fsevents": "~2.3.2" + } + }, + "node_modules/cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "node_modules/create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "node_modules/debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "dependencies": { + "ms": "2.1.2" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/debug/node_modules/ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + }, + "node_modules/decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "dependencies": { + "type-detect": "^4.0.0" + }, + "engines": { + "node": ">=0.12" + } + }, + "node_modules/define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "dependencies": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/dotenv": { + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", + "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", + "dev": true, + "engines": { + "node": ">=12" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "dependencies": { + "to-regex-range": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true, + "bin": { + "flat": "cli.js" + } + }, + "node_modules/for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dependencies": { + "is-callable": "^1.1.3" + } + }, + "node_modules/fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "node_modules/fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "hasInstallScript": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, + "node_modules/function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "dependencies": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "dependencies": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "engines": { + "node": "*" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.1" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/glob/node_modules/brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "dependencies": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "node_modules/glob/node_modules/minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "dependencies": { + "brace-expansion": "^1.1.7" + }, + "engines": { + "node": "*" + } + }, + "node_modules/gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "dependencies": { + "get-intrinsic": "^1.1.3" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "dependencies": { + "get-intrinsic": "^1.2.2" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dependencies": { + "has-symbols": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "dependencies": { + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true, + "bin": { + "he": "bin/he" + } + }, + "node_modules/ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, + "node_modules/inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "dependencies": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "dependencies": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "dependencies": { + "binary-extensions": "^2.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "dependencies": { + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true, + "engines": { + "node": ">=0.12.0" + } + }, + "node_modules/is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dependencies": { + "which-typed-array": "^1.1.11" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "node_modules/jmespath": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", + "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==", + "engines": { + "node": ">= 0.6.0" + } + }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "node_modules/log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "dependencies": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "dependencies": { + "get-func-name": "^2.0.0" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "node_modules/minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "dependencies": { + "brace-expansion": "^2.0.1" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/mocha": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", + "dev": true, + "dependencies": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + }, + "bin": { + "_mocha": "bin/_mocha", + "mocha": "bin/mocha.js" + }, + "engines": { + "node": ">= 14.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/mochajs" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "node_modules/nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true, + "bin": { + "nanoid": "bin/nanoid.cjs" + }, + "engines": { + "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "dependencies": { + "wrappy": "1" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true, + "engines": { + "node": "*" + } + }, + "node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/prettier": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true, + "bin": { + "prettier": "bin-prettier.js" + }, + "engines": { + "node": ">=10.13.0" + }, + "funding": { + "url": "https://github.com/prettier/prettier?sponsor=1" + } + }, + "node_modules/punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + }, + "node_modules/querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", + "deprecated": "The querystring API is considered Legacy. new code should use the URLSearchParams API instead.", + "engines": { + "node": ">=0.4.x" + } + }, + "node_modules/randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "dependencies": { + "safe-buffer": "^5.1.0" + } + }, + "node_modules/readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "dependencies": { + "picomatch": "^2.2.1" + }, + "engines": { + "node": ">=8.10.0" + } + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ] + }, + "node_modules/sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + }, + "node_modules/serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "dependencies": { + "randombytes": "^2.1.0" + } + }, + "node_modules/set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "dependencies": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "dependencies": { + "is-number": "^7.0.0" + }, + "engines": { + "node": ">=8.0" + } + }, + "node_modules/ts-node": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz", + "integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==", + "dev": true, + "dependencies": { + "@cspotcode/source-map-support": "0.7.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.0", + "yn": "3.1.1" + }, + "bin": { + "ts-node": "dist/bin.js", + "ts-node-cwd": "dist/bin-cwd.js", + "ts-node-esm": "dist/bin-esm.js", + "ts-node-script": "dist/bin-script.js", + "ts-node-transpile-only": "dist/bin-transpile.js", + "ts-script": "dist/bin-script-deprecated.js" + }, + "peerDependencies": { + "@swc/core": ">=1.2.50", + "@swc/wasm": ">=1.2.50", + "@types/node": "*", + "typescript": ">=2.7" + }, + "peerDependenciesMeta": { + "@swc/core": { + "optional": true + }, + "@swc/wasm": { + "optional": true + } + } + }, + "node_modules/ts-node/node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true, + "engines": { + "node": ">=0.3.1" + } + }, + "node_modules/tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==", + "engines": { + "node": ">=0.6.11 <=0.7.0 || >=0.7.3" + } + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/typescript": { + "version": "4.6.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", + "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + } + }, + "node_modules/undici": { + "version": "5.28.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz", + "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==", + "dependencies": { + "@fastify/busboy": "^2.0.0" + }, + "engines": { + "node": ">=14.0" + } + }, + "node_modules/universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "node_modules/url": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", + "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", + "dependencies": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "node_modules/util": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "dependencies": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" + } + }, + "node_modules/uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==", + "bin": { + "uuid": "dist/bin/uuid" + } + }, + "node_modules/v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, + "node_modules/which-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "dependencies": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.4", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "node_modules/xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "dependencies": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + }, + "engines": { + "node": ">=4.0.0" + } + }, + "node_modules/xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==", + "engines": { + "node": ">=4.0" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "dependencies": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "dependencies": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true, + "engines": { + "node": ">=6" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + } + }, + "dependencies": { + "@actions/core": { + "version": "1.10.1", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.10.1.tgz", + "integrity": "sha512-3lBR9EDAY+iYIpTnTIXmWcNbX3T2kCkAEQGIQx4NVQ0575nk2k3GRZDTPQG+vVtS2izSLmINlxXf0uLtnrTP+g==", + "requires": { + "@actions/http-client": "^2.0.1", + "uuid": "^8.3.2" + } + }, + "@actions/github": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@actions/github/-/github-6.0.0.tgz", + "integrity": "sha512-alScpSVnYmjNEXboZjarjukQEzgCRmjMv6Xj47fsdnqGS73bjJNDpiiXmp8jr0UZLdUB6d9jW63IcmddUP+l0g==", + "requires": { + "@actions/http-client": "^2.2.0", + "@octokit/core": "^5.0.1", + "@octokit/plugin-paginate-rest": "^9.0.0", + "@octokit/plugin-rest-endpoint-methods": "^10.0.0" + } + }, + "@actions/http-client": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@actions/http-client/-/http-client-2.2.0.tgz", + "integrity": "sha512-q+epW0trjVUUHboliPb4UF9g2msf+w61b32tAkFEwL/IwP0DQWgbCMM0Hbe3e3WXSKz5VcUXbzJQgy8Hkra/Lg==", + "requires": { + "tunnel": "^0.0.6", + "undici": "^5.25.4" + } + }, + "@cspotcode/source-map-consumer": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz", + "integrity": "sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg==", + "dev": true + }, + "@cspotcode/source-map-support": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz", + "integrity": "sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA==", + "dev": true, + "requires": { + "@cspotcode/source-map-consumer": "0.8.0" + } + }, + "@faker-js/faker": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/@faker-js/faker/-/faker-6.3.1.tgz", + "integrity": "sha512-8YXBE2ZcU/pImVOHX7MWrSR/X5up7t6rPWZlk34RwZEcdr3ua6X+32pSd6XuOQRN+vbuvYNfA6iey8NbrjuMFQ==", + "dev": true + }, + "@fastify/busboy": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.0.tgz", + "integrity": "sha512-+KpH+QxZU7O4675t3mnkQKcZZg56u+K/Ct2K+N2AZYNVK8kyeo/bI18tI8aPm3tvNNRyTWfj6s5tnGNlcbQRsA==" + }, + "@octokit/auth-token": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@octokit/auth-token/-/auth-token-4.0.0.tgz", + "integrity": "sha512-tY/msAuJo6ARbK6SPIxZrPBms3xPbfwBrulZe0Wtr/DIY9lje2HeV1uoebShn6mx7SjCHif6EjMvoREj+gZ+SA==" + }, + "@octokit/core": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/@octokit/core/-/core-5.0.2.tgz", + "integrity": "sha512-cZUy1gUvd4vttMic7C0lwPed8IYXWYp8kHIMatyhY8t8n3Cpw2ILczkV5pGMPqef7v0bLo0pOHrEHarsau2Ydg==", + "requires": { + "@octokit/auth-token": "^4.0.0", + "@octokit/graphql": "^7.0.0", + "@octokit/request": "^8.0.2", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "before-after-hook": "^2.2.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/endpoint": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/@octokit/endpoint/-/endpoint-9.0.4.tgz", + "integrity": "sha512-DWPLtr1Kz3tv8L0UvXTDP1fNwM0S+z6EJpRcvH66orY6Eld4XBMCSYsaWp4xIm61jTWxK68BrR7ibO+vSDnZqw==", + "requires": { + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/graphql": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@octokit/graphql/-/graphql-7.0.2.tgz", + "integrity": "sha512-OJ2iGMtj5Tg3s6RaXH22cJcxXRi7Y3EBqbHTBRq+PQAqfaS8f/236fUrWhfSn8P4jovyzqucxme7/vWSSZBX2Q==", + "requires": { + "@octokit/request": "^8.0.1", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/openapi-types": { + "version": "19.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.1.0.tgz", + "integrity": "sha512-6G+ywGClliGQwRsjvqVYpklIfa7oRPA0vyhPQG/1Feh+B+wU0vGH1JiJ5T25d3g1JZYBHzR2qefLi9x8Gt+cpw==" + }, + "@octokit/plugin-paginate-rest": { + "version": "9.1.5", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.1.5.tgz", + "integrity": "sha512-WKTQXxK+bu49qzwv4qKbMMRXej1DU2gq017euWyKVudA6MldaSSQuxtz+vGbhxV4CjxpUxjZu6rM2wfc1FiWVg==", + "requires": { + "@octokit/types": "^12.4.0" + } + }, + "@octokit/plugin-rest-endpoint-methods": { + "version": "10.2.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-10.2.0.tgz", + "integrity": "sha512-ePbgBMYtGoRNXDyKGvr9cyHjQ163PbwD0y1MkDJCpkO2YH4OeXX40c4wYHKikHGZcpGPbcRLuy0unPUuafco8Q==", + "requires": { + "@octokit/types": "^12.3.0" + } + }, + "@octokit/request": { + "version": "8.1.6", + "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.6.tgz", + "integrity": "sha512-YhPaGml3ncZC1NfXpP3WZ7iliL1ap6tLkAp6MvbK2fTTPytzVUyUesBBogcdMm86uRYO5rHaM1xIWxigWZ17MQ==", + "requires": { + "@octokit/endpoint": "^9.0.0", + "@octokit/request-error": "^5.0.0", + "@octokit/types": "^12.0.0", + "universal-user-agent": "^6.0.0" + } + }, + "@octokit/request-error": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@octokit/request-error/-/request-error-5.0.1.tgz", + "integrity": "sha512-X7pnyTMV7MgtGmiXBwmO6M5kIPrntOXdyKZLigNfQWSEQzVxR4a4vo49vJjTWX70mPndj8KhfT4Dx+2Ng3vnBQ==", + "requires": { + "@octokit/types": "^12.0.0", + "deprecation": "^2.0.0", + "once": "^1.4.0" + } + }, + "@octokit/types": { + "version": "12.4.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.4.0.tgz", + "integrity": "sha512-FLWs/AvZllw/AGVs+nJ+ELCDZZJk+kY0zMen118xhL2zD0s1etIUHm1odgjP7epxYU1ln7SZxEUWYop5bhsdgQ==", + "requires": { + "@octokit/openapi-types": "^19.1.0" + } + }, + "@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.8.tgz", + "integrity": "sha512-6XFfSQmMgq0CFLY1MslA/CPUfhIL919M1rMsa5lP2P097N2Wd1sSX0tx1u4olM16fLNhtHZpRhedZJphNJqmZg==", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.9.tgz", + "integrity": "sha512-/yBMcem+fbvhSREH+s14YJi18sp7J9jpuhYByADT2rypfajMZZN4WQ6zBGgBKp53NKmqI36wFYDb3yaMPurITw==", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.1.tgz", + "integrity": "sha512-509r2+yARFfHHE7T6Puu2jjkoycftovhXRqW328PDXTVGKihlb1P8Z9mMZH04ebyajfRY7dedfGynlrFHJUQCg==", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.2.tgz", + "integrity": "sha512-eZxlbI8GZscaGS7kkc/trHTT5xgrjH3/1n2JDwusC9iahPKWMRvRjJSAN5mCXviuTGQ/lHnhvv8Q1YTpnfz9gA==", + "dev": true + }, + "@types/chai": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.1.tgz", + "integrity": "sha512-/zPMqDkzSZ8t3VtxOa4KPq7uzzW978M9Tvh+j7GHKuo6k6GTLxPJ4J5gE5cjfJ26pnXst0N5Hax8Sr0T2Mi9zQ==", + "dev": true + }, + "@types/mocha": { + "version": "9.1.1", + "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-9.1.1.tgz", + "integrity": "sha512-Z61JK7DKDtdKTWwLeElSEBcWGRLY8g95ic5FoQqI9CMx0ns/Ghep3B4DfcEimiKMvtamNVULVNKEsiwV3aQmXw==", + "dev": true + }, + "@types/node": { + "version": "17.0.31", + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.31.tgz", + "integrity": "sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q==", + "dev": true + }, + "@ungap/promise-all-settled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@ungap/promise-all-settled/-/promise-all-settled-1.1.2.tgz", + "integrity": "sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==", + "dev": true + }, + "@vercel/ncc": { + "version": "0.33.4", + "resolved": "https://registry.npmjs.org/@vercel/ncc/-/ncc-0.33.4.tgz", + "integrity": "sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg==", + "dev": true + }, + "acorn": { + "version": "8.7.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", + "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "dev": true + }, + "acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.2.0.tgz", + "integrity": "sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA==", + "dev": true + }, + "ansi-colors": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", + "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", + "dev": true + }, + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "anymatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz", + "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==", + "dev": true, + "requires": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + } + }, + "arg": { + "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, + "assertion-error": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", + "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", + "dev": true + }, + "available-typed-arrays": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", + "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==" + }, + "aws-sdk": { + "version": "2.1535.0", + "resolved": "https://registry.npmjs.org/aws-sdk/-/aws-sdk-2.1535.0.tgz", + "integrity": "sha512-Ah9prS7ZX4rIMPBeXmBD1NV6tIHoJoryrCe1Zr/Zk4PdEM743jezpfIyM9bMhzKi/Z0CmBkqtHx54uPAghsp7A==", + "requires": { + "buffer": "4.9.2", + "events": "1.1.1", + "ieee754": "1.1.13", + "jmespath": "0.16.0", + "querystring": "0.2.0", + "sax": "1.2.1", + "url": "0.10.3", + "util": "^0.12.4", + "uuid": "8.0.0", + "xml2js": "0.5.0" + }, + "dependencies": { + "uuid": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.0.0.tgz", + "integrity": "sha512-jOXGuXZAWdsTH7eZLtyXMqUb9EcWMGZNbL9YcGBJl4MH4nrxHmZJhEHvyLFrkxo+28uLb/NYRcStH48fnD0Vzw==" + } + } + }, + "balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true + }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", + "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==" + }, + "before-after-hook": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/before-after-hook/-/before-after-hook-2.2.3.tgz", + "integrity": "sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==" + }, + "binary-extensions": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz", + "integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==", + "dev": true + }, + "brace-expansion": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", + "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0" + } + }, + "braces": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", + "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", + "dev": true, + "requires": { + "fill-range": "^7.0.1" + } + }, + "browser-stdout": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", + "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", + "dev": true + }, + "buffer": { + "version": "4.9.2", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", + "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", + "requires": { + "base64-js": "^1.0.2", + "ieee754": "^1.1.4", + "isarray": "^1.0.0" + } + }, + "call-bind": { + "version": "1.0.5", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.5.tgz", + "integrity": "sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ==", + "requires": { + "function-bind": "^1.1.2", + "get-intrinsic": "^1.2.1", + "set-function-length": "^1.1.1" + } + }, + "camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true + }, + "chai": { + "version": "4.3.6", + "resolved": "https://registry.npmjs.org/chai/-/chai-4.3.6.tgz", + "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==", + "dev": true, + "requires": { + "assertion-error": "^1.1.0", + "check-error": "^1.0.2", + "deep-eql": "^3.0.1", + "get-func-name": "^2.0.0", + "loupe": "^2.3.1", + "pathval": "^1.1.1", + "type-detect": "^4.0.5" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "dependencies": { + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "check-error": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", + "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", + "dev": true + }, + "chokidar": { + "version": "3.5.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.3.tgz", + "integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==", + "dev": true, + "requires": { + "anymatch": "~3.1.2", + "braces": "~3.0.2", + "fsevents": "~2.3.2", + "glob-parent": "~5.1.2", + "is-binary-path": "~2.1.0", + "is-glob": "~4.0.1", + "normalize-path": "~3.0.0", + "readdirp": "~3.6.0" + } + }, + "cliui": { + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-7.0.4.tgz", + "integrity": "sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==", + "dev": true, + "requires": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^7.0.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "concat-map": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", + "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", + "dev": true + }, + "create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", + "dev": true + }, + "debug": { + "version": "4.3.4", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", + "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", + "dev": true, + "requires": { + "ms": "2.1.2" + }, + "dependencies": { + "ms": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", + "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", + "dev": true + } + } + }, + "decamelize": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-4.0.0.tgz", + "integrity": "sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==", + "dev": true + }, + "deep-eql": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", + "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", + "dev": true, + "requires": { + "type-detect": "^4.0.0" + } + }, + "define-data-property": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.1.tgz", + "integrity": "sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ==", + "requires": { + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, + "deprecation": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/deprecation/-/deprecation-2.3.1.tgz", + "integrity": "sha512-xmHIy4F3scKVwMsQ4WnVaS8bHOx0DmVwRywosKhaILI0ywMDWPtBSku2HNxRvF7jtwDRsoEwYQSfbxj8b7RlJQ==" + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "dev": true + }, + "dotenv": { + "version": "16.0.1", + "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz", + "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==", + "dev": true + }, + "emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "escalade": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", + "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "events": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", + "integrity": "sha1-nr23Y1rQmccNzEwqH1AEKI6L2SQ=" + }, + "fill-range": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", + "integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==", + "dev": true, + "requires": { + "to-regex-range": "^5.0.1" + } + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "flat": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/flat/-/flat-5.0.2.tgz", + "integrity": "sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==", + "dev": true + }, + "for-each": { + "version": "0.3.3", + "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", + "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "requires": { + "is-callable": "^1.1.3" + } + }, + "fs.realpath": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", + "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", + "dev": true + }, + "fsevents": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz", + "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", + "dev": true, + "optional": true + }, + "function-bind": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", + "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==" + }, + "get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true + }, + "get-func-name": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", + "dev": true + }, + "get-intrinsic": { + "version": "1.2.2", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.2.tgz", + "integrity": "sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA==", + "requires": { + "function-bind": "^1.1.2", + "has-proto": "^1.0.1", + "has-symbols": "^1.0.3", + "hasown": "^2.0.0" + } + }, + "glob": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", + "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "dev": true, + "requires": { + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" + }, + "dependencies": { + "brace-expansion": { + "version": "1.1.11", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", + "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "dev": true, + "requires": { + "balanced-match": "^1.0.0", + "concat-map": "0.0.1" + } + }, + "minimatch": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", + "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "dev": true, + "requires": { + "brace-expansion": "^1.1.7" + } + } + } + }, + "glob-parent": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", + "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "dev": true, + "requires": { + "is-glob": "^4.0.1" + } + }, + "gopd": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", + "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "requires": { + "get-intrinsic": "^1.1.3" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "has-property-descriptors": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz", + "integrity": "sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg==", + "requires": { + "get-intrinsic": "^1.2.2" + } + }, + "has-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", + "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==" + }, + "has-symbols": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", + "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==" + }, + "has-tostringtag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", + "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "requires": { + "has-symbols": "^1.0.2" + } + }, + "hasown": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.0.tgz", + "integrity": "sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==", + "requires": { + "function-bind": "^1.1.2" + } + }, + "he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "dev": true + }, + "ieee754": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz", + "integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==" + }, + "inflight": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", + "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "dev": true, + "requires": { + "once": "^1.3.0", + "wrappy": "1" + } + }, + "inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "is-arguments": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", + "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", + "requires": { + "call-bind": "^1.0.2", + "has-tostringtag": "^1.0.0" + } + }, + "is-binary-path": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", + "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", + "dev": true, + "requires": { + "binary-extensions": "^2.0.0" + } + }, + "is-callable": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", + "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==" + }, + "is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "dev": true + }, + "is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true + }, + "is-generator-function": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", + "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", + "requires": { + "has-tostringtag": "^1.0.0" + } + }, + "is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "requires": { + "is-extglob": "^2.1.1" + } + }, + "is-number": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", + "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", + "dev": true + }, + "is-plain-obj": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", + "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", + "dev": true + }, + "is-typed-array": { + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", + "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "requires": { + "which-typed-array": "^1.1.11" + } + }, + "is-unicode-supported": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz", + "integrity": "sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==", + "dev": true + }, + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" + }, + "jmespath": { + "version": "0.16.0", + "resolved": "https://registry.npmjs.org/jmespath/-/jmespath-0.16.0.tgz", + "integrity": "sha512-9FzQjJ7MATs1tSpnco1K6ayiYE3figslrXA72G2HQ/n76RzvYlofyi5QM+iX4YRs/pu3yzxlVQSST23+dMDknw==" + }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "lodash": { + "version": "4.17.21", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" + }, + "log-symbols": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.1.0.tgz", + "integrity": "sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==", + "dev": true, + "requires": { + "chalk": "^4.1.0", + "is-unicode-supported": "^0.1.0" + } + }, + "loupe": { + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/loupe/-/loupe-2.3.4.tgz", + "integrity": "sha512-OvKfgCC2Ndby6aSTREl5aCCPTNIzlDfQZvZxNUrBrihDhL3xcrYegTblhmEiCrg2kKQz4XsFIaemE5BF4ybSaQ==", + "dev": true, + "requires": { + "get-func-name": "^2.0.0" + } + }, + "make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true + }, + "minimatch": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.0.1.tgz", + "integrity": "sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==", + "dev": true, + "requires": { + "brace-expansion": "^2.0.1" + } + }, + "mocha": { + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-10.0.0.tgz", + "integrity": "sha512-0Wl+elVUD43Y0BqPZBzZt8Tnkw9CMUdNYnUsTfOM1vuhJVZL+kiesFYsqwBkEEuEixaiPe5ZQdqDgX2jddhmoA==", + "dev": true, + "requires": { + "@ungap/promise-all-settled": "1.1.2", + "ansi-colors": "4.1.1", + "browser-stdout": "1.3.1", + "chokidar": "3.5.3", + "debug": "4.3.4", + "diff": "5.0.0", + "escape-string-regexp": "4.0.0", + "find-up": "5.0.0", + "glob": "7.2.0", + "he": "1.2.0", + "js-yaml": "4.1.0", + "log-symbols": "4.1.0", + "minimatch": "5.0.1", + "ms": "2.1.3", + "nanoid": "3.3.3", + "serialize-javascript": "6.0.0", + "strip-json-comments": "3.1.1", + "supports-color": "8.1.1", + "workerpool": "6.2.1", + "yargs": "16.2.0", + "yargs-parser": "20.2.4", + "yargs-unparser": "2.0.0" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true + }, + "nanoid": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", + "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "dev": true + }, + "normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true + }, + "once": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", + "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", + "requires": { + "wrappy": "1" + } + }, + "p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "requires": { + "yocto-queue": "^0.1.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true + }, + "path-is-absolute": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", + "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", + "dev": true + }, + "pathval": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", + "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", + "dev": true + }, + "picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true + }, + "prettier": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.6.2.tgz", + "integrity": "sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==", + "dev": true + }, + "punycode": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", + "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" + }, + "querystring": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", + "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=" + }, + "randombytes": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", + "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", + "dev": true, + "requires": { + "safe-buffer": "^5.1.0" + } + }, + "readdirp": { + "version": "3.6.0", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", + "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "dev": true, + "requires": { + "picomatch": "^2.2.1" + } + }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "dev": true + }, + "sax": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.1.tgz", + "integrity": "sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==" + }, + "serialize-javascript": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-6.0.0.tgz", + "integrity": "sha512-Qr3TosvguFt8ePWqsvRfrKyQXIiW+nGbYpy8XK24NQHE83caxWt+mIymTT19DGFbNWNLfEwsrkSmN64lVWB9ag==", + "dev": true, + "requires": { + "randombytes": "^2.1.0" + } + }, + "set-function-length": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.1.1.tgz", + "integrity": "sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ==", + "requires": { + "define-data-property": "^1.1.1", + "get-intrinsic": "^1.2.1", + "gopd": "^1.0.1", + "has-property-descriptors": "^1.0.0" + } + }, + "string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "requires": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, + "supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + }, + "to-regex-range": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", + "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", + "dev": true, + "requires": { + "is-number": "^7.0.0" + } + }, + "ts-node": { + "version": "10.7.0", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.7.0.tgz", + "integrity": "sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A==", + "dev": true, + "requires": { + "@cspotcode/source-map-support": "0.7.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "v8-compile-cache-lib": "^3.0.0", + "yn": "3.1.1" + }, + "dependencies": { + "diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "dev": true + } + } + }, + "tunnel": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/tunnel/-/tunnel-0.0.6.tgz", + "integrity": "sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==" + }, + "type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true + }, + "typescript": { + "version": "4.6.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.6.4.tgz", + "integrity": "sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg==", + "dev": true + }, + "undici": { + "version": "5.28.3", + "resolved": "https://registry.npmjs.org/undici/-/undici-5.28.3.tgz", + "integrity": "sha512-3ItfzbrhDlINjaP0duwnNsKpDQk3acHI3gVJ1z4fmwMK31k5G9OVIAMLSIaP6w4FaGkaAkN6zaQO9LUvZ1t7VA==", + "requires": { + "@fastify/busboy": "^2.0.0" + } + }, + "universal-user-agent": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-6.0.1.tgz", + "integrity": "sha512-yCzhz6FN2wU1NiiQRogkTQszlQSlpWaw8SvVegAc+bDxbzHgh1vX8uIe8OYyMH6DwH+sdTJsgMl36+mSMdRJIQ==" + }, + "url": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/url/-/url-0.10.3.tgz", + "integrity": "sha1-Ah5NnHcF8hu/N9A861h2dAJ3TGQ=", + "requires": { + "punycode": "1.3.2", + "querystring": "0.2.0" + } + }, + "util": { + "version": "0.12.5", + "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", + "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", + "requires": { + "inherits": "^2.0.3", + "is-arguments": "^1.0.4", + "is-generator-function": "^1.0.7", + "is-typed-array": "^1.1.3", + "which-typed-array": "^1.1.2" + } + }, + "uuid": { + "version": "8.3.2", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.2.tgz", + "integrity": "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==" + }, + "v8-compile-cache-lib": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", + "dev": true + }, + "which-typed-array": { + "version": "1.1.13", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", + "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "requires": { + "available-typed-arrays": "^1.0.5", + "call-bind": "^1.0.4", + "for-each": "^0.3.3", + "gopd": "^1.0.1", + "has-tostringtag": "^1.0.0" + } + }, + "workerpool": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.2.1.tgz", + "integrity": "sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==", + "dev": true + }, + "wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "requires": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + } + }, + "wrappy": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", + "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" + }, + "xml2js": { + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz", + "integrity": "sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==", + "requires": { + "sax": ">=0.6.0", + "xmlbuilder": "~11.0.0" + } + }, + "xmlbuilder": { + "version": "11.0.1", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz", + "integrity": "sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==" + }, + "y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true + }, + "yargs": { + "version": "16.2.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz", + "integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==", + "dev": true, + "requires": { + "cliui": "^7.0.2", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.0", + "y18n": "^5.0.5", + "yargs-parser": "^20.2.2" + } + }, + "yargs-parser": { + "version": "20.2.4", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-20.2.4.tgz", + "integrity": "sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==", + "dev": true + }, + "yargs-unparser": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-2.0.0.tgz", + "integrity": "sha512-7pRTIA9Qc1caZ0bZ6RYRGbHJthJWuakf+WmHK0rVeLkNrrGhfoabBNdue6kdINI6r4if7ocq9aD/n7xwKOdzOA==", + "dev": true, + "requires": { + "camelcase": "^6.0.0", + "decamelize": "^4.0.0", + "flat": "^5.0.2", + "is-plain-obj": "^2.1.0" + } + }, + "yn": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", + "dev": true + }, + "yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true + } + } +} diff --git a/.github/prune-launch-templates/package.json b/.github/prune-launch-templates/package.json new file mode 100644 index 00000000000..d49d4e9699d --- /dev/null +++ b/.github/prune-launch-templates/package.json @@ -0,0 +1,27 @@ +{ + "name": "prune-launch-templates", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "build": "tsc && ncc build lib/main.js", + "format": "prettier --write src/**/*.ts", + "format-check": "prettier --check '**/*.ts'", + "lint": "eslint src/**/*.ts", + "package": "ncc build --source-map --license licenses.txt" + }, + "keywords": [], + "author": "", + "license": "ISC", + "dependencies": { + "@actions/core": "^1.10.1", + "@aws-sdk/client-ec2": "^3.708.0" + }, + "devDependencies": { + "@types/node": "^17.0.31", + "@vercel/ncc": "^0.33.4", + "prettier": "^2.6.2", + "ts-node": "^10.7.0", + "typescript": "^4.6.4" + } +} diff --git a/.github/prune-launch-templates/run-local.sh b/.github/prune-launch-templates/run-local.sh new file mode 100755 index 00000000000..eaf3f22a8d9 --- /dev/null +++ b/.github/prune-launch-templates/run-local.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +set -e + +export INPUT_AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:-} +export INPUT_AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:-} +export INPUT_AWS_REGION=us-east-2 +export INPUT_MAX_AGE_IN_DAYS=14 +export INPUT_DRY_RUN=true + +# if aws cred are not set, attempt to retrieve them from ~/.aws/credentials +if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ]; then + if [ -f ~/.aws/credentials ]; then + export INPUT_AWS_ACCESS_KEY_ID=$(aws configure get default.aws_access_key_id) + export INPUT_AWS_SECRET_ACCESS_KEY=$(aws configure get default.aws_secret_access_key) + fi +fi + +# npm -C .github/prune-launch-templates run build +yarn build +node ./dist/index.js \ No newline at end of file diff --git a/.github/prune-launch-templates/src/config.ts b/.github/prune-launch-templates/src/config.ts new file mode 100644 index 00000000000..c320103be24 --- /dev/null +++ b/.github/prune-launch-templates/src/config.ts @@ -0,0 +1,35 @@ +import * as core from "@actions/core"; + +export interface ConfigInterface { + awsAccessKeyId: string; + awsSecretAccessKey: string; + awsRegion: string; + awsIamRoleArn: string; + awsAssumeRole: boolean; + + maxAgeInDays: number; + dryRun?: boolean; +} + +export class ActionConfig implements ConfigInterface { + awsAccessKeyId: string; + awsSecretAccessKey: string; + awsRegion: string; + awsIamRoleArn: string; + awsAssumeRole: boolean; + + maxAgeInDays: number; + dryRun?: boolean; + + constructor() { + // AWS account and credentials params + this.awsAccessKeyId = core.getInput("aws_access_key_id"); + this.awsSecretAccessKey = core.getInput("aws_secret_access_key"); + this.awsRegion = core.getInput("aws_region"); + this.awsIamRoleArn = core.getInput("aws_iam_role_arn"); + this.awsAssumeRole = this.awsIamRoleArn ? true : false; + + this.maxAgeInDays = +core.getInput("max_age_in_days"); + this.dryRun = core.getInput("dry_run") === "true"; + } +} diff --git a/.github/prune-launch-templates/src/main.ts b/.github/prune-launch-templates/src/main.ts new file mode 100644 index 00000000000..7643f225f57 --- /dev/null +++ b/.github/prune-launch-templates/src/main.ts @@ -0,0 +1,97 @@ +import * as core from "@actions/core"; + +import { DescribeLaunchTemplatesCommandInput, EC2 } from '@aws-sdk/client-ec2'; +import { ActionConfig } from "./config"; + +// Main function to prune instances older than 2 weeks +async function pruneOldInstances(config: ActionConfig) { + // Initialize EC2 client + const credentials = { + accessKeyId: config.awsAccessKeyId, + secretAccessKey: config.awsSecretAccessKey, + }; + const ec2 = new EC2({ + region: config.awsRegion, + credentials, + }); + try { + // Fetch all instances + const describeLaunchTemplatesCommand: DescribeLaunchTemplatesCommandInput = { + Filters: [ + { + Name: 'launch-template-name', + Values: ['aztec-packages-spot*'] + } + ] + }; + core.info(`Searching for launch templates with params: ${JSON.stringify(describeLaunchTemplatesCommand, null, 2)}`); + + const response = await ec2.describeLaunchTemplates(describeLaunchTemplatesCommand); + + core.info(`Raw response contains ${response.LaunchTemplates?.length || 0} launch templates`); + + if (!response.LaunchTemplates || response.LaunchTemplates.length === 0) { + core.info('No launch templates found. Please check:'); + core.info(`1. Region is correct: ${config.awsRegion}`); + core.info('2. AWS credentials have correct permissions'); + return; + } + + // Calculate cutoff date + const cutoffDate = new Date(); + cutoffDate.setDate(cutoffDate.getDate() - config.maxAgeInDays); + + // Find launch templates older than cutoff date + const launchTemplatesToDelete = response.LaunchTemplates.filter(template => { + if (!template.CreateTime) return false; + const templateDate = new Date(template.CreateTime); + return templateDate < cutoffDate; + }); + + core.info('\nLaunch Template Analysis:'); + core.info(`Total launch templates found: ${response.LaunchTemplates.length}`); + core.info(`Cutoff date: ${cutoffDate.toISOString()}`); + core.info(`Launch templates older than ${config.maxAgeInDays} days: ${launchTemplatesToDelete.length}`); + + // Log all found launch templates for debugging + core.info('\nAll found launch templates:'); + response.LaunchTemplates.forEach(template => { + core.info(`- ${template.LaunchTemplateId} | ${template.LaunchTemplateName} | Created: ${template.CreateTime}`); + }); + + if (launchTemplatesToDelete.length === 0) { + core.info('\nNo launch templates old enough to delete.'); + return; + } + + core.info('\nLaunch templates to be deleted:'); + for (const template of launchTemplatesToDelete) { + core.info(`Processing launch template: ${template.LaunchTemplateId} (${template.LaunchTemplateName}) | Created: ${template.CreateTime}`); + + if (!config.dryRun) { + if (template.LaunchTemplateId) { + await ec2.deleteLaunchTemplate({ + LaunchTemplateId: template.LaunchTemplateId + }); + core.info(`Deleted launch template: ${template.LaunchTemplateId}`); + } + } else { + core.info(`[DRY RUN] Would have deleted launch template: ${template.LaunchTemplateId}`); + } + } + } catch (error) { + core.error("Error pruning instances:", error); + } +} + +// Run the script +(async function () { + try { + const config = new ActionConfig(); + await pruneOldInstances(config); + } catch (error) { + core.error(error.message); + core.setFailed(error.message); + } +})(); + diff --git a/.github/prune-launch-templates/tsconfig.json b/.github/prune-launch-templates/tsconfig.json new file mode 100644 index 00000000000..784a4a5877b --- /dev/null +++ b/.github/prune-launch-templates/tsconfig.json @@ -0,0 +1,15 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "outDir": "./lib", + "strict": true, + "noImplicitAny": false, + "esModuleInterop": true, + "useUnknownInCatchVariables": false, + "skipLibCheck": true, + "types": ["node"] + }, + "include": ["src/**/*"], + "exclude": ["node_modules"] +} diff --git a/.github/prune-launch-templates/yarn.lock b/.github/prune-launch-templates/yarn.lock new file mode 100644 index 00000000000..48cadcdc4ef --- /dev/null +++ b/.github/prune-launch-templates/yarn.lock @@ -0,0 +1,1084 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@actions/core@^1.10.1": + version "1.11.1" + resolved "https://registry.yarnpkg.com/@actions/core/-/core-1.11.1.tgz#ae683aac5112438021588030efb53b1adb86f172" + integrity sha512-hXJCSrkwfA46Vd9Z3q4cpEpHB1rL5NG04+/rbqW9d3+CSvtB1tYe8UTpAlixa1vj0m/ULglfEK2UKxMGxCxv5A== + dependencies: + "@actions/exec" "^1.1.1" + "@actions/http-client" "^2.0.1" + +"@actions/exec@^1.1.1": + version "1.1.1" + resolved "https://registry.yarnpkg.com/@actions/exec/-/exec-1.1.1.tgz#2e43f28c54022537172819a7cf886c844221a611" + integrity sha512-+sCcHHbVdk93a0XT19ECtO/gIXoxvdsgQLzb2fE2/5sIZmWQuluYyjPQtrtTHdU1YzTZ7bAPN4sITq2xi1679w== + dependencies: + "@actions/io" "^1.0.1" + +"@actions/http-client@^2.0.1": + version "2.2.3" + resolved "https://registry.yarnpkg.com/@actions/http-client/-/http-client-2.2.3.tgz#31fc0b25c0e665754ed39a9f19a8611fc6dab674" + integrity sha512-mx8hyJi/hjFvbPokCg4uRd4ZX78t+YyRPtnKWwIl+RzNaVuFpQHfmlGVfsKEJN8LwTCvL+DfVgAM04XaHkm6bA== + dependencies: + tunnel "^0.0.6" + undici "^5.25.4" + +"@actions/io@^1.0.1": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@actions/io/-/io-1.1.3.tgz#4cdb6254da7962b07473ff5c335f3da485d94d71" + integrity sha512-wi9JjgKLYS7U/z8PPbco+PvTb/nRWjeoFlJ1Qer83k/3C5PHQi28hiVdeE2kHXmIL99mQFawx8qt/JPjZilJ8Q== + +"@aws-crypto/sha256-browser@5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-browser/-/sha256-browser-5.2.0.tgz#153895ef1dba6f9fce38af550e0ef58988eb649e" + integrity sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw== + dependencies: + "@aws-crypto/sha256-js" "^5.2.0" + "@aws-crypto/supports-web-crypto" "^5.2.0" + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + "@aws-sdk/util-locate-window" "^3.0.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" + +"@aws-crypto/sha256-js@5.2.0", "@aws-crypto/sha256-js@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/sha256-js/-/sha256-js-5.2.0.tgz#c4fdb773fdbed9a664fc1a95724e206cf3860042" + integrity sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA== + dependencies: + "@aws-crypto/util" "^5.2.0" + "@aws-sdk/types" "^3.222.0" + tslib "^2.6.2" + +"@aws-crypto/supports-web-crypto@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/supports-web-crypto/-/supports-web-crypto-5.2.0.tgz#a1e399af29269be08e695109aa15da0a07b5b5fb" + integrity sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg== + dependencies: + tslib "^2.6.2" + +"@aws-crypto/util@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@aws-crypto/util/-/util-5.2.0.tgz#71284c9cffe7927ddadac793c14f14886d3876da" + integrity sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ== + dependencies: + "@aws-sdk/types" "^3.222.0" + "@smithy/util-utf8" "^2.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-ec2@^3.708.0": + version "3.708.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-ec2/-/client-ec2-3.708.0.tgz#3d59f9d2d3b4262319e05827a50b919139a55654" + integrity sha512-ndIadsMlkGFfPtzdtITf4e7Qe+nx6KYSY+1VTnLqchKQPvMVZQdI9fySftqBebOfqZ09h+plLmb+ig99SqPXxg== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/client-sso-oidc" "3.699.0" + "@aws-sdk/client-sts" "3.699.0" + "@aws-sdk/core" "3.696.0" + "@aws-sdk/credential-provider-node" "3.699.0" + "@aws-sdk/middleware-host-header" "3.696.0" + "@aws-sdk/middleware-logger" "3.696.0" + "@aws-sdk/middleware-recursion-detection" "3.696.0" + "@aws-sdk/middleware-sdk-ec2" "3.696.0" + "@aws-sdk/middleware-user-agent" "3.696.0" + "@aws-sdk/region-config-resolver" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-endpoints" "3.696.0" + "@aws-sdk/util-user-agent-browser" "3.696.0" + "@aws-sdk/util-user-agent-node" "3.696.0" + "@smithy/config-resolver" "^3.0.12" + "@smithy/core" "^2.5.3" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/hash-node" "^3.0.10" + "@smithy/invalid-dependency" "^3.0.10" + "@smithy/middleware-content-length" "^3.0.12" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/middleware-retry" "^3.0.27" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/middleware-stack" "^3.0.10" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/protocol-http" "^4.1.7" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.27" + "@smithy/util-defaults-mode-node" "^3.0.27" + "@smithy/util-endpoints" "^2.1.6" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-retry" "^3.0.10" + "@smithy/util-utf8" "^3.0.0" + "@smithy/util-waiter" "^3.1.9" + "@types/uuid" "^9.0.1" + tslib "^2.6.2" + uuid "^9.0.1" + +"@aws-sdk/client-sso-oidc@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso-oidc/-/client-sso-oidc-3.699.0.tgz#a35665e681abd518b56330bc7dab63041fbdaf83" + integrity sha512-u8a1GorY5D1l+4FQAf4XBUC1T10/t7neuwT21r0ymrtMFSK2a9QqVHKMoLkvavAwyhJnARSBM9/UQC797PFOFw== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.696.0" + "@aws-sdk/credential-provider-node" "3.699.0" + "@aws-sdk/middleware-host-header" "3.696.0" + "@aws-sdk/middleware-logger" "3.696.0" + "@aws-sdk/middleware-recursion-detection" "3.696.0" + "@aws-sdk/middleware-user-agent" "3.696.0" + "@aws-sdk/region-config-resolver" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-endpoints" "3.696.0" + "@aws-sdk/util-user-agent-browser" "3.696.0" + "@aws-sdk/util-user-agent-node" "3.696.0" + "@smithy/config-resolver" "^3.0.12" + "@smithy/core" "^2.5.3" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/hash-node" "^3.0.10" + "@smithy/invalid-dependency" "^3.0.10" + "@smithy/middleware-content-length" "^3.0.12" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/middleware-retry" "^3.0.27" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/middleware-stack" "^3.0.10" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/protocol-http" "^4.1.7" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.27" + "@smithy/util-defaults-mode-node" "^3.0.27" + "@smithy/util-endpoints" "^2.1.6" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-retry" "^3.0.10" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sso@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sso/-/client-sso-3.696.0.tgz#a9251e88cdfc91fb14191f760f68baa835e88f1c" + integrity sha512-q5TTkd08JS0DOkHfUL853tuArf7NrPeqoS5UOvqJho8ibV9Ak/a/HO4kNvy9Nj3cib/toHYHsQIEtecUPSUUrQ== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/core" "3.696.0" + "@aws-sdk/middleware-host-header" "3.696.0" + "@aws-sdk/middleware-logger" "3.696.0" + "@aws-sdk/middleware-recursion-detection" "3.696.0" + "@aws-sdk/middleware-user-agent" "3.696.0" + "@aws-sdk/region-config-resolver" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-endpoints" "3.696.0" + "@aws-sdk/util-user-agent-browser" "3.696.0" + "@aws-sdk/util-user-agent-node" "3.696.0" + "@smithy/config-resolver" "^3.0.12" + "@smithy/core" "^2.5.3" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/hash-node" "^3.0.10" + "@smithy/invalid-dependency" "^3.0.10" + "@smithy/middleware-content-length" "^3.0.12" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/middleware-retry" "^3.0.27" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/middleware-stack" "^3.0.10" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/protocol-http" "^4.1.7" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.27" + "@smithy/util-defaults-mode-node" "^3.0.27" + "@smithy/util-endpoints" "^2.1.6" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-retry" "^3.0.10" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/client-sts@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/client-sts/-/client-sts-3.699.0.tgz#9419be6bbf3809008128117afea8b9129b5a959d" + integrity sha512-++lsn4x2YXsZPIzFVwv3fSUVM55ZT0WRFmPeNilYIhZClxHLmVAWKH4I55cY9ry60/aTKYjzOXkWwyBKGsGvQg== + dependencies: + "@aws-crypto/sha256-browser" "5.2.0" + "@aws-crypto/sha256-js" "5.2.0" + "@aws-sdk/client-sso-oidc" "3.699.0" + "@aws-sdk/core" "3.696.0" + "@aws-sdk/credential-provider-node" "3.699.0" + "@aws-sdk/middleware-host-header" "3.696.0" + "@aws-sdk/middleware-logger" "3.696.0" + "@aws-sdk/middleware-recursion-detection" "3.696.0" + "@aws-sdk/middleware-user-agent" "3.696.0" + "@aws-sdk/region-config-resolver" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-endpoints" "3.696.0" + "@aws-sdk/util-user-agent-browser" "3.696.0" + "@aws-sdk/util-user-agent-node" "3.696.0" + "@smithy/config-resolver" "^3.0.12" + "@smithy/core" "^2.5.3" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/hash-node" "^3.0.10" + "@smithy/invalid-dependency" "^3.0.10" + "@smithy/middleware-content-length" "^3.0.12" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/middleware-retry" "^3.0.27" + "@smithy/middleware-serde" "^3.0.10" + "@smithy/middleware-stack" "^3.0.10" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/protocol-http" "^4.1.7" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/url-parser" "^3.0.10" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-body-length-node" "^3.0.0" + "@smithy/util-defaults-mode-browser" "^3.0.27" + "@smithy/util-defaults-mode-node" "^3.0.27" + "@smithy/util-endpoints" "^2.1.6" + "@smithy/util-middleware" "^3.0.10" + "@smithy/util-retry" "^3.0.10" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@aws-sdk/core@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/core/-/core-3.696.0.tgz#bdf306bdc019f485738d91d8838eec877861dd26" + integrity sha512-3c9III1k03DgvRZWg8vhVmfIXPG6hAciN9MzQTzqGngzWAELZF/WONRTRQuDFixVtarQatmLHYVw/atGeA2Byw== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/core" "^2.5.3" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/property-provider" "^3.1.9" + "@smithy/protocol-http" "^4.1.7" + "@smithy/signature-v4" "^4.2.2" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/util-middleware" "^3.0.10" + fast-xml-parser "4.4.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-env@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-env/-/credential-provider-env-3.696.0.tgz#afad9e61cd03da404bb03e5bce83c49736b85271" + integrity sha512-T9iMFnJL7YTlESLpVFT3fg1Lkb1lD+oiaIC8KMpepb01gDUBIpj9+Y+pA/cgRWW0yRxmkDXNazAE2qQTVFGJzA== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-http@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-http/-/credential-provider-http-3.696.0.tgz#535756f9f427fbe851a8c1db7b0e3aaaf7790ba2" + integrity sha512-GV6EbvPi2eq1+WgY/o2RFA3P7HGmnkIzCNmhwtALFlqMroLYWKE7PSeHw66Uh1dFQeVESn0/+hiUNhu1mB0emA== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/fetch-http-handler" "^4.1.1" + "@smithy/node-http-handler" "^3.3.1" + "@smithy/property-provider" "^3.1.9" + "@smithy/protocol-http" "^4.1.7" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + "@smithy/util-stream" "^3.3.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-ini@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-ini/-/credential-provider-ini-3.699.0.tgz#7919a454b05c5446d04a0d3270807046a029ee30" + integrity sha512-dXmCqjJnKmG37Q+nLjPVu22mNkrGHY8hYoOt3Jo9R2zr5MYV7s/NHsCHr+7E+BZ+tfZYLRPeB1wkpTeHiEcdRw== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/credential-provider-env" "3.696.0" + "@aws-sdk/credential-provider-http" "3.696.0" + "@aws-sdk/credential-provider-process" "3.696.0" + "@aws-sdk/credential-provider-sso" "3.699.0" + "@aws-sdk/credential-provider-web-identity" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/credential-provider-imds" "^3.2.6" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-node@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-node/-/credential-provider-node-3.699.0.tgz#6a1e32a49a7fa71d10c85a927267d1782444def1" + integrity sha512-MmEmNDo1bBtTgRmdNfdQksXu4uXe66s0p1hi1YPrn1h59Q605eq/xiWbGL6/3KdkViH6eGUuABeV2ODld86ylg== + dependencies: + "@aws-sdk/credential-provider-env" "3.696.0" + "@aws-sdk/credential-provider-http" "3.696.0" + "@aws-sdk/credential-provider-ini" "3.699.0" + "@aws-sdk/credential-provider-process" "3.696.0" + "@aws-sdk/credential-provider-sso" "3.699.0" + "@aws-sdk/credential-provider-web-identity" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/credential-provider-imds" "^3.2.6" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-process@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-process/-/credential-provider-process-3.696.0.tgz#45da7b948aa40987b413c7c0d4a8125bf1433651" + integrity sha512-mL1RcFDe9sfmyU5K1nuFkO8UiJXXxLX4JO1gVaDIOvPqwStpUAwi3A1BoeZhWZZNQsiKI810RnYGo0E0WB/hUA== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-sso@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-sso/-/credential-provider-sso-3.699.0.tgz#515e2ecd407bace3141b8b192505631de415667e" + integrity sha512-Ekp2cZG4pl9D8+uKWm4qO1xcm8/MeiI8f+dnlZm8aQzizeC+aXYy9GyoclSf6daK8KfRPiRfM7ZHBBL5dAfdMA== + dependencies: + "@aws-sdk/client-sso" "3.696.0" + "@aws-sdk/core" "3.696.0" + "@aws-sdk/token-providers" "3.699.0" + "@aws-sdk/types" "3.696.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/credential-provider-web-identity@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/credential-provider-web-identity/-/credential-provider-web-identity-3.696.0.tgz#3f97c00bd3bc7cfd988e098af67ff7c8392ce188" + integrity sha512-XJ/CVlWChM0VCoc259vWguFUjJDn/QwDqHwbx+K9cg3v6yrqXfK5ai+p/6lx0nQpnk4JzPVeYYxWRpaTsGC9rg== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-host-header@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-host-header/-/middleware-host-header-3.696.0.tgz#20aae0efeb973ca1a6db1b1014acbcdd06ad472e" + integrity sha512-zELJp9Ta2zkX7ELggMN9qMCgekqZhFC5V2rOr4hJDEb/Tte7gpfKSObAnw/3AYiVqt36sjHKfdkoTsuwGdEoDg== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-logger@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-logger/-/middleware-logger-3.696.0.tgz#79d68b7e5ba181511ade769b11165bfb7527181e" + integrity sha512-KhkHt+8AjCxcR/5Zp3++YPJPpFQzxpr+jmONiT/Jw2yqnSngZ0Yspm5wGoRx2hS1HJbyZNuaOWEGuJoxLeBKfA== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-recursion-detection@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-recursion-detection/-/middleware-recursion-detection-3.696.0.tgz#aa437d645d74cb785905162266741125c18f182a" + integrity sha512-si/maV3Z0hH7qa99f9ru2xpS5HlfSVcasRlNUXKSDm611i7jFMWwGNLUOXFAOLhXotPX5G3Z6BLwL34oDeBMug== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-sdk-ec2@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-sdk-ec2/-/middleware-sdk-ec2-3.696.0.tgz#5cffe9a06ae9205a733b4ebff759f043b9c00aa4" + integrity sha512-HVMpblaaTQ1Ysku2nR6+N22aEgT7CDot+vsFutHNJCBPl+eEON5exp7IvsFC7sFCWmSfnMHTHtmmj5YIYHO1gQ== + dependencies: + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-format-url" "3.696.0" + "@smithy/middleware-endpoint" "^3.2.3" + "@smithy/protocol-http" "^4.1.7" + "@smithy/signature-v4" "^4.2.2" + "@smithy/smithy-client" "^3.4.4" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/middleware-user-agent@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/middleware-user-agent/-/middleware-user-agent-3.696.0.tgz#626c89300f6b3af5aefc1cb6d9ac19eebf8bc97d" + integrity sha512-Lvyj8CTyxrHI6GHd2YVZKIRI5Fmnugt3cpJo0VrKKEgK5zMySwEZ1n4dqPK6czYRWKd5+WnYHYAuU+Wdk6Jsjw== + dependencies: + "@aws-sdk/core" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@aws-sdk/util-endpoints" "3.696.0" + "@smithy/core" "^2.5.3" + "@smithy/protocol-http" "^4.1.7" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/region-config-resolver@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/region-config-resolver/-/region-config-resolver-3.696.0.tgz#146c428702c09db75df5234b5d40ce49d147d0cf" + integrity sha512-7EuH142lBXjI8yH6dVS/CZeiK/WZsmb/8zP6bQbVYpMrppSTgB3MzZZdxVZGzL5r8zPQOU10wLC4kIMy0qdBVQ== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/types" "^3.7.1" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.10" + tslib "^2.6.2" + +"@aws-sdk/token-providers@3.699.0": + version "3.699.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/token-providers/-/token-providers-3.699.0.tgz#354990dd52d651c1f7a64c4c0894c868cdc81de2" + integrity sha512-kuiEW9DWs7fNos/SM+y58HCPhcIzm1nEZLhe2/7/6+TvAYLuEWURYsbK48gzsxXlaJ2k/jGY3nIsA7RptbMOwA== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/property-provider" "^3.1.9" + "@smithy/shared-ini-file-loader" "^3.1.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/types@3.696.0", "@aws-sdk/types@^3.222.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/types/-/types-3.696.0.tgz#559c3df74dc389b6f40ba6ec6daffeab155330cd" + integrity sha512-9rTvUJIAj5d3//U5FDPWGJ1nFJLuWb30vugGOrWk7aNZ6y9tuA3PI7Cc9dP8WEXKVyK1vuuk8rSFP2iqXnlgrw== + dependencies: + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/util-endpoints@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-endpoints/-/util-endpoints-3.696.0.tgz#79e18714419a423a64094381b849214499f00577" + integrity sha512-T5s0IlBVX+gkb9g/I6CLt4yAZVzMSiGnbUqWihWsHvQR1WOoIcndQy/Oz/IJXT9T2ipoy7a80gzV6a5mglrioA== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/types" "^3.7.1" + "@smithy/util-endpoints" "^2.1.6" + tslib "^2.6.2" + +"@aws-sdk/util-format-url@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-format-url/-/util-format-url-3.696.0.tgz#9d38fc9c49009631b181b7547604ba8dc222053c" + integrity sha512-R6yK1LozUD1GdAZRPhNsIow6VNFJUTyyoIar1OCWaknlucBMcq7musF3DN3TlORBwfFMj5buHc2ET9OtMtzvuA== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/querystring-builder" "^3.0.10" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@aws-sdk/util-locate-window@^3.0.0": + version "3.693.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-locate-window/-/util-locate-window-3.693.0.tgz#1160f6d055cf074ca198eb8ecf89b6311537ad6c" + integrity sha512-ttrag6haJLWABhLqtg1Uf+4LgHWIMOVSYL+VYZmAp2v4PUGOwWmWQH0Zk8RM7YuQcLfH/EoR72/Yxz6A4FKcuw== + dependencies: + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-browser@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-browser/-/util-user-agent-browser-3.696.0.tgz#2034765c81313d5e50783662332d35ec041755a0" + integrity sha512-Z5rVNDdmPOe6ELoM5AhF/ja5tSjbe6ctSctDPb0JdDf4dT0v2MfwhJKzXju2RzX8Es/77Glh7MlaXLE0kCB9+Q== + dependencies: + "@aws-sdk/types" "3.696.0" + "@smithy/types" "^3.7.1" + bowser "^2.11.0" + tslib "^2.6.2" + +"@aws-sdk/util-user-agent-node@3.696.0": + version "3.696.0" + resolved "https://registry.yarnpkg.com/@aws-sdk/util-user-agent-node/-/util-user-agent-node-3.696.0.tgz#3267119e2be02185f3b4e0beb0cc495d392260b4" + integrity sha512-KhKqcfyXIB0SCCt+qsu4eJjsfiOrNzK5dCV7RAW2YIpp+msxGUUX0NdRE9rkzjiv+3EMktgJm3eEIS+yxtlVdQ== + dependencies: + "@aws-sdk/middleware-user-agent" "3.696.0" + "@aws-sdk/types" "3.696.0" + "@smithy/node-config-provider" "^3.1.11" + "@smithy/types" "^3.7.1" + tslib "^2.6.2" + +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + +"@fastify/busboy@^2.0.0": + version "2.1.1" + resolved "https://registry.yarnpkg.com/@fastify/busboy/-/busboy-2.1.1.tgz#b9da6a878a371829a0502c9b6c1c143ef6663f4d" + integrity sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA== + +"@jridgewell/resolve-uri@^3.0.3": + version "3.1.2" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" + integrity sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.5.0" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" + integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== + +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + +"@smithy/abort-controller@^3.1.9": + version "3.1.9" + resolved "https://registry.yarnpkg.com/@smithy/abort-controller/-/abort-controller-3.1.9.tgz#47d323f754136a489e972d7fd465d534d72fcbff" + integrity sha512-yiW0WI30zj8ZKoSYNx90no7ugVn3khlyH/z5W8qtKBtVE6awRALbhSG+2SAHA1r6bO/6M9utxYKVZ3PCJ1rWxw== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/config-resolver@^3.0.12", "@smithy/config-resolver@^3.0.13": + version "3.0.13" + resolved "https://registry.yarnpkg.com/@smithy/config-resolver/-/config-resolver-3.0.13.tgz#653643a77a33d0f5907a5e7582353886b07ba752" + integrity sha512-Gr/qwzyPaTL1tZcq8WQyHhTZREER5R1Wytmz4WnVGL4onA3dNk6Btll55c8Vr58pLdvWZmtG8oZxJTw3t3q7Jg== + dependencies: + "@smithy/node-config-provider" "^3.1.12" + "@smithy/types" "^3.7.2" + "@smithy/util-config-provider" "^3.0.0" + "@smithy/util-middleware" "^3.0.11" + tslib "^2.6.2" + +"@smithy/core@^2.5.3", "@smithy/core@^2.5.5": + version "2.5.5" + resolved "https://registry.yarnpkg.com/@smithy/core/-/core-2.5.5.tgz#c75b15caee9e58c800db3e6b99e9e373532d394a" + integrity sha512-G8G/sDDhXA7o0bOvkc7bgai6POuSld/+XhNnWAbpQTpLv2OZPvyqQ58tLPPlz0bSNsXktldDDREIv1LczFeNEw== + dependencies: + "@smithy/middleware-serde" "^3.0.11" + "@smithy/protocol-http" "^4.1.8" + "@smithy/types" "^3.7.2" + "@smithy/util-body-length-browser" "^3.0.0" + "@smithy/util-middleware" "^3.0.11" + "@smithy/util-stream" "^3.3.2" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/credential-provider-imds@^3.2.6", "@smithy/credential-provider-imds@^3.2.8": + version "3.2.8" + resolved "https://registry.yarnpkg.com/@smithy/credential-provider-imds/-/credential-provider-imds-3.2.8.tgz#27ed2747074c86a7d627a98e56f324a65cba88de" + integrity sha512-ZCY2yD0BY+K9iMXkkbnjo+08T2h8/34oHd0Jmh6BZUSZwaaGlGCyBT/3wnS7u7Xl33/EEfN4B6nQr3Gx5bYxgw== + dependencies: + "@smithy/node-config-provider" "^3.1.12" + "@smithy/property-provider" "^3.1.11" + "@smithy/types" "^3.7.2" + "@smithy/url-parser" "^3.0.11" + tslib "^2.6.2" + +"@smithy/fetch-http-handler@^4.1.1", "@smithy/fetch-http-handler@^4.1.2": + version "4.1.2" + resolved "https://registry.yarnpkg.com/@smithy/fetch-http-handler/-/fetch-http-handler-4.1.2.tgz#f034ff16416b37d92908a1381ef5fddbf4ef1879" + integrity sha512-R7rU7Ae3ItU4rC0c5mB2sP5mJNbCfoDc8I5XlYjIZnquyUwec7fEo78F6DA3SmgJgkU1qTMcZJuGblxZsl10ZA== + dependencies: + "@smithy/protocol-http" "^4.1.8" + "@smithy/querystring-builder" "^3.0.11" + "@smithy/types" "^3.7.2" + "@smithy/util-base64" "^3.0.0" + tslib "^2.6.2" + +"@smithy/hash-node@^3.0.10": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/hash-node/-/hash-node-3.0.11.tgz#99e09ead3fc99c8cd7ca0f254ea0e35714f2a0d3" + integrity sha512-emP23rwYyZhQBvklqTtwetkQlqbNYirDiEEwXl2v0GYWMnCzxst7ZaRAnWuy28njp5kAH54lvkdG37MblZzaHA== + dependencies: + "@smithy/types" "^3.7.2" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/invalid-dependency@^3.0.10": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/invalid-dependency/-/invalid-dependency-3.0.11.tgz#8144d7b0af9d34ab5f672e1f674f97f8740bb9ae" + integrity sha512-NuQmVPEJjUX6c+UELyVz8kUx8Q539EDeNwbRyu4IIF8MeV7hUtq1FB3SHVyki2u++5XLMFqngeMKk7ccspnNyQ== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/is-array-buffer@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-2.2.0.tgz#f84f0d9f9a36601a9ca9381688bd1b726fd39111" + integrity sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA== + dependencies: + tslib "^2.6.2" + +"@smithy/is-array-buffer@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/is-array-buffer/-/is-array-buffer-3.0.0.tgz#9a95c2d46b8768946a9eec7f935feaddcffa5e7a" + integrity sha512-+Fsu6Q6C4RSJiy81Y8eApjEB5gVtM+oFKTffg+jSuwtvomJJrhUJBu2zS8wjXSgH/g1MKEWrzyChTBe6clb5FQ== + dependencies: + tslib "^2.6.2" + +"@smithy/middleware-content-length@^3.0.12": + version "3.0.13" + resolved "https://registry.yarnpkg.com/@smithy/middleware-content-length/-/middleware-content-length-3.0.13.tgz#6e08fe52739ac8fb3996088e0f8837e4b2ea187f" + integrity sha512-zfMhzojhFpIX3P5ug7jxTjfUcIPcGjcQYzB9t+rv0g1TX7B0QdwONW+ATouaLoD7h7LOw/ZlXfkq4xJ/g2TrIw== + dependencies: + "@smithy/protocol-http" "^4.1.8" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/middleware-endpoint@^3.2.3", "@smithy/middleware-endpoint@^3.2.5": + version "3.2.5" + resolved "https://registry.yarnpkg.com/@smithy/middleware-endpoint/-/middleware-endpoint-3.2.5.tgz#bdcfdf1f342cf933b0b8a709996f9a8fbb8148f4" + integrity sha512-VhJNs/s/lyx4weiZdXSloBgoLoS8osV0dKIain8nGmx7of3QFKu5BSdEuk1z/U8x9iwes1i+XCiNusEvuK1ijg== + dependencies: + "@smithy/core" "^2.5.5" + "@smithy/middleware-serde" "^3.0.11" + "@smithy/node-config-provider" "^3.1.12" + "@smithy/shared-ini-file-loader" "^3.1.12" + "@smithy/types" "^3.7.2" + "@smithy/url-parser" "^3.0.11" + "@smithy/util-middleware" "^3.0.11" + tslib "^2.6.2" + +"@smithy/middleware-retry@^3.0.27": + version "3.0.30" + resolved "https://registry.yarnpkg.com/@smithy/middleware-retry/-/middleware-retry-3.0.30.tgz#2580322d0d28ad782b5b8c07c150b14efdc3b2f9" + integrity sha512-6323RL2BvAR3VQpTjHpa52kH/iSHyxd/G9ohb2MkBk2Ucu+oMtRXT8yi7KTSIS9nb58aupG6nO0OlXnQOAcvmQ== + dependencies: + "@smithy/node-config-provider" "^3.1.12" + "@smithy/protocol-http" "^4.1.8" + "@smithy/service-error-classification" "^3.0.11" + "@smithy/smithy-client" "^3.5.0" + "@smithy/types" "^3.7.2" + "@smithy/util-middleware" "^3.0.11" + "@smithy/util-retry" "^3.0.11" + tslib "^2.6.2" + uuid "^9.0.1" + +"@smithy/middleware-serde@^3.0.10", "@smithy/middleware-serde@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/middleware-serde/-/middleware-serde-3.0.11.tgz#c7d54e0add4f83e05c6878a011fc664e21022f12" + integrity sha512-KzPAeySp/fOoQA82TpnwItvX8BBURecpx6ZMu75EZDkAcnPtO6vf7q4aH5QHs/F1s3/snQaSFbbUMcFFZ086Mw== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/middleware-stack@^3.0.10", "@smithy/middleware-stack@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/middleware-stack/-/middleware-stack-3.0.11.tgz#453af2096924e4064d9da4e053cfdf65d9a36acc" + integrity sha512-1HGo9a6/ikgOMrTrWL/WiN9N8GSVYpuRQO5kjstAq4CvV59bjqnh7TbdXGQ4vxLD3xlSjfBjq5t1SOELePsLnA== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/node-config-provider@^3.1.11", "@smithy/node-config-provider@^3.1.12": + version "3.1.12" + resolved "https://registry.yarnpkg.com/@smithy/node-config-provider/-/node-config-provider-3.1.12.tgz#1b1d674fc83f943dc7b3017e37f16f374e878a6c" + integrity sha512-O9LVEu5J/u/FuNlZs+L7Ikn3lz7VB9hb0GtPT9MQeiBmtK8RSY3ULmsZgXhe6VAlgTw0YO+paQx4p8xdbs43vQ== + dependencies: + "@smithy/property-provider" "^3.1.11" + "@smithy/shared-ini-file-loader" "^3.1.12" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/node-http-handler@^3.3.1", "@smithy/node-http-handler@^3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@smithy/node-http-handler/-/node-http-handler-3.3.2.tgz#b34685863b74dabdaf7860aa81b42d0d5437c7e0" + integrity sha512-t4ng1DAd527vlxvOfKFYEe6/QFBcsj7WpNlWTyjorwXXcKw3XlltBGbyHfSJ24QT84nF+agDha9tNYpzmSRZPA== + dependencies: + "@smithy/abort-controller" "^3.1.9" + "@smithy/protocol-http" "^4.1.8" + "@smithy/querystring-builder" "^3.0.11" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/property-provider@^3.1.11", "@smithy/property-provider@^3.1.9": + version "3.1.11" + resolved "https://registry.yarnpkg.com/@smithy/property-provider/-/property-provider-3.1.11.tgz#161cf1c2a2ada361e417382c57f5ba6fbca8acad" + integrity sha512-I/+TMc4XTQ3QAjXfOcUWbSS073oOEAxgx4aZy8jHaf8JQnRkq2SZWw8+PfDtBvLUjcGMdxl+YwtzWe6i5uhL/A== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/protocol-http@^4.1.7", "@smithy/protocol-http@^4.1.8": + version "4.1.8" + resolved "https://registry.yarnpkg.com/@smithy/protocol-http/-/protocol-http-4.1.8.tgz#0461758671335f65e8ff3fc0885ab7ed253819c9" + integrity sha512-hmgIAVyxw1LySOwkgMIUN0kjN8TG9Nc85LJeEmEE/cNEe2rkHDUWhnJf2gxcSRFLWsyqWsrZGw40ROjUogg+Iw== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/querystring-builder@^3.0.10", "@smithy/querystring-builder@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/querystring-builder/-/querystring-builder-3.0.11.tgz#2ed04adbe725671824c5613d0d6f9376d791a909" + integrity sha512-u+5HV/9uJaeLj5XTb6+IEF/dokWWkEqJ0XiaRRogyREmKGUgZnNecLucADLdauWFKUNbQfulHFEZEdjwEBjXRg== + dependencies: + "@smithy/types" "^3.7.2" + "@smithy/util-uri-escape" "^3.0.0" + tslib "^2.6.2" + +"@smithy/querystring-parser@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/querystring-parser/-/querystring-parser-3.0.11.tgz#9d3177ea19ce8462f18d9712b395239e1ca1f969" + integrity sha512-Je3kFvCsFMnso1ilPwA7GtlbPaTixa3WwC+K21kmMZHsBEOZYQaqxcMqeFFoU7/slFjKDIpiiPydvdJm8Q/MCw== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/service-error-classification@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/service-error-classification/-/service-error-classification-3.0.11.tgz#d3d7fc0aacd2e60d022507367e55c7939e5bcb8a" + integrity sha512-QnYDPkyewrJzCyaeI2Rmp7pDwbUETe+hU8ADkXmgNusO1bgHBH7ovXJiYmba8t0fNfJx75fE8dlM6SEmZxheog== + dependencies: + "@smithy/types" "^3.7.2" + +"@smithy/shared-ini-file-loader@^3.1.10", "@smithy/shared-ini-file-loader@^3.1.12": + version "3.1.12" + resolved "https://registry.yarnpkg.com/@smithy/shared-ini-file-loader/-/shared-ini-file-loader-3.1.12.tgz#d98b1b663eb18935ce2cbc79024631d34f54042a" + integrity sha512-1xKSGI+U9KKdbG2qDvIR9dGrw3CNx+baqJfyr0igKEpjbHL5stsqAesYBzHChYHlelWtb87VnLWlhvfCz13H8Q== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/signature-v4@^4.2.2": + version "4.2.4" + resolved "https://registry.yarnpkg.com/@smithy/signature-v4/-/signature-v4-4.2.4.tgz#3501d3d09fd82768867bfc00a7be4bad62f62f4d" + integrity sha512-5JWeMQYg81TgU4cG+OexAWdvDTs5JDdbEZx+Qr1iPbvo91QFGzjy0IkXAKaXUHqmKUJgSHK0ZxnCkgZpzkeNTA== + dependencies: + "@smithy/is-array-buffer" "^3.0.0" + "@smithy/protocol-http" "^4.1.8" + "@smithy/types" "^3.7.2" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-middleware" "^3.0.11" + "@smithy/util-uri-escape" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/smithy-client@^3.4.4", "@smithy/smithy-client@^3.5.0": + version "3.5.0" + resolved "https://registry.yarnpkg.com/@smithy/smithy-client/-/smithy-client-3.5.0.tgz#65cff262801b009998c1196764ee69929ee06f8a" + integrity sha512-Y8FeOa7gbDfCWf7njrkoRATPa5eNLUEjlJS5z5rXatYuGkCb80LbHcu8AQR8qgAZZaNHCLyo2N+pxPsV7l+ivg== + dependencies: + "@smithy/core" "^2.5.5" + "@smithy/middleware-endpoint" "^3.2.5" + "@smithy/middleware-stack" "^3.0.11" + "@smithy/protocol-http" "^4.1.8" + "@smithy/types" "^3.7.2" + "@smithy/util-stream" "^3.3.2" + tslib "^2.6.2" + +"@smithy/types@^3.7.1", "@smithy/types@^3.7.2": + version "3.7.2" + resolved "https://registry.yarnpkg.com/@smithy/types/-/types-3.7.2.tgz#05cb14840ada6f966de1bf9a9c7dd86027343e10" + integrity sha512-bNwBYYmN8Eh9RyjS1p2gW6MIhSO2rl7X9QeLM8iTdcGRP+eDiIWDt66c9IysCc22gefKszZv+ubV9qZc7hdESg== + dependencies: + tslib "^2.6.2" + +"@smithy/url-parser@^3.0.10", "@smithy/url-parser@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/url-parser/-/url-parser-3.0.11.tgz#e5f5ffabfb6230159167cf4cc970705fca6b8b2d" + integrity sha512-TmlqXkSk8ZPhfc+SQutjmFr5FjC0av3GZP4B/10caK1SbRwe/v+Wzu/R6xEKxoNqL+8nY18s1byiy6HqPG37Aw== + dependencies: + "@smithy/querystring-parser" "^3.0.11" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/util-base64@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-base64/-/util-base64-3.0.0.tgz#f7a9a82adf34e27a72d0719395713edf0e493017" + integrity sha512-Kxvoh5Qtt0CDsfajiZOCpJxgtPHXOKwmM+Zy4waD43UoEMA+qPxxa98aE/7ZhdnBFZFXMOiBR5xbcaMhLtznQQ== + dependencies: + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-body-length-browser@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-browser/-/util-body-length-browser-3.0.0.tgz#86ec2f6256310b4845a2f064e2f571c1ca164ded" + integrity sha512-cbjJs2A1mLYmqmyVl80uoLTJhAcfzMOyPgjwAYusWKMdLeNtzmMz9YxNl3/jRLoxSS3wkqkf0jwNdtXWtyEBaQ== + dependencies: + tslib "^2.6.2" + +"@smithy/util-body-length-node@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-body-length-node/-/util-body-length-node-3.0.0.tgz#99a291bae40d8932166907fe981d6a1f54298a6d" + integrity sha512-Tj7pZ4bUloNUP6PzwhN7K386tmSmEET9QtQg0TgdNOnxhZvCssHji+oZTUIuzxECRfG8rdm2PMw2WCFs6eIYkA== + dependencies: + tslib "^2.6.2" + +"@smithy/util-buffer-from@^2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-2.2.0.tgz#6fc88585165ec73f8681d426d96de5d402021e4b" + integrity sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA== + dependencies: + "@smithy/is-array-buffer" "^2.2.0" + tslib "^2.6.2" + +"@smithy/util-buffer-from@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-buffer-from/-/util-buffer-from-3.0.0.tgz#559fc1c86138a89b2edaefc1e6677780c24594e3" + integrity sha512-aEOHCgq5RWFbP+UDPvPot26EJHjOC+bRgse5A8V3FSShqd5E5UN4qc7zkwsvJPPAVsf73QwYcHN1/gt/rtLwQA== + dependencies: + "@smithy/is-array-buffer" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-config-provider@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-config-provider/-/util-config-provider-3.0.0.tgz#62c6b73b22a430e84888a8f8da4b6029dd5b8efe" + integrity sha512-pbjk4s0fwq3Di/ANL+rCvJMKM5bzAQdE5S/6RL5NXgMExFAi6UgQMPOm5yPaIWPpr+EOXKXRonJ3FoxKf4mCJQ== + dependencies: + tslib "^2.6.2" + +"@smithy/util-defaults-mode-browser@^3.0.27": + version "3.0.30" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-browser/-/util-defaults-mode-browser-3.0.30.tgz#6c0d95af3f15bef8f1fe3f6217cc4f5ba8df5554" + integrity sha512-nLuGmgfcr0gzm64pqF2UT4SGWVG8UGviAdayDlVzJPNa6Z4lqvpDzdRXmLxtOdEjVlTOEdpZ9dd3ZMMu488mzg== + dependencies: + "@smithy/property-provider" "^3.1.11" + "@smithy/smithy-client" "^3.5.0" + "@smithy/types" "^3.7.2" + bowser "^2.11.0" + tslib "^2.6.2" + +"@smithy/util-defaults-mode-node@^3.0.27": + version "3.0.30" + resolved "https://registry.yarnpkg.com/@smithy/util-defaults-mode-node/-/util-defaults-mode-node-3.0.30.tgz#33cdb02f90944b9ff221e2f8e0904a63ac1e335f" + integrity sha512-OD63eWoH68vp75mYcfYyuVH+p7Li/mY4sYOROnauDrtObo1cS4uWfsy/zhOTW8F8ZPxQC1ZXZKVxoxvMGUv2Ow== + dependencies: + "@smithy/config-resolver" "^3.0.13" + "@smithy/credential-provider-imds" "^3.2.8" + "@smithy/node-config-provider" "^3.1.12" + "@smithy/property-provider" "^3.1.11" + "@smithy/smithy-client" "^3.5.0" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/util-endpoints@^2.1.6": + version "2.1.7" + resolved "https://registry.yarnpkg.com/@smithy/util-endpoints/-/util-endpoints-2.1.7.tgz#a088ebfab946a7219dd4763bfced82709894b82d" + integrity sha512-tSfcqKcN/Oo2STEYCABVuKgJ76nyyr6skGl9t15hs+YaiU06sgMkN7QYjo0BbVw+KT26zok3IzbdSOksQ4YzVw== + dependencies: + "@smithy/node-config-provider" "^3.1.12" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/util-hex-encoding@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-hex-encoding/-/util-hex-encoding-3.0.0.tgz#32938b33d5bf2a15796cd3f178a55b4155c535e6" + integrity sha512-eFndh1WEK5YMUYvy3lPlVmYY/fZcQE1D8oSf41Id2vCeIkKJXPcYDCZD+4+xViI6b1XSd7tE+s5AmXzz5ilabQ== + dependencies: + tslib "^2.6.2" + +"@smithy/util-middleware@^3.0.10", "@smithy/util-middleware@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/util-middleware/-/util-middleware-3.0.11.tgz#2ab5c17266b42c225e62befcffb048afa682b5bf" + integrity sha512-dWpyc1e1R6VoXrwLoLDd57U1z6CwNSdkM69Ie4+6uYh2GC7Vg51Qtan7ITzczuVpqezdDTKJGJB95fFvvjU/ow== + dependencies: + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/util-retry@^3.0.10", "@smithy/util-retry@^3.0.11": + version "3.0.11" + resolved "https://registry.yarnpkg.com/@smithy/util-retry/-/util-retry-3.0.11.tgz#d267e5ccb290165cee69732547fea17b695a7425" + integrity sha512-hJUC6W7A3DQgaee3Hp9ZFcOxVDZzmBIRBPlUAk8/fSOEl7pE/aX7Dci0JycNOnm9Mfr0KV2XjIlUOcGWXQUdVQ== + dependencies: + "@smithy/service-error-classification" "^3.0.11" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@smithy/util-stream@^3.3.1", "@smithy/util-stream@^3.3.2": + version "3.3.2" + resolved "https://registry.yarnpkg.com/@smithy/util-stream/-/util-stream-3.3.2.tgz#daeea26397e8541cf2499ce65bf0b8d528cba421" + integrity sha512-sInAqdiVeisUGYAv/FrXpmJ0b4WTFmciTRqzhb7wVuem9BHvhIG7tpiYHLDWrl2stOokNZpTTGqz3mzB2qFwXg== + dependencies: + "@smithy/fetch-http-handler" "^4.1.2" + "@smithy/node-http-handler" "^3.3.2" + "@smithy/types" "^3.7.2" + "@smithy/util-base64" "^3.0.0" + "@smithy/util-buffer-from" "^3.0.0" + "@smithy/util-hex-encoding" "^3.0.0" + "@smithy/util-utf8" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-uri-escape@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-uri-escape/-/util-uri-escape-3.0.0.tgz#e43358a78bf45d50bb736770077f0f09195b6f54" + integrity sha512-LqR7qYLgZTD7nWLBecUi4aqolw8Mhza9ArpNEQ881MJJIU2sE5iHCK6TdyqqzcDLy0OPe10IY4T8ctVdtynubg== + dependencies: + tslib "^2.6.2" + +"@smithy/util-utf8@^2.0.0": + version "2.3.0" + resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-2.3.0.tgz#dd96d7640363259924a214313c3cf16e7dd329c5" + integrity sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A== + dependencies: + "@smithy/util-buffer-from" "^2.2.0" + tslib "^2.6.2" + +"@smithy/util-utf8@^3.0.0": + version "3.0.0" + resolved "https://registry.yarnpkg.com/@smithy/util-utf8/-/util-utf8-3.0.0.tgz#1a6a823d47cbec1fd6933e5fc87df975286d9d6a" + integrity sha512-rUeT12bxFnplYDe815GXbq/oixEGHfRFFtcTF3YdDi/JaENIM6aSYYLJydG83UNzLXeRI5K8abYd/8Sp/QM0kA== + dependencies: + "@smithy/util-buffer-from" "^3.0.0" + tslib "^2.6.2" + +"@smithy/util-waiter@^3.1.9": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@smithy/util-waiter/-/util-waiter-3.2.0.tgz#1e52f870e77d2e5572025f7606053e6ff00df93d" + integrity sha512-PpjSboaDUE6yl+1qlg3Si57++e84oXdWGbuFUSAciXsVfEZJJJupR2Nb0QuXHiunt2vGR+1PTizOMvnUPaG2Qg== + dependencies: + "@smithy/abort-controller" "^3.1.9" + "@smithy/types" "^3.7.2" + tslib "^2.6.2" + +"@tsconfig/node10@^1.0.7": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.11.tgz#6ee46400685f130e278128c7b38b7e031ff5b2f2" + integrity sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw== + +"@tsconfig/node12@^1.0.7": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.4" + resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.4.tgz#0b92dcc0cc1c81f6f306a381f28e31b1a56536e9" + integrity sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA== + +"@types/node@^17.0.31": + version "17.0.45" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190" + integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== + +"@types/uuid@^9.0.1": + version "9.0.8" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-9.0.8.tgz#7545ba4fc3c003d6c756f651f3bf163d8f0f29ba" + integrity sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA== + +"@vercel/ncc@^0.33.4": + version "0.33.4" + resolved "https://registry.yarnpkg.com/@vercel/ncc/-/ncc-0.33.4.tgz#e44a87511f583b7ba88e4b9ae90eeb7ba252b872" + integrity sha512-ln18hs7dMffelP47tpkaR+V5Tj6coykNyxJrlcmCormPqRQjB/Gv4cu2FfBG+PMzIfdZp2CLDsrrB1NPU22Qhg== + +acorn-walk@^8.1.1: + version "8.3.4" + resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.3.4.tgz#794dd169c3977edf4ba4ea47583587c5866236b7" + integrity sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g== + dependencies: + acorn "^8.11.0" + +acorn@^8.11.0, acorn@^8.4.1: + version "8.14.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" + integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== + +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + +bowser@^2.11.0: + version "2.11.0" + resolved "https://registry.yarnpkg.com/bowser/-/bowser-2.11.0.tgz#5ca3c35757a7aa5771500c70a73a9f91ef420a8f" + integrity sha512-AlcaJBi/pqqJBIQ8U9Mcpc9i8Aqxn88Skv5d+xBX006BY5u8N3mGLHa5Lgppa7L/HfwgwLgZ6NYs+Ag6uUmJRA== + +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + +fast-xml-parser@4.4.1: + version "4.4.1" + resolved "https://registry.yarnpkg.com/fast-xml-parser/-/fast-xml-parser-4.4.1.tgz#86dbf3f18edf8739326447bcaac31b4ae7f6514f" + integrity sha512-xkjOecfnKGkSsOwtZ5Pz7Us/T6mrbPQrq0nh+aCO5V9nk5NLWmasAHumTKjiPJPWANe+kAZ84Jc8ooJkzZ88Sw== + dependencies: + strnum "^1.0.5" + +make-error@^1.1.1: + version "1.3.6" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" + integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== + +prettier@^2.6.2: + version "2.8.8" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" + integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== + +strnum@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/strnum/-/strnum-1.0.5.tgz#5c4e829fe15ad4ff0d20c3db5ac97b73c9b072db" + integrity sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA== + +ts-node@^10.7.0: + version "10.9.2" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" + integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + +tslib@^2.6.2: + version "2.8.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.8.1.tgz#612efe4ed235d567e8aba5f2a5fab70280ade83f" + integrity sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w== + +tunnel@^0.0.6: + version "0.0.6" + resolved "https://registry.yarnpkg.com/tunnel/-/tunnel-0.0.6.tgz#72f1314b34a5b192db012324df2cc587ca47f92c" + integrity sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg== + +typescript@^4.6.4: + version "4.9.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" + integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== + +undici@^5.25.4: + version "5.28.4" + resolved "https://registry.yarnpkg.com/undici/-/undici-5.28.4.tgz#6b280408edb6a1a604a9b20340f45b422e373068" + integrity sha512-72RFADWFqKmUb2hmmvNODKL3p9hcB6Gt2DOQMis1SEBaV6a4MH8soBvzg+95CYhCKPFedut2JY9bMfrDl9D23g== + dependencies: + "@fastify/busboy" "^2.0.0" + +uuid@^9.0.1: + version "9.0.1" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" + integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== + +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== diff --git a/.github/workflows/prune-launch-templates.yaml b/.github/workflows/prune-launch-templates.yaml new file mode 100644 index 00000000000..2609c15328d --- /dev/null +++ b/.github/workflows/prune-launch-templates.yaml @@ -0,0 +1,23 @@ +on: + workflow_dispatch: + inputs: + dry_run: + required: false + default: true + max_age_in_days: + required: false + default: 14 + +jobs: + rerun: + runs-on: ubuntu-latest + steps: + - name: Prune launch templates + uses: ./.github/prune-launch-templates + with: + # inputs: + aws_access_key_id: ${{ env.AWS_ACCESS_KEY_ID }} + aws_secret_access_key: ${{ env.AWS_SECRET_ACCESS_KEY }} + aws_region: us-east-2 + max_age_in_days: ${{ inputs.max_age_in_days }} + dry_run: ${{ inputs.dry_run }}